/* VYXRA shared styles — toast, utilities, layout fixes */
/* ---------- RESET & GLOBAL VARIABLES ---------- */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

    :root {
      --black:   #000000;
      --white:   #ffffff;
      --off:     #0a0a0a;
      --gray1:   #111111;
      --gray2:   #1a1a1a;
      --gray3:   #2a2a2a;
      --gray4:   #555555;
      --gray5:   #888888;
      --light:   #f4f4f4;

      --purple:  #7B2FFF;
      --purple2: #5a1fcc;
      --pglow:   rgba(123,47,255,0.4);

      --blue:    #0066FF;
      --bglow:   rgba(0,102,255,0.4);

      --yellow:  #FFE600;
      --yglow:   rgba(255,230,0,0.4);

      --slide-accent: var(--purple);
      --slide-glow:   var(--pglow);

      --nav-h: 70px;           /* slightly taller navbar */
      --radius-sm: 12px;
      --radius-md: 20px;
      --radius-lg: 28px;
      --radius-xl: 40px;
    }    

body {
      background: var(--black);
      color: var(--white);
      font-family: 'Barlow', sans-serif;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    img { display: block; max-width: 100%; }
    a { text-decoration: none; color: inherit; }
    button { border: none; background: none; cursor: pointer; font-family: inherit; color: inherit; }
    ul, ol { list-style: none; }

    /* ---------- CUSTOM SCROLLBAR ---------- */
    ::-webkit-scrollbar { width: 4px; background: #000; }
    ::-webkit-scrollbar-thumb { background: var(--gray3); border-radius: 4px; }

/* Toast */
.vyxra-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #09090f;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.35s;
  white-space: nowrap;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vyxra-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.vyxra-toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7b2fff;
  flex-shrink: 0;
}

/* Replace orphaned Tailwind-like utility classes */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-4 { gap: 16px; }
.mt-6 { margin-top: 24px; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.overflow-hidden { overflow: hidden; }
.rounded-xl { border-radius: 12px; }
.rounded-lg { border-radius: 8px; }
.border-2 { border-width: 2px; border-style: solid; }
.border-transparent { border-color: transparent; }
.border-brand-purple,
.border-purple { border-color: #7b2fff !important; }
.w-16 { width: 64px; }
.h-16 { height: 64px; }
.bg-white { background: #fff; }
.no-underline { text-decoration: none; }
.cursor-pointer { cursor: pointer; }
.transition-all { transition: all 0.25s ease; }
.mix-multiply { mix-blend-mode: multiply; }
.duration-300 { transition-duration: 0.3s; }

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card-link .shop-card {
  height: 100%;
}

/* Cart item extras */
.item-variant {
  font-weight: 600;
  color: #6b6b80;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.item-savings-row {
  margin-bottom: 4px;
}

/* View more outside grid */
.view-more-container {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  padding: 24px 0 8px;
}

/* Products section container */
.products-section {
  max-width: 1200px;
  margin: 0 auto;
}

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title-wrapper {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 14px;
}

/* Logo link */
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Navbar cart badge with count */
.cart-badge,
.nav-cart-count {
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge:not(.show):empty,
.nav-cart-count:not(.show) {
  opacity: 0;
  transform: scale(0);
}

/* Product main image wrapper */
.prod-image-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
}

.prod-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Shop page */
.shop-page {
  padding-top: 90px;
  padding-bottom: 60px;
  background: #f2f2f2;
  min-height: 100vh;
}

.shop-page-header {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 20px;
}

.shop-page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 10vw, 72px);
  letter-spacing: 0.04em;
  color: #111;
  line-height: 0.95;
}

.shop-page-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6b80;
  margin-top: 8px;
}

.shop-page-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .shop-page-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 24px 48px;
  }
}

@media (min-width: 1024px) {
  .shop-page-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   GLOBAL NAVBAR FIXED POSITION FIX
   ========================================================================== */

/* 1. Standard approach: Pushes the main site wrapper down */
body {
    /* ADJUST THIS: Set this exactly to your Navbar's height */
    padding-top: 80px !important; 
}

/* 2. Admin Bar compatibility fix */
/* When you are logged into WordPress, the admin bar pushes things down. 
   This ensures your navbar doesn't clash with it on desktop views. */
@media (min-width: 783px) {
    .logged-in body {
        padding-top: 112px !important; /* Navbar height (80px) + WP Admin Bar (32px) */
    }
}


/*  Woocommerce message*/
/* ---------- WOOCOMMERCE CHECKOUT NOTICES & MESSAGES ---------- */

/* The main message container */
.woocommerce-message, 
.woocommerce-error  {
    background: rgb(157, 78, 221);
    border-left: 4px solid #111; /* Default clean dark accent */
    border-radius: var(--radius-md, 8px);
    padding: 6px 15px;
    margin-bottom: 25px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Specific styling for the standard Success message */
.woocommerce-message {
    border-left-color: rgb(160, 70, 200); /* Can be swapped with var(--purple) or var(--blue) depending on your design accent */
}

/* Specific styling for Error alerts if things go wrong */
.woocommerce-error {
    border-left-color: #ff3333; /* Clean neon red/error alert */
    list-style: none; /* Removes default bullet points inside WooCommerce error lists */
    margin-left: 0;
    padding-left: 20px;
}

/* The "View Cart" or action button inside the message box */
.woocommerce-message .button,
.woocommerce-message a.button {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    color: #111;
    background: transparent;
    border: 1.5px solid #111;
    padding: 6px 14px;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    display: inline-block;
}

/* Hover state for the action button inside the message */
.woocommerce-message .button:hover,
.woocommerce-message a.button:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}
/*  */

