:root{
  --ivory:#F7F1E6;
  --ivory-deep:#EFE4CE;
  --mudbrown:#2E2013;
  --clay:#B5502F;
  --indigo:#26344A;
  --ochre:#C4922B;

  /* Theme-adaptive tokens: page canvas + primary text. Everything else
     (footer, buttons, badges) stays a fixed dark-brown/ivory pairing on
     purpose, since those already read fine against either canvas. */
  --ink-rgb: 46,32,19;
  --bg: var(--ivory);
  --bg-alt: var(--ivory-deep);
  --surface: var(--ivory);
  --ink: var(--mudbrown);
  --line: rgba(var(--ink-rgb), 0.14);
}

@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#17110B; --bg-alt:#1F1811; --surface:#241C14;
    --ink:#F7F1E6; --ink-rgb:247,241,230;
  }
}
:root[data-theme="dark"]{
  --bg:#17110B; --bg-alt:#1F1811; --surface:#241C14;
  --ink:#F7F1E6; --ink-rgb:247,241,230;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
html{ overflow-x:hidden; width:100%; }
body{
  background:var(--bg);
  color:var(--ink);
  font-family:'Jost', sans-serif;
  font-weight:400;
  line-height:1.6;
  overflow-x:hidden;
  width:100%;
  transition:background .3s ease, color .3s ease;
}
h1,h2,h3,.display{ font-family:'Fraunces', serif; font-weight:500; letter-spacing:-0.005em; }
em{ font-style:italic; color:var(--clay); }
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1280px; margin:0 auto; padding:0 40px;}
[data-lang="en"] .fr{display:none;} [data-lang="fr"] .en{display:none;}

.ph{
  background: center/cover no-repeat url('https://i.pinimg.com/originals/6b/24/04/6b240495bb7410719cc339548518b6df.jpg');
  position:relative; display:flex; align-items:center; justify-content:center;
  color:transparent; font-size:11px; letter-spacing:0.08em; text-transform:uppercase;
  overflow:hidden;
}


