html {
  position: relative;
}

body {
  position: relative;
  background: transparent;
}

/* Background image layer */
body::before {
  content: "";
  position: fixed;
  top: var(--nav-actual-height, var(--nav-height));
  left: 0;
  right: 0;
    bottom: 0;
  z-index: -3;

  background-image: url("/static/assets/ce_logo_shape.png");
  background-size: min(1120px, 92vw);
    background-position: center 52%;
  background-repeat: no-repeat;
  opacity: 0.62;
    filter: blur(0.45px) saturate(112%) brightness(82%);

  transform: translateZ(0);
}

/* Blur + dark glass overlay */
body::after {
  content: "";
  position: fixed;
  top: var(--nav-actual-height, var(--nav-height));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;

  backdrop-filter: blur(2.4px) saturate(106%);
  -webkit-backdrop-filter: blur(2.4px) saturate(106%);

  background:
      radial-gradient(120% 84% at 50% 12%, rgb(var(--gold-rgb) / 0.06), transparent 58%),
      linear-gradient(180deg, rgba(8, 8, 8, 0.52) 0%, rgba(10, 10, 10, 0.66) 58%, rgba(13, 13, 13, 0.76) 100%);
  pointer-events: none;
}

/* Animated grain texture layer */
html::before {
  content: "";
  position: fixed;
  top: var(--nav-actual-height, var(--nav-height));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;

  /* SVG noise tile (lightweight) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 260px 260px;

  opacity: 0.045;
  /* intensity */
  mix-blend-mode: soft-light;
    /* luxe film grain */
  filter: contrast(112%) brightness(98%);

  animation: grainShift 18s steps(8) infinite;
}

@keyframes grainShift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  10% {
    transform: translate3d(-2%, -2%, 0);
  }

  20% {
    transform: translate3d(-4%, 2%, 0);
  }

  30% {
    transform: translate3d(2%, -4%, 0);
  }

  40% {
    transform: translate3d(-2%, 6%, 0);
  }

  50% {
    transform: translate3d(-6%, 2%, 0);
  }

  60% {
    transform: translate3d(6%, 0%, 0);
  }

  70% {
    transform: translate3d(0%, 6%, 0);
  }

  80% {
    transform: translate3d(-6%, 0%, 0);
  }

  90% {
    transform: translate3d(2%, -6%, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

.card.bg-dark {
  background-color: rgba(18, 18, 18, 0.85) !important;
  backdrop-filter: blur(2px);
}


:root {
  --nav-height: 66px;
  --gold-rgb: 215 192 122;
  --gold: #d7c07a;
  --gold-subtle: rgb(var(--gold-rgb) / 0.62);
    --gold-outline: rgb(var(--gold-rgb) / 0.74);
    --gold-outline-strong: rgb(var(--gold-rgb) / 0.86);
  --gold-70: rgb(var(--gold-rgb) / 0.75);
    --cta-btn-min-height: 36px;
      --cta-btn-pad-y: .4rem;
      --cta-btn-pad-x: .9rem;
      --hero-pad-y: clamp(1.65rem, 3.2vw, 2.3rem);
    --gold-grad: linear-gradient(90deg,
        rgb(var(--gold-rgb) / 0.78),
        rgb(var(--gold-rgb) / 1),
        rgb(var(--gold-rgb) / 0.78));
}
body {
  font-family: 'Lato', sans-serif;
  color: #e8e8e8;
  background: #0d0d0d;
}

main {
  margin-top: 0 !important;
  padding-top: var(--nav-actual-height, var(--nav-height)) !important;
}

.brand {
  font-family: 'Playfair Display', serif;
  letter-spacing: .5px;
  color: var(--gold) !important;
}

.brand-logo {
  height: clamp(40px, 4vw, 70px);
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .35));
}

/* Slightly more compact navbar spacing */
.navbar {
  padding-top: .45rem;
  padding-bottom: .45rem;
}

