/* Storefront reference layout. Scoped away from the administration screens. */
.reference-store{--bg:#f6f7fa;--paper:#fff;--ink:#292e3a;--line:#d9dde7;--muted:#697180;--soft:#f5f6f9;--edge:#d6dae5;--buy:#ef6926;background:var(--bg);font-family:ui-rounded,system-ui,-apple-system,'Segoe UI',Tahoma,sans-serif;line-height:1.5}
html[data-theme=dark] .reference-store{--bg:#131720;--paper:#1e2430;--ink:#f3f5fa;--line:#3c4555;--muted:#b4bdcd;--soft:#272f3e;--edge:#10151e;--buy:#ed742f}
.reference-store .sf-header{position:sticky;top:12px;max-width:1180px;width:calc(100% - 24px);margin:12px auto 24px;border:1px solid var(--line);border-radius:22px;padding:9px 14px;min-height:64px;background:var(--paper);box-shadow:0 3px 0 var(--edge),0 12px 25px #1624370b;backdrop-filter:none;direction:ltr}
.reference-store .sf-header .brand{font-size:27px;font-weight:850;letter-spacing:-1.2px;gap:7px}.reference-store .sf-header .brand img{max-width:145px;max-height:39px}.reference-store .brandmark{background:var(--buy);border-radius:10px}.reference-store .sf-header .sf-links{display:none}.reference-store .sf-actions{gap:8px}.reference-store .sf-control{background:var(--paper);width:43px;height:45px;border-radius:14px;border:1px solid var(--line);box-shadow:0 2px 0 var(--edge)}.reference-store .sf-menu-open{display:grid}.reference-store .sf-header .sf-language{display:none}.reference-store .sf-i{width:21px;height:21px}
.reference-store .sf-drawer,html[dir=rtl] .reference-store .sf-drawer{inset:12px 12px auto;margin:0 auto;width:calc(100% - 24px);max-width:1180px;height:auto;max-height:calc(100dvh - 24px);padding:0;border:0;background:transparent;overflow:auto;box-shadow:none;animation:none;color:var(--ink)}
.reference-store .sf-drawer::backdrop{background:#30374277}.reference-store .sf-drawer .sf-header{position:sticky;top:0;width:100%;margin:0 0 10px;z-index:2}.reference-store .sf-drawer-head{display:none}.reference-store .drawer-content{border:1px solid var(--line);border-radius:22px;background:var(--paper);box-shadow:0 3px 0 var(--edge);padding:12px 17px}.reference-store .sf-drawer nav{padding:8px 0}.reference-store .sf-drawer nav a{font-size:18px;padding:12px 0}.reference-store .platform-menu details{border-bottom:1px solid var(--line);padding:0}.reference-store .platform-menu summary{display:flex;align-items:center;gap:13px;padding:18px 0;cursor:pointer;list-style:none;font-size:19px}.reference-store summary::-webkit-details-marker{display:none}.reference-store .platform-menu summary img{width:24px;height:24px;object-fit:contain}.menu-chevron{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-inline-start:auto}.platform-menu details[open] .menu-chevron{transform:rotate(225deg)}.reference-store .platform-menu details div{padding:0 0 10px 36px}.reference-store .platform-menu details a{display:block;font-size:17px;padding:12px 0}.reference-store .drawer-language{display:block;margin-top:12px;color:var(--muted)}
.reference-store main{max-width:1180px;margin:auto}.reference-store .hero{padding:25px 8px 36px;text-align:center}.reference-store .hero h1{font-size:clamp(30px,5vw,54px);letter-spacing:-1.5px;line-height:1.15}.reference-store .hero p{color:var(--muted);font-size:18px;max-width:640px;margin:18px auto}.reference-store .hero .eyebrow{display:none}
.reference-store .catalog{padding:0;background:var(--paper);border:0;border-radius:26px;box-shadow:0 3px 6px #1824360c,0 12px 30px #1824360c;overflow:clip;max-width:840px}.reference-store .catalog>.section-title,.reference-store .catalog>.product-intro{display:none}.reference-store .platforms{display:flex;flex-wrap:nowrap;gap:0;background:#292e3a;overflow-x:auto;scrollbar-width:thin;margin:0;padding:0}.reference-store .platform{flex:0 0 33.333%;display:flex;flex-direction:column;justify-content:center;gap:6px;border:0;border-radius:0;padding:18px 8px 13px;background:transparent;color:#c4c9d4;font-size:16px;font-weight:700;min-width:0;box-shadow:none}.reference-store .platform.selected{background:var(--paper);color:var(--ink);border-radius:25px 25px 0 0}.reference-store .platform img{width:28px;height:28px;object-fit:contain;filter:grayscale(1);opacity:.8}.reference-store .platform.selected img{filter:none;opacity:1}.reference-store .types{display:flex;flex-direction:column;padding:17px 13px 21px;gap:10px;margin:0}.reference-store .type{width:100%;display:flex;align-items:center;gap:13px;padding:13px 16px;text-align:start;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:13px;box-shadow:0 3px 0 var(--edge);min-height:75px}.reference-store .type.selected{color:var(--ink);background:var(--soft);border-color:var(--muted)}.type-copy{flex:1;min-width:0}.type-copy strong{display:block;font-size:21px;line-height:1.25}.type-copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;color:var(--muted);font-weight:400;margin-top:5px}.service-symbol{width:22px;height:22px;color:var(--muted);flex:none}.reference-store .type .arrow{color:#909aaa}html[dir=rtl] .reference-store .type .arrow{transform:rotate(225deg)}
.reference-store .purchase-box{border-top:1px solid var(--line);padding:32px 16px 20px;scroll-margin-top:100px}.reference-store .package-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:25px 9px;margin:0}.reference-store .package,.reference-store .package.chosen{position:relative;display:flex;flex-direction:column;flex:0 0 calc((100% - 18px)/3);width:calc((100% - 18px)/3);padding:0;border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 0 var(--edge);background:var(--paper);overflow:visible;gap:0;min-width:0}.reference-store .package .package-pick{padding:11px 3px;margin:0;font-size:clamp(22px,5vw,34px);font-weight:750;line-height:1.5;background:var(--soft);border-radius:13px 13px 0 0;color:var(--ink)}.reference-store .package .quantity,.reference-store .package-image{display:none}.reference-store .package .price{margin:0;padding:6px 2px 9px;border-top:1px solid var(--line);font-size:clamp(12px,3.7vw,21px);color:#c8541e;font-weight:750;line-height:1.35;overflow-wrap:anywhere}.reference-store .package .price small{display:block;font-size:10px}.reference-store .package.chosen{background:var(--buy);border-color:var(--buy);box-shadow:0 3px 0 #c55722}.reference-store .package.chosen .package-pick{background:#ffffff1a;color:white}.reference-store .package.chosen .price{color:white;border-color:#ffffff22}.reference-store .package .badge{position:absolute;bottom:100%;inset-inline:auto;max-width:100%;background:#329b70;color:#fff;border-radius:7px 7px 0 0;font-size:9px;line-height:1.3;padding:4px 8px;margin:0;align-self:center}.reference-store .selection-panel{border:0;background:transparent;text-align:center;margin:20px 0 0;padding:8px 0}.reference-store .selection-panel h2{font-size:25px;line-height:1.3}.reference-store .selected-price{font-size:clamp(32px,8vw,48px);font-weight:800;letter-spacing:-1px}.reference-store .selection-panel .package-description{font-size:14px;line-height:1.6;color:var(--muted);margin:14px auto;max-width:570px}.reference-store .selection-panel form{max-width:510px;text-align:start}.reference-store .selection-panel input{background:var(--paper);border:1px solid var(--line);border-radius:11px}.reference-store .selection-panel .primary{background:var(--buy);border:2px solid #ffbd8e;box-shadow:0 3px 0 #d95020;color:#fff;border-radius:12px;min-height:52px;font-weight:750;font-size:19px}.reference-store .empty{margin:0 14px 20px}.reference-store .faq{margin-top:50px}
@media(min-width:700px){.reference-store .sf-header{padding:12px 22px}.reference-store .sf-drawer{max-width:800px!important}.reference-store .type{padding:21px 24px}.type-copy strong{font-size:25px}.reference-store .purchase-box{padding:40px 45px}.reference-store .platform{padding-block:22px}.reference-store .package .package-pick{font-size:40px}.reference-store .package-grid{gap:30px 20px}.reference-store .package,.reference-store .package.chosen{flex-basis:calc((100% - 40px)/3);width:calc((100% - 40px)/3)}}
@media(max-width:360px){.reference-store .sf-control{width:36px;height:40px}.reference-store .sf-actions{gap:5px}.reference-store .sf-header .brand img{max-width:112px}.reference-store .sf-header .brand{font-size:22px}.reference-store .sf-header{padding-inline:10px}.type-copy strong{font-size:18px}}
html[data-theme=dark] .reference-store .package:not(.chosen) .price{color:#ffae7f}
.reference-store .service-symbol svg{width:100%;height:100%;display:block}
.reference-store .selected-price{direction:ltr;unicode-bidi:isolate}

/* Platform tabs show the next item at the edge to signal horizontal scrolling. */
.reference-store .platforms {
  scroll-snap-type: inline proximity;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
.reference-store .platforms::-webkit-scrollbar { display: none; }
.reference-store .platform {
  flex-basis: 30%;
  scroll-snap-align: start;
  color: #e4e8f0;
  overflow-wrap: anywhere;
}
.reference-store .platform img {
  filter: none;
  opacity: 1;
  border-radius: 7px;
}
.reference-store .platform.selected { position: relative; }
.reference-store .platform.selected::after {
  content: "";
  position: absolute;
  inset-block-end: 7px;
  inset-inline: 40%;
  height: 3px;
  border-radius: 2px;
  background: var(--buy);
}
.platform-controls {
  display: flex;
  padding: 6px 12px;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  border-block-end: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
.platform-controls button {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.platform-controls button[aria-disabled=true] { opacity: .45; }
.reference-store .types { padding-block-start: 13px; }
.reference-store .type:has(.type-copy > :only-child) { min-height: 62px; }

.reference-store .page-heading { padding-block: 16px 22px; }
.reference-store .page-heading h1 { font-size: clamp(29px, 5vw, 43px); }
.reference-store .page-heading p { color: var(--muted); }
.reference-store .order-card h3 {
  margin-block: 13px 6px;
  font-size: clamp(17px, 2vw, 21px);
  overflow-wrap: anywhere;
}
.reference-store .order-card .link-text {
  display: block;
  text-align: start;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.reference-store .order-metrics {
  gap: 6px;
  padding: 0;
  background: transparent;
}
.reference-store .order-metrics > div {
  min-width: 0;
  padding: 9px 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.reference-store .order-metrics small { color: var(--muted); }
.reference-store .order-metrics b { font-size: clamp(13px, 4vw, 19px); overflow-wrap: anywhere; }
.reference-store .order-head > b,
.reference-store .order-head > strong,
.reference-store .order-head > small { direction: ltr; unicode-bidi: isolate; }
.reference-store .status,
.reference-store .sx-ocard-st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--soft);
  color: var(--ink);
  font-size: .8rem;
  font-weight: 700;
}
.reference-store :is(.status,.sx-ocard-st).pending { background: #fff2cf; color: #774700; }
.reference-store :is(.status,.sx-ocard-st).completed { background: #ddf5e7; color: #185536; }
.reference-store :is(.status,.sx-ocard-st):is(.failed,.canceled) { background: #ffe7e7; color: #8c2626; }
.reference-store :is(.status,.sx-ocard-st):is(.inprogress,.processing,.partial) { background: #e6effe; color: #284d8a; }
.reference-store :is(.cart-item,.summary-card,.panel,.sx-card,.snap-profile) { box-shadow: 0 3px 0 var(--edge); }
.reference-store .manual-details .bank-row { display: flex; flex-wrap: wrap; gap: 10px; }
.reference-store .manual-details .bank-row > div { min-width: 0; overflow-wrap: anywhere; }
.reference-store .history-row { overflow-wrap: anywhere; }
.reference-store .page-links a {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.reference-store .page-links a:hover { background: var(--soft); }
.reference-store .sx-payment-history .sx-ocard { padding: 14px; }
.reference-store .sx-payment-history .sx-ocard-svc { padding: 10px 12px; margin-block: 10px; }
.reference-store .sx-ocard-id { font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.reference-store .sx-ocard-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,125px),1fr));
  gap: 8px;
}
.reference-store .sx-ocard-cell {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.reference-store .sx-payment-history .sx-ocard-cell:last-child { color: var(--ink); font-weight: 700; }
.reference-store :is(.sx-empty,.snap-profile small,.sx-sub) { color: var(--muted); overflow-wrap: anywhere; }
.reference-store .store-page-content .btn { white-space: normal; }
.reference-store .store-page-content :is(input,textarea,select) { max-width: 100%; }
@media (min-width: 700px) {
  .reference-store .platform { flex-basis: 23%; }
}
