@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* Force transparent backgrounds everywhere */
html {
  background: transparent !important;
}

body {
  background: transparent !important;
}

:root {
  /* Enhanced Color Scheme */
  --color-primary: #41C4C3;
  --color-primary-glow: rgba(65, 196, 195, 0.3);
  --color-accent: #2dd4bf;
  --bg-image: url("https://template-assets.tebex.io/images/page-bg.jpg");
  
  /* Christmas Sale Banner Colors */
  --color-sale-banner-bg: #DC2626; /* Christmas Red */
  --color-sale-banner-text: #FFFFFF; /* White Text */
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --glow-primary: 0 0 20px var(--color-primary-glow);
  --glow-primary-strong: 0 0 30px rgba(65, 196, 195, 0.5), 0 0 60px rgba(65, 196, 195, 0.2);
  --glow-red: 0 0 30px rgba(220, 38, 38, 0.5);
  --glow-red-strong: 0 0 40px rgba(220, 38, 38, 0.6), 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* ========== BODY & BACKGROUND ========== */
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  position: relative;
  font-weight: 400;
  letter-spacing: 0.3px;
  background: transparent !important;
}


body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh; /* Full viewport height instead of max-height */
  z-index: 0;
  background: 
    linear-gradient(
      to bottom,
      transparent 0%, 
      transparent 40%,
      rgba(0, 0, 0, 0.3) 60%,
      rgba(0, 0, 0, 0.7) 80%,
      #000000 100%
    ),
    var(--bg-image) center top/cover no-repeat;
  pointer-events: none;
}

/* Remove white background below */
html {
  background: #000000 !important;
  min-height: 100vh;
}

body {
  background: #000000 !important;
  min-height: 100vh;
}

.site-content {
  background: transparent !important;
}

/* Ensure everything below the background is black */
.site-wrapper,
.site-main,
main {
  background: transparent !important;
}

@keyframes bgPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.9; }
}


/* Individual Falling Snowflakes */
@keyframes snowfall1 {
  0% { transform: translateY(-10vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110vh) translateX(20px); opacity: 0; }
}

@keyframes snowfall2 {
  0% { transform: translateY(-10vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110vh) translateX(-15px); opacity: 0; }
}

@keyframes snowfall3 {
  0% { transform: translateY(-10vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(110vh) translateX(10px); opacity: 0; }
}

/* Create individual snowflakes */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 5%;
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow:
    10vw 0vh 2px 0px rgba(255, 255, 255, 0.9),
    20vw -5vh 3px 0px rgba(255, 255, 255, 0.8),
    30vw 5vh 2px 0px rgba(255, 255, 255, 0.9),
    40vw -10vh 2px 1px rgba(255, 255, 255, 0.8),
    50vw 10vh 3px 0px rgba(255, 255, 255, 0.9),
    60vw -8vh 2px 0px rgba(255, 255, 255, 0.8),
    70vw 3vh 2px 1px rgba(255, 255, 255, 0.9),
    80vw -3vh 3px 0px rgba(255, 255, 255, 0.8),
    90vw 7vh 2px 0px rgba(255, 255, 255, 0.9),
    15vw 12vh 2px 0px rgba(255, 255, 255, 0.8),
    25vw -7vh 3px 0px rgba(255, 255, 255, 0.9),
    35vw 9vh 2px 1px rgba(255, 255, 255, 0.8),
    45vw -12vh 2px 0px rgba(255, 255, 255, 0.9),
    55vw 6vh 3px 0px rgba(255, 255, 255, 0.8),
    65vw -4vh 2px 0px rgba(255, 255, 255, 0.9),
    75vw 11vh 2px 1px rgba(255, 255, 255, 0.8),
    85vw -6vh 3px 0px rgba(255, 255, 255, 0.9),
    95vw 8vh 2px 0px rgba(255, 255, 255, 0.8);
  animation: snowfall1 20s linear infinite;
}

