@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* =============================================
   VARIABILE
   ============================================= */
:root {
  --gold:       #c9a96e;
  --gold-lt:    #e8d5aa;
  --gold-dk:    #9e7540;
  --ink:        #111111;
  --ink-2:      #2c2c2c;
  --ash:        #737373;
  --line:       #e8e1d6;
  --cream:      #ffffff;
  --cream-2:    #ede8df;
  --white:      #ffffff;
  --ease:       cubic-bezier(.4, 0, .2, 1);
  --dur:        .22s;
  --shadow-md:  0 4px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.16);
  --r:          3px;
}

/* =============================================
   BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

::selection { background: var(--gold-lt); color: var(--ink); }

::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--gold-lt); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* =============================================
   ANNOUNCEMENT BAR
   ============================================= */
.announcement-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, .6);
  text-align: center;
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: .5rem 1rem;
}

/* =============================================
   SITE HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 62px;
  gap: 1.75rem;
}

/* Logo */
.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink) !important;
  letter-spacing: .02em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: .1rem;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  padding: .35rem .7rem;
  border: none;
  background: none;
  border-radius: var(--r);
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--gold-dk);
}

.site-nav__link i {
  font-size: .6rem;
  transition: transform var(--dur) var(--ease);
}

/* Dropdown */
.site-nav__item {
  position: relative;
}

.site-nav__item:hover .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

.site-nav__item:hover .site-nav__link i {
  transform: rotate(180deg);
}

.nav-panel {
  position: absolute;
  top: calc(100% + .6rem);
  left: 0;
  min-width: 190px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  padding: .45rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              visibility var(--dur);
}

.nav-panel__link {
  display: block;
  padding: .5rem 1.1rem;
  font-size: .8rem;
  color: var(--ink-2);
  transition: background var(--dur), color var(--dur);
}

.nav-panel__link:hover {
  background: var(--cream-2);
  color: var(--gold-dk);
}

.nav-panel__link--sub {
  padding-left: 1.65rem;
  font-size: .76rem;
  color: var(--ash);
}

.nav-panel__sep {
  border: none;
  border-top: 1px solid var(--line);
  margin: .3rem 0;
}

/* Header right side */
.header-actions {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: auto;
}

/* Search */
.header-search {
  display: flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: .38rem .75rem;
  background: var(--white);
  transition: border-color var(--dur), box-shadow var(--dur);
}

.header-search:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, .14);
}

.header-search i {
  color: var(--ash);
  font-size: .85rem;
  flex-shrink: 0;
}

.header-search input {
  border: none;
  outline: none;
  font-size: .82rem;
  width: 190px;
  background: transparent;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
}

.header-search input::placeholder { color: var(--ash); }

/* Icon buttons */
.header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ink);
  font-size: 1.05rem;
  transition: background var(--dur), color var(--dur);
}

.header-icon:hover {
  background: var(--cream-2);
  color: var(--gold-dk);
}

/* Cart */
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--white);
  font-size: 1rem;
  transition: background var(--dur);
}

.header-cart:hover { background: var(--gold-dk); }

.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--gold);
  color: var(--ink);
  font-size: .58rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hamburger */
.header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  padding: .4rem;
}

.header-burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: var(--dur) var(--ease);
}

/* =============================================
   MOBILE NAV
   ============================================= */
.offcanvas.offcanvas-end {
  width: min(340px, 88vw) !important;
  background: var(--white) !important;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.mobile-nav-close {
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  color: var(--ash);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--dur), color var(--dur);
}

.mobile-nav-close:hover { background: var(--cream-2); color: var(--ink); }

.mobile-nav-body {
  padding: 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  overflow-y: auto;
  height: calc(100% - 60px);
}

.mobile-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: .5rem .85rem;
  background: var(--cream);
}

.mobile-search i { color: var(--ash); font-size: .88rem; }

