:root {
  --color-black: #050505;
  --color-ink: #111111;
  --color-charcoal: #181614;
  --color-white: #ffffff;
  --color-soft: #f7f4ef;
  --color-muted: #a9a09a;
  --color-line: rgba(210, 176, 96, 0.24);
  --color-gold: #c9a24a;
  --color-gold-light: #ead28a;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --container: min(1180px, calc(100vw - 40px));
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  left: 16px;
  position: fixed;
  top: -80px;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.menu-open .site-header {
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  align-items: center;
  display: flex;
  height: var(--header-height);
  justify-content: space-between;
  margin: 0 auto;
  width: var(--container);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.brand-mark {
  align-items: center;
  border: 1px solid var(--color-gold);
  color: var(--color-gold-light);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 18px;
  height: 42px;
  justify-content: center;
  letter-spacing: 0;
  width: 42px;
}

.brand-name {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
}

.custom-logo {
  max-height: 58px;
  width: auto;
}

.menu {
  align-items: center;
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu a:hover,
.current-menu-item > a {
  color: var(--color-gold-light);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  padding: 8px;
}

.menu-toggle span {
  background: var(--color-white);
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 28px;
}

.hero {
  align-items: flex-end;
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  padding: calc(var(--header-height) + 80px) 0 80px;
  position: relative;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.68) 42%, rgba(5, 5, 5, 0.2) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.04) 44%),
    url("../images/products/product-02.jpg") center right / cover;
  inset: 0;
  position: absolute;
}

.hero-content {
  margin: 0 auto;
  position: relative;
  width: var(--container);
}

.eyebrow {
  color: var(--color-gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.96;
  margin: 0;
}

.hero h1 {
  font-size: clamp(56px, 11vw, 138px);
  max-width: 920px;
}

.hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  margin: 24px 0 0;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  text-transform: uppercase;
}

.button--gold {
  background: var(--color-gold);
  color: var(--color-black);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--color-white);
}

.button--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section {
  background: var(--color-soft);
  color: var(--color-ink);
  padding: 96px 0;
}

.section--black {
  background: var(--color-black);
  color: var(--color-white);
}

.section-inner,
.section-heading,
.product-grid,
.footer-grid,
.footer-bottom {
  margin: 0 auto;
  width: var(--container);
}

.section-heading {
  margin-bottom: 36px;
}

.section-heading h2,
.split h2 {
  font-size: clamp(38px, 6vw, 76px);
  max-width: 760px;
}

.product-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  background: #111;
  border: 1px solid var(--color-line);
  min-width: 0;
}

.product-card img {
  aspect-ratio: 16 / 11;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.product-card__body {
  padding: 22px;
}

.product-card h2,
.product-card h3 {
  font-size: 32px;
}

.product-card p {
  color: var(--color-muted);
  margin: 8px 0 16px;
}

.product-card span {
  color: var(--color-gold-light);
  font-weight: 800;
}

.product-card__footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.small-link,
.text-link {
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.story-band {
  background: var(--color-soft);
  color: var(--color-ink);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.story-image {
  background: url("../images/products/product-12.jpg") center / cover;
}

.story-copy {
  align-self: center;
  max-width: 640px;
  padding: 80px clamp(28px, 7vw, 92px);
}

.story-copy h2 {
  font-size: clamp(40px, 6vw, 78px);
}

.story-copy p:not(.eyebrow) {
  color: #5b544e;
  margin: 24px 0;
}

.split,
.distributor-grid,
.contact-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.split p:not(.eyebrow) {
  color: #5b544e;
  font-size: 18px;
  margin-top: 0;
}

.distributor-invite {
  background: var(--color-gold);
}

.distributor-invite .eyebrow,
.distributor-invite .button {
  color: var(--color-black);
}

.trust-section {
  background: var(--color-black);
  color: var(--color-white);
}

.trust-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  width: var(--container);
}

blockquote {
  border: 1px solid var(--color-line);
  margin: 0;
  padding: 30px;
}

blockquote p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 22px;
}

cite {
  color: var(--color-gold-light);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero {
  align-items: end;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.34)),
    url("../images/products/product-14.jpg") center / cover;
  display: grid;
  min-height: 520px;
  padding: calc(var(--header-height) + 86px) 0 72px;
}

.page-hero--shop {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.2)),
    url("../images/products/product-01.jpg") center / cover;
}

.page-hero--about {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.24)),
    url("../images/products/product-08.jpg") center / cover;
}

.page-hero--distributor {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.22)),
    url("../images/products/product-19.jpg") center / cover;
}

.page-hero--contact {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.2)),
    url("../images/products/product-21.jpg") center / cover;
}

.page-hero--compact {
  min-height: 420px;
}

.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(48px, 8vw, 96px);
  max-width: 850px;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  max-width: 580px;
}

.prose {
  color: #5b544e;
  font-size: 18px;
}

