/*
Theme Name: FOVIO Luxury Artisanal Jewelry
Theme URI: https://fovio-jewelry.com
Author: FOVIO Atelier
Author URI: https://fovio-jewelry.com
Description: High-end bespoke WordPress & WooCommerce theme for FOVIO Artisanal Jewelry. 100% Exact visual and functional match with Next.js luxury atelier store.
Version: 2.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: fovio-luxury
*/

/* ==========================================================================
   1. GLOBAL LUXURY RESET & ROOT VARIABLES
   ========================================================================== */
:root {
  --font-cormorant: 'Cormorant Garamond', Georgia, Cambria, 'Times New Roman', serif;
  --font-jakarta: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, Cambria, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg-cream: #FAF8F5;
  --color-gold: #9E8255;
  --color-gold-light: #C4A470;
  --color-stone-border: #EAE5DF;
  --text-dark: #1C1917;
  --spacing: 0.25rem;
}

.cart-count-badge {
  background-color: #1C1917 !important;
  color: #FAF8F5 !important;
  min-width: 18px !important;
  height: 18px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-left: -4px !important;
  padding: 0 4px !important;
}

body {
  font-family: var(--font-jakarta), var(--font-sans);
  background-color: #FAF8F5;
  color: #1C1917;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-cormorant), var(--font-serif);
}

/* ==========================================================================
   2. WORDPRESS ADMIN BAR OFFSET FOR STICKY HEADER
   ========================================================================== */
.admin-bar header {
  top: 32px !important;
}
@media (max-width: 782px) {
  .admin-bar header {
    top: 46px !important;
  }
}

/* ==========================================================================
   3. SLIDE-OVER CART DRAWER
   ========================================================================== */
#fovioCartDrawer {
  display: none;
}
#fovioCartDrawer.is-open {
  display: block !important;
}

@keyframes slideLeft {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-slideLeft {
  animation: slideLeft 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out forwards;
}

/* ==========================================================================
   4. AMAZON-STYLE PDP LOUPE MAGNIFIER ZERO-OVERLAP GUARD
   ========================================================================== */
.pdp-flyout-zoom,
.pdp-lens,
#mainFlyoutZoom,
#trackingLens,
#modalSideZoom,
#modalLens {
  display: none !important;
  pointer-events: none !important;
}

@media (min-width: 1024px) {
  .pdp-flyout-zoom.is-active,
  .pdp-lens.is-active,
  #mainFlyoutZoom.is-active,
  #trackingLens.is-active {
    display: block !important;
  }
}

/* ==========================================================================
   5. CUSTOM LUXURY SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
  background: #D5CEC5;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #B3A89B;
}

/* ==========================================================================
   6. ATELIER COMPREHENSIVE UTILITIES
   ========================================================================== */
.aspect-\[16\/10\] {
  aspect-ratio: 16 / 10;
}
.min-h-\[70vh\] {
  min-height: 70vh;
}
.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.max-h-full {
  max-height: 100%;
}
.z-\[10000\] {
  z-index: 10000;
}
.drop-shadow-2xs {
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}
.left-\[calc\(100\%+24px\)\] {
  left: calc(100% + 24px);
}
@media (min-width: 640px) {
  .sm\:p-8 {
    padding: 2rem;
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   7. PRODUCT CARD IMAGE COVER & BREADCRUMB LOCK
   ========================================================================== */
.aspect-\[4\/5\] {
  aspect-ratio: 4 / 5 !important;
}
.aspect-\[4\/5\] img,
.aspect-\[3\/4\] img,
.aspect-square img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
}

/* Breadcrumb sans-serif typography lock */
.pdp-breadcrumb,
.pdp-breadcrumb * {
  font-family: var(--font-jakarta), var(--font-sans) !important;
}


