/* =============================================================================
   LOOKSTAN PREMIUM THEME - LUXURY A-CLASS v3.0
   Professional luxury theme for premium Hollister authentic apparel
   Target: A-Class customers | Language: English
   Brand Colors: #192524, #3C5759, #EFECE9, #959D90, #D1EBDB, #D0D5CE
   ============================================================================= */

:root {
  /* Premium Brand Colors */
  --lk-primary: #192524; /* Deep Forest - Primary text & accents */
  --lk-secondary: #3c5759; /* Sage Green - Secondary elements */
  --lk-bg: #efece9; /* Warm Cream - Main background */
  --lk-accent1: #959d90; /* Muted Sage - Subtle accents */
  --lk-accent2: #d1ebdb; /* Soft Mint - Highlights */
  --lk-accent3: #d0d5ce; /* Light Stone - Borders */
  --lk-white: #ffffff; /* Pure white */
  --lk-black: #0a0f0d; /* Rich black for premium contrast */

  /* Premium Typography */
  --lk-font-primary: "Inter", "SF Pro Display", system-ui, -apple-system, sans-serif;
  --lk-font-secondary: "Playfair Display", "Times New Roman", serif;

  /* Luxury Spacing System */
  --lk-space-xs: 4px;
  --lk-space-sm: 8px;
  --lk-space-md: 16px;
  --lk-space-lg: 24px;
  --lk-space-xl: 32px;
  --lk-space-2xl: 48px;

  /* Premium Shadows */
  --lk-shadow-subtle: 0 1px 3px rgba(25, 37, 36, 0.08);
  --lk-shadow-soft: 0 4px 12px rgba(25, 37, 36, 0.12);
  --lk-shadow-medium: 0 8px 24px rgba(25, 37, 36, 0.15);
  --lk-shadow-strong: 0 16px 40px rgba(25, 37, 36, 0.2);

  /* Premium Gradients */
  --lk-gradient-primary: linear-gradient(135deg, var(--lk-primary) 0%, var(--lk-secondary) 100%);
  --lk-gradient-accent: linear-gradient(135deg, var(--lk-accent2) 0%, var(--lk-accent3) 100%);
}

/* ===== PREMIUM GLOBAL BASE ===== */
* {
  box-sizing: border-box;
}

body {
  background-color: var(--lk-bg);
  color: var(--lk-primary);
  font-family: var(--lk-font-primary);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Enhanced typography hierarchy for luxury feel */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--lk-font-secondary);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--lk-primary);
}

a {
  color: var(--lk-primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: var(--lk-secondary);
}

/* ===== PREMIUM HEADER DESIGN ===== */
.default_header,
.sphinx_header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(25, 37, 36, 0.08);
  box-shadow: var(--lk-shadow-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.default_header_container,
.sphinx_header_container {
  padding: var(--lk-space-md) var(--lk-space-lg);
  max-width: 1400px;
  margin: 0 auto;
}

/* Premium top banner with gradient */
.default_header_top_text,
.sphinx_header_top_text {
  background: var(--lk-gradient-primary);
  color: var(--lk-white);
  padding: var(--lk-space-sm) 0;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.5px;
}

.sphinx_header_links a {
  color: var(--lk-primary);
  margin: 0 var(--lk-space-lg);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 16px;
  border-radius: 8px;
}

/* Enhanced hover effect with background */
.sphinx_header_links a:hover {
  background: rgba(60, 87, 89, 0.08);
  color: var(--lk-secondary);
  transform: translateY(-1px);
}

/* Active page indicator */
.sphinx_header_links a.active,
.sphinx_header_links a[aria-current="page"] {
  background: var(--lk-gradient-primary);
  color: var(--lk-white) !important;
  font-weight: 600;
  box-shadow: var(--lk-shadow-soft);
}

.sphinx_header_links a.active::after,
.sphinx_header_links a[aria-current="page"]::after {
  display: none;
}

/* Mobile navigation enhancements */
@media (max-width: 768px) {
  .sphinx_header_links a {
    margin: 0 var(--lk-space-sm);
    padding: 6px 12px;
    font-size: 14px;
  }
}

/* ===== LUXURY BANNER/SLIDER ===== */
.home_slider_container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--lk-shadow-medium);
  margin: var(--lk-space-xl) 0;
  position: relative;
}

