:root {
  --vantage-primary: #e50914;
  --vantage-bg: #0b0b0b;
  --vantage-surface: #111111;
  --vantage-surface-2: #1a1c1c;
  --vantage-surface-3: #2a1614;
  --vantage-text: #ffdad5;
  --vantage-muted: #9ca3af;
  --vantage-border: rgba(255, 255, 255, 0.08);
  --vantage-outline: #af8782;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--vantage-bg);
}

body {
  margin: 0;
  background: var(--vantage-bg);
  color: var(--vantage-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand {
  margin-top: 0;
  color: #fff;
  font-family: Poppins, Inter, sans-serif;
  line-height: 1.2;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: var(--vantage-surface);
  color: #fff;
  padding: 12px 16px;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--vantage-primary);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 16px;
  left: 16px;
  z-index: 99999;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: #fff;
  color: #000;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  vertical-align: middle;
}

.site-header {
  height: 80px;
}

.vantage-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(11, 11, 11, 0.86);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container);
  height: 80px;
  margin: 0 auto;
  padding: 0 32px;
}

.brand,
.custom-logo-link {
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

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

.primary-menu,
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-menu a {
  color: #a1a1aa;
  font-family: Poppins, Inter, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.primary-menu a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-search {
  position: relative;
}

.nav-search span {
  position: absolute;
  left: 12px;
  top: 50%;
  color: #71717a;
  transform: translateY(-50%);
}

.nav-search input {
  width: 190px;
  min-height: 38px;
  border-radius: 999px;
  padding: 9px 16px 9px 40px;
  font-size: 12px;
}

.icon-link {
  position: relative;
  color: #a1a1aa;
}

.cart-count {
  position: absolute;
  right: -10px;
  top: -8px;
  min-width: 18px;
  height: 18px;
  border-radius: 99px;
  background: var(--vantage-primary);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
}

.home-hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--vantage-bg), rgba(11, 11, 11, 0.08), rgba(11, 11, 11, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 64px 24px;
  text-align: center;
}

.hero-badge,
.eyebrow {
  display: inline-block;
  color: var(--vantage-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-badge {
  border: 1px solid var(--vantage-primary);
  padding: 6px 14px;
  margin-bottom: 28px;
}

.hero-content h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 800;
  text-transform: uppercase;
}

.hero-content p {
  max-width: 660px;
  margin: 0 auto 36px;
  color: #d4d4d8;
  font-size: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.button-primary,
.button-secondary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 12px 32px;
  cursor: pointer;
  font-family: Poppins, Inter, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.button-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--vantage-primary);
  color: #fff;
}

.button-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  color: #fff;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.35);
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--vantage-outline);
  background: transparent;
  color: #fff;
}

.button-secondary:hover {
  background: #fff;
  color: #000;
}

.split-section,
.spotlight-section,
.product-section,
.carousel-section,
.newsletter-section,
.page-shell,
.shop-page,
.single-product-page,
.cart-page,
.checkout-page,
.order-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px !important;
}

/* Off-canvas Cart Drawer */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  transition: visibility 300ms;
}

.cart-drawer.is-open {
  visibility: visible;
}

.cart-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 300ms ease;
}

.cart-drawer.is-open .cart-drawer-overlay {
  opacity: 1;
}

.cart-drawer-content {
  position: absolute;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--vantage-surface);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transition: right 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.is-open .cart-drawer-content {
  right: 0;
}

.cart-drawer-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--vantage-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-header h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.1em;
}

.cart-drawer-close {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 4px;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}

/* Fix for Mini Cart inside Drawer */
.cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cart-drawer .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--vantage-border);
}

.cart-drawer .woocommerce-mini-cart-item img {
  width: 80px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.cart-drawer .mini_cart_item a:not(.remove) {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

.cart-drawer .woocommerce-mini-cart__total {
  margin: 32px 0 24px;
  padding-top: 24px;
  border-top: 2px solid var(--vantage-border);
  display: flex;
  justify-content: space-between;
  font-family: Poppins, sans-serif;
  font-weight: 800;
}

.cart-drawer .woocommerce-mini-cart__buttons {
  display: grid;
  gap: 12px;
}

.cart-drawer .woocommerce-mini-cart__buttons a {
  width: 100%;
  margin: 0 !important;
}

.split-section,
.spotlight-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.split-media img,
.spotlight-section img,
.featured-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.05);
  filter: grayscale(1);
  transition: filter 500ms ease, transform 500ms ease;
}

.split-media img:hover,
.spotlight-section img:hover {
  filter: grayscale(0);
}

.split-copy h2,
.section-head h2,
.spotlight-copy h2,
.carousel-section h2,
.newsletter-section h2,
.page-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  text-transform: uppercase;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.feature-item {
  border-left: 2px solid #27272a;
  padding: 8px 0 8px 22px;
}

