:root{
  /* ---- Editorial palette (light + airy), terracotta accent retained ---- */
  --bg:#FBFAF7; --surface:#FFFFFF;
  --text:#26221D; --text-2:#6E675B; --muted:#A79E8E;
  --accent:#C17E68; --accent-dark:#8B5E4E;
  --dark:#26221D;
  --border:#EAE6DE; --line-soft:#F0ECE3;
  --ph1:#F3F0E9; --ph2:#F0ECE3; --badge:#F1E7DD;
  --shadow:0 6px 22px rgba(60,50,40,.07); --shadow-hover:0 16px 34px rgba(60,50,40,.13);
  --font-sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --font-serif:'Fraunces',Georgia,'Times New Roman',serif;
  --font-grotesk:'Space Grotesk','Inter',sans-serif;
  --font-script:'Sacramento',cursive;
  --maxw:1240px; --radius:16px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0; background:var(--bg); font-family:var(--font-sans); color:var(--text); -webkit-font-smoothing:antialiased; line-height:1.5;}
a{text-decoration:none; color:inherit;}
img{display:block; max-width:100%;}
.container{max-width:var(--maxw); margin:0 auto; padding:0 40px;}
@media(max-width:900px){ .container{padding:0 28px;} }
@media(max-width:600px){ .container{padding:0 18px;} }
.icon{width:18px; height:18px; display:inline-block; vertical-align:middle;}
.eyebrow{font-size:12px; letter-spacing:.2em; text-transform:uppercase; color:var(--muted);}

/* ---------- announcement bar ---------- */
.announce{background:var(--line-soft); color:var(--text); text-align:center; font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; padding:10px 16px; border-bottom:1px solid var(--border);}