/* Premium overlay for better text readability */
.home_slider_slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(25, 37, 36, 0.3) 0%, rgba(60, 87, 89, 0.2) 100%);
  z-index: 1;
}

/* Enhanced slider with smooth fade transitions */
.home_slider_slide {
  position: relative;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.home_slider_slide.swiper-slide-active {
  transform: scale(1);
  opacity: 1;
}

.home_slider_slide:not(.swiper-slide-active) {
  transform: scale(0.95);
  opacity: 0.7;
}

/* Premium slider navigation */
.swiper-button-next,
.swiper-button-prev {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--lk-primary) !important;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--lk-shadow-soft);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--lk-white);
  transform: scale(1.1);
  box-shadow: var(--lk-shadow-medium);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px;
  font-weight: 900;
}

/* Enhanced pagination dots */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 0.6;
  width: 14px;
  height: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.swiper-pagination-bullet-active {
  background: var(--lk-white);
  opacity: 1;
  transform: scale(1.3);
  border-color: var(--lk-primary);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
  .home_slider_container {
    max-height: 500px;
    margin: var(--lk-space-2xl) 0;
  }

  .home_slider_slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }
}

@media (min-width: 1024px) {
  .home_slider_container {
    max-width: 50%;
    margin: var(--lk-space-2xl) auto;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
  }
}

/* ===== PREMIUM CATEGORY CARDS ===== */
.default_category_card {
  background: var(--lk-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--lk-shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 320px;
  margin: 0 auto;
  position: relative;
  /* Fixed aspect ratio and consistent sizing */
  aspect-ratio: 1;
  height: auto;
}

/* Luxury hover effects with subtle animations */
.default_category_card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--lk-shadow-strong);
}

.default_category_card_img {
  position: relative;
  overflow: hidden;
  /* Ensure consistent image container sizing */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.default_category_card_img img {
  /* Fixed image sizing and positioning */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.default_category_card:hover .default_category_card_img img {
  transform: scale(1.08);
}

/* Enhanced category grid layout */
.categories_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--lk-space-lg);
  margin: var(--lk-space-xl) 0;
  padding: 0 var(--lk-space-md);
}

@media (min-width: 640px) {
  .categories_container {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lk-space-xl);
    padding: 0 var(--lk-space-lg);
  }
}

@media (min-width: 1024px) {
  .categories_container {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--lk-space-2xl);
    padding: 0 var(--lk-space-xl);
  }

  .default_category_card {
    max-width: 280px;
  }
}

@media (min-width: 1280px) {
  .categories_container {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: var(--lk-space-2xl) auto;
  }
}

/* Category title styling improvements */
.categories_section_title {
  font-family: var(--lk-font-secondary);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--lk-primary);
  text-align: center;
  margin: var(--lk-space-2xl) 0 var(--lk-space-xl) 0;
  letter-spacing: -0.02em;
  position: relative;
}

.categories_section_title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--lk-gradient-primary);
  border-radius: 2px;
}

/* Remove category overlay text for cleaner look */
.default_category_card_name {
  display: none !important;
}

/* Category slider navigation improvements */
.categories_slider .swiper-button-next,
.categories_slider .swiper-button-prev {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--lk-primary) !important;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--lk-shadow-soft);
  border: 1px solid rgba(25, 37, 36, 0.08);
}

.categories_slider .swiper-button-next:hover,
.categories_slider .swiper-button-prev:hover {
  background: var(--lk-white);
  transform: scale(1.1);
  box-shadow: var(--lk-shadow-medium);
  border-color: var(--lk-secondary);
}

