:root {
  --bg: #f5f2ec;
  --surface: #fffdf9;
  --card: #ffffff;
  --text: #141518;
  --muted: #655f58;
  --line: #ddd5ca;
  --gold: #1a1b1f;
  --gold-soft: #f3e5d2;
  --nav-active: #2f6bff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, #ffffff 0, transparent 42%),
    radial-gradient(circle at 100% 15%, #f2ece3 0, transparent 45%),
    var(--bg);
  overflow-x: hidden;
}

.topbar {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  background: #111214;
  color: #f7f8fa;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px 40px;
  border-bottom: 1px solid rgba(20, 21, 24, 0.08);
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: auto;
  max-width: 220px;
  max-height: 64px;
  height: auto;
  object-fit: contain;
  border: none;
  border-radius: 0;
}

.collection-nav {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  gap: 26px;
  flex-wrap: nowrap;
}

.collection-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.98rem;
}

.collection-nav a:hover {
  color: var(--text);
}

.collection-nav a.is-active,
.collection-mobile-links a.is-active {
  color: var(--nav-active);
}

.header-cta {
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.collection-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(20, 21, 24, 0.14);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.collection-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111214;
}

.collection-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 46;
  display: none;
  background: rgba(10, 10, 12, 0.42);
}

.collection-mobile-menu.open {
  display: block;
}

.collection-mobile-panel {
  width: min(92vw, 360px);
  height: 100%;
  margin-left: auto;
  background: #fffdf9;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 20px;
  box-shadow: -12px 0 36px rgba(16, 17, 20, 0.16);
}

.collection-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.collection-mobile-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(20, 21, 24, 0.14);
  background: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.collection-mobile-links {
  display: grid;
  gap: 6px;
}

.collection-mobile-links a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid rgba(20, 21, 24, 0.08);
  color: var(--text);
}

.collection-mobile-actions {
  display: grid;
  gap: 10px;
}

.mobile-phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(20, 21, 24, 0.14);
  text-decoration: none;
  font-weight: 700;
}

.cart-btn {
  border: 1px solid #d4dae3;
  background: #fff;
  color: #1a1f27;
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #111214;
  color: #f8f9fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  padding: 0 6px;
}

.hero {
  padding: 28px 40px 18px;
}

.collection-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 22px;
  align-items: stretch;
}

.collection-hero-copy,
.collection-hero-media {
  min-width: 0;
}

.collection-hero-copy {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(20, 21, 24, 0.08);
  background: rgba(255, 253, 249, 0.86);
  box-shadow: 0 22px 50px rgba(16, 17, 20, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.collection-hero-media {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(20, 21, 24, 0.08);
  min-height: 420px;
  background: #e4d8cb;
}

.collection-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #0f1012;
}

.collection-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.collection-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(20, 21, 24, 0.16);
  text-decoration: none;
  font-weight: 700;
}

.breadcrumb {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: #646b78;
}

.hero .eyebrow {
  margin: 14px 0 0;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5d6572;
}

.hero h1 {
  margin: 10px 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.96;
}

.hero p {
  margin: 0;
  max-width: 620px;
  color: #5f5750;
}

.collection-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 40px 18px;
}

.collection-shortcut {
  flex: 1 1 180px;
  min-width: 180px;
  text-decoration: none;
  border: 1px solid rgba(20, 21, 24, 0.08);
  border-radius: 20px;
  background: rgba(255, 253, 249, 0.84);
  padding: 16px;
  box-shadow: 0 14px 30px rgba(16, 17, 20, 0.04);
}

.collection-shortcut-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7c746b;
  font-weight: 700;
}

.collection-shortcut strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.collection-shortcut small {
  color: #645d56;
}

.collection-featured-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 40px 24px;
}

.collection-featured-card {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 24px;
  display: block;
  color: #fff;
  text-decoration: none;
}

.collection-featured-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48));
}

.collection-featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-featured-card span {
  position: absolute;
  left: 22px;
  bottom: 24px;
  z-index: 2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.catalog-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 40px 24px;
}

.catalog-trust-bottom {
  width: min(1320px, calc(100vw - 40px));
  margin: 0 auto 28px;
}

.catalog-trust-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.catalog-trust-label {
  margin: 0 0 8px;
  color: #666f7d;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.catalog-trust-card strong {
  display: block;
  margin-bottom: 6px;
  color: #1b2028;
  line-height: 1.5;
}

.catalog-trust-card span,
.catalog-trust-link {
  color: #556071;
  line-height: 1.6;
  font-size: 0.9rem;
}