/* Second layer of snowflakes */
.site-content::before {
  content: '';
  position: fixed;
  top: 0;
  left: 8%;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  box-shadow:
    12vw 0vh 2px 0px rgba(255, 255, 255, 0.7),
    22vw 8vh 2px 0px rgba(255, 255, 255, 0.8),
    32vw -3vh 3px 0px rgba(255, 255, 255, 0.7),
    42vw 5vh 2px 0px rgba(255, 255, 255, 0.8),
    52vw -8vh 2px 1px rgba(255, 255, 255, 0.7),
    62vw 10vh 3px 0px rgba(255, 255, 255, 0.8),
    72vw -5vh 2px 0px rgba(255, 255, 255, 0.7),
    82vw 6vh 2px 0px rgba(255, 255, 255, 0.8),
    92vw -10vh 3px 0px rgba(255, 255, 255, 0.7),
    18vw 7vh 2px 0px rgba(255, 255, 255, 0.8),
    28vw -4vh 2px 1px rgba(255, 255, 255, 0.7),
    38vw 9vh 3px 0px rgba(255, 255, 255, 0.8),
    48vw -7vh 2px 0px rgba(255, 255, 255, 0.7),
    58vw 11vh 2px 0px rgba(255, 255, 255, 0.8),
    68vw -9vh 3px 0px rgba(255, 255, 255, 0.7),
    78vw 4vh 2px 1px rgba(255, 255, 255, 0.8),
    88vw -2vh 2px 0px rgba(255, 255, 255, 0.7);
  animation: snowfall2 25s linear infinite;
}

/* Third layer - slower, larger flakes */
.site-header::before {
  content: '';
  position: fixed;
  top: 0;
  left: 3%;
  width: 5px;
  height: 5px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  box-shadow:
    17vw 0vh 3px 0px rgba(255, 255, 255, 0.6),
    33vw -8vh 4px 1px rgba(255, 255, 255, 0.7),
    47vw 6vh 3px 0px rgba(255, 255, 255, 0.6),
    63vw -4vh 4px 0px rgba(255, 255, 255, 0.7),
    77vw 9vh 3px 1px rgba(255, 255, 255, 0.6),
    87vw -6vh 4px 0px rgba(255, 255, 255, 0.7),
    23vw 12vh 3px 0px rgba(255, 255, 255, 0.6),
    43vw -10vh 4px 0px rgba(255, 255, 255, 0.7),
    53vw 7vh 3px 1px rgba(255, 255, 255, 0.6),
    73vw -3vh 4px 0px rgba(255, 255, 255, 0.7),
    93vw 11vh 3px 0px rgba(255, 255, 255, 0.6);
  animation: snowfall3 30s linear infinite;
}

/* Fourth layer - smallest flakes, fastest */
html::before {
  content: '';
  position: fixed;
  top: 0;
  left: 10%;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9996;
  box-shadow:
    14vw 0vh 1px 0px rgba(255, 255, 255, 0.5),
    26vw 5vh 2px 0px rgba(255, 255, 255, 0.6),
    36vw -6vh 1px 0px rgba(255, 255, 255, 0.5),
    46vw 8vh 2px 0px rgba(255, 255, 255, 0.6),
    56vw -3vh 1px 0px rgba(255, 255, 255, 0.5),
    66vw 10vh 2px 0px rgba(255, 255, 255, 0.6),
    76vw -8vh 1px 0px rgba(255, 255, 255, 0.5),
    86vw 4vh 2px 0px rgba(255, 255, 255, 0.6),
    96vw -5vh 1px 0px rgba(255, 255, 255, 0.5),
    19vw 9vh 2px 0px rgba(255, 255, 255, 0.6),
    29vw -7vh 1px 0px rgba(255, 255, 255, 0.5),
    39vw 11vh 2px 0px rgba(255, 255, 255, 0.6),
    49vw -4vh 1px 0px rgba(255, 255, 255, 0.5),
    59vw 6vh 2px 0px rgba(255, 255, 255, 0.6),
    69vw -9vh 1px 0px rgba(255, 255, 255, 0.5),
    79vw 7vh 2px 0px rgba(255, 255, 255, 0.6),
    89vw -2vh 1px 0px rgba(255, 255, 255, 0.5);
  animation: snowfall1 15s linear infinite;
}