/* Mobile category optimizations */
@media (max-width: 768px) {
  .categories_container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--lk-space-md);
    padding: 0 var(--lk-space-sm);
  }

  .default_category_card {
    max-width: 100%;
    border-radius: 16px;
  }

  .categories_section_title {
    font-size: 1.75rem;
    margin: var(--lk-space-xl) 0 var(--lk-space-lg) 0;
  }

  .categories_slider .swiper-button-next,
  .categories_slider .swiper-button-prev {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .category_products_grid_card,
  .home_products_grid_card,
  .products_grid_card {
    transform: none !important;
    transition: box-shadow 0.3s ease;
  }

  .category_products_grid_card:active,
  .home_products_grid_card:active,
  .products_grid_card:active {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
}

/* ===== PREMIUM PRODUCT GRID ===== */
.category_products_grid_container,
.home_products_grid_container,
.products_grid_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--lk-space-md);
  margin: var(--lk-space-xl) 0;
}

@media (min-width: 640px) {
  .category_products_grid_container,
  .home_products_grid_container,
  .products_grid_container {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--lk-space-lg);
  }
}

@media (min-width: 1024px) {
  .category_products_grid_container,
  .home_products_grid_container,
  .products_grid_container {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--lk-space-xl);
  }
}

@media (min-width: 1280px) {
  .category_products_grid_container,
  .home_products_grid_container,
  .products_grid_container {
    gap: 36px;
  }
}

@media (min-width: 1536px) {
  .category_products_grid_container,
  .home_products_grid_container,
  .products_grid_container {
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
  }
}

/* Luxury product cards with premium styling */
.category_products_grid_card,
.home_products_grid_card,
.products_grid_card {
  background: var(--lk-white);
  border: 1px solid rgba(25, 37, 36, 0.08);
  border-radius: 16px;
  box-shadow: var(--lk-shadow-subtle);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.category_products_grid_card:hover,
.home_products_grid_card:hover,
.products_grid_card:hover {
  transform: translateY(-6px);
  box-shadow: var(--lk-shadow-medium);
  border-color: var(--lk-secondary);
}

/* ===== PREMIUM BUTTONS ===== */
.checkout_btn,
.add_to_cart_btn,
.form_checkout_btn,
.btn {
  background: var(--lk-gradient-primary);
  color: var(--lk-white) !important;
  border: 0;
  border-radius: 12px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Premium button hover effects */
.checkout_btn::before,
.add_to_cart_btn::before,
.form_checkout_btn::before,
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.checkout_btn:hover::before,
.add_to_cart_btn:hover::before,
.form_checkout_btn:hover::before,
.btn:hover::before {
  left: 100%;
}

.checkout_btn:hover,
.add_to_cart_btn:hover,
.form_checkout_btn:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--lk-shadow-soft);
}

/* ===== PREMIUM PRODUCT PAGE ===== */
.product_images_container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--lk-shadow-medium);
  margin-bottom: var(--lk-space-xl);
}

.product_main_image {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product_main_image:hover {
  transform: scale(1.05);
}
/* Enhanced product image gallery with horizontal carousel layout */
.default_product_images_grid {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  overflow-x: auto !important;
  padding: 16px 0 !important;
  scroll-behavior: smooth !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(25, 37, 36, 0.3) transparent !important;
  grid-template-columns: none !important;
}

.default_product_images_grid::-webkit-scrollbar {
  height: 6px;
}

.default_product_images_grid::-webkit-scrollbar-track {
  background: rgba(25, 37, 36, 0.1);
  border-radius: 3px;
}

.default_product_images_grid::-webkit-scrollbar-thumb {
  background: rgba(25, 37, 36, 0.3);
  border-radius: 3px;
  transition: background 0.3s ease;
}

.default_product_images_grid::-webkit-scrollbar-thumb:hover {
  background: rgba(25, 37, 36, 0.5);
}

.default_product_images_grid button {
  flex-shrink: 0 !important;
  width: 120px !important;
  height: 120px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
}

.default_product_images_grid button:hover {
  transform: translateY(-4px) scale(1.05) !important;
  border-color: var(--lk-secondary) !important;
  box-shadow: 0 8px 25px rgba(25, 37, 36, 0.15) !important;
}

.default_product_images_grid button[aria-selected="true"] {
  border-color: var(--lk-primary) !important;
  box-shadow: 0 0 0 4px rgba(25, 37, 36, 0.1) !important;
  transform: scale(1.08) !important;
}

.default_product_images_grid_img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Enhanced main product image with auto-carousel functionality */
.default_product_active_img {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-radius: 16px !important;
  box-shadow: var(--lk-shadow-medium) !important;
  /* Prevent scroll jumping when image changes */
  scroll-behavior: auto !important;
}

.default_product_active_img.changing {
  opacity: 0.7 !important;
  transform: scale(0.98) !important;
}

/* Enhanced auto-carousel indicator with better positioning */
.product-carousel-progress {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.product-carousel-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--lk-primary), var(--lk-secondary));
  border-radius: 3px;
  transition: width 0.04s linear;
  width: 0%;
  box-shadow: 0 0 8px rgba(25, 37, 36, 0.3);
}

