
/* TODDY'S TOYS V3 POLISH */
:root{
  --glow:0 0 0 1px rgba(82,159,255,.22),0 18px 45px rgba(0,0,0,.28);
}

body{
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.hero-copy,
.hero-scene,
.category-card,
.product-card,
.card,
.panel,
.product-gallery,
.gallery{
  animation:v3FadeUp .55s ease both;
}

@keyframes v3FadeUp{
  from{opacity:0;transform:translateY(16px)}
  to{opacity:1;transform:none}
}

.category-card,
.product-card,
.card{
  will-change:transform;
}

.category-card:hover,
.product-card:hover,
.card:hover{
  box-shadow:var(--glow);
}

.product-image,
.category-media,
.gallery,
.product-gallery{
  position:relative;
}

.product-image::after,
.category-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 65%,rgba(2,8,20,.18));
  pointer-events:none;
}

.v3-search-wrap{
  max-width:760px;
  margin:28px auto 0;
  position:relative;
}

.v3-search{
  width:100%;
  min-height:54px;
  padding:0 52px 0 18px;
  border-radius:12px;
  border:1px solid rgba(89,168,255,.32);
  background:#071426;
  color:#fff;
  font-size:16px;
  outline:none;
  box-shadow:0 14px 34px rgba(0,0,0,.18);
}

.v3-search:focus{
  border-color:#5aa8ff;
  box-shadow:0 0 0 3px rgba(90,168,255,.12);
}

.v3-search-icon{
  position:absolute;
  right:17px;
  top:50%;
  transform:translateY(-50%);
  color:#62adff;
  font-size:20px;
}

.v3-no-results{
  display:none;
  margin:28px 0 0;
  padding:24px;
  text-align:center;
  color:#afbbcb;
  background:#071426;
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
}

.v3-lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  padding:28px;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.88);
  backdrop-filter:blur(8px);
}

.v3-lightbox.open{display:flex}

.v3-lightbox img{
  max-width:min(1100px,94vw);
  max-height:88vh;
  border-radius:16px;
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}

.v3-lightbox-close{
  position:absolute;
  top:18px;
  right:22px;
  width:46px;
  height:46px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:50%;
  background:rgba(4,10,20,.78);
  color:#fff;
  font-size:25px;
  cursor:pointer;
}

[data-lightbox]{
  cursor:zoom-in;
}

.v3-recent{
  margin-top:72px;
}

.v3-recent-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.v3-recent-card{
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.1);
  background:#071426;
}

.v3-recent-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  display:block;
}

.v3-recent-card div{
  padding:15px;
}

.v3-recent-card b{
  display:block;
  font-size:14px;
  line-height:1.3;
}

.v3-cart-toast{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:9998;
  max-width:330px;
  padding:15px 18px;
  border-radius:12px;
  background:#0a1b31;
  color:#fff;
  border:1px solid rgba(74,156,255,.42);
  box-shadow:0 20px 50px rgba(0,0,0,.38);
  opacity:0;
  transform:translateY(18px);
  pointer-events:none;
  transition:.25s ease;
}

.v3-cart-toast.show{
  opacity:1;
  transform:none;
}

.product-badge{
  box-shadow:0 8px 18px rgba(0,0,0,.22);
}

footer a{
  color:#6fb5ff;
}

@media(max-width:900px){
  .v3-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:640px){
  .v3-recent-grid{grid-template-columns:1fr}
  .v3-lightbox{padding:14px}
}


