/*
Theme Name: Kiaeva Professional
Theme URI: https://kiaeva.com
Author:Shuvadip Sana
Author URI: https://pixelvect.com
Description: A modern, international-standard professional skincare and learning kits eCommerce theme.
Version: 1.0.1
Text Domain: kiaeva
*/

/* CSS VARIABLES & RESET */
:root {
    --accent: #60c3e0; 
    --accent-dark: #4ba6c2;
    --accent-light: #f0fafd;
    --dark: #111111;
    --light-bg: #F9F9F9;
    --border: #E5E5E5;
    --text-main: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --spacing: 120px;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); color: var(--text-main); line-height: 1.6; overflow-x: hidden; transition: background-color 0.3s; background: var(--white); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { width: 100%; display: block; object-fit: cover; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }

/* TYPOGRAPHY & UTILITIES */
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--dark); line-height: 1.2; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; }
.eyebrow { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-light); margin-bottom: 15px; font-weight: 600; }
.section-spacing { padding: var(--spacing) 5%; }

.section-header { text-align: center; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.6rem; margin-bottom: 10px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }

.text-center { text-align: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* GLOBAL BUTTONS */
.btn { display: inline-block; padding: 14px 30px; font-size: 0.95rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; border-radius: 2px; text-align: center; }
.btn-primary { background: var(--accent); color: var(--white); border: 1px solid var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-secondary:hover { background: var(--accent); color: var(--white); }

.dark-mode { background: var(--dark); color: var(--white); }
.dark-mode h2, .dark-mode h3, .dark-mode .eyebrow { color: var(--white); }

/* TOP ANNOUNCEMENT BAR */
.top-bar { background: var(--accent); color: var(--white); padding: 10px 5%; font-size: 0.85rem; display: flex; justify-content: space-between; align-items: center; letter-spacing: 0.5px; font-weight: 500; transition: background 0.3s; }
.top-bar span, .top-bar a { margin: 0 8px; color: inherit; font-weight: normal; }
.top-bar a:hover { opacity: 0.8; color: var(--white); }
.top-bar-left span { border-right: 1px solid rgba(255,255,255,0.3); padding-right: 15px; }
.top-bar-left span:last-child { border: none; }

/* SCROLLING PROMO TICKER */
.promo-ticker { background: var(--dark); color: var(--white); padding: 8px 0; overflow: hidden; white-space: nowrap; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.5px; }
.ticker-content { display: inline-block; padding-left: 100%; animation: marquee 25s linear infinite; }
.promo-ticker:hover .ticker-content { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }

/* MAIN HEADER */
.header { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.header-main { display: flex; align-items: center; justify-content: space-between; padding: 15px 5%; border-bottom: 1px solid var(--border); }
.logo { width: 140px; font-size: 2.2rem; font-family: var(--font-serif); font-weight: 700; letter-spacing: 1px; color: var(--dark); text-decoration: none; }

/* SEARCH BAR */
.search-container { position: relative; flex: 1; max-width: 650px; margin: 0 40px; }
.search-box-wrapper { display: flex; width: 100%; border: 2px solid var(--accent); border-radius: 4px; overflow: hidden; background: var(--white); transition: 0.3s; align-items: stretch; }
.search-box { flex: 1; padding: 12px 20px 12px 45px; border: none; background: transparent; outline: none; font-size: 0.95rem; }
.search-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-light); z-index: 2; pointer-events: none; }
.search-btn { background: var(--accent); color: var(--white); padding: 0 30px; font-size: 1rem; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.3s; border: none; outline: none; margin: -1px -1px -1px 0; align-self: stretch; z-index: 1; }
.search-btn:hover { background: var(--accent-dark); }

/* ICONS */
.header-icons { display: flex; gap: 25px; align-items: center; font-size: 0.95rem; font-weight: 600; color: var(--text-main); }
.header-icons a { display: flex; align-items: center; gap: 8px; position: relative; transition: 0.3s; color: var(--text-main); }
.header-icons a i { font-size: 1.4rem; color: var(--dark); transition: 0.3s; }
.header-icons a:hover, .header-icons a:hover i { color: var(--accent); }
.cart-count { position: absolute; top: -8px; right: -12px; background: var(--accent); color: var(--white); font-size: 0.7rem; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; border: 2px solid var(--white); transition: background 0.3s; }

/* NAVIGATION */
.header-nav { position: relative; display: flex; align-items: center; justify-content: center; height: 50px; background: var(--white); }
.nav-links { display: flex; height: 100%; gap: 30px; }
.nav-links > li { height: 100%; display: flex; align-items: center; padding: 0 5px; }
.nav-links > li > a { font-size: 0.85rem; font-weight: 600; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.5px; transition: 0.3s; }
.nav-links > li:hover > a { color: var(--accent); }

/* DRAWERS */
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1001; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(2px); }
.overlay.active { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: -400px; width: 400px; height: 100%; background: var(--white); z-index: 1002; transition: 0.4s ease-in-out; display: flex; flex-direction: column; box-shadow: -5px 0 15px rgba(0,0,0,0.1); }
.cart-drawer.open { right: 0; }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--dark); cursor: pointer; padding: 5px; }
.mobile-menu-drawer { position: fixed; top: 0; left: -320px; width: 320px; max-width: 80vw; height: 100%; background: var(--white); z-index: 1002; transition: 0.4s ease-in-out; display: flex; flex-direction: column; box-shadow: 5px 0 15px rgba(0,0,0,0.1); }
.mobile-menu-drawer.open { left: 0; }
.drawer-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-header { background: var(--accent); color: var(--white); }
.drawer-header h3 { margin: 0; font-family: var(--font-sans); font-size: 1.2rem; }
.mobile-menu-header h3 { text-transform: uppercase; letter-spacing: 1px; color: var(--white); }
.close-drawer { font-size: 1.5rem; color: var(--text-light); cursor: pointer; border: none; background: none; }
.mobile-menu-header .close-drawer { color: var(--white); }
.mobile-nav-links { padding: 0; margin: 0; list-style: none; overflow-y: auto; flex-grow: 1; }
.mobile-nav-links li { border-bottom: 1px solid var(--border); }
.mobile-nav-links li a { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; font-size: 1rem; font-weight: 500; color: var(--dark); }
.mobile-nav-links li:hover > a { background: var(--accent-light); color: var(--accent); }