.catalog-trust-link {
  display: inline-block;
  margin-top: 6px;
  text-decoration: none;
  font-weight: 700;
}

.catalog {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 30px 40px 50px;
}

.filters {
  border: 1px solid #dfe4eb;
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 253, 249, 0.92);
  height: fit-content;
  position: sticky;
  top: 90px;
}

.filter-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filters h2 {
  margin: 0;
  font-size: 1.1rem;
}

.text-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.close-filters {
  display: none;
  border: 1px solid #dfe4eb;
  background: #fff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.filter-group {
  border-top: 1px solid #e7ebf1;
  padding: 12px 0;
}

.filter-group h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: #4b535f;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
}

.mobile-filter-btn {
  display: none;
  border: 1px solid #dfe4eb;
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}

.toolbar p {
  margin: 0;
  color: #596170;
  font-weight: 600;
}

.toolbar label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}

.toolbar-controls {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.search-wrap {
  min-width: 260px;
}

.search-wrap input {
  width: min(100%, 320px);
  padding: 8px 10px;
  border: 1px solid #dfe4eb;
  border-radius: 10px;
  background: #ffffff;
}

.toolbar select {
  padding: 7px 10px;
  border: 1px solid #dfe4eb;
  border-radius: 10px;
  background: #ffffff;
}

.toolbar-sub {
  margin: 0 0 16px;
  font-size: 0.88rem;
  color: #646b78;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  min-height: 30px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dde3eb;
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  color: #49505d;
}

.filter-chip button {
  border: none;
  background: none;
  color: #49505d;
  cursor: pointer;
  font-size: 0.92rem;
  line-height: 1;
  padding: 0;
}

.active-filters .chip-clear-all {
  border-style: dashed;
  cursor: pointer;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  border: 1px solid rgba(20, 21, 24, 0.08);
  border-radius: 12px;
  background: var(--card);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(24, 21, 17, 0.08);
}

.product-image {
  height: 190px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.product-media {
  position: relative;
}

.quick-view {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translate(-50%, 14px);
  border: 1px solid #e9edf3;
  background: rgba(255, 255, 255, 0.95);
  color: #1c2028;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.product-card:hover .quick-view {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.quick-view:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: rgba(17, 18, 20, 0.75);
  color: #f8f9fb;
  pointer-events: auto;
}

.product-body {
  padding: 10px 11px 12px;
}

.badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}

.badge {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 3px 7px;
  background: var(--gold-soft);
  color: #4e5662;
  font-weight: 700;
}

.product-availability {
  margin: 8px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.product-availability.is-in {
  color: #23643c;
}

.product-availability.is-low {
  color: #9a6700;
}

.product-availability.is-out {
  color: #b42318;
}

.product-name {
  margin: 0 0 5px;
  font-size: 0.93rem;
}

.product-meta {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.77rem;
}

.product-colors {
  margin: 0;
  font-size: 0.76rem;
  color: #606875;
}

.product-price {
  margin: 8px 0 8px;
  font-weight: 700;
  font-size: 0.84rem;
}

.product-price.is-promo,
.quickview-price.is-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.price-original {
  text-decoration: line-through;
  color: #8a93a3;
  font-weight: 600;
}

.price-current {
  color: #b42318;
  font-weight: 800;
}

.product-link {
  font-size: 0.74rem;
  color: #3f4654;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid #3f4654;
  border-left: none;
  border-right: none;
  border-top: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.load-more-wrap {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.load-more-btn {
  border: 1px solid #222833;
  background: #fff;
  color: #222833;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
}

.load-more-btn:hover {
  background: #222833;
  color: #fff;
}

.filters-overlay {
  display: none;
}

.quickview-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.quickview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.62);
}

.quickview-panel {
  position: relative;
  width: min(940px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  background: #ffffff;
  border-radius: 16px;
  overflow: auto;
  border: 1px solid #dfe4eb;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.quickview-media {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
}

.quickview-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #dfe4eb;
  background: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 2;
}

.quickview-image-stage {
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #dfe4eb;
  overflow: hidden;
}

.quickview-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.quickview-zoom {
  justify-self: end;
  border: 1px solid #d7dee8;
  background: #fff;
  color: #222833;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

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

.quickview-thumb {
  border: 1px solid #d9dfe8;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  cursor: pointer;
}

.quickview-thumb.active {
  border-color: #111214;
  box-shadow: inset 0 0 0 1px #111214;
}

.quickview-thumb img {
  width: 100%;
  height: 90px;
  min-height: 90px;
  max-height: 90px;
  object-fit: contain;
  display: block;
  background: #fff;
}

.qv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.qv-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.82);
}

.qv-lightbox-panel {
  position: relative;
  width: min(1100px, calc(100vw - 32px));
  height: min(90vh, 900px);
  margin: 5vh auto;
  display: grid;
  place-items: center;
}

.qv-lightbox-panel img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.qv-lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.qv-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.qv-lightbox-nav.prev {
  left: 8px;
}

.qv-lightbox-nav.next {
  right: 8px;
}

body.qv-lightbox-open .qv-lightbox {
  opacity: 1;
  pointer-events: auto;
}

.quickview-content {
  padding: 26px 22px;
}

.quickview-badge {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf1f6;
  color: #4f5866;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

#qvTitle {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-family: "Marcellus", serif;
}

.quickview-meta {
  margin: 0 0 8px;
  color: #606875;
  font-size: 0.9rem;
}

.quickview-stock {
  margin: 0 0 10px;
  font-weight: 700;
}

.quickview-stock.is-in {
  color: #23643c;
}

.quickview-stock.is-low {
  color: #9a6700;
}

.quickview-stock.is-out {
  color: #b42318;
}

.quickview-price {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.quickview-group p,
.quickview-qty p {
  margin: 0 0 8px;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4f5866;
}

.quickview-group {
  margin-bottom: 14px;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-btn {
  border: 1px solid #d9dfe8;
  background: #fff;
  color: #2f3642;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 0.85rem;
  cursor: pointer;
}

.option-btn.active {
  border-color: #111214;
  background: #111214;
  color: #f8f9fb;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d9dfe8;
  border-radius: 12px;
  overflow: hidden;
}

.qty-control button {
  border: none;
  background: #fff;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
}

#qvQtyValue {
  width: 38px;
  text-align: center;
  font-weight: 700;
}

.qv-add {
  margin-top: 16px;
  width: 100%;
  border: 1px solid #111214;
  background: #111214;
  color: #f8f9fb;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.qv-add:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.qv-secondary {
  margin-top: 10px;
  width: 100%;
  border: 1px solid #d9dfe8;
  background: #fff;
  color: #222833;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.qv-message {
  min-height: 20px;
  margin: 10px 0 0;
  color: #58606e;
  font-size: 0.85rem;
}

.tryon-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.tryon-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.74);
}