/* Enhanced color selector with premium styling and better visual hierarchy */
.color-selector-container {
  position: relative;
  padding: 16px 0;
}

.color-selector-container h2 {
  color: var(--lk-primary) !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  margin-bottom: 12px !important;
  letter-spacing: 0.025em !important;
}

[role="radiogroup"] {
  position: relative;
}

[role="radiogroup"] > div {
  gap: 12px !important;
  padding: 8px 0 !important;
}

.color-option {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
  border-radius: 50% !important;
  background: var(--lk-white) !important;
  padding: 4px !important;
  box-shadow: 0 2px 8px rgba(25, 37, 36, 0.08) !important;
}

.color-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 50%;
}

.color-option::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: white;
  font-weight: bold;
  font-size: 12px;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.color-option:hover::before {
  opacity: 1;
}

.color-option:hover {
  transform: translateY(-3px) scale(1.08) !important;
  box-shadow: 0 12px 32px rgba(25, 37, 36, 0.15) !important;
  border-color: var(--lk-primary) !important;
}

.color-option[aria-checked="true"] {
  transform: scale(1.12) !important;
  box-shadow: 0 0 0 3px var(--lk-primary), 0 8px 25px rgba(25, 37, 36, 0.2) !important;
  border-color: var(--lk-primary) !important;
}

.color-option[aria-checked="true"]::after {
  transform: translate(-50%, -50%) scale(1);
}

.color-option span {
  position: relative !important;
  z-index: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.product_thumbnails {
  display: flex;
  gap: var(--lk-space-sm);
  margin-top: var(--lk-space-md);
  overflow-x: auto;
  padding: var(--lk-space-sm) 0;
}

.product_thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product_thumbnail:hover,
.product_thumbnail.active {
  border-color: var(--lk-secondary);
  transform: scale(1.05);
}

/* Prevent scroll behavior issues on product page */
.default_product_active_img,
.default_product_active_img * {
  scroll-behavior: auto !important;
}

[role="tabpanel"] {
  scroll-behavior: auto !important;
}

/* Mobile product gallery enhancements */
@media (max-width: 768px) {
  .default_product_images_grid {
    padding: 12px 0 !important;
    gap: 8px !important;
  }

  .default_product_images_grid button {
    width: 80px !important;
    height: 80px !important;
  }

  .product-carousel-progress {
    width: 150px;
    bottom: 15px;
    height: 4px;
  }
}

.product_name {
  color: var(--lk-primary);
  font-family: var(--lk-font-secondary);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: var(--lk-space-lg);
  letter-spacing: -0.02em;
}

.product_price {
  color: var(--lk-primary);
  font-weight: 800;
  font-size: 1.5rem;
  font-family: var(--lk-font-secondary);
}

.product_description {
  color: var(--lk-secondary);
  line-height: 1.7;
  margin: var(--lk-space-xl) 0;
  font-size: 16px;
}

/* Premium checkout form with luxury styling */
.product_form_checkout {
  background: var(--lk-white);
  border: 1px solid rgba(25, 37, 36, 0.08);
  border-radius: 20px;
  padding: var(--lk-space-xl);
  box-shadow: var(--lk-shadow-soft);
  position: relative;
}

.product_form_checkout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--lk-gradient-primary);
  border-radius: 20px 20px 0 0;
}

