:root{
  --bg:#f8f6f3;
  --surface:#ffffff;
  --text:#151515;
  --muted:#6b6b6b;
  --line:#e7e2da;
  --accent:#9b7b5f;
  --accent-strong:#6e4f36;
  --shadow:0 18px 40px rgba(20,16,12,.08);
  --radius:18px;
  --container:1180px;
  --font-sans:"Manrope","Helvetica Neue",sans-serif;
  --font-display:"Playfair Display","Times New Roman",serif;
}

*{box-sizing:border-box}
html{background:#15120e}
html,body{margin:0;padding:0}
body{
  font-family:var(--font-sans);
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
.hero-media img,
.product-media img,
.blog-media img,
.instagram-card img,
.product-hero img,
.thumb img,
.cart-media img,
.admin-image-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
}
button{font:inherit}

.app-body{flex:1}
.container{
  width:min(var(--container),100% - 32px);
  margin-inline:auto;
}
.section{padding:64px 0}
.section.alt{background:var(--surface)}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:24px;
}
.section-head h2{
  margin:0;
  font-family:var(--font-display);
  font-size:30px;
}
.section-sub{margin:8px 0 0;color:var(--muted)}
.legal-container{
  width:min(920px,100% - 32px);
}
.legal-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:32px;
}
.legal-card h1{
  margin:0 0 8px;
  font-family:var(--font-display);
  font-size:36px;
}
.legal-card h2{
  margin:28px 0 10px;
  font-family:var(--font-display);
  font-size:24px;
}
.legal-card p{
  margin:0 0 10px;
  color:#2f2f2f;
}
.legal-card ul{
  margin:0 0 10px;
  padding-left:20px;
}
.legal-card li{
  margin-bottom:8px;
}
.legal-card a{
  color:var(--accent-strong);
  text-decoration:underline;
  text-underline-offset:2px;
}
.legal-meta{
  margin-bottom:20px !important;
  color:var(--muted) !important;
  font-size:13px;
}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.28em;
  font-size:11px;
  color:var(--accent-strong);
  margin:0 0 12px;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}


.site-header{
  position:sticky;
  top:0;
  z-index:1050;
  background:var(--bg);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:16px 0;
}
.site-logo-container{
  justify-self:start;
}

.site-logo{
  display:flex;
  align-items:center;
  padding:0;
  margin-right:0;
  line-height:1;
}
.site-logo img{
  height: 48px;
  width:auto;
  display:block;
  object-fit: contain;
}
.navbar-brand img{max-height:none;}
.nav-links{
  display:flex;
  gap:20px;
  justify-content:center;
  font-size:14px;
  color:var(--muted);
}
.nav-links > a:hover{color:var(--text)}
.nav-group{
  position:relative;
}
.nav-group-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.nav-group-link::after{
  content:"\25be";
  font-size:10px;
  line-height:1;
}
.nav-submenu{
  position:absolute;
  top:calc(100% + 12px);
  left:0;
  min-width:220px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface);
  box-shadow:var(--shadow);
  display:none;
  z-index:1060;
}
.nav-submenu a{
  display:block;
  padding:8px 10px;
  border-radius:10px;
  color:var(--text);
  font-size:13px;
}
.nav-submenu a:hover{
  background:rgba(0,0,0,.04);
}
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu{
  display:block;
}
.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  justify-self:end;
}
.account-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.account-actions .primary-btn.small{
  padding:8px 14px;
  font-size:13px;
}
.header-account-menu{position:relative}
.header-account-toggle.dropdown-toggle::after{display:none}
.header-account-dropdown{
  min-width:230px;
  background:#fff;
  border:1px solid #eee;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  padding:8px;
  margin-top:10px;
  z-index:1060;
}
.header-account-dropdown .dropdown-item{
  border-radius:10px;
  padding:12px 18px;
  font-size:14px;
  color:#1d1d1d;
  transition:background-color .15s ease,color .15s ease;
}
.header-account-dropdown .dropdown-item:hover,
.header-account-dropdown .dropdown-item:focus{
  background:rgba(0,0,0,.04);
  color:#111;
}
.header-account-logout-row{margin-top:2px}
.header-account-logout-btn{
  color:#7d4747;
  font-weight:500;
}
.header-account-logout-btn:hover,
.header-account-logout-btn:focus{
  color:#653434;
}
@media (hover:hover) and (pointer:fine){
  .header-account-menu:hover > .header-account-dropdown{
    display:block;
  }
  .header-account-menu:hover > .header-account-toggle{
    border-color:var(--accent);
    color:var(--accent-strong);
  }
}
.icon-btn{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--surface);
  cursor:pointer;
  transition:all .2s ease;
}
.icon-btn:hover{border-color:var(--accent);color:var(--accent-strong)}
.menu-btn{display:grid}
.search-field input{
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:999px;
  padding:10px 14px;
  min-width:200px;
}
.cart-btn{position:relative}
.cart-count{
  position:absolute;
  top:-6px;
  right:-6px;
  background:var(--accent-strong);
  color:#fff;
  border-radius:999px;
  font-size:11px;
  padding:2px 6px;
}