/* CONTENT WRAPPERS */
.page-content { padding: 40px 0; }
.page-title { font-size: 2.8rem; margin-bottom: 30px; text-align: center; }

/* =========================================================
   HOMEPAGE & GLOBAL SECTIONS CSS FIXES
   ========================================================= */

/* HERO SLIDER */
.hero-slider-section { position: relative; height: 25vh; min-height: 420px; overflow: hidden; background: var(--dark); }
.hero-slider { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease-in-out; display: flex; align-items: center; z-index: 0; }
.hero-slide.active { opacity: 1; z-index: 1; }
.slide-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(0.85); }
.slide-inner { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 5%; position: relative; z-index: 2; }
.hero-content-overlay { max-width: 550px; background: rgba(255, 255, 255, 0.9); padding: 50px; border-radius: 4px; backdrop-filter: blur(10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.hero-content-overlay.center-align { margin: 0 auto; text-align: center; }
.hero-content-overlay h1 { font-size: 4rem; margin-bottom: 25px; line-height: 1.1; }
.hero-content-overlay h1 span { color: var(--accent); }
.btn-promo { padding: 15px 40px; font-size: 1rem; background: var(--dark); color: var(--white); }
.btn-promo:hover { background: var(--accent); color: var(--white); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.8); border: none; width: 55px; height: 55px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; z-index: 10; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.slider-btn:hover { background: var(--accent); color: var(--white); }
.prev-btn { left: 30px; }
.next-btn { right: 30px; }
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,0.3); cursor: pointer; transition: 0.3s; border: none; padding: 0; }
.slider-dots .dot.active { background: var(--accent); transform: scale(1.3); }