/* Price + cart polish */
.store-price,.home-product-price,.product-price-block{display:flex;align-items:baseline;gap:10px;margin:14px 0}
.store-price strong,.home-product-price strong,.product-price-block strong{font-size:25px;color:#fff}
.product-price-block strong{font-size:34px}
.compare-price{text-decoration:line-through;color:#7f8da3;font-size:15px}
.quote-price{color:#8fbfff;font-weight:800}
.cart-toast{position:fixed;right:22px;bottom:22px;z-index:9999;background:#147df5;color:#fff;padding:13px 18px;border-radius:10px;font-weight:800;box-shadow:0 16px 45px #0009;opacity:0;transform:translateY(16px);transition:.22s}
.cart-toast.show{opacity:1;transform:none}
.cart-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.cart-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.75fr);gap:22px;align-items:start}
.cart-products,.cart-summary{margin:0}
.cart-summary{position:sticky;top:24px}
.cart-summary h2{margin-top:0}
.summary-row{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid #263852}
.summary-row.total{font-size:21px;border-bottom:0;padding-top:20px}
.checkout-fields{display:grid;gap:13px;margin:18px 0}
.checkout-button{width:100%;justify-content:center}
.checkout-message{color:#ffb3bd;min-height:22px}
.cart-line{display:grid;grid-template-columns:110px minmax(0,1fr) auto 110px;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid #263852}
.cart-line:last-child{border-bottom:0}
.cart-line>img{width:110px;height:110px;object-fit:cover;border-radius:13px;border:1px solid #314764}
.cart-line-info h3{margin:5px 0 8px;font-size:20px}
.line-price{display:block;color:#fff}
.remove-link{padding:0;margin-top:10px;background:none;border:0;color:#83b8ff;font-size:12px}
.quantity-control{display:flex;align-items:center;border:1px solid #385070;border-radius:9px;overflow:hidden}
.quantity-control button{width:36px;height:36px;padding:0;border-radius:0;background:#10203a}
.quantity-control span{min-width:36px;text-align:center;font-weight:800}
.line-total{text-align:right;font-size:18px}
.cart-empty{text-align:center;padding:55px 20px}
.empty-icon{font-size:42px;margin-bottom:10px}
.cart-empty h2{font-size:28px;margin-bottom:7px}
@media(max-width:850px){
  .cart-layout{grid-template-columns:1fr}
  .cart-summary{position:static}
}
@media(max-width:620px){
  .cart-heading{align-items:flex-start;flex-direction:column}
  .cart-line{grid-template-columns:82px 1fr}
  .cart-line>img{width:82px;height:82px}
  .quantity-control{grid-column:2;width:max-content}
  .line-total{grid-column:2;text-align:left}
}


/* Platform V5: visible customer account access and larger search affordance */
.actions .account-link{display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(126,165,218,.28);border-radius:10px;color:#f5f8ff;text-decoration:none;font-size:13px;font-weight:800;white-space:nowrap;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.actions .account-link:hover{background:#13253e;border-color:#4388ff;transform:translateY(-1px)}
.actions .account-icon{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#17365f;color:#75b5ff;font-size:12px;line-height:1}
.v3-search-icon{font-size:26px!important;right:16px!important}
@media(max-width:980px){.actions .account-label{display:none}}


/* Product purchase panel polish — V5.1 */
.product-availability{
  display:flex;
  align-items:center;
  gap:10px;
  width:max-content;
  max-width:100%;
  margin:16px 0 20px;
  padding:10px 13px;
  border:1px solid rgba(126,165,218,.3);
  border-radius:12px;
  background:rgba(12,29,51,.72);
}
.product-availability-dot{
  flex:0 0 10px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#30c878;
  box-shadow:0 0 0 5px rgba(48,200,120,.12);
}
.product-availability.is-unavailable .product-availability-dot{
  background:#ef6b73;
  box-shadow:0 0 0 5px rgba(239,107,115,.12);
}
.product-availability span:last-child{display:grid;gap:2px}
.product-availability strong{color:#fff;font-size:14px}
.product-availability small{color:#aebed3;font-size:12px;line-height:1.4}
.product-purchase-actions{margin-top:4px}
.product-add-to-cart{
  width:100%;
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:17px 22px;
  font-size:17px;
  font-weight:900;
  letter-spacing:.01em;
}
.product-add-to-cart:disabled{cursor:not-allowed;opacity:.55}
.product-trust-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}
.product-trust-row span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:8px 9px;
  border:1px solid rgba(126,165,218,.22);
  border-radius:10px;
  background:rgba(13,31,54,.58);
  color:#dce8f8;
  font-size:12px;
  font-weight:800;
  text-align:center;
}
.product-shipping-note{
  margin:16px 0 0;
  color:#9fb0c7;
  font-size:13px;
  line-height:1.55;
}
.product-shipping-note a{color:#75b5ff;font-weight:800}
@media(max-width:640px){
  .product-trust-row{grid-template-columns:1fr}
  .product-trust-row span{min-height:42px}
  .product-add-to-cart{min-height:58px;font-size:18px}
}

/* Shop page V5.2 — premium catalog cards */
.shop-page{padding-bottom:72px}
.shop-page>.eyebrow{text-align:center;margin-top:34px}
.shop-page>.page-title{max-width:900px;margin-left:auto;margin-right:auto;text-align:center}
.shop-search-wrap{margin-top:30px;margin-bottom:34px}
.shop-search-wrap .v3-search{padding-left:52px;padding-right:18px;background:linear-gradient(180deg,#0a1a30,#071426)}
.shop-search-icon{position:absolute;left:18px;top:50%;transform:translateY(-50%);font-size:24px;color:#6fb5ff;pointer-events:none}
.shop-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch}
.shop-product-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid rgba(126,165,218,.2);border-radius:18px;background:linear-gradient(180deg,rgba(10,26,48,.98),rgba(6,18,34,.98));transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.shop-product-card:hover{transform:translateY(-6px);border-color:rgba(90,168,255,.48);box-shadow:0 0 0 1px rgba(82,159,255,.16),0 24px 54px rgba(0,0,0,.38)}
.shop-card-media{position:relative;overflow:hidden;background:#061222;aspect-ratio:1/1}
.shop-card-media>a{display:block;width:100%;height:100%}
.shop-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease,filter .35s ease}
.shop-product-card:hover .shop-card-media img{transform:scale(1.055);filter:saturate(1.04)}
.shop-card-badge{position:absolute;z-index:2;top:14px;left:14px;padding:7px 10px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(6,18,34,.88);backdrop-filter:blur(8px);color:#fff;font-size:11px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;box-shadow:0 8px 18px rgba(0,0,0,.25)}
.shop-card-body{display:flex;flex:1;flex-direction:column;padding:21px}
.shop-card-category{width:max-content;margin:0 0 10px;padding:6px 9px;border:1px solid rgba(89,168,255,.24);border-radius:999px;background:rgba(54,123,220,.11);color:#85bdff;font-size:10px;line-height:1;letter-spacing:.08em}
.shop-card-body h3{margin:0;font-size:20px;line-height:1.3;min-height:52px}
.shop-card-body h3 a{color:#fff;text-decoration:none}
.shop-card-body h3 a:hover{color:#8fc2ff}
.shop-card-description{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:44px;margin:10px 0 0;color:#aebed3;line-height:1.5}
.shop-card-body .store-price{min-height:42px;margin:18px 0 16px}
.shop-card-body .store-price strong{font-size:30px;line-height:1;color:#fff;letter-spacing:-.02em}
.shop-card-body .compare-price{font-size:14px}
.shop-card-body .quote-price{font-size:18px}
.shop-card-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:auto}
.shop-card-actions .btn{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:11px;font-weight:900}
.shop-view-button{background:rgba(255,255,255,.025)}
.shop-cart-button{gap:7px;box-shadow:0 12px 24px rgba(20,125,245,.18)}
.shop-no-results{display:grid!important;gap:7px;max-width:760px;margin:32px auto 0}
.shop-no-results[hidden]{display:none!important}
.shop-no-results strong{color:#fff;font-size:18px}
.shop-no-results span{color:#9fb0c7}
@media(min-width:1500px){.shop-page{max-width:1500px}.shop-product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1120px){.shop-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.shop-card-body{padding:15px}.shop-card-body h3{font-size:16px;min-height:42px}.shop-card-description{font-size:13px;min-height:39px}.shop-card-body .store-price strong{font-size:24px}.shop-card-actions .btn{min-height:44px;font-size:13px}.shop-card-badge{top:10px;left:10px;padding:6px 8px;font-size:9px}}
@media(max-width:460px){.shop-product-grid{grid-template-columns:1fr}.shop-card-media{aspect-ratio:4/3}.shop-card-body h3{min-height:0}.shop-card-description{min-height:0}.shop-card-actions{grid-template-columns:1fr 1fr}.shop-card-actions .btn{padding-left:9px;padding-right:9px}.shop-page>.page-title{font-size:34px}}

/* Storefront shared chrome fallback — V5.2
   Keeps Shop visually aligned with the homepage even when v2.css is delayed or unavailable. */
.storefront-page{
  margin:0;
  min-height:100vh;
  background:#020b18;
  color:#f7f9ff;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.storefront-page *{box-sizing:border-box}
.storefront-page a{color:inherit}
.storefront-page .announcement{
  min-height:27px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:5px 18px;
  border-bottom:1px solid #1a2a40;
  background:#020814;
  color:#f0f5ff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-align:center;
}
.storefront-page .header{
  min-height:82px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:28px;
  padding:0 clamp(20px,3vw,42px);
  border-bottom:1px solid #1d2d43;
  background:#071221;
}
.storefront-page .brand{
  display:flex;
  align-items:center;
  gap:11px;
  color:#fff;
  text-decoration:none;
}
.storefront-page .brand-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:linear-gradient(145deg,#2d8cff,#0867e8);
  color:#fff;
  font-size:21px;
  font-weight:950;
  box-shadow:0 10px 24px rgba(16,112,238,.3);
}
.storefront-page .brand-copy{display:grid;line-height:.92}
.storefront-page .brand-copy b{font-size:14px;letter-spacing:.02em}
.storefront-page .brand-copy strong{color:#ff9d22;font-size:14px;letter-spacing:.04em}
.storefront-page .nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:clamp(18px,2.2vw,34px);
}
.storefront-page .nav a{
  color:#f7f9ff;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  transition:color .18s ease;
}
.storefront-page .nav a:hover,
.storefront-page .nav a[aria-current="page"]{color:#65adff}
.storefront-page .actions{display:flex;align-items:center;gap:13px}
.storefront-page .header-search-link{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  color:#fff;
  text-decoration:none;
  font-size:22px;
}
.storefront-page .cart-link{
  display:flex;
  align-items:center;
  gap:7px;
  color:#fff;
  text-decoration:none;
  font-weight:900;
}
.storefront-page .cart-count{
  min-width:27px;
  height:27px;
  display:grid;
  place-items:center;
  padding:0 7px;
  border-radius:999px;
  background:#ff9418;
  color:#fff;
  font-size:12px;
}
.storefront-page .wrap{
  width:min(1480px,calc(100% - 40px));
  margin:0 auto;
}
.storefront-page .eyebrow{
  color:#55a5ff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.storefront-page .page-title{
  color:#fff;
  font-size:clamp(34px,4vw,58px);
  line-height:1.04;
  letter-spacing:-.035em;
}
.storefront-page .sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
.storefront-page .btn{
  appearance:none;
  border:1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  font:inherit;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease;
}
.storefront-page .btn:hover{transform:translateY(-2px)}
.storefront-page .btn.primary{
  border-color:#278cff;
  background:linear-gradient(180deg,#238cff,#0b6fe9);
  color:#fff;
  box-shadow:0 12px 28px rgba(19,117,239,.28);
}
.storefront-page .btn.primary:hover{background:linear-gradient(180deg,#45a1ff,#147cf0)}
.storefront-page .btn.ghost{
  border-color:#2c4564;
  background:#0b1a2d;
  color:#f6f9ff;
}
.storefront-page .btn.ghost:hover{border-color:#4f91e8;background:#10243d}
.storefront-page .btn:disabled{opacity:.52;cursor:not-allowed;transform:none}
.storefront-page .shop-filter-note{text-align:center;color:#aebed3}
.storefront-page .shop-filter-note a{margin-left:10px;color:#75b5ff;font-weight:800}
.storefront-page .shop-card-body h3{
  min-height:52px;
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.storefront-page .shop-card-description{-webkit-line-clamp:2}
.storefront-page .shop-card-actions .btn{color:#fff!important;text-decoration:none!important}
.storefront-page .shop-view-button{background:#0d2138!important;border-color:#2d4767!important}
.storefront-page .shop-cart-button{background:linear-gradient(180deg,#248eff,#0e70e8)!important;border-color:#3297ff!important}

@media(max-width:1080px){
  .storefront-page .header{grid-template-columns:auto auto}
  .storefront-page .nav{grid-column:1/-1;order:3;padding:0 0 16px;flex-wrap:wrap}
  .storefront-page .actions{justify-self:end}
}
@media(max-width:680px){
  .storefront-page .announcement{font-size:9px;letter-spacing:.04em}
  .storefront-page .header{min-height:auto;padding:14px 16px;gap:12px}
  .storefront-page .brand-icon{width:40px;height:40px}
  .storefront-page .nav{justify-content:flex-start;gap:15px;overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}
  .storefront-page .nav a{white-space:nowrap;font-size:12px}
  .storefront-page .actions .account-label{display:none}
  .storefront-page .header-search-link{display:none}
  .storefront-page .wrap{width:min(100% - 24px,1480px)}
}
/* ===== PRODUCT PAGE 2.0 ===== */

.product-copy{
    padding-top:6px;
}

.product-copy h1{
    font-size:clamp(32px,3vw,46px)!important;
    line-height:1.12;
    letter-spacing:-.02em;
    margin-bottom:12px;
}

.product-copy > p{
    font-size:16px;
    line-height:1.75;
    color:#b8c7da;
}

.product-gallery-main{
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 18px 45px rgba(0,0,0,.30);
}

.product-gallery-thumb{
    transition:.18s ease;
}

.product-gallery-thumb:hover{
    transform:translateY(-3px);
}

.product-gallery-thumb.is-active{
    transform:scale(1.05);
}

.product-price-block strong{
    font-size:42px;
}

.product-purchase-actions{
    margin-top:18px;
}

.product-add-to-cart{
    min-height:62px;
    border-radius:14px;
    font-size:18px;
    font-weight:800;
    transition:.2s;
}

.product-add-to-cart:hover{
    transform:translateY(-2px);
}

.product-trust-row{
    margin-top:18px;
}

.product-shipping-note{
    margin-top:18px;
}

@media (max-width:980px){

.product-copy{
    padding-top:20px;
}

.product-copy h1{
    font-size:34px!important;
}

}

/* ===== PRODUCT PAGE 2.0 — PHASE 2 PURCHASE PANEL ===== */

@media (min-width:981px){
  .product-copy{
    position:sticky;
    top:118px;
    padding:28px;
    border:1px solid rgba(126,165,218,.22);
    border-radius:22px;
    background:
      linear-gradient(
        180deg,
        rgba(12,27,48,.96),
        rgba(7,19,35,.96)
      );
    box-shadow:
      0 22px 55px rgba(0,0,0,.28),
      inset 0 1px 0 rgba(255,255,255,.025);
  }
}

.product-copy .eyebrow{
  margin:0 0 14px;
  color:#a9bbd2;
  font-size:13px;
  font-weight:900;
  letter-spacing:.22em;
}

.product-copy h1{
  max-width:680px;
  margin-bottom:16px;
}

.product-copy > p:not(.eyebrow):not(.product-shipping-note){
  max-width:660px;
  margin-top:0;
  margin-bottom:22px;
  color:#b6c5d8;
  font-size:15.5px;
  line-height:1.7;
}

.product-price-block{
  margin:5px 0 8px;
  padding-top:18px;
  border-top:1px solid rgba(126,165,218,.17);
}

.product-price-block strong{
  font-size:44px!important;
  line-height:1;
  letter-spacing:-.035em;
}

.product-price-block .compare-price{
  font-size:17px;
}

.product-availability{
  margin:14px 0 18px;
}

.product-purchase-actions{
  margin-top:14px;
}

.product-add-to-cart{
  border-radius:13px;
  box-shadow:0 13px 28px rgba(20,125,245,.24);
}

.product-add-to-cart:hover{
  box-shadow:0 17px 34px rgba(20,125,245,.32);
}

.product-trust-row{
  margin-top:16px;
}

.product-trust-row span{
  border-color:rgba(126,165,218,.28);
  background:rgba(17,38,65,.72);
}

.product-shipping-note{
  margin-top:17px;
  padding-top:16px;
  border-top:1px solid rgba(126,165,218,.17);
}

.product-gallery-thumb{
  border-color:rgba(126,165,218,.22);
  background:#e8ebf0;
  opacity:.76;
}

.product-gallery-thumb:hover{
  border-color:rgba(83,156,255,.55);
  opacity:1;
}

.product-gallery-thumb.is-active{
  border-color:#2588ff;
  box-shadow:0 0 0 3px rgba(37,136,255,.18);
  opacity:1;
}

@media (max-width:980px){
  .product-copy{
    position:static;
    padding:24px;
    border:1px solid rgba(126,165,218,.2);
    border-radius:20px;
    background:rgba(9,23,42,.7);
  }
}

@media (max-width:640px){
  .product-copy{
    padding:20px 17px;
    border-radius:17px;
  }

  .product-copy h1{
    font-size:31px!important;
  }

  .product-price-block strong{
    font-size:38px!important;
  }

  .product-copy > p:not(.eyebrow):not(.product-shipping-note){
    font-size:15px;
    line-height:1.65;
  }
}


/* ===== PRODUCT OPTION CONTROL POLISH ===== */

.product-options{
  margin:20px 0 18px;
  gap:16px;
}

.product-option label{
  color:#f4f7fc;
  font-size:14px;
  font-weight:800;
}

.product-option select{
  min-height:52px;
  padding:0 42px 0 15px;
  border:1px solid rgba(126,165,218,.38);
  border-radius:11px;
  background-color:#0d2038;
  color:#f5f8ff;
  font-size:15px;
  font-weight:600;
  cursor:pointer;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}

.product-option select:hover{
  border-color:rgba(82,159,255,.72);
  background-color:#102743;
}

.product-option select:focus{
  outline:none;
  border-color:#2588ff;
  box-shadow:0 0 0 3px rgba(37,136,255,.18);
}

.product-option select option{
  background:#0d2038;
  color:#f5f8ff;
}

.product-option-error:empty{
  display:none;
}

@media(max-width:640px){
  .product-option select{
    min-height:54px;
    font-size:16px;
  }
}


/* ===== PRODUCT GALLERY 3.0 ===== */

body.v3-lightbox-open{
  overflow:hidden;
}

.v3-lightbox{
  padding:30px 86px;
  background:rgba(0,4,12,.94);
  backdrop-filter:blur(12px);
}

.v3-lightbox-stage{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:min(1200px,88vw);
  height:min(900px,90vh);
}

.v3-lightbox-stage img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  border-radius:18px;
  user-select:none;
  transition:opacity .18s ease,transform .2s ease;
}

.v3-lightbox-close,
.v3-lightbox-nav{
  position:absolute;
  z-index:2;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(7,19,35,.86);
  color:#fff;
  cursor:pointer;
  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.v3-lightbox-close:hover,
.v3-lightbox-nav:hover{
  border-color:#5ca5ff;
  background:#15365e;
}

.v3-lightbox-close:focus-visible,
.v3-lightbox-nav:focus-visible{
  outline:3px solid rgba(82,159,255,.55);
  outline-offset:3px;
}

.v3-lightbox-close{
  top:20px;
  right:22px;
  width:48px;
  height:48px;
  border-radius:50%;
  font-size:28px;
}

.v3-lightbox-nav{
  top:50%;
  width:54px;
  height:72px;
  border-radius:15px;
  font-size:48px;
  line-height:1;
  transform:translateY(-50%);
}

.v3-lightbox-nav:hover{
  transform:translateY(-50%) scale(1.05);
}

.v3-lightbox-prev{
  left:22px;
}

.v3-lightbox-next{
  right:22px;
}

.v3-lightbox-counter{
  position:absolute;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(4,12,24,.78);
  color:#fff;
  font-size:13px;
  font-weight:800;
  letter-spacing:.04em;
}

@media(max-width:700px){
  .v3-lightbox{
    padding:70px 12px 76px;
  }

  .v3-lightbox-stage{
    width:100%;
    height:calc(100vh - 146px);
  }

  .v3-lightbox-stage img{
    border-radius:12px;
  }

  .v3-lightbox-close{
    top:14px;
    right:14px;
    width:44px;
    height:44px;
  }

  .v3-lightbox-nav{
    top:auto;
    bottom:14px;
    width:52px;
    height:48px;
    border-radius:12px;
    transform:none;
    font-size:38px;
  }

  .v3-lightbox-nav:hover{
    transform:scale(1.04);
  }

  .v3-lightbox-prev{
    left:14px;
  }

  .v3-lightbox-next{
    right:14px;
  }

  .v3-lightbox-counter{
    bottom:-55px;
  }
}


/* ===== RELATED PRODUCTS ===== */

.related-products{
  margin:88px 0 24px;
}

.related-products-heading{
  margin-bottom:30px;
  text-align:center;
}

.related-products-eyebrow{
  margin:0 0 7px;
  color:#69b2ff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.related-products h2{
  margin:0;
  color:#fff;
  font-size:clamp(28px,4vw,38px);
  line-height:1.1;
}

.related-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;
}

.related-card{
  display:flex;
  min-width:0;
  overflow:hidden;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  background:
    linear-gradient(
      180deg,
      rgba(13,32,56,.96),
      rgba(6,18,34,.98)
    );
  box-shadow:0 16px 38px rgba(0,0,0,.22);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.related-card:hover{
  transform:translateY(-5px);
  border-color:rgba(83,159,255,.7);
  box-shadow:0 24px 52px rgba(0,0,0,.36);
}

.related-card-image{
  position:relative;
  display:block;
  overflow:hidden;
  background:#fff;
}

.related-card-image img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  transition:transform .32s ease;
}

.related-card:hover .related-card-image img{
  transform:scale(1.035);
}

.related-card-badge{
  position:absolute;
  top:12px;
  left:12px;
  padding:7px 10px;
  border-radius:999px;
  background:#177ee8;
  color:#fff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 8px 22px rgba(0,0,0,.28);
}

.related-card-badge.is-sold-out{
  background:#8a3340;
}

.related-card-content{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:18px;
}

.related-card h3{
  margin:0 0 14px;
  font-size:17px;
  line-height:1.35;
}

.related-card h3 a{
  color:#fff;
  text-decoration:none;
}

.related-card h3 a:hover{
  color:#78b9ff;
}

.related-price{
  display:flex;
  align-items:baseline;
  gap:9px;
  margin:auto 0 17px;
}

.related-price strong{
  color:#fff;
  font-size:23px;
}

.related-price span{
  color:#7f8da3;
  font-size:14px;
  text-decoration:line-through;
}

.related-card-button{
  width:100%;
  justify-content:center;
}

@media(max-width:1020px){
  .related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .related-products{
    margin-top:64px;
  }

  .related-grid{
    grid-template-columns:1fr;
  }

  .related-card{
    max-width:430px;
    margin-inline:auto;
  }
}


/* ===== RELATED PRODUCTS POLISH ===== */

.related-card{
  cursor:pointer;
}

.related-card:focus-visible{
  outline:3px solid rgba(76,156,255,.65);
  outline-offset:4px;
}

.related-card-category{
  margin:0 0 8px;
  color:#68afff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  line-height:1.2;
  text-transform:uppercase;
}

.related-card h3{
  display:-webkit-box;
  min-height:4.15em;
  margin:0 0 14px;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
}

.related-card-badge{
  max-width:calc(100% - 24px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.related-card-badge.is-low-stock{
  background:#b76513;
}

.related-card-content{
  min-height:240px;
}

.related-card-image img{
  aspect-ratio:1.08/1;
}

@media(max-width:620px){
  .related-card-content{
    min-height:220px;
  }
}


/* ===== RECENTLY VIEWED ===== */

.v3-recent{
  margin:82px 0 36px;
}

.v3-recent[hidden]{
  display:none;
}

.v3-recent-heading{
  margin-bottom:28px;
  text-align:center;
}

.v3-recent-heading p{
  margin:0 0 7px;
  color:#69b2ff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.v3-recent-heading h2{
  margin:0;
  color:#fff;
  font-size:clamp(28px,4vw,38px);
}

.v3-recent-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;
}

.v3-recent-card{
  display:flex;
  min-width:0;
  overflow:hidden;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  background:
    linear-gradient(
      180deg,
      rgba(13,32,56,.96),
      rgba(6,18,34,.98)
    );
  color:#fff;
  text-decoration:none;
  box-shadow:0 16px 38px rgba(0,0,0,.22);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.v3-recent-card:hover{
  transform:translateY(-5px);
  border-color:rgba(83,159,255,.7);
  box-shadow:0 24px 52px rgba(0,0,0,.36);
}

.v3-recent-image{
  display:block;
  overflow:hidden;
  background:#fff;
}

.v3-recent-image img{
  display:block;
  width:100%;
  aspect-ratio:1.08/1;
  object-fit:cover;
  transition:transform .3s ease;
}

.v3-recent-card:hover .v3-recent-image img{
  transform:scale(1.035);
}

.v3-recent-content{
  display:flex;
  min-height:180px;
  flex:1;
  flex-direction:column;
  padding:18px;
}

.v3-recent-category{
  margin-bottom:9px;
  color:#68afff;
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.v3-recent-content strong{
  display:-webkit-box;
  min-height:4.15em;
  overflow:hidden;
  font-size:17px;
  line-height:1.38;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

.v3-recent-price{
  margin-top:auto;
  padding-top:18px;
  color:#fff;
  font-size:23px;
  font-weight:900;
}

@media(max-width:1020px){
  .v3-recent-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:620px){
  .v3-recent{
    margin-top:64px;
  }

  .v3-recent-grid{
    grid-template-columns:1fr;
  }

  .v3-recent-card{
    width:100%;
    max-width:430px;
    margin-inline:auto;
  }
}


/* FEATURED PRODUCT GRID SIZE FIX */
@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 540px) and (max-width: 767px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 539px) {
  .product-grid {
    grid-template-columns: 1fr !important;
  }
}

/* HOMEPAGE SMALLER PRODUCT CARDS — FINAL */
@media (min-width: 1200px) {
  body .products .product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }

  body .products .product-card,
  body .products article.product-card {
    min-width: 0 !important;
    width: 100% !important;
  }

  body .products .product-card img,
  body .products .product-media img,
  body .products .product-card-image img {
    width: 100% !important;
    height: 300px !important;
    max-height: 300px !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body .products .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  body .products .product-card img,
  body .products .product-media img,
  body .products .product-card-image img {
    height: 270px !important;
    object-fit: cover !important;
  }
}

@media (max-width: 767px) {
  body .products .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body .products .product-card img,
  body .products .product-media img,
  body .products .product-card-image img {
    height: 220px !important;
    object-fit: cover !important;
  }
}