header{ padding:26px 0; border-bottom:1px solid var(--line); background:var(--bg); position:sticky; top:0; z-index:50; transition:background .3s ease; }
.header-inner{ display:flex; align-items:center; justify-content:space-between; }
.logo{ font-size:26px; letter-spacing:0.03em; display:flex; align-items:center; }
.logo .dot{ color:var(--clay); }
.logo-img{ width:260px; height:auto; display:block; border-radius:2px; }
nav ul{ list-style:none; display:flex; gap:34px; }
nav a{ font-size:13px; letter-spacing:0.05em; text-transform:uppercase; position:relative; padding-bottom:4px; }
nav a::after{ content:""; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--clay); transition:width .25s; }
nav a:hover::after{ width:100%; }
nav a.active::after{ width:100%; }
.header-icons{ display:flex; gap:20px; font-size:16px; align-items:center; }
/* DAY/NIGHT TOGGLE */
.theme-toggle{ background:none; border:none; padding:0; cursor:pointer; -webkit-tap-highlight-color:transparent; line-height:0; }
.theme-toggle-track{ position:relative; display:block; width:52px; height:28px; border-radius:20px;
  background:linear-gradient(135deg,#FDEEDC,#CFE0F0); box-shadow:inset 0 0 0 1px var(--line);
  transition:background .45s ease, transform .15s ease; overflow:hidden; }
:root[data-theme="dark"] .theme-toggle-track{ background:linear-gradient(135deg,var(--indigo),#0E141F); }
.theme-toggle:active .theme-toggle-track{ transform:scale(0.94); }
.theme-toggle-stars{ position:absolute; inset:0; opacity:0; transition:opacity .45s ease; }
:root[data-theme="dark"] .theme-toggle-stars{ opacity:1; }
.theme-toggle-stars i{ position:absolute; width:2px; height:2px; background:#F7F1E6; border-radius:50%; }
.theme-toggle-stars i:nth-child(1){ top:6px; left:9px; }
.theme-toggle-stars i:nth-child(2){ top:17px; left:15px; }
.theme-toggle-stars i:nth-child(3){ top:9px; left:21px; }
.theme-toggle-knob{ position:absolute; top:3px; left:3px; width:22px; height:22px; border-radius:50%;
  background:#FFD98A; box-shadow:0 1px 3px rgba(0,0,0,.3); color:#4a2e08;
  transition:transform .45s cubic-bezier(.34,1.56,.64,1), background .45s ease, color .45s ease, box-shadow .45s ease; }
:root[data-theme="dark"] .theme-toggle-knob{ transform:translateX(24px); background:#D9E2F1; color:#3a4a63;
  box-shadow:0 0 10px 2px rgba(217,226,241,0.4), 0 1px 3px rgba(0,0,0,.4); }
.theme-toggle-knob .icon{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  transition:opacity .3s ease, transform .45s ease; }
.theme-toggle-knob .icon svg{ width:13px; height:13px; }
.theme-toggle-knob .icon-sun{ opacity:1; transform:rotate(0deg) scale(1); }
.theme-toggle-knob .icon-moon{ opacity:0; transform:rotate(-90deg) scale(.5); }
:root[data-theme="dark"] .theme-toggle-knob .icon-sun{ opacity:0; transform:rotate(90deg) scale(.5); }
:root[data-theme="dark"] .theme-toggle-knob .icon-moon{ opacity:1; transform:rotate(0deg) scale(1); }
.icon-btn{ position:relative; background:none; border:none; padding:0; cursor:pointer; color:var(--ink);
  display:flex; align-items:center; justify-content:center; width:18px; height:18px;
  transition:color .2s ease, transform .15s ease; }
.icon-btn::before{ content:""; position:absolute; inset:-9px; border-radius:50%;
  background:rgba(var(--ink-rgb),0.08); opacity:0; transform:scale(0.7);
  transition:opacity .2s ease, transform .2s ease; }
.icon-btn svg{ width:18px; height:18px; position:relative; }
.icon-btn:hover{ color:var(--clay); }
.icon-btn:hover::before{ opacity:1; transform:scale(1); }
.icon-btn:active{ transform:scale(0.9); }

.cart-link{ position:relative; }
.cart-badge{ display:none; align-items:center; justify-content:center; position:absolute; top:-8px; right:-10px;
  min-width:16px; height:16px; padding:0 3px; border-radius:50%; background:var(--clay); color:var(--ivory);
  font-size:10px; font-weight:600; line-height:1; }

/* HERO + STORY (merged, swipeable/draggable slider — no auto-advance) */
.hero-story{ position:relative; min-height:80vh; overflow:hidden; touch-action:pan-y; cursor:grab; user-select:none; }
.hero-story:active{ cursor:grabbing; }
.hero-story-slide{ position:absolute; inset:0; background-size:cover; background-position:center 20%;
  display:flex; align-items:center; transform:translateX(100%);
  transition:transform .5s cubic-bezier(.22,.61,.36,1); z-index:0; }
.hero-story-slide.active{ transform:translateX(0); z-index:2; }
.hero-story-scrim{ position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(8,5,3,0.92) 0%, rgba(8,5,3,0.8) 40%, rgba(8,5,3,0.45) 65%, rgba(8,5,3,0.15) 90%); }
.hero-story-content{ position:relative; z-index:1; max-width:540px; text-shadow:0 2px 14px rgba(0,0,0,0.55); }
.hero-eyebrow, .story-label{ font-size:12px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--clay); font-weight:600; margin-bottom:18px; display:inline-block; }
.hero-story-content h1{ font-size:clamp(32px,4.2vw,52px); line-height:1.14; color:var(--ivory); }
.hero-story-content h2{ font-size:clamp(28px,3.4vw,38px); line-height:1.18; color:var(--ivory); }
.hero-story-content p{ margin-top:20px; font-size:15px; color:rgba(247,241,230,0.92); max-width:460px; }
.hero-cta{ margin-top:32px; display:inline-block; background:var(--mudbrown); color:var(--ivory);
  padding:16px 34px; font-size:13px; letter-spacing:0.06em; text-transform:uppercase; border-radius:2px; }
.hero-cta:hover{ background:var(--clay); }
.story-cta{ margin-top:28px; display:inline-block; border:1px solid var(--ivory); color:var(--ivory);
  padding:14px 30px; font-size:12px; letter-spacing:0.06em; text-transform:uppercase; }
.story-cta:hover{ background:var(--ivory); color:var(--mudbrown); }

.hero-story-dots{ position:absolute; left:50%; bottom:30px; transform:translateX(-50%);
  display:flex; gap:10px; z-index:3; }
.hero-story-dot{ width:8px; height:8px; border-radius:50%; background:rgba(247,241,230,0.4);
  border:none; cursor:pointer; padding:0; transition:background .25s ease, transform .25s ease; }
.hero-story-dot.active{ background:var(--ivory); transform:scale(1.35); }

.hero-story-arrow{ position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:44px; height:44px; border-radius:50%; border:1px solid rgba(247,241,230,0.5);
  background:rgba(8,5,3,0.3); color:var(--ivory); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, border-color .2s ease, transform .2s ease; }
.hero-story-arrow svg{ width:18px; height:18px; }
.hero-story-arrow:hover{ background:rgba(8,5,3,0.55); border-color:var(--ivory); }
.hero-story-arrow:active{ transform:translateY(-50%) scale(0.9); }
.hero-story-arrow-prev{ left:24px; }
.hero-story-arrow-next{ right:24px; }

@media (max-width:700px){
  .hero-story-arrow{ display:none; } /* swipe is the primary gesture on mobile */
}

@media (max-width:700px){
  .hero-story-scrim{ background:linear-gradient(180deg, rgba(8,5,3,0.4) 0%, rgba(8,5,3,0.75) 45%, rgba(8,5,3,0.92) 100%); }
}

/* COLLECTIONS */
.section{ padding:90px 0; }
.section-head{ text-align:center; margin-bottom:50px; }
.section-head .story-label{ justify-content:center; display:flex; }
.section-head h2{ font-size:36px; }

.collections{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.col-card{ display:block; }
.col-img{ position:relative; overflow:hidden; border-radius:8px; border:3px solid var(--line);
  transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.col-card:hover .col-img{ border-color:var(--clay); box-shadow:0 14px 28px rgba(0,0,0,0.14); transform:translateY(-3px); }
.col-img .ph{ aspect-ratio:3/4; }
/* Label lives below the photo (like product cards) so it never fights the
   image for legibility, whatever the photo looks like. */
.col-label{ display:block; text-align:center; padding-top:14px; color:var(--ink);
  font-size:13px; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; white-space:nowrap; }
.col-unavailable-badge{ position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  background:var(--clay); color:var(--ivory); padding:9px 20px; border-radius:20px;
  font-size:12px; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; white-space:nowrap; z-index:2; }
.voir-boutique{ text-align:center; margin-top:26px; margin-bottom:26px; }

/* SHOP FILTERS */
.shop-filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-bottom:44px; }
.filter-pill{ background:none; border:1px solid var(--line); color:var(--ink); padding:9px 22px; border-radius:20px;
  font-family:'Jost'; font-size:12px; letter-spacing:0.05em; text-transform:uppercase; cursor:pointer;
  transition:background .2s, color .2s, border-color .2s; }
.filter-pill:hover{ border-color:var(--ink); }
.filter-pill.active{ background:var(--ink); color:var(--bg); border-color:var(--ink); }
.btn-outline{ display:inline-block; border:1px solid var(--ink); padding:15px 34px;
  font-size:12px; letter-spacing:0.07em; text-transform:uppercase; }
.btn-outline:hover{ background:var(--mudbrown); color:var(--ivory); }

/* VALEURS */
.valeurs{ background:var(--bg-alt); color:var(--ink); padding:90px 0; }
.valeurs-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:30px; text-align:center; }
.valeur-icon{ width:56px; height:56px; margin:0 auto 18px; border:1px solid var(--line);
  border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:22px; color:var(--clay); }
.valeur h3{ font-size:15px; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:10px; color:var(--ink); }
.valeur p{ font-size:13px; color:rgba(var(--ink-rgb),0.7); }

/* PRODUCTS */
.products-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; }
.product-card{ display:block; }
.product-card .img-wrap{ position:relative; aspect-ratio:3/4; overflow:hidden; border-radius:2px; }
.product-card .img-wrap img{ width:100%; height:100%; object-fit:cover; transition:opacity .35s; }
.product-card .img-wrap img.hover-img{ position:absolute; inset:0; opacity:0; }
.product-card:hover .img-wrap img.hover-img{ opacity:1; }
.product-card:hover .img-wrap img.base-img{ opacity:0; }
.product-info{ padding-top:14px; }
.product-info h4{ font-family:'Fraunces'; font-style:italic; font-size:16px; margin-bottom:6px; }
.product-info .price{ font-size:14px; color:var(--clay); font-weight:600; }
.product-info .stock{ font-size:11px; color:rgba(var(--ink-rgb),0.5); margin-top:4px; }
.product-badge{ position:absolute; top:12px; left:12px; z-index:2; background:var(--clay); color:var(--ivory);
  font-size:10px; letter-spacing:0.06em; text-transform:uppercase; padding:5px 10px; border-radius:2px; }

/* PRODUCT DETAIL */
.product-detail{ display:grid; grid-template-columns:1fr 1fr; gap:60px; padding:70px 0; }
.detail-gallery{ display:flex; flex-direction:column; gap:14px; }
.detail-main-img{ position:relative; aspect-ratio:3/4; overflow:hidden; border-radius:2px; }
.detail-main-img img{ width:100%; height:100%; object-fit:cover; }
.detail-thumbs{ display:flex; gap:10px; }
.detail-thumb{ width:70px; height:90px; object-fit:cover; border-radius:2px; cursor:pointer;
  opacity:0.55; transition:opacity .2s, outline .2s; outline:2px solid transparent; }
.detail-thumb:hover{ opacity:0.85; }
.detail-thumb.active{ opacity:1; outline-color:var(--clay); }
.detail-info{ padding-top:6px; }
.detail-info h1{ font-size:32px; line-height:1.15; margin:8px 0 14px; }
.detail-price{ font-size:20px; color:var(--clay); font-weight:600; margin-bottom:18px; }
.detail-desc{ color:rgba(var(--ink-rgb),0.8); margin-bottom:14px; max-width:460px; }
.detail-info .stock{ font-size:12px; color:rgba(var(--ink-rgb),0.5); margin-bottom:26px; }
/* Out-of-stock reads as a warning, not just muted status text. */
.stock.out-of-stock{ color:var(--clay); font-weight:700; letter-spacing:0.04em; text-transform:uppercase; }
.stock.out-of-stock::before{ content:""; display:inline-block; width:6px; height:6px; border-radius:50%;
  background:var(--clay); margin-right:6px; vertical-align:middle; }
.size-picker-label{ font-size:13px; letter-spacing:0.05em; text-transform:uppercase; display:block; margin-bottom:10px; }
.size-picker{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.size-pill{ min-width:42px; padding:9px 14px; text-align:center; border:1px solid var(--line); border-radius:4px;
  font-size:12px; letter-spacing:0.04em; text-transform:uppercase; cursor:pointer; color:var(--ink); background:none;
  transition:background .2s ease, color .2s ease, border-color .2s ease; }
.size-pill:hover{ border-color:var(--ink); }
.size-pill.active{ background:var(--ink); color:var(--bg); border-color:var(--ink); }

.detail-qty{ display:flex; align-items:center; gap:12px; margin-bottom:24px; }
.detail-qty label{ font-size:13px; letter-spacing:0.05em; text-transform:uppercase; }
.detail-qty input{ width:70px; border:1px solid var(--line); border-radius:2px; padding:10px 12px;
  font-family:'Jost'; font-size:16px; color:var(--ink); background:var(--surface); }
.detail-actions{ display:flex; flex-direction:column; gap:12px; max-width:340px; }
.whatsapp-btn, .cart-btn{ display:flex; align-items:center; justify-content:center; gap:9px; padding:16px 20px;
  font-size:13px; letter-spacing:0.06em; text-transform:uppercase; border-radius:2px; cursor:pointer;
  transition:background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease; }
.whatsapp-btn svg, .cart-btn svg{ width:16px; height:16px; flex-shrink:0; }
.whatsapp-btn{ background:#25D366; color:#0b3d1f; border:none; font-weight:600; }
.whatsapp-btn:hover{ background:#1fb958; transform:translateY(-1px); box-shadow:0 6px 16px rgba(37,211,102,0.35); }
.whatsapp-btn:active, .cart-btn:active{ transform:scale(0.97); }
.whatsapp-btn.disabled, .cart-btn:disabled{ opacity:0.4; cursor:not-allowed; pointer-events:none; }
.detail-qty input:disabled{ opacity:0.5; cursor:not-allowed; }
.cart-btn{ background:none; border:1px solid var(--ink); color:var(--ink); }
.cart-btn:hover{ background:var(--mudbrown); color:var(--ivory); transform:translateY(-1px); box-shadow:0 6px 16px rgba(0,0,0,0.15); }
.cart-note{ font-size:12px; color:rgba(var(--ink-rgb),0.6); text-align:center; }

/* INSTAGRAM */
.instagram{ background:var(--bg-alt); padding:80px 50px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.instagram h2{ font-size:26px; margin-bottom:8px; text-align:center; }
.instagram .handle{ text-align:center; color:var(--clay); font-size:13px; margin-bottom:30px; }
.social-row{ display:flex; gap:22px; }
.social-item{ display:flex; flex-direction:column; align-items:center; gap:8px; }
.social-icon{ width:54px; height:54px; border:1px solid var(--line); border-radius:50%; color:var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, border-color .2s, transform .2s, color .2s; }
.social-icon svg{ width:20px; height:20px; fill:currentColor; }
.social-icon:hover{ background:var(--mudbrown); border-color:var(--mudbrown); color:var(--ivory); transform:translateY(-2px); }
.social-label{ font-size:11px; letter-spacing:0.04em; text-transform:uppercase; color:rgba(var(--ink-rgb),0.6); }

/* AVIS (reviews) */
.review-star-picker{ display:flex; gap:6px; }
.review-star{ background:none; border:none; cursor:pointer; font-size:28px; line-height:1;
  color:rgba(var(--ink-rgb),0.25); transition:color .15s ease, transform .1s ease; padding:0; }
.review-star:hover{ transform:scale(1.15); }
.review-star.filled{ color:var(--ochre); }

.reviews-list{ display:flex; flex-direction:column; gap:16px; max-width:720px; margin:0 auto; }
.review-card{ background:var(--surface); border:1px solid var(--line); border-radius:4px; padding:20px; }
.review-card .stars{ color:var(--ochre); font-size:13px; margin-bottom:10px; }
.review-card p{ font-size:13px; color:rgba(var(--ink-rgb),0.8); margin-bottom:12px; }
.review-name{ font-size:12px; font-weight:600; display:flex; align-items:center; gap:8px; }
.review-name .avatar{ width:26px; height:26px; border-radius:50%; background:var(--clay); color:var(--ivory);
  display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; }

/* CONTACT */
.contact-section{ padding:90px 0; }
.contact-form{ max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:18px; }
.contact-form .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.contact-form input, .contact-form textarea{
  width:100%; border:1px solid var(--line); border-radius:2px; padding:14px 16px;
  font-family:'Jost'; font-size:16px; color:var(--ink); background:var(--surface);
}
.contact-form input::placeholder, .contact-form textarea::placeholder{ color:rgba(var(--ink-rgb),0.45); }
.contact-form input:focus, .contact-form textarea:focus{ outline:none; border-color:var(--clay); }
.contact-form textarea{ resize:vertical; min-height:180px; }
.contact-submit{ align-self:flex-start; background:var(--mudbrown); color:var(--ivory); border:none;
  padding:16px 40px; font-size:13px; letter-spacing:0.06em; text-transform:uppercase; cursor:pointer; border-radius:2px; }
.contact-submit:hover{ background:var(--clay); }
.contact-note{ text-align:center; font-size:13px; color:rgba(var(--ink-rgb),0.55); margin-top:18px; }

/* ADMIN */
.admin-title{ font-size:12px; letter-spacing:0.08em; text-transform:uppercase; color:rgba(var(--ink-rgb),0.5); }
.admin-section{ padding:70px 0; max-width:720px; margin:0 auto; }
.admin-dashboard-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.admin-dashboard-head h2{ font-size:28px; }
.admin-hint{ font-size:13px; color:rgba(var(--ink-rgb),0.6); margin-bottom:24px; }
.admin-row{ display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:14px 10px; margin:0 -10px; border-bottom:1px solid var(--line); border-radius:4px;
  transition:background .2s ease; }
.admin-row:hover{ background:rgba(var(--ink-rgb),0.035); }
.admin-row-info{ display:flex; align-items:center; gap:14px; }
.admin-row-info img{ width:50px; height:65px; object-fit:cover; border-radius:2px; }
.admin-row-info span{ font-family:'Fraunces'; font-style:italic; font-size:16px; }
.admin-switch{ position:relative; display:inline-block; width:46px; height:26px; flex-shrink:0; }
.admin-switch input{ opacity:0; width:0; height:0; }
.admin-switch .slider{ position:absolute; inset:0; cursor:pointer; background:rgba(var(--ink-rgb),0.25);
  transition:.2s; border-radius:26px; }
.admin-switch .slider::before{ content:""; position:absolute; height:20px; width:20px; left:3px; bottom:3px;
  background:var(--ivory); transition:.2s; border-radius:50%; }
.admin-switch input:checked + .slider{ background:var(--clay); }
.admin-switch input:checked + .slider::before{ transform:translateX(20px); }

.admin-tabs{ display:flex; gap:8px; }
.admin-tab{ background:none; border:1px solid var(--line); padding:9px 20px; border-radius:20px;
  font-family:'Jost'; font-size:12px; letter-spacing:0.06em; text-transform:uppercase; cursor:pointer;
  color:rgba(var(--ink-rgb),0.6); transition:background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease; }
.admin-tab:hover{ border-color:var(--ink); }
.admin-tab.active{ background:var(--ink); color:var(--bg); border-color:var(--ink); }
.admin-tab:active{ transform:scale(0.95); }
.admin-panel-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:12px; }

.admin-row-actions{ display:flex; gap:10px; align-items:center; flex-shrink:0; }
.admin-row-meta{ font-size:12px; color:rgba(var(--ink-rgb),0.5); margin-top:2px; }

/* Shared admin button system: one base + primary/ghost/danger/text variants,
   used for every admin control (tabs use their own pill style above). */
.admin-btn{ display:inline-flex; align-items:center; gap:7px; border-radius:4px; cursor:pointer;
  font-family:'Jost'; font-weight:500; letter-spacing:0.03em; white-space:nowrap;
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease; }
.admin-btn svg{ width:14px; height:14px; flex-shrink:0; }
.admin-btn:active{ transform:scale(0.96); }

.admin-btn-primary{ background:var(--ink); color:var(--bg); border:1px solid var(--ink); padding:12px 22px; font-size:13px; }
.admin-btn-primary:hover{ background:var(--clay); border-color:var(--clay); transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(181,80,47,0.28); }

.admin-btn-ghost{ background:none; color:var(--ink); border:1px solid var(--line); padding:8px 16px; font-size:12px; }
.admin-btn-ghost:hover{ border-color:var(--ink); background:rgba(var(--ink-rgb),0.05); transform:translateY(-1px); }

.admin-btn-danger{ background:none; color:var(--clay); border:1px solid var(--clay); padding:8px 16px; font-size:12px; }
.admin-btn-danger:hover{ background:var(--clay); color:var(--ivory); transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(181,80,47,0.25); }

.admin-btn-text{ background:none; color:rgba(var(--ink-rgb),0.65); border:none; padding:6px 4px; font-size:12px; }
.admin-btn-text:hover{ color:var(--ink); }

.admin-btn-sm{ padding:7px 13px; font-size:11.5px; }

.admin-instock-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.admin-sizes-field{ display:flex; flex-direction:column; gap:10px; }
.admin-sizes-list{ display:flex; flex-wrap:wrap; gap:14px; }
.admin-size-check{ display:flex; align-items:center; gap:6px; font-size:13px; cursor:pointer; }
.admin-images-field{ display:flex; flex-direction:column; gap:12px; }
.admin-images-label{ font-size:12px; letter-spacing:0.06em; text-transform:uppercase; color:rgba(var(--ink-rgb),0.6); }
.admin-images-list{ display:flex; flex-wrap:wrap; gap:10px; }
.admin-image-thumb{ position:relative; width:70px; height:90px; border-radius:2px; overflow:hidden; }
.admin-image-thumb img{ width:100%; height:100%; object-fit:cover; }
.admin-image-thumb button{ position:absolute; top:3px; right:3px; width:20px; height:20px; border-radius:50%;
  background:rgba(46,32,19,0.75); color:var(--ivory); border:none; font-size:11px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:background .15s ease, transform .15s ease; }
.admin-image-thumb button:hover{ background:var(--clay); transform:scale(1.12); }
.admin-image-thumb button svg{ width:10px; height:10px; }
.admin-upload-btn{ align-self:flex-start; cursor:pointer; }
select#product-category{ width:100%; border:1px solid var(--line); border-radius:2px; padding:14px 16px;
  font-family:'Jost'; font-size:16px; color:var(--ink); background:var(--surface); }

.admin-modal-overlay{ position:fixed; inset:0; background:rgba(46,32,19,0.55); display:flex;
  align-items:center; justify-content:center; padding:24px; z-index:100; }
.admin-modal{ background:var(--surface); border-radius:4px; padding:36px; max-width:600px; width:100%;
  max-height:88vh; overflow-y:auto; }
.admin-modal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
.admin-modal-close{ background:none; border:none; width:32px; height:32px; border-radius:50%; cursor:pointer;
  color:var(--ink); display:flex; align-items:center; justify-content:center; transition:background .2s ease; flex-shrink:0; }
.admin-modal-close svg{ width:16px; height:16px; }
.admin-modal-close:hover{ background:rgba(var(--ink-rgb),0.08); }
.admin-modal-actions{ display:flex; justify-content:flex-end; gap:12px; margin-top:2px; }

/* CART */
.cart-empty-state{ text-align:center; }
.cart-empty{ color:rgba(var(--ink-rgb),0.6); }
.cart-empty-icon{ display:block; width:52px; height:52px; margin:0 auto 18px; color:rgba(var(--ink-rgb),0.3); }
.cart-empty-icon svg{ width:100%; height:100%; }

.cart-items{ display:flex; flex-direction:column; gap:18px; max-width:760px; margin:0 auto; }
.cart-item{ position:relative; display:flex; align-items:center; gap:18px; border:1px solid var(--line);
  border-radius:4px; padding:16px; transition:box-shadow .25s ease, border-color .25s ease; }
.cart-item:hover{ box-shadow:0 10px 24px rgba(0,0,0,0.07); border-color:transparent; }
.cart-item img{ width:70px; height:90px; object-fit:cover; border-radius:2px; flex-shrink:0; }
.cart-item-info{ flex:1; padding-right:28px; }
.cart-item-info h4{ font-family:'Fraunces'; font-style:italic; font-size:16px; margin-bottom:4px; }
.cart-item-info .cart-item-size{ font-size:12px; color:rgba(var(--ink-rgb),0.6); margin-bottom:4px; }
.cart-item-info .price{ font-size:13px; color:var(--clay); font-weight:600; margin-bottom:10px; }
.cart-item-qty{ display:flex; align-items:center; gap:12px; }
.qty-btn{ width:28px; height:28px; border:1px solid var(--line); background:none; border-radius:50%;
  cursor:pointer; color:var(--ink); display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease; }
.qty-btn svg{ width:11px; height:11px; }
.qty-btn:hover{ background:var(--ink); color:var(--bg); border-color:var(--ink); transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,0.15); }
.qty-btn:active{ transform:scale(0.9); }
.qty-value{ min-width:16px; text-align:center; font-size:14px; }
.cart-remove{ position:absolute; top:12px; right:12px; width:26px; height:26px; border-radius:50%;
  background:none; border:none; cursor:pointer; color:rgba(var(--ink-rgb),0.4);
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, color .2s ease, transform .15s ease; }
.cart-remove svg{ width:13px; height:13px; }
.cart-remove:hover{ background:rgba(181,80,47,0.12); color:var(--clay); transform:scale(1.1); }

.cart-summary{ max-width:760px; margin:34px auto 0; background:var(--surface); border:1px solid var(--line);
  border-radius:6px; padding:26px 28px; display:flex; flex-direction:column; align-items:flex-end; gap:16px; }
.cart-total{ font-size:18px; font-weight:600; }
.cart-summary .whatsapp-btn{ width:100%; max-width:280px; }

/* ACCOUNT */
.account-section{ padding:80px 0; max-width:920px; margin:0 auto; }
.account-tab.active{ background:var(--ink); color:var(--bg); border-color:var(--ink); }
.icon-btn.active{ color:var(--clay); }

.account-grid{ display:grid; grid-template-columns:1fr 1.2fr; gap:50px; align-items:start; }
.account-block h3{ font-size:20px; margin-bottom:18px; }

.order-card{ border:1px solid var(--line); border-radius:6px; padding:16px 18px; margin-bottom:14px; }
.order-card-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:10px;
  padding-bottom:10px; border-bottom:1px solid var(--line); }
.order-date{ font-size:12px; color:rgba(var(--ink-rgb),0.55); text-transform:capitalize; }
.order-total{ font-weight:600; color:var(--clay); }
.order-items{ display:flex; flex-direction:column; gap:6px; }
.order-line{ display:flex; align-items:center; justify-content:space-between; font-size:13px;
  color:rgba(var(--ink-rgb),0.75); }

@media (max-width:1000px){
  .account-grid{ grid-template-columns:1fr; }
}

/* SEARCH */
.search-overlay{ position:fixed; inset:0; background:rgba(var(--ink-rgb),0.55);
  display:flex; align-items:flex-start; justify-content:center; padding:90px 24px 24px; z-index:200; }
.search-modal{ background:var(--surface); border-radius:8px; width:100%; max-width:560px;
  max-height:74vh; display:flex; flex-direction:column; overflow:hidden;
  box-shadow:0 24px 60px rgba(0,0,0,0.32); animation:search-pop .18s ease; }
@keyframes search-pop{ from{ opacity:0; transform:translateY(-10px) scale(0.97); } to{ opacity:1; transform:none; } }
.search-input-wrap{ display:flex; align-items:center; gap:12px; padding:18px 20px; border-bottom:1px solid var(--line); flex-shrink:0; }
.search-input-wrap .search-icon{ width:18px; height:18px; color:rgba(var(--ink-rgb),0.45); flex-shrink:0; }
#search-input{ flex:1; min-width:0; border:none; background:none; outline:none;
  font-family:'Jost'; font-size:16px; color:var(--ink); }