/* PRODUCT CARDS & CAROUSELS */
.carousel-section { padding: var(--spacing) 5%; background: var(--light-bg); }
.carousel-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; max-width: 1200px; margin-left: auto; margin-right: auto;}
.carousel-header h2 { margin-bottom: 5px; }
.btn-link { font-weight: 600; color: var(--accent); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; display: inline-flex; align-items: center; gap: 5px; }
.btn-link:hover { color: var(--dark); }
.carousel-container { position: relative; max-width: 1200px; margin: 0 auto; }
.carousel-track { display: flex; gap: 30px; overflow-x: auto; scroll-behavior: smooth; padding-bottom: 30px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.carousel-track::-webkit-scrollbar { display: none; }
.product-card { flex: 0 0 calc(25% - 15px) !important; min-width: calc(25% - 15px) !important; scroll-snap-align: start; background: var(--white); border-radius: 4px; overflow: hidden; transition: 0.3s; border: 1px solid var(--border); display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: transparent; }
.product-img-wrapper { position: relative; overflow: hidden; aspect-ratio: 4/5; }
.primary-img, .hover-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease, transform 0.5s ease; }
.hover-img { opacity: 0; transform: scale(1.05); }
.product-card:hover .hover-img { opacity: 1; transform: scale(1); }
.badges { position: absolute; top: 15px; left: 15px; z-index: 3; display: flex; flex-direction: column; gap: 5px; }
.badge { background: var(--dark); color: var(--white); padding: 5px 12px; font-size: 0.75rem; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; border-radius: 2px; }
.badge.pro { background: var(--accent); }

/* Fix missing default view links from woo */
.quick-actions .added_to_cart { display: none !important; }
.product-card .wishlist-btn { opacity: 1 !important; transform: translateY(0) !important; visibility: visible !important; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: absolute; top: 15px; right: 15px; z-index: 3; background: var(--white); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dark); box-shadow: 0 3px 10px rgba(0,0,0,0.1); }
.product-card:hover .wishlist-btn { opacity: 1; transform: translateY(0); }
.wishlist-btn:hover { background: var(--accent); color: var(--white); }

.quick-actions { position: absolute; bottom: 0; left: 0; width: 100%; display: flex; z-index: 3; transform: translateY(0) !important; transition: transform 0.3s ease; opacity: 1 !important; visibility: visible !important; }
.product-card:hover .quick-actions { transform: translateY(0); }
.quick-actions button { flex: 1; background: rgba(17, 17, 17, 0.95); color: var(--white); padding: 15px 0; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,0.1); transition: background 0.3s; }
.quick-actions button:hover { background: var(--accent); }
.product-info { padding: 25px 20px; text-align: center; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }
.stars { color: #f39c12; font-size: 0.85rem; margin-bottom: 10px; }
.product-info h4 { font-size: 1.1rem; margin-bottom: 10px; font-family: var(--font-sans); }
.price { font-weight: 600; color: var(--accent-dark); font-size: 1.15rem; }
.c-arrow { position: absolute; top: 40%; transform: translateY(-50%); background: var(--white); border: 1px solid var(--border); width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: 0.3s; }
.c-arrow:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.c-arrow.prev { left: -25px; }
.c-arrow.next { right: -25px; }

/* SPLIT SECTIONS */
.split-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.split-content { padding: 5%; max-width: 700px; margin: 0 auto; }
.split-content h2 { font-size: 3rem; margin-bottom: 25px; }
.split-content p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 30px; }
.dark-mode .split-content p { color: #cccccc; }
.split-image { height: 100%; }
.split-image img { height: 100%; width: 100%; object-fit: cover; min-height: 400px; }

/* TCA PEEL SECTION ADJUSTMENTS (Max 450px on desktop) */
@media (min-width: 1025px) {
    .tca-peel-section { max-height: 450px; height: 450px; overflow: hidden; }
    .tca-peel-section .split-content { padding: 30px 5%; display: flex; flex-direction: column; justify-content: center; height: 100%; }
    .tca-peel-section .split-content h2 { font-size: 2.2rem; margin-bottom: 15px; }
    .tca-peel-section .split-content p { font-size: 0.95rem; margin-bottom: 20px; line-height: 1.5; }
    .tca-peel-section .split-image { height: 100%; }
    .tca-peel-section .split-image img { height: 100%; max-height: 450px; object-fit: cover; }
}

/* PROMOTION SPACING (Final Sale & Promo Spacing) */
.promo-section-spacing { margin: 80px 0; }

/* SOCIAL PROOF */
.social-proof { background: var(--accent-light); padding: 80px 5%; text-align: center; }
.social-proof h3 { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 2px; font-size: 1rem; color: var(--text-light); margin-bottom: 25px; }
.review-stars { color: #f39c12; font-size: 2.5rem; margin-bottom: 15px; letter-spacing: 5px; }

/* CATEGORY GRID (Perfect Peel) */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
.category-card { background: var(--light-bg); padding: 50px 30px; text-align: center; border-radius: 4px; transition: 0.3s; border: 1px solid transparent; }
.category-card:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); background: var(--white); }
.category-card h3 { font-size: 1.8rem; margin-bottom: 15px; }
.category-card p { color: var(--text-light); margin-bottom: 25px; line-height: 1.6; }

