@import url('brand-overrides.css');
:root{--b:#b76770;--d:#63383d;--p:#fff5f4;--ink:#302427;--muted:#817176;--line:#edddde;--sh:0 16px 45px #833e4820}*{box-sizing:border-box}body{margin:0;background:var(--p);color:var(--ink);font:13px Alexandria,Arial,sans-serif}a{text-decoration:none;color:inherit}button,input{font:inherit}.announce{background:linear-gradient(90deg,#98525b,#d3868d,#98525b);color:#fff;text-align:center;padding:9px;font-size:9px}.announce span{margin:0 6px;opacity:.7}header{height:70px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;background:#fffcfccc;backdrop-filter:blur(15px);position:sticky;top:0;z-index:5;border-bottom:1px solid #f1e3e4}.brand{width:112px;height:52px;background:url('lamsa-logo.png') center/contain no-repeat;font-size:0}.brand small{display:none}header nav{display:none}.cart-trigger{border:1px solid #efdadd;background:#fff;border-radius:99px;padding:9px 11px;font-size:10px;color:var(--d)}.cart-trigger b{background:var(--b);color:#fff;border-radius:50%;padding:3px 7px;margin-right:4px;font-size:8px}.hero{padding:18px 18px 48px;background:radial-gradient(circle at 100% 0,#f6dfe1,transparent 32%)}.hero-photo{height:390px;overflow:hidden;border-radius:0 0 72px 72px;box-shadow:var(--sh)}.hero-photo img{width:100%;height:100%;object-fit:cover}.hero-copy{background:#fff;border-radius:19px;padding:22px;margin:-65px 10px 0;position:relative;box-shadow:var(--sh)}.hero-copy span,.heading span,.discount span,.story span,.landing section>span{font-size:9px;font-weight:700;color:var(--b);letter-spacing:1px}.hero h1,.discount h2,.heading h2,.story h2,.landing h1,.thanks h1{font-size:33px;line-height:1.3;letter-spacing:-1.7px;margin:8px 0 12px}.hero h1 i,.discount em,.story i{font-style:normal;color:var(--b)}.hero p,.story p{font-size:11px;line-height:1.9;color:var(--muted)}.primary{display:inline-flex;justify-content:center;align-items:center;min-height:43px;border:0;border-radius:11px;padding:10px 17px;background:var(--b);color:#fff;font-size:10px;font-weight:600;box-shadow:0 9px 18px #b7677040}.perks{display:flex;gap:9px;padding:17px 18px;overflow:auto;background:#fff}.perks div{min-width:168px;flex:1;border:1px solid #f0e1e2;border-radius:13px;padding:12px;color:var(--b);font-size:16px}.perks b{display:block;color:var(--ink);font-size:9px}.perks small{display:block;color:var(--muted);font-size:8px;margin-top:4px}.discount{margin:26px 18px;padding:28px 22px;border-radius:20px;background:linear-gradient(130deg,#965058,#d5878e);color:#fff;position:relative;overflow:hidden}.discount:after{content:'10%';position:absolute;left:-10px;bottom:-25px;font-size:85px;font-weight:bold;color:#fff1}.discount span{color:#ffe1e3}.discount h2{font-size:23px;position:relative}.discount h2 b{color:#ffdfc5}.discount em{color:#fff}.discount p{font-size:9px;position:relative}.content{padding:42px 18px}.heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.heading h2{font-size:25px;margin:5px 0 0}.heading:after{content:'عرض الكل ←';font-size:9px;color:var(--b)}.categories{display:flex;gap:11px;overflow:auto;margin-left:-18px;padding-left:18px}.category{flex:0 0 158px;height:205px;border-radius:15px;overflow:hidden;position:relative;background:#765}.category img{width:100%;height:100%;object-fit:cover}.category:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#291719c9)}.category b,.category small{position:absolute;z-index:1;right:13px;color:#fff}.category b{bottom:32px;font-size:12px}.category small{bottom:15px;font-size:8px}.products{padding-top:10px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px;width:100%}.product>a{width:100%;aspect-ratio:1/1;height:auto;border-radius:14px;overflow:hidden;display:block;position:relative;background:#eee}.product img{display:block;width:100%;height:100%;aspect-ratio:1/1;object-fit:cover}.badge{position:absolute;right:8px;top:8px;background:#fff;color:var(--b);border-radius:20px;padding:5px 7px;font-size:8px}.product h3{font-size:10px;margin:10px 2px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product p{margin:0 2px 8px;color:var(--b);font-size:10px;font-weight:bold}.add{width:100%;border:1px solid #ead9db;background:#fff;border-radius:8px;color:var(--d);padding:9px;font-size:8px}.story{margin:6px 18px 40px;border-radius:20px;overflow:hidden;background:#f3e2e3}.story img{height:220px;width:100%;object-fit:cover}.story div{padding:25px}.story h2{font-size:27px}footer{background:#402d30;color:#fbeff0;padding:38px 23px 88px;font-size:10px}.footer-logo,footer>b{display:block;width:120px;height:43px;object-fit:contain;background:#fff;border-radius:4px;margin-bottom:14px}footer p{color:#d9c6c8;line-height:2}footer a{color:#ffc8ce}.cart{position:fixed;z-index:20;bottom:0;left:0;width:100%;height:82vh;background:#fff;border-radius:27px 27px 0 0;padding:20px;display:flex;flex-direction:column;transform:translateY(110%);transition:.35s}.cart.open{transform:none}.cart>button{align-self:flex-start;border:0;border-radius:50%;background:#fff0f1;color:var(--b);font-size:20px}.cart h2{margin:10px 0;font-size:23px}.cart-line{display:grid;grid-template-columns:56px 1fr auto;gap:10px;padding:12px 0;border-top:1px solid var(--line)}.cart-line img{width:56px;height:62px;border-radius:8px;object-fit:cover}.cart-line b{font-size:10px}.cart-line small{color:var(--b);font-size:9px}.cart-line>button{border:0;background:none;color:var(--b)}.qty{font-size:9px;margin-top:7px}.qty button{border:1px solid var(--line);background:#fff;padding:1px 7px}.totals{margin-top:auto;border-top:1px dashed #d9c4c6;padding-top:10px;font-size:10px}.total-row{display:flex;justify-content:space-between;padding:5px}.sale{color:var(--b)}.wide{width:100%;margin-top:15px}.cart>small{text-align:center;color:var(--muted);font-size:8px;margin-top:12px}.shade{position:fixed;z-index:15;inset:0;background:#43262a70;display:none}.shade.show{display:block}.back{font-size:9px;color:var(--b)}.landing{background:#fff;min-height:calc(100vh - 70px)}.landing>img{width:100%;height:330px;object-fit:cover}.landing section{padding:27px 20px}.landing h1{font-size:28px}.price{background:#fff0f1;color:var(--b);border-radius:8px;padding:8px;font-size:11px}.landing section>p{font-size:11px;line-height:2;color:var(--muted)}.order-form{display:grid;gap:12px;background:#fff8f8;border:1px solid #f0e0e1;border-radius:15px;padding:18px;margin-top:23px}.order-form label{font-size:9px}.order-form input{display:block;width:100%;margin-top:6px;border:1px solid #e8d6d8;border-radius:8px;padding:12px;font-size:10px}.order-form small{text-align:center;font-size:8px;color:var(--muted)}.thanks{min-height:100vh;display:grid;place-content:center;text-align:center;padding:30px;background:radial-gradient(circle at 50% 0,#fde1e4,transparent 38%),var(--p)}.thanks>i{display:grid;place-items:center;margin:auto;width:68px;height:68px;border-radius:50%;background:#f9d9dd;color:var(--b);font-size:27px;font-style:normal}.thanks span{color:var(--b);font-size:10px;font-weight:bold}.thanks h1{font-size:34px}.thanks p{max-width:330px;font-size:11px;line-height:2;color:var(--muted)}.thanks>div{background:#fff;padding:13px;border-radius:10px;font-size:9px;margin:20px 0}.whatsapp-float{bottom:20px!important;right:16px!important}@media(min-width:520px) and (max-width:759px){
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 14px}
.product>a{width:100%;aspect-ratio:1/1;height:auto}
}
@media(min-width:760px){header{height:80px;padding:0 9%}.brand{width:142px}header nav{display:flex;gap:25px;font-size:10px;color:var(--muted)}.hero{display:grid;grid-template-columns:1fr 1fr;gap:45px;padding:55px 12%}.hero-photo{order:2;height:510px;border-radius:70px 0 70px 0}.hero-copy{margin:0;background:transparent;box-shadow:none}.hero h1{font-size:52px}.perks{justify-content:center;padding:23px 12%}.perks div{max-width:250px}.discount{max-width:950px;margin:55px auto;text-align:center}.content{max-width:1200px;margin:auto;padding:75px 30px}.categories{display:grid;grid-template-columns:repeat(4,1fr);margin:0;padding:0}.category{height:280px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 17px}.product>a{width:100%;aspect-ratio:1/1;height:auto}.story{max-width:1050px;margin:0 auto 70px;display:grid;grid-template-columns:1fr 1fr}.story img{height:410px}.story div{align-self:center;padding:60px}.landing{display:grid;grid-template-columns:1fr 1fr;max-width:1080px;margin:auto}.landing>img{height:650px}.landing section{padding:70px}.cart{width:420px;height:100vh;border-radius:0;transform:translateX(-110%)}.cart.open{transform:none}}


