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

:root {
  --maroon-deep: #3d0912;
  --maroon: #5a0f1c;
  --gold: #c9973a;
  --gold-light: #e6c07a;
  --gold-pale: #f3dfb4;
  --cream: #fbf6ee;
  --text: #2a1a14;
  --text-secondary: #6b5345;
  --text-muted: #a8916e;
  --border: #ecdcc0;
  --border-alt: #e6d3b0;
  --footer-bg: #2a070d;
  --danger: #b5432f;
  /* aliases for older inline styles still referencing previous variable names */
  --gold-deep: var(--gold);
  --surface-alt: var(--border-alt);
  --maroon-light: var(--maroon);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); font-family: 'Jost', system-ui, sans-serif; color: var(--text); font-weight: 400; }
h1, h2, h3, h4, .font-display { font-family: 'Marcellus', serif; font-weight: 400; margin: 0; color: var(--maroon-deep); }
a { color: var(--maroon); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.eyebrow, .section-eyebrow { font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted); }
.section-alt { background: var(--border-alt); }

/* ---- Rate ticker (top bar, matching uploaded design) ---- */
.rate-ticker {
  background: var(--maroon-deep); color: var(--gold-pale); font-size: 13px; letter-spacing: 0.04em;
  padding: 9px 24px; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center;
}
.rate-ticker strong { color: white; font-weight: 500; }

/* ---- Header ---- */
.header { background: var(--cream); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header .container { padding: 14px 24px; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
.logo .name { font-family: 'Marcellus', serif; font-size: 23px; color: var(--maroon); letter-spacing: 0.03em; }
.main-nav { display: flex; gap: clamp(10px, 1.6vw, 24px); flex: 1; justify-content: center; font-size: clamp(12.5px, 1.05vw, 14px); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }
.main-nav a { color: var(--text); white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--maroon); }
.header-icons { display: flex; align-items: center; gap: 18px; }
.icon-btn { color: var(--text); font-size: 19px; position: relative; }
.wish-count { font-size: 13px; margin-left: 4px; }
.cart-pill { display: flex; align-items: center; gap: 7px; background: var(--maroon); color: white; padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.cart-pill:hover { background: var(--maroon-deep); color: white; }
.account-link { font-size: 13.5px; font-weight: 600; color: var(--maroon); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600; font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; border: none; padding: 14px 30px; transition: all 0.18s; }
.btn-gold { background: var(--gold); color: #2a0a10; }
.btn-gold:hover { background: var(--gold-light); color: #2a0a10; transform: translateY(-1px); }
.btn-outline-light { border: 1px solid var(--gold-light); color: white; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: white; }
.btn-maroon, .btn-primary { background: var(--maroon); color: white; }
.btn-maroon:hover, .btn-primary:hover { background: var(--maroon-deep); color: white; }
.btn-outline { border: 1.5px solid var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline:hover { background: var(--maroon); color: white; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---- Hero carousel ---- */
.hero { position: relative; overflow: hidden; background: var(--maroon-deep); }
.hero-track { display: flex; transition: transform 0.7s cubic-bezier(.6,.05,.25,1); }
.hero-slide { flex: 0 0 100%; position: relative; height: min(72vh, 620px); min-height: 440px; }
.hero-slide .slide-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--maroon-deep), #2a070d);
}
.hero-slide .slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,6,12,0.82) 0%, rgba(40,6,12,0.45) 45%, rgba(40,6,12,0) 75%); }
.hero-slide .slide-content { position: absolute; left: max(48px, calc((100% - 1320px) / 2 + 24px)); right: 48px; top: 50%; transform: translateY(-50%); max-width: 520px; color: white; }
.hero-slide .kicker { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-light); }
.hero-slide h1 { color: white; font-size: clamp(34px, 5vw, 66px); line-height: 1.08; margin: 16px 0 0; }
.hero-slide p { font-size: 16.5px; line-height: 1.6; color: #f3e6d0; margin: 18px 0 0; max-width: 440px; font-family: 'Jost', sans-serif; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; background: rgba(251,246,238,0.16); border: 1px solid rgba(251,246,238,0.4); display: flex; align-items: center; justify-content: center; cursor: pointer; color: white; font-size: 18px; z-index: 5; }
.hero-arrow:hover { background: rgba(251,246,238,0.28); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; z-index: 5; }
.hero-dot { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s; width: 12px; }
.hero-dot.active { width: 32px; background: var(--gold-light); }

/* ---- Sections ---- */
.section { max-width: 1320px; margin: 0 auto; padding: 64px 24px 20px; }
.section-header { text-align: center; }
.section-header h2 { font-size: 38px; margin-top: 10px; color: var(--maroon-deep); }
.section-header-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---- Circular categories ---- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 26px; margin-top: 40px; }
.category-item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.category-circle {
  width: 100%; max-width: 160px; aspect-ratio: 1; border-radius: 999px; overflow: hidden;
  border: 1px solid var(--border-alt); background: linear-gradient(150deg, #f3e8d6, #e9d3ab);
  display: flex; align-items: center; justify-content: center; transition: transform 0.2s, box-shadow 0.2s;
}
.category-item:hover .category-circle { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(61,9,18,0.15); }
.category-circle img { width: 100%; height: 100%; object-fit: cover; }
.category-label { font-size: 14.5px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }

/* ---- Trending / filter tabs ---- */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--maroon); background: transparent; color: var(--maroon); font-size: 13.5px; font-weight: 500; letter-spacing: 0.06em; cursor: pointer; font-family: 'Jost', sans-serif; }
.filter-tab.active { background: var(--maroon); color: var(--cream); }