.feature-item.active {
  border-color: var(--vantage-primary);
}

.feature-item h3 {
  margin-bottom: 4px;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-item p,
.spotlight-copy p,
.page-hero p,
.content-card p {
  color: var(--vantage-muted);
}

.section-head,
.shop-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head p,
.section-head a {
  color: var(--vantage-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head a {
  color: var(--vantage-primary);
  border-bottom: 1px solid var(--vantage-primary);
}

.product-grid,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Preloader */
#vantage-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0B0B0B;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: opacity 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.preloader-content {
  text-align: center;
  width: 200px;
}

.preloader-brand {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: preloader-pulse 2s ease-in-out infinite;
}

.preloader-line {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.preloader-line::after {
  content: '';
  position: absolute;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--vantage-primary, #e50914);
  animation: preloader-loading 1.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes preloader-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.98); }
}

@keyframes preloader-loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Site Content */
/* Fix: Disable WooCommerce clearfix pseudo-elements which become grid items */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce ul.products article.product {
  width: auto;
  margin: 0;
  float: none;
  display: flex;
  flex-direction: column;
}

.vantage-product-card,
.content-card,
.checkout-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background: var(--vantage-surface);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.vantage-product-card {
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.vantage-product-card:hover {
  border-color: rgba(229, 9, 20, 0.45);
  box-shadow: 0 0 26px rgba(229, 9, 20, 0.12);
}

.product-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0f0f0f;
}

.product-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 700ms ease;
}

.vantage-product-card:hover .product-media img {
  transform: scale(1.05);
}

.badge,
.onsale {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  background: var(--vantage-primary);
  color: #fff;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.product-card-body h3 {
  margin: 0;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.4;
  /* Title 2 lines then ... */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em; /* Ensure same height for title area */
}

.product-card-body h3 a {
  color: #fff;
}

.product-card-body p {
  color: #71717a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.price,
.woocommerce-Price-amount {
  color: var(--vantage-primary);
  font-weight: 900;
  white-space: nowrap;
}

.product-card-body .button-secondary {
  width: 100%;
  margin-top: auto; /* Push button to bottom */
  font-size: 11px;
}

.spotlight-section {
  background: linear-gradient(135deg, rgba(42, 22, 20, 0.7), rgba(11, 11, 11, 0));
}

.icon-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.icon-list>div {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 14px;
}

.icon-list span {
  color: var(--vantage-primary);
}

.icon-list p {
  grid-column: 2;
  margin: 2px 0 0;
  font-size: 14px;
}

.arrival-row {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.arrival-row::-webkit-scrollbar {
  display: none;
}

.arrival-card {
  position: relative;
  flex: 0 0 min(400px, 85vw);
  overflow: hidden;
  background: var(--vantage-surface);
}

.arrival-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.72;
}

.arrival-card strong {
  position: absolute;
  left: 24px;
  bottom: 20px;
  color: #fff;
  text-transform: uppercase;
}

.newsletter-section {
  text-align: center;
}

.newsletter-form {
  display: flex;
  max-width: 640px;
  margin: 28px auto 0;
  gap: 12px;
}

.page-hero.compact {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

/* Hide the header area on the shop page — no title/eyebrow needed */
.shop-page > .page-hero {
  display: none;
}

.page-hero .woocommerce-breadcrumb {
  margin-bottom: 12px;
}

.content-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.content-card {
  padding: 28px;
}

.entry-content {
  color: #e5e7eb;
}

.vantage-form {
  display: grid;
  gap: 18px;
}

.site-footer {
  background: #0b0b0b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 32px 28px;
}

.footer-grid,
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
}

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

.footer-grid h2 {
  font-size: 15px;
  text-transform: uppercase;
}

.footer-grid p,
.footer-menu a {
  color: var(--vantage-muted);
}

.footer-menu li+li {
  margin-top: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #71717a;
}

.social-links {
  display: flex;
  gap: 16px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--vantage-primary);
  border-radius: 50%;
  background: var(--vantage-primary);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.3);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #fff;
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.4);
}

@media (max-width: 980px) {
  .nav-inner {
    justify-content: flex-start;
  }

  .nav-actions {
    margin-left: auto;
    margin-right: 18px;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .primary-menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #090909;
    padding: 22px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .primary-menu.is-open {
    display: flex;
  }

  .nav-search {
    display: none;
  }

  .split-section,
  .spotlight-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {

  .nav-inner,
  .split-section,
  .spotlight-section,
  .product-section,
  .carousel-section,
  .newsletter-section,
  .page-shell,
  .shop-page,
  .single-product-page,
  .cart-page,
  .checkout-page,
  .order-page,
  .site-footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .home-hero {
    min-height: 68vh;
  }

  .button-row,
  .newsletter-form,
  .section-head,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .product-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}