/* Vision Trennds - Clean Responsive CSS */

/* ===== PAGE LOAD ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Page Load Animation */
body {
    animation: fadeIn 0.5s ease-in-out;
}

/* Header Animation */
.header {
    animation: slideInFromTop 0.6s ease-out;
}

/* Hero Section Animation */
.hero {
    animation: fadeIn 0.8s ease-in-out;
}

.hero-logo {
    animation: scaleIn 0.8s ease-out 0.2s both;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-divider {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

/* Section Animations on Scroll */
.section-header {
    animation: fadeInUp 0.8s ease-out both;
}

.category-card,
.product-card,
.premium-card {
    animation: fadeInUp 0.6s ease-out both;
}

/* Stagger animation for cards */
.category-card:nth-child(1),
.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.category-card:nth-child(2),
.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.category-card:nth-child(3),
.product-card:nth-child(3) {
    animation-delay: 0.3s;
}

.category-card:nth-child(4),
.product-card:nth-child(4) {
    animation-delay: 0.4s;
}

.category-card:nth-child(5),
.product-card:nth-child(5) {
    animation-delay: 0.5s;
}

.category-card:nth-child(6),
.product-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Footer Animation */
.footer {
    animation: fadeIn 0.8s ease-in-out;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: auto;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    scrollbar-width: thin; 
    scrollbar-color: #8B1538 #F8F6F0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    scrollbar-width: thin;
    scrollbar-color: #8B1538 #F8F6F0;
}

/* Custom Scrollbar */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 12px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: #F8F6F0;
    border-radius: 6px;
    border: 1px solid rgba(139, 21, 56, 0.1);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8B1538 0%, #6B1229 100%);
    border-radius: 6px;
    border: 2px solid #F8F6F0;
    transition: all 0.3s ease;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6B1229 0%, #4A0E1C 100%);
}

/* ===== VARIABLES ===== */
:root {
    --vision-red: #8B1538;
    --vision-burgundy: #6B1229;
    --vision-dark: #2C1810;
    --vision-gold: #D4AF37;
    --vision-cream: #F8F6F0;
    --vision-brown: #5D4037;
    --vision-gradient: linear-gradient(135deg, #8B1538 0%, #6B1229 50%, #4A0E1C 100%);
    --vision-light: linear-gradient(135deg, #F8F6F0 0%, #FFFFFF 100%);
    
    --container-max-width: 1200px;
    --container-padding: 20px;
    --section-padding: 80px 0;
    --border-radius: 7px;
    --transition: all 0.5s ease;
    --transition-slow: all 0.7s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* ===== UTILITY CLASSES ===== */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--vision-dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--vision-red);
    margin: 24px auto;
    border-radius: 2px;
}

.section-icon {
    width: 64px;
    height: 64px;
    background: var(--vision-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow);
}

.section-icon i {
    color: white;
    font-size: 1.5rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    min-width: 160px;
}

.btn-primary {
    background: white;
    color: var(--vision-red);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--vision-cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--vision-red);
    transform: translateY(-2px);
}

.btn-small {
    padding: 12px 24px;
    font-size: 0.875rem;
    min-width: 120px;
    background: var(--vision-red);
    color: white;
}

.btn-small:hover {
    background: var(--vision-burgundy);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--vision-brown);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(93, 64, 55, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.nav {
    padding: 2px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 15px;
    gap: 20px;
}

/* Logo */
/* ===== LOGO SECTION - REBUILT FROM SCRATCH ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 0px;
    text-decoration: none;
    color: inherit;
    transition: all 0.5s ease;
}

.logo:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.logo:visited,
.logo:active,
.logo:focus {
    color: inherit;
    text-decoration: none;
}

/* Logo Image Container */
.logo-image-container {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.logo:hover .logo-image-container {
    transform: scale(1.05);
}

.logo-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

/* Logo Text */
.logo-text {
    display: flex !important;
    flex-direction: column;
    gap: 0px;
}

.logo-title {
    font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: normal;
    font-weight: 300;
    letter-spacing: 1.5px;
    line-height: 1.2;
    margin-top: -1px;
    text-transform: lowercase;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.6s ease;
    padding: 6px 0;
    position: relative;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.nav-link.active {
    color: white;
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.5s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
    background: white;
}

.nav-link i {
    margin-left: 4px;
    font-size: 0.75rem;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--vision-brown);
    box-shadow: 0 8px 32px rgba(93, 64, 55, 0.3);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 0;
    min-width: 200px;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

/* Search Bar */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 1 280px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 8px 40px 8px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    position: absolute;
    right: 5px;
    background: transparent;
    border: none;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    color: var(--vision-gold);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: #f8f8f8;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    margin-right: 12px;
    background: #f5f5f5;
}

.search-result-info {
    flex: 1;
}

.search-result-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--vision-dark);
    margin-bottom: 4px;
}

.search-result-price {
    font-size: 0.85rem;
    color: var(--vision-red);
    font-weight: 600;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #999;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger .bar {
    width: 18px;
    height: 2px;
    background: white;
    transition: var(--transition);
    margin: 2px 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    background: var(--vision-brown);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-menu::-webkit-scrollbar {
    display: none;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.1s ease;
    z-index: 1001;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-content {
    padding: 16px 20px 24px;
    height: 100%;
}

/* Mobile Sidebar Logo */
.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Search Bar */
.mobile-search-container {
    position: relative;
    margin-bottom: 20px;
}

.mobile-search-input {
    width: 100%;
    padding: 12px 45px 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.mobile-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.mobile-search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.mobile-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
}

.mobile-search-btn:hover {
    color: white;
}

.mobile-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(93, 64, 55, 0.98);
    border-radius: 8px;
    margin-top: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mobile-search-results.active {
    display: block;
}

.mobile-logo .logo-image-container {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-logo .logo-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.mobile-logo .logo-text {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.mobile-logo .logo-title {
    font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1.2px;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-logo .logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: normal;
    font-weight: 300;
    letter-spacing: 1.2px;
    margin-top: -1px;
    text-transform: lowercase;
}

/* Mobile Nav Links - Fresh Animation */
.mobile-nav-links {
    list-style: none;
    margin-bottom: 8px;
}

.mobile-nav-links li {
    opacity: 0;
    transform: translateX(-40px);
}

.mobile-menu.active .mobile-nav-links li {
    animation: slideInFromLeft 0.5s ease forwards;
}

.mobile-menu.active .mobile-nav-links li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active .mobile-nav-links li:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu.active .mobile-nav-links li:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu.active .mobile-nav-links li:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu.active .mobile-nav-links li:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.3s ease;
    margin-bottom: 1px;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.mobile-nav-link:hover i {
    color: rgba(255, 255, 255, 0.9);
}

.mobile-nav-link i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
    color: white;
}

/* Mobile Categories - Fresh Animation */
.mobile-categories {
    margin-bottom: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-categories h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    opacity: 0;
    transform: translateX(-40px);
}

.mobile-menu.active .mobile-categories h3 {
    animation: slideInFromLeft 0.5s ease 0.6s forwards;
}

.mobile-categories ul {
    list-style: none;
}

.mobile-categories ul li {
    opacity: 0;
    transform: translateX(-40px);
}

.mobile-menu.active .mobile-categories ul li {
    animation: slideInFromLeft 0.5s ease forwards;
}

.mobile-menu.active .mobile-categories ul li:nth-child(1) { animation-delay: 0.7s; }
.mobile-menu.active .mobile-categories ul li:nth-child(2) { animation-delay: 0.8s; }
.mobile-menu.active .mobile-categories ul li:nth-child(3) { animation-delay: 0.9s; }
.mobile-menu.active .mobile-categories ul li:nth-child(4) { animation-delay: 1.0s; }
.mobile-menu.active .mobile-categories ul li:nth-child(5) { animation-delay: 1.1s; }

.mobile-categories a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s ease;
    margin-bottom: 1px;
    font-size: 0.85rem;
}

.mobile-categories a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile Contact - Fresh Animation */
.mobile-contact {
    margin-bottom: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateX(-40px);
}

.mobile-menu.active .mobile-contact {
    animation: slideInFromLeft 0.5s ease 1.2s forwards;
}

.mobile-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.mobile-contact i {
    color: rgba(255, 255, 255, 0.85);
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
}

.mobile-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.mobile-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.mobile-social a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-social a:last-child {
    background: #25D366;
}

.mobile-social a:last-child:hover {
    background: #128C7E;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.05);
}

.hero-pattern {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
    width: 80px;
    height: 320px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--vision-red);
    max-width: 800px;
    padding: 0 var(--container-padding);
}

.hero-logo {
    width: 96px;
    height: 96px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.hero-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: transparent;
}

.hero-logo-image {
    background: transparent !important;
    width: 220px;
    height: 220px;
    object-fit: contain;
}

/* Mobile responsive for hero logo */
@media (max-width: 768px) {
    .hero-logo-image {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .hero-logo-image {
        width: 150px;
        height: 150px;
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.1;
    color: var(--vision-red);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 8px;
    margin-top: 0;
    opacity: 0.9;
    color: var(--vision-red);
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: var(--vision-gold);
    margin: 32px auto;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.6;
    color: var(--vision-red);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--vision-red);
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== CATEGORIES SECTION ===== */
.categories {
    padding: 80px 0;
    background: var(--vision-light);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateX(0);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--vision-gradient);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(25%, -25%);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.category-content {
    position: relative;
    z-index: 2;
}

.category-icon {
    width: 48px;
    height: 48px;
    background: var(--vision-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.08);
}

.category-icon i {
    color: white;
    font-size: 1.25rem;
}

.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--vision-dark);
    margin-bottom: 8px;
}

.category-card p {
    color: #666;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.category-button {
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover .category-button {
    opacity: 1;
}

/* ===== FEATURED PRODUCTS ===== */
.featured-products {
    padding: 80px 0;
    background: white;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.section-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.875rem;
}

.feature-item i {
    color: var(--vision-red);
}



/* ===== FAQ SECTION ===== */
.faq {
    padding: 80px 0;
    background: white;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--vision-cream);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: white;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--vision-dark);
}

.faq-question i {
    color: var(--vision-red);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: #666;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--vision-dark);
    color: white;
    padding: 32px 0 16px;
    min-height: auto;
    overflow: visible;
}

.footer .container {
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 32px;
    margin-bottom: 24px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Hide mobile-only sections on desktop */
.footer-right-section {
    display: none;
}

/* Hide standalone Quick Links on desktop (first footer-links) */
.footer-content > .footer-links:not(.footer-categories) {
    display: none;
}

/* Show desktop sections */
.footer-categories,
.footer-contact-desktop {
    display: block;
}

.footer-brand {
    /* Remove grid-column span for better layout */
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 16px;
}

.footer-logo .logo-image-container {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo .logo-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.footer-logo .logo-title {
    font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1.5px;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-logo .logo-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: normal;
    font-weight: 300;
    letter-spacing: 1.2px;
    margin-top: -1px;
    text-transform: lowercase;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 350px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    background: var(--vision-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.8rem;
}

.footer-social a:hover {
    background: var(--vision-burgundy);
    transform: translateY(-2px);
}

.footer-links h4 {
    color: var(--vision-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 3px 0;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--vision-gold);
}

.footer-contact h4 {
    color: var(--vision-gold);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.contact-icon {
    width: 32px;
    height: 32px;
    background: var(--vision-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.contact-icon i {
    color: white;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.contact-details span {
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: normal;
    line-height: 1.5;
    word-wrap: break-word;
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

/* Copyright responsive classes */
.copyright-mobile {
    display: none;
}

.copyright-desktop {
    display: block;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Medium screens (small laptops and large tablets) */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        display: flex;
        gap: 16px;
    }
    
    .nav-menu li a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    /* Footer for Tablet - Same as Mobile (2 columns) */
    .footer {
        padding: 24px 0 14px;
    }
    
    .footer .container {
        padding: 0 20px;
    }
    
    .footer-content {
        display: grid;
        grid-template-columns: 0.8fr 1.2fr;
        gap: 16px;
        margin-bottom: 20px;
    }
    
    /* Hide desktop sections on tablet */
    .footer-categories,
    .footer-contact-desktop,
    .footer-categories-mobile {
        display: none !important;
    }
    
    /* Show mobile section on tablet */
    .footer-right-section {
        display: flex !important;
        flex-direction: row;
        gap: 16px;
    }
    
    .footer-right-section > * {
        flex: 1;
    }
    
    .footer-logo .logo-image-container {
        width: 45px;
        height: 45px;
        padding: 4px;
    }
    
    .footer-logo .logo-title {
        font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
        font-size: 0.75rem;
        letter-spacing: 0.8px;
    }
    
    .footer-logo .logo-tagline {
        font-size: 0.5rem;
        font-style: normal;
        font-weight: 300;
        letter-spacing: 1px;
        text-transform: lowercase;
    }
    
    .footer-description {
        font-size: 0.65rem;
        margin: 8px 0 10px;
    }
    
    .footer-social {
        gap: 6px;
    }
    
    .footer-social a {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    
    /* Quick Links & Contact */
    .footer-links h4 {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .footer-links ul {
        gap: 4px;
    }
    
    .footer-links a {
        font-size: 0.7rem;
        padding: 2px 0;
    }
    
    .footer-contact h4 {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .footer-contact .contact-items {
        gap: 6px;
    }
    
    .footer-contact .contact-icon {
        width: 22px;
        height: 22px;
    }
    
    .footer-contact .contact-icon i {
        font-size: 0.6rem;
    }
    
    .footer-contact .contact-details p {
        font-size: 0.65rem;
    }
    
    .footer-contact .contact-details span {
        font-size: 0.7rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* Tablet and Mobile */
/* ===== MOBILE NAVBAR - COMPLETE REDESIGN ===== */
/* Tablet and Mobile */
@media (max-width: 768px) {
    /* Header base */
    .header {
        position: fixed;
        top: 0;
        width: 100%;
        background: var(--vision-brown);
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav {
        padding: 12px 0;
    }
    
    /* Nav container - single line layout */
    .nav-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 12px;
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Logo section - left side */
    .logo {
        display: flex;
        align-items: center;
        gap: 0px;
        flex: 1;
        min-width: 0;
        text-decoration: none;
    }
    
    .logo-image-container {
        width: 90px;
        height: 90px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo-image-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: transparent;
    }
    
    .logo-text {
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
        margin-left: 4px;
    }
    
    .logo-title {
        font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
        font-size: 1.1rem;
        font-weight: 700;
        color: white;
        letter-spacing: 1.5px;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .logo-tagline {
        font-size: 0.65rem;
        color: rgba(255, 255, 255, 0.75);
        font-style: normal;
        font-weight: 300;
        letter-spacing: 1px;
        line-height: 1.2;
        margin-top: 0px;
        text-transform: lowercase;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Hide desktop elements */
    .nav-menu {
        display: none;
    }
    
    .search-container {
        display: none;
    }
    
    /* Hamburger menu - right side */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 36px;
        height: 36px;
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
        padding: 6px;
    }
    
    .hamburger:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .hamburger .bar {
        width: 18px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .hamburger .bar:not(:last-child) {
        margin-bottom: 4px;
    }
    
    /* Other mobile adjustments */
    .hero-title {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 18px;
    }
    
    .category-card {
        padding: 20px;
        min-height: 180px;
    }
    
    .category-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 14px;
    }
    
    .category-icon i {
        font-size: 1.1rem;
    }
    
    .category-card h3 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .category-card p {
        font-size: 0.85rem;
        margin-bottom: 14px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
        --section-padding: 60px 0;
    }
    
    .categories {
        padding: 60px 0;
    }
    
    .featured-products {
        padding: 60px 0;
    }
    
    .reviews {
        padding: 60px 0;
    }
    
    .faq {
        padding: 60px 0;
    }
    
    /* Logo adjustments for mobile */
    .logo-image-container {
        width: 40px !important;
        height: 40px !important;
    }
    
    .logo .logo-title {
        font-size: 0.7rem;
    }
    
    .logo .logo-tagline {
        font-size: 0.45rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 4px;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        margin-top: 0;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .category-card {
        padding: 18px;
        min-height: 160px;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .category-icon i {
        font-size: 1rem;
    }
    
    .category-card h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .category-card p {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .section-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    /* ===== MOBILE FOOTER - VERTICAL LAYOUT ===== */
    .footer {
        padding: 16px 0 10px;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }
    
    .footer .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .footer .container {
        padding: 0 16px;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 12px;
    }
    
    /* Hide desktop sections on mobile */
    .footer-contact-desktop {
        display: none !important;
    }
    
    /* Show categories on mobile */
    .footer-categories {
        display: block !important;
        order: 2;
    }
    
    /* Hide duplicate Quick Links in footer-right-section */
    .footer-right-section .footer-links {
        display: none !important;
    }
    
    /* Hide mobile-only categories section */
    .footer-categories-mobile {
        display: none !important;
    }
    
    /* Show mobile sections in vertical order */
    .footer-brand {
        display: block !important;
        order: 1;
    }
    
    .footer-content > .footer-links:not(.footer-categories) {
        display: block !important;
        order: 3;
    }
    
    .footer-right-section {
        display: block !important;
        order: 4;
    }
    
    .footer-right-section .footer-contact {
        display: block !important;
    }
    
    /* Brand Section - Top */
    .footer-brand {
        text-align: left;
    }
    
    .footer-logo {
        justify-content: flex-start;
    }
    
    .footer-logo .logo-image-container {
        width: 55px;
        height: 55px;
        padding: 4px;
    }
    
    .footer-logo .logo-title {
        font-family: 'Futura', 'Century Gothic', 'Trebuchet MS', sans-serif;
        font-size: 1.1rem;
        letter-spacing: 0.8px;
    }
    
    .footer-logo .logo-tagline {
        font-size: 0.7rem;
        font-style: normal;
        font-weight: 300;
        letter-spacing: 1px;
        text-transform: lowercase;
    }
    
    .footer-description {
        font-size: 0.85rem;
        margin: 6px 0 8px;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .footer-social {
        display: flex;
        gap: 8px;
        justify-content: flex-start;
    }
    
    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    /* Quick Links - Middle */
    .footer-links {
        text-align: left;
    }
    
    .footer-links h4 {
        font-size: 1.05rem;
        margin-bottom: 8px;
        color: var(--vision-gold);
    }
    
    .footer-links ul {
        display: flex;
        flex-direction: column;
        gap: 5px;
        list-style: none;
        padding: 0;
        margin: 0;
        align-items: flex-start;
    }
    
    .footer-links li {
        margin: 0;
    }
    
    .footer-links a {
        font-size: 0.9rem;
        padding: 2px 0;
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        display: block;
    }
    
    .footer-links a:hover {
        color: var(--vision-gold);
    }
    
    /* Contact Info - Bottom */
    .footer-contact {
        text-align: left;
    }
    
    .footer-contact h4 {
        font-size: 1.05rem;
        margin-bottom: 8px;
        color: var(--vision-gold);
    }
    
    .footer-contact .contact-items {
        display: flex;
        flex-direction: column;
        gap: 7px;
        align-items: flex-start;
    }
    
    .footer-contact .contact-item {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 0;
    }
    
    .footer-contact .contact-icon {
        width: 28px;
        height: 28px;
        background: var(--vision-red);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .footer-contact .contact-icon i {
        font-size: 0.75rem;
        color: white;
    }
    
    .footer-contact .contact-details {
        text-align: left;
    }
    
    .footer-contact .contact-details p {
        font-size: 0.85rem;
        margin: 0 0 2px 0;
        color: var(--vision-gold);
    }
    
    .footer-contact .contact-details span {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
    }
    
    /* Footer Bottom */
    .footer-bottom {
        text-align: center;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.6);
    }
    
    /* Show mobile copyright, hide desktop */
    .copyright-desktop {
        display: none;
    }
    
    .copyright-mobile {
        display: block;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    :root {
        --container-padding: 12px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 4px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-top: 0;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
    }
    
    .hero-logo img {
        width: 64px;
        height: 64px;
        border-radius: 50%;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .category-card {
        padding: 16px;
        min-height: 140px;
    }
    
    .category-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 10px;
    }
    
    .category-icon i {
        font-size: 0.9rem;
    }
    
    .category-card h3 {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    
    .category-card p {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
    

    
    .mobile-menu-content {
        padding: 20px 16px 16px;
    }
    
    .footer .container {
        padding: 0 12px;
    }
    
    .footer {
        padding: 20px 0 10px;
        min-height: auto;
        overflow: visible;
    }
    
    .footer-content {
        gap: 12px;
    }
    
    .footer-brand {
        margin-bottom: 12px;
    }
    
    .footer-description {
        font-size: 0.75rem;
        margin: 8px 0;
        line-height: 1.2;
    }
    
    .footer-social {
        gap: 6px;
        margin-top: 10px;
    }
    
    .footer-social a {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    /* Column layout for small mobile */
    .footer-links h4 {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .footer-links ul {
        grid-template-columns: 1fr 1fr;
        gap: 6px 12px;
        max-width: 280px;
    }
    
    .footer-links a {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
    
    .footer-contact h4 {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .footer-contact .contact-item {
        margin-bottom: 4px;
        font-size: 0.7rem;
    }
    
    .footer-contact .contact-details span {
        font-size: 0.7rem;
    }
    
    .footer-bottom {
        padding-top: 10px;
        margin-top: 12px;
    }
    
    .footer-bottom p {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth transitions for all interactive elements */
* {
    transition-property: transform, opacity, background-color, color, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Performance optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Lazy loading styles */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Remove any scroll snap that might cause jumping */
html, body, section, div {
    scroll-snap-type: none !important;
    scroll-snap-align: none !important;
}

/* Ensure smooth transitions for all elements */
.smooth-scroll {
    scroll-behavior: auto;
}

/* Hide scrollbars for all child elements except html and body */
*:not(html):not(body) {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

*:not(html):not(body)::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
/* ===== REVIEWS SECTION ===== */
.reviews {
    padding: 80px 0;
    background: var(--vision-cream);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.reviews-main-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    background: transparent;
}

.reviews-inner-container {
    width: 80%;
    margin: 0 auto;
    padding: 40px;
    background: transparent;
    border-radius: var(--border-radius);
    box-shadow: none;
}

.reviews-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.reviews-slider {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
    width: fit-content;
}

.review-card {
    flex: 0 0 300px;
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(139, 21, 56, 0.1);
    transition: var(--transition);
    position: relative;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--vision-gradient);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.review-content {
    position: relative;
    z-index: 2;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--vision-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.review-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--vision-dark);
    margin-bottom: 4px;
}

.review-info p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

.review-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.review-stars i {
    color: var(--vision-gold);
    font-size: 1rem;
}

.review-text {
    color: #555;
    line-height: 1.6;
    font-size: 0.9375rem;
    margin: 0;
}

.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 32px 0;
}

.review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--vision-red);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

.review-dot.active,
.review-dot:hover {
    background: var(--vision-red);
    transform: scale(1.2);
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(139, 21, 56, 0.1);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--vision-red);
    font-size: 1rem;
}

/* ===== FEATURED PRODUCTS STYLES ===== */
/* Removed old products-grid styles - now using new responsive system */

/* ===== RESPONSIVE PRODUCT CARDS - BUILT FROM SCRATCH ===== */

/* Base Product Card Styles */
.product-card-responsive {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card-responsive:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Image Container */
.product-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: white;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: white;
}

.product-card-responsive:hover .product-image {
    transform: scale(1.05);
}

/* Badge */
.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
}

.product-badge span {
    background: var(--vision-red);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Content Area */
.product-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Product Title */
.product-title {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--vision-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none !important;
    min-height: 2.6em;
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.product-card-responsive:hover .product-title {
    color: var(--vision-red);
}

/* Footer with Price and Button */
.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

/* Price Section */
.price-section {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.current-price {
    font-size: 1rem;
    color: var(--vision-red);
    font-weight: 700;
}

.original-price {
    font-size: 0.8rem;
    color: #666;
    text-decoration: line-through;
}

/* Buy Button */
.buy-button {
    background: var(--vision-red);
    color: white !important;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.buy-button:hover {
    background: var(--vision-burgundy);
    transform: scale(1.05);
}

.buy-icon {
    font-size: 0.8rem;
    color: white !important;
}

.buy-text {
    color: white !important;
    font-size: 0.8rem;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .product-image {
        height: 220px;
    }
    
    .product-content {
        padding: 16px;
    }
    
    .product-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .current-price {
        font-size: 1.1rem;
    }
    
    .buy-button {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

/* Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .product-image {
        height: 200px;
    }
    
    .product-content {
        padding: 14px;
    }
    
    .product-title {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .current-price {
        font-size: 1rem;
    }
    
    .buy-button {
        padding: 9px 13px;
        font-size: 0.8rem;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .product-image {
        height: 180px;
    }
    
    .product-content {
        padding: 12px;
    }
    
    .product-title {
        font-size: 0.85rem;
        margin-bottom: 8px;
        min-height: 2.4em;
    }
    
    .current-price {
        font-size: 0.9rem;
    }
    
    .original-price {
        font-size: 0.75rem;
    }
    
    .buy-button {
        padding: 7px 10px;
        font-size: 0.75rem;
    }
    
    .buy-icon, .buy-text {
        font-size: 0.75rem;
    }
}

/* Mobile Large (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .product-image {
        height: 160px;
    }
    
    .product-content {
        padding: 10px;
    }
    
    .product-title {
        font-size: 0.8rem;
        margin-bottom: 6px;
        min-height: 2.2em;
        line-height: 1.2;
    }
    
    .current-price {
        font-size: 0.85rem;
    }
    
    .original-price {
        font-size: 0.7rem;
    }
    
    .buy-button {
        padding: 6px 8px;
        font-size: 0.7rem;
        gap: 3px;
    }
    
    .buy-icon, .buy-text {
        font-size: 0.7rem;
    }
    
    .product-badge span {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
}

/* Mobile Small (320px - 575px) */
@media (max-width: 575px) {
    .product-image {
        height: 300px;
    }
    
    .product-content {
        padding: 12px;
    }
    
    .product-title {
        font-size: 0.75rem;
        margin-bottom: 4px;
        min-height: 2em;
        line-height: 1.1;
    }
    
    .current-price {
        font-size: 0.8rem;
    }
    
    .original-price {
        font-size: 0.65rem;
    }
    
    .buy-button {
        padding: 5px 7px;
        font-size: 0.65rem;
        gap: 2px;
        border-radius: 4px;
    }
    
    .buy-icon, .buy-text {
        font-size: 0.65rem;
    }
    
    .product-badge {
        top: 6px;
        left: 6px;
    }
    
    .product-badge span {
        padding: 2px 5px;
        font-size: 0.65rem;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
    .product-image {
        height: 120px;
    }
    
    .product-content {
        padding: 6px;
    }
    
    .product-title {
        font-size: 0.7rem;
        margin-bottom: 3px;
        min-height: 1.8em;
    }
    
    .current-price {
        font-size: 0.75rem;
    }
    
    .original-price {
        font-size: 0.6rem;
    }
    
    .buy-button {
        padding: 4px 6px;
        font-size: 0.6rem;
        gap: 1px;
    }
    
    .buy-icon, .buy-text {
        font-size: 0.6rem;
    }
}

/* Grid Layout Responsive */
#all-products,
#featured-products {
    display: grid;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Grid Columns by Screen Size */
@media (min-width: 1200px) {
    #all-products,
    #featured-products {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #all-products,
    #featured-products {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #all-products,
    #featured-products {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    #all-products,
    #featured-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 0 12px;
    }
}

@media (max-width: 575px) {
    #all-products,
    #featured-products {
        grid-template-columns: 1fr !important;
        gap: 16px;
        padding: 0 16px;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* Ensure all WhatsApp links have white text */
a[href*="wa.me"],
a[href*="wa.me"]:hover,
a[href*="wa.me"]:visited,
a[href*="wa.me"]:active,
a[href*="wa.me"]:focus {
    color: white !important;
    text-decoration: none !important;
}

a[href*="wa.me"] *,
a[href*="wa.me"] span,
a[href*="wa.me"] i {
    color: white !important;
}

/* ===== REVIEWS RESPONSIVE FIXES - DYNAMIC SCREEN SIZING ===== */

/* Small Mobile Footer Optimization */
@media (max-width: 480px) {
    .footer-logo .logo-image-container {
        width: 90px !important;
        height: 90px !important;
    }
    
    .footer-logo .logo-text h3 {
        font-size: 1.3rem !important;
        white-space: nowrap;
    }
    
    .footer-logo .logo-text p {
        font-size: 0.9rem !important;
        white-space: nowrap;
    }
    
    .footer-description {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
    }
    
    .footer-links h4 {
        font-size: 1.2rem !important;
        white-space: nowrap;
        margin-bottom: 12px !important;
    }
    
    .footer-links a {
        font-size: 1rem !important;
        white-space: nowrap;
        padding: 6px 0 !important;
        display: block !important;
    }
    
    .footer-contact h4 {
        font-size: 1.2rem !important;
        white-space: nowrap;
        margin-bottom: 12px !important;
    }
    
    .footer-contact .contact-item {
        font-size: 1rem !important;
        padding: 8px 0 !important;
    }
    
    .footer-contact .contact-icon i {
        font-size: 1rem !important;
    }
    
    .footer-contact .contact-details p {
        font-size: 0.95rem !important;
        white-space: normal;
        line-height: 1.4;
    }
    
    .footer-contact .contact-details span {
        font-size: 1rem !important;
        white-space: normal;
        line-height: 1.5;
        word-wrap: break-word;
        display: block;
    }
    
    .footer-bottom p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
}

/* ===== REVIEWS RESPONSIVE FIXES - DYNAMIC SCREEN SIZING ===== */

/* Base styles for all screens */
#reviews-container .flex-shrink-0 {
    min-height: auto !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

#reviews-container p {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

/* Large screens - show more content */
@media (min-width: 1024px) {
    #reviews-container .flex-shrink-0 {
        width: 350px !important;
        padding: 24px !important;
    }
    
    #reviews-container {
        gap: 24px !important;
    }
}

/* Medium screens - tablets */
@media (min-width: 768px) and (max-width: 1023px) {
    #reviews-container .flex-shrink-0 {
        width: 320px !important;
        padding: 20px !important;
    }
    
    #reviews-container {
        gap: 20px !important;
    }
}

/* Small tablets and large phones */
@media (min-width: 640px) and (max-width: 767px) {
    #reviews-container .flex-shrink-0 {
        width: calc(100vw - 120px) !important;
        max-width: 300px !important;
        min-width: 280px !important;
        padding: 18px !important;
    }
    
    #reviews-container {
        gap: 16px !important;
    }
    
    #reviews-container h4 {
        font-size: 0.95rem !important;
        line-height: 1.2 !important;
    }
    
    #reviews-container p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }
}

/* Standard mobile phones */
@media (min-width: 480px) and (max-width: 639px) {
    #reviews-container .flex-shrink-0 {
        width: calc(100vw - 100px) !important;
        max-width: 280px !important;
        min-width: 260px !important;
        padding: 16px !important;
    }
    
    #reviews-container {
        gap: 14px !important;
    }
    
    #reviews-container .w-12 {
        width: 2.5rem !important;
        height: 2.5rem !important;
        font-size: 0.9rem !important;
    }
    
    #reviews-container h4 {
        font-size: 0.9rem !important;
        line-height: 1.2 !important;
    }
    
    #reviews-container p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    #reviews-container .fas.fa-star {
        font-size: 0.9rem !important;
    }
}

/* Small mobile phones */
@media (min-width: 375px) and (max-width: 479px) {
    #reviews-container .flex-shrink-0 {
        width: calc(100vw - 80px) !important;
        max-width: 260px !important;
        min-width: 240px !important;
        padding: 14px !important;
    }
    
    #reviews-container {
        gap: 12px !important;
    }
    
    #reviews-container .w-12 {
        width: 2.25rem !important;
        height: 2.25rem !important;
        font-size: 0.85rem !important;
    }
    
    #reviews-container h4 {
        font-size: 0.85rem !important;
        line-height: 1.1 !important;
    }
    
    #reviews-container p {
        font-size: 0.8rem !important;
        line-height: 1.3 !important;
    }
    
    #reviews-container .fas.fa-star {
        font-size: 0.85rem !important;
    }
    
    #reviews-container .flex.gap-1 {
        gap: 2px !important;
    }
}

/* Extra small phones */
@media (max-width: 374px) {
    #reviews-container .flex-shrink-0 {
        width: calc(100vw - 60px) !important;
        max-width: 240px !important;
        min-width: 220px !important;
        padding: 12px !important;
    }
    
    #reviews-container {
        gap: 10px !important;
    }
    
    #reviews-container .w-12 {
        width: 2rem !important;
        height: 2rem !important;
        font-size: 0.8rem !important;
    }
    
    #reviews-container h4 {
        font-size: 0.8rem !important;
        line-height: 1.1 !important;
    }
    
    #reviews-container p {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }
    
    #reviews-container .fas.fa-star {
        font-size: 0.8rem !important;
    }
    
    #reviews-container .flex.gap-1 {
        gap: 1px !important;
    }
}

/* Container improvements */
.py-20.bg-vision-cream.overflow-hidden {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

.py-20.bg-vision-cream.overflow-hidden .relative.overflow-hidden {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

/* Responsive section padding */
@media (max-width: 768px) {
    .py-20.bg-vision-cream {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

@media (max-width: 480px) {
    .py-20.bg-vision-cream {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .py-20.bg-vision-cream .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}


.whatsapp-buy-btn:hover {
    background: linear-gradient(135deg, var(--vision-burgundy) 0%, var(--vision-red) 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

.whatsapp-buy-btn i {
    font-size: 1rem;
}

/* Fix for cross symbol issue on WhatsApp buttons */
.whatsapp-buy-btn::before,
.whatsapp-buy-btn::after {
    display: none !important;
}

/* Fix for any link decorations */
a[href*="wa.me"] {
    text-decoration: none !important;
    color: white !important;
}

a[href*="wa.me"]:hover {
    text-decoration: none !important;
    color: white !important;
}

a[href*="wa.me"]::before,
a[href*="wa.me"]::after {
    display: none !important;
}

a[href*="wa.me"] span {
    color: white !important;
}

a[href*="wa.me"] i {
    color: white !important;
}

/* Ensure Font Awesome icons display correctly */
.fab.fa-whatsapp::before {
    content: "\f232" !important;
}

/* Additional WhatsApp button text color enforcement */
a[href*="wa.me"], 
a[href*="wa.me"]:visited,
a[href*="wa.me"]:active,
a[href*="wa.me"]:focus {
    color: white !important;
    text-decoration: none !important;
}

a[href*="wa.me"] *,
a[href*="wa.me"] span,
a[href*="wa.me"] i,
a[href*="wa.me"] .fab {
    color: white !important;
}

/* Specific targeting for products page buy buttons */
.premium-card a[href*="wa.me"] {
    color: white !important;
}

.premium-card a[href*="wa.me"] span {
    color: white !important;
}

.premium-card a[href*="wa.me"] i {
    color: white !important;
}

/* WhatsApp buy link specific styling */
.whatsapp-buy-link,
.whatsapp-buy-link:hover,
.whatsapp-buy-link:visited,
.whatsapp-buy-link:active,
.whatsapp-buy-link:focus {
    color: white !important;
    text-decoration: none !important;
}

.whatsapp-buy-link *,
.whatsapp-buy-link span,
.whatsapp-buy-link i {
    color: white !important;
}

/* Badge styles - positioned at top corner */
.premium-card .badge-container {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 20;
}

.premium-card .offer-badge {
    background: linear-gradient(135deg, var(--vision-red) 0%, var(--vision-burgundy) 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    display: inline-block;
}

/* Loading state */
.loading {
    position: relative;
    opacity: 0.7;
    background: #f5f5f5;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--vision-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error and success messages */
.error {
    background: #fee;
    color: #c33;
    padding: 12px;
    border-radius: 8px;
    margin: 16px 0;
    border: 1px solid #fcc;
}

.success {
    background: #efe;
    color: #363;
    padding: 12px;
    border-radius: 8px;
    margin: 16px 0;
    border: 1px solid #cfc;
}

/* Fade in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


    
    
    .whatsapp-buy-btn {
        padding: 4px 6px;
        font-size: 0.7rem;
    }
    
    .premium-card .badge-container {
        top: 6px;
        left: 6px;
    }
    
    .premium-card .offer-badge {
        padding: 2px 4px;
        font-size: 0.65rem;
    }


/* ===== IMAGE ALIGNMENT FIXES ===== */

/* General image alignment */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Product images */
.premium-card img,
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: center;
    border-radius: 7px 7px 0 0;
}

/* Hero section images */
.hero-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
    border-radius: 50%;
}

/* Footer logo images */
.footer-logo .logo-image {
    background: var(--vision-gradient);
    overflow: hidden;
}

.footer-logo .logo-image img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: center;
}

/* Mobile logo images */
.mobile-logo .logo-image img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    object-position: center;
}

/* Category card images */
.category-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

/* Responsive image adjustments */
@media (max-width: 768px) {
    .premium-card img,
    .product-card img {
        height: 250px;
        object-fit: contain;
    }
    
    .hero-logo img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }
    
    .logo-image img {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .premium-card img,
    .product-card img {
        height: 300px;
        object-fit: contain;
    }
    
    .hero-logo img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
}

/* Fix for images not showing */
img[src=""],
img:not([src]),
img[src="#"] {
    display: none;
}

/* Fallback for broken images */
img {
    background-color: #f5f5f5;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f5f5f5"/><text x="50" y="50" text-anchor="middle" dy=".3em" fill="%23999">Image</text></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

img[src]:not([src=""]) {
    background-image: none;
}
/* Additional logo containers with overflow hidden */
.w-16.h-16.bg-white\/20.backdrop-blur-sm.rounded-full,
.w-20.h-20.bg-white\/20.backdrop-blur-sm.rounded-full,
.w-24.h-24.bg-white.rounded-full,
.w-24.h-24.bg-white\/20.backdrop-blur-sm.rounded-full {
    overflow: hidden;
}

/* Generic circular logo containers */
div[class*="rounded-full"]:has(img[alt*="Vision Trennds"]) {
    overflow: hidden;
}

/* Ensure all circular containers with logos have overflow hidden */
.rounded-full img {
    border-radius: 50%;
}
/* Hero logo specific styling */
img[src*="10.png"] {
    filter: brightness(1.1) contrast(1.1);
    mix-blend-mode: multiply;
}

/* Hero section transparent logo containers */
.bg-white\/20.backdrop-blur-sm.rounded-full:has(img[src*="transparent_logo"]) {
    background: var(--vision-gradient) !important;
    backdrop-filter: none !important;
    box-shadow: 0 8px 32px rgba(139, 21, 56, 0.3) !important;
}

/* Alternative selector for hero logo containers */
div[class*="bg-white/20"][class*="rounded-full"] {
    background: var(--vision-gradient) !important;
    backdrop-filter: none !important;
    box-shadow: 0 8px 32px rgba(139, 21, 56, 0.3) !important;
}

/* Ensure hero logos display well on gradient backgrounds */
.hero-content img[src*="10.png"],
div[class*="bg-white/20"] img[src*="10.png"] {
    filter: brightness(1.1) contrast(1.1);
    mix-blend-mode: multiply;
}
/* Specific hero section logo container styling */
.w-16.h-16.rounded-full,
.w-20.h-20.rounded-full {
    background: var(--vision-gradient) !important;
    backdrop-filter: none !important;
    box-shadow: 0 8px 32px rgba(139, 21, 56, 0.3) !important;
}

/* Remove animate-pulse background override */
.animate-pulse.rounded-full {
    background: var(--vision-gradient) !important;
}

/* Ensure proper contrast for hero logo */
img[src$="10.png"] {
    filter: brightness(1.2) contrast(1.1) saturate(1.1);
    mix-blend-mode: multiply;
    transition: filter 0.3s ease;
}

img[src$="10.png"]:hover {
    filter: brightness(1.3) contrast(1.2) saturate(1.2);
    mix-blend-mode: multiply;
}

/* ===== LOGO CONSISTENCY FIXES ===== */
/* Ensure all logo containers use theme gradient background */
.logo-image,
.mobile-logo .logo-image,
.footer-logo .logo-image,
.hero-logo {
    background: var(--vision-gradient) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

/* Ensure all logo images have proper sizing and positioning */
.logo-image img,
.mobile-logo .logo-image img,
.footer-logo .logo-image img,
.hero-logo img,
.hero-logo-image {
    object-fit: contain;
    object-position: center;
    border: none;
    background: transparent;
}

/* Remove any potential white backgrounds from logo containers */
.logo .logo-image,
.mobile-logo .logo-image,
.footer-brand .logo-image,
.footer-logo .logo-image {
    background: var(--vision-gradient) !important;
    border: none !important;
}


/* Search Results Page */
.search-results-section {
    padding: 85px 0 30px !important;
    min-height: 100vh;
    background: #f8f8f8;
}

.search-header {
    text-align: center;
    margin-bottom: 20px !important;
}

.search-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem !important;
    color: var(--vision-dark);
    margin-bottom: 5px !important;
}

.search-header p {
    font-size: 0.85rem !important;
    color: #666;
}

.loading-state {
    text-align: center;
    padding: 30px 15px !important;
}

.spinner {
    width: 30px !important;
    height: 30px !important;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--vision-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

.no-results {
    text-align: center;
    padding: 30px 15px !important;
}

.no-results i {
    font-size: 2.5rem !important;
    color: #ccc;
    margin-bottom: 12px !important;
}

.no-results h2 {
    font-size: 1.2rem !important;
    color: var(--vision-dark);
    margin-bottom: 6px !important;
}

.no-results p {
    font-size: 0.85rem !important;
    color: #666;
    margin-bottom: 15px !important;
}

.btn-primary {
    display: inline-block;
    padding: 8px 20px;
    background: var(--vision-red);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--vision-burgundy);
    transform: translateY(-2px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 16px !important;
    margin-top: 15px !important;
}

/* Search results page specific image styling for all screen sizes */
.search-results-section .product-image {
    height: 220px !important;
    object-fit: contain !important;
    background: white !important;
}

.search-results-section .product-image-container {
    background: white !important;
}

.search-view-all {
    padding: 10px;
    text-align: center;
    background: var(--vision-red);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0 0 12px 12px;
}

.search-view-all:hover {
    background: var(--vision-burgundy);
}

.search-view-all i {
    margin-left: 6px;
}

@media (max-width: 768px) {
    .search-results-section {
        padding: 80px 0 25px !important;
    }
    
    .search-header h1 {
        font-size: 1.2rem !important;
    }
    
    .search-header p {
        font-size: 0.8rem !important;
    }
    
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    /* Search results page specific image styling */
    .search-results-section .product-image {
        height: 250px !important;
        object-fit: contain !important;
        background: white !important;
    }
    
    .search-results-section .product-image-container {
        background: white !important;
    }
}

@media (max-width: 480px) {
    .search-results-section .product-image {
        height: 300px !important;
        object-fit: contain !important;
        background: white !important;
    }
}