/* ===== PREMIUM FORMS ===== */
.global_input,
.global_textarea,
.gov_select {
  width: 100%;
  border: 2px solid rgba(25, 37, 36, 0.08);
  border-radius: 12px;
  padding: 14px var(--lk-space-md);
  font-family: var(--lk-font-primary);
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--lk-white);
}

/* Elegant focus states for form inputs */
.global_input:focus,
.global_textarea:focus,
.gov_select:focus {
  outline: none;
  border-color: var(--lk-secondary);
  box-shadow: 0 0 0 4px rgba(60, 87, 89, 0.1);
  transform: translateY(-1px);
}

/* ===== PREMIUM QUANTITY CONTROLS ===== */
.quantity_container {
  display: flex;
  align-items: center;
  gap: var(--lk-space-md);
  margin: var(--lk-space-lg) 0;
}

.quantity_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--lk-white);
  border: 2px solid rgba(25, 37, 36, 0.08);
  border-radius: 12px;
  cursor: pointer;
  color: var(--lk-primary);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quantity_btn:hover {
  background: var(--lk-accent2);
  border-color: var(--lk-secondary);
  transform: translateY(-1px);
}

/* ===== PREMIUM REVIEWS SECTION ===== */
.reviews_container {
  background: var(--lk-white);
  border: 1px solid rgba(25, 37, 36, 0.08);
  border-radius: 24px;
  padding: var(--lk-space-2xl);
  margin: var(--lk-space-2xl) 0;
  box-shadow: var(--lk-shadow-soft);
  position: relative;
  justify-self: center;
}

.reviews_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--lk-primary), transparent);
}

.reviews_title {
  font-family: var(--lk-font-secondary);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--lk-primary);
  margin-bottom: var(--lk-space-xl);
  text-align: center;
  position: relative;
}

.reviews_title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--lk-gradient-primary);
  border-radius: 2px;
}
.user_reviews_container {
  margin-top: 0;
  margin-bottom: 0;
}

.user_review {
  background: rgba(209, 235, 219, 0.1);
  border: 1px solid rgba(25, 37, 36, 0.06);
  border-radius: 16px;
  padding: var(--lk-space-lg);
  margin-bottom: var(--lk-space-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.user_review:hover {
  background: rgba(209, 235, 219, 0.2);
  border-color: var(--lk-secondary);
  transform: translateY(-2px);
  box-shadow: var(--lk-shadow-soft);
}

.user_review:last-child {
  margin-bottom: 0;
}

.user_review_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--lk-space-md);
}

.user_review_name {
  color: var(--lk-primary);
  font-weight: 700;
  font-size: 16px;
  margin: 0;
}

.user_review_rating {
  display: flex;
  gap: 2px;
}

.user_review_star {
  color: #fbbf24;
  font-size: 14px;
}

.user_review_date {
  color: var(--lk-accent1);
  font-size: 13px;
  font-weight: 500;
}

.user_review_comment {
  color: var(--lk-secondary);
  line-height: 1.7;
  font-size: 15px;
  margin: 0;
  position: relative;
}

.user_review_comment::before {
  content: "";
  position: absolute;
  left: -16px;
  top: -8px;
  font-size: 24px;
  color: var(--lk-accent2);
  font-family: var(--lk-font-secondary);
}

/* Review statistics */
.reviews_stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--lk-space-lg);
  margin-bottom: var(--lk-space-xl);
  padding: var(--lk-space-lg);
  background: var(--lk-gradient-accent);
  border-radius: 16px;
  border: 1px solid rgba(25, 37, 36, 0.06);
}

.review_stat {
  text-align: center;
}

.review_stat_number {
  font-family: var(--lk-font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lk-primary);
  display: block;
}