.tryon-panel {
  position: relative;
  width: min(1180px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  margin: 14px auto;
  background: #ffffff;
  border: 1px solid #dfe4eb;
  border-radius: 22px;
  overflow: auto;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
}

.tryon-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #dfe4eb;
  background: rgba(255, 255, 255, 0.96);
  color: #111214;
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 2;
}

.tryon-stage-wrap {
  padding: 24px;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.95), transparent 36%),
    linear-gradient(180deg, #f7fafc 0%, #eef2f6 100%);
}

.tryon-stage-head {
  margin-bottom: 16px;
}

.tryon-kicker {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 700;
  color: #616a79;
}

.tryon-stage-head h2 {
  margin: 0 0 8px;
  font-family: "Marcellus", serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.tryon-subtitle {
  margin: 0;
  color: #5f6672;
  line-height: 1.6;
}

.tryon-stage {
  --tryon-scale: 1;
  --tryon-x: 0px;
  --tryon-y: 0px;
  --tryon-rotate: 0deg;
  --tryon-opacity: 0.92;
  position: relative;
  min-height: 620px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #dfe4eb;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(241, 245, 249, 0.85)),
    repeating-linear-gradient(90deg, rgba(223, 228, 235, 0.5) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(180deg, rgba(223, 228, 235, 0.45) 0 1px, transparent 1px 56px);
}

.tryon-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  color: #5b6371;
  z-index: 1;
}

.tryon-empty strong {
  font-size: 1.15rem;
  color: #1d232d;
}

.tryon-photo,
.tryon-camera {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.tryon-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72%, 480px);
  max-width: 82%;
  transform: translate(calc(-50% + var(--tryon-x)), calc(-50% + var(--tryon-y))) rotate(var(--tryon-rotate)) scale(var(--tryon-scale));
  transform-origin: center;
  opacity: var(--tryon-opacity);
  mix-blend-mode: multiply;
  display: none;
  filter: drop-shadow(0 16px 28px rgba(17, 18, 20, 0.18));
  z-index: 2;
  pointer-events: none;
}