/* ---------- header ---------- */
header.site{background:var(--bg); padding:20px 0; border-bottom:1px solid var(--border); position:sticky; top:0; z-index:40;}
header.site .row{display:flex; align-items:center; justify-content:space-between; gap:24px;}
.logo{display:flex; flex-direction:column; line-height:1; gap:4px;}
.logo-word{font-family:var(--font-serif); font-size:30px; font-weight:600; letter-spacing:-.01em; color:var(--text);}
.logo-tag{font-size:9.5px; letter-spacing:.22em; text-transform:uppercase; color:var(--muted);}
@media(max-width:600px){ .logo-word{font-size:24px;} .logo-tag{display:none;} }
nav.main{display:flex; gap:30px; font-size:14px; flex-wrap:wrap; color:var(--text-2);}
nav.main a{position:relative; padding:2px 0; transition:color .2s;}
nav.main a:hover, nav.main a.active{color:var(--text);}
nav.main a::after{content:''; position:absolute; left:0; bottom:-2px; width:0; height:1.5px; background:var(--accent); transition:width .25s ease;}
nav.main a:hover::after{width:100%;}
.icons-row{display:flex; gap:18px; align-items:center; color:var(--text);}
.icons-row a{color:inherit; position:relative; display:flex;}
.icons-row a:hover{color:var(--accent);}
.cart-count{position:absolute; top:-8px; right:-10px; background:var(--accent); color:#fff; font-size:10px; border-radius:50%; width:16px; height:16px; display:flex; align-items:center; justify-content:center;}
.search-wrap{position:relative; display:flex; align-items:center;}
.search-dropdown{position:absolute; top:calc(100% + 14px); right:0; display:none; background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:8px; box-shadow:var(--shadow); z-index:30;}
.search-dropdown.open{display:block;}
.search-dropdown input{width:230px; height:40px; border:1px solid var(--border); border-radius:8px; padding:0 12px; font-size:13px; font-family:var(--font-sans); background:var(--bg); color:var(--text);}
@media(max-width:600px){ .search-dropdown{right:-40px;} .search-dropdown input{width:60vw;} }
@media(max-width:820px){
  header.site .row{flex-wrap:wrap; row-gap:14px;}
  .logo{order:1;} .icons-row{order:2;}
  nav.main{order:3; width:100%; overflow-x:auto; gap:20px; padding-bottom:2px; -webkit-overflow-scrolling:touch; white-space:nowrap; flex-wrap:nowrap;}
  .logo-img{height:48px;}
}

/* ---------- buttons ---------- */
.btn-primary{background:var(--dark); color:#fff; border:none; font-family:var(--font-sans); font-size:14px; font-weight:500; padding:14px 28px; border-radius:999px; cursor:pointer; display:inline-block; text-align:center; transition:background .2s, transform .15s;}
.btn-primary:hover{background:var(--accent-dark);}
.btn-primary:active{transform:translateY(1px);}
.btn-primary:disabled{opacity:.5; cursor:not-allowed;}
.btn-outline{background:transparent; border:1px solid var(--text); color:var(--text); font-family:var(--font-sans); font-size:13px; padding:11px 20px; border-radius:999px; cursor:pointer; display:inline-block; text-align:center; transition:.2s;}
.btn-outline:hover{background:var(--text); color:var(--bg);}

/* ---------- split editorial hero (text-led, admin slides drive it) ---------- */
.hero-split{display:grid; grid-template-columns:1fr 1.02fr; gap:clamp(28px,4.5vw,64px); align-items:center; margin-top:clamp(30px,4vw,56px);}
.hero-copy .eyebrow{display:block; margin-bottom:18px;}
.hero-h{font-family:var(--font-serif); font-weight:400; font-size:clamp(38px,5.3vw,70px); line-height:1.02; letter-spacing:-.02em; margin:0 0 22px; color:var(--text);}
.hero-h em{font-style:italic; color:var(--accent);}
.hero-p{font-size:16px; color:var(--text-2); line-height:1.65; max-width:440px; margin:0 0 30px;}
.hero-visual{position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:1/1; box-shadow:var(--shadow); background:var(--ph1);}
.hero-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .8s ease;}
.hero-img.active{opacity:1;}
.hero-visual .hero-dots{position:absolute; left:18px; bottom:16px;}
@media(max-width:820px){
  .hero-split{grid-template-columns:1fr; gap:26px; margin-top:26px;}
  .hero-visual{aspect-ratio:16/11; order:-1;}
  .hero-p{max-width:none;}
}

/* ---------- hero (admin-managed carousel, restyled editorial) ---------- */
.hero-carousel{margin-top:34px; position:relative; height:clamp(340px,46vw,520px); border-radius:var(--radius); overflow:hidden;}
.hero-slide{position:absolute; inset:0; opacity:0; transition:opacity .7s ease; pointer-events:none;}
.hero-slide.active{opacity:1; pointer-events:auto;}
.hero-slide img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;}
.hero-slide-overlay{position:absolute; inset:0; background:linear-gradient(90deg, rgba(30,25,20,.5) 0%, rgba(30,25,20,.22) 48%, rgba(30,25,20,0) 78%);}
.hero-slide-content{position:relative; padding:clamp(28px,5vw,56px); max-width:520px; height:100%; display:flex; flex-direction:column; justify-content:center;}
.hero-slide-content .eyebrow{color:rgba(255,255,255,.82); margin-bottom:14px;}
.hero-slide-content h1{font-family:var(--font-serif); font-size:clamp(30px,4.6vw,56px); font-weight:500; line-height:1.05; letter-spacing:-.01em; margin:0 0 14px; color:#fff;}
.hero-slide-content p{font-size:15px; color:rgba(255,255,255,.9); margin:0 0 24px; line-height:1.65; max-width:400px;}
.hero-dots{position:absolute; bottom:18px; left:clamp(28px,5vw,56px); display:flex; gap:8px;}
.hero-dot{width:9px; height:9px; border-radius:50%; border:none; background:rgba(255,255,255,.5); cursor:pointer; padding:0; transition:.2s;}
.hero-dot.active{background:#fff; width:22px; border-radius:5px;}

/* ---------- section headings ---------- */
.section-head{display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin:0 0 24px;}
.section-title{font-family:var(--font-serif); font-size:clamp(24px,3vw,34px); font-weight:500; letter-spacing:-.01em; color:var(--text); margin:0;}
.section-link{font-size:13px; color:var(--muted); border-bottom:1px solid var(--muted); padding-bottom:2px; white-space:nowrap;}
.section-link:hover{color:var(--accent); border-color:var(--accent);}

/* ---------- marquee strip (accent) ---------- */
.marquee{overflow:hidden; white-space:nowrap; border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:16px 0; background:var(--line-soft);}
.marquee .track{display:inline-block; will-change:transform; animation:marquee 30s linear infinite;}
.marquee:hover .track{animation-play-state:paused;}
.marquee span{font-family:var(--font-grotesk); font-size:clamp(18px,2.4vw,28px); font-weight:700; letter-spacing:-.01em; margin:0 22px; color:var(--text); text-transform:uppercase;}
.marquee .dot{color:var(--accent);}
@keyframes marquee{from{transform:translateX(0);} to{transform:translateX(-50%);}}
@media(prefers-reduced-motion:reduce){ .marquee .track{animation:none;} }

/* ---------- placeholder tiles / generic image blocks ---------- */
.ph{background:var(--ph2); border-radius:12px; display:flex; align-items:center; justify-content:center; color:var(--muted); overflow:hidden; position:relative; font-size:12px; text-align:center; background-size:cover; background-position:center;}
.ph img{width:100%; height:100%; object-fit:cover; border-radius:12px;}

/* ---------- TRUE-PROPORTION MASONRY (the core catalog grid) ---------- */
.masonry{column-count:4; column-gap:26px;}
@media(max-width:1080px){ .masonry{column-count:3; column-gap:22px;} }
@media(max-width:720px){ .masonry{column-count:2; column-gap:16px;} }
@media(max-width:420px){ .masonry{column-count:2; column-gap:12px;} }
.masonry .prod-card{break-inside:avoid; -webkit-column-break-inside:avoid; page-break-inside:avoid; display:block; width:100%; margin:0 0 26px;}
@media(max-width:720px){ .masonry .prod-card{margin-bottom:18px;} }

/* ---------- shop filter sidebar ---------- */
.shop-layout{display:grid; grid-template-columns:236px 1fr; gap:40px; align-items:start; margin-top:24px;}
.shop-filters{position:sticky; top:96px;}
.filters-toggle{display:none;}
.filters-head{display:flex; align-items:center; justify-content:space-between; font-size:13px; font-weight:600; color:var(--text); padding-bottom:12px; border-bottom:1px solid var(--border); margin-bottom:14px;}
.filters-clear{font-size:12px; font-weight:400; color:var(--accent); border-bottom:1px solid var(--accent);}
.filter-group{margin-bottom:22px;}
.filter-group h4{font-family:var(--font-serif); font-size:15px; font-weight:500; margin:0 0 10px; color:var(--text);}
.filter-check{display:flex; align-items:center; gap:9px; font-size:13.5px; color:var(--text-2); padding:5px 0; cursor:pointer;}
.filter-check input{width:15px; height:15px; accent-color:var(--accent); cursor:pointer;}
.filter-check .fc-label{flex:1;}
.filter-count{font-size:11px; color:var(--muted);}
.filter-check:hover .fc-label{color:var(--text);}
@media(max-width:820px){
  .shop-layout{grid-template-columns:1fr; gap:0;}
  .filters-toggle{display:inline-block;}
  .shop-filters{display:none; position:static; margin:0 0 22px; padding:18px; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface);}
  .shop-filters.open{display:block;}
}

/* framed product card — image keeps natural aspect ratio, never cropped */
.prod-card{position:relative; color:var(--text);}
.card-frame{position:relative; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:12px; overflow:hidden; box-shadow:var(--shadow); transition:transform .25s ease, box-shadow .25s ease;}
.card-frame img{width:100%; height:auto; border-radius:9px; transition:transform .5s ease;}
.prod-card:hover .card-frame{transform:translateY(-4px); box-shadow:var(--shadow-hover);}
.prod-card:hover .card-frame img{transform:scale(1.02);}
.ph-empty{width:100%; aspect-ratio:4/3; border-radius:9px; background:var(--ph1); display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:12px; text-align:center; padding:12px;}
.card-meta{padding:14px 4px 2px;}
.card-name{font-family:var(--font-serif); font-size:16px; font-weight:500; line-height:1.25; color:var(--text); display:inline;}
.card-rating{font-size:12px; color:var(--accent); margin-top:5px;}
.card-rating.is-new{color:var(--muted);}
.card-price{font-size:13.5px; color:var(--text-2); margin-top:3px;}
.card-price .was{text-decoration:line-through; margin-left:6px; color:var(--muted);}

.wish{position:absolute; top:20px; right:20px; cursor:pointer; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.92); display:flex; align-items:center; justify-content:center; color:var(--muted); border:none; box-shadow:0 2px 8px rgba(60,50,40,.12); transition:.2s;}
.wish:hover{color:var(--accent);}
.wish.liked{color:var(--accent);}
.badge{position:absolute; top:20px; left:20px; background:var(--surface); color:var(--text); font-size:10px; letter-spacing:.08em; text-transform:uppercase; padding:5px 11px; border-radius:999px; border:1px solid var(--border); z-index:2;}
.info-wrap{position:relative; display:inline-flex; cursor:pointer; vertical-align:middle; margin-left:5px;}
.tooltip{position:absolute; bottom:135%; left:50%; transform:translateX(-50%); background:var(--dark); color:#fff; font-size:11px; padding:6px 10px; border-radius:6px; white-space:nowrap; opacity:0; visibility:hidden; transition:opacity .15s ease; pointer-events:none; z-index:5;}
.info-wrap:hover .tooltip{opacity:1; visibility:visible;}

/* ---------- generic grids (categories, values, gallery) ---------- */
.grid{display:grid; gap:26px;}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));}
.grid-scroll{display:flex; gap:18px; overflow-x:auto; padding-bottom:8px; -webkit-overflow-scrolling:touch;}
.grid-scroll>*{flex:0 0 168px;}
@media(max-width:600px){ .grid-scroll>*{flex:0 0 150px;} }

