@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

:root{
  --ink:#1a1a1a;
  --charcoal:#2b2b2b;
  --cream:#f7f4ef;
  --cream-dark:#eee9e0;
  --line:#e4dfd5;
  --muted:#8a8378;
  --gold:#b8935f;
  --white:#ffffff;
  --danger:#c0524a;
  --success:#4c8a5e;
  --radius:2px;
  --serif:'Cormorant Garamond', Georgia, serif;
  --sans:'Jost', 'Helvetica Neue', Arial, sans-serif;
}
*{ box-sizing:border-box; margin:0; padding:0; }
body{ font-family:var(--sans); color:var(--ink); background:var(--white); line-height:1.5; -webkit-font-smoothing:antialiased; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }
.container{ max-width:1280px; margin:0 auto; padding:0 32px; }

.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:14px 28px; font-size:12.5px; letter-spacing:0.1em; font-weight:500; border-radius:var(--radius); border:1px solid transparent; transition:all .2s; }
.btn-dark{ background:var(--ink); color:var(--white); }
.btn-dark:hover{ background:#000; }
.btn-outline{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn-outline:hover{ background:var(--ink); color:var(--white); }
.btn-block{ width:100%; }

/* ---------- Top bar ---------- */
.top-bar{ background:var(--ink); color:#eee; font-size:12.5px; text-align:center; padding:9px 20px; }

/* ---------- Header ---------- */
.site-header{ border-bottom:1px solid var(--line); padding:18px 0; background:var(--white); position:sticky; top:0; z-index:400; }
.header-row1{ display:flex; justify-content:space-between; align-items:center; font-size:12px; color:var(--muted); padding-bottom:14px; margin-bottom:14px; border-bottom:1px solid var(--line); }
.lang-currency{ display:flex; gap:16px; align-items:center; }
.lang-currency select{ border:none; background:none; font-size:12px; color:var(--muted); font-family:inherit; }
.header-row2{ display:flex; align-items:center; justify-content:space-between; gap:30px; }
.logo{ text-align:center; font-family:var(--serif); }
.logo .l1{ font-size:30px; letter-spacing:0.25em; font-weight:600; }
.logo .l2{ font-size:9.5px; letter-spacing:0.35em; color:var(--muted); font-family:var(--sans); display:block; margin-top:2px; }
.header-icons{ display:flex; align-items:center; gap:22px; }
.header-icons a{ position:relative; font-size:18px; color:var(--ink); }
.cart-badge{ position:absolute; top:-8px; right:-10px; background:var(--ink); color:var(--white); font-size:10px; width:17px; height:17px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.search-box{ flex:1; max-width:360px; position:relative; }
.search-box input{ width:100%; border:1px solid var(--line); padding:10px 14px 10px 36px; font-size:13px; border-radius:20px; font-family:inherit; }
.search-box .icon{ position:absolute; left:13px; top:10px; color:var(--muted); font-size:13px; }

.main-nav{ display:flex; justify-content:center; gap:34px; padding-top:16px; }
.main-nav a{ font-size:12.5px; letter-spacing:0.1em; font-weight:500; color:var(--ink); padding-bottom:6px; border-bottom:2px solid transparent; }
.main-nav a:hover, .main-nav a.active{ border-color:var(--gold); color:var(--gold); }
.menu-toggle{ display:none; background:none; border:none; font-size:22px; }

/* ---------- Hero ---------- */
.hero{ background:var(--cream); position:relative; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1fr 1fr; align-items:center; min-height:560px; }
.hero-text{ padding:40px 20px 40px 60px; }
.hero-text .eyebrow{ font-size:12px; letter-spacing:0.2em; color:var(--gold); font-weight:500; margin-bottom:14px; }
.hero-text h1{ font-family:var(--serif); font-size:clamp(34px,4.2vw,52px); font-weight:600; line-height:1.15; margin-bottom:20px; }
.hero-text p{ color:#555; max-width:420px; margin-bottom:30px; font-size:15px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.hero-image{ position:relative; height:100%; min-height:560px; }
.hero-image img{ width:100%; height:100%; object-fit:cover; }
.hero-dots{ position:absolute; bottom:24px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:5; }
.hero-dots span{ width:7px; height:7px; border-radius:50%; background:rgba(0,0,0,0.2); }
.hero-dots span.active{ background:var(--ink); width:22px; border-radius:4px; }
.hero-arrow{ position:absolute; top:50%; transform:translateY(-50%); width:42px; height:42px; border-radius:50%; background:var(--white); display:flex; align-items:center; justify-content:center; box-shadow:0 4px 14px rgba(0,0,0,0.08); z-index:5; font-size:16px; }
.hero-arrow.left{ left:16px; } .hero-arrow.right{ right:16px; }

/* ---------- Category icons row ---------- */
.cat-row{ border-bottom:1px solid var(--line); }
.cat-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(180px,1fr)); }
.cat-item{ padding:38px 20px; text-align:center; border-right:1px solid var(--line); transition:background .2s; }
.cat-item:last-child{ border-right:none; }
.cat-item:hover{ background:var(--cream); }
.cat-item .icon{ font-size:30px; margin-bottom:14px; color:var(--ink); }
.cat-item .name{ font-size:13px; font-weight:600; letter-spacing:0.06em; }
.cat-item .sub{ font-size:11px; color:var(--muted); margin-top:3px; }

/* ---------- Section heading ---------- */
.section{ padding:56px 0; }
.section-head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:28px; }
.section-head h2{ font-family:var(--sans); font-size:14px; font-weight:700; letter-spacing:0.14em; }
.section-head .view-all{ font-size:12px; letter-spacing:0.08em; color:var(--muted); border-bottom:1px solid var(--muted); }
.section-head .view-all:hover{ color:var(--ink); border-color:var(--ink); }

/* ---------- Product grid ---------- */
.product-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:24px; }
.product-card{ position:relative; }
.product-card .thumb{ position:relative; aspect-ratio:4/5; background:var(--cream); overflow:hidden; margin-bottom:14px; }
.product-card .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.product-card:hover .thumb img{ transform:scale(1.05); }
.product-card .wish{ position:absolute; top:12px; right:12px; width:34px; height:34px; background:var(--white); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; box-shadow:0 2px 8px rgba(0,0,0,0.06); }
.product-card .wish:hover{ color:var(--danger); }
.product-card .badge{ position:absolute; top:12px; left:12px; background:var(--ink); color:var(--white); font-size:10.5px; padding:4px 10px; border-radius:2px; letter-spacing:0.05em; }
.product-card .name{ font-size:14.5px; font-weight:600; margin-bottom:4px; }
.product-card .desc{ font-size:12px; color:var(--muted); margin-bottom:6px; }
.product-card .stars{ font-size:11.5px; color:var(--gold); margin-bottom:8px; }
.product-card .stars .count{ color:var(--muted); margin-left:4px; }
.product-card .price-row{ display:flex; align-items:baseline; gap:8px; margin-bottom:12px; }
.product-card .price{ font-size:16px; font-weight:600; }
.product-card .compare-price{ font-size:13px; color:var(--muted); text-decoration:line-through; }
.product-card form{ display:block; }

/* ---------- Promo banner ---------- */
.promo-banner{ position:relative; border-radius:6px; overflow:hidden; min-height:280px; display:flex; align-items:center; background:var(--charcoal); }
.promo-banner img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0.55; }
.promo-content{ position:relative; z-index:2; padding:50px 60px; color:var(--white); }
.promo-content .eyebrow{ font-size:12px; letter-spacing:0.2em; color:var(--gold); margin-bottom:10px; }
.promo-content h3{ font-family:var(--serif); font-size:clamp(28px,4vw,42px); font-weight:600; margin-bottom:6px; }
.promo-content p{ font-size:14px; color:#ddd; margin-bottom:22px; }

/* ---------- Newsletter ---------- */
.newsletter{ background:var(--cream); padding:60px 0; text-align:center; }
.newsletter h3{ font-family:var(--serif); font-size:28px; margin-bottom:8px; }
.newsletter p{ color:#666; margin-bottom:24px; }
.newsletter-form{ display:flex; max-width:420px; margin:0 auto; gap:10px; }
.newsletter-form input{ flex:1; padding:13px 16px; border:1px solid var(--line); border-radius:2px; font-family:inherit; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:#ccc; padding:60px 0 0; margin-top:40px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:34px; padding-bottom:44px; border-bottom:1px solid #3a3a3a; }
.footer-col h5{ color:var(--white); font-size:12.5px; letter-spacing:0.1em; margin-bottom:18px; }
.footer-col p, .footer-col a{ font-size:13px; color:#aaa; margin-bottom:10px; display:block; }
.footer-col a:hover{ color:var(--white); }
.footer-logo{ font-family:var(--serif); font-size:24px; color:var(--white); margin-bottom:14px; }
.footer-social{ display:flex; gap:10px; margin-top:14px; }
.footer-social a{ width:34px; height:34px; border:1px solid #444; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#ccc; }
.footer-bottom{ display:flex; justify-content:space-between; padding:20px 0; font-size:12px; color:#888; }

/* ---------- Generic page blocks (cart/checkout/account/product) ---------- */
.page-title{ font-family:var(--serif); font-size:32px; margin:34px 0 24px; }
.breadcrumb{ font-size:12px; color:var(--muted); margin-top:24px; }
.breadcrumb a:hover{ color:var(--ink); }

.product-detail{ display:grid; grid-template-columns:1fr 1fr; gap:56px; padding:40px 0 60px; }
.pd-gallery-main{ aspect-ratio:1/1; background:var(--cream); margin-bottom:14px; overflow:hidden; }
.pd-gallery-main img{ width:100%; height:100%; object-fit:cover; }
.pd-gallery-thumbs{ display:flex; gap:10px; }
.pd-gallery-thumbs img{ width:70px; height:70px; object-fit:cover; border:1px solid var(--line); cursor:pointer; }
.pd-info h1{ font-family:var(--serif); font-size:32px; margin-bottom:10px; }
.pd-info .price-row{ display:flex; align-items:baseline; gap:12px; margin:16px 0; }
.pd-info .price{ font-size:26px; font-weight:600; }
.pd-qty{ display:flex; align-items:center; border:1px solid var(--line); width:fit-content; margin:20px 0; }
.pd-qty button{ width:38px; height:38px; background:none; border:none; font-size:16px; }
.pd-qty input{ width:50px; text-align:center; border:none; font-size:14px; }
.pd-stock{ font-size:13px; color:var(--success); margin:10px 0; }
.pd-tabs{ display:flex; gap:26px; border-bottom:1px solid var(--line); margin:40px 0 24px; }
.pd-tabs button{ background:none; border:none; padding:10px 0; font-size:13px; letter-spacing:0.05em; font-weight:600; color:var(--muted); border-bottom:2px solid transparent; }
.pd-tabs button.active{ color:var(--ink); border-color:var(--gold); }
.pd-tab-content{ display:none; font-size:14px; color:#444; line-height:1.7; }
.pd-tab-content.active{ display:block; }

.review-item{ border-bottom:1px solid var(--line); padding:18px 0; }
.review-item .stars{ color:var(--gold); font-size:13px; }
.review-item .name{ font-weight:600; font-size:13.5px; margin-top:4px; }
.review-item .date{ font-size:11.5px; color:var(--muted); }
.review-item p{ margin-top:8px; font-size:14px; }

.cart-table{ width:100%; border-collapse:collapse; margin-bottom:30px; }
.cart-table th{ text-align:left; font-size:11.5px; letter-spacing:0.08em; color:var(--muted); padding:12px 10px; border-bottom:1px solid var(--line); }
.cart-table td{ padding:16px 10px; border-bottom:1px solid var(--line); vertical-align:middle; }
.cart-product{ display:flex; align-items:center; gap:14px; }
.cart-product img{ width:64px; height:64px; object-fit:cover; background:var(--cream); }
.cart-summary{ max-width:380px; margin-left:auto; background:var(--cream); padding:26px; border-radius:6px; }
.summary-row{ display:flex; justify-content:space-between; font-size:14px; margin-bottom:12px; color:#444; }
.summary-row.total{ font-weight:700; font-size:17px; color:var(--ink); border-top:1px solid var(--line); padding-top:14px; margin-top:14px; }
.coupon-row{ display:flex; gap:8px; margin:18px 0; }
.coupon-row input{ flex:1; padding:11px 14px; border:1px solid var(--line); font-family:inherit; }

.checkout-grid{ display:grid; grid-template-columns:1.3fr 1fr; gap:40px; padding:30px 0 60px; }
.checkout-form .form-group{ margin-bottom:16px; }
.checkout-form label{ display:block; font-size:12.5px; margin-bottom:6px; color:#555; }
.checkout-form input, .checkout-form select, .checkout-form textarea{ width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:2px; font-family:inherit; font-size:14px; }
.checkout-form .form-row-2{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.payment-option{ border:1px solid var(--line); border-radius:4px; padding:16px; margin-bottom:12px; display:flex; align-items:center; gap:12px; cursor:pointer; }
.payment-option.selected{ border-color:var(--gold); background:#fdfaf5; }

.form-msg{ margin-top:14px; font-size:13px; padding:10px 14px; border-radius:2px; display:none; }
.form-msg.ok{ display:block; background:#eef7ee; color:var(--success); border:1px solid #cbe6cd; }
.form-msg.err{ display:block; background:#fbeceb; color:var(--danger); border:1px solid #f0c9c6; }

.account-box{ max-width:420px; margin:50px auto; padding:40px; border:1px solid var(--line); border-radius:6px; }
.account-box h2{ font-family:var(--serif); font-size:26px; margin-bottom:20px; text-align:center; }

@media (max-width:1024px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-image{ min-height:340px; order:-1; }
  .product-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .product-detail, .checkout-grid{ grid-template-columns:1fr; }
}
@media (max-width:720px){
  .main-nav{ position:fixed; top:0; right:-100%; width:78%; height:100vh; background:var(--white); flex-direction:column; padding:100px 30px; gap:26px; transition:right .3s; z-index:490; box-shadow:-4px 0 20px rgba(0,0,0,0.08); }
  .main-nav.open{ right:0; }
  .menu-toggle{ display:block; }
  .search-box{ display:none; }
  .cat-grid{ grid-template-columns:repeat(2,1fr); }
  .product-grid{ grid-template-columns:repeat(2,1fr); gap:14px; }
  .footer-grid{ grid-template-columns:1fr; }
}