.tryon-guide {
  position: absolute;
  inset: 12% 18%;
  border: 2px dashed rgba(34, 40, 51, 0.28);
  border-radius: 46% 46% 42% 42%;
  pointer-events: none;
  z-index: 1;
}

.tryon-controls {
  padding: 24px 22px;
  display: grid;
  align-content: start;
  gap: 18px;
  border-left: 1px solid #e6ebf1;
}

.tryon-actions,
.tryon-footer {
  display: grid;
  gap: 10px;
}

.tryon-action {
  border: 1px solid #d8dee8;
  background: #fff;
  color: #1f2430;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.tryon-action.primary {
  border-color: #111214;
  background: #111214;
  color: #f8f9fb;
}

.tryon-action.subtle {
  background: #f7f9fc;
}

.tryon-action:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.tryon-sliders {
  display: grid;
  gap: 14px;
}

.tryon-sliders label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 10px;
  align-items: center;
  color: #2d3440;
  font-weight: 700;
}

.tryon-sliders label span {
  color: #5f6672;
  font-weight: 600;
  font-size: 0.88rem;
}

.tryon-sliders input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
}

.tryon-status {
  margin: 0;
  min-height: 22px;
  color: #5d6471;
  line-height: 1.5;
}

body.tryon-open .tryon-modal {
  opacity: 1;
  pointer-events: auto;
}

body.tryon-open {
  overflow: hidden;
}

body.quickview-open .quickview-modal {
  opacity: 1;
  pointer-events: auto;
}

body.quickview-open {
  overflow: hidden;
}

.drawer-footer {
  display: none;
}

.drawer-footer {
  gap: 10px;
}

.clear-filters-btn,
.apply-filters-btn {
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.clear-filters-btn {
  flex: 0 0 auto;
  border: 1px solid #111214;
  background: transparent;
  color: #111214;
}

.apply-filters-btn {
  flex: 1;
  border: 1px solid #111214;
  background: #111214;
  color: #f8f9fb;
}

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

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.cart-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.5);
}

.cart-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(430px, 94vw);
  background: #ffffff;
  border-left: 1px solid #dfe4eb;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8ecf2;
  padding: 14px 16px;
}

.cart-head h2 {
  margin: 0;
  font-size: 1.08rem;
}

.cart-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #dfe4eb;
  background: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.cart-items {
  overflow-y: auto;
  padding: 10px 16px;
}