.values-strip {
  background: var(--color-black);
  color: var(--color-white);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.values-strip div {
  border-right: 1px solid var(--color-line);
  min-height: 340px;
  padding: 48px;
}

.values-strip span {
  color: var(--color-gold-light);
  font-weight: 800;
}

.values-strip h2 {
  font-size: 42px;
  margin-top: 80px;
}

.values-strip p {
  color: rgba(255, 255, 255, 0.72);
}

.benefits ul {
  color: #5b544e;
  margin: 28px 0 0;
  padding-left: 20px;
}

.benefits li + li {
  margin-top: 12px;
}

.luxury-form {
  background: var(--color-black);
  border: 1px solid var(--color-line);
  color: var(--color-white);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 28px;
}

.luxury-form label {
  color: var(--color-gold-light);
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  text-transform: uppercase;
}

.form-full,
.form-notice,
.luxury-form .button {
  grid-column: 1 / -1;
}

input,
textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font: inherit;
  min-height: 48px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.form-notice {
  border: 1px solid currentColor;
  padding: 12px 14px;
}

.form-notice--success {
  color: #aee8bd;
}

.form-notice--error {
  color: #ffb4a9;
}

.contact-panel {
  background: var(--color-black);
  border: 1px solid var(--color-line);
  color: var(--color-white);
  padding: 42px;
}

.contact-panel h2 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 30px;
}

.contact-panel a {
  border-top: 1px solid var(--color-line);
  color: rgba(255, 255, 255, 0.78);
  display: block;
  padding: 18px 0;
}

.contact-person,
.contact-panel address {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  margin: 0 0 24px;
}

.site-footer {
  background: var(--color-black);
  border-top: 1px solid var(--color-line);
  color: var(--color-white);
  padding: 58px 0 26px;
}

.footer-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.footer-grid p,
.footer-grid span {
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid h2 {
  color: var(--color-gold-light);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.72);
  display: block;
  margin: 10px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 22px;
}

@media (max-width: 900px) {
  :root {
    --container: min(100vw - 28px, 720px);
    --header-height: 74px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    background: rgba(5, 5, 5, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    left: 0;
    padding: 22px 14px 30px;
    position: absolute;
    right: 0;
    top: var(--header-height);
  }

  .primary-nav.is-open {
    display: block;
  }

  .menu {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    margin: 0 auto;
    width: var(--container);
  }

  .menu a {
    display: block;
    padding: 12px 0;
  }

  .hero {
    min-height: 820px;
  }

  .hero-media {
    background:
      linear-gradient(0deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.42) 68%),
      url("../images/products/product-02.jpg") center top / cover;
  }

  .product-grid,
  .trust-grid,
  .footer-grid,
  .split,
  .distributor-grid,
  .contact-grid,
  .story-band,
  .values-strip {
    grid-template-columns: 1fr;
  }

  .story-image {
    min-height: 420px;
  }

  .values-strip div {
    min-height: auto;
  }
}