.mobile-search input {
  border: none;
  outline: none;
  font-size: .84rem;
  background: transparent;
  width: 100%;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
}

.mobile-nav-links { display: flex; flex-direction: column; }

.mobile-nav-link {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  padding: .65rem 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: .04em;
  transition: color var(--dur);
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active { color: var(--gold-dk); }

.mobile-nav-link--sub {
  font-size: .8rem;
  font-weight: 400;
  padding: .45rem 0 .45rem .9rem;
  color: var(--ash);
  border-bottom: none;
}

.mobile-nav-link--sub:hover { color: var(--gold-dk); }

.mobile-nav-link--nested {
  padding-left: 1.8rem;
  color: var(--ash);
}

.mobile-nav-group {
  border-bottom: 1px solid var(--line);
  padding-bottom: .4rem;
}

.mobile-nav-group__label {
  display: block;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ash);
  padding: .5rem 0 .2rem;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}

.mobile-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .6rem 1rem;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  transition: all var(--dur);
}

.mobile-action-btn:hover {
  background: var(--cream-2);
  border-color: var(--ink);
  color: var(--ink);
}

.mobile-action-btn--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.mobile-action-btn--primary:hover {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
  color: var(--white);
}

/* =============================================
   SHOP TOOLBAR (titlu + filtre)
   ============================================= */
.shop-page { min-height: 72vh; }

.shop-toolbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}

.shop-toolbar__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.shop-toolbar__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}

.shop-toolbar__title em {
  font-style: normal;
  color: var(--gold-dk);
}

.shop-toolbar__count {
  font-size: .74rem;
  color: var(--ash);
  letter-spacing: .04em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Filtre */
.shop-filters {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: .3rem .85rem;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ash);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* =============================================
   PRODUCTS GRID
   ============================================= */
.shop-products { padding: 2.5rem 0 5rem; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.5rem;
}

@media (max-width: 1199.98px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767.98px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1rem;
  }
}

@media (max-width: 420px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* =============================================
   PRODUCT CARD
   ============================================= */
.product-card { display: flex; flex-direction: column; }

/* Zona imagine */
.product-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--cream-2);
  aspect-ratio: 1 / 1;
  border-radius: 6px;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: opacity .28s var(--ease), transform .55s var(--ease);
}

.product-card:hover .product-card__img {
  transform: scale(1.02);
}

.product-card__img--front,
.product-card__img--back {
  position: absolute;
  inset: 0;
}

.product-card__img--front {
  opacity: 1;
  z-index: 2;
}

.product-card__img--back {
  opacity: 0;
  z-index: 1;
}

.product-card:hover .product-card__img--front.has-back {
  opacity: 0;
}

.product-card__img--back.is-visible,
.product-card:hover .product-card__img--back {
  opacity: 1;
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--line);
  font-size: 2.5rem;
}

/* Overlay hover */
.product-card__overlay {
  position: absolute;
  left: .75rem;
  right: .75rem;
  bottom: .75rem;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.product-card__overlay span {
  display: block;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .58rem .85rem;
  border: 1px solid rgba(17, 17, 17, .08);
  border-radius: 4px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
}

.product-card:hover .product-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Badge stoc */
.product-card__badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  z-index: 5;
  background: rgba(0, 0, 0, .72);
  color: rgba(255, 255, 255, .85);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .27em .65em;
  border-radius: 2px;
}

/* Info sub imagine */
.product-card__info {
  padding: .7rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .18rem;
}

.product-card__cat {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-dk);
}

.product-card__name {
  margin: 0;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.45;
}

.product-card__name a {
  color: var(--ink);
  transition: color var(--dur);
}

.product-card__name a:hover { color: var(--gold-dk); }

.product-card__price {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: .1rem;
}

.product-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem;
  margin-top: .1rem;
}

.product-card__price-row .product-card__price {
  margin-top: 0;
}

.product-card__price-old {
  color: var(--ash);
  font-size: .78rem;
  font-weight: 500;
  text-decoration: line-through;
}