.cart-empty {
  color: #5f6672;
  font-size: 0.92rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 10px;
  border-bottom: 1px solid #e9edf3;
  padding: 10px 0;
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item h4 {
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.cart-item p {
  margin: 0;
  color: #616977;
  font-size: 0.78rem;
}

.cart-item .cart-stock {
  margin-top: 4px;
  font-weight: 700;
}

.cart-item .price {
  margin-top: 6px;
  color: #1f242d;
  font-weight: 700;
  font-size: 0.8rem;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-controls button {
  border: 1px solid #d9dfe8;
  background: #fff;
  border-radius: 8px;
  width: 24px;
  height: 24px;
  line-height: 1;
  cursor: pointer;
}

.remove-item {
  border: none;
  background: none;
  color: #6a7484;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-size: 0.74rem;
}

.cart-footer {
  border-top: 1px solid #e8ecf2;
  padding: 12px 16px 16px;
  background: #f7f9fc;
}

.cart-footer p {
  margin: 0 0 10px;
}

.checkout-btn {
  width: 100%;
  border: 1px solid #111214;
  background: #111214;
  color: #f8f9fb;
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
  cursor: pointer;
}

body.cart-open .cart-drawer {
  opacity: 1;
  pointer-events: auto;
}

body.cart-open {
  overflow: hidden;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.56);
}

.checkout-panel {
  position: relative;
  width: min(860px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  margin: 12px auto;
  border: 1px solid #dde3eb;
  border-radius: 16px;
  background: #ffffff;
  overflow: auto;
}

.checkout-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #e8ecf2;
}

.checkout-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.checkout-close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #dfe4eb;
  background: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.checkout-steps {
  list-style: none;
  padding: 10px 16px;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-bottom: 1px solid #e8ecf2;
}

.checkout-steps li {
  border: 1px solid #dfe5ec;
  border-radius: 999px;
  text-align: center;
  padding: 7px 8px;
  font-size: 0.78rem;
  color: #616977;
}

.checkout-steps li.active {
  border-color: #111214;
  background: #111214;
  color: #f8f9fb;
}

.checkout-body {
  padding: 14px 16px;
}

.checkout-step {
  display: none;
}

.checkout-step.active {
  display: block;
}

.checkout-step h3 {
  margin: 2px 0 10px;
  font-size: 1.05rem;
}

.checkout-intro {
  margin: 0 0 12px;
  color: #667082;
  font-size: 0.9rem;
  line-height: 1.6;
}

.checkout-step label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.86rem;
  color: #49505d;
}

.checkout-step input,
.checkout-step select {
  margin-top: 6px;
  width: 100%;
  border: 1px solid #dfe4eb;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 0.92rem;
  background: #fff;
}

.checkout-step input.invalid,
.checkout-step select.invalid {
  border-color: #cc2a2a;
}

.cod-note {
  border: 1px solid #e4e9f0;
  border-radius: 12px;
  background: #f8f9fb;
  padding: 12px;
}

.cod-note strong {
  display: block;
  margin-bottom: 6px;
  color: #111214;
}

.cod-note p {
  margin: 0;
  font-size: 0.86rem;
  color: #5e6878;
  line-height: 1.6;
}

.confirmation-summary {
  border: 1px solid #e4e9f0;
  border-radius: 12px;
  background: #f8f9fb;
  padding: 12px;
  font-size: 0.88rem;
  color: #49505d;
}

.confirmation-summary p {
  margin: 0 0 8px;
}

.confirm-note {
  margin: 12px 0 0;
  color: #5c6472;
  font-size: 0.86rem;
  line-height: 1.6;
}

.checkout-error {
  min-height: 20px;
  padding: 0 16px;
  margin: 0;
  color: #cc2a2a;
  font-size: 0.86rem;
}

.checkout-footer {
  padding: 12px 16px 16px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #e8ecf2;
}

.secondary-btn,
.checkout-next {
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.secondary-btn {
  border: 1px solid #d9dfe8;
  background: #fff;
  color: #2f3642;
}

.checkout-next {
  border: 1px solid #111214;
  background: #111214;
  color: #f8f9fb;
}

body.checkout-open .checkout-modal {
  opacity: 1;
  pointer-events: auto;
}

body.checkout-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    text-align: left;
    padding: 14px 18px;
  }

  .brand img {
    max-height: 58px;
    max-width: 190px;
  }

  .collection-nav,
  .header-actions .header-cta,
  .cart-btn {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .collection-menu-toggle {
    display: inline-flex;
  }

  .hero,
  .catalog-trust-bottom,
  .collection-shortcuts,
  .collection-featured-strip,
  .catalog {
    width: min(1320px, calc(100vw - 24px));
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    padding: 18px 16px 12px;
  }

  .collection-hero {
    grid-template-columns: 1fr;
  }

  .collection-hero-copy {
    padding: 20px;
  }

  .collection-hero-media {
    min-height: 300px;
  }

  .catalog-trust {
    grid-template-columns: 1fr;
    padding: 0 16px 18px;
  }

  .catalog-trust-bottom {
    width: min(1320px, calc(100vw - 24px));
    margin-bottom: 22px;
  }

  .collection-shortcuts {
    padding: 0 16px 18px;
  }

  .collection-featured-strip {
    grid-template-columns: 1fr;
    padding: 0 16px 20px;
  }

  .collection-featured-card {
    min-height: 320px;
  }

  .catalog {
    grid-template-columns: 1fr;
    padding: 18px 16px 40px;
  }

  .filters {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(92vw, 420px);
    z-index: 60;
    border-radius: 0 16px 16px 0;
    overflow-y: auto;
    transform: translateX(-104%);
    transition: transform 220ms ease;
  }

  .drawer-footer {
    display: flex;
    align-items: center;
    position: sticky;
    bottom: 0;
    margin: 12px -16px -16px;
    padding: 10px 16px 14px;
    background: linear-gradient(to top, #f8f9fb 70%, rgba(248, 249, 251, 0));
  }

  body.filter-open .filters {
    transform: translateX(0);
  }

  .close-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-filter-btn {
    display: inline-block;
  }

  .toolbar {
    flex-wrap: wrap;
  }

  .toolbar-controls {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .filters-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(17, 14, 10, 0.5);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  body.filter-open .filters-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.filter-open {
    overflow: hidden;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-image {
    height: 176px;
    object-fit: contain;
    object-position: center;
    background: #f5efe6;
    padding: 8px;
  }

  .quick-view {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }

  .quickview-panel {
    grid-template-columns: 1fr;
    width: min(96vw, 640px);
    max-height: calc(100vh - 12px);
    margin: 6px auto;
  }

  .quickview-image-stage {
    min-height: 300px;
  }

  .quickview-media img {
    min-height: 300px;
    max-height: 340px;
  }

  .quickview-zoom {
    justify-self: stretch;
    width: 100%;
    padding: 11px 14px;
    font-size: 0.78rem;
  }

  .quickview-thumbs {
    gap: 8px;
  }

  .quickview-thumb {
    padding: 4px;
    border-radius: 10px;
  }

  .quickview-thumb img {
    height: 72px;
    min-height: 72px;
    max-height: 72px;
  }

  .qv-lightbox-panel {
    width: min(100vw - 12px, 1000px);
    height: min(100vh - 20px, 860px);
    margin: 10px auto;
    padding: 0 44px;
  }

  .qv-lightbox-panel img {
    max-height: calc(100vh - 72px);
  }

  .qv-lightbox-close {
    top: 2px;
    right: 2px;
    width: 38px;
    height: 38px;
  }

  .qv-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    background: rgba(10, 12, 16, 0.42);
    border-color: rgba(255, 255, 255, 0.34);
  }

  .qv-lightbox-nav.prev {
    left: 2px;
  }

  .qv-lightbox-nav.next {
    right: 2px;
  }

  .quickview-content {
    padding: 16px;
  }

  .tryon-panel {
    grid-template-columns: 1fr;
    width: min(96vw, 760px);
    max-height: calc(100vh - 12px);
    margin: 6px auto;
  }

  .tryon-stage-wrap,
  .tryon-controls {
    padding: 16px;
  }

  .tryon-controls {
    border-left: none;
    border-top: 1px solid #e6ebf1;
  }

  .tryon-stage {
    min-height: 420px;
  }

  .tryon-frame {
    width: min(78%, 420px);
  }

  .checkout-panel {
    width: min(96vw, 680px);
    max-height: calc(100vh - 12px);
    margin: 6px auto;
  }

  .checkout-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .search-wrap {
    min-width: 100%;
  }

  .search-wrap input {
    width: 100%;
  }

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

  .product-image {
    height: 188px;
    padding: 8px;
  }

  .product-body {
    padding: 10px 10px 12px;
  }

  .quick-view {
    font-size: 0.68rem;
    padding: 7px 12px;
    bottom: 8px;
  }

  .collection-shortcut {
    min-width: 100%;
  }

  .quickview-panel {
    width: min(100vw - 8px, 640px);
    margin: 4px auto;
  }

  .quickview-image-stage {
    min-height: 250px;
  }

  .quickview-media img {
    min-height: 250px;
    max-height: 280px;
  }

  .quickview-zoom {
    padding: 10px 12px;
    font-size: 0.72rem;
  }

  .quickview-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .quickview-thumb img {
    height: 62px;
    min-height: 62px;
    max-height: 62px;
  }

  .qv-lightbox-panel {
    width: calc(100vw - 8px);
    height: calc(100vh - 12px);
    margin: 6px auto;
    padding: 0 38px;
  }

  .qv-lightbox-panel img {
    max-height: calc(100vh - 54px);
  }

  .qv-lightbox-close {
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }

  .qv-lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.45rem;
  }

  .qv-lightbox-nav.prev {
    left: 0;
  }

  .qv-lightbox-nav.next {
    right: 0;
  }

  .tryon-stage {
    min-height: 320px;
  }

  .tryon-guide {
    inset: 15% 10%;
  }

  .tryon-actions,
  .tryon-footer {
    gap: 8px;
  }

  .tryon-action {
    padding: 11px 12px;
    font-size: 0.9rem;
  }

  .tryon-sliders {
    gap: 12px;
  }
}

.collection-footer {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding: 16px 24px 24px;
}

.footer-locations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 30%;
  min-width: 220px;
  margin: 0 auto;
}

.footer-location {
  display: grid;
  gap: 10px;
  max-width: none;
  justify-items: center;
  text-align: center;
}

.footer-location img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(16, 17, 20, 0.1);
}

.footer-city {
  margin: 0;
  color: #20262f;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  line-height: 1;
}

.footer-note {
  margin: 0;
  color: #5a6270;
  font-size: 0.84rem;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .footer-locations {
    grid-template-columns: 1fr;
    max-width: 70%;
    min-width: 180px;
  }

  .footer-location img {
    height: auto;
  }
}
