/* ==========================================================================
   TANNINGSTICKERZ COMPLETE CUSTOM CSS
   Add to Appearance → Customize → Additional CSS
   ========================================================================== */

/* ==========================================================================
   HERO BUTTONS - Gradient & Animated
   ========================================================================== */

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}	
	/* ============================================
   MOBILE RESPONSIVE - FIX HORIZONTAL SCROLL
   ============================================ */

/* Prevent horizontal overflow on all pages */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure all containers respect viewport width */
* {
    max-width: 100%;
}

/* Fix for elements that might cause horizontal scroll */
.elementor-section,
.elementor-container,
.max-w-7xl,
.relative,
section {
    max-width: 100vw !important;
    overflow-x: hidden;
}

/* Mobile specific fixes */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }
    
    /* Ensure padding doesn't cause overflow */
    .px-6,
    .py-20,
    .mx-auto {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Fix wide content */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
}
}

.hero-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
}

.hero-btn-secondary {
  background: linear-gradient(135deg, rgba(60, 60, 60, 0.9) 0%, rgba(40, 40, 40, 0.9) 100%);
  color: #ffffff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, rgba(80, 80, 80, 0.95) 0%, rgba(50, 50, 50, 0.95) 100%);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-btn::after {
  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.5s ease;
}

.hero-btn:hover::after {
  left: 100%;
}

/* ==========================================================================
   WOOLENTOR SIDE CART - Dark text on white background
   ========================================================================== */
.woolentor_mini_cart_area,
.woolentor_cart_content_container,
.woolentor_mini_cart_content,
.woolentor_mini_cart_header,
.woolentor_mini_cart_footer {
  background: #fff !important; 
  color: #1a1a1a !important;
}

.woolentor_mini_cart_header *,
.woolentor_mini_cart_content *,
.woolentor_mini_cart_footer *,
.woolentor_cart_product_title,
.woolentor_cart_product_title a,
.woocommerce-mini-cart-item a,
.woolentor_mini_cart_subtotal,
.woocommerce-mini-cart__total,
.woocommerce-mini-cart__total *,
.woolentor_mini_cart_area a,
.woolentor_mini_cart_area span,
.woolentor_mini_cart_area p,
.woolentor_sub_total,
.woolentor_sub_total * {
  color: #1a1a1a !important;
}

.woolentor_cart_product_quantity,
.woolentor_cart_product_price,
.quantity,
.amount {
  color: #4a4a4a !important;
}

.woolentor_cart_product_remove a,
.remove_from_cart_button {
  color: #999 !important;
}

.woolentor_cart_product_remove a:hover,
.remove_from_cart_button:hover {
  color: #c00 !important;
}

.woolentor_mini_cart_footer .button,
.woolentor_button_area .button,
.woolentor_button_area a {
  background: #1a1a1a !important;
  color: #fff !important;
  border-radius: 9999px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.woolentor_mini_cart_footer .button:hover,
.woolentor_button_area .button:hover,
.woolentor_button_area a:hover {
  background: #333 !important;
  transform: translateY(-2px);
}

.woolentor_mini_cart_close {
  color: #1a1a1a !important;
}

.woolentor_empty_cart_body {
  color: #666 !important;
}

/* ==========================================================================
   HIDE THEME CART DRAWER (Using Woolentor instead)
   ========================================================================== */
#cartDrawer {
  display: none !important;
}

/* ==========================================================================
   PRODUCT GRID - 3 Column Clean Layout (Category Pages)
   ========================================================================== */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2rem !important;
  padding: 2rem 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

@media (max-width: 968px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
}

@media (max-width: 640px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* Individual product card */
.woocommerce ul.products li.product {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
}

/* Product image - square aspect ratio with rounded corners */
.woocommerce ul.products li.product a.block.overflow-hidden,
.woocommerce ul.products li.product > a:first-of-type,
.woocommerce ul.products li.product .relative {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.woocommerce ul.products li.product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.05);
}

/* Product info - title left, price right */
.woocommerce ul.products li.product .pt-4.flex-1.flex.flex-col {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 1rem;
  margin-top: 1rem;
}

/* Product title */
.woocommerce ul.products li.product h2.text-sm,
.woocommerce ul.products li.product h2.text-base {
  font-size: 1rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
  flex: 1;
  min-width: 0;
}

/* Price - right aligned */
.woocommerce ul.products li.product .mt-2.text-sm {
  font-size: 1rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.woocommerce-pagination {
  display: flex !important;
  justify-content: center;
  margin: 3rem 0;
}

.woocommerce-pagination ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-pagination ul li {
  margin: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  background: #f5f5f5;
  color: #1a1a1a;
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current {
  background: #1a1a1a;
  color: #fff;
}

.dark .woocommerce-pagination ul li a,
.dark .woocommerce-pagination ul li span {
  background: #262626;
  color: #fff;
}

.dark .woocommerce-pagination ul li a:hover,
.dark .woocommerce-pagination ul li span.current {
  background: #fff;
  color: #1a1a1a;
}

/* ==========================================================================
   GENERAL BUTTON STYLES
   ========================================================================== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: #1a1a1a !important;
  color: #fff !important;
  border-radius: 9999px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: #333 !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   LINE CLAMP UTILITY (for blog post titles)
   ========================================================================== */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   SMOOTH SCROLLING & SELECTION
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

::selection {
  background: #1a1a1a;
  color: #fff;
}

.dark ::selection {
  background: #fff;
  color: #1a1a1a;
}

/* ==========================================================================
   CATEGORY CARDS HOVER EFFECT
   ========================================================================== */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* ==========================================================================
   DARK MODE ADJUSTMENTS
   ========================================================================== */
.dark .bg-white {
  background-color: #171717;
}

.dark .bg-neutral-100 {
  background-color: #262626;
}

.dark .text-neutral-900 {
  color: #fff;
}

.dark .border-neutral-200 {
  border-color: #404040;
}

/* ==========================================================================
   MOBILE MENU IMPROVEMENTS
   ========================================================================== */
#mobileMenu {
  z-index: 60;
}

#backdrop {
  z-index: 50;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
#toastContainer {
  z-index: 100;
}

/* ==========================================================================
   HEADER STICKY IMPROVEMENTS
   ========================================================================== */
nav.sticky {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.bg-neutral-900.text-white.text-xs {
  letter-spacing: 0.05em;
}

/* ==========================================================================
   TRUST ICONS SECTION
   ========================================================================== */
.trust-icon {
  transition: transform 0.3s ease;
}

.trust-icon:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   FEATURED PRODUCT SECTION
   ========================================================================== */
.featured-product-image {
  transition: transform 0.6s ease;
}

.featured-product-image:hover {
  transform: scale(1.02);
}

/* ==========================================================================
   FOOTER IMPROVEMENTS
   ========================================================================== */
footer a {
  transition: color 0.2s ease;
}

footer a:hover {
  opacity: 0.8;
}

/* ==========================================================================
   FORM INPUTS
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
  border-radius: 0.75rem;
  border: 1px solid #e5e5e5;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
  outline: none;
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

.dark input[type="text"],
.dark input[type="email"],
.dark input[type="search"],
.dark textarea {
  background: #262626;
  border-color: #404040;
  color: #fff;
}

.dark input[type="text"]:focus,
.dark input[type="email"]:focus,
.dark input[type="search"]:focus,
.dark textarea:focus {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}