.product-card__discount {
  color: #f6403e;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-card--out .product-card__price { color: var(--ash); }

.product-card__cart {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: .85rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: .55rem .85rem;
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background var(--dur), color var(--dur);
}

.product-card__cart:hover {
  background: var(--ink);
  color: var(--white);
}

/* =============================================
   STARI: EMPTY / ERROR
   ============================================= */
.shop-empty {
  text-align: center;
  padding: 5rem 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.shop-empty__icon {
  font-size: 2.8rem;
  color: var(--line);
  margin-bottom: 1.25rem;
}

.shop-empty h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 .65rem;
}

.shop-empty p {
  font-size: .85rem;
  color: var(--ash);
  line-height: 1.75;
  margin: 0 0 1.5rem;
}

.shop-empty p a {
  color: var(--gold-dk);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.empty-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--ink);
  color: var(--white);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .72rem 1.6rem;
  border-radius: var(--r);
  transition: background var(--dur);
}

.empty-cta:hover {
  background: var(--gold-dk);
  color: var(--white);
}

.shop-error {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: 4px;
  padding: .9rem 1.1rem;
  font-size: .83rem;
  color: #7f1d1d;
  margin-bottom: 2rem;
}

.shop-error i { font-size: 1rem; flex-shrink: 0; }

/* =============================================
   PRODUCT DETAIL GALLERY
   ============================================= */
.product-detail-page {
  background: var(--white);
}

.product-detail {
  padding: 3rem 0 5rem;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.product-detail__media {
  position: sticky;
  top: 132px;
}

.product-gallery {
  background: var(--cream-2);
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}

.product-gallery__frame {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-gallery__empty {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--cream-2);
  color: var(--ash);
  font-size: 2.75rem;
}

.product-gallery .carousel-control-prev,
.product-gallery .carousel-control-next {
  width: 3.25rem;
  opacity: 1;
}

.product-gallery .carousel-control-prev-icon,
.product-gallery .carousel-control-next-icon {
  background-color: rgba(17, 17, 17, .72);
  background-size: 55%;
  border-radius: 50%;
  height: 2.25rem;
  width: 2.25rem;
}

.product-gallery .carousel-indicators {
  margin-bottom: .75rem;
}

.product-gallery .carousel-indicators [data-bs-target] {
  background-color: var(--ink);
  border: 0;
  border-radius: 50%;
  height: 7px;
  opacity: .28;
  width: 7px;
}

.product-gallery .carousel-indicators .active {
  opacity: 1;
}

.product-summary {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  color: var(--ash);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.product-breadcrumb a {
  color: var(--ink);
  text-decoration: none;
}

.product-breadcrumb a:hover {
  color: var(--gold-dk);
}

.product-summary__title {
  margin: 0;
  color: var(--ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: .98;
}

.product-summary__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.1rem 0 0;
}

.product-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  padding: .28rem .75rem;
  background: var(--white);
  color: var(--ash);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-chip--stock {
  border-color: transparent;
  color: #146c43;
}

.product-chip--low {
  border-color: transparent;
  color: #b02a37;
}

.product-chip--out {
  border-color: transparent;
  color: var(--ash);
}

.product-summary__price {
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0;
}

.product-summary__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .65rem;
  margin-top: 1.6rem;
}

.product-summary__price-old {
  color: var(--ash);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: line-through;
}

.product-summary__discount {
  color: #f6403e;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-summary__description {
  margin-top: 1.4rem;
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.85;
}

.product-summary__description p:last-child {
  margin-bottom: 0;
}

.product-purchase-form {
  margin-top: 1.75rem;
}

.product-size-picker {
  display: grid;
  gap: .65rem;
}

.product-size-picker > span {
  color: var(--ash);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-size-picker__options {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.product-size-picker label {
  margin: 0;
}

.product-size-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-size-picker label span {
  display: inline-flex;
  min-width: 48px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 900;
  cursor: pointer;
}

.product-size-picker input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.product-size-picker input:disabled + span {
  background: var(--cream-2);
  color: var(--ash);
  cursor: not-allowed;
}

.product-actions-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  margin-top: 1rem;
}

.product-action-primary,
.product-action-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: .85rem 1.1rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}

.product-action-primary {
  background: var(--ink);
  color: var(--white);
}

.product-action-primary:hover {
  background: transparent;
  color: var(--ink);
}

.product-action-primary.is-disabled {
  pointer-events: none;
  border-color: var(--line);
  background: var(--cream-2);
  color: var(--ash);
}

.product-action-secondary {
  background: transparent;
  color: var(--ink);
}

.product-action-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.product-detail-list {
  display: grid;
  gap: .75rem;
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 0;
}

.product-detail-list__item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: .75rem;
  color: var(--ash);
  font-size: .84rem;
  line-height: 1.55;
}

