:root{
  /* Sage & cream artisanal palette */
  --rose-deep: #8A9A86;      /* sage green — accents, CTAs */
  --rose-darker: #6E7F67;    /* deeper sage — header/footer, hover */
  --white: #FFFFFF;
  --cream: #FBF9F5;          /* warm off-white page background */
  --blush: #F3EEE5;          /* soft pastel beige — card media / alt sections */
  --ink: #33302B;            /* warm charcoal text */
  --blush-gold: #E4D6C3;
  --rose-accent: #A9B7A2;    /* lighter sage accent */
  --line: rgba(51,48,43,0.14);
  --badge-bg: #4A4238;
  --price-strong: #5C6B54;   /* deep sage for prices */
  --star-color: #D9A15C;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
html, body{ max-width:100%; overflow-x:hidden; }
/* Fundo em elemento fixo separado — background-attachment:fixed direto no
   body não renderiza no Chrome quando html/body têm overflow-x:hidden,
   então usamos um ::before fixo cobrindo a viewport, atrás de tudo. */
body::before{
  content:'';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(18,26,17,0.5), rgba(18,26,17,0.6)),
    url('img/bg-flowers.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: saturate(0.8) contrast(1.05);
}
body{
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-top: 92px;
}
a{color:inherit; text-decoration:none;}
img,svg{display:block; max-width:100%;}

.display{ font-family:'Fraunces', serif; }
.mono{ font-family:'IBM Plex Mono', monospace; letter-spacing:0.02em; }

/* ---------- Layout shell ---------- */
.wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }

/* ---------- Announcement bar ---------- */
.announce{
  background: var(--rose-darker);
  color: var(--blush);
  font-family:'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align:center;
  padding: 8px 12px;
  text-transform: uppercase;
}

/* ---------- Header (floating pill navbar) ---------- */
header.site{
  position: fixed; top:14px; left:0; right:0; z-index: 60;
  width: calc(100% - 32px);
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(51,48,43,0.10);
}
header.site .brand-name{ color: var(--ink); }
header.site .brand-sub{ color: var(--rose-deep); opacity:0.85; }
header.site .brand-mark{ background: var(--white); border:2px solid rgba(255,255,255,0.8); }
@media (min-width: 901px){
  header.site nav.primary{
    background: rgba(255,255,255,0.35);
    border-radius: 999px;
    padding: 6px;
    gap: 2px;
  }
  header.site nav.primary a{ color: var(--ink); opacity:0.75; padding: 8px 18px; border-radius: 999px; }
  header.site nav.primary a::after{ display:none; }
  header.site nav.primary a:hover{ opacity:1; }
  header.site nav.primary a.active{ color: var(--white); opacity:1; background: var(--rose-deep); font-weight:600; }
}
header.site .icon-btn, header.site .mobile-menu-btn{
  color: var(--ink);
  background: rgba(255,255,255,0.4);
  border-radius:50%;
  width:38px; height:38px;
  padding:0;
}
header.site .icon-btn{ width:auto; padding:0 14px; border-radius:999px; }
header.site .cart-count{ background: var(--rose-deep); color: var(--white); }
.header-row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 8px 10px 8px 20px;
  gap: 24px;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brand-mark{ width:36px; height:36px; flex-shrink:0; border-radius:50%; object-fit:cover; }
.brand-name{ font-size:19px; font-weight:600; letter-spacing:0.01em; }
.brand-sub{ font-family:'IBM Plex Mono',monospace; font-size:9px; letter-spacing:0.14em; text-transform:uppercase; color:var(--rose-deep); opacity:0.75; display:block; margin-top:-2px;}

nav.primary{
  display:flex; gap:22px; align-items:center; flex-wrap:wrap;
}
nav.primary a{
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: background 0.2s ease, color 0.2s ease;
}
nav.primary a::after{
  content:''; position:absolute; left:0; bottom:0; height:1px; width:0%;
  background: var(--rose-accent);
  transition: width 0.25s ease;
}
nav.primary a:hover::after{ width:100%; }
nav.primary a.active{ color: var(--rose-darker); font-weight:600; }
nav.primary a.active::after{ width:100%; }

.header-actions{ display:flex; align-items:center; gap:10px; }

.mobile-menu-btn{
  display:none; background:none; border:none; cursor:pointer;
  align-items:center; justify-content:center; color:var(--ink);
}
.icon-btn{
  background:none; border:none; cursor:pointer;
  display:flex; align-items:center; gap:6px;
  font-family:'IBM Plex Mono',monospace; font-size:12px;
  color: var(--ink);
}
.cart-count{
  background: var(--rose-accent); color:#fff;
  font-size:10px; font-weight:600; min-width:16px; height:16px;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  padding:0 3px;
}
@media (max-width: 640px){
  .header-row{ padding: 6px 8px 6px 14px; }
  body{ padding-top: 82px; }
}

