@font-face {
  font-family: 'BrushScriptOpti';
  src: url('/fonts/BrushScriptOpti-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --background: 0 0% 0%;
  /* Pure Black */
  --foreground: 0 0% 100%;
  /* Pure White */
  --primary: 43 74% 49%;
  /* Premium Metallic Gold */
  --primary-foreground: 0 0% 0%;
  /* Black text on gold */
  --secondary: 0 0% 7%;
  /* Very Dark Grey/Black for surfaces */
  --secondary-foreground: 0 0% 100%;
  /* White */
  --muted: 0 0% 10%;
  /* Dark grey */
  --muted-foreground: 0 0% 75%;
  /* Silver text */
  --border: 0 0% 15%;
  /* Subtle dark border */
  --color-topbar: #000000;
  /* Pure black topbar */
  --color-surface: #0a0a0a;
  /* Deep premium black for surfaces */
}

body {
  background-color: #000000 !important;
  color: #ffffff !important;
}

@font-face {
  font-family: 'CameraPlainVariable';
  src: url('https://cdn.gpteng.co/mcp-widgets/v1/fonts/CameraPlainVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

#lovable-badge {
  --badge-bg: #1b1b1b;
  --badge-text: #c5c1b9;
  --badge-text-hover: #dcdad5;
  --badge-radius: 6px;
  --badge-padding: 8px;
  --badge-gap: 6px;
  --badge-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.88),
    0 1px 0 0 rgba(0, 0, 0, 0.04),
    0 2px 2px -1px rgba(0, 0, 0, 0.08),
    0 4px 4px -2px rgba(0, 0, 0, 0.08),
    0 8px 8px -4px rgba(0, 0, 0, 0.08),
    0 16px 16px -8px rgba(0, 0, 0, 0.08);
  --badge-transition-duration: 0.2s;
  --badge-transition-easing: cubic-bezier(0.16, 1, 0.32, 1);
  --focus-color: #575ECF;
  --focus-offset: 2px;
  --focus-width: 2px;

  position: fixed;
  bottom: 12px;
  right: 12px;
  height: 24px;
  display: flex;
  align-items: center;
  z-index: 1000000;
  background-color: var(--badge-bg) !important;
  color: var(--badge-text) !important;
  border-radius: var(--badge-radius);
  box-shadow: var(--badge-shadow) !important;
  font-size: 12px;
  font-family: CameraPlainVariable, "CameraPlainVariable Fallback", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400 !important;
  text-transform: none !important;
  font-feature-settings: normal !important;
  transform: translateZ(0);
  will-change: transform, opacity;
}

#lovable-badge-cta {
  display: flex;
  align-items: center;
  gap: var(--badge-gap);
  padding: 0 var(--badge-padding);
  height: 100%;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--badge-radius) 0 0 var(--badge-radius);
  transition:
    background-color var(--badge-transition-duration) ease,
    color var(--badge-transition-duration) ease,
    transform 0.1s ease;
}

#lovable-badge-cta:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--badge-text-hover);
}

#lovable-badge-cta:active {
  transform: scale(0.98);
}

#lovable-badge-cta:focus {
  outline: none;
}

#lovable-badge-cta:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: var(--focus-offset);
  z-index: 1;
}

#lovable-badge-text {
  line-height: 1;
}

#lovable-badge-divider {
  width: 1px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

#lovable-badge-close {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 var(--badge-radius) var(--badge-radius) 0;
  flex-shrink: 0;
  transition:
    background-color var(--badge-transition-duration) ease,
    transform 0.1s ease;
}

#lovable-badge-close:hover {
  background: rgba(255, 255, 255, 0.04);
}

#lovable-badge-close:active {
  transform: scale(0.92);
}

#lovable-badge-close:focus {
  outline: none;
}

#lovable-badge-close:focus-visible {
  outline: var(--focus-width) solid var(--focus-color);
  outline-offset: calc(var(--focus-offset) * -1);
  z-index: 1;
}

#lovable-badge-close svg path {
  fill: var(--badge-text);
  transition: fill var(--badge-transition-duration) ease;
}

#lovable-badge-close:hover svg path {
  fill: var(--badge-text-hover);
}

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

  #lovable-badge-cta,
  #lovable-badge-close,
  #lovable-badge-close svg path {
    transition: none;
  }

  #lovable-badge-cta:active,
  #lovable-badge-close:active {
    transform: none;
  }
}

@media (prefers-contrast: high) {
  #lovable-badge {
    --badge-bg: #000;
    --badge-text: #fff;
    --badge-text-hover: #fff;
    border: 2px solid currentColor;
  }

  #lovable-badge-cta:focus-visible,
  #lovable-badge-close:focus-visible {
    outline-width: 3px;
  }
}

