:root{
  --ink:#2d2925;
  --muted:#80766b;
  --gold:#b08a43;
  --gold-text:#8c6d34;
  --gold-light:#d2b578;
  --cream:#f8f5ef;
  --paper:#fffdf9;
  --line:#e9e2d6;
  --rose:#e9d5ce;
  --sage:#dce2d4;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Cairo",sans-serif;overflow-x:hidden}
button,a{font:inherit}
button{color:inherit}

/* Header & Navigation */
.topbar{
  height:88px;
  padding:0 7vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#fffdf9;
  border-bottom:1px solid #f1ede5;
  position:relative;
  z-index:2;
}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.brand-mark{width:54px;height:54px;object-fit:contain}
.brand-name{font:700 19px "Playfair Display",serif;letter-spacing:.2px;color:var(--gold)}
.topbar nav{display:flex;gap:36px}
.topbar nav a{font-size:13px;text-decoration:none;color:#615950}
.topbar nav a:hover{color:var(--gold)}
.cart-open{
  border:1px solid var(--line);
  background:transparent;
  padding:9px 16px;
  border-radius:4px;
  font-size:13px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.cart-open span{
  display:inline-grid;
  place-items:center;
  border-radius:50%;
  background:var(--gold);
  color:white;
  min-width:20px;
  height:20px;
  font-size:11px;
}

/* Hero Section */
.hero{
  min-height:485px;
  padding:64px 10vw 56px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  overflow:hidden;
  background:var(--cream);
}
.hero-copy{position:relative;z-index:1}
.eyebrow{color:var(--gold-text);font-size:12px;letter-spacing:1px;margin:0 0 12px;font-weight:700}
.hero h1{font-size:46px;line-height:1.45;margin:0;font-weight:600}
.hero h1 em{font:700 48px "Playfair Display",serif;color:var(--gold);letter-spacing:.2px}
.hero-sub{font-size:14px;color:var(--muted);margin:12px 0 25px}
.button{
  border:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:12px 24px;
  border-radius:4px;
  text-decoration:none;
  cursor:pointer;
  font-weight:600;
}
.gold-button{background:var(--gold);color:white;transition:background .2s}
.gold-button:hover{background:#987333}
.hero-art{height:355px;position:relative;display:grid;place-items:center}
.hero-orb{
  height:310px;
  width:310px;
  border-radius:50%;
  background:linear-gradient(140deg,#eee1cf 0,#dfd0b9 100%);
  position:absolute;
  display:grid;
  place-items:center;
}
.hero-emblem{
  display:block;
  width:82%;
  height:82%;
  object-fit:contain;
  position:relative;
  z-index:1;
  filter:drop-shadow(0 3px 2px #4a382330);
}
.hero-stamp{
  position:absolute;
  bottom:38px;
  right:7%;
  width:91px;
  height:91px;
  border-radius:50%;
  background:#fffdf9;
  display:grid;
  align-content:center;
  justify-items:center;
  color:#766244;
  font-size:13px;
  line-height:1.4;
  transform:rotate(-10deg);
  box-shadow:0 8px 25px #897b6420;
}
.hero-stamp span{color:var(--gold);font-size:15px}
.hero-note{position:absolute;left:4%;top:40px;font-size:14px;color:#87775e;line-height:1.8}

/* Sleek Luxury Trust Strip */
.trust-strip{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  padding:11px 5vw;
  background:#f6f2ea;
  border-top:1px solid #ede4d6;
  border-bottom:1px solid #ede4d6;
  font-size:12px;
  color:#635442;
  font-weight:600;
  letter-spacing:.2px;
}
.trust-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}
.trust-star{
  color:var(--gold);
  font-size:11px;
}
.trust-sep{
  color:#c7b8a1;
  font-size:10px;
}

/* Sections General */
.section{padding:70px 10vw}
.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:27px}
.section-heading h2,.age-modal h2,.drawer-heading h2{font-size:27px;margin:0;font-weight:600}
.section-heading>p{font-size:12px;color:var(--muted);margin:0 0 5px}

/* Collections Grid */
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.category-card{
  height:200px;
  border:0;
  text-align:right;
  padding:25px;
  position:relative;
  overflow:hidden;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  transition:transform .2s;
  border-radius:4px;
}
.category-card:hover{transform:translateY(-4px)}
.category-card:after{
  content:"";
  position:absolute;
  width:170px;
  height:170px;
  border:1px solid #ffffff85;
  border-radius:50%;
  left:-35px;
  bottom:-65px;
}
.boys{background:#d9e1e4}
.girls{background:#eeddd7}
.newborn{background:#e5e7da}
.category-kicker{font-size:12px;color:#70685f}
.category-card strong{font-size:26px;margin-top:5px}
.category-arrow{position:absolute;bottom:23px;left:25px;font-size:19px}

/* Products Section & Toolbar */
.products-section{padding-top:40px;padding-bottom:80px;background:#faf8f3}
.product-heading{margin-bottom:20px}
.text-button{border:0;background:none;color:var(--gold-text);font-size:13px;cursor:pointer;font-weight:600}

.products-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:28px;
}
.category-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.cat-tab{
  border:1px solid var(--line);
  background:#fff;
  padding:8px 18px;
  border-radius:30px;
  font-size:13px;
  color:var(--ink);
  cursor:pointer;
  transition:all .2s;
  font-weight:500;
}
.cat-tab:hover{
  border-color:var(--gold);
  color:var(--gold-text);
}
.cat-tab.active{
  background:var(--gold);
  border-color:var(--gold);
  color:#fff;
  box-shadow:0 3px 10px rgba(176,138,67,.25);
}
.toolbar-controls{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.age-chip{
  border:1px solid #d8c49c;
  background:#f7f0e3;
  color:#765a27;
  padding:6px 14px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:all .2s;
}
.age-chip:hover{
  background:#ede3d0;
  border-color:var(--gold);
}
.age-chip[hidden]{display:none}
.sort-box{position:relative}
.sort-select{
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:30px;
  background:#fff;
  font:inherit;
  font-size:12px;
  color:var(--ink);
  outline:none;
  cursor:pointer;
  transition:border-color .2s,box-shadow .2s;
}
.sort-select:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(176,138,67,.15);
}
.search-box{
  position:relative;
  min-width:240px;
  max-width:320px;
}
.search-box input{
  width:100%;
  padding:9px 38px 9px 14px;
  border:1px solid var(--line);
  border-radius:30px;
  background:#fff;
  font:inherit;
  font-size:12px;
  color:var(--ink);
  outline:none;
  transition:border-color .2s,box-shadow .2s;
}
.search-box input:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(176,138,67,.15);
}
.search-icon{
  position:absolute;
  right:13px;
  top:50%;
  transform:translateY(-50%);
  font-size:14px;
  color:var(--muted);
  pointer-events:none;
}

/* Products Grid & Cards */
.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.product-card{
  background:#fff;
  min-width:0;
  border-radius:6px;
  overflow:hidden;
  border:1px solid #f1ece2;
  transition:box-shadow .2s,transform .2s;
}
.product-card:hover{
  box-shadow:0 8px 24px rgba(45,41,37,.06);
  transform:translateY(-2px);
}
.product-image{
  position:relative;
  width:100%;
  aspect-ratio:4/5;
  background:#f3efe7;
  overflow:hidden;
  display:grid;
  place-items:center;
}
.product-image img{
  display:block;
  width:100%;
  height:100%;
  padding:10px;
  object-fit:contain;
  cursor:zoom-in;
}
.image-placeholder{font:700 56px "Playfair Display",serif;color:#c8bda9;letter-spacing:-5px}
.zoom-hint{
  display:none!important;
  position:absolute; bottom:8px; left:8px; z-index:1;
  background:rgba(255,253,249,0.8); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
  color:var(--gold); width:28px; height:28px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  pointer-events:none; box-shadow:0 2px 6px rgba(0,0,0,0.08);
}

.product-info{padding:16px}
.product-title{font-size:15px;margin:0 0 6px;font-weight:600}
.product-meta{font-size:12px;color:var(--muted)}
.product-price{font-weight:700;color:var(--gold-text);font-size:16px;margin-top:10px}
.old-price{
  color:var(--muted);
  font-size:13px;
  text-decoration:line-through;
  margin-inline-end:8px;
  font-weight:400;
}

/* Luxury Product Badge */
.product-badge{
  display:inline-block;
  background:#f8f3e8;
  color:#8c6d34;
  border:1px solid rgba(140,109,52,0.22);
  padding:2px 8px;
  font-size:11px;
  font-weight:700;
  border-radius:4px;
  margin-bottom:6px;
  width:fit-content;
  letter-spacing:0.2px;
}

/* Prestige Size Picker Trigger */
.size-wrapper{
  margin-top:10px;
  width:100%;
}
.size-picker{
  width:100%;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 12px;
  border:1.5px solid #dcd1be;
  background:linear-gradient(180deg, #fffefa 0%, #faf5ec 100%);
  color:#6b5332;
  font:600 12.5px "Cairo",sans-serif;
  text-align:right;
  cursor:pointer;
  border-radius:6px;
  box-shadow:0 1px 3px rgba(140, 109, 52, 0.06);
  transition:all .2s ease;
  box-sizing:border-box;
}
.size-picker:hover,.size-picker:focus-visible{
  border-color:#8c6d34;
  background:#f9f3e6;
  color:#8c6d34;
  box-shadow:0 0 0 3px rgba(140, 109, 52, 0.12);
}
.size-picker.has-selection{
  background:#f5ecda;
  border-color:#8c6d34;
  color:#73541f;
  font-weight:700;
}
.size-chevron{
  font-size:12px;
  color:#8c6d34;
  margin-inline-start:6px;
}

/* Royal Gold & Cream Add Button */
.add-button{
  margin-top:8px;
  width:100%;
  height:40px;
  border:1px solid #7d5e24;
  background:linear-gradient(135deg, #a27f3d 0%, #876426 100%);
  color:#ffffff;
  font-size:13px;
  font-weight:700;
  letter-spacing:0.3px;
  cursor:pointer;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  box-shadow:0 3px 10px rgba(135, 100, 38, 0.22);
  transition:all .22s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing:border-box;
}
.add-button:hover{
  background:linear-gradient(135deg, #b28e49 0%, #95702e 100%);
  color:#ffffff;
  box-shadow:0 5px 15px rgba(135, 100, 38, 0.35);
  transform:translateY(-1px);
}
.add-button:active{
  transform:translateY(0);
  box-shadow:0 2px 6px rgba(135, 100, 38, 0.2);
}
.add-button.added{
  background:linear-gradient(135deg, #3d7d54 0%, #2a613d 100%) !important;
  border-color:#2a613d !important;
  color:#ffffff !important;
  box-shadow:0 4px 12px rgba(42, 97, 61, 0.25) !important;
}
.add-button:disabled{
  background:#eee9df !important;
  border-color:#ded7ca !important;
  color:#aba294 !important;
  box-shadow:none !important;
  cursor:not-allowed !important;
  transform:none !important;
}
.size-error{margin-top:8px;color:#9a5b49;font-size:11px;line-height:1.5}
.empty-state{text-align:center;color:var(--muted);padding:45px;font-size:14px}
.sheet-status{
  max-width:760px;
  margin:12px auto 24px;
  padding:14px 18px;
  border:1px solid #dfd4c1;
  background:#fffdf9;
  color:#765f36;
  text-align:center;
  font-size:13px;
  line-height:1.8;
  border-radius:6px;
}
.image-error{padding:18px;color:#9a5b49;text-align:center;font-size:12px;line-height:1.8}
.load-more{display:flex;margin:30px auto 0;min-width:180px}
.load-more[hidden]{display:none}

/* About & Footer */
.about{text-align:center;background:#e9e6dc;padding-top:58px;padding-bottom:60px}
.about-star{color:var(--gold);font-size:24px}
.about .eyebrow{margin-top:10px}
.about h2{font-size:29px;line-height:1.6;margin:0}
.about>p:last-child{font-size:13px;color:var(--muted)}
footer{
  padding:27px 8vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:#2e2a25;
  color:#f6f1e7;
}
footer p{font-size:12px;color:#c9c0b2}
footer small{color:#a99d8c;font-size:10px}
.footer-brand{color:#f6f1e7;text-decoration:none;font:600 17px "Playfair Display",serif}
.footer-brand span{color:var(--gold-light)}

/* Modals & Overlay */
.overlay{
  position:fixed;
  inset:0;
  background:#211c1680;
  z-index:10;
  opacity:0;
  visibility:hidden;
  transition:.25s;
  overscroll-behavior:contain;
}
.overlay.show{opacity:1;visibility:visible}
.close-button{
  border:0;
  background:none;
  font-size:27px;
  line-height:1;
  color:#8a8176;
  cursor:pointer;
  padding:4px 8px;
}
.modal-sub{font-size:12px;color:var(--muted);margin:5px 0 19px}

.age-modal{
  position:fixed;
  z-index:12;
  top:50%;
  left:50%;
  width:min(430px,calc(100% - 32px));
  background:var(--paper);
  padding:34px;
  border-radius:12px;
  transform:translate(-50%,-45%);
  opacity:0;
  visibility:hidden;
  transition:.25s;
  text-align:center;
  overscroll-behavior:contain;
}
.age-modal.show{opacity:1;visibility:visible;transform:translate(-50%,-50%)}
.age-modal>.close-button{position:absolute;left:17px;top:14px}
.age-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.age-option{
  border:1px solid var(--line);
  background:white;
  padding:12px 6px;
  font-size:13px;
  cursor:pointer;
  border-radius:4px;
}
.age-option:hover,.age-option.selected{border-color:var(--gold);background:#f6f0e5;color:#8c6d34}
.all-ages{
  margin-top:16px;
  border:0;
  background:none;
  color:var(--gold);
  text-decoration:underline;
  text-underline-offset:4px;
  cursor:pointer;
  font-size:13px;
}

/* Size Modal */
.size-modal{
  position:fixed;
  z-index:13;
  top:50%;
  left:50%;
  width:min(440px,calc(100% - 32px));
  max-height:min(82vh,680px);
  overflow:auto;
  overscroll-behavior:contain;
  padding:34px 28px 26px;
  background:var(--paper);
  border:1px solid #e8dec9;
  border-radius:12px;
  box-shadow:0 22px 70px #211c1640;
  text-align:center;
  transform:translate(-50%,-45%);
  opacity:0;
  visibility:hidden;
  transition:opacity .22s,transform .22s,visibility .22s;
}
.size-modal.show{opacity:1;visibility:visible;transform:translate(-50%,-50%)}
.size-modal .size-close{position:absolute;top:12px;left:16px}
.size-modal h2{margin:0;font-size:25px;font-weight:600}
.size-product-name{
  margin:12px auto 18px;
  padding:8px 16px;
  width:fit-content;
  max-width:100%;
  background:#f4efe5;
  color:#6e5c3e;
  font-size:13px;
  font-weight:600;
  border-radius:4px;
}
.size-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.size-choice{
  min-height:50px;
  padding:8px 5px;
  border:1px solid #e9e2d6;
  border-radius:6px;
  background:#fff;
  color:#3b342c;
  font:600 13px "Cairo",sans-serif;
  cursor:pointer;
  transition:background .18s,border-color .18s,color .18s;
}
.size-choice:hover,.size-choice:focus-visible{border-color:var(--gold);background:#f8f2e7;color:#8c6d34;outline:none}
.size-modal-note{display:block;margin-top:19px;color:var(--muted);font-size:11px}

/* Lightbox */
.image-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:#181512ed;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s,visibility .2s;
  overscroll-behavior:contain;
}
.image-lightbox.show{opacity:1;visibility:visible}
.image-lightbox img{
  display:block;
  max-width:100%;
  max-height:54vh;
  width:auto;
  height:auto;
  object-fit:contain;
}
.lightbox-close{
  position:absolute;
  top:18px;
  right:24px;
  border:1px solid #ffffff55;
  border-radius:50%;
  width:42px;
  height:42px;
  background:#fff;
  color:#332b20;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}

/* Cart Drawer */
.cart-drawer{
  position:fixed;
  z-index:15;
  top:0;
  bottom:0;
  left:0;
  width:min(420px,100%);
  background:var(--paper);
  padding:25px;
  transform:translateX(-102%);
  transition:transform .28s ease-out;
  display:flex;
  flex-direction:column;
  box-shadow:10px 0 40px rgba(0,0,0,.15);
  overscroll-behavior:contain;
}
.cart-drawer.show{transform:translateX(0)}
.drawer-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:15px}
.drawer-heading h2{font-size:22px}
.cart-items{overflow-y:auto;flex:1;padding-right:4px}
.cart-empty{text-align:center;color:var(--muted);font-size:14px;padding:55px 10px;line-height:1.7}
.cart-line{display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}
.cart-line-name{font-size:14px;font-weight:600}
.cart-line-meta{font-size:12px;color:var(--muted);margin-top:4px}
.cart-line-price{font-size:14px;font-weight:700;color:var(--gold-text)}

/* Enlarged Quantity Controls for Touch Comfort */
.quantity{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
}
.quantity button:not(.remove-item){
  width:34px;
  height:34px;
  border:1px solid var(--line);
  border-radius:4px;
  background:white;
  color:var(--ink);
  font-size:16px;
  font-weight:bold;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:background .15s,border-color .15s;
}
.quantity button:hover{background:#f7f3ec;border-color:var(--gold)}
.quantity span{min-width:24px;text-align:center;font-weight:700;font-size:14px}
.remove-item{
  border:0;
  background:none;
  color:#9a8173;
  font-size:12px;
  cursor:pointer;
  margin-right:12px;
  padding:4px 6px;
}
.remove-item:hover{color:#b94a48}

.cart-bottom{border-top:1px solid var(--line);padding-top:16px}
.total-line{display:flex;justify-content:space-between;margin-bottom:10px;font-size:15px;font-weight:600}
.total-line strong{color:var(--gold-text);font-size:17px}
.cart-msg{
  background:#fdf2f2;
  color:#9a3434;
  border:1px solid #f5c6cb;
  padding:9px 12px;
  border-radius:4px;
  font-size:12px;
  margin:0 0 12px;
  text-align:center;
}
.cart-msg[hidden]{display:none}
.checkout{width:100%;font-size:14px;height:44px}
.cart-bottom>small{display:block;text-align:center;color:var(--muted);font-size:11px;margin-top:9px}

/* Floating Cart Button */
.floating-cart{
  position:fixed;
  left:18px;
  bottom:max(18px,env(safe-area-inset-bottom));
  z-index:9;
  width:58px;
  height:58px;
  padding:0;
  border:0;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--gold);
  color:#fff;
  box-shadow:0 5px 18px #2d292540;
  font-size:23px;
  cursor:pointer;
  transition:transform .2s,background .2s;
}
.floating-cart:hover{background:#987333;transform:scale(1.05)}
.floating-cart span{
  position:absolute;
  top:-4px;
  right:-4px;
  min-width:22px;
  height:22px;
  padding:0 5px;
  display:grid;
  place-items:center;
  border:2px solid var(--paper);
  border-radius:50%;
  background:#2d2925;
  color:#fff;
  font:700 11px "Cairo",sans-serif;
}

/* Mobile Responsive */
@media(max-width:768px){
  .topbar{height:72px;padding:0 5vw}
  .topbar nav{display:none}
  .hero{padding:45px 6vw 25px;grid-template-columns:1fr;min-height:auto}
  .hero h1{font-size:36px}
  .hero h1 em{font-size:39px}
  .hero .button{
    padding:9px 22px;
    font-size:13px;
    border-radius:24px;
    gap:8px;
    box-shadow:0 4px 14px rgba(176,138,67,0.25);
    font-weight:600;
  }
  .hero-art{height:250px;margin-top:15px;position:relative}
  .hero-orb{width:220px;height:220px;top:0;left:50%;transform:translateX(-50%)}
  .hero-emblem{width:78%;height:78%}
  .hero-stamp{bottom:10px;right:8%;width:72px;height:72px;font-size:11px}
  .hero-note{top:16px;left:5%}

  .trust-strip{
    gap:8px 16px;
    padding:8px 4vw;
    font-size:11px;
    flex-wrap:wrap;
    justify-content:center;
  }
  .trust-sep{display:none}

  .section{padding:50px 6vw}
  .section-heading{align-items:start;gap:10px}
  .section-heading h2{font-size:23px}
  .section-heading>p{max-width:140px;line-height:1.6}

  .category-grid{gap:10px}
  .category-card{height:150px;padding:14px}
  .category-card strong{font-size:19px}
  .category-kicker{font-size:9px}
  .category-arrow{bottom:13px;left:14px}
  .category-card:after{width:110px;height:110px}

  .products-section{padding-top:25px}
  .products-toolbar{flex-direction:column;align-items:stretch;gap:12px}
  .toolbar-controls{width:100%;justify-content:stretch;gap:8px}
  .sort-box{flex:1}
  .sort-select{width:100%}
  .search-box{max-width:100%;min-width:100%}
  .category-tabs{overflow-x:auto;padding-bottom:4px;flex-wrap:nowrap;overscroll-behavior-x:contain}
  .cat-tab{white-space:nowrap;padding:7px 15px;font-size:12px}

  .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .product-info{padding:12px}
  .product-title{font-size:13px}
  .product-price{font-size:14px}

  .size-modal{
    top:auto;
    bottom:0;
    left:0;
    width:100%;
    max-height:78vh;
    max-height:min(78dvh,620px);
    padding:30px 20px 24px;
    padding:30px 20px calc(24px + env(safe-area-inset-bottom));
    border:0;
    border-top:2px solid var(--gold-light);
    border-radius:18px 18px 0 0;
    transform:translateY(105%);
    box-shadow:0 -12px 45px #211c1630;
  }
  .size-modal.show{transform:translateY(0)}
  .size-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .size-choice{min-height:46px;font-size:12px}
  .size-picker{min-width:110px;padding:7px 10px}

  .about h2{font-size:24px}
  footer{padding:24px 6vw;flex-wrap:wrap;gap:12px}
  footer p{order:3;width:100%;margin:0}
  .footer-brand{font-size:15px}
}

/* Stable image frame on browsers without aspect-ratio support. */
@supports not (aspect-ratio:4/5){
  .product-image{height:0;padding-top:125%;display:block}
  .product-image img{position:absolute;inset:0}
  .image-placeholder{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}
}

@media(max-width:390px){
  .category-card{height:130px}
  .category-card strong{font-size:17px}
  .brand-name{font-size:17px}
}


.cart-thumb {
  width: 44px; height: 44px; border-radius: 6px; object-fit: cover;
  background: #f7f3ec; margin-left: 10px;
}
.cart-line > div:first-child { display: flex; align-items: center; }


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}


/* =========================================================================
   Royal Video Entrance Screen (Shahrazad Intro Portal - Cinematic Edition)
   ========================================================================= */
html.intro-active,
html.intro-active body {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none;
}

html.intro-seen .royal-intro-overlay {
  display: none !important;
}

.royal-intro-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  background: #060402;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.1s;
  visibility: visible;
}

.royal-intro-overlay.fade-out {
  opacity: 0;
  transform: scale(1.06);
  visibility: hidden;
  pointer-events: none;
}

.royal-intro-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0c0805;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Intro Video: Full edge-to-edge native cover on all screens */
.royal-intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

@media (min-width: 768px) {
  .royal-intro-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 767px) {
  .royal-intro-video {
    object-position: center 25%;
  }
}

.royal-intro-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    transparent 45%,
    rgba(14, 10, 6, 0.2) 75%,
    rgba(14, 10, 6, 0.65) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.royal-intro-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 12px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Compact, delicate luxury pill button */
.royal-intro-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto !important;
  max-width: fit-content !important;
  padding: 8px 24px !important;
  border-radius: 999px;
  border: 1.2px solid rgba(255, 248, 220, 0.9);
  background: linear-gradient(135deg, #dfbc4b 0%, #fff4c6 40%, #d4af37 70%, #9e6f1a 100%);
  color: #241708;
  font-family: "Cairo", sans-serif;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.royal-intro-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.65), 0 3px 10px rgba(0, 0, 0, 0.45);
}

.royal-intro-btn:active {
  transform: translateY(1px) scale(0.97);
}

.royal-intro-btn-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 100%
  );
  transform: translateX(-150%);
  animation: introBtnShimmer 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes introBtnShimmer {
  0% { transform: translateX(-150%); }
  50%, 100% { transform: translateX(150%); }
}

.royal-intro-btn-text {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

@media (max-width: 540px) {
  .royal-intro-content {
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .royal-intro-btn {
    font-size: 12px !important;
    padding: 7px 18px !important;
    border-width: 1px;
  }
}