:root {
  --majestic-cream: #f7f0e7;
  --majestic-ivory: #fdf8f3;
  --majestic-sand: #eadac7;
  --majestic-gold: #865325;
  --majestic-gold-soft: #e6c18d;
  --majestic-brown: #4f2e1d;
  --majestic-ink: #1b1410;
  --majestic-muted: #5d4a3f;
  --majestic-line: rgba(79, 46, 29, 0.14);
  --majestic-radius: 28px;
  --majestic-shadow: 0 24px 50px rgba(38, 23, 15, 0.08);
}

* { box-sizing: border-box; }
body.majestic-site {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--majestic-ink);
  background: linear-gradient(180deg, #fffaf4 0%, #f6ede1 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.majestic-header {
  position: sticky; top: 0; z-index: 100; backdrop-filter: blur(18px);
  background: rgba(253, 248, 243, 0.88); border-bottom: 1px solid rgba(79, 46, 29, 0.08);
}
.majestic-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px;
}
.majestic-brand img, .footer-logo { width: clamp(150px, 16vw, 220px); }
.majestic-menu {
  display: flex; align-items: center; gap: 28px; font-size: 0.96rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--majestic-ink);
}
.majestic-menu a { padding: 8px 0; position: relative; font-weight: 700; }
.majestic-menu a.active::after, .majestic-menu a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--majestic-gold);
}
.majestic-menu-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--majestic-line); border-radius: 50%; background: transparent;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.majestic-menu-toggle span { width: 18px; height: 2px; background: var(--majestic-ink); transition: transform 0.3s ease; }

.hero-section {
  position: relative; min-height: calc(100svh - 88px); display: flex; align-items: stretch; overflow: hidden; background: #201612;
}
.hero-media { position: absolute; inset: 0; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16, 11, 8, 0.84) 0%, rgba(16, 11, 8, 0.58) 36%, rgba(16, 11, 8, 0.2) 74%, rgba(16, 11, 8, 0.36) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(10, 6, 4, 0.52) 100%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-content-wrap { position: relative; z-index: 2; display: flex; align-items: center; width: 100%; padding: 120px 0 90px; }
.hero-copy { max-width: 640px; color: #fff; animation: fadeUp 0.9s ease both; }

.eyebrow {
  display: inline-block; margin-bottom: 14px; color: var(--majestic-gold); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 800;
}
.hero-copy .eyebrow, .ritual-copy .eyebrow, .cta-card .eyebrow { color: var(--majestic-gold-soft); }

.hero-copy h1, .inner-hero h1, .guide-copy h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 0.95; letter-spacing: -0.03em; margin: 0 0 20px; font-size: clamp(3.2rem, 7vw, 6.3rem);
}
.hero-copy p, .inner-hero p, .story-copy p, .editorial-copy p, .ritual-copy p, .contact-copy p, .checkout-note p,
.article-wrap p, .cta-card p, .category-panel p, .product-card p, .journal-grid p, .value-grid p, .order-summary p,
.guide-copy p, .collection-copy p, .summary-line {
  line-height: 1.75; font-size: 1.02rem; margin: 0;
}
.inner-hero p, .story-copy p, .editorial-copy p, .contact-copy p, .checkout-note p, .article-wrap p,
.category-panel p, .product-card p, .journal-grid p, .value-grid p, .order-summary p, .guide-copy p, .collection-copy p {
  color: var(--majestic-muted);
}

.hero-actions, .section-heading, .intro-grid, .editorial-grid, .category-grid, .product-grid, .ritual-grid,
.story-grid, .value-grid, .contact-grid, .checkout-grid, .order-grid, .journal-grid, .collection-grid, .guide-grid {
  gap: 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; margin-top: 30px; }
.majestic-btn, .footer-link {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--majestic-gold); color: #fff; font-weight: 700; transition: transform 0.25s ease, background 0.25s ease;
}
.majestic-btn:hover, .footer-link:hover { transform: translateY(-2px); background: #6f431d; }
.majestic-btn.secondary {
  background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.6);
}
.inner-hero .majestic-btn.secondary, .guide-copy .majestic-btn.secondary, .cta-card .majestic-btn.secondary {
  color: #fff;
}