/* ========== BUTTONS ========== */
.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary:not(.btn-icon):not(.btn-glyph):not(.btn-glyph-text)::before,
.btn-secondary:not(.btn-icon):not(.btn-glyph):not(.btn-glyph-text)::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none; /* ← ADD THIS */
}

.btn-primary:not(.btn-icon):not(.btn-glyph):not(.btn-glyph-text):hover::before,
.btn-secondary:not(.btn-icon):not(.btn-glyph):not(.btn-glyph-text):hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover, 
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 
    0 0 20px var(--color-primary-glow),
    0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover,
.btn-secondary:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-tertiary:hover,
.btn-tertiary:focus {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

/* ========== HEADER ========== */
.site-header-inner .info .image {
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.site-header-inner .info:hover .image {
  transform: scale(1.05);
}

.site-sale-banner {
  border-radius: 12px;
  background: var(--color-sale-banner-bg);
  color: var(--color-sale-banner-text);
  box-shadow: var(--glow-red);
  animation: christmasPulse 3s ease-in-out infinite;
  font-weight: 700;
  font-size: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
  padding: 20px var(--content-padding);
  position: relative;
  overflow: hidden;
}

.site-sale-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: bannerShine 3s infinite;
  pointer-events: none; /* ← ADD THIS */
}

@keyframes christmasPulse {
  0%, 100% { 
    box-shadow: var(--glow-red);
    transform: scale(1);
  }
  50% { 
    box-shadow: var(--glow-red-strong);
    transform: scale(1.01);
  }
}

@keyframes bannerShine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* ========== HOME CATEGORIES ========== */
.site-home-categories .category {
  border-radius: 12px;
  padding: 24px var(--widget-padding);
  background: linear-gradient(135deg, var(--color-brighter-bg) 0%, rgba(13, 13, 13, 0.8) 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.site-home-categories .category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(65, 196, 195, 0.1), transparent);
  transition: left 0.5s ease;
  pointer-events: none; /* ← ADD THIS */
}

.site-home-categories .category:hover::before {
  left: 100%;
}

.site-home-categories .category:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    var(--shadow-lg),
    0 0 30px var(--color-primary-glow);
}

/* ========== PRODUCTS ========== */
.category-description,
.store-text {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-brighter-bg) 0%, rgba(13, 13, 13, 0.95) 100%);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(65, 196, 195, 0.1);
}

.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.store-products-list .store-product,
.store-products-images .store-product {
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 13, 13, 0.9) 0%, var(--color-brighter-bg) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.store-products-list .store-product::after,
.store-products-images .store-product::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(65, 196, 195, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none; /* ← ADD THIS LINE */
}

.store-products-list .store-product:hover,
.store-products-images .store-product:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 
    var(--shadow-lg),
    0 0 40px var(--color-primary-glow),
    inset 0 0 30px rgba(65, 196, 195, 0.05);
}

.store-products-list .store-product:hover::after,
.store-products-images .store-product:hover::after {
  opacity: 1;
}

.store-products-images .store-product {
  text-align: center;
}

.store-product .image {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.store-product:hover .image {
  transform: scale(1.1) rotateZ(2deg);
}

.store-product .product-title a {
  background: linear-gradient(135deg, #fff 0%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.store-product:hover .product-title a {
  text-shadow: 0 0 20px var(--color-primary-glow);
  letter-spacing: 0.5px;
}

/* ========== WIDGETS ========== */
.widget {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-brighter-bg) 0%, rgba(13, 13, 13, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.widget:hover {
  border-color: rgba(65, 196, 195, 0.3);
  box-shadow: 
    var(--shadow-lg),
    0 0 20px rgba(65, 196, 195, 0.15);
}

@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
    border: none;
  }
}

.widget-title {
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
}

/* ========== FORMS & INPUTS ========== */
.quantity-field {
  border-radius: 8px;
  border: 2px solid rgba(65, 196, 195, 0.2);
  background: rgba(13, 13, 13, 0.8);
  transition: all 0.3s ease;
}

.quantity-field:hover,
.quantity-field:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 15px var(--color-primary-glow);
}