.review_stat_label {
  font-size: 13px;
  color: var(--lk-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== PREMIUM FOOTER ===== */
.default_footer {
  background: linear-gradient(135deg, var(--lk-white) 0%, rgba(239, 236, 233, 0.3) 100%) !important;
  border-top: 2px solid rgba(25, 37, 36, 0.08) !important;
  color: var(--lk-secondary) !important;
  padding: 48px 0 100px 0 !important; /* Added extra bottom padding for fixed buy button */
  margin-top: 64px !important;
  position: relative !important;
}

.default_footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lk-primary), transparent);
}

.default_footer_links_container {
  margin-bottom: 32px !important;
  gap: 8px !important;
}

.default_footer_link {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  padding: 12px 20px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.default_footer_link a {
  color: var(--lk-secondary) !important;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  position: relative !important;
  z-index: 2 !important;
  letter-spacing: 0.025em !important;
}

.default_footer_link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(25, 37, 36, 0.05), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.default_footer_link:hover::before {
  left: 100%;
}

.default_footer_link:hover {
  background: rgba(25, 37, 36, 0.03) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(25, 37, 36, 0.08) !important;
}

.default_footer_link:hover a {
  color: var(--lk-primary) !important;
}

.default_footer_social_container {
  margin-bottom: 32px !important;
  gap: 16px !important;
}

.default_footer_social_link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: var(--lk-white) !important;
  color: var(--lk-secondary) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(25, 37, 36, 0.08) !important;
  position: relative !important;
  overflow: hidden !important;
}

.default_footer_social_link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--lk-primary), var(--lk-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.default_footer_social_link:hover::before {
  opacity: 1;
}

.default_footer_social_link:hover {
  transform: translateY(-4px) scale(1.1) !important;
  box-shadow: 0 12px 32px rgba(25, 37, 36, 0.15) !important;
  color: white !important;
}

.default_footer_social_link svg {
  position: relative !important;
  z-index: 2 !important;
  width: 20px !important;
  height: 20px !important;
}

.footer_store_info {
  background: rgba(25, 37, 36, 0.02) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin: 32px auto !important;
  max-width: 600px !important;
  border: 1px solid rgba(25, 37, 36, 0.08) !important;
}

.footer_store_info a {
  color: var(--lk-secondary) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
  position: relative !important;
}

.footer_store_info a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lk-primary);
  transition: width 0.3s ease;
}

.footer_store_info a:hover {
  color: var(--lk-primary) !important;
}

.footer_store_info a:hover::after {
  width: 100%;
}

.footer_store_info span {
  color: var(--lk-secondary) !important;
  font-size: 0.95rem !important;
}

.default_footer p {
  color: rgba(60, 87, 89, 0.7) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.025em !important;
  margin-top: 32px !important;
  padding-top: 24px !important;
  padding-bottom: 20px !important; /* Added bottom padding for copyright text */
  position: relative !important;
  z-index: 1 !important; /* Ensure copyright text stays above other elements */
}

/* ===== PREMIUM THANK YOU PAGE ===== */
.thanks_container {
  max-width: 700px;
  margin: var(--lk-space-2xl) auto;
  background: var(--lk-white);
  border-radius: 24px;
  padding: var(--lk-space-2xl);
  box-shadow: var(--lk-shadow-medium);
  text-align: center;
  position: relative;
}

/* Success indicator with gradient */
.thanks_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--lk-gradient-primary);
  border-radius: 24px 24px 0 0;
}

.order_invoice_container {
  background: var(--lk-gradient-accent);
  border-radius: 16px;
  padding: var(--lk-space-lg);
  margin: var(--lk-space-lg) 0;
  color: var(--lk-primary);
  border: 1px solid rgba(25, 37, 36, 0.08);
}