.intro-band, .editorial-section, .category-section, .products-section, .ritual-section, .cta-section, .story-section,
.values-section, .contact-section, .faq-section, .guide-section, .order-section, .checkout-section, .journal-section,
.article-section, .collection-section { padding: 96px 0; }
.top-pad-none { padding-top: 0; }

.intro-band {
  background: var(--majestic-ivory); border-bottom: 1px solid var(--majestic-line); border-top: 1px solid rgba(79, 46, 29, 0.08);
}
.intro-grid, .editorial-grid, .ritual-grid, .story-grid, .contact-grid, .checkout-grid, .order-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center;
}
.section-heading { display: grid; justify-items: start; margin-bottom: 40px; }
.intro-grid h2, .section-heading h2, .editorial-copy h2, .ritual-copy h2, .story-copy h2, .contact-copy h2,
.checkout-note h2, .value-grid h3, .cta-card h2, .collection-grid h2, .journal-grid h2, .article-wrap h2,
.order-summary h2, .guide-copy h3 {
  margin: 0 0 14px; font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.03em;
  color: var(--majestic-ink);
}

.editorial-image, .ritual-image, .story-grid img { overflow: hidden; border-radius: var(--majestic-radius); box-shadow: var(--majestic-shadow); }
.editorial-image img, .ritual-image img, .story-grid img {
  width: 100%; height: 100%; min-height: 520px; object-fit: cover;
}
.majestic-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.majestic-list li { padding-left: 20px; position: relative; line-height: 1.7; color: var(--majestic-muted); }
.majestic-list li::before {
  content: ''; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--majestic-gold);
}

.category-grid, .product-grid, .value-grid, .journal-grid, .collection-grid, .contact-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.guide-grid { display: grid; gap: 26px; }
.category-panel, .product-card, .value-grid article, .journal-grid article, .collection-grid article, .contact-cards article,
.order-summary, .checkout-note, .guide-card {
  background: rgba(255, 255, 255, 0.84); border: 1px solid rgba(79, 46, 29, 0.08); border-radius: var(--majestic-radius); overflow: hidden; box-shadow: var(--majestic-shadow);
}
.category-panel img, .journal-grid article img, .collection-grid article img {
  width: 100%; height: 300px; object-fit: cover;
}
.category-panel div, .journal-grid article, .collection-grid article { padding: 24px; }
.category-count, .product-type {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(134,83,37,0.12); color: var(--majestic-brown);
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}

.product-card { display: flex; flex-direction: column; min-height: 100%; }
.product-card-media {
  background: radial-gradient(circle at top, #fffaf5 0%, #f3e7d7 100%); padding: 28px; min-height: 310px; display: flex; align-items: center; justify-content: center;
}
.product-card-media img { max-height: 260px; object-fit: contain; transform: translateY(0); transition: transform 0.35s ease; }
.product-card:hover .product-card-media img { transform: translateY(-6px); }
.product-card-body { padding: 24px; display: grid; gap: 12px; align-content: start; flex: 1; }
.product-card-top, .guide-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.product-price {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--majestic-brown); color: #fff; font-size: 0.95rem; font-weight: 800;
}
.product-card h3, .category-panel h3, .contact-cards h3, .guide-copy h2 { margin: 0; }
.product-card h3 { font-size: 1.35rem; font-weight: 800; color: var(--majestic-ink); }
.product-benefit { color: var(--majestic-muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--majestic-brown); font-weight: 800; }
.text-link::after { content: '→'; }

.guide-card {
  display: grid; grid-template-columns: 300px 1fr; align-items: stretch;
}
.guide-media {
  background: radial-gradient(circle at top, #fffaf5 0%, #f3e7d7 100%); padding: 26px; display: flex; align-items: center; justify-content: center;
}
.guide-media img { max-height: 260px; object-fit: contain; }
.guide-copy { padding: 30px; display: grid; gap: 16px; }
.guide-copy h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--majestic-ink); }
.guide-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.guide-meta h3 { font-size: 1rem; font-weight: 800; color: var(--majestic-brown); margin: 0 0 8px; }