.product-detail-list__item i {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.product-state {
  display: grid;
  place-items: center;
  min-height: 52vh;
  padding: 4rem 1rem;
  text-align: center;
}

.product-state__box {
  max-width: 460px;
}

.product-state__icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ash);
  font-size: 1.55rem;
}

.product-state h1 {
  margin: 0 0 .6rem;
  color: var(--ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

/* Cart */
.cart-page {
  min-height: 64vh;
  padding: 3rem 0 5rem;
  background: var(--cream);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cart-head h1 {
  margin: 0;
  color: var(--ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

.cart-head p {
  margin: .35rem 0 0;
  color: var(--ash);
}

.cart-alert {
  margin-bottom: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .9rem 1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}

.cart-alert--danger { border-color: #d85b55; color: #9b2722; }
.cart-alert--success { border-color: #9cbf8f; color: #365d2f; }

.cart-empty {
  display: grid;
  justify-items: center;
  gap: .8rem;
  padding: 4rem 1rem;
  background: var(--white);
  text-align: center;
}

.cart-empty i {
  color: var(--ash);
  font-size: 2rem;
}

.cart-empty h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
}

.cart-empty p {
  margin: 0 0 .8rem;
  color: var(--ash);
}

.cart-layout,
.summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 1.5rem;
  align-items: start;
}

.cart-list,
.checkout-form,
.cart-summary {
  background: var(--white);
  border-radius: 6px;
}

.cart-list {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  gap: 0;
}

.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 42px;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-item__image {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--cream-2);
  color: var(--ash);
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__body {
  display: grid;
  gap: 1rem;
}

.cart-item__body h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.cart-item__body h2 a {
  color: var(--ink);
  text-decoration: none;
}

.cart-item__body p {
  margin: .25rem 0 0;
  color: var(--ash);
  font-size: .82rem;
}

.cart-item__meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.cart-item__meta label,
.checkout-form label {
  display: grid;
  gap: .35rem;
  color: var(--ash);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cart-item__meta input,
.cart-item__meta select,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .7rem .75rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.cart-item__meta input {
  width: 86px;
}

.cart-item__meta select {
  width: 96px;
}

.cart-item__meta span {
  color: var(--ink);
  font-weight: 900;
}

.cart-item__remove {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ash);
}

.cart-list__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1rem;
}

.cart-live-status {
  color: var(--ash);
  font-size: .78rem;
  font-weight: 800;
}

.cart-live-status[data-state="saving"] {
  color: var(--ink);
}

.cart-live-status[data-state="saved"] {
  color: #365d2f;
}

.cart-live-status[data-state="error"] {
  color: #9b2722;
}

.cart-summary {
  position: sticky;
  top: 86px;
  grid-column: 2;
  grid-row: 1;
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.cart-summary h2,
.checkout-form h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cart-summary__row,
.cart-summary__total,
.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ash);
}

.cart-summary__total {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
}

.cart-clear {
  border: 0;
  background: transparent;
  color: var(--ash);
  font-weight: 800;
  text-decoration: underline;
}

.checkout-form {
  padding: 1.25rem;
}

.checkout-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.25rem;
}

.checkout-form__wide {
  grid-column: 1 / -1;
}

.delivery-method {
  display: grid;
  gap: .75rem;
}

.delivery-method__label {
  color: var(--ash);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.delivery-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.checkout-form .delivery-option {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: .85rem;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .8rem;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.delivery-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-option__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--cream-2);
  color: var(--ink);
  font-size: 1.05rem;
}

.delivery-option strong {
  display: block;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 900;
  line-height: 1.2;
}

.delivery-option small {
  display: block;
  margin-top: .2rem;
  color: var(--ash);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.25;
}

.delivery-option.is-active {
  border-color: var(--ink);
  background: #fbfaf7;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.delivery-option.is-active .delivery-option__icon {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.fanbox-panel {
  display: grid;
  gap: .85rem;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .9rem;
  background: #fbfaf7;
}

.fanbox-panel[hidden] {
  display: none;
}

.fanbox-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fanbox-panel__head strong {
  display: block;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 900;
}

.fanbox-panel__head span {
  display: block;
  margin-top: .18rem;
  color: var(--ash);
  font-size: .78rem;
}

.fanbox-search {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: .6rem .85rem;
  background: var(--ink);
  color: var(--white);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fanbox-search:disabled {
  opacity: .58;
  cursor: wait;
}

.checkout-form .fanbox-select {
  gap: .45rem;
}

.checkout-form .fanbox-select select {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .75rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: .88rem;
  text-transform: none;
  text-overflow: ellipsis;
}

.fanbox-status {
  max-width: 100%;
  min-height: 1.2em;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: .65rem .75rem;
  background: transparent;
  color: var(--ash);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.fanbox-status:not(:empty) {
  border-color: rgba(54, 93, 47, .22);
  background: rgba(54, 93, 47, .08);
  color: #365d2f;
}

.fanbox-map {
  width: 100%;
  max-width: 100%;
  height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cream-2);
  touch-action: pan-x pan-y;
  overscroll-behavior: contain;
}

.fanbox-map[hidden] {
  display: none;
}

.fanbox-map .leaflet-control-attribution {
  border-radius: 4px 0 0 0;
  background: rgba(255, 255, 255, .86);
  color: var(--ash);
  font-size: .62rem;
}

.fanbox-marker,
.fanbox-map .leaflet-div-icon.fanbox-marker {
  display: block;
  width: 44px !important;
  height: 52px !important;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  z-index: 500;
}

.fanbox-marker span {
  position: relative;
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 0;
  background: #f6403e;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(16, 16, 16, .35), 0 0 0 3px rgba(246, 64, 62, .18);
  font-size: 1.05rem;
  transform: rotate(-45deg);
  transform-origin: center;
}

.fanbox-marker span i {
  position: relative;
  z-index: 2;
  transform: rotate(45deg);
}

.fanbox-marker span::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: inherit;
}

.fanbox-map .leaflet-popup-content-wrapper {
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(16, 16, 16, .18);
}

.fanbox-map .leaflet-popup-content {
  width: 260px !important;
  min-width: 260px;
  margin: .9rem;
}

.fanbox-popup {
  display: grid;
  gap: .55rem;
  max-width: 100%;
  white-space: normal;
}

.fanbox-popup strong {
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.25;
  white-space: normal;
  word-break: normal;
}

.fanbox-popup span {
  display: block;
  color: var(--ash);
  font-size: .78rem;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

.fanbox-popup-btn {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  margin-top: .35rem;
  border: 1px solid #101010;
  border-radius: 4px;
  padding: .5rem .8rem;
  background: #101010;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-align: center;
  cursor: pointer;
}

.billing-box {
  display: grid;
  gap: .9rem;
  border-top: 1px solid var(--line);
  padding-top: 1.15rem;
}

.billing-box h2 {
  margin-top: .2rem;
}

.checkout-form .billing-same {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.billing-same input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.checkout-form .billing-grid select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .7rem .75rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.billing-grid input[readonly] {
  background: #f7f5f0;
  color: var(--ash);
}

.summary-items {
  display: grid;
  gap: .75rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.payment-form {
  display: grid;
  gap: 1.25rem;
}

.payment-methods {
  display: grid;
  gap: .85rem;
}

.payment-select {
  display: grid;
  gap: .45rem;
  color: var(--ash);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.payment-select select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .85rem 1rem;
  background: var(--white);
  color: var(--ink);
  font-size: .95rem;
  font-weight: 800;
  text-transform: none;
}

.payment-method {
  display: grid;
  grid-template-columns: auto 44px minmax(0, 1fr);
  align-items: center;
  gap: .85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem;
  color: var(--ink);
  cursor: pointer;
}

.payment-method:has(input:checked) {
  border-color: var(--ink);
  background: var(--cream-2);
}

.payment-method input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

.payment-method__icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 1.1rem;
}

.payment-method strong {
  display: block;
  margin-bottom: .2rem;
  font-size: .95rem;
}

.payment-method small {
  display: block;
  color: var(--ash);
  font-size: .78rem;
}

.checkout-customer {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}

.checkout-customer p {
  margin: .35rem 0 0;
  color: var(--ash);
  line-height: 1.55;
}

.customer-orders {
  display: grid;
  gap: 1rem;
}

.customer-order {
  display: grid;
  gap: 1rem;
  border-radius: 6px;
  background: var(--white);
  padding: 1.25rem;
}

.customer-order__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.customer-order__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
}

.customer-order__head p {
  margin: .25rem 0 0;
  color: var(--ash);
  font-size: .82rem;
}

.account-page {
  min-height: 64vh;
  padding: 4rem 0 5rem;
  background: var(--cream);
}

.account-login {
  display: grid;
  gap: 1.25rem;
  max-width: 520px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: none;
}

.account-login__head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
}

.account-login__icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 1.35rem;
}

.account-login h1 {
  margin: 0;
  color: var(--ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.15rem);
  font-weight: 500;
}

.account-login p {
  margin: .25rem 0 0;
  color: var(--ash);
  line-height: 1.55;
}

.account-login__form {
  display: grid;
  gap: 1rem;
}

.account-login__form .checkout-form__grid {
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
}

.account-login__form label {
  display: grid;
  gap: .45rem;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.account-login__form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .8rem .9rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.account-login__form input:focus {
  border-color: var(--ink);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(16, 16, 16, .08);
}

.account-login__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--ash);
  font-size: .86rem;
}