.store-product .quantity-field {
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.store-product .quantity-field input[type=number] {
  border: none;
  background: transparent;
}

.widget-gift-card .gift-card-input {
  border-radius: 8px;
  border: 2px solid rgba(65, 196, 195, 0.2);
  transition: all 0.3s ease;
}

.widget-gift-card .gift-card-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 15px var(--color-primary-glow);
}

/* ========== PROGRESS BARS ========== */
.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 10px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
  box-shadow: 0 0 15px var(--color-primary-glow);
  position: relative;
  overflow: hidden;
}

.widget-community-goal .progress-bar::after,
.widget-goal .progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  to { left: 100%; }
}

/* ========== NAVIGATION ========== */
@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--color-brighter-bg) 0%, rgba(13, 13, 13, 0.95) 100%);
  }
}

.navigation-horizontal .has-children > ul {
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(65, 196, 195, 0.2);
}

/* ========== POPUPS & MODALS ========== */
.popup-content {
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(65, 196, 195, 0.2);
}

.popup-close {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg) scale(1.1);
}

/* ========== BASKET ========== */
.basket-popup-content,
.basket-popup-content .popup-close {
  border-radius: 0;
}

.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.basket-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px var(--color-primary-glow);
  transform: translateX(5px);
}

.basket-item .quantity {
  border-radius: 6px;
}

/* ========== TOASTS ========== */
.toast {
  border-radius: 10px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-close {
  border-radius: 6px;
  transition: all 0.3s ease;
}

.toast-close:hover {
  transform: scale(1.1) rotate(90deg);
}

/* ========== TIERED PRODUCTS ========== */
.store-category-tiered {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-brighter-bg) 0%, rgba(13, 13, 13, 0.95) 100%);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(65, 196, 195, 0.1);
}