/* Final responsive fixes */
#products,
.products{
  scroll-margin-top:90px;
}

/* Product cards are always square */
.product>a,
.product>a img,
.product img{
  aspect-ratio:1 / 1;
}

.product>a{
  height:auto !important;
  width:100%;
}

.product img{
  height:100% !important;
  width:100%;
  object-fit:cover;
}

/* Keep the mobile sticky header from visually covering anchored content */
@media(max-width:759px){
  header{
    position:sticky;
    top:0;
    z-index:50;
  }

  #products{
    scroll-margin-top:82px;
  }

  .products{
    padding-top:18px;
  }

  .product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    width:100%;
    gap:24px 12px;
  }

  .product>a{
    display:block;
    width:100%;
    height:auto !important;
    aspect-ratio:1 / 1;
    overflow:hidden;
  }

  .product img{
    display:block;
    width:100%;
    height:100% !important;
    aspect-ratio:1 / 1;
    object-fit:cover;
  }
}

/* Product detail page: square main product image too */
.product-page .landing>img{
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:cover;
  display:block;
}

@media(min-width:760px){
  .product-page .landing>img{
    width:100%;
    height:auto;
    aspect-ratio:1 / 1;
  }
}

/* Size selector inside order forms */
.size-field{display:block}
.size-field select{display:block;width:100%;margin-top:6px;border:1px solid #e8d6d8;border-radius:8px;padding:12px;background:#fff;font:inherit;font-size:10px}
/* Keep the original product page layout; only make its main image square */
.product-page .landing>img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}