/* category cards */
.cat-card{position:relative; display:block; border-radius:var(--radius); overflow:hidden; aspect-ratio:4/5; box-shadow:var(--shadow);}
.cat-card img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease;}
.cat-card:hover img{transform:scale(1.05);}
.cat-card .cat-label{position:absolute; left:16px; bottom:14px; color:#fff; font-family:var(--font-serif); font-size:18px; font-weight:500; text-shadow:0 1px 10px rgba(0,0,0,.45);}
.cat-card::after{content:''; position:absolute; inset:0; background:linear-gradient(0deg, rgba(20,16,12,.42), rgba(20,16,12,0) 55%);}

/* chips / filters */
.chip{font-size:13px; padding:9px 18px; border-radius:999px; cursor:pointer; border:1px solid var(--border); background:transparent; color:var(--text-2); display:inline-block; transition:.2s;}
.chip.active, .chip:hover{background:var(--text); color:var(--bg); border-color:var(--text);}
.spec-pill{font-size:12px; color:var(--text-2); background:var(--line-soft); border:1px solid var(--border); border-radius:999px; padding:5px 12px;}

/* form controls */
select, input[type=text], input[type=email], input[type=password], input[type=tel], textarea{
  font-size:13px; color:var(--text); border:1px solid var(--border); border-radius:8px; padding:11px 13px; background:var(--surface); font-family:var(--font-sans);
}
select:focus, input:focus, textarea:focus{outline:2px solid var(--accent); outline-offset:1px;}

.values{display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:26px; text-align:center;}
.gallery{display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px;}

/* trust strip */
.trust{display:flex; margin-top:34px; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; background:var(--surface);}
.trust>div{flex:1; text-align:center; padding:20px 10px;}
.trust>div+div{border-left:1px solid var(--border);}
.trust .icon{color:var(--accent); width:22px; height:22px;}
.trust .t-label{font-size:13px; font-weight:500; margin-top:8px; color:var(--text);}
@media(max-width:600px){ .trust{flex-direction:column;} .trust>div+div{border-left:none; border-top:1px solid var(--border);} }

/* newsletter block */
.newsletter{margin-top:72px; background:var(--dark); border-radius:var(--radius); padding:clamp(28px,4vw,48px); display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;}
.newsletter h3{font-family:var(--font-serif); font-size:clamp(22px,2.6vw,28px); font-weight:500; color:#fff; margin:0;}
.newsletter p{color:rgba(255,255,255,.72); font-size:14px; margin:6px 0 0;}
.newsletter form{display:flex; gap:10px; flex-wrap:wrap;}
.newsletter input{height:48px; border-radius:999px; border:none; padding:0 18px; font-size:14px; width:240px; background:#fff;}
.newsletter .btn-primary{background:var(--accent); height:48px; line-height:20px;}
.newsletter .btn-primary:hover{background:var(--accent-dark);}
@media(max-width:600px){ .newsletter input{width:100%;} .newsletter form{width:100%;} }

/* ---------- Product detail ---------- */
.pdp-grid{display:grid; grid-template-columns:1.05fr 1fr; gap:52px; margin-top:26px;}
@media(max-width:820px){ .pdp-grid{grid-template-columns:1fr; gap:32px;} }
.pdp-main{position:relative; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:16px; box-shadow:var(--shadow);}
.pdp-main img{width:100%; height:auto; border-radius:10px; display:block;}
.pdp-main .ph-empty{aspect-ratio:1;}
.thumb{width:70px; height:70px; border-radius:10px; background:var(--ph1); display:flex; align-items:center; justify-content:center; color:var(--muted); cursor:pointer; border:1.5px solid var(--border); font-size:10px; text-align:center; overflow:hidden; padding:5px;}
.thumb img{width:100%; height:100%; object-fit:contain;}
.thumb.active{border-color:var(--accent);}
.swatch{width:26px; height:26px; border-radius:50%; cursor:pointer; border:2px solid transparent; display:inline-block; box-shadow:0 0 0 1px var(--border);}
.swatch.active{border-color:var(--surface); box-shadow:0 0 0 2px var(--accent);}
.qty{display:flex; align-items:center; border:1px solid var(--border); border-radius:999px; background:var(--surface);}
.qty button{width:38px; height:40px; border:none; background:transparent; font-size:16px; color:var(--text); cursor:pointer;}
details{border-top:1px solid var(--border); padding:16px 0;}
details:last-of-type{border-bottom:1px solid var(--border);}
summary{font-size:14px; font-weight:500; cursor:pointer; list-style:none;}
summary::-webkit-details-marker{display:none;}
summary::after{content:'+'; float:right; color:var(--muted); font-size:18px; line-height:1;}
details[open] summary::after{content:'–';}
details p{font-size:13px; color:var(--text-2); line-height:1.75; margin:10px 0 0;}
.review{border-bottom:1px solid var(--border); padding-bottom:18px; margin-bottom:18px;}
.review:last-child{border-bottom:none; margin-bottom:0;}
.avatar{width:32px; height:32px; border-radius:50%; background:var(--badge); color:var(--accent-dark); display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:600;}
.wish-btn{cursor:pointer; width:44px; height:44px; border-radius:50%; border:1px solid var(--border); display:flex; align-items:center; justify-content:center; color:var(--muted); background:var(--surface); transition:.2s;}
.wish-btn:hover{color:var(--accent);}
.wish-btn.liked{color:var(--accent);}

/* ---------- Cart ---------- */
.cart-grid{display:grid; grid-template-columns:1.6fr 1fr; gap:48px; margin-top:28px; align-items:start;}
@media(max-width:820px){ .cart-grid{grid-template-columns:1fr; gap:28px;} }
.item{display:flex; gap:18px; padding:20px 0; border-bottom:1px solid var(--border);}
.item .ph{width:80px; height:80px; flex-shrink:0; border-radius:10px;}
.summary{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow);}
.summary-row{display:flex; justify-content:space-between; font-size:13px; color:var(--text-2); margin-bottom:12px;}
.remove{cursor:pointer; color:var(--muted); background:none; border:none; transition:color .2s;}
.remove:hover{color:var(--accent);}

/* ---------- Checkout ---------- */
.checkout-panel{width:100%; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow);}
.checkout-fields-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
@media(max-width:600px){ .checkout-panel{padding:20px;} .checkout-fields-grid{grid-template-columns:1fr;} }

/* ---------- Account / auth ---------- */
.wrap{display:flex; justify-content:center; padding:56px 20px 20px;}
.card{width:100%; max-width:400px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:38px; box-shadow:var(--shadow);}
.tabs{display:flex; border:1px solid var(--border); border-radius:999px; overflow:hidden; margin-bottom:26px; padding:4px; gap:4px;}
.tab{flex:1; text-align:center; padding:10px 0; font-size:13px; cursor:pointer; color:var(--text-2); background:transparent; border:none; border-radius:999px; transition:.2s;}
.tab.active{background:var(--dark); color:#fff;}
.card h1{font-family:var(--font-serif); font-size:24px; font-weight:500; margin:0 0 6px;}
.card .sub{font-size:13px; color:var(--text-2); margin-bottom:22px;}
.social-btn{display:flex; align-items:center; justify-content:center; gap:10px; width:100%; height:44px; border:1px solid var(--border); border-radius:999px; background:var(--surface); font-size:13px; color:var(--text); cursor:pointer; margin-bottom:10px; font-family:var(--font-sans); transition:.2s;}
.social-btn:hover{background:var(--bg);}
.social-btn svg{width:18px; height:18px; flex-shrink:0;}
.social-btn[disabled], .social-btn.disabled{opacity:.45; cursor:not-allowed;}
.social-btn[disabled]:hover, .social-btn.disabled:hover{background:var(--surface);}
.guest-link{display:block; text-align:center; font-size:12px; color:var(--text-2); margin-top:18px;}
.guest-link:hover{color:var(--accent);}
.field{margin-bottom:16px;}
.field label{display:block; font-size:12px; color:var(--text-2); margin-bottom:6px;}
.input-wrap{position:relative; display:flex; align-items:center;}
.input-wrap svg{position:absolute; left:14px; color:var(--muted); width:16px; height:16px;}
.input-wrap input{width:100%; height:46px; border-radius:999px; border:1px solid var(--border); padding:0 42px; font-size:13px; font-family:var(--font-sans); background:var(--surface); color:var(--text);}
.input-wrap input:focus{outline:2px solid var(--accent); outline-offset:1px;}
.toggle-eye{left:auto !important; right:14px; cursor:pointer;}
.row-between{display:flex; align-items:center; justify-content:space-between; font-size:12px; margin:4px 0 22px;}
.row-between label{display:flex; align-items:center; gap:6px; color:var(--text-2);}
.row-between a{color:var(--accent);}
.divider{display:flex; align-items:center; gap:12px; margin:22px 0; font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:1px;}
.divider:before, .divider:after{content:''; flex:1; height:1px; background:var(--border);}
.guest{display:block; text-align:center; font-size:13px; color:var(--text); border:1px solid var(--text); border-radius:999px; padding:12px 0; transition:.2s;}
.guest:hover{background:var(--text); color:var(--bg);}
.form-error{color:#B5533B; font-size:12px; margin:-8px 0 12px;}

/* order confirmation — delivery timeline */
.track-mini{display:flex; justify-content:space-between; position:relative; margin:18px 0 6px; text-align:center;}
.track-mini::before{content:''; position:absolute; top:8px; left:9%; right:9%; height:2px; background:var(--border);}
.tstep{position:relative; z-index:1; flex:1;}
.tdot{width:18px; height:18px; border-radius:50%; background:var(--surface); border:2px solid var(--border); display:block; margin:0 auto 7px;}
.tstep.done .tdot{background:var(--accent); border-color:var(--accent);}
.tlabel{font-size:10px; color:var(--text-2); line-height:1.25; display:block;}
.tstep.done .tlabel{color:var(--text);}

/* order confirmation — cancelled banner */
.cancel-banner{background:#F5DED5; color:#B5533B; border-radius:12px; padding:14px 16px; font-size:13px; margin:16px 0 4px; text-align:left;}
.cancel-detail{font-size:12px; margin-top:5px; color:#8B5240;}

/* cancel-order modal */
.modal-overlay{position:fixed; inset:0; background:rgba(30,25,20,.5); display:none; align-items:center; justify-content:center; padding:20px; z-index:100;}
.modal-overlay.open{display:flex;}
.modal{background:var(--surface); border-radius:16px; padding:26px; max-width:430px; width:100%; text-align:left; box-shadow:0 24px 60px rgba(0,0,0,.28);}
.modal h3{font-family:var(--font-serif); font-weight:500; font-size:20px; margin:0 0 8px;}
.modal label{display:block; font-size:12px; color:var(--text-2); margin:14px 0 6px;}
.modal select, .modal textarea{width:100%;}
.modal .radio{display:flex; align-items:center; gap:8px; font-size:13px; color:var(--text); margin:8px 0 0;}
.refund-info{background:var(--line-soft); border-radius:10px; padding:12px 14px; font-size:13px; color:var(--text-2); margin-top:16px; line-height:1.55;}
.modal-actions{display:flex; gap:10px; margin-top:20px;}
.modal-actions .btn-primary, .modal-actions .btn-outline{flex:1;}

/* razorpay page — pay by UPI ID */
.upi-collect{text-align:left; margin-top:16px;}
.upi-collect > label{display:block; font-size:12px; color:var(--text-2); margin-bottom:8px;}
.upi-row{display:flex; gap:8px;}
.upi-row input{flex:1; height:46px; border-radius:999px; border:1px solid var(--border); padding:0 16px; font-size:14px; background:var(--surface); color:var(--text);}
.upi-row .btn-primary{padding:14px 26px;}
.upi-hint{font-size:11px; color:var(--muted); margin-top:8px; line-height:1.5;}
.upi-waiting{text-align:center; padding:10px 0 4px;}
.spinner{width:42px; height:42px; border:3px solid var(--border); border-top-color:var(--accent); border-radius:50%; margin:6px auto 16px; animation:spin .9s linear infinite;}
@keyframes spin{to{transform:rotate(360deg);}}
.upi-wait-title{font-family:var(--font-serif); font-size:18px; color:var(--text);}
.upi-wait-sub{font-size:13px; color:var(--text-2); margin-top:6px; line-height:1.55;}
.upi-timer{font-family:var(--font-grotesk); font-size:32px; font-weight:700; color:var(--accent); margin:16px 0 4px; letter-spacing:.02em;}
.upi-result{text-align:center; padding:6px 0;}
.upi-result-msg{background:#F5DED5; color:#B5533B; border-radius:10px; padding:14px 16px; font-size:13px; line-height:1.5;}

/* order confirmation — clickable line items */
.oc-item{display:flex; align-items:center; gap:10px; margin-bottom:6px; padding:5px 6px; border-radius:9px; color:inherit; transition:background .15s;}
.oc-item-name{flex:1; color:var(--text);}
a.oc-item:hover{background:var(--line-soft);}
a.oc-item:hover .oc-item-name{color:var(--accent);}

/* account — recent order cards */
.order-card{display:block; border:1px solid var(--border); border-radius:14px; padding:16px; margin-bottom:12px; color:inherit; transition:box-shadow .2s, border-color .2s;}
.order-card:hover{box-shadow:var(--shadow); border-color:var(--muted);}
.order-card-head{display:flex; justify-content:space-between; align-items:center;}
.oc-num{font-weight:600; font-size:13px; color:var(--text);}
.oc-status{font-size:11px; color:var(--accent-dark); background:var(--badge); padding:3px 11px; border-radius:999px;}
.oc-date{font-size:12px; color:var(--text-2); margin-top:4px;}
.oc-thumbs{display:flex; gap:6px; margin:12px 0; flex-wrap:wrap;}
.oc-thumb{width:46px; height:46px; border-radius:8px; overflow:hidden; background:var(--ph1); flex-shrink:0;}
.oc-thumb img{width:100%; height:100%; object-fit:cover;}
.oc-breakdown .summary-row{font-size:12.5px; margin-bottom:6px;}
.oc-total{display:flex; justify-content:space-between; font-weight:600; font-size:14px; color:var(--text); border-top:1px solid var(--border); padding-top:8px; margin-top:4px;}

/* ---------- footer ---------- */
footer.site{border-top:1px solid var(--border); margin-top:80px; padding:56px 0 40px; font-size:13px; color:var(--text-2);}
footer.site .row{display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px;}
footer.site a:hover{color:var(--accent);}
.footer-top{display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap;}
.footer-brand{max-width:360px; display:flex; gap:18px; align-items:flex-start;}
.footer-seal{width:88px; height:88px; flex-shrink:0;}
.footer-brand p{margin:8px 0 0; line-height:1.65;}
.footer-links{display:flex; flex-direction:column; gap:11px; font-size:14px;}
.footer-links a{color:var(--text-2);}
.footer-links a:hover{color:var(--accent);}
.footer-bottom{margin-top:36px; padding-top:22px; border-top:1px solid var(--border); font-size:12px; color:var(--muted);}
@media(max-width:600px){ .footer-brand{max-width:none;} .footer-seal{width:72px; height:72px;} }

/* ---------- messages ---------- */
.messages{list-style:none; margin:16px 0 0; padding:0; display:flex; flex-direction:column; gap:8px;}
.messages li{padding:12px 16px; border-radius:10px; font-size:13px;}
.messages li.success{background:#E7EDE3; color:#5E7A4F;}
.messages li.error{background:#F3DCD3; color:#B5533B;}
.messages li.info, .messages li.warning{background:var(--badge); color:var(--accent-dark);}

/* ---------- pagination ---------- */
.pagination{display:flex; justify-content:center; align-items:center; gap:18px; margin:40px 0 60px; font-size:13px;}
.pagination a{color:var(--text); border-bottom:1px solid transparent;}
.pagination a:hover{border-color:var(--accent); color:var(--accent);}
.pagination .disabled{color:var(--muted); pointer-events:none;}