.account-login__foot a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.account-login__foot a:hover {
  text-decoration: underline;
}

.payment-result {
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 620px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.payment-result__icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 2rem;
}

.payment-result--declined .payment-result__icon {
  background: #9b2722;
}

.payment-result h1 {
  margin: 0;
  color: var(--ink);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 500;
}

.payment-result p {
  max-width: 440px;
  margin: 0;
  color: var(--ash);
  line-height: 1.65;
}

.payment-result__code {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .75rem 1rem;
  color: var(--ink);
  font-weight: 900;
}

.payment-result__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: .5rem;
}

@media (max-width: 575.98px) {
  .account-page {
    padding-top: 2rem;
  }

  .account-login__head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .cart-head,
  .cart-layout,
  .summary-layout {
    grid-template-columns: 1fr;
  }

  .cart-head {
    display: grid;
    align-items: start;
  }

  .cart-summary {
    grid-column: auto;
    grid-row: auto;
    position: static;
    order: -1;
  }
}

@media (max-width: 575.98px) {
  .cart-page {
    padding-top: 2rem;
  }

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

  .cart-item__remove {
    position: absolute;
    top: .75rem;
    right: .75rem;
  }

  .cart-item__meta {
    align-items: start;
    flex-direction: column;
  }

  .cart-list__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-form__grid {
    grid-template-columns: 1fr;
  }

  .checkout-form input,
  .checkout-form select,
  .checkout-form textarea,
  .checkout-form .fanbox-select select,
  .checkout-form .billing-grid select {
    font-size: 16px;
  }

  .billing-grid {
    grid-template-columns: 1fr;
  }

  .delivery-options {
    grid-template-columns: 1fr;
  }

  .fanbox-panel__head {
    align-items: stretch;
    flex-direction: column;
  }

  .fanbox-search {
    width: 100%;
  }

  .fanbox-map {
    height: 240px;
    margin-right: -.15rem;
    margin-left: -.15rem;
  }

}