/* ---------- Hero (home page) ---------- */
.hero{
  position:relative;
  background: var(--rose-deep);
  color: var(--white);
  overflow:hidden;
  padding: 90px 0 70px;
}
.hero .wrap{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap:50px; align-items:center; }
.hero-eyebrow{
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.16em;
  text-transform:uppercase; color: var(--blush-gold); margin-bottom:18px; display:block;
}
.hero h1{
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.04;
  font-weight: 500;
}
.hero h1 em{ font-style:italic; color: var(--blush-gold); font-weight: 500; }
.hero p.lede{
  margin-top: 22px; max-width: 440px; font-size: 16px; line-height:1.6; color: rgba(255,255,255,0.82);
}
.hero-ctas{ margin-top:32px; display:flex; gap:14px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 13px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 600; cursor:pointer; border:1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active{ transform: scale(0.97); }
.btn-solid{ background: var(--blush-gold); color: var(--rose-darker); }
.btn-solid:hover{ background:#D6ADA6; }
.btn-outline{ border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline:hover{ border-color: var(--white); }
.btn-dark{ background: var(--rose-deep); color:var(--white); }
.btn-dark:hover{ background: var(--rose-darker); }

.hero-art{ position:relative; }
.specimen-tag{
  position:absolute; top:-16px; left:-16px;
  background: var(--white); color: var(--rose-deep);
  font-family:'IBM Plex Mono',monospace; font-size:10px;
  padding: 6px 10px; border-radius:4px; letter-spacing:0.06em;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* ---------- Category banner (category pages) ---------- */
.cat-banner{
  background: var(--rose-deep);
  color: var(--white);
  padding: 56px 0 48px;
}
.breadcrumb{
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.06em;
  color: rgba(255,255,255,0.75); margin-bottom:16px; display:block;
}
.breadcrumb a{ color: var(--blush-gold); }
.breadcrumb a:hover{ text-decoration:underline; }
.cat-banner h1{ font-size: clamp(30px,4vw,42px); font-weight:500; }
.cat-banner p{ margin-top:12px; max-width:480px; font-size:15px; line-height:1.6; color: rgba(255,255,255,0.85); }

/* ---------- Section headings ---------- */
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom: 34px; gap:20px; flex-wrap:wrap;
}
.section-head .num{
  font-family:'IBM Plex Mono',monospace; font-size:12px; color: var(--rose-accent);
  letter-spacing:0.1em; display:block; margin-bottom:8px;
}
.section-head h2{ font-size: 30px; font-weight:500; }
.section-head p{ font-size:14px; color: rgba(46,31,38,0.6); max-width:360px; }

section{ padding: 78px 0; }
section.alt{ background: transparent; }
section.tight{ padding: 54px 0 78px; }

/* ---------- Category strip (home) ---------- */
.cat-strip{
  display:grid; grid-template-columns: repeat(6,1fr); gap:14px;
}
.cat-card{
  border:1px solid var(--line); border-radius:14px; padding:20px 14px;
  text-align:center; background: var(--white);
  cursor:pointer; transition: border-color 0.2s ease, transform 0.2s ease;
  display:block;
}
.cat-card:hover{ border-color: var(--rose-deep); transform: translateY(-3px); }
.cat-card svg{ width:34px; height:34px; margin:0 auto 10px; }
.cat-card span{ font-size:12px; font-weight:600; }

/* ---------- Category tabs (real links between pages) ---------- */
.tabs{
  display:flex; gap:8px; flex-wrap:wrap;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.tab-btn{
  font-family:'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  display:inline-block;
}
.tab-btn:hover{ border-color: var(--rose-deep); }
.tab-btn.active{
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: #fff;
}
.empty-cat{
  grid-column: 1 / -1;
  text-align:center;
  padding: 50px 10px;
  color: rgba(46,31,38,0.5);
  font-size: 14px;
}

/* ---------- Product grid ---------- */
.grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.card{
  background: var(--white);
  border:1px solid var(--line);
  border-radius: 16px;
  overflow:hidden;
  display:flex; flex-direction:column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover{ box-shadow: 0 14px 30px rgba(169,120,115,0.18); transform: translateY(-4px); }
.card-media{
  aspect-ratio: 4/4.4; background: var(--blush);
  position:relative; overflow:hidden;
}
.card-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.card-watermark{
  position:absolute; bottom:10px; right:10px; width:34px; height:34px;
  border-radius:50%; object-fit:cover; opacity:0.85;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25); pointer-events:none;
}
.fav-btn{
  position:absolute; top:12px; right:12px; z-index:2;
  width:38px; height:38px; border-radius:50%; border:none;
  background: var(--white); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.15s ease;
}
.fav-btn:hover{ transform: scale(1.08); }
.card-body{ padding: 18px 18px 20px; display:flex; flex-direction:column; gap:12px; flex:1; }
.card-body h3{
  font-size:14.5px; font-weight:600; line-height:1.35; letter-spacing:0.02em;
  color: var(--ink); text-transform:uppercase; font-family:'Fraunces', serif;
}
.price-now{ font-size:21px; font-weight:700; color: var(--price-strong); font-family:'Work Sans', sans-serif; }
.buy-btn{
  width:100%; margin-top:auto; border:none; border-radius:10px;
  background: var(--rose-deep); color:#fff; font-weight:600; font-size:13px;
  letter-spacing:0.03em;
  padding:14px 16px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:9px;
  transition: background 0.15s ease;
}
.buy-btn:hover{ background: var(--rose-darker); }

.grid-cta{ text-align:center; margin-top:40px; }

/* ---------- Flower catalog cards ---------- */
.flowers-section{ padding: 44px 0 10px; }
.flowers-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap:22px; margin-top:28px;
}
.flower-card{
  display:flex; align-items:center; gap:24px;
  background: var(--white); border:1px solid var(--line); border-radius:22px;
  padding:22px; transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.flower-card:hover{ box-shadow: 0 14px 30px rgba(169,120,115,0.16); transform: translateY(-3px); }
.flower-photo{
  width:132px; height:132px; border-radius:50%; overflow:hidden; flex-shrink:0;
  border: 5px solid var(--blush); box-shadow: 0 0 0 2px var(--rose-deep);
}
.flower-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.flower-info{ flex:1; min-width:0; }
.flower-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:8px; }
.flower-head h3{ font-size:26px; color: var(--ink); line-height:1.1; }
.flower-alt{ display:block; font-size:13px; font-weight:400; font-style:italic; color: rgba(46,31,38,0.55); margin-top:2px; }
.flower-price{ text-align:right; font-weight:700; font-size:18px; color: var(--rose-darker); white-space:nowrap; }
.flower-price span{ display:block; font-size:11px; font-weight:400; color: rgba(46,31,38,0.5); }
.flower-info p{ font-size:14px; line-height:1.55; color: rgba(46,31,38,0.75); margin-bottom:10px; }
.flower-size{ font-size:12px; color: rgba(46,31,38,0.55); text-align:right; }

@media (max-width: 760px){
  .flowers-grid{ grid-template-columns: 1fr; }
  .flower-card{ flex-direction:column; text-align:center; }
  .flower-head{ flex-direction:column; align-items:center; }
  .flower-price{ text-align:center; }
  .flower-size{ text-align:center; }
}

/* ---------- Product detail page ---------- */
.produto-wrap{ max-width:1180px; margin:0 auto; padding: 44px 28px 90px; }
.produto-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; align-items:start; }
.produto-main-img{
  position:relative; border-radius:18px; overflow:hidden; background: var(--blush);
  aspect-ratio: 4/4.2;
}
.produto-main-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.produto-view-btn{
  position:absolute; top:14px; right:14px; width:40px; height:40px; border-radius:50%;
  background: rgba(255,255,255,0.92); border:none; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.16); cursor:pointer;
}
.lightbox-overlay{
  position:fixed; inset:0; background:rgba(20,12,15,0.92); z-index:200;
  display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition: opacity 0.2s ease; padding:40px;
}
.lightbox-overlay.show{ opacity:1; pointer-events:auto; }
.lightbox-img{ max-width:min(900px,90vw); max-height:88vh; object-fit:contain; border-radius:10px; box-shadow:0 20px 60px rgba(0,0,0,0.5); }
.lightbox-close{
  position:absolute; top:22px; right:26px; width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,0.12); border:none; color:#fff; font-size:18px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition: background 0.15s ease;
}
.lightbox-close:hover{ background:rgba(255,255,255,0.22); }

.produto-thumbs{ display:flex; gap:12px; margin-top:14px; flex-wrap:wrap; }
.produto-thumb{
  width:68px; height:68px; border-radius:12px; overflow:hidden;
  border:2px solid transparent; cursor:pointer; flex-shrink:0;
  opacity:0.7; transition: border-color 0.15s ease, opacity 0.15s ease;
}
.produto-thumb.active{ border-color: var(--rose-deep); opacity:1; }
.produto-thumb:hover{ opacity:1; }
.produto-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }

.produto-info h1{
  font-size:23px; font-weight:800; text-transform:uppercase; letter-spacing:0.01em;
  font-family:'Work Sans', sans-serif; margin-bottom:8px; line-height:1.3;
}
.produto-code{ color: rgba(46,31,38,0.55); font-size:14px; margin-bottom:22px; }
.produto-desc-box{ border:1px solid var(--line); border-radius:14px; padding:18px 20px; margin-bottom:22px; }
.produto-desc-box .label{ font-weight:700; display:block; margin-bottom:6px; }
.produto-desc-extra{ margin-top:10px; font-size:14px; color: rgba(46,31,38,0.75); line-height:1.5; display:none; }
.produto-desc-extra.show{ display:block; }
.produto-desc-link{ color: var(--rose-darker); font-weight:600; font-size:14px; cursor:pointer; display:inline-block; margin-top:6px; }
.produto-price{ font-size:32px; font-weight:800; margin-bottom:22px; }
.produto-warning{
  background: var(--blush); border-radius:14px; padding:16px 20px; font-size:13px;
  color: rgba(46,31,38,0.8); line-height:1.55; margin-bottom:26px;
}
.produto-actions{ display:flex; align-items:center; gap:14px; margin-bottom:24px; flex-wrap:wrap; }
.qty-selector{ display:flex; align-items:center; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
.qty-selector button{ width:40px; height:44px; background: var(--white); border:none; font-size:18px; cursor:pointer; color: var(--ink); }
.qty-selector button:hover{ background: var(--blush); }
.qty-selector input{
  width:48px; height:44px; text-align:center; border:none;
  border-left:1px solid var(--line); border-right:1px solid var(--line); font-size:15px;
}
.btn-addcart{
  background:#1E9E4C; color:#fff; border:none; border-radius:10px; padding:0 22px; height:44px;
  font-weight:700; font-size:14px; display:flex; align-items:center; gap:9px; cursor:pointer;
}
.btn-addcart:hover{ background:#17803D; }
.btn-buynow{
  background: var(--rose-darker); color:#fff; border:none; border-radius:10px; padding:0 22px; height:44px;
  font-weight:700; font-size:14px; cursor:pointer;
}
.btn-buynow:hover{ background:#8B5A56; }
.produto-share{ display:flex; align-items:center; gap:10px; margin-bottom:28px; flex-wrap:wrap; }
.produto-share .lbl{ font-size:14px; color: rgba(46,31,38,0.7); margin-right:2px; }
.share-btn{
  width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#fff; border:none; cursor:pointer;
}
.produto-medidas h4{ font-size:15px; margin-bottom:16px; font-family:'Work Sans', sans-serif; }
.medidas-row{ display:flex; gap:44px; }
.medida-item{ text-align:center; }
.medida-item .lbl{ font-size:12px; color: rgba(46,31,38,0.55); margin-bottom:6px; text-transform:uppercase; letter-spacing:0.04em; }
.medida-item .val{ font-size:13px; color: var(--ink); margin-top:4px; }

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

/* ---------- Homepage curated deal carousels ---------- */
.deal-section{ padding: 38px 0; border-top: 1px solid var(--line); }
.deal-section:first-child{ border-top:none; }
.deal-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--ink);
}
.deal-title{
  font-family:'IBM Plex Mono',monospace; font-size:13px; letter-spacing:0.08em;
  text-transform:uppercase; color: var(--rose-darker); font-weight:600;
}
.deal-nav{ display:flex; gap:8px; }
.nav-arrow{
  width:32px; height:32px; border-radius:50%; border:1px solid var(--line);
  background: var(--white); cursor:pointer; display:flex; align-items:center; justify-content:center;
  color: var(--ink); font-size:16px; line-height:1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.nav-arrow:hover{ background: var(--rose-deep); color:#fff; border-color: var(--rose-deep); }
.deal-scroll{
  display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory;
  padding-bottom:6px; scrollbar-width:none; -ms-overflow-style:none;
}
.deal-scroll::-webkit-scrollbar{ display:none; }
.deal-scroll .card{ flex: 0 0 240px; scroll-snap-align:start; }

/* ---------- Story / signature section ---------- */
.story{
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap:60px; align-items:center;
}
.story-art{
  background: var(--rose-deep); border-radius: 20px; padding: 34px;
  color: var(--white); position:relative;
}
.story-art .index{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--blush-gold); }
.story h2{ font-size: 32px; font-weight:500; margin: 14px 0 18px; }
.story p{ font-size:15px; line-height:1.7; color: rgba(46,31,38,0.72); margin-bottom:14px; max-width: 480px;}
.field-notes{ margin-top:22px; display:flex; gap:26px; flex-wrap:wrap; }
.field-notes div{ font-family:'IBM Plex Mono',monospace; }
.field-notes .n{ font-size:26px; color: var(--rose-accent); font-weight:500; }
.field-notes .l{ font-size:11px; color:rgba(46,31,38,0.55); text-transform:uppercase; letter-spacing:0.06em; }

/* ---------- Newsletter ---------- */
.news{
  background: var(--rose-darker); color: var(--white);
  border-radius: 22px; padding: 54px 46px;
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
}
.news h3{ font-size:26px; font-weight:500; max-width:360px; }
.news p{ font-size:13px; color: rgba(255,255,255,0.65); margin-top:8px; }
.news-form{ display:flex; gap:10px; flex-wrap:wrap; }
.news-form input{
  background: rgba(255,255,255,0.12); border:1px solid rgba(255,255,255,0.35);
  color: var(--white); padding: 13px 16px; border-radius:999px; font-size:14px; min-width:240px;
}
.news-form input::placeholder{ color: rgba(255,255,255,0.6); }

/* ---------- Footer ---------- */
footer{ background: var(--rose-darker); color: rgba(255,255,255,0.75); padding: 60px 0 30px; margin-top:70px;}
.foot-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap:36px; padding-bottom: 40px; border-bottom:1px solid rgba(255,255,255,0.18); }
footer h4{ color: var(--white); font-size:13px; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:16px; font-weight:600;}
footer ul{ list-style:none; display:flex; flex-direction:column; gap:10px; }
footer ul a{ font-size:13px; color: rgba(255,255,255,0.7); }
footer ul a:hover{ color: var(--white); }
.foot-brand p{ font-size:13px; line-height:1.6; max-width:280px; margin-top:12px; color: rgba(255,255,255,0.6); }
.foot-bottom{ display:flex; justify-content:space-between; padding-top:24px; font-size:12px; color: rgba(255,255,255,0.5); flex-wrap:wrap; gap:10px; }

/* ---------- Checkout modal ---------- */
.empty-msg{ text-align:center; padding: 60px 10px; color: rgba(46,31,38,0.5); font-size:14px; }

.modal-overlay{
  position:fixed; inset:0; background: rgba(46,31,38,0.55);
  display:flex; align-items:center; justify-content:center; padding:20px;
  opacity:0; pointer-events:none; transition:opacity 0.25s ease; z-index:110;
}
.modal-overlay.show{ opacity:1; pointer-events:auto; }
.modal{
  position:relative;
  background: var(--white); border-radius:20px; width:520px; max-width:100%;
  max-height: 90vh; overflow-y:auto; padding: 34px 34px 30px;
}
.modal.modal-cart{ width:1180px; padding: 30px 34px 34px; }
.modal-close-btn{
  position:absolute; top:18px; right:18px; width:32px; height:32px; border-radius:50%;
  border:1px solid var(--line); background:#fff; cursor:pointer; font-size:15px; color: var(--ink);
  display:flex; align-items:center; justify-content:center; z-index:2;
}
.modal-close-btn:hover{ border-color: var(--rose-deep); color: var(--rose-deep); }
.modal h3{ font-size:22px; font-weight:600; margin-bottom: 6px; }
.modal .step-sub{ font-size:13px; color: rgba(46,31,38,0.55); margin-bottom:22px; }

/* Numbered step indicator (1 → 2) */
.checkout-stepper{ display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:28px; }
.step-circle{
  width:34px; height:34px; border-radius:50%; background: var(--line); color: rgba(46,31,38,0.45);
  display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700;
  font-family:'IBM Plex Mono',monospace; flex-shrink:0; transition: background .2s ease, color .2s ease;
}
.step-circle.active{ background: var(--rose-deep); color:#fff; }
.step-circle.done{ background: var(--rose-darker); color:#fff; }
.step-line{ width:64px; height:2px; background: var(--line); }
.step-line.done{ background: var(--rose-deep); }

/* Two-column cart/checkout layout */
.cart-layout{ display:grid; grid-template-columns: 1fr 360px; gap:30px; align-items:start; }
.cart-main{ display:flex; flex-direction:column; gap:20px; }
.cart-block{ border:1px solid var(--line); border-radius:16px; padding:20px 22px; }
.cart-block-title{ font-size:13px; font-weight:700; color: rgba(46,31,38,0.65); text-transform:uppercase; letter-spacing:0.04em; margin-bottom:14px; }

/* Delivery type toggle */
.delivery-type-row{ display:flex; gap:12px; }
.delivery-type-btn{
  flex:1; padding:13px 14px; border-radius:10px; border:1.5px solid var(--line); background:#fff;
  font-size:14px; font-weight:600; color: var(--ink); cursor:pointer; transition: all .15s ease;
}
.delivery-type-btn:hover{ border-color: var(--rose-deep); }
.delivery-type-btn.active{ background: var(--rose-deep); border-color: var(--rose-deep); color:#fff; }

/* Scheduling banner (green) */
.sched-banner{
  display:flex; align-items:center; gap:14px; background:#EEF7EE; border:1px solid #CFE8CF;
  border-radius:14px; padding:16px 18px; flex-wrap:wrap;
}
.sched-icon{
  width:38px; height:38px; border-radius:50%; background:#DBEEDB; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-size:16px;
}
.sched-label{ font-size:13px; font-weight:600; color:#2E4A2E; flex-shrink:0; min-width:170px; }
.sched-inputs{ display:flex; gap:10px; flex:1; min-width:220px; flex-wrap:wrap; }
.sched-inputs input, .sched-inputs select{
  flex:1; min-width:150px; padding:10px 12px; border-radius:9px; border:1px solid #CFE8CF;
  background:#fff; font-size:13.5px; font-family:'Work Sans',sans-serif; color: var(--ink);
}
.sched-inputs select:disabled{ color: rgba(46,31,38,0.4); background:#F3F3F3; }

/* Warning / notice boxes (yellow) */
.warn-banner{
  display:flex; gap:10px; align-items:flex-start; background:#FFF6DE; border:1px solid #F0DDA0;
  color:#8A6D1D; padding:14px 18px; border-radius:14px; font-size:13px; line-height:1.5;
}
.warn-banner .warn-icon{ font-size:15px; flex-shrink:0; margin-top:1px; }
.warn-banner.ok{ background:#EAF7EC; border-color:#C7E6CB; color:#2E6B3A; }

.pickup-note{ font-size:13px; line-height:1.6; color: rgba(46,31,38,0.7); }
.pickup-note strong{ color: var(--ink); }

/* Right-hand "Produtos" side panel */
.cart-side-panel{
  border:1px solid var(--line); border-radius:16px; padding:22px; position:sticky; top:20px;
}
.cart-side-panel h3{ font-size:16px; font-weight:700; margin-bottom:16px; }
.cart-prod-list{ display:flex; flex-direction:column; gap:12px; margin-bottom:18px; max-height:280px; overflow-y:auto; }
.cart-prod-card{ border:1px solid var(--line); border-radius:14px; padding:14px; }
.cart-prod-row{ display:grid; grid-template-columns:60px 1fr auto; gap:12px; align-items:start; }
.cart-prod-row .thumb{ width:60px; height:60px; border-radius:10px; background: var(--blush); overflow:hidden; flex-shrink:0; }
.cart-prod-row .thumb img{ width:100%; height:100%; object-fit:cover; }
.cart-prod-name{ font-size:12.5px; font-weight:700; line-height:1.35; margin-bottom:8px; }
.cart-prod-price{ text-align:right; font-family:'IBM Plex Mono',monospace; }
.cart-prod-price .tot{ font-size:13px; font-weight:700; }
.cart-prod-price .unit{ font-size:11px; color: rgba(46,31,38,0.5); margin-top:3px; }
.cart-prod-excl{
  font-size:11.5px; color:#B23A3A; cursor:pointer; margin-top:10px; display:inline-flex; align-items:center; gap:5px;
}
.cart-prod-excl:hover{ text-decoration:underline; }

.cart-totals-block{ border-top:1px solid var(--line); padding-top:14px; margin-top:4px; }
.cart-totals-block .r{ display:flex; justify-content:space-between; font-size:13.5px; padding:5px 0; color: rgba(46,31,38,0.7); }
.cart-totals-block .r.pay{ font-size:17px; font-weight:700; color:#1E9E4C; padding-top:10px; }
.cart-side-panel .btn{ width:100%; justify-content:center; margin-top:16px; }
.cart-side-panel .btn[disabled]{ opacity:0.5; pointer-events:none; }

@media (max-width: 980px){
  .cart-layout{ grid-template-columns:1fr; }
  .cart-side-panel{ position:static; }
}

.form-row{ margin-bottom:14px; }
.form-row label{ display:block; font-size:12px; font-weight:600; margin-bottom:6px; text-transform:uppercase; letter-spacing:0.04em; color: rgba(46,31,38,0.65); }
.form-row input, .form-row select{
  width:100%; padding: 12px 14px; border-radius:10px; border:1px solid var(--line);
  background:#fff; font-size:14px; font-family:'Work Sans',sans-serif;
}
.form-row input:focus, .form-row select:focus{ outline: 2px solid var(--rose-deep); outline-offset:1px; }
.form-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.modal-actions{ display:flex; gap:12px; margin-top:22px; }
.modal-actions .btn{ flex:1; justify-content:center; }
.demo-note{
  font-size: 11px; color: rgba(46,31,38,0.55); background: var(--blush);
  padding: 10px 12px; border-radius:8px; margin-top:16px; line-height:1.5;
}
.pay-method-toggle{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:18px; }
.pay-method-btn{
  display:flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 10px; border-radius:10px; border:1.5px solid var(--line);
  background:#fff; font-size:13px; font-weight:600; font-family:'Work Sans',sans-serif;
  color: rgba(46,31,38,0.65); cursor:pointer; transition: all .15s ease;
}
.pay-method-btn:hover{ border-color: var(--rose-deep); }
.pay-method-btn.active{ border-color: var(--rose-deep); background: var(--blush); color: var(--rose-darker); }
.pay-method-icon{ font-size:16px; }
.pix-box{ display:flex; gap:16px; align-items:center; background: var(--blush); border-radius:12px; padding:16px; margin-bottom:14px; }
.pix-qr{ width:96px; height:96px; flex-shrink:0; border-radius:6px; border:1px solid var(--line); }
.pix-info{ flex:1; min-width:0; }
.pix-label{ font-size:12px; font-weight:600; color: rgba(46,31,38,0.7); margin-bottom:6px; }
.pix-code{
  font-size:10px; font-family: monospace; color: rgba(46,31,38,0.55);
  background:#fff; border:1px solid var(--line); border-radius:6px; padding:6px 8px;
  word-break: break-all; margin-bottom:8px; max-height:44px; overflow:hidden;
}
.pix-copy-btn{ padding:8px 14px; font-size:12px; }
@media (max-width: 480px){
  .pay-method-toggle{ grid-template-columns:1fr; }
  .pix-box{ flex-direction:column; text-align:center; }
  .delivery-type-row{ flex-direction:column; }
  .modal.modal-cart{ padding: 62px 16px 22px; }
  .sched-label{ min-width:0; }
}
.confirm-icon{ width:60px; height:60px; margin: 6px auto 18px; }
.order-summary{ background: var(--blush); border-radius:12px; padding:14px 16px; margin: 18px 0; }
.order-summary .r{ display:flex; justify-content:space-between; font-size:13px; padding:4px 0; }

/* ---------- Toast ---------- */
.toast{
  position:fixed; bottom:26px; left:50%; transform: translateX(-50%) translateY(20px);
  background: var(--rose-darker); color: var(--white); padding: 13px 22px; border-radius: 999px;
  font-size:13px; z-index:120; opacity:0; pointer-events:none; transition: all 0.3s ease;
  display:flex; align-items:center; gap:8px;
}
.toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .mobile-menu-btn{ display:flex; }
  /* Busca e favoritos ficam redundantes no mobile (busca já existe no Catálogo,
     favoritos acessível via conta/?fav=1) e espremiam a logo até sumir — ver #searchBtn/#wishlistBtn em cart.js */
  #searchBtn, #wishlistBtn{ display:none; }
  nav.primary{
    display:none; flex-direction:column; align-items:flex-start; gap:2px;
    position:absolute; top:100%; left:0; right:0;
    background: var(--white); border-bottom:1px solid var(--line);
    padding:8px 28px 16px; box-shadow: 0 8px 16px rgba(46,31,38,0.08);
  }
  nav.primary.mobile-open{ display:flex; }
  nav.primary a{ padding:12px 0; width:100%; font-size:15px; }
  .header-row{ gap:10px; padding: 8px 10px 8px 16px; flex-wrap:nowrap; }
  .brand{ min-width:0; gap:8px; }
  .brand > span{ min-width:0; flex:1; }
  .brand-mark{ width:34px; height:34px; }
  .brand-name{ font-size:16px; display:inline-block; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .brand-sub{ font-size:9px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .header-actions{ gap:10px; flex-shrink:0; }
  .icon-btn, .mobile-menu-btn{ flex-shrink:0; }
  .hero .wrap{ grid-template-columns:1fr; }
  .hero-art{ order:-1; max-width:280px; margin:0 auto; }
  .cat-strip{ grid-template-columns: repeat(3,1fr); }
  .grid{ grid-template-columns: repeat(2,1fr); }
  .story{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns: 1fr 1fr; }
  .form-grid-2{ grid-template-columns:1fr; }
}
@media (max-width:520px){
  .grid{ grid-template-columns: 1fr; }
  .cat-strip{ grid-template-columns: repeat(2,1fr); }
  .news{ flex-direction:column; align-items:flex-start; padding: 34px 24px; }
  .foot-grid{ grid-template-columns: 1fr; gap:28px; }
  .modal{ padding: 24px 20px 22px; }
  .produto-actions{ flex-direction:column; align-items:stretch; }
  .produto-actions .qty-selector{ justify-content:center; }
  .btn-addcart, .btn-buynow{ width:100%; justify-content:center; }
  .medidas-row{ gap:28px; }
  .header-actions{ gap:6px; }
  .brand-name{ font-size:15px; }
  .brand-sub{ display:none; }
}
@media (max-width:400px){
  .wrap, .produto-wrap{ padding-left:16px; padding-right:16px; }
  .brand-mark{ width:30px; height:30px; }
  .header-actions{ gap:4px; }
}

/* ---------- Favorite button (active state) ---------- */
.fav-btn.active svg{ fill:#C9433D; stroke:#C9433D; }

/* ---------- Card rating row ---------- */
.card-rating{ display:flex; align-items:center; gap:6px; font-size:12px; color: rgba(46,31,38,0.65); margin-top:-4px; }
.card-rating .stars-icons{ color: var(--star-color); letter-spacing:1px; font-size:13px; }
.card-rating-empty{ color: rgba(46,31,38,0.4); }
.card-rating-empty .stars-icons{ opacity:0.35; }

/* ---------- Search + filter bar ---------- */
.filter-bar{
  display:flex; gap:12px; flex-wrap:wrap; align-items:center;
  margin-bottom: 30px; padding-bottom: 20px; border-bottom:1px solid var(--line);
}
.filter-search{
  display:flex; align-items:center; gap:8px; flex:1; min-width:220px;
  border:1px solid var(--line); border-radius:999px; padding:10px 16px; color: rgba(46,31,38,0.5);
}
.filter-search input{ border:none; outline:none; font-size:14px; font-family:'Work Sans',sans-serif; flex:1; color: var(--ink); background:none; }
.filter-bar select{
  border:1px solid var(--line); border-radius:999px; padding:10px 14px; font-size:13px;
  font-family:'Work Sans',sans-serif; background: var(--white); color: var(--ink); cursor:pointer;
}
.filter-bar select:focus, .filter-search:focus-within{ outline:2px solid var(--rose-deep); outline-offset:1px; }
@media (max-width:600px){ .filter-bar{ flex-direction:column; align-items:stretch; } }

/* ---------- Coupon + checkbox rows in checkout ---------- */
.coupon-row{ display:flex; gap:10px; }
.coupon-row input{ flex:1; }
.coupon-msg{ font-size:12px; color: rgba(46,31,38,0.55); margin-top:6px; }
.check-row{ display:flex; align-items:center; gap:8px; font-size:13px; color: rgba(46,31,38,0.7); margin-bottom:16px; }
.check-row input{ width:auto; }
.form-row textarea{
  width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--line);
  background:#fff; font-size:14px; font-family:'Work Sans',sans-serif; resize:vertical;
}
.form-row textarea:focus{ outline:2px solid var(--rose-deep); outline-offset:1px; }

/* ---------- WhatsApp floating button ---------- */
.wa-float{
  position:fixed; bottom:26px; right:26px; width:56px; height:56px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25); z-index:80; transition: transform 0.15s ease;
}
.wa-float:hover{ transform: scale(1.08); }

/* ---------- Product variations (size / color) ---------- */
.produto-variations{ margin-bottom:24px; display:flex; flex-direction:column; gap:16px; }
.variation-label{ display:block; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; color: rgba(46,31,38,0.65); margin-bottom:8px; }
.variation-options{ display:flex; gap:8px; flex-wrap:wrap; }
.variation-chip{
  border:1px solid var(--line); background: var(--white); border-radius:999px;
  padding:8px 16px; font-size:13px; cursor:pointer; display:flex; align-items:center; gap:8px;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.variation-chip:hover{ border-color: var(--rose-deep); }
.variation-chip.active{ background: var(--rose-deep); border-color: var(--rose-deep); color:#fff; }
.swatch-dot{ width:12px; height:12px; border-radius:50%; display:inline-block; border:1px solid rgba(0,0,0,0.15); }

/* ---------- Reviews section ---------- */
.produto-reviews{ padding: 60px 0 90px; border-top:1px solid var(--line); }
.reviews-layout{ display:grid; grid-template-columns: 1.4fr 1fr; gap:44px; align-items:start; }
.reviews-list{ display:flex; flex-direction:column; gap:16px; max-height:520px; overflow-y:auto; padding-right:6px; }
.review-card{ border:1px solid var(--line); border-radius:14px; padding:16px 18px; }
.review-head{ display:flex; justify-content:space-between; align-items:center; font-size:14px; }
.review-stars{ color: var(--star-color); letter-spacing:1px; }
.review-date{ font-size:11px; color: rgba(46,31,38,0.5); margin:4px 0 8px; }
.review-card p{ font-size:13.5px; line-height:1.55; color: rgba(46,31,38,0.8); }
.reviews-empty{ color: rgba(46,31,38,0.55); font-size:14px; }
.review-form{ border:1px solid var(--line); border-radius:16px; padding:22px; background: var(--blush); }
.review-form h4{ font-size:16px; margin-bottom:16px; font-family:'Work Sans',sans-serif; }
.star-picker{ font-size:26px; color: var(--star-color); cursor:pointer; letter-spacing:4px; }
.star-picker span{ cursor:pointer; }
.review-image{
  margin-top:12px; width:100%; max-width:220px; border-radius:12px; display:block;
  cursor:pointer; object-fit:cover; aspect-ratio:1/1; transition: opacity 0.15s ease;
}
.review-image:hover{ opacity:0.88; }
.revimg-upload{
  display:inline-flex; align-items:center; gap:8px; border:1px dashed var(--line);
  border-radius:10px; padding:10px 14px; font-size:13px; color: var(--ink);
  cursor:pointer; background: var(--white); width:fit-content; transition: border-color 0.15s ease;
}
.revimg-upload:hover{ border-color: var(--rose-deep); color: var(--rose-darker); }
.revimg-preview{ margin-top:10px; }
.revimg-preview img{
  width:84px; height:84px; object-fit:cover; border-radius:10px; display:inline-block;
}
.revimg-preview:has(img){ position:relative; width:84px; }
.revimg-remove{
  position:absolute; top:-8px; right:-8px; width:22px; height:22px; border-radius:50%;
  background: var(--ink); color:#fff; border:2px solid var(--blush); font-size:11px;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
}
@media (max-width:860px){ .reviews-layout{ grid-template-columns:1fr; } }

/* ---------- Account page ---------- */
.account-layout{ display:grid; grid-template-columns: 1fr 1fr; gap:32px; align-items:start; }
.account-col{ display:flex; flex-direction:column; gap:24px; }
.account-card{ border:1px solid var(--line); border-radius:18px; padding:26px; background: var(--white); }
.account-card h3{ font-size:19px; margin-bottom:18px; }
.account-hint{ font-size:12px; color: rgba(46,31,38,0.5); margin:10px 0 14px; line-height:1.5; }
.account-empty{ font-size:14px; color: rgba(46,31,38,0.55); }
.auth-tabs{ display:flex; gap:8px; margin-bottom:22px; border-bottom:1px solid var(--line); padding-bottom:18px; }
.auth-tab{
  font-family:'IBM Plex Mono', monospace; font-size:12px; letter-spacing:0.03em;
  padding:9px 18px; border-radius:999px; border:1px solid var(--line);
  background: var(--white); color: var(--ink); cursor:pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.auth-tab:hover{ border-color: var(--rose-deep); }
.auth-tab.active{ background: var(--rose-deep); border-color: var(--rose-deep); color:#fff; }
.field-error{ font-size:12px; color:#B23A3A; margin:-8px 0 14px; min-height:15px; }
.field-error:empty{ display:none; margin:0; }
.forgot-link{ font-size:12px; color: var(--rose-darker); font-weight:600; cursor:pointer; display:inline-block; margin-top:-8px; }
.auth-form .btn{ width:100%; }
.auth-hint{ font-size:12px; color: rgba(46,31,38,0.5); margin-top:14px; text-align:center; }
.auth-hint a{ color: var(--rose-darker); font-weight:600; cursor:pointer; }
.profile-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.profile-head .logged-badge{ font-family:'IBM Plex Mono',monospace; font-size:11px; color: rgba(46,31,38,0.5); }
.addr-item{
  display:flex; justify-content:space-between; align-items:flex-start; gap:10px;
  padding:14px 0; border-bottom:1px solid var(--line); font-size:13px;
}
.addr-item:last-child{ border-bottom:none; }
.addr-text{ font-size:12px; color: rgba(46,31,38,0.6); margin-top:2px; }
.new-addr-form{ margin-top:18px; padding-top:18px; border-top:1px solid var(--line); }

.order-card{ border:1px solid var(--line); border-radius:16px; padding:20px; margin-bottom:18px; }
.order-card:last-child{ margin-bottom:0; }
.order-card-head{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:16px; }
.order-total{ font-weight:700; font-family:'IBM Plex Mono',monospace; }
.order-track{ display:flex; justify-content:space-between; margin-bottom:18px; position:relative; }
.order-track::before{
  content:''; position:absolute; top:5px; left:5%; right:5%; height:2px; background: var(--line); z-index:0;
}
.track-step{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:6px; flex:1; text-align:center; }
.track-dot{ width:12px; height:12px; border-radius:50%; background: var(--line); border:2px solid var(--white); }
.track-step.done .track-dot{ background: var(--rose-deep); }
.track-label{ font-size:10.5px; color: rgba(46,31,38,0.5); max-width:90px; line-height:1.3; }
.track-step.done .track-label{ color: var(--rose-darker); font-weight:600; }
.order-items{ border-top:1px solid var(--line); padding-top:12px; }
.order-item-row{ display:flex; justify-content:space-between; font-size:12.5px; padding:3px 0; color: rgba(46,31,38,0.75); }

@media (max-width:860px){
  .account-layout{ grid-template-columns:1fr; }
  .order-track{ flex-wrap:wrap; gap:10px; }
  .order-track::before{ display:none; }
}

/* ---------- Cart page (/carrinho/) ---------- */
.checkout-steps{ display:flex; align-items:center; justify-content:center; gap:0; margin: 34px 0 38px; }
.step-dot{ display:flex; flex-direction:column; align-items:center; gap:6px; }
.step-dot-num{
  width:34px; height:34px; border-radius:50%; background: var(--line); color: rgba(46,31,38,0.5);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px;
  transition: background 0.2s ease, color 0.2s ease;
}
.step-dot.active .step-dot-num{ background: var(--rose-deep); color:#fff; }
.step-dot-label{ font-size:11.5px; color: rgba(46,31,38,0.55); font-family:'IBM Plex Mono',monospace; }
.step-dot.active .step-dot-label{ color: var(--rose-darker); font-weight:600; }
.step-line{ width:120px; max-width:14vw; height:2px; background: var(--line); margin: 0 10px 22px; }

.cart-page-empty{ text-align:center; padding: 60px 20px 90px; display:flex; flex-direction:column; align-items:center; gap:18px; color: rgba(46,31,38,0.6); }

.cart-page-grid{ display:grid; grid-template-columns: 1fr 380px; gap:28px; align-items:start; padding-bottom:70px; }
.cart-page-main{ display:flex; flex-direction:column; gap:20px; }
.cart-page-side{ position:sticky; top:96px; }

.panel{ border:1px solid var(--line); border-radius:16px; padding:22px 24px; background: var(--white); }
.panel-label{ font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:0.03em; color: rgba(46,31,38,0.7); margin-bottom:14px; }
.panel h3.display{ font-size:19px; font-weight:600; margin-bottom:14px; }

.delivery-type-toggle{ display:flex; gap:12px; }
.delivery-type-btn{
  flex:1; padding:14px 16px; border-radius:12px; border:1.5px solid var(--line); background:#fff;
  font-size:14px; font-weight:600; color: rgba(46,31,38,0.65); cursor:pointer;
  transition: all 0.15s ease;
}
.delivery-type-btn:hover{ border-color: var(--rose-deep); }
.delivery-type-btn.active{ background: var(--rose-deep); border-color: var(--rose-deep); color:#fff; }

.panel-schedule{ background: #EFF7F1; border-color: rgba(30,158,76,0.18); }
.schedule-row{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.schedule-icon{ width:34px; height:34px; border-radius:50%; background: rgba(30,158,76,0.14); display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0; }
.schedule-label{ font-size:13.5px; font-weight:600; color:#1E5E37; flex:1 1 200px; }
.schedule-date, .schedule-time{
  padding:11px 13px; border-radius:10px; border:1px solid var(--line); background:#fff;
  font-size:13.5px; font-family:'Work Sans',sans-serif; color: var(--ink);
}
.schedule-time{ min-width:200px; }
.schedule-time:disabled{ background: var(--blush); color: rgba(46,31,38,0.45); cursor:not-allowed; }

.alert{ display:flex; align-items:flex-start; gap:10px; padding:14px 16px; border-radius:12px; font-size:13px; line-height:1.55; }
.alert-icon{ flex-shrink:0; }
.alert-warning{ background:#FDF6E3; border:1px solid rgba(217,161,92,0.35); color:#7A5B1E; }
.alert-note{ background:#FDF6E3; border:1px solid rgba(217,161,92,0.35); color:#7A5B1E; margin-bottom:18px; }
.alert-note strong{ color:#8B5A56; }

.req{ color:#B23A3A; }

.side-panel{ display:flex; flex-direction:column; }
.cp-items{ display:flex; flex-direction:column; gap:14px; max-height:340px; overflow-y:auto; padding-right:2px; }
.cp-item{ display:grid; grid-template-columns:56px 1fr auto; gap:12px; align-items:start; padding-bottom:14px; border-bottom:1px solid var(--line); }
.cp-item:last-child{ border-bottom:none; padding-bottom:0; }
.cp-thumb{ width:56px; height:56px; border-radius:10px; overflow:hidden; flex-shrink:0; border:1px solid var(--line); }
.cp-thumb img{ width:100%; height:100%; object-fit:cover; }
.cp-item-name{ font-size:13px; font-weight:600; line-height:1.35; margin-bottom:6px; }
.cp-item-qty{ display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.cp-item-qty .qty-btn{
  width:22px; height:22px; border-radius:50%; border:1px solid var(--line); background:none;
  cursor:pointer; font-size:13px; line-height:1; color: var(--ink);
}
.cp-item-qty .qty-val{ font-family:'IBM Plex Mono',monospace; font-size:12.5px; min-width:12px; text-align:center; }
.cp-item .remove-link{ font-size:11.5px; color:#B23A3A; cursor:pointer; }
.cp-item .remove-link:hover{ text-decoration:underline; }
.cp-item-price{ text-align:right; white-space:nowrap; }
.cp-item-total{ font-size:13.5px; font-weight:700; font-family:'IBM Plex Mono',monospace; }
.cp-item-unit{ font-size:11px; color: rgba(46,31,38,0.5); margin-top:3px; }

.side-totals{ margin-top:18px; padding-top:14px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:8px; }
.side-totals .r{ display:flex; justify-content:space-between; font-size:13.5px; }
.side-totals .r.discount-row{ color:#1E9E4C; }
.side-totals .r.total{ font-size:17px; font-weight:700; color:#1E9E4C; margin-top:4px; }

.cp-checkout-btn{ width:100%; justify-content:center; margin-top:18px; }
.cp-checkout-btn:disabled{ background: var(--line); color: rgba(46,31,38,0.4); cursor:not-allowed; pointer-events:none; }

@media (max-width: 980px){
  .cart-page-grid{ grid-template-columns: 1fr; }
  .cart-page-side{ position:static; }
}
@media (max-width: 560px){
  .schedule-row{ flex-direction:column; align-items:stretch; }
  .schedule-time{ min-width:0; }
  .delivery-type-toggle{ flex-direction:column; }
}

/* ---------- Cart drawer (mini-cart slide-out) ---------- */
.overlay{
  position:fixed; inset:0; background: rgba(46,31,38,0.55); z-index:150;
  opacity:0; pointer-events:none; transition: opacity 0.25s ease;
}
.overlay.show{ opacity:1; pointer-events:auto; }

.drawer{
  position:fixed; top:0; right:0; height:100vh; width:420px; max-width:92vw;
  background: var(--white); z-index:151; box-shadow: -12px 0 40px rgba(0,0,0,0.18);
  display:flex; flex-direction:column;
  transform: translateX(100%); transition: transform 0.3s ease;
}
.drawer.show{ transform: translateX(0); }

.drawer-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 24px; border-bottom:1px solid var(--line); flex-shrink:0;
}
.drawer-head h3{ font-family:'Fraunces', serif; font-size:20px; font-weight:600; }
.drawer .close-btn{
  width:34px; height:34px; border-radius:50%; border:1px solid var(--line); background:#fff;
  cursor:pointer; font-size:14px; color: var(--ink); display:flex; align-items:center; justify-content:center;
  flex-shrink:0; transition: all 0.15s ease;
}
.drawer .close-btn:hover{ border-color: var(--rose-deep); color: var(--rose-deep); }

.drawer-body{ flex:1; overflow-y:auto; padding:18px 24px; display:flex; flex-direction:column; gap:16px; }
.drawer-body .empty-msg{ padding: 60px 10px; }

.cart-item{
  display:grid; grid-template-columns:60px 1fr auto; gap:12px; align-items:start;
  padding-bottom:16px; border-bottom:1px solid var(--line);
}
.cart-item:last-child{ border-bottom:none; padding-bottom:0; }
.cart-item .thumb{ width:60px; height:60px; border-radius:10px; background: var(--blush); overflow:hidden; flex-shrink:0; }
.cart-item .thumb img{ width:100%; height:100%; object-fit:cover; }
.cart-item .name{ font-size:13.5px; font-weight:600; line-height:1.35; margin-bottom:4px; }
.cart-item .unit{ font-size:12px; color: rgba(46,31,38,0.55); margin-bottom:8px; }
.cart-item .qty-row{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.cart-item .qty-btn{
  width:24px; height:24px; border-radius:50%; border:1px solid var(--line); background:#fff;
  cursor:pointer; font-size:14px; line-height:1; display:flex; align-items:center; justify-content:center;
  color: var(--ink); transition: all 0.15s ease;
}
.cart-item .qty-btn:hover{ border-color: var(--rose-deep); color: var(--rose-deep); }
.cart-item .qty-val{ font-size:13px; font-weight:600; min-width:16px; text-align:center; }
.cart-item .remove-link{ font-size:11.5px; color:#B23A3A; cursor:pointer; }
.cart-item .remove-link:hover{ text-decoration:underline; }
.cart-item .item-total{ font-size:13.5px; font-weight:700; font-family:'IBM Plex Mono',monospace; white-space:nowrap; }

.drawer-foot{ padding:20px 24px; border-top:1px solid var(--line); flex-shrink:0; }
.drawer-foot .sub-row, .drawer-foot .total-row{ display:flex; justify-content:space-between; font-size:13.5px; padding:5px 0; }
.drawer-foot .total-row{ font-size:16px; font-weight:700; margin-bottom:14px; }
.drawer-foot .btn{ width:100%; justify-content:center; }

@media (max-width: 480px){
  .drawer{ width:100%; max-width:100%; }
}

/* ---------- Homepage: product grid + "Nossa História" sidebar ---------- */
.home-layout{
  display:grid; grid-template-columns: 1fr 300px; gap: 32px; align-items:start;
}
.home-aside{
  display:flex; flex-direction:column; gap:20px;
  position:sticky; top:100px;
}
.story-card{
  background: var(--white); border:1px solid var(--line); border-radius:18px; overflow:hidden;
}
.story-card img{ width:100%; height:150px; object-fit:cover; }
.story-card-body{ padding:18px; }
.story-card-body h4{
  font-family:'Fraunces', serif; font-size:16px; font-weight:600; line-height:1.3; margin-bottom:8px; color: var(--ink);
}
.story-card-body p{ font-size:12.5px; line-height:1.6; color: rgba(51,48,43,0.7); margin-bottom:10px; }
.story-link{ font-size:12.5px; font-weight:600; color: var(--rose-darker); }
.story-link:hover{ text-decoration:underline; }

.testi-mini{
  background: var(--blush); border-radius:18px; padding:18px; display:flex; flex-direction:column; gap:14px;
}
.testi-mini-item .stars-icons{ color: var(--star-color); font-size:13px; letter-spacing:1px; }
.testi-mini-item p{ font-size:12.5px; line-height:1.5; color: var(--ink); margin:6px 0 4px; font-style:italic; }
.testi-mini-item span{ font-size:11.5px; color: rgba(51,48,43,0.6); font-weight:600; }

.cross-teaser{ background: var(--white); border:1px solid var(--line); border-radius:18px; padding:18px; }
.cross-teaser h5{ font-family:'Fraunces', serif; font-size:14px; font-weight:600; margin-bottom:12px; color: var(--ink); }
.cross-teaser-list{ display:flex; flex-direction:column; gap:10px; }
.cross-teaser-item{ display:flex; align-items:center; gap:10px; }
.cross-teaser-item img{ width:44px; height:44px; border-radius:10px; object-fit:cover; background: var(--blush); flex-shrink:0; }
.cross-teaser-item .ct-name{ font-size:12px; font-weight:600; line-height:1.3; color: var(--ink); }
.cross-teaser-item .ct-price{ font-size:11.5px; color: var(--price-strong); font-weight:600; margin-top:2px; }

@media (max-width: 980px){
  .home-layout{ grid-template-columns:1fr; }
  .home-aside{ position:static; flex-direction:row; overflow-x:auto; }
  .home-aside > *{ min-width:260px; }
}

/* ---------- Testimonials section ---------- */
.testimonials-section{ padding: 60px 0; }
.testimonials-section h2{
  font-family:'Fraunces', serif; font-size:26px; font-weight:600; text-align:center; margin-bottom:36px; color: var(--ink);
}
.testimonials-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.testimonials-grid.single{ grid-template-columns: 1fr; max-width:640px; margin:0 auto; }
.testimonials-grid.two{ grid-template-columns: 1fr 1fr; max-width:920px; margin:0 auto; }
.testi-card{
  background: var(--white); border:1px solid var(--line); border-radius:16px; padding:24px;
}
.testi-card .stars-icons{ color: var(--star-color); font-size:15px; letter-spacing:2px; display:block; margin-bottom:12px; }
.testi-card p{ font-size:13.5px; line-height:1.65; color: var(--ink); font-style:italic; margin-bottom:14px; }
.testi-card .testi-author{ font-size:12.5px; font-weight:700; color: var(--rose-darker); }
.testi-card.with-photo{ display:flex; align-items:center; gap:24px; text-align:left; }
.testi-card.with-photo .testi-photo{
  width:140px; height:140px; border-radius:12px; object-fit:cover; flex-shrink:0;
  cursor:zoom-in; transition:opacity .2s ease;
}
.testi-card.with-photo .testi-photo:hover{ opacity:0.85; }
.testi-card.with-photo .testi-content{ flex:1; }
@media (max-width: 780px){
  .testimonials-grid, .testimonials-grid.two{ grid-template-columns:1fr; }
  .testi-card.with-photo{ flex-direction:column; text-align:center; }
  .testi-card.with-photo .testi-photo{ width:100%; height:220px; }
}

/* ---------- Testimonial photo lightbox ---------- */
.testi-lightbox{
  display:none; position:fixed; inset:0; background:rgba(20,16,14,0.9);
  z-index:1000; align-items:center; justify-content:center; padding:40px; cursor:zoom-out;
}
.testi-lightbox.open{ display:flex; }
.testi-lightbox img{
  max-width:90vw; max-height:90vh; object-fit:contain; border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,0.5);
}
.testi-lightbox-close{
  position:absolute; top:20px; right:28px; background:none; border:none;
  color:#fff; font-size:36px; line-height:1; cursor:pointer; padding:8px;
}

/* ---------- Cross-sell section ---------- */
.crosssell-section{ padding: 20px 0 60px; }
.crosssell-section h2{ font-family:'Fraunces', serif; font-size:24px; font-weight:600; margin-bottom:28px; color: var(--ink); }

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important; }
}
