/* Product page extras: trust row, FAQ, "Still deciding?" (markup from lib/sync-engine.js applyProductExtras) */

/* gallery: no zoom on click */
#lightgallery .splide__slide { cursor: default; }

/* trust row under Add to Cart */
.px-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.px-trust span { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 11.5px; color: rgba(255,255,255,.55); text-align: center; white-space: nowrap; }
.px-trust svg { width: 17px; height: 17px; color: #8f9aff; }

/* FAQ */
.px-faq { padding-top: 56px; scroll-margin-top: calc(var(--navbar-height, 56px) + 24px); }
.px-eyebrow { font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #6f7dff; }
.px-faq h2 { margin-top: 6px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.02em; color: #fff; }
.px-faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.px-q { border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); transition: border-color .3s, background .3s; }
.px-q.open { border-color: rgba(91,110,255,.3); background: linear-gradient(135deg, rgba(0,20,255,.06), rgba(255,255,255,.015) 60%); }
.px-q-head { display: flex; align-items: center; gap: 13px; width: 100%; padding: 15px 18px; text-align: left; cursor: pointer; background: none; border: 0; color: inherit; font: inherit; }
.px-q-ic { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; color: #8f9aff; background: rgba(0,20,255,.1); border: 1px solid rgba(91,110,255,.25); }
.px-q-ic svg { width: 16px; height: 16px; }
.px-q-head b { flex: 1; font-size: 14.5px; font-weight: 500; color: #fff; transition: color .2s; }
.px-q-head:hover b { color: #c7ccff; }
.px-q-head i { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.px-q-head i::before, .px-q-head i::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.5); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.px-q-head i::after { transform: rotate(90deg); }
.px-q.open .px-q-head i::after { transform: rotate(0); }

/* answer slides down smoothly */
.px-q-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.22,1,.36,1); }
.px-q.open .px-q-body { grid-template-rows: 1fr; }
.px-q-body > div { min-height: 0; overflow: hidden; }
.px-q-body p { padding: 0 18px 16px 63px; font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.58);
  opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .4s cubic-bezier(.22,1,.36,1); }
.px-q.open .px-q-body p { opacity: 1; transform: none; }
@media (max-width: 560px) { .px-q-body p { padding-left: 18px; } }

/* "Still deciding?" */
.px-decide { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 20px; border-radius: 18px;
  border: 1px solid rgba(91,110,255,.25); background: radial-gradient(120% 160% at 0% 0%, rgba(0,20,255,.16), transparent 60%), rgba(255,255,255,.015); }
.px-decide-ic { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; color: #8f9aff; background: rgba(0,20,255,.12); border: 1px solid rgba(91,110,255,.3); }
.px-decide-ic svg { width: 19px; height: 19px; }
.px-decide-tx { flex: 1; min-width: 0; }
.px-decide-tx b { display: block; font-size: 15px; font-weight: 600; color: #fff; }
.px-decide-tx small { display: block; margin-top: 2px; font-size: 13px; color: rgba(255,255,255,.55); }
.px-decide-btn { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; padding: 10px 16px; border-radius: 12px; font-size: 13.5px; font-weight: 500; color: #fff;
  background: linear-gradient(#2b3dff, #0014d6); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 26px -12px rgba(0,20,255,.9); transition: filter .2s, transform .2s; }
.px-decide-btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.px-decide-btn svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .px-decide { flex-wrap: wrap; } .px-decide-btn { width: 100%; justify-content: center; } }

@media (prefers-reduced-motion: reduce) { .px-q-body, .px-q-body p, .px-q-head i::after { transition: none; } }

/* icons in the brand blue (shapes unchanged) */
.px-trust svg, .px-q-ic, .px-decide-ic { color: #2b3dff; }

/* ---- main image arrows / dots (only rendered when a product has several images) ---- */
.img-main .splide__arrow { width: 34px; height: 34px; border-radius: 10px; opacity: 1; background: rgba(5,5,12,.6); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.img-main .splide__arrow svg { width: 13px; height: 13px; fill: #fff; }
.img-main .splide__arrow:hover { background: rgba(0,20,255,.35); border-color: rgba(0,20,255,.6); }
.img-main .splide__pagination__page { background: rgba(255,255,255,.35); }
.img-main .splide__pagination__page.is-active { background: #fff; transform: none; }

/* =================== layout like the reference, in our style =================== */
section:has(.px-crumb) { max-width: 1280px !important; }
.px-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; font-size: 13px; color: rgba(255,255,255,.45); }
.px-crumb a { color: rgba(255,255,255,.55); transition: color .2s; }
.px-crumb a:hover { color: #fff; }
.px-crumb span { color: rgba(255,255,255,.22); }
.px-crumb b { font-weight: 500; color: #fff; }

/* hero: big image left, wide buy card right */
@media (min-width: 1024px) {
  [id$="-overview"] { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) !important; gap: 48px !important; align-items: start; }
  [id$="-overview"] > .zydpk { grid-column: 2 !important; grid-row: 1 !important; }
  [id$="-overview"] > div:not(.zydpk) { grid-column: 1 !important; grid-row: 1 !important; }
}
[id$="-overview"] > div:not(.zydpk) { display: flex; flex-direction: column; gap: 22px; }
.zydpk { padding: 24px !important; }

/* spec strip under the image */
.px-specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); }
.px-specs > div { min-width: 0; padding: 15px 16px; }
.px-specs > div + div { border-left: 1px solid rgba(255,255,255,.07); }
.px-specs small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.px-specs b { display: block; margin-top: 5px; font-size: 14px; font-weight: 500; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .px-specs { grid-template-columns: 1fr; } .px-specs > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); } }

/* full-width section tabs */
.px-tabs { position: sticky; top: var(--navbar-height, 56px); z-index: 20; margin-top: 40px; padding: 10px 0;
  background: rgba(5,5,9,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.px-tabs-in { display: flex; gap: 4px; }
.px-tabs a { padding: 7px 13px; border-radius: 9px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.5); transition: color .2s, background .2s; }
.px-tabs a:hover { color: #fff; }
.px-tabs a.on { color: #fff; background: rgba(0,20,255,.22); box-shadow: inset 0 0 0 1px rgba(0,20,255,.5); }
#ppover, #ppreq, #ppfeat, #ppfaq { scroll-margin-top: calc(var(--navbar-height, 56px) + 72px); }

/* About */
.px-about { padding-top: 44px; max-width: 760px; }
.px-about h2, .px-more h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.02em; color: #fff; }
.px-about p { margin-top: 14px; font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.6); }
.requirements-dynamic-section, .features-dynamic-section { padding-top: 64px !important; }
.px-faq { padding-top: 64px; }

/* More products */
.px-more { padding-top: 64px; }
.px-more-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.px-more-head h2 { font-size: 22px; }
.px-more-head a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s; }
.px-more-head a:hover { color: #fff; }
.px-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.px-more-card { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); transition: border-color .25s, background .25s, transform .25s; }
.px-more-card:hover { border-color: rgba(0,20,255,.5); background: linear-gradient(to right bottom, rgba(0,20,255,.12), rgba(0,20,255,.03)); transform: translateY(-2px); }
.px-more-card img { width: 88px; height: 56px; flex-shrink: 0; object-fit: cover; border-radius: 10px; }
.px-more-card div { flex: 1; min-width: 0; }
.px-more-card b { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.px-more-card small { display: block; margin-top: 3px; font-size: 12.5px; color: rgba(255,255,255,.5); }
.px-more-card em { font-style: normal; font-weight: 600; color: #fff; }
.px-more-card svg { width: 16px; height: 16px; color: rgba(255,255,255,.4); }
@media (max-width: 900px) { .px-more-grid { grid-template-columns: 1fr; } }

/* tweaks: image fills its card, tighter gap to the spec strip, full OS name */
[id$="-overview"] > div:not(.zydpk) { gap: 14px; }
[id$="-overview"] > div:not(.zydpk) > div:first-child { padding: 6px !important; border-radius: 20px !important; }
[id$="-overview"] > div:not(.zydpk) .img-main, [id$="-overview"] > div:not(.zydpk) .img-main .splide__slide { border-radius: 15px !important; overflow: hidden; }
.px-specs b { white-space: normal; overflow: visible; line-height: 1.35; }

/* breadcrumb a bit lower, like the reference */
.px-crumb { margin-top: 40px; margin-bottom: 8px; }

/* buy card header like the reference */
.zydpk .cns28.vc9f2 > a { padding: 4px 11px !important; border-radius: 999px !important; font-size: 12px !important; font-weight: 500; color: rgba(255,255,255,.85) !important;
  background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.1) !important; }
.zydpk .cns28.vc9f2 > span { gap: 7px !important; padding: 0 0 0 4px !important; background: none !important; border: 0 !important; box-shadow: none !important; font-size: 12.5px !important; font-weight: 500; }
.zydpk .cns28.vc9f2 > span svg { display: none !important; }
.zydpk .cns28.vc9f2 > span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }

/* "Choose a plan ............ Prices in USD" with a dashed line above */
.zydpk .bp0ix { border-top: 1px dashed rgba(255,255,255,.14) !important; }
.zydpk div:has(> .px-usd) { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.zydpk .bp0ix > .cns28:has(.px-usd) { width: 100%; }
.zydpk div:has(> .px-usd) > .n3f8z { font-size: 14px; font-weight: 600; color: #fff; }
.px-usd { margin: 0 !important; font-size: 12px !important; text-transform: none !important; letter-spacing: 0 !important; color: rgba(255,255,255,.45) !important; }
.zydpk .cns28.vc9f2 > span[class*="2ed573"] { color: #2ed573 !important; }

/* no white border flash on F5: until Alpine adds the plan classes (x4z54 is added in both states) */
.zydpk button[x-on\:click^="activeVariantId"]:not(.x4z54) { border-color: rgba(255,255,255,.07) !important; }

/* "How it works" under the spec strip; left column ends where the buy card ends */
@media (min-width: 1024px) {
  [id$="-overview"] { align-items: stretch !important; }
  [id$="-overview"] > div:not(.zydpk) { align-self: stretch; }
  .px-flow { flex: 1; }
}
.px-flow { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.07);
  background: radial-gradient(90% 120% at 100% 0%, rgba(0,20,255,.22), transparent 60%), linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
}
.px-flow::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.px-flow > * { position: relative; }
.px-flow-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.px-flow-eye { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #5b6bff; }
.px-flow-head b { display: block; margin-top: 4px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.px-flow-pill { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 500; color: rgba(255,255,255,.75);
  background: rgba(0,20,255,.14); border: 1px solid rgba(0,20,255,.35); }
.px-flow ol { position: relative; flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
/* connector line through the icons */
.px-flow ol::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 1px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(43,61,255,.7), rgba(43,61,255,.7), transparent); }
.px-flow li { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 16px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.07); background: rgba(8,8,16,.82); backdrop-filter: blur(6px);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.px-flow li:hover { border-color: rgba(43,61,255,.55); transform: translateY(-2px); box-shadow: 0 14px 34px -20px rgba(0,20,255,.8); }
.px-flow-top { display: flex; align-items: center; justify-content: space-between; }
.px-flow-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, #2b3dff, #0014d6); box-shadow: 0 8px 22px -8px rgba(0,20,255,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.px-flow-ic svg { width: 19px; height: 19px; }
.px-flow-top em { font-style: normal; font-family: "Geist Mono", ui-monospace, monospace; font-size: 12px; color: rgba(255,255,255,.3); }
.px-flow li b { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.px-flow li small { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.55); }
@media (max-width: 640px) {
  .px-flow ol { grid-template-columns: 1fr; }
  .px-flow ol::before { top: 12%; bottom: 12%; left: 36px; right: auto; width: 1px; height: auto;
    background: linear-gradient(180deg, transparent, rgba(43,61,255,.7), transparent); }
  .px-flow li { flex-direction: row; align-items: center; gap: 14px; }
  .px-flow-top em { display: none; }
}

/* Overview label spacing */
.px-about > div:first-child { margin-bottom: 4px; }

/* How it works: a bit shorter */
.px-flow { gap: 12px; padding: 16px 18px; }
.px-flow-head b { margin-top: 2px; font-size: 16px; }
.px-flow ol::before { top: 31px; }
.px-flow li { gap: 10px; padding: 13px 14px; }
.px-flow-ic { width: 36px; height: 36px; border-radius: 11px; }
.px-flow-ic svg { width: 17px; height: 17px; }
.px-flow li small { margin-top: 2px; line-height: 1.45; }