#search-input::placeholder{ color:rgba(var(--ink-rgb),0.4); }
.search-close{ background:none; border:none; width:28px; height:28px; border-radius:50%; cursor:pointer;
  color:var(--ink); display:flex; align-items:center; justify-content:center; transition:background .2s ease; flex-shrink:0; }
.search-close svg{ width:14px; height:14px; }
.search-close:hover{ background:rgba(var(--ink-rgb),0.08); }

.search-results{ overflow-y:auto; padding:8px; }
.search-hint, .search-empty{ padding:34px 20px; text-align:center; font-size:13px; color:rgba(var(--ink-rgb),0.5); }
.search-result-item{ display:flex; align-items:center; gap:14px; padding:10px; border-radius:6px;
  transition:background .15s ease; }
.search-result-item:hover{ background:rgba(var(--ink-rgb),0.05); }
.search-result-item img{ width:44px; height:56px; object-fit:cover; border-radius:2px; flex-shrink:0; }
.search-result-info{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.search-result-name{ font-family:'Fraunces'; font-style:italic; font-size:15px; color:var(--ink);
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.search-result-meta{ font-size:12px; color:var(--clay); font-weight:600; }

/* FOOTER */
footer{ background:var(--mudbrown); color:var(--ivory); padding:70px 0 0; position:relative; overflow:hidden; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:50px; }
.footer-brand .logo{ color:var(--ivory); margin-bottom:16px; }
.footer-brand .logo-img{ width:220px; }
.footer-brand p{ font-size:13px; color:rgba(247,241,230,0.65); max-width:260px; }
footer h5{ font-size:12px; letter-spacing:0.08em; text-transform:uppercase; margin-bottom:18px; color:var(--ochre); }
footer ul{ list-style:none; }
footer li{ margin-bottom:10px; font-size:13px; color:rgba(247,241,230,0.75); }
.newsletter-form{ display:flex; margin-top:14px; border:1px solid rgba(247,241,230,0.3); border-radius:24px; overflow:hidden; }
.newsletter-form input{ flex:1; background:none; border:none; padding:12px 18px; color:var(--ivory); font-family:'Jost'; font-size:16px; }
.newsletter-form input::placeholder{ color:rgba(247,241,230,0.5); }
.newsletter-form button{ background:var(--clay); color:var(--ivory); border:none; padding:0 20px; cursor:pointer; font-size:13px; }
.footer-bottom{ border-top:1px solid rgba(247,241,230,0.15); padding:20px 0; text-align:center;
  font-size:12px; color:rgba(247,241,230,0.5); }
.footer-pattern{ position:absolute; right:-40px; bottom:-40px; width:220px; height:220px; opacity:0.08; }

@media (max-width:1000px){
  .collections{ grid-template-columns:repeat(2,1fr); }
  .valeurs-grid{ grid-template-columns:repeat(2,1fr); }
  .products-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; padding:0 40px 40px; }
  .contact-form .form-row{ grid-template-columns:1fr; }
  .product-detail{ grid-template-columns:1fr; padding:50px 40px; gap:30px; }
}

.menu-toggle{ display:none; background:none; border:none; font-size:20px; line-height:1; cursor:pointer; color:var(--ink); padding:0; }

@media (max-width:700px){
  .wrap{ padding:0 20px; }
  .menu-toggle{ display:block; }
  nav{ display:none; width:100%; order:3; }
  nav.open{ display:block; }
  nav ul{ flex-direction:column; gap:0; width:100%; }
  nav li{ border-top:1px solid var(--line); }
  nav a{ display:block; padding:16px 2px; }
  .header-inner{ flex-wrap:wrap; row-gap:14px; }
  .logo-img{ width:200px; }
  .collections{ grid-template-columns:1fr 1fr; }
  .valeurs-grid{ grid-template-columns:1fr; }
  .search-overlay{ padding:40px 16px 16px; }
  #collections{ padding-top:55px; }
  .section-head{ margin-bottom:30px; }
  .section-head .story-label{ margin-bottom:6px; }
  .section-head h2{ font-size:28px; } /* fits headings like "Produits populaires" on one line */
  #best-sellers-section{ padding-top:25px; }
  .valeurs{ padding:55px 0; }
  .instagram{ padding:40px 20px 65px; }
  footer{ padding-top:45px; }
}