@media (max-width: 580px) {
  .brand-name {
    font-size: 21px;
  }

  .hero {
    min-height: 760px;
    padding-bottom: 42px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-actions,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .luxury-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .story-copy,
  .values-strip div,
  .contact-panel {
    padding: 28px;
  }
}

/* ==========================================================================
   Header Actions & Language Switcher
   ========================================================================== */
.header-actions {
  align-items: center;
  display: flex;
  gap: 24px;
}

.language-selector ul {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.language-selector li {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.language-selector li a,
.language-selector li .lang-link {
  color: rgba(255, 255, 255, 0.4);
  transition: color 180ms ease;
  cursor: pointer;
}

.language-selector li.active a,
.language-selector li.active .lang-link,
.language-selector li a:hover,
.language-selector li .lang-link:hover {
  color: var(--color-gold-light);
}

/* Hide header language selector (if any) */
.language-selector {
  display: none !important;
}

.cart-contents {
  color: var(--color-white);
  font-size: 15px;
  position: relative;
  transition: color 180ms ease;
}

.cart-contents:hover {
  color: var(--color-gold-light);
}

.cart-contents .count {
  align-items: center;
  background: var(--color-gold);
  border-radius: 50%;
  color: var(--color-black);
  display: inline-flex;
  font-size: 9px;
  font-weight: 800;
  height: 16px;
  justify-content: center;
  position: absolute;
  right: -10px;
  top: -8px;
  width: 16px;
}

/* ==========================================================================
   WooCommerce Integration Overrides
   ========================================================================== */
.woocommerce-page .site-main {
  padding-top: 120px;
  margin: 0 auto;
  width: var(--container);
}

/* WooCommerce Grids */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 32px !important;
  margin: 48px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  background: var(--color-ink) !important;
  border: 1px solid var(--color-line) !important;
  padding: 24px !important;
  text-align: center !important;
  transition: border-color 0.3s ease, transform 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.woocommerce ul.products li.product:hover {
  border-color: var(--color-gold) !important;
  transform: translateY(-4px);
}

.woocommerce ul.products li.product img {
  margin: 0 auto 16px auto !important;
  border-radius: 2px !important;
  transition: opacity 0.3s ease;
}

.woocommerce ul.products li.product:hover img {
  opacity: 0.9;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-display) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  color: var(--color-white) !important;
  margin-bottom: 12px !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}

.woocommerce ul.products li.product .price {
  color: var(--color-gold-light) !important;
  font-size: 15px !important;
  margin-bottom: 18px !important;
  font-weight: 700 !important;
}

.woocommerce ul.products li.product .button {
  margin-top: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  height: 48px !important;
  padding: 0 !important;
}

/* Hide duplicate 'View Cart' link that WooCommerce appends next to loop buttons after AJAX addition */
.woocommerce ul.products li.product a.added_to_cart {
  display: none !important;
}

/* Single Product Detail Layout */
.woocommerce div.product {
  display: flex;
  gap: 64px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  flex: 1;
  min-width: 320px;
  width: auto !important;
  float: none !important;
}

.woocommerce div.product div.summary h1.product_title {
  font-size: clamp(32px, 5vw, 54px);
  font-family: var(--font-display);
  margin-bottom: 16px;
  color: var(--color-white);
  line-height: 1.1;
}

.woocommerce div.product div.summary .price {
  font-size: 24px;
  color: var(--color-gold-light);
  margin: 20px 0;
  font-weight: 700;
}

.woocommerce div.product div.summary .woocommerce-product-details__short-description {
  color: var(--color-muted);
  margin: 24px 0;
  line-height: 1.8;
}

.woocommerce div.product form.cart {
  margin: 32px 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.woocommerce div.product form.cart .quantity input {
  width: 72px;
  height: 48px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.woocommerce div.product form.cart button.single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  padding: 0 24px !important;
  flex-grow: 1;
  background: var(--color-gold) !important;
  color: var(--color-black) !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  border: none !important;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
  background: var(--color-gold-light) !important;
}

/* Tab Overrides */
.woocommerce-tabs {
  border-top: 1px solid var(--color-line);
  margin-top: 64px;
  padding-top: 32px;
  width: 100%;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 32px;
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 0 12px 0 !important;
  margin: 0 0 24px 0 !important;
}

.woocommerce-tabs ul.tabs li {
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.woocommerce-tabs ul.tabs li a {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--color-gold-light);
}

.woocommerce-tabs .woocommerce-Tabs-panel {
  color: var(--color-muted);
}

.woocommerce-tabs h2 {
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: 16px;
}

/* Cart & Checkout Templates */
.woocommerce-cart-form,
.woocommerce .cart-collaterals,
.woocommerce-checkout {
  margin-top: 40px;
}

.woocommerce table.shop_table {
  border: 1px solid var(--color-line) !important;
  background: var(--color-ink) !important;
  border-collapse: collapse;
  width: 100%;
  border-radius: 0 !important;
}

.woocommerce table.shop_table th {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
  color: var(--color-gold-light);
  padding: 18px 24px !important;
  border-bottom: 2px solid var(--color-line) !important;
}

.woocommerce table.shop_table td {
  padding: 24px !important;
  border-bottom: 1px solid var(--color-line) !important;
  color: var(--color-white);
}

.woocommerce table.shop_table td a {
  color: var(--color-white);
}

.woocommerce table.shop_table td a:hover {
  color: var(--color-gold-light);
}

.woocommerce .cart-collaterals {
  display: flex;
  justify-content: flex-end;
}

.woocommerce .cart-collaterals .cart_totals {
  width: 460px;
  float: none !important;
  background: var(--color-ink);
  border: 1px solid var(--color-line);
  padding: 32px;
}

.woocommerce .cart-collaterals .cart_totals h2 {
  font-family: var(--font-display);
  font-size: 28px;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.woocommerce .cart-collaterals .cart_totals table {
  width: 100%;
  margin-bottom: 24px;
}

.woocommerce .cart-collaterals .cart_totals table th,
.woocommerce .cart-collaterals .cart_totals table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.woocommerce-checkout-payment {
  background: var(--color-ink) !important;
  border: 1px solid var(--color-line);
  padding: 32px;
  margin-top: 32px;
}

/* Forms Fields Styles */
.woocommerce form .form-row {
  margin-bottom: 20px;
}

.woocommerce form .form-row label {
  color: var(--color-gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--color-white) !important;
  padding: 12px 16px !important;
  width: 100% !important;
}

/* WooCommerce Notification Banners */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--color-ink) !important;
  border: 1px solid var(--color-line) !important;
  border-left: 4px solid var(--color-gold) !important;
  color: var(--color-white) !important;
  padding: 18px 24px !important;
  margin-bottom: 32px !important;
  list-style: none !important;
}

.woocommerce-error {
  border-left-color: #ffb4a9 !important;
}

.woocommerce-message a.button,
.woocommerce-info a.button {
  background: var(--color-gold) !important;
  color: var(--color-black) !important;
  float: right;
  margin-top: -8px;
}

/* RTL Specific Overrides for Language switcher in mobile menu */
@media (max-width: 900px) {
  .header-inner {
    padding: 0 16px;
  }
  .header-actions {
    gap: 16px;
  }
}