/* ============================================================
   PRODUCT CARD — Premium Hover Overlay
   ============================================================ */

/* The action overlay that slides up on hover */
.pc-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.75) 100%);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease;
  opacity: 0;
  padding: 10px 8px;
}

.group:hover .pc-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* Individual action buttons inside the overlay */
.pc-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 8px 6px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.pc-action-btn:hover {
  color: #a8741a;
}

/* Quick View button gets a gold underline accent */
.pc-action-btn.pc-quickview {
  border-bottom: 1px solid rgba(168,116,26,0.25);
  padding-bottom: 9px;
  margin-bottom: 1px;
}

.pc-action-btn.pc-quickview:hover {
  background: rgba(168,116,26,0.08);
}

/* Wishlist active state */
.pc-action-btn.pc-wishlist.active i {
  color: #a8741a;
}
.pc-action-btn.pc-wishlist.active {
  color: #a8741a;
}

/* Add to Cart gets a gold-tinted bg on hover */
.pc-action-btn.pc-addtocart:hover {
  background: rgba(168,116,26,0.12);
  color: #a8741a;
}

/* Divider between action rows */
.pc-divider {
  width: 80%;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0 auto;
}

/* ============================================================
   QUICK VIEW MODAL
   ============================================================ */

#qv-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#qv-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

#qv-modal {
  background: #0a0a0a;
  border: 1px solid rgba(168,116,26,0.25);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.93) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  scrollbar-width: thin;
  scrollbar-color: #a8741a #111;
}

#qv-modal-overlay.open #qv-modal {
  transform: scale(1) translateY(0);
}

/* Close button */
#qv-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(168,116,26,0.1);
  border: 1px solid rgba(168,116,26,0.3);
  color: #a8741a;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, color 0.2s;
}
#qv-modal-close:hover {
  background: #a8741a;
  color: #000;
}

/* Thumbnail strip */
.qv-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid #262626;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.qv-thumb.active, .qv-thumb:hover {
  border-color: #a8741a;
}

/* Star rating */
.qv-stars { color: #a8741a; font-size: 12px; }

/* Variation pill */
.qv-variation-btn {
  padding: 5px 12px;
  border: 1px solid #262626;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c0c0c0;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
}
.qv-variation-btn:hover,
.qv-variation-btn.selected {
  border-color: #a8741a;
  color: #a8741a;
  background: rgba(168,116,26,0.07);
}

/* Qty stepper */
.qv-qty-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #111;
  border: 1px solid #262626;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: border-color 0.2s, color 0.2s;
}
.qv-qty-btn:hover { border-color: #a8741a; color: #a8741a; }

/* Gold CTA */
.qv-btn-gold {
  background: linear-gradient(135deg, #a8741a 0%, #d4a843 50%, #a8741a 100%);
  background-size: 200% 200%;
  color: #000;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 20px;
  border: none;
  cursor: pointer;
  transition: background-position 0.4s ease, transform 0.2s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.qv-btn-gold:hover {
  background-position: right center;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(168,116,26,0.4);
}

/* Wishlist outline btn */
.qv-btn-outline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border: 1px solid rgba(168,116,26,0.4);
  color: #a8741a;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.qv-btn-outline:hover { background: rgba(168,116,26,0.1); }
.qv-btn-outline.active { background: #a8741a; color: #000; }

/* Added-to-cart flash */
@keyframes qvCartFlash {
  0%   { background-position: left center; }
  50%  { background-position: right center; }
  100% { background-position: left center; }
}
.qv-btn-gold.added {
  animation: qvCartFlash 0.6s ease;
}

/* Image zoom on hover */
#qv-main-img {
  transition: transform 0.5s ease;
}
#qv-main-img:hover {
  transform: scale(1.04);
}

/* Fix Tailwind CSS base variables override by defining them on html/body with higher specificity */
html, body {
  --background: 0 0% 0% !important; /* Pure Black */
  --foreground: 0 0% 100% !important; /* Pure White */
}

/* Fix Swiper fade effect height calculation to allow autoHeight to shrink correctly */
.hero-swiper.swiper-fade .swiper-slide {
  height: auto !important;
}

/* Swiper Hero Pagination Gold Color */
.hero-swiper .swiper-pagination-bullet {
  background: rgba(168, 116, 26, 0.4) !important; /* Gold semi-transparent for inactive dots */
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
  transition: all 0.3s ease;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: #a8741a !important; /* Premium Metallic Gold for active dot */
  width: 20px !important; /* Elegant stretched pill shape */
  border-radius: 4px !important;
}