/* ===== PREMIUM MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  body {
    padding-bottom: 120px; /* Increased padding for fixed buy button */
  }

  .home_products_grid_container,
  .products_grid_container,
  .category_products_grid_container {
    gap: var(--lk-space-md);
  }

  .product_name {
    font-size: 1.75rem;
  }

  .product_form_checkout {
    padding: var(--lk-space-lg);
  }

  .default_header_container,
  .sphinx_header_container {
    padding: var(--lk-space-sm) var(--lk-space-md);
  }

  .home_slider_container {
    margin: var(--lk-space-lg) 0;
    border-radius: 16px;
  }

  .reviews_container {
    padding: var(--lk-space-lg);
    border-radius: 16px;
  }

  .reviews_title {
    font-size: 1.5rem;
  }

  .reviews_stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--lk-space-md);
    padding: var(--lk-space-md);
  }

  .user_review {
    padding: var(--lk-space-md);
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
}

/* ===== PREMIUM SLIDER ELEMENTS ===== */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
  opacity: 0.7;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--lk-white);
  opacity: 1;
  transform: scale(1.2);
}

/* ===== REMOVE FAKE ELEMENTS ===== */
.fake_stock_container,
.fake_visitors_container {
  display: none !important;
}

/* ===== PREMIUM UTILITY CLASSES ===== */
.text-primary {
  color: var(--lk-primary) !important;
}
.text-secondary {
  color: var(--lk-secondary) !important;
}
.bg-primary {
  background-color: var(--lk-primary) !important;
}
.bg-secondary {
  background-color: var(--lk-secondary) !important;
}
.gradient-primary {
  background: var(--lk-gradient-primary) !important;
}

/* Premium loading states and micro-interactions */
.lookstan-loaded .category_products_grid_card,
.lookstan-loaded .home_products_grid_card,
.lookstan-loaded .products_grid_card {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--lk-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--lk-accent1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--lk-secondary);
}

/* ===== PREMIUM SECTION TITLES ===== */
.home_section_top_title {
  font-family: var(--lk-font-secondary);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--lk-primary);
  text-align: center;
  margin: var(--lk-space-2xl) 0 var(--lk-space-xl) 0;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .home_section_top_title {
    font-size: 2rem;
    margin: var(--lk-space-xl) 0 var(--lk-space-lg) 0;
  }
}

/* Mobile responsive enhancements for color selector and footer */
@media (max-width: 768px) {
  .color-selector-container {
    padding: 12px 0;
  }

  [role="radiogroup"] > div {
    gap: 8px !important;
    justify-content: center !important;
  }

  .color-option {
    padding: 3px !important;
  }

  .color-option span {
    width: 28px !important;
    height: 28px !important;
  }

  .default_footer {
    padding: 24px 0 80px 0 !important; /* More compact mobile footer with extra bottom padding */
    margin-top: 32px !important;
  }

  .default_footer_links_container {
    margin-bottom: 20px !important; /* Reduced margin for compact layout */
    gap: 4px !important;
  }

  .default_footer_link {
    padding: 6px 12px !important; /* Smaller padding for mobile */
  }

  .default_footer_link a {
    font-size: 0.85rem !important; /* Smaller font size for mobile */
  }

  .default_footer_social_container {
    margin-bottom: 20px !important; /* Reduced margin */
    gap: 12px !important;
  }

  .default_footer_social_link {
    width: 40px !important; /* Smaller social buttons */
    height: 40px !important;
  }

  .footer_store_info {
    padding: 16px !important; /* Compact padding */
    margin: 16px auto !important;
    font-size: 0.85rem !important; /* Smaller text */
  }

  .default_footer p {
    font-size: 0.8rem !important; /* Smaller copyright text */
    margin-top: 20px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}

/* Ensure fixed buy button doesn't interfere with footer content */
.fixed.bottom-0.left-0.right-0 {
  z-index: 1000 !important;
}

/* Additional mobile optimizations for better spacing */
@media (max-width: 480px) {
  .default_footer {
    padding: 20px 0 70px 0 !important;
  }

  .default_footer_links_container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
  }

  .default_footer_link {
    width: 100% !important;
    text-align: center !important;
    padding: 4px 8px !important;
  }
}

/* Hide empty div that takes unnecessary space */
.mx-auto.max-w-2xl.py-12.px-4.sm\\:py-16.sm\\:px-6.lg\\:max-w-7xl.lg\\:px-5.xl\\:px-8:has(div:empty) {
  display: none !important;
}