.product-state p {
  margin: 0 0 1.4rem;
  color: var(--ash);
}

@media (max-width: 991.98px) {
  .product-detail {
    padding-top: 2rem;
  }

  .product-detail__grid {
    grid-template-columns: 1fr;
  }

  .product-detail__media {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .product-summary {
    padding: 1rem;
  }

  .product-actions-row {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .5);
  padding: 3.5rem 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-logo {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .02em;
  margin-bottom: .6rem;
  text-decoration: none;
}

.site-footer__brand p {
  font-size: .8rem;
  line-height: 1.8;
  max-width: 230px;
  margin: 0;
}

.site-footer__col h5 {
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 .9rem;
}

.site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .42rem;
}

.site-footer__col ul a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
  transition: color var(--dur);
}

.site-footer__col ul a:hover { color: var(--gold-lt); }

.site-footer__bottom {
  padding: 1.1rem 0;
}

.site-footer__bottom p {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .22);
  margin: 0;
  text-align: center;
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet: ascunde nav si search din header */
@media (max-width: 991.98px) {
  .site-nav       { display: none; }
  .header-search  { display: none; }
  .header-burger  { display: flex; }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
}

/* Mobil mic */
@media (max-width: 575.98px) {
  .header-inner { gap: .75rem; }

  .shop-toolbar__title { font-size: 1.3rem; }

  .site-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }

  .site-footer__brand p { max-width: none; }
}