/* Drawer */
.drawer{
  position:fixed;
  inset:0;
  z-index:1100;
  pointer-events:none;
  opacity:0;
  transition:opacity .2s ease;
}
.drawer.open{
  opacity:1;
  pointer-events:auto;
}
.drawer-backdrop{
  position:absolute;
  inset:0;
  background:rgba(20,16,12,.5);
  border:none;
}
.drawer-panel{
  position:absolute;
  top:0;
  left:0;
  width:min(320px,86vw);
  height:100%;
  background:var(--surface);
  padding:20px;
  box-shadow:var(--shadow);
  transform:translateX(-100%);
  transition:transform .25s ease;
}
.drawer.open .drawer-panel{transform:translateX(0)}
.drawer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
}
.drawer-links{
  display:flex;
  flex-direction:column;
  gap:14px;
  font-size:15px;
}
.drawer-category,
.drawer-category-link{
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 12px 4px;
}
.drawer-category summary,
.drawer-category-link{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:500;
  font-size: 16px;
  color: var(--text);
}
.drawer-category summary::-webkit-details-marker{
  display:none;
}
.drawer-category summary::after{
  content: "\f285"; /* bootstrap-icons right chevron */
  font-family: "bootstrap-icons";
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.3s ease;
}
.drawer-category[open] summary::after{
  transform: rotate(90deg);
}
.drawer-category-link:hover{
  color:var(--text);
}
.drawer-sub-links{
  margin-top:8px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.drawer-all-link{
  color:var(--accent-strong);
  font-size:13px;
}
.drawer-sub-links a{
  font-size:14px;
  color:var(--muted);
}
.drawer-sub-links a:hover{
  color:var(--text);
}

/* Hero */
.hero{padding:28px 0 40px}
.hero-slider{
  background:var(--surface);
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.hero-track{
  display:flex;
  transition:transform .5s ease;
}
.hero-slide{
  min-width:100%;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
  gap:10px;
  padding:30px;
}
.hero-media{
  position:relative;
  min-height:360px;
  border-radius:var(--radius);
  overflow:hidden;
}
.hero-media img{object-fit:cover}
.hero-content h1{
  margin:0 0 12px;
  font-family:var(--font-display);
  font-size:44px;
}
.hero-text{color:var(--muted);margin:0 0 20px}
.hero-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px 20px;
}
.hero-dots{display:flex;gap:8px}
.dot{
  width:8px;
  height:8px;
  border-radius:999px;
  border:1px solid var(--accent);
  background:transparent;
  cursor:pointer;
}
.dot.active{background:var(--accent)}

/* Categories */
.category-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.category-card{
  display:flex;
  align-items:center;
  min-height:96px;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:0 12px 24px rgba(20,16,12,.06);
  transition:transform .2s ease;
}
.category-card:hover{transform:translateY(-4px)}
.category-body{
  width:100%;
  padding:20px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:15px;
}
.category-body h3{margin:0;font-family:var(--font-display)}
.category-body span{color:var(--accent-strong)}

/* Products */
.product-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.showcase{
  padding-top:40px;
}
.showcase-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.product-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}
.product-media{
  display:block;
  position:relative;
  aspect-ratio:4/5;
  overflow:hidden;
}
.product-media img{
  object-fit:cover;
  transition:opacity .18s ease;
}
.product-badges{
  position:absolute;
  left:12px;
  top:12px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.badge{
  background:rgba(245, 196, 36, 0.92);
  border-radius:999px;
  padding:4px 8px;
  font-size:11px;
  border:1px solid var(--line);
}
.product-body{padding:16px}
.product-category{margin:0 0 6px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.product-title{margin:0 0 10px;font-size:16px;font-family:var(--font-display)}
.product-price{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.product-price .compare{text-decoration:line-through;color:var(--muted);font-size:13px}

/* Buttons */
.primary-btn{
  background:var(--accent-strong);
  color:#fff;
  border:none;
  border-radius:999px;
  padding:12px 18px;
  cursor:pointer;
}
.secondary-btn{
  border:1px solid var(--accent-strong);
  color:var(--accent-strong);
  background:transparent;
  border-radius:999px;
  padding:10px 16px;
  cursor:pointer;
}
.secondary-btn.small{padding:8px 12px;font-size:13px}
.ghost-btn{
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--surface);
  cursor:pointer;
}
.text-link{color:var(--accent-strong);font-size:14px}
.text-btn{
  border:none;
  background:none;
  color:var(--accent-strong);
  cursor:pointer;
}
.result-count{
  font-size:14px;
  color:var(--muted);
}

/* Filters */
.filters{
  display:grid;
  grid-template-columns:1.2fr .8fr .6fr auto;
  gap:20px;
  padding:20px 0 28px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  margin-bottom:28px;
  align-items:end;
}
.filter-group{display:flex;flex-direction:column;gap:10px}
.filter-label{margin:0;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.filter-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pill{
  border:1px solid var(--line);
  border-radius:999px;
  padding:8px 14px;
  background:var(--surface);
  cursor:pointer;
  font-size:13px;
}
.pill.active{
  border-color:var(--accent-strong);
  color:var(--accent-strong);
}
.range-fields{
  display:flex;
  align-items:center;
  gap:10px;
}
.range-fields input{
  width:110px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--surface);
}
.range-hint{
  display:block;
  font-size:11px;
  color:var(--muted);
  margin-top:6px;
}
.range-sep{color:var(--muted)}
.filters select{
  border:1px solid var(--line);
  border-radius:12px;
  padding:8px 10px;
  background:var(--surface);
}

/* Newsletter */
.newsletter{
  background:var(--surface);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.newsletter-inner{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
  align-items:center;
}
.newsletter-form{
  display:flex;
  gap:10px;
  align-items:center;
}
.newsletter-form input{
  flex:1;
  border-radius:999px;
  border:1px solid var(--line);
  padding:12px 14px;
  background:#fff;
}

/* Forms */
.form{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.form label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:14px;
}
.form input{
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 14px;
  background:#fff;
}
.coupon-row{
  display:flex;
  gap:10px;
  align-items:center;
}
.coupon-row input{
  flex:1;
}
.form-error{
  color:#b91c1c;
  font-size:13px;
  margin:0;
}
.form-footer{
  margin-top:12px;
  font-size:14px;
}
.auth-layout{
  display:flex;
  justify-content:center;
}
.auth-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  width:min(420px,100%);
  box-shadow:var(--shadow);
}

/* Account */
.account-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
.account-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
}
.account-info p{margin:8px 0}
.account-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* Footer */
.site-footer{
  background:#15120e;
  color:#f6f1ea;
  padding:40px 0;
}
.footer-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}
.footer-brand{max-width:320px}
.footer-brand p{color:rgba(246,241,234,.72)}
.footer-cols{
  display:grid;
  grid-template-columns:repeat(3,minmax(140px,1fr));
  gap:20px;
}
.footer-cols h4{margin:0 0 10px;font-size:13px;text-transform:uppercase;letter-spacing:.1em;color:rgba(246,241,234,.6)}
.footer-cols a{display:block;color:rgba(246,241,234,.85);margin-bottom:8px;font-size:14px}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  padding-top:20px;
  margin-top:24px;
  border-top:1px solid rgba(246,241,234,.1);
  font-size:13px;
}
.muted{color:var(--muted)}