/* FINAL SALE */
.final-sale { text-align: center; background: url('https://images.unsplash.com/photo-1616683693504-3ea7e9ad6fec?auto=format&fit=crop&w=1920&q=80') center/cover; position: relative; color: var(--white); padding: 120px 5%; }
.final-sale::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(17,17,17,0.75); z-index: 1; }
.final-sale > * { position: relative; z-index: 2; }
.final-sale h1 { font-size: 4.5rem; color: var(--white); margin-bottom: 40px; }
.final-sale h2 { font-family: var(--font-sans); font-weight: 500; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 15px; color: var(--accent); }

/* BRAND STORY */
.brand-story { max-width: 800px; margin: 0 auto; text-align: center; }
.brand-story h2 { font-size: 3rem; margin-bottom: 25px; }
.brand-story p { font-size: 1.2rem; color: var(--text-light); margin-bottom: 20px; }

/* VIDEO CAROUSEL STYLES */
.video-testimonials { background: var(--light-bg); }
.video-card { flex: 0 0 320px; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; background: var(--white); box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid var(--border); }
.video-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--accent); }
.video-wrapper { position: relative; aspect-ratio: 9/16; background: #000; cursor: pointer; overflow: hidden; }
.video-wrapper video { width: 100%; height: 100%; object-fit: cover; }
.video-thumb { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: opacity 0.3s; }
.play-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; transition: background 0.3s; }
.video-card:hover .play-overlay { background: rgba(0,0,0,0.1); }
.play-btn { width: 60px; height: 60px; background: rgba(255,255,255,0.95); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.5rem; padding-left: 5px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); transition: transform 0.3s, background 0.3s; }
.video-card:hover .play-btn { transform: scale(1.1); background: var(--white); color: var(--accent-dark); }
.video-info { padding: 25px 20px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.video-info .stars { color: #f5c518; margin-bottom: 12px; font-size: 0.95rem; letter-spacing: 2px; }
.video-info p { font-style: italic; color: var(--text-light); margin-bottom: 15px; font-size: 0.95rem; line-height: 1.6; }
.video-info h4 { margin: 0; font-size: 0.95rem; color: var(--dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* TREE PLANTING SECTION */
.tree-planting-section { 
    background: linear-gradient(135deg, #eaf6fa 0%, #f4fbf9 100%); 
    padding: 80px 5%; 
    position: relative; 
    overflow: hidden; 
    border-top: 1px solid var(--border);
}
.tree-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 40px; 
}
.tree-image { 
    flex: 1; 
    min-width: 300px; 
    text-align: center; 
}
.tree-image img { 
    max-width: 100%; 
    height: auto; 
    mix-blend-mode: multiply;
    border-radius: 8px;
}
.tree-content { 
    flex: 1; 
    min-width: 300px; 
    text-align: center; 
    padding: 20px; 
}
.tree-heading { 
    font-family: var(--font-sans); 
    font-size: 1.2rem; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    color: #333; 
    margin-bottom: 15px; 
    font-weight: 500; 
}
.tree-divider { 
    width: 60px; 
    height: 1px; 
    background: #555; 
    margin: 0 auto 25px; 
}
.tree-counter { 
    font-family: var(--font-sans); 
    font-size: 3.5rem; 
    font-weight: 700; 
    color: #72b643; 
    letter-spacing: 12px; 
    margin-bottom: 15px; 
    margin-left: 12px; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}
.tree-subtext { 
    font-size: 1.05rem; 
    color: #444; 
    line-height: 1.6; 
    margin-bottom: 30px; 
    font-family: var(--font-sans); 
}
.tree-btn { 
    display: inline-block; 
    background: #00b0f0; 
    color: #fff; 
    padding: 12px 35px; 
    font-weight: 600; 
    font-size: 0.95rem;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; 
    text-decoration: none; 
    transition: transform 0.3s, background 0.3s; 
    box-shadow: 0 4px 10px rgba(0, 176, 240, 0.2);
}
.tree-btn:hover { 
    background: #0099d6; 
    transform: scale(1.05) rotate(-1deg); 
}

/* FEATURED LOGOS CAROUSEL */
.featured-logos-section {
    padding: 60px 5%;
    background: var(--light-bg);
    text-align: center;
}
.logos-header h3 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.8rem;
    color: #4a5568;
    font-weight: 400;
    margin-bottom: 15px;
}
.logo-divider {
    width: 30px;
    height: 1px;
    background: #cbd5e0;
    margin: 0 auto 40px;
}
.logos-track-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.logos-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.logo-item {
    flex: 1;
    min-width: 120px;
    display: flex;
    justify-content: center;
}
.logo-item img {
    max-width: 140px;
    height: auto;
    max-height: 45px;
    object-fit: contain;
    opacity: 0.45;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}
.logo-item img:hover {
    opacity: 0.9;
    filter: grayscale(0%);
}

/* INSTA GRID */
.insta-grid-perfect { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
.insta-grid-perfect .insta-item { position: relative; aspect-ratio: 1; overflow: hidden; display: block; }
.insta-grid-perfect .insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.insta-grid-perfect .insta-item:hover img { transform: scale(1.1); }
.insta-grid-perfect .insta-overlay { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.4s ease; backdrop-filter: blur(3px); }
.insta-grid-perfect .insta-item:hover .insta-overlay { opacity: 1; }
.insta-grid-perfect .insta-overlay i { color: #fff; font-size: 2.5rem; transform: translateY(20px); transition: transform 0.4s ease; }
.insta-grid-perfect .insta-item:hover .insta-overlay i { transform: translateY(0); }

/* MODERN TOAST */
.modern-toast { position: fixed; bottom: 30px; right: 30px; background: #ffffff; color: var(--dark); padding: 16px 20px; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 20px; transform: translateY(50px); opacity: 0; visibility: hidden; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 99999; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; border-left: 4px solid var(--accent); }
.modern-toast.show { transform: translateY(0); opacity: 1; visibility: visible; }
.modern-toast .toast-content { display: flex; align-items: center; gap: 12px; flex: 1; }
.modern-toast i { color: var(--accent); font-size: 1.4rem; }
.toast-view-cart-btn { background: var(--dark); color: var(--white); padding: 8px 16px; border-radius: 3px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.3s ease; text-decoration: none; white-space: nowrap; }
.toast-view-cart-btn:hover { background: var(--accent); color: var(--white); }

/* TRUST BAR & FOOTER */
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--accent); color: var(--white); padding: 30px 5%; text-align: center; font-size: 0.95rem; font-weight: 500; transition: background 0.3s; }
.trust-item i { color: var(--white); opacity: 0.9; margin-right: 10px; font-size: 1.2rem; vertical-align: middle; transition: color 0.3s; }

.footer { background: var(--dark); color: var(--white); padding: 80px 5% 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin: 0 auto 60px; max-width: 1200px; }

/* ADD THIS MEDIA QUERY TO CENTER FOOTER COLUMNS ON DESKTOP */
@media (min-width: 1025px) {
    .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
    .footer-col:not(.footer-brand-col) { justify-self: center; }
}

.footer-col h4 { color: var(--accent); font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 1px; font-size: 1rem; margin-bottom: 25px; transition: color 0.3s; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #aaaaaa; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }
.social-links { display: flex; flex-direction: column; gap: 15px; }
.social-links a { color: #aaaaaa; display: flex; align-items: center; gap: 15px; }
.social-links a i { font-size: 1.2rem; }
.social-links a:hover { color: var(--white); }

/* FOOTER BOTTOM & NEW STYLES */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; color: #777; font-size: 0.9rem; flex-wrap: wrap; gap: 20px; }
.footer-copyright { text-align: left; flex: 1; }
.footer-payments { max-width: 280px; display: flex; justify-content: flex-end; }
.footer-payments img { width: 100%; height: auto; object-fit: contain; }

.footer-brand-col { padding-right: 20px; }
.footer-logo { max-width: 160px; margin-bottom: 20px; display: block; }
.footer-logo-text { color: var(--white); font-size: 1.8rem; margin-bottom: 15px; font-family: var(--font-serif); }
.footer-about { color: #aaaaaa; font-size: 0.9rem; line-height: 1.6; margin-bottom: 25px; }

.footer-badges { display: grid; grid-template-columns: repeat(4, 75px); gap: 15px; }
.badge-item { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.1); padding: 5px; }
.badge-item img { width: 100%; height: 100%; object-fit: contain; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .header-main { flex-wrap: wrap; justify-content: space-between; align-items: center; }
    .logo { order: 1; margin: 0; padding: 0; text-align: left; }
    .header-icons { order: 2; gap: 15px; display: flex; align-items: center; justify-content: flex-end; margin-left: auto; }
    .mobile-menu-toggle { display: block; order: 3; margin-left: 20px; }
    .header-icons a { font-size: 0; } 
    .header-icons a i { font-size: 1.3rem; }
    .search-container { order: 4; width: 100%; max-width: 100%; margin: 15px 0 0 0; display: block; }
    .header-nav { display: none; } 
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    /* Pages Layouts */
    .split-section { grid-template-columns: 1fr; }
    .split-image img { height: 450px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-container { grid-template-columns: 1fr; gap: 40px; }
    
    .carousel-track .product-card { flex: 0 0 calc(33.333% - 13.33px) !important; min-width: calc(33.333% - 13.33px) !important; }
    .carousel-track .video-card { flex: 0 0 calc(50% - 10px) !important; min-width: calc(50% - 10px) !important; }
}

@media (max-width: 768px) {
    :root { --spacing: 60px; } 
    .top-bar { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .trust-bar { grid-template-columns: 1fr; gap: 15px; }
    
    /* Slider & General Sections */
    .hero-content-overlay h1 { font-size: 2.8rem; }
    .hero-content-overlay { padding: 30px 20px; }
    .slider-btn { display: none; } 
    .carousel-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .c-arrow { display: none; } 
    
    /* Grids */
    .category-grid { grid-template-columns: 1fr; }
    .insta-grid-perfect { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: 1fr; }
    .logos-track { justify-content: center; }
    
    /* Fonts */
    h2 { font-size: 2rem; }
    .final-sale h1 { font-size: 3rem; }
    .category-title { font-size: 2.2rem; }

    /* Fixes */
    .carousel-track .product-card { flex: 0 0 calc(50% - 10px) !important; min-width: calc(50% - 10px) !important; }
    .carousel-track .video-card { flex: 0 0 calc(80% - 10px) !important; min-width: calc(80% - 10px) !important; }
    .tree-counter { font-size: 2.8rem; letter-spacing: 8px; margin-left: 8px; }
    .tree-content { order: -1; } 
    .modern-toast { bottom: 20px; right: 20px; left: 20px; flex-direction: column; text-align: center; gap: 15px; } 
    .toast-view-cart-btn { width: 100%; text-align: center; } 
    
    .footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
    .footer-copyright { text-align: center; }
    .footer-payments { margin: 0 auto; justify-content: center; }
}

@media (max-width: 480px) { 
    .carousel-track .product-card { flex: 0 0 100% !important; min-width: 100% !important; } 
}
.visitor-counter{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-weight:600;
}

.visitor-counter i{
    color:#fff;
}