.ritual-section { background: linear-gradient(180deg, #2b1b13 0%, #1d130e 100%); color: #fff; }
.ritual-copy h2, .cta-card h2 { color: #fff; }
.ritual-copy p, .cta-card p { color: rgba(255,255,255,0.9); }
.cta-card {
  background: linear-gradient(135deg, rgba(134, 83, 37, 0.98), rgba(79, 46, 29, 0.98)); border-radius: calc(var(--majestic-radius) + 8px); padding: 54px; color: #fff; box-shadow: var(--majestic-shadow);
}

.inner-hero {
  padding: 120px 0 56px; background: radial-gradient(circle at top left, rgba(134, 83, 37, 0.18), transparent 36%), linear-gradient(180deg, #fdf8f3 0%, #f5ebdf 100%);
}
.inner-hero.compact h1 { font-size: clamp(2.8rem, 5vw, 4.9rem); color: var(--majestic-ink); }
.faq-wrap { display: grid; gap: 18px; max-width: 900px; }
.faq-item {
  background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(79, 46, 29, 0.08); border-radius: 22px; padding: 24px 28px; box-shadow: var(--majestic-shadow);
}
.faq-item summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 1.1rem; color: var(--majestic-ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: 14px; color: var(--majestic-muted); }

.contact-form, .checkout-form {
  background: rgba(255, 255, 255, 0.88); border: 1px solid rgba(79, 46, 29, 0.08); border-radius: var(--majestic-radius); box-shadow: var(--majestic-shadow);
  padding: 32px; display: grid; gap: 18px;
}
.contact-form label, .checkout-form label { display: grid; gap: 8px; font-weight: 700; color: var(--majestic-ink); }
.contact-form input, .contact-form textarea, .checkout-form input, .checkout-form textarea {
  width: 100%; border: 1px solid rgba(79, 46, 29, 0.14); border-radius: 16px; padding: 14px 16px; background: #fffdf9; font: inherit; color: var(--majestic-ink);
}
.contact-form input::placeholder, .contact-form textarea::placeholder, .checkout-form input::placeholder, .checkout-form textarea::placeholder {
  color: #7b675a; opacity: 1;
}

.order-list { display: grid; gap: 18px; }
.order-row {
  display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(79, 46, 29, 0.08); border-radius: 22px; padding: 18px; box-shadow: var(--majestic-shadow);
}
.order-row img { max-height: 88px; object-fit: contain; }
.order-row h3 { margin: 0 0 6px; color: var(--majestic-ink); font-weight: 800; }
.order-row p { margin: 0; color: var(--majestic-muted); }
.summary-line {
  display: flex; align-items: center; justify-content: space-between; padding-top: 12px; margin-top: 12px; border-top: 1px solid rgba(79,46,29,0.1); color: var(--majestic-muted);
}
.summary-line strong { color: var(--majestic-ink); }

.article-wrap { display: grid; gap: 22px; max-width: 920px; }
.article-wrap img { border-radius: var(--majestic-radius); box-shadow: var(--majestic-shadow); }

.majestic-footer { background: #1b120d; color: rgba(255, 255, 255, 0.9); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 36px; }
.footer-grid h3 { color: #fff; margin: 0 0 18px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid li, .footer-grid p, .footer-grid a { color: rgba(255,255,255,0.88); }
.footer-bar {
  display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.94rem; text-transform: uppercase; letter-spacing: 0.08em;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991px) {
  .majestic-menu-toggle { display: inline-flex; }
  .majestic-menu {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); background: rgba(253, 248, 243, 0.98); border: 1px solid rgba(79, 46, 29, 0.1);
    border-radius: 24px; padding: 18px; flex-direction: column; align-items: flex-start; box-shadow: var(--majestic-shadow); display: none;
  }
  body.menu-open .majestic-menu { display: flex; }
  body.menu-open .majestic-menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  body.menu-open .majestic-menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .intro-grid, .editorial-grid, .ritual-grid, .story-grid, .contact-grid, .checkout-grid, .order-grid,
  .category-grid, .product-grid, .value-grid, .journal-grid, .collection-grid, .footer-grid, .contact-cards, .guide-card, .guide-meta {
    grid-template-columns: 1fr;
  }
  .hero-section { min-height: auto; }
  .hero-content-wrap { padding: 110px 0 70px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(17, 12, 9, 0.34) 0%, rgba(17, 12, 9, 0.76) 70%, rgba(17, 12, 9, 0.92) 100%); }
  .editorial-image img, .ritual-image img, .story-grid img, .category-panel img, .journal-grid article img, .collection-grid article img {
    min-height: 0; height: auto;
  }
  .cta-card { padding: 34px 24px; }
}

@media (max-width: 575px) {
  .hero-copy h1, .inner-hero h1, .guide-copy h2 { line-height: 1; }
  .intro-band, .editorial-section, .category-section, .products-section, .ritual-section, .cta-section, .story-section,
  .values-section, .contact-section, .faq-section, .guide-section, .order-section, .checkout-section, .journal-section,
  .article-section, .collection-section { padding: 76px 0; }
  .footer-bar { flex-direction: column; }
  .contact-form, .checkout-form, .faq-item, .order-summary, .checkout-note, .guide-copy { padding: 24px; }
  .guide-media { padding: 22px; }
}

.hero-media::after {
  background: linear-gradient(90deg, rgba(16, 11, 8, 0.9) 0%, rgba(16, 11, 8, 0.7) 34%, rgba(16, 11, 8, 0.3) 72%, rgba(16, 11, 8, 0.42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(10, 6, 4, 0.6) 100%);
}

.hero-copy h1 {
  color: #fff !important;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.94) !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.hero-copy .majestic-btn.secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.82);
  color: #fff !important;
}

@media (max-width: 991px) {
  .hero-media::after {
    background: linear-gradient(180deg, rgba(17, 12, 9, 0.42) 0%, rgba(17, 12, 9, 0.82) 68%, rgba(17, 12, 9, 0.96) 100%);
  }
}

.majestic-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(79, 46, 29, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--majestic-ink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.84rem;
}

.cart-link-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--majestic-brown);
  color: #fff;
  font-size: 0.8rem;
}

.cart-actions {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.cart-actions-compact {
  margin-top: 6px;
}

.cart-qty-label {
  display: grid;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--majestic-brown);
}

.cart-qty-input {
  width: 84px;
  min-height: 46px;
  border: 1px solid rgba(79, 46, 29, 0.14);
  border-radius: 14px;
  padding: 0 12px;
  background: #fffdf9;
  color: var(--majestic-ink);
  font: inherit;
}

.cart-add-btn {
  min-width: 160px;
}

.cart-list {
  display: grid;
  gap: 18px;
}

.cart-item-row {
  grid-template-columns: 96px minmax(0, 1fr) auto;
}

.cart-item-copy {
  display: grid;
  gap: 10px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.qty-adjust,
.cart-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(79, 46, 29, 0.14);
  background: #fffdf9;
  color: var(--majestic-ink);
  font: inherit;
}

.qty-adjust {
  width: 42px;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 800;
}

.cart-remove-btn {
  padding: 0 14px;
  border-radius: 999px;
  color: var(--majestic-brown);
  font-weight: 700;
}

.cart-line-price {
  font-weight: 800;
  color: var(--majestic-ink);
  white-space: nowrap;
}

.summary-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.summary-clear-btn {
  border: 1px solid rgba(79, 46, 29, 0.18);
  background: transparent;
  color: var(--majestic-ink);
}

.cart-empty-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 38px;
  border-radius: var(--majestic-radius);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(79, 46, 29, 0.08);
  box-shadow: var(--majestic-shadow);
  display: grid;
  gap: 14px;
}

.checkout-cart-summary {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(79, 46, 29, 0.1);
}

.checkout-cart-summary h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--majestic-ink);
}

.checkout-cart-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.checkout-cart-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--majestic-muted);
}

.checkout-cart-list strong {
  color: var(--majestic-ink);
  white-space: nowrap;
}

.checkout-cart-empty {
  color: var(--majestic-muted);
}

@media (max-width: 991px) {
  .majestic-cart-link {
    order: 2;
    margin-left: auto;
  }

  .cart-item-row {
    grid-template-columns: 1fr;
  }

  .cart-line-price {
    padding-top: 4px;
  }
}