.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.store-product-tiered {
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 13, 13, 0.6) 0%, rgba(0, 0, 0, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.store-product-tiered::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(65, 196, 195, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.store-product-tiered:hover {
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 
    var(--shadow-lg),
    0 0 30px var(--color-primary-glow);
}

.store-product-tiered:hover::before {
  opacity: 1;
}

/* ========== MEDIA SLIDER ========== */
.media-slider .slider,
.media-slider .thumb {
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.media-slider .open-lightbox {
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup.popup-media-slider .thumb {
  border-radius: 8px;
}

.popup.popup-media-slider .popup-close {
  border-radius: 8px;
}

/* ========== ADDITIONAL EFFECTS ========== */
.no-products {
  color: var(--color-text-secondary);
  background: linear-gradient(135deg, var(--color-brighter-bg) 0%, rgba(13, 13, 13, 0.95) 100%);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(65, 196, 195, 0.1);
}

.store-product-full {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-brighter-bg) 0%, rgba(13, 13, 13, 0.95) 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(65, 196, 195, 0.15);
}

.widget-top-donator .avatar {
  border-radius: 50%;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.5),
    0 0 30px var(--color-primary-glow);
  border: 3px solid var(--color-primary);
  transition: all 0.3s ease;
}

.widget-top-donator:hover .avatar {
  transform: scale(1.1);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.6),
    0 0 50px var(--color-primary-glow);
}


/* Fix Basket Icon in Header */
.site-header-inner .open-basket {
  --btn-icon: url("https://template-assets.tebex.io/images/checkout.svg") !important;
}

@media (width <= 960px) {
  .site-header-inner .open-basket::before {
    content: '' !important;
    display: block !important;
    margin-right: var(--btn-icon-gap);
    width: var(--btn-icon-size);
    height: var(--btn-icon-size);
    flex: none;
    background-color: var(--btn-color-text) !important;
    mask: var(--btn-icon) center center/contain no-repeat !important;
    transition: background-color 0.15s ease-in-out !important;
  }
}

@media (width > 960px) {
  .site-header-inner .open-basket::before {
    content: '' !important;
    display: block !important;
    margin-right: var(--btn-icon-gap);
    width: var(--btn-icon-size);
    height: var(--btn-icon-size);
    flex: none;
    background-color: var(--btn-color-text) !important;
    mask: var(--btn-icon) center center/contain no-repeat !important;
    transition: background-color 0.15s ease-in-out !important;
  }
}

/* Fix Gift Icon */
.store-product .gift {
  --btn-icon: url("https://template-assets.tebex.io/images/gift.svg") !important;
}

.store-product .gift::before {
  content: '' !important;
  display: block !important;
  position: absolute;
  inset: 0;
  margin: auto;
  width: var(--btn-icon-size);
  height: var(--btn-icon-size);
  background-color: #FFD700 !important; /* Gold/Yellow */
  mask: var(--btn-icon) center center/contain no-repeat !important;
  transition: background-color 0.15s ease-in-out !important;
}

.store-product .gift:hover::before,
.store-product .gift:focus::before {
  background-color: #FFA500 !important; /* Orange on hover */
}

/* ========== SMOOTH SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-primary) 100%);
  box-shadow: 0 0 10px var(--color-primary-glow);
}

/* Make widgets more transparent */
.widget {
  background: rgba(13, 13, 13, 0.5) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Make navigation menu transparent */
.navigation-horizontal > ul {
  background: rgba(13, 13, 13, 0.5) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Make product cards more transparent */
.store-product {
  background: rgba(13, 13, 13, 0.6) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.store-products-list .store-product,
.store-products-images .store-product {
  background: rgba(13, 13, 13, 0.6) !important;
}

/* Category boxes transparent */
.site-home-categories .category {
  background: rgba(13, 13, 13, 0.5) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Store text boxes transparent */
.store-text,
.category-description {
  background: rgba(13, 13, 13, 0.5) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ========== LARGER HIGH-QUALITY LOGO ========== */
@media (width <= 960px) {
  .site-header-inner .site-title {
    line-height: 160px;
    margin-bottom: 12px;
  }
  
  .site-header-inner .site-title img {
    max-height: 160px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
  }
}

/* ========== FIX ICON BUTTONS - REMOVE ANIMATIONS & BUGS ========== */
.btn-icon::before,
.btn-glyph::before,
.btn-glyph-text::before {
  transition: none !important;
  animation: none !important;
}

/* Override for gift icons specifically */
.gift.btn-icon::before,
.gift.btn-glyph::before {
  transition: background-color 0.15s ease-in-out !important;
}

.store-product .gift,
.store-product .remove,
.basket-item .remove,
.site-header-inner .open-basket {
  position: relative;
}

.store-product .remove::before,
.basket-item .remove::before,
.site-header-inner .open-basket::before {
  background-color: currentColor !important;
  transition: none !important;
  animation: none !important;
}

/* Keep gift icons yellow */
.store-product .gift::before,
.basket-item .gift::before {
  background-color: #FFD700 !important;
}

/* Ensure basket icon stays visible */
.site-header-inner .open-basket::before {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Prevent quantity field flash on page load */
.store-product .quantity-field {
  min-width: 120px;
}

.store-product .actions {
  min-height: 46px;
  visibility: hidden;
  animation: showActions 0.1s ease 0.2s forwards;
}

@keyframes showActions {
  to { visibility: visible; }
}

@media (width > 960px) {
  .site-header-inner .site-title {
    line-height: 110px;
    margin-bottom: 16px;
  }
  
  .site-header-inner .site-title img {
    max-height: 256px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
  }
}