/* Instagram */
.instagram-grid{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:10px;
}
.instagram-card{
  display:block;
  position:relative;
  aspect-ratio:1/1;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line);
}

/* Blog */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.blog-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.blog-media{
  position:relative;
  aspect-ratio:16/10;
}
.blog-body{
  padding:16px;
}
.blog-body h3{
  margin:8px 0 10px;
  font-family:var(--font-display);
}
.blog-date{
  font-size:12px;
  color:var(--muted);
  margin:0;
}

/* Testimonials */
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.testimonial-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px;
}
.testimonial-card p{color:var(--muted)}
.stars{color:#c79b5d;letter-spacing:.1em}
.testimonial-name{display:block;margin-top:14px;font-weight:600}

/* Product detail */
.product-detail{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:32px;
  align-items:start;
}
.product-hero{
  position:relative;
  aspect-ratio:4/5;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
}
.product-thumbs{
  display:flex;
  gap:10px;
  margin-top:12px;
}
.thumb{
  position:relative;
  width:70px;
  height:90px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--line);
  padding:0;
  background:transparent;
  cursor:pointer;
}
.thumb.active{
  border-color:var(--accent-strong);
  box-shadow:0 0 0 2px rgba(110,79,54,.18);
}
.product-color-catalog{margin-bottom:24px}
.product-color-catalog label{display:block;font-size:.9rem;margin-bottom:8px;font-weight:600}
.color-thumbs{display:flex;gap:10px;flex-wrap:wrap}
.color-thumb{
  width:46px;
  height:58px;
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden;
  opacity:.65;
  transition:all .2s ease;
}
.color-thumb img{width:100%;height:100%;object-fit:cover}
.color-thumb:hover{opacity:1;border-color:var(--muted)}
.color-thumb.active{opacity:1;border:2px solid var(--accent-strong)}
.product-info h1{
  margin:0 0 16px;
  font-family:var(--font-display);
  font-size:36px;
}
.product-price.detail{margin-bottom:16px}
.product-desc{color:var(--muted)}
.product-actions{display:flex;gap:12px;margin:24px 0}
.product-meta{padding:0;margin:0;list-style:none;color:var(--muted)}
.product-meta li{margin-bottom:8px}
.product-size-chart{
  margin-top:24px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--surface);
  overflow:hidden;
}
.product-size-chart h2{
  margin:0;
  padding:14px 16px;
  font-size:20px;
  font-family:var(--font-display);
  border-bottom:1px solid var(--line);
}
.size-chart-wrap{
  overflow-x:auto;
}
.size-chart-table{
  width:100%;
  border-collapse:collapse;
  min-width:420px;
}
.size-chart-table th,
.size-chart-table td{
  padding:10px 12px;
  text-align:left;
  border-bottom:1px solid var(--line);
  font-size:14px;
}
.size-chart-table thead th{
  background:#faf8f5;
}
.size-chart-table tbody tr:last-child th,
.size-chart-table tbody tr:last-child td{
  border-bottom:none;
}
.product-suggestion{
  margin-top:26px;
  padding:20px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--surface);
}
.product-suggestion h2{
  margin:0 0 12px;
  font-family:var(--font-display);
  font-size:26px;
}
.product-suggestion-intro{
  margin:0 0 16px;
  color:var(--muted);
  font-size:14px;
}
.product-suggestion-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.product-suggestion-options{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.product-suggestion-option{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:15px;
}
.product-suggestion-option input{
  margin-top:3px;
}
.product-suggestion-notes-label{
  font-size:14px;
  font-weight:600;
}
.product-suggestion-notes{
  width:100%;
  min-height:120px;
  resize:vertical;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  padding:12px 14px;
  font:inherit;
}
.product-suggestion-submit{
  width:100%;
}
@media (min-width:768px){
  .product-suggestion-submit{width:fit-content}
}

/* Reviews */
.product-reviews-section{padding:48px 0;background:#fff;border-top:1px solid var(--line)}
.product-reviews-section h2{margin:0 0 24px;font-family:var(--font-display);font-size:28px}
.reviews-layout{display:grid;gap:32px;grid-template-columns:1fr}
@media (min-width:1024px){
  .reviews-layout{grid-template-columns:1fr 2fr;gap:48px}
}
.review-form-container{background:var(--bg);padding:24px;border-radius:18px;height:fit-content}
.review-list{display:flex;flex-direction:column;gap:24px}
.review-item{padding-bottom:20px;border-bottom:1px solid var(--line)}
.review-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.review-user{font-weight:600}
.review-date{color:var(--muted);font-size:13px}
.review-rating{color:#ffb400;margin-bottom:10px}
.review-comment{line-height:1.6;color:#333}
.review-stats{display:flex;align-items:center;gap:15px;margin-bottom:24px;flex-wrap:wrap}
.average-rating-num{font-size:32px;font-weight:700;color:var(--text)}
.review-count{color:var(--muted);font-size:14px}
.reviews-empty{text-align:center;padding:40px 0;background:var(--bg);border-radius:18px;color:var(--muted)}
.star-rating{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:5px}
.star-rating input{display:none}
.star-rating label{font-size:24px;color:#ccc;cursor:pointer;transition:color .2s ease}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label{color:#ffb400}

/* Cart */
.cart-layout{
  display:grid;
  grid-template-columns:1.4fr .6fr;
  gap:24px;
  margin-top:24px;
}
.cart-item{
  display:grid;
  grid-template-columns:90px 1fr auto;
  gap:16px;
  padding:16px 0;
  border-bottom:1px solid var(--line);
}
.cart-media{
  position:relative;
  width:90px;
  height:110px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--line);
}
.cart-info h3{margin:0 0 6px}
.cart-qty{display:flex;align-items:center;gap:8px}
.cart-qty button{
  width:28px;
  height:28px;
  border-radius:50%;
  border:1px solid var(--line);
  background:var(--surface);
}
.cart-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
}
.cart-summary{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px;
  height:fit-content;
}
.cart-summary-wrapper{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.summary-row{
  display:flex;
  justify-content:space-between;
  margin-bottom:12px;
}
.summary-row.total{font-weight:600}
.cart-empty{
  text-align:center;
  padding:40px 0;
}

/* Checkout */
.checkout-layout{
  display:grid;
  grid-template-columns:1.4fr .6fr;
  gap:24px;
}
.checkout-main section{margin-bottom:24px}
.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.form-grid .full{grid-column:1 / -1}
.card-grid{margin-top:16px}
.checkout-steps{
  display:flex;
  gap:12px;
  margin-bottom:20px;
}
.step{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:13px;
}
.step.active{
  border-color:var(--accent-strong);
  color:var(--accent-strong);
}
.step-index{
  width:20px;
  height:20px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:var(--accent-strong);
  color:#fff;
  font-size:11px;
}
.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.selection-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.selection-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.selection-card.active {
    border-color: var(--accent-strong);
    background: #fdfaf7;
    box-shadow: 0 8px 20px rgba(110, 79, 54, 0.08);
}

.selection-detail {
    display: flex;
    align-items: center;
    gap: 16px;
}

.selection-radio {
    position: relative;
    width: 20px;
    height: 20px;
}

.selection-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-radio {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid var(--line);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.selection-card.active .custom-radio {
    border-color: var(--accent-strong);
    background-color: #fff;
}

.custom-radio:after {
    content: "";
    position: absolute;
    display: none;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-strong);
}

.selection-card.active .custom-radio:after {
    display: block;
}

.selection-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.method-name {
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}

.method-eta {
    font-size: 13px;
    color: var(--muted);
}

.selection-price {
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
}

.free-badge {
    color: #10b981;
    font-weight: 600;
    font-size: 14px;
    background: #ecfdf5;
    padding: 4px 10px;
    border-radius: 12px;
}
.demo-note{
  font-size:12px;
  color:var(--muted);
  margin-top:12px;
}
.checkout-empty{
  text-align:center;
  padding:40px 0;
}

/* Orders */
.order-list{
  display:grid;
  gap:14px;
  margin-top:20px;
}
.order-card{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  padding:18px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.order-card h3{margin:6px 0}
.order-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
}
.order-detail{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:24px;
}
.order-item{
  display:grid;
  grid-template-columns:80px 1fr auto;
  gap:16px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
.order-media{
  position:relative;
  width:80px;
  height:100px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--line);
}
.order-summary{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  height:fit-content;
}
.order-meta p{margin:8px 0}
.order-timeline{margin-top:24px}
.timeline{
  display:flex;
  flex-direction:column;
  gap:14px;
  border-left:2px solid var(--line);
  padding-left:16px;
}
.timeline-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.timeline-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:var(--accent-strong);
  margin-top:6px;
}
.timeline-label{margin:0;font-weight:600}
.timeline-date{font-size:12px;color:var(--muted)}
.order-empty{
  text-align:center;
  padding:40px 0;
}

/* Success */
.success-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  text-align:center;
}
.success-summary{
  display:flex;
  justify-content:center;
  gap:40px;
  margin:20px 0;
}
.success-actions{
  display:flex;
  justify-content:center;
  gap:12px;
}

/* Responsive */
@media (max-width: 1024px){
  .hero-slide{grid-template-columns:1fr;gap:24px}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .product-detail{grid-template-columns:1fr}
  .cart-layout{grid-template-columns:1fr}
  .checkout-layout{grid-template-columns:1fr}
  .order-detail{grid-template-columns:1fr}
  .filters{grid-template-columns:1fr;align-items:start}
  .showcase-grid{grid-template-columns:repeat(2,1fr)}
  .instagram-grid{grid-template-columns:repeat(3,1fr)}
  .blog-grid{grid-template-columns:repeat(2,1fr)}
  .testimonial-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 900px){
  .site-logo{margin-right:0}
  .nav-links{display:none}
  .header-inner{grid-template-columns:auto 1fr auto}
  .search-field{display:none}
  .account-actions{display:flex;gap:8px}
  .account-actions .text-link{display:none}
  .header-account-dropdown{
    right:0;
    left:auto;
    min-width:210px;
  }
}
@media (max-width: 640px){
  .section{padding:48px 0}
  .legal-card{
    padding:22px 18px;
  }
  .legal-card h1{
    font-size:30px;
  }
  .legal-card h2{
    font-size:22px;
  }
  .hero-content h1{font-size:32px}
  .category-grid{grid-template-columns:1fr}
  .product-grid{grid-template-columns:1fr}
  .showcase-grid{grid-template-columns:1fr}
  .newsletter-inner{grid-template-columns:1fr}
  .footer-cols{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .cart-item{grid-template-columns:70px 1fr}
  .cart-actions{align-items:flex-start}
  .form-grid{grid-template-columns:1fr}
  .selection-grid{grid-template-columns:1fr}
  .order-card{grid-template-columns:1fr}
  .order-item{grid-template-columns:70px 1fr}
  .success-summary{flex-direction:column;gap:12px}
  .success-actions{flex-direction:column}
  .topbar-inner{flex-direction:column;align-items:flex-start}
  .instagram-grid{grid-template-columns:repeat(2,1fr)}
  .blog-grid{grid-template-columns:1fr}
  .testimonial-grid{grid-template-columns:1fr}
}

/* Admin */
.admin-layout{
  display:flex;
  min-height:100vh;
  background:#f7f5f2;
}
.admin-sidebar{
  width:240px;
  padding:28px 20px;
  background:#11110f;
  color:#f2f2ee;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.admin-brand{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.admin-title{
  font-size:18px;
  font-weight:600;
}
.admin-sub{
  font-size:12px;
  color:#b7b7ad;
}
.admin-note{
  margin-top:auto;
  font-size:12px;
  color:#9a9a8f;
  line-height:1.5;
}
.admin-nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.admin-nav a{
  color:#e3e3d8;
  padding:8px 10px;
  border-radius:10px;
  transition:background 0.2s ease;
}
.admin-nav a.active,
.admin-nav a:hover{
  background:#2a2a24;
}
.admin-main{
  flex:1;
  padding:32px 36px;
}
.admin-page{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.admin-page-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.admin-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
}
.admin-card{
  background:#fff;
  padding:18px 20px;
  border-radius:16px;
  border:1px solid #ece9e0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.admin-form{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.admin-form.inline{
  flex-direction:row;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.admin-form-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}
.admin-form-grid .full{
  grid-column:1 / -1;
}
.admin-image-preview{
  width:220px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid #ece9e0;
}
.admin-table{
  display:flex;
  flex-direction:column;
  border:1px solid #ece9e0;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
.admin-row{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  padding:14px 16px;
  gap:12px;
  align-items:center;
  border-bottom:1px solid #f1eee7;
}
.admin-row:last-child{
  border-bottom:none;
}
.admin-head{
  background:#f6f3ec;
  font-weight:600;
  color:#2e2b25;
}
.admin-actions{
  display:flex;
  gap:10px;
  align-items:center;
}
.admin-filters{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}
.file-input{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:#f1efe9;
  color:#2e2b25;
  font-weight:600;
  cursor:pointer;
}
.file-input input{
  display:none;
}
.danger-btn{
  background:#e46b5b;
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:999px;
  cursor:pointer;
}
.text-btn.danger{
  color:#d14a3a;
}
@media (max-width: 900px){
  .admin-layout{
    flex-direction:column;
  }
  .admin-sidebar{
    width:100%;
    flex-direction:row;
    flex-wrap:wrap;
  }
  .admin-main{
    padding:24px;
  }
  .admin-row{
    grid-template-columns:1fr 1fr;
  }
}

/* Star Rating */
.star-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 5px; }
.star-rating input { display: none; }
.star-rating label { font-size: 24px; color: #ccc; cursor: pointer; transition: color 0.2s; }
.star-rating label:hover, .star-rating label:hover ~ label, .star-rating input:checked ~ label { color: #f5b301; }
.star-rating label:hover::before, .star-rating label:hover ~ label::before, .star-rating input:checked ~ label::before { content: '?'; position: absolute; }