.scroll-row { display: flex; gap: 20px; overflow-x: auto; margin-top: 34px; padding-bottom: 14px; scroll-snap-type: x mandatory; }
.product-card {
  flex: 0 0 260px; scroll-snap-align: start; background: white; border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden; display: flex; flex-direction: column;
}
.product-card .p-image { position: relative; aspect-ratio: 1; background: linear-gradient(150deg, #f6eee0, #ecd8ad); overflow:hidden; }
.product-card .p-image img { width:100%; height:100%; object-fit:cover; }
.product-card .p-badge { position: absolute; left: 12px; top: 12px; background: var(--maroon); color: var(--gold-pale); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px; }
.product-card .p-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .p-meta { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.product-card .p-name { font-size: 16px; font-weight: 500; line-height: 1.35; font-family: 'Jost', sans-serif; color: var(--text); }
.product-card .p-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.product-card .p-price { font-size: 18px; font-weight: 600; color: var(--maroon-deep); }
.product-card .p-add { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--maroon); border-bottom: 1px solid var(--gold); background:none; border-top:none; border-left:none; border-right:none; cursor:pointer; font-family:'Jost',sans-serif; padding:0; }
.price-strike { color: var(--text-muted); text-decoration: line-through; font-size: 12.5px; margin-left: 6px; }
.badge-stock { color: var(--danger); font-size: 11.5px; font-weight: 600; text-transform: uppercase; }

/* ---- Collections asymmetric grid ---- */
.collections-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.collection-big { position: relative; min-height: 460px; border-radius: 6px; overflow: hidden; background: var(--maroon-deep); }
.collection-stack { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.collection-small { position: relative; min-height: 220px; border-radius: 6px; overflow: hidden; background: var(--maroon-deep); }
.collection-bg { position: absolute; inset: 0; background: linear-gradient(160deg, #4a0f18, #2a070d); }
.collection-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(40,6,12,0.85) 0%, rgba(40,6,12,0) 60%); }
.collection-text { position: absolute; left: 28px; right: 28px; bottom: 28px; color: white; }
.collection-small .collection-text { left: 24px; bottom: 22px; }
.collection-text .eyebrow { color: var(--gold-light); }
.collection-text .title { font-family: 'Marcellus', serif; font-size: 34px; margin-top: 8px; }
.collection-small .collection-text .title { font-size: 26px; }
.collection-text .desc { font-size: 14.5px; color: #f3e6d0; margin-top: 6px; }

/* ---- Promises strip ---- */
.promises-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--border-alt); border: 1px solid var(--border-alt); border-radius: 6px; overflow: hidden; }
.promise-cell { background: var(--cream); padding: 28px 26px; }
.promise-cell .title { font-family: 'Marcellus', serif; font-size: 21px; color: var(--maroon-deep); }
.promise-cell .body { font-size: 14px; color: var(--text-secondary); margin-top: 8px; line-height: 1.55; }

/* ---- Gold Plan banner ---- */
.plan-banner { background: var(--maroon); border-radius: 6px; padding: 48px 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; justify-content: space-between; }
.plan-banner .eyebrow { color: var(--gold-light); }
.plan-banner .title { font-family: 'Marcellus', serif; font-size: 36px; margin-top: 10px; line-height: 1.15; color: white; }
.plan-banner .body { font-size: 15.5px; color: #f3e6d0; margin-top: 12px; line-height: 1.6; max-width: 600px; }

/* ---- Forms ---- */
.form-card { max-width: 440px; margin: 60px auto; background: white; border: 1px solid var(--border); border-radius: 10px; padding: 40px; }
.form-card h1 { text-align: center; font-size: 27px; margin-bottom: 6px; }
.form-card .subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 28px; font-size: 14.5px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-weight: 500; font-size: 13px; margin-bottom: 6px; letter-spacing: 0.03em; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 4px; font-size: 14.5px; font-family: inherit; background: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: white; }
.form-error { background: #fbe9e5; color: var(--danger); padding: 11px 15px; border-radius: 6px; font-size: 13.5px; margin-bottom: 18px; }
.form-footer-link { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-secondary); }
.form-footer-link a { color: var(--maroon); font-weight: 600; }

/* ---- Cart / checkout ---- */
.cart-item { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 84px; height: 84px; border-radius: 6px; object-fit: cover; background: var(--border-alt); }
.cart-item .ci-info { flex: 1; }
.qty-form { display: flex; align-items: center; gap: 8px; }
.qty-form input { width: 56px; padding: 7px 8px; border: 1px solid var(--border); border-radius: 4px; text-align: center; }
.cart-summary { background: white; border: 1px solid var(--border); border-radius: 6px; padding: 26px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 11px; font-size: 14.5px; }
.summary-row.total { font-weight: 700; font-size: 18px; color: var(--maroon-deep); border-top: 1px solid var(--border); padding-top: 13px; margin-top: 13px; font-family: 'Marcellus', serif; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.payment-option { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid var(--border); border-radius: 6px; margin-bottom: 11px; cursor: pointer; }
.payment-option.selected { border-color: var(--gold); background: rgba(201,151,58,0.08); }

/* ---- Orders ---- */
.order-card { background: white; border: 1px solid var(--border); border-radius: 6px; padding: 22px; margin-bottom: 18px; }
.status-pill { display: inline-block; padding: 4px 13px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.status-pending { background: rgba(201,151,58,0.15); color: var(--gold); }
.status-confirmed, .status-shipped { background: rgba(74,144,226,0.12); color: #4A90E2; }
.status-delivered { background: rgba(61,170,92,0.12); color: #3DAA5C; }
.status-cancelled { background: rgba(181,67,47,0.12); color: var(--danger); }

/* ---- Footer ---- */
.footer { background: var(--footer-bg); color: #e8d6b6; margin-top: 72px; }
.footer-grid { max-width: 1320px; margin: 0 auto; padding: 56px 24px 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { width: 54px; height: 54px; object-fit: contain; border-radius: 8px; }
.footer-logo .name { font-family: 'Marcellus', serif; font-size: 24px; color: var(--gold-pale); }
.footer-tagline { font-size: 14px; line-height: 1.65; margin-top: 16px; color: #cdb893; }
.footer h4 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 12px; }
.footer-col p, .footer-col a { font-size: 14.5px; line-height: 1.7; color: #e8d6b6; display: block; margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid #4a1520; text-align: center; font-size: 12.5px; padding: 18px 24px; color: #a8916e; }

/* ---- Shop / product listing ---- */
.chip-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; }
.chip { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--maroon); font-size: 13.5px; font-weight: 500; color: var(--maroon); }
.chip.active { background: var(--maroon); color: var(--cream); }
.product-grid-static, .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.empty-state { text-align: center; padding: 90px 20px; color: var(--text-secondary); }
.breadcrumb { font-size: 13px; color: var(--text-secondary); margin-bottom: 22px; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .checkout-grid { grid-template-columns: 1fr; }
  .hero-slide h1 { font-size: 32px; }
}