/* Shrink search pe ecrane medii */
@media (max-width: 1100px) and (min-width: 992px) {
  .header-search input { width: 130px; }
}

/* =============================================
   DRAMACLUB SHOP HEADER
   ============================================= */
:root {
  --dc-black: #101010;
  --dc-ink: #252525;
  --dc-muted: #6f6f6f;
  --dc-line: #dedbd5;
  --dc-paper: #ffffff;
  --dc-white: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid var(--dc-line);
  background: rgba(255, 255, 255, .96);
}

.header-top {
  display: flex;
  align-items: center;
  min-height: 34px;
  border-bottom: 1px solid var(--dc-line);
  background: #f6403e;
  color: var(--dc-white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

.header-top-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.nav-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.brand-mark {
  color: var(--dc-black) !important;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-subline {
  display: block;
  margin-top: .12rem;
  color: var(--dc-muted);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--dc-ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links a {
  color: inherit;
  transition: color .18s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--dc-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  margin-left: 0;
}

.search-link,
.account-link,
.cart-link {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dc-black);
  font-size: 1.05rem;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.search-link,
.account-link {
  background: transparent;
  color: var(--dc-black);
}

.cart-link {
  background: var(--dc-black);
  color: var(--dc-white);
}

.cart-link:hover {
  background: transparent;
  color: var(--dc-black);
}

.search-link:hover,
.account-link:hover {
  background: var(--dc-black);
  color: var(--dc-white);
}

@media (max-width: 991.98px) {
  .header-top {
    display: none !important;
  }

  .nav-shell {
    align-items: flex-start !important;
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 16px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .header-actions {
    gap: .45rem;
  }
}

@media (min-width: 992px) {
  .header-container {
    padding-right: 3rem;
    padding-left: 3rem;
  }
}