/* Size radio controls and editable cart/checkout rows */
.size-field,.cart-size{border:0;padding:0;margin:12px 0 4px;min-width:0}
.size-field legend,.cart-size legend{font-size:10px;font-weight:600;margin-bottom:8px;color:var(--ink)}
.size-options{display:flex;flex-wrap:wrap;gap:8px}
.size-option{display:inline-flex!important;align-items:center;cursor:pointer;font-size:10px!important}
.size-option input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.size-option span{display:inline-flex;min-width:36px;min-height:34px;align-items:center;justify-content:center;padding:6px 10px;border:1px solid #e8d6d8;border-radius:8px;background:#fff;color:var(--d)}
.size-option input:checked+span{background:var(--b);border-color:var(--b);color:#fff}
.size-option input:focus-visible+span{outline:2px solid var(--d);outline-offset:2px}
.cart-size{margin:8px 0}.cart-size .size-options{gap:5px}.cart-size .size-option span{min-width:30px;min-height:29px;padding:4px 7px;font-size:9px}
.cart-line{align-items:start}.cart-product{min-width:0}.qty{display:flex;align-items:center;gap:10px}.qty button{cursor:pointer;border-radius:6px;min-width:27px;min-height:26px}.cart-remove{cursor:pointer}.checkout-line{grid-template-columns:56px minmax(0,1fr) auto}.checkout-line> b{white-space:nowrap;padding-top:4px}
a,button,[role="button"],input[type="submit"],input[type="button"],label.size-option,summary{cursor:pointer}
button:disabled{cursor:not-allowed}
@media(min-width:760px){.product-page .landing>img{aspect-ratio:1/1;height:auto;object-fit:cover}}


/* Modern size chips */
.size-options{display:flex;flex-wrap:wrap;gap:9px}
.size-option{position:relative;display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer;font-size:10px!important}
.size-option input{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;margin:0!important;pointer-events:none}
.size-option span{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:45px;min-height:42px;padding:8px 13px;border:1px solid #ead7da;border-radius:12px;background:linear-gradient(145deg,#fff,#fff8f8);color:var(--d);font-weight:600;box-shadow:0 3px 9px #6c34390b;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease}
.size-option:hover span{transform:translateY(-2px);border-color:var(--b);box-shadow:0 7px 16px #b7677020}
.size-option input:checked+span{color:#fff;border-color:transparent;background:linear-gradient(135deg,#63383d,#c1747c);box-shadow:0 7px 16px #8c465044}
.size-option input:checked+span:after{content:'✓';font-size:9px;position:absolute;top:-6px;left:-5px;width:16px;height:16px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:#2f8062;color:#fff}
.size-option input:focus-visible+span{outline:3px solid #d9a0a5;outline-offset:3px}
.cart-size .size-options{gap:6px}.cart-size .size-option span{min-width:37px;min-height:35px;padding:6px 9px;border-radius:10px;font-size:9px}
/* Quantity controls: visible, easy to tap, and consistent on cart + checkout */
.qty{display:flex;align-items:center;gap:10px;margin-top:10px;flex-wrap:wrap}
.qty button{display:inline-grid;place-items:center;min-width:34px;min-height:34px;border:1px solid #ead7da;border-radius:10px;background:#fff;color:var(--d);font-size:17px;font-weight:600;cursor:pointer;transition:background .18s,transform .18s}
.qty button:hover{background:#fff0f1;transform:translateY(-1px)}
.qty span{min-width:68px;text-align:center;font-size:10px;font-weight:600;color:var(--ink)}
.cart-line{grid-template-columns:64px minmax(0,1fr) auto;gap:12px}.cart-line img{width:64px;height:64px;aspect-ratio:1/1;object-fit:cover;border-radius:11px}
.checkout-line{grid-template-columns:64px minmax(0,1fr) auto}.checkout-line> b{font-size:11px}
#checkout-items{display:grid;gap:3px}
/* Store footer */
.store-footer{background:linear-gradient(135deg,#352326,#4c3035);color:#fff4f4;padding:40px 22px 24px;font-size:11px}
.footer-main{display:grid;grid-template-columns:1fr;gap:28px;max-width:1180px;margin:0 auto 28px}
.footer-brand{display:block;font-size:25px;letter-spacing:1px;color:#fff;font-weight:700}
.footer-brand small{display:block;font-size:9px;letter-spacing:4px;color:#e9b9bd;margin-top:3px}
.footer-about p{max-width:340px;color:#e1cdd0;line-height:2.1;font-size:11px}
.footer-about .footer-promise{color:#f3c3c8}
.footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.footer-column h3{font-size:13px;margin:0 0 3px;color:#fff;font-weight:700}
.footer-column a{color:#e4cfd1;transition:color .2s,transform .2s}
.footer-column a:hover{color:#fff;transform:translateX(-3px)}
.footer-policies{max-width:1180px;margin:0 auto;border-top:1px solid #ffffff20;padding-top:12px;display:grid;grid-template-columns:1fr;gap:2px}
.footer-policies details{border-bottom:1px solid #ffffff18;padding:12px 0}
.footer-policies summary{cursor:pointer;font-weight:600;color:#f5dfe1;list-style:none;display:flex;justify-content:space-between;gap:15px}
.footer-policies summary::-webkit-details-marker{display:none}
.footer-policies summary:after{content:'+';color:#eab8bd;font-size:16px;line-height:1}
.footer-policies details[open] summary:after{content:'−'}
.footer-policies p{color:#d8c3c6;line-height:2;margin:10px 0 2px;font-size:10px}
.footer-bottom{max-width:1180px;margin:22px auto 0;padding-top:18px;border-top:1px solid #ffffff20;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#cdb6b9;font-size:9px}
/* Gentle scroll-in motion */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.75,.25,1)}
.reveal.is-visible{opacity:1;transform:translateY(0)}
@media(min-width:650px){.footer-main{grid-template-columns:1.4fr 1fr 1fr;gap:50px}.footer-policies{grid-template-columns:1fr 1fr;column-gap:28px}.store-footer{padding:55px 6% 25px}}
@media(prefers-reduced-motion:reduce){.reveal,.size-option span,.qty button,.footer-column a{transition:none!important}.reveal{opacity:1;transform:none}}
a,button,[role="button"],input[type="submit"],input[type="button"],summary,label.size-option{cursor:pointer}


/* Explicitly visible size and quantity controls in both cart and checkout */
.quantity-editor{display:block;margin-top:12px;padding:10px;border:1px solid #f0dfe1;border-radius:12px;background:#fffafa}
.quantity-editor>label{display:block;margin:0 0 7px;color:var(--muted);font-size:10px;font-weight:600}
.qty{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:0}
.qty button{cursor:pointer;display:inline-grid;place-items:center;min-width:36px;min-height:36px;border:1px solid #ead7da;border-radius:10px;background:#fff;color:var(--d);font-size:18px;font-weight:700}
.qty input[type=number]{display:inline-block;width:64px;min-width:64px;height:36px;margin:0;padding:4px 6px;border:1px solid #e8d6d8;border-radius:9px;background:#fff;text-align:center;font:600 12px Alexandria,Arial,sans-serif;color:var(--ink)}
.qty input[type=number]:focus{outline:2px solid #d9a0a5;outline-offset:2px}
.cart-size{display:block;padding:10px;border:1px solid #f0dfe1;border-radius:12px;background:#fffafa}
.cart-size legend{padding:0 4px}
.cart-size .size-options{display:flex;flex-wrap:wrap;gap:7px}
.cart-size .size-option span{min-width:40px;min-height:37px}
.cart-line{align-items:start}
#cartItems{overflow-y:auto;min-height:0;flex:1;padding-bottom:12px}
#checkout-items{display:grid;gap:12px}
.checkout-line{padding:14px 0}
.checkout-line .cart-product{min-width:0}
.checkout-line .checkout-remove{padding:0 10px;font-size:11px;min-height:34px}
@media(max-width:420px){.cart-line{grid-template-columns:52px minmax(0,1fr) auto;gap:8px}.cart-line img{width:52px;height:52px}.qty{gap:5px}.qty input[type=number]{width:54px;min-width:54px}.cart-size .size-option span{min-width:35px;min-height:34px;padding:5px 8px}}

/* Refined premium size radio design */
.size-field,.cart-size{border:0;background:transparent;padding:8px 0;margin:12px 0;min-width:0}
.size-field legend,.cart-size legend{font-size:12px;font-weight:700;color:var(--d);padding:0 0 9px}
.size-options{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.size-option{position:relative;display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer!important;margin:0!important;font-size:12px!important;line-height:1}
.size-option input[type="radio"]{position:absolute!important;inset:auto!important;width:1px!important;height:1px!important;opacity:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;pointer-events:none!important}
.size-option span{box-sizing:border-box;min-width:52px;min-height:46px;padding:0 15px;border:1px solid #eadadd;border-radius:999px;background:#fff;color:#56383c;font-size:12px;font-weight:700;letter-spacing:.25px;box-shadow:0 2px 5px rgba(67,34,39,.04);transition:background .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease}
.size-option:hover span{transform:translateY(-2px);border-color:#a96871;background:#fff7f8;box-shadow:0 7px 18px rgba(99,56,61,.10)}
.size-option input[type="radio"]:checked+span{color:#fff;border-color:#63383d;background:linear-gradient(135deg,#40252a 0%,#854d55 58%,#b8757d 100%);box-shadow:0 6px 16px rgba(99,56,61,.25),inset 0 1px 0 rgba(255,255,255,.18)}
.size-option input[type="radio"]:checked+span:after{content:'✓';position:absolute;top:-5px;right:-4px;left:auto;width:17px;height:17px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;background:#2d8065;color:#fff;font-size:9px;font-weight:800;box-shadow:0 2px 5px rgba(0,0,0,.12)}
.size-option input[type="radio"]:focus-visible+span{outline:3px solid #d9a0a5;outline-offset:3px}
.cart-size{padding:9px 0;border:0;background:transparent;border-radius:0}
.cart-size legend{font-size:11px;padding-bottom:8px}
.cart-size .size-options{gap:7px}
.cart-size .size-option span{min-width:43px;min-height:38px;padding:0 12px;border-radius:999px;font-size:11px}
@media(max-width:420px){.size-options{gap:8px}.size-option span{min-width:47px;min-height:42px;padding:0 12px}.cart-size .size-option span{min-width:39px;min-height:36px;padding:0 10px}}
@media(prefers-reduced-motion:reduce){.size-option span{transition:none!important}.size-option:hover span{transform:none}}

/* FINAL cart + checkout controls: prominent, readable, and touch-friendly */
#cartItems, #checkout-items { overflow-y:auto; min-height:0; }
#cartItems { flex:1 1 auto; padding:4px 2px 18px; }
#checkout-items { display:grid; gap:14px; }
.cart-line, .checkout-line { align-items:start; }
.cart-product { min-width:0; }
.cart-size { display:block !important; margin:12px 0 !important; padding:10px 12px !important; border:1px solid #ead7da !important; border-radius:14px !important; background:linear-gradient(135deg,#fffdfd,#fff5f6) !important; }
.cart-size legend, .size-field legend { display:block; padding:0 0 9px !important; font-size:12px !important; font-weight:700 !important; color:#63383d !important; }
.size-options { display:flex !important; flex-wrap:wrap; align-items:center; gap:9px !important; }
.size-option { display:inline-flex !important; position:relative; margin:0 !important; cursor:pointer !important; }
.size-option input[type="radio"] { position:absolute !important; width:1px !important; height:1px !important; opacity:0 !important; overflow:hidden !important; clip-path:inset(50%) !important; pointer-events:none !important; }
.size-option span { position:relative; display:inline-flex !important; align-items:center; justify-content:center; min-width:49px !important; min-height:43px !important; padding:0 14px !important; border:1px solid #e8d4d7 !important; border-radius:999px !important; background:#fff !important; color:#63383d !important; font-size:12px !important; font-weight:700 !important; box-shadow:0 3px 9px #63383d0c !important; transition:transform .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease !important; }
.size-option:hover span { transform:translateY(-2px); border-color:#b76770 !important; background:#fff4f5 !important; }
.size-option input[type="radio"]:checked + span { color:#fff !important; border-color:#63383d !important; background:linear-gradient(135deg,#40252a,#854d55 60%,#b8757d) !important; box-shadow:0 6px 15px #63383d35 !important; }
.size-option input[type="radio"]:checked + span:after { content:'✓'; position:absolute; top:-5px; right:-3px; width:17px; height:17px; display:grid; place-items:center; border:2px solid #fff; border-radius:50%; background:#28795f; color:#fff; font-size:9px; font-weight:800; }
.size-option input[type="radio"]:focus-visible + span { outline:3px solid #d9a0a5; outline-offset:3px; }
.quantity-editor { display:block !important; margin:12px 0 2px !important; padding:12px !important; border:1px solid #ead7da !important; border-radius:14px !important; background:#fff !important; }
.quantity-editor > label { display:block !important; margin:0 0 9px !important; color:#63383d !important; font-size:12px !important; font-weight:700 !important; }
.qty { display:flex !important; align-items:center; gap:8px !important; flex-wrap:wrap; margin:0 !important; }
.qty button { display:inline-grid !important; place-items:center; min-width:38px !important; min-height:38px !important; padding:0 10px !important; border:1px solid #e5cdd1 !important; border-radius:11px !important; background:#fff7f8 !important; color:#63383d !important; font-size:19px !important; font-weight:700 !important; cursor:pointer !important; }
.qty input[type="number"] { display:inline-block !important; width:70px !important; min-width:70px !important; height:38px !important; margin:0 !important; padding:5px !important; border:1px solid #dfc5ca !important; border-radius:10px !important; background:#fff !important; color:#302427 !important; text-align:center !important; font-size:13px !important; font-weight:700 !important; }
.cart-remove, .checkout-remove { cursor:pointer !important; }
.cart-line > .cart-remove { align-self:start; min-width:30px; min-height:32px; font-size:21px; }
.checkout-line { grid-template-columns:64px minmax(0,1fr) auto !important; }
.checkout-line > b { white-space:nowrap; padding-top:5px; font-size:12px !important; }
#checkout-total { margin-top:18px; }
#checkout-form .primary, .primary, a, button, [role="button"], summary { cursor:pointer; }
@media(max-width:420px) {
  .cart { padding:17px 14px; height:88vh; }
  .cart-line, .checkout-line { grid-template-columns:48px minmax(0,1fr) auto !important; gap:8px !important; }
  .cart-line img, .checkout-line img { width:48px !important; height:48px !important; }
  .cart-size { padding:9px !important; }
  .size-options { gap:7px !important; }
  .size-option span { min-width:43px !important; min-height:40px !important; padding:0 11px !important; }
  .qty { gap:6px !important; }
  .qty input[type="number"] { width:58px !important; min-width:58px !important; }
}
@media(prefers-reduced-motion:reduce) { .size-option span, .qty button { transition:none !important; } }


/* Final cart + checkout controls: modern selectable size pills and visible quantity editor */
#cartItems, #checkout-items { display:block; overflow-y:auto; overflow-x:hidden; min-height:0; }
#cartItems { flex:1 1 auto; }
#checkout-items { display:grid; gap:14px; }
.cart-size, .checkout-line .cart-size { display:block !important; width:100%; min-width:0; margin:12px 0 !important; padding:11px 12px !important; border:1px solid #ead7da !important; border-radius:15px !important; background:#fff9fa !important; }
.cart-size legend { padding:0 5px 7px !important; color:#63383d !important; font-size:12px !important; font-weight:700 !important; }
.size-options { display:flex !important; flex-wrap:wrap !important; align-items:center; gap:9px !important; }
.size-option { display:inline-flex !important; position:relative !important; margin:0 !important; cursor:pointer !important; }
.size-option input[type=radio] { position:absolute !important; width:1px !important; height:1px !important; opacity:0 !important; overflow:hidden !important; clip-path:inset(50%) !important; pointer-events:none !important; }
.size-option span { position:relative; display:inline-flex !important; align-items:center; justify-content:center; min-width:48px !important; min-height:43px !important; padding:0 14px !important; border:1px solid #e8d4d7 !important; border-radius:999px !important; background:#fff !important; color:#63383d !important; font-size:12px !important; font-weight:700 !important; box-shadow:0 3px 9px #63383d0c !important; transition:all .18s ease !important; }
.size-option:hover span { transform:translateY(-2px); border-color:#b76770 !important; background:#fff4f5 !important; }
.size-option input[type=radio]:checked + span { color:#fff !important; border-color:#63383d !important; background:linear-gradient(135deg,#40252a,#854d55 60%,#b8757d) !important; box-shadow:0 6px 15px #63383d35 !important; }
.size-option input[type=radio]:checked + span:after { content:'✓'; position:absolute; top:-5px; right:-4px; width:17px; height:17px; display:grid; place-items:center; border:2px solid #fff; border-radius:50%; background:#28795f; color:#fff; font-size:9px; font-weight:800; }
.size-option input[type=radio]:focus-visible + span { outline:3px solid #d9a0a5; outline-offset:3px; }
.quantity-editor { display:block !important; margin:12px 0 2px !important; padding:12px !important; border:1px solid #ead7da !important; border-radius:14px !important; background:#fff !important; }
.quantity-editor>label { display:block !important; margin:0 0 9px !important; color:#63383d !important; font-size:12px !important; font-weight:700 !important; }
.qty { display:flex !important; align-items:center; gap:8px !important; flex-wrap:wrap; margin:0 !important; }
.qty button { display:inline-grid !important; place-items:center; min-width:38px !important; min-height:38px !important; padding:0 10px !important; border:1px solid #e5cdd1 !important; border-radius:11px !important; background:#fff4f5 !important; color:#63383d !important; font-size:19px !important; font-weight:700 !important; cursor:pointer !important; }
.qty input[type=number] { display:inline-block !important; width:64px !important; min-width:64px !important; height:38px !important; margin:0 !important; padding:5px !important; border:1px solid #dfc5ca !important; border-radius:10px !important; background:#fff !important; color:#302427 !important; text-align:center !important; font-size:13px !important; font-weight:700 !important; }
@media(max-width:420px) { .cart { padding:16px 12px; height:90vh; } .cart-line,.checkout-line { grid-template-columns:46px minmax(0,1fr) auto !important; gap:8px !important; } .cart-line img,.checkout-line img { width:46px !important; height:46px !important; } .size-option span { min-width:42px !important; min-height:39px !important; padding:0 10px !important; } .qty { gap:6px !important; } .qty input[type=number] { width:54px !important; min-width:54px !important; } }
@media(prefers-reduced-motion:reduce) { .size-option span,.qty button { transition:none !important; } }
/* Category-specific cover cards and grouped product sections */
.category-products{scroll-margin-top:110px;margin-top:34px;padding-top:18px;border-top:1px solid #eee}
.category-products-heading{display:flex;align-items:center;gap:14px;margin:0 0 20px}
.category-products-heading img{width:68px;height:68px;object-fit:cover;border-radius:50%;border:2px solid #f1e5e8}
.category-products-heading span{font-size:11px;color:#9a6676;letter-spacing:.08em}
.category-products-heading h2{font-size:clamp(21px,3vw,30px);margin:4px 0 0}
.category{scroll-margin-top:100px}
.empty-category{padding:16px 18px;border:1px dashed #e4cdd1;border-radius:12px;color:#817176;background:#fff9fa;font-size:12px}

/* Modern animated multi-image product gallery */
.product-page .landing{align-items:start;gap:0}
.product-page .product-gallery{min-width:0;padding:14px 14px 0;background:linear-gradient(145deg,#fff,#fff7f7);overflow:hidden}
.product-page .product-gallery-stage{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden;border-radius:18px;background:#f3e8e9;isolation:isolate;box-shadow:0 14px 35px #63383d12}
.product-page .product-gallery-main{display:block;width:100%;height:100%;object-fit:cover;transition:opacity .22s ease,transform .55s cubic-bezier(.2,.7,.2,1);will-change:opacity,transform}
.product-page .product-gallery-main.is-changing{opacity:.25;transform:scale(1.025)}
.gallery-counter{position:absolute;bottom:12px;left:12px;z-index:2;padding:6px 10px;border:1px solid #ffffff80;border-radius:30px;background:#fffdf0d9;backdrop-filter:blur(10px);color:#63383d;font-size:10px;font-weight:700;direction:ltr}
.gallery-arrow,.gallery-zoom{position:absolute;z-index:3;display:grid;place-items:center;border:1px solid #ffffffa8;background:#fffdf0e8;color:#63383d;backdrop-filter:blur(12px);box-shadow:0 5px 18px #32191c1c;transition:transform .2s ease,background .2s ease}
.gallery-arrow{top:50%;width:39px;height:39px;border-radius:50%;font-size:27px;line-height:1;transform:translateY(-50%)}
.gallery-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.08)}.gallery-prev{right:12px}.gallery-next{left:12px}
.gallery-zoom{top:12px;left:12px;width:36px;height:36px;border-radius:50%;font-size:20px}.gallery-zoom:hover{transform:scale(1.08)}
.product-page .product-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding:13px 2px 9px;scrollbar-width:thin;scrollbar-color:#d7a8ae transparent;scroll-snap-type:x mandatory}
.gallery-thumb{position:relative;flex:0 0 72px;width:72px;height:72px;padding:3px;border:1px solid #eadadc;border-radius:12px;background:#fff;overflow:hidden;scroll-snap-align:start;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover;border-radius:8px;transition:transform .35s ease}
.gallery-thumb:hover{transform:translateY(-3px)}.gallery-thumb:hover img{transform:scale(1.06)}.gallery-thumb.active{border:2px solid #b76770;padding:2px;box-shadow:0 5px 14px #b7677030}.gallery-thumb.active:after{content:'';position:absolute;inset:0;border-radius:9px;box-shadow:inset 0 0 0 1px #ffffff55;pointer-events:none}
.gallery-progress{height:3px;background:#f0e2e3;border-radius:10px;overflow:hidden;margin:2px 2px 12px}.gallery-progress span{display:block;height:100%;width:25%;background:linear-gradient(90deg,#63383d,#d58b92);border-radius:10px;transition:width .3s ease}
.gallery-lightbox{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:#1c1215ed;backdrop-filter:blur(12px);animation:galleryFadeIn .2s ease}.gallery-lightbox img{display:block;max-width:min(88vw,900px);max-height:86vh;object-fit:contain;border-radius:8px;animation:galleryImageIn .28s ease}.gallery-lightbox button{position:absolute;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff55;border-radius:50%;background:#ffffffed;color:#63383d;font-size:26px}.gallery-lightbox .lightbox-close{top:20px;right:20px}.gallery-lightbox .lightbox-prev{right:20px;top:50%;transform:translateY(-50%)}.gallery-lightbox .lightbox-next{left:20px;top:50%;transform:translateY(-50%)}
@keyframes galleryFadeIn{from{opacity:0}to{opacity:1}}@keyframes galleryImageIn{from{opacity:.4;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media(min-width:760px){.product-page .landing{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:0;max-width:1120px;margin:26px auto 60px;border:1px solid #f0e1e2;border-radius:24px;overflow:hidden;box-shadow:0 20px 60px #63383d12}.product-page .product-gallery{padding:24px;background:linear-gradient(145deg,#fff,#fcf0f1)}.product-page .product-gallery-stage{border-radius:20px}.product-page .product-gallery-thumbs{gap:12px;padding-top:16px}.gallery-thumb{flex-basis:86px;width:86px;height:86px}.gallery-progress{margin-top:4px}.product-page .landing section{padding:45px 38px}.product-page .landing h1{font-size:34px}}
@media(max-width:759px){.product-page .product-gallery{padding:10px 10px 0}.product-page .product-gallery-stage{border-radius:14px}.product-page .landing section{padding:24px 18px}.gallery-thumb{flex-basis:64px;width:64px;height:64px}.gallery-arrow{width:34px;height:34px}.gallery-zoom{width:32px;height:32px;top:9px;left:9px}}
@media(prefers-reduced-motion:reduce){.product-gallery-main,.gallery-thumb,.gallery-thumb img,.gallery-progress span{transition:none!important}.gallery-lightbox{animation:none!important}}


/* Product gallery layout: large square image with a centered thumbnail strip, matching the reference sketch */
body.product-page .landing{grid-template-columns:minmax(0,1fr) minmax(320px,.82fr)!important;align-items:start!important;gap:0!important;max-width:1180px!important;margin:28px auto 60px!important;overflow:visible!important}
body.product-page .product-gallery{box-sizing:border-box!important;width:100%!important;min-width:0!important;padding:26px!important;background:#fff!important;display:flex!important;flex-direction:column!important;align-items:center!important;overflow:visible!important}
body.product-page .product-gallery-stage{position:relative!important;width:100%!important;max-width:620px!important;aspect-ratio:1/1!important;height:auto!important;margin:0 auto!important;overflow:hidden!important;border-radius:18px!important;background:#f7f2f2!important;box-shadow:0 14px 38px rgba(49,25,31,.09)!important}
body.product-page .product-gallery-main{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;background:#faf7f7!important;transition:opacity .22s ease,transform .45s cubic-bezier(.2,.7,.2,1)!important}
body.product-page .product-gallery-main.is-changing{opacity:.35!important;transform:scale(.985)!important}
body.product-page .product-gallery-thumbs{box-sizing:border-box!important;display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:10px!important;width:100%!important;max-width:620px!important;margin:0 auto!important;padding:14px 0 8px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scrollbar-width:thin!important}
body.product-page .gallery-thumb{box-sizing:border-box!important;position:relative!important;flex:0 0 clamp(54px,11vw,94px)!important;width:clamp(54px,11vw,94px)!important;height:clamp(54px,11vw,94px)!important;padding:3px!important;border:2px solid #e8dfe1!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important;scroll-snap-align:center!important;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease!important}
body.product-page .gallery-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:6px!important}
body.product-page .gallery-thumb.active{border-color:#a95765!important;box-shadow:0 0 0 3px rgba(169,87,101,.13)!important;transform:translateY(-2px)!important}
body.product-page .gallery-thumb:hover{transform:translateY(-3px)!important;border-color:#c48790!important}
body.product-page .gallery-counter{position:absolute!important;top:14px!important;inset-inline-start:14px!important;z-index:2!important;padding:7px 11px!important;border-radius:30px!important;background:rgba(255,255,255,.92)!important;color:#55444a!important;font-size:11px!important;font-weight:700!important;box-shadow:0 3px 12px rgba(0,0,0,.07)!important;backdrop-filter:blur(8px)!important}
body.product-page .gallery-arrow{display:grid!important;place-items:center!important;position:absolute!important;top:50%!important;z-index:2!important;width:40px!important;height:40px!important;border:1px solid rgba(255,255,255,.85)!important;border-radius:50%!important;background:rgba(255,255,255,.9)!important;color:#49353d!important;font-size:26px!important;line-height:1!important;box-shadow:0 4px 18px rgba(0,0,0,.1)!important;transform:translateY(-50%)!important;transition:transform .2s ease,background .2s ease!important}
body.product-page .gallery-arrow:hover{background:#fff!important;transform:translateY(-50%) scale(1.08)!important}
body.product-page .gallery-prev{inset-inline-start:14px!important}body.product-page .gallery-next{inset-inline-end:14px!important}
body.product-page .gallery-zoom{position:absolute!important;inset-inline-end:14px!important;top:14px!important;z-index:2!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border:1px solid #eee!important;border-radius:50%!important;background:rgba(255,255,255,.92)!important;color:#49353d!important;font-size:20px!important;box-shadow:0 3px 12px rgba(0,0,0,.06)!important}
body.product-page .gallery-progress{width:100%!important;max-width:620px!important;height:3px!important;margin:4px auto 0!important;border-radius:9px!important;background:#f0e7e9!important;overflow:hidden!important}
body.product-page #gallery-progress-bar{display:block!important;height:100%!important;width:0;background:#a95765!important;border-radius:9px!important;transition:width .3s ease!important}
@media(max-width:760px){body.product-page .landing{grid-template-columns:minmax(0,1fr)!important;margin:12px 10px 30px!important;border-radius:18px!important}body.product-page .product-gallery{padding:14px 12px 8px!important}body.product-page .product-gallery-stage{max-width:560px!important;border-radius:13px!important}body.product-page .product-gallery-thumbs{justify-content:flex-start!important;gap:8px!important;padding:12px 2px 8px!important}body.product-page .gallery-thumb{flex-basis:68px!important;width:68px!important;height:68px!important}body.product-page .gallery-arrow{width:36px!important;height:36px!important}body.product-page .product-page main section{padding:20px!important}}
@media(prefers-reduced-motion:reduce){body.product-page .product-gallery-main,body.product-page .gallery-thumb,body.product-page .gallery-arrow,body.product-page #gallery-progress-bar{transition:none!important}}

/* Simple product gallery: thumbnails only, no arrows, zoom, counter, progress or slide effects */
body.product-page .gallery-arrow,body.product-page .gallery-zoom,body.product-page .gallery-counter,body.product-page .gallery-progress{display:none!important}
body.product-page .product-gallery-main,body.product-page .product-gallery-main.is-changing,body.product-page .gallery-thumb,body.product-page .gallery-thumb img{transition:none!important;animation:none!important;transform:none!important;will-change:auto!important}
body.product-page .product-gallery-thumbs{scroll-behavior:auto!important;scroll-snap-type:none!important}
body.product-page .gallery-thumb:hover,body.product-page .gallery-thumb:hover img{transform:none!important}