.navbar.fixed-top.border-gold {
  border-bottom-color: var(--gold-outline) !important;
  box-shadow:
  inset 0 -1px 0 rgb(var(--gold-rgb) / 0.28),
    0 1px 0 rgb(var(--gold-rgb) / 0.24),
      0 8px 18px rgba(0, 0, 0, 0.24);
}
.text-gold {
  color: var(--gold) !important;
}

.text-gold-70 {
  color: var(--gold-70) !important;
}

.border-gold {
  border-color: var(--gold-outline) !important;
}

.bg-black {
  background: #0d0d0d !important;
}

.bg-dark {
  background: #151515 !important;
}

.hero {
  position: relative;
    isolation: isolate;
    overflow: visible;
    min-height: clamp(220px, 31vh, 360px);
      background-image:
      radial-gradient(120% 92% at 50% 4%, rgb(var(--gold-rgb) / 0.16), transparent 58%),
      radial-gradient(100% 66% at 50% 96%, rgb(var(--gold-rgb) / 0.13), transparent 74%),
      linear-gradient(180deg, rgba(8, 8, 8, 0.56) 0%, rgba(13, 13, 13, 0.62) 100%),
        url("/static/assets/hero_bg.png");
        background-size: auto, auto, auto, cover;
        background-position: center, center, center, center;
        background-repeat: no-repeat;
    backdrop-filter: blur(3px) saturate(106%);
    -webkit-backdrop-filter: blur(3px) saturate(106%);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
    display: flex;
    align-items: center;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(var(--gold-rgb) / 0.06) 0%, transparent 36%, transparent 100%);
    pointer-events: none;
    z-index: 0;
  }

  .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: clamp(62px, 9vw, 108px);
    background: linear-gradient(180deg, rgba(13, 13, 13, 0) 0%, rgba(13, 13, 13, 0.62) 55%, #0d0d0d 100%);
    pointer-events: none;
    z-index: 2;
  }

  .hero .container {
    position: relative;
    z-index: 3;
    max-width: 920px;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    padding-top: var(--hero-pad-y);
      padding-bottom: var(--hero-pad-y);
  }

  .hero-logo {
    display: block;
    width: clamp(172px, 41vw, 352px);
    max-width: 92%;
    height: auto;
    margin: 0 auto;
  }

  .hero h1,
  .hero h2,
  .hero h3,
  .hero h5,
  .hero p {
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    gap: clamp(.1rem, .44vw, .24rem);
    margin-top: clamp(.24rem, .72vw, .46rem);
  }

  .hero h1 {
    line-height: 1.06;
  }

  .hero h2 {
    line-height: 1.12;
  }

  .hero h3 {
    line-height: 1.14;
  }

  .hero h5 {
    line-height: 1.2;
  }

  .hero p {
    line-height: 1.26;
  }

  .hero-actions {
  display: flex;
  container-type: inline-size;
    flex-wrap: nowrap;
    justify-content: center;
  align-items: center;
  gap: clamp(.42rem, 1vw, .68rem);
    margin-top: clamp(1.35rem, 2.9vw, 2rem) !important;
    margin-bottom: 0 !important;
    padding-bottom: clamp(.18rem, .7vw, .42rem);
  }

  .hero-action-btn {
    flex: 0 1 clamp(8.4rem, 41vw, 12.8rem);
    white-space: nowrap;
    font-size: clamp(.76rem, 2.7cqw, .98rem);
    line-height: 1;
    padding-block: max(var(--cta-btn-pad-y), calc((var(--cta-btn-min-height) - 1em) / 2));
    padding-inline: var(--cta-btn-pad-x);
    min-height: var(--cta-btn-min-height);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 999px;
    border: 1px solid var(--gold-outline) !important;
    background: rgba(13, 13, 13, 0.88) !important;
    color: var(--gold) !important;
    opacity: 1;
  }

  .hero-action-btn__label {
    display: block;
    line-height: 1;
  }

  .hero-action-btn:hover,
  .hero-action-btn:focus-visible {
    background: rgba(215, 192, 122, 0.10) !important;
    border-color: var(--gold-outline-strong) !important;
    color: #fff !important;
    box-shadow: none;
  }

                                                                .hero-action-btn--highlight {
                                                                  color: #0d0d0d !important;
                                                                  border-color: transparent !important;
                                                                  font-weight: 700;
                                                                  letter-spacing: .04rem;
                                                                  background: linear-gradient(90deg,
                                                                      rgb(var(--gold-rgb) / 0.66),
                                                                      rgb(var(--gold-rgb) / 0.84),
                                                                      rgb(var(--gold-rgb) / 0.66)) !important;
                                                                  box-shadow: 0 10px 24px rgba(215, 192, 122, 0.24);
                                                                }

                                                                .hero-action-btn--highlight:hover,
                                                                .hero-action-btn--highlight:focus-visible {
                                                                  color: #0d0d0d !important;
                                                                  border-color: transparent !important;
                                                                  background: linear-gradient(90deg,
                                                                      rgb(var(--gold-rgb) / 0.72),
                                                                      rgb(var(--gold-rgb) / 0.92),
                                                                      rgb(var(--gold-rgb) / 0.72)) !important;
                                                                  box-shadow: 0 12px 26px rgba(215, 192, 122, 0.28);
                                                                }
  header.hero+section.py-5 {
    padding-top: 0 !important;
  }

  @media (max-width: 767.98px) {
    :root {
        --hero-pad-y: clamp(1.1rem, 3.8vw, 1.55rem);
      }
    body::before {
      opacity: 0.70;
        filter: blur(.45px) saturate(114%) brightness(86%);
      background-size: min(520px, 108vw);
      background-position: center 30%;
    }

    body::after {
      backdrop-filter: blur(2.2px) saturate(104%);
        -webkit-backdrop-filter: blur(2.2px) saturate(104%);
      background:
        radial-gradient(118% 82% at 50% 14%, rgb(var(--gold-rgb) / 0.06), transparent 58%),
          linear-gradient(180deg, rgba(8, 8, 8, 0.46) 0%, rgba(10, 10, 10, 0.62) 58%, rgba(13, 13, 13, 0.72) 100%);
    }

    .hero {
      min-height: clamp(196px, 27vh, 286px);
    }

    .hero-logo {
      width: clamp(148px, 51vw, 262px);
      max-width: 90%;
    }

      .hero-actions {
        margin-top: clamp(.78rem, 2.8vw, 1.2rem) !important;
        margin-bottom: 0 !important;
        padding-bottom: clamp(.2rem, 1.4vw, .42rem);
      }

      .hero-action-btn {
        min-height: var(--cta-btn-min-height);
        font-size: clamp(.9rem, 3.2cqw, 1.06rem);
        line-height: 1;
        padding-block: max(clamp(.34rem, 1.5cqw, .56rem), calc((var(--cta-btn-min-height) - 1em) / 2));
    }

    .hero::after {
      height: clamp(46px, 9vw, 68px);
      background: linear-gradient(180deg, rgba(13, 13, 13, 0) 0%, rgba(13, 13, 13, 0.56) 50%, #0d0d0d 100%);
    }

    header.hero+section.py-5 {
      padding-top: 0 !important;
    }
}

@media (max-width: 420px) {
  .hero-actions {
    margin-top: clamp(.9rem, 3.8vw, 1.28rem) !important;
    padding-bottom: clamp(.28rem, 2.2vw, .56rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html::before {
    animation: none;
  }
}

@media (max-width: 767.98px) {
  html::before {
    animation: none;
    opacity: 0.03;
  }
}
.product {
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card {
  cursor: pointer;
  user-select: none;
  --drawer-height: 140px;
  position: relative;
  container-type: inline-size;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  transform-origin: center center;
  transition: transform .25s ease, box-shadow .25s ease, backdrop-filter .25s ease, -webkit-backdrop-filter .25s ease;
}

.product-card.is-open,
.product-card.is-in-cart {
  z-index: 4;
  border: 1px solid var(--gold-outline) !important;
  background-color: rgba(18, 18, 18, 0.72) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-card.is-open {
  background-color: #121212 !important;
}
@media (hover: hover) and (pointer: fine) {

  .product-card:hover,
  .product-card.is-open,
  .product-card.is-in-cart {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 42px rgba(215, 192, 122, 0.30), 0 10px 24px rgba(0, 0, 0, 0.55);
  }
}

@media (hover: none),
(pointer: coarse) {

  .product-card.is-open,
  .product-card.is-in-cart {
    transform: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  }
}
.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
}

.product-img {
  object-fit: contain;
    object-position: center;
    width: 100%;
    height: 100%;
    max-height: none;
    background: transparent;
    display: block;
  }

  .product-drawer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height .3s ease, opacity .2s ease, margin-top .3s ease;
  }

  .product-card.is-open .product-drawer {
    max-height: var(--drawer-height);
    opacity: 1;
    margin-top: .65rem;
  }

  .product-pricing-note {
    font-size: .72rem;
    line-height: 1.2;
  }

  .product-actions {
    gap: .45rem;
    min-width: 0;
  }

  .add-to-cart-btn {
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: var(--cta-btn-min-height);
    }

    .product-card .product-detail-link.code-badge {
      width: 100%;
      min-height: var(--cta-btn-min-height);
        padding: var(--cta-btn-pad-y) var(--cta-btn-pad-x);
      border-radius: 999px;
      text-decoration-line: underline;
      text-underline-offset: .12em;
      text-decoration-thickness: .08em;
      cursor: pointer;
      transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
      -webkit-tap-highlight-color: transparent;
  }

  .product-card .product-detail-link.code-badge:hover,
  .product-card .product-detail-link.code-badge:focus-visible {
    transform: scale(1.04);
    filter: brightness(1.08);
    box-shadow: 0 0 0 1px rgb(var(--gold-rgb) / .5), 0 10px 22px rgba(0, 0, 0, .3);
  }

  .product-card .product-detail-link.code-badge:active {
    transform: scale(0.95);
    filter: brightness(1.04);
    box-shadow: 0 0 0 1px rgb(var(--gold-rgb) / .38), 0 4px 10px rgba(0, 0, 0, .24);
  }

  .product-card .product-detail-link.code-badge:focus-visible {
    outline: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .product-card .product-detail-link.code-badge {
      transition: filter .12s ease, box-shadow .12s ease;
    }

    .product-card .product-detail-link.code-badge:hover,
    .product-card .product-detail-link.code-badge:focus-visible,
    .product-card .product-detail-link.code-badge:active {
      transform: none;
    }
  }

  .product-qty-control {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2rem;
    padding-left: 2.15rem;
    padding-right: 2.15rem;
    box-sizing: border-box;
    overflow: hidden;
  }

  .qty-center-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.18rem, 2.2cqw, .45rem);
    max-width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .qty-adjust-btn {
    min-width: clamp(1.45rem, 11cqw, 2rem);
    line-height: 1;
    padding-left: clamp(.2rem, 1.4cqw, .6rem);
    padding-right: clamp(.2rem, 1.4cqw, .6rem);
  }

  .qty-clear-btn {
    position: absolute;
    left: 0;
    min-width: clamp(1.45rem, 11cqw, 2rem);
    line-height: 1;
    padding-left: clamp(.18rem, 1.2cqw, .5rem);
    padding-right: clamp(.18rem, 1.2cqw, .5rem);
    font-size: .95rem;
  }

  .product-qty-pill {
    min-width: 0;
    padding: .2rem .6rem;
    border-radius: 999px;
    border: 1px solid var(--gold-outline);
    color: var(--gold);
    background: rgba(13, 13, 13, 0.6);
    font-weight: 700;
  }

  .product-qty-input {
    width: clamp(2rem, 22cqw, 3rem);
    padding-left: clamp(.2rem, 1.2cqw, .6rem);
    padding-right: clamp(.2rem, 1.2cqw, .6rem);
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
  }

  @container (max-width: 260px) {
    .product-qty-control {
      padding-left: 1.8rem;
      padding-right: 1.8rem;
    }

    .qty-center-group {
      gap: .14rem;
    }

    .qty-adjust-btn,
    .qty-clear-btn {
      min-width: 1.4rem;
    }

    .product-qty-input {
      width: 1.9rem;
    }
  }

  .product-qty-input::-webkit-outer-spin-button,
  .product-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

                .product-qty-input:focus,
                .product-qty-input:focus-visible {
                  border-color: var(--gold-outline-strong);
                  box-shadow: 0 0 0 .2rem rgba(215, 192, 122, .25);
                  outline: none;
                }
.code-badge {
  display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .18rem .62rem;
  font-weight: 600;
    letter-spacing: .04rem;
    font-size: .96rem;
    text-align: center;
    line-height: 1;
  color: #0d0d0d;
  background: linear-gradient(90deg,
        rgb(var(--gold-rgb) / 0.66),
        rgb(var(--gold-rgb) / 0.84),
        rgb(var(--gold-rgb) / 0.66));
  border-radius: 999px;
}

.product-detail-page .product-detail-top-actions,
.product-detail-page .product-detail-top-left {
  align-items: center;
}

.product-detail-content-row {
  --bs-gutter-x: .9rem;
}

.product-detail-image-card,
.product-detail-meta-card {
  background: rgba(18, 18, 18, 0.88) !important;
}

.product-detail-image-wrap {
  width: 100%;
  max-width: min(100%, 560px);
  margin: 0 auto;
  border-radius: 14px;
  padding: clamp(.45rem, 1vw, .75rem);
  background: rgba(10, 10, 10, 0.58);
  border: 1px solid rgb(var(--gold-rgb) / 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-image {
  width: 100%;
  max-height: min(62vh, 520px);
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  display: block;
}

.product-detail-meta-card {
  min-height: 100%;
}

.product-detail-code-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: var(--cta-btn-min-height);
  margin-left: 0;
  margin-right: 0;
  padding: var(--cta-btn-pad-y) var(--cta-btn-pad-x);
  font-size: 1.04rem;
}

.product-detail-meta p {
  line-height: 1.35;
}

@media (max-width: 991.98px) {
  .product-detail-image-wrap {
    max-width: min(100%, 500px);
  }

  .product-detail-image {
    max-height: min(54vh, 440px);
  }
}
.form-control.border-gold {
  border: 1px solid var(--gold-outline);
}

.form-control:focus {
  box-shadow: 0 0 0 .2rem rgba(215, 192, 122, .25);
  border-color: var(--gold-outline-strong);
}

footer {
  background: #0d0d0d;
}

.footer-social .team-inline-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
}

.footer-social .team-inline-icon svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 767.98px) {
  .footer-social .team-inline-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .footer-social .team-inline-icon svg {
    width: 17px;
    height: 17px;
  }
}
/* Buttons */
.btn-outline-gold {
  --bs-btn-color: var(--gold);
  --bs-btn-border-color: var(--gold-outline);
  --bs-btn-hover-bg: rgba(215, 192, 122, 0.12);
  --bs-btn-hover-border-color: var(--gold-outline-strong);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: rgba(215, 192, 122, 0.18);
  --bs-btn-active-border-color: var(--gold-outline-strong);
  --bs-btn-active-color: #fff;
}

/* Section titles */
.section-title {
  font-family: 'Playfair Display', serif;
  letter-spacing: .02rem;
}

@media (max-width: 767.98px) {
  :root {
    --cta-btn-min-height: 38px;
  }
}