/**
 * Avirron Veterinary Services - Main Stylesheet
 * Pet & Livestock Store
 */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --secondary-color: #FF9800;
    --secondary-dark: #F57C00;
    --accent-color: #2196F3;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #757575;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--primary-dark);
    color: white;
    padding: 10px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.top-bar-right a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* ===== Header ===== */
.main-header {
    background: white;
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.logo-text h1 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 500px;
}

.search-bar form {
    display: flex;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-size: 14px;
    transition: var(--transition);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--primary-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 20px;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-medium);
    font-size: 12px;
    font-weight: 500;
    position: relative;
}

.header-action i {
    font-size: 20px;
    color: var(--primary-color);
}

.header-action:hover {
    color: var(--primary-color);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* ===== Navigation ===== */
.main-nav {
    background: var(--primary-color);
    position: relative;
}

.nav-menu {
    display: flex;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: var(--primary-dark);
}

.nav-link i {
    font-size: 10px;
}

/* Mega Menu */
.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 800px;
    background: white;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 99;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 25px;
    gap: 25px;
}

.mega-menu-column h4 {
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.mega-menu-column h4 a {
    color: var(--primary-color);
}

.mega-menu-column h4 a:hover {
    color: var(--primary-dark);
}

.mega-menu-column ul li {
    margin-bottom: 8px;
}

.mega-menu-column ul li a {
    font-size: 13px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mega-menu-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.mega-menu-column ul li a.view-all {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 10px;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--primary-color);
    color: white;
}

.mobile-nav-title {
    font-weight: 600;
    font-size: 18px;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.mobile-nav-menu {
    padding: 15px;
}

.mobile-nav-menu li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.mobile-nav-menu li a i {
    color: var(--primary-color);
    width: 20px;
}

.mobile-nav-contact {
    padding: 20px;
    background: var(--bg-light);
}

.mobile-nav-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.mobile-nav-contact p i {
    color: var(--primary-color);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Flash Messages */
.flash-message {
    padding: 15px 0;
    color: white;
}

.flash-message .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-success {
    background: var(--success-color);
}

.flash-error {
    background: var(--danger-color);
}

.flash-warning {
    background: var(--warning-color);
    color: var(--text-dark);
}

.flash-info {
    background: var(--info-color);
}

.flash-message button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 16px;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
}

.hero-text {
    max-width: 600px;
}

.hero-text h2 {
    font-size: 48px;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Features Section ===== */
.features-section {
    padding: 60px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== Section Headers ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 28px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.view-all-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* ===== Products Section ===== */
.products-section {
    padding: 60px 0;
}

/* Default Products Grid - 4 columns */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Two-Column Alternating Layout for Featured Products */
.products-grid-two-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-row .product-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    min-height: 320px;
}

.product-row .product-card-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-row:nth-child(even) .product-card-large {
    direction: rtl;
}

.product-row:nth-child(even) .product-card-large > * {
    direction: ltr;
}

.product-card-large .product-image-large {
    position: relative;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
}

.product-card-large .product-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-card-large .product-info-large {
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card-large .product-category {
    font-size: 13px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-card-large .product-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-card-large .product-description {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-card-large .product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.product-card-large .current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-card-large .old-price {
    font-size: 18px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-card-large .product-actions-large {
    display: flex;
    gap: 15px;
}

.product-card-large .btn-whatsapp-large {
    flex: 1;
    padding: 14px 24px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.product-card-large .btn-whatsapp-large:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.product-card-large .btn-view {
    padding: 14px 24px;
    background: var(--bg-light);
    color: var(--text-dark);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.product-card-large .btn-view:hover {
    background: var(--primary-color);
    color: white;
}

.product-card-large .product-badges-large {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.product-card-large .badge {
    padding: 6px 14px;
    font-size: 12px;
}

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-new {
    background: var(--info-color);
    color: white;
}

.badge-featured {
    background: var(--secondary-color);
    color: white;
}

.badge-sale {
    background: var(--danger-color);
    color: white;
}

.badge-best {
    background: var(--success-color);
    color: white;
}

.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255,255,255,0.95);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.product-action-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.product-info {
    padding: 15px;
}

.product-category {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-name:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    font-size: 14px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-light);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--secondary-color);
}

.btn-whatsapp {
    width: 100%;
    padding: 10px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #128C7E;
}

/* ===== Categories Section ===== */
.categories-section {
    padding: 60px 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    transition: var(--transition);
}

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

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    text-align: center;
}

.category-overlay h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.category-overlay span {
    font-size: 13px;
    opacity: 0.8;
}

/* ===== About Section ===== */
.about-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: auto;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 5px solid white;
    box-shadow: var(--shadow-md);
}

.about-img-secondary img {
    width: 100%;
    height: auto;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text h2 span {
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-feature i {
    color: var(--primary-color);
    font-size: 18px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 36px;
    color: var(--primary-color);
}

.stat-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.testimonials-section .section-title {
    color: white;
    text-align: center;
}

.testimonials-section .section-title::after {
    left: 50%;
    transform: translateX(-50%);
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
}

.testimonial-rating {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.testimonial-author-info h5 {
    font-size: 16px;
    margin-bottom: 3px;
}

.testimonial-author-info span {
    font-size: 13px;
    opacity: 0.8;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* ===== Footer ===== */
.main-footer {
    background: var(--text-dark);
    color: white;
}

/* Footer Top */
.footer-top {
    background: var(--primary-color);
    padding: 40px 0;
}

.footer-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-newsletter h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.footer-newsletter p {
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    width: 300px;
    padding: 12px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
}

.newsletter-form input:focus {
    outline: none;
}

/* Footer Main */
.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 32px;
    color: var(--primary-color);
}

.footer-logo span {
    font-size: 20px;
    font-weight: 600;
}

.footer-about p {
    color: #aaa;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #aaa;
}

.footer-contact-info p i {
    color: var(--primary-color);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links li a::before {
    content: '→';
    opacity: 0;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-links li a:hover::before {
    opacity: 1;
}

.footer-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-product {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-product-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.footer-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-product-info {
    display: flex;
    flex-direction: column;
}

.footer-product-info .product-name {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 3px;
}

.footer-product-info .product-price {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #aaa;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #aaa;
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: white;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Cart Float Button (Left Side) */
.cart-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
    z-index: 99;
    transition: var(--transition);
    text-decoration: none;
}

.cart-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.5);
    color: white;
}

.cart-float-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cartPulse 2s infinite;
}

@keyframes cartPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 152, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
    }
}

.cart-tooltip {
    position: absolute;
    left: 70px;
    background: white;
    color: var(--text-dark);
    padding: 8px 15px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cart-tooltip::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: white;
}

.cart-float:hover .cart-tooltip {
    opacity: 1;
    visibility: visible;
    left: 75px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 0;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    opacity: 0.6;
}

.breadcrumb .current {
    opacity: 0.8;
}

/* ===== Products Page ===== */
.products-page {
    padding: 60px 0;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.category-list li {
    margin-bottom: 8px;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-medium);
    font-size: 14px;
    transition: var(--transition);
}

.category-list li a:hover,
.category-list li.active a {
    background: var(--bg-light);
    color: var(--primary-color);
}

.category-list li a .count {
    background: var(--border-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}

.price-range {
    padding: 10px 0;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.price-inputs input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

/* Products Toolbar */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.products-count {
    font-size: 14px;
    color: var(--text-medium);
}

.products-count span {
    font-weight: 600;
    color: var(--primary-color);
}

.products-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-sort label {
    font-size: 14px;
    color: var(--text-medium);
}

.products-sort select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    cursor: pointer;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-medium);
    transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination span.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Product Detail Page ===== */
.product-detail {
    padding: 60px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
}

.product-main-image img {
    width: 100%;
    height: auto;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    background: white;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.product-thumbnail.active,
.product-thumbnail:hover {
    border-color: var(--primary-color);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-detail-info .product-category {
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.product-detail-info h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.product-detail-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.product-detail-price .current-price {
    font-size: 32px;
}

.product-detail-price .old-price {
    font-size: 20px;
}

.product-short-desc {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.product-meta-list {
    margin-bottom: 25px;
}

.product-meta-list li {
    display: flex;
    margin-bottom: 10px;
    font-size: 14px;
}

.product-meta-list li strong {
    width: 120px;
    color: var(--text-dark);
}

.product-meta-list li span {
    color: var(--text-medium);
}

.product-meta-list li .in-stock {
    color: var(--success-color);
}

.product-meta-list li .out-of-stock {
    color: var(--danger-color);
}

.product-detail-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.product-detail-actions .btn-whatsapp {
    flex: 1;
    padding: 15px 30px;
    font-size: 16px;
}

.product-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.product-share span {
    font-weight: 600;
}

.product-share a {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-share a:hover {
    background: var(--primary-color);
    color: white;
}

/* Product Tabs */
.product-tabs {
    margin-top: 60px;
}

.tab-nav {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-nav button {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-nav button.active {
    color: var(--primary-color);
}

.tab-nav button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    margin-bottom: 15px;
}

.tab-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ===== Categories Page ===== */
.categories-page {
    padding: 60px 0;
}

.categories-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card-large {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.category-card-image {
    height: 200px;
    overflow: hidden;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card-large:hover .category-card-image img {
    transform: scale(1.1);
}

.category-card-content {
    padding: 25px;
}

.category-card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.category-card-content p {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 15px;
}

.category-card-content .btn {
    width: 100%;
}

/* ===== Contact Page ===== */
.contact-page {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-info > p {
    color: var(--text-medium);
    margin-bottom: 30px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-info-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-info-item p {
    color: var(--text-medium);
    font-size: 14px;
}

.contact-social h4 {
    margin-bottom: 15px;
}

.contact-social-links {
    display: flex;
    gap: 10px;
}

.contact-social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.contact-social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h3 {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== About Page ===== */
.about-page {
    padding: 60px 0;
}

.about-mission {
    background: white;
    padding: 60px;
    border-radius: var(--radius-lg);
    margin-bottom: 60px;
    box-shadow: var(--shadow-sm);
}

.about-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mission-item {
    text-align: center;
}

.mission-item i {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--primary-color);
}

.mission-item h3 {
    margin-bottom: 10px;
}

.mission-item p {
    color: var(--text-medium);
    font-size: 14px;
}

.team-section {
    margin-top: 60px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.team-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card-content {
    padding: 20px;
    text-align: center;
}

.team-card-content h4 {
    margin-bottom: 5px;
}

.team-card-content p {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary-color);
    color: white;
}

/* ===== Services Page ===== */
.services-page {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-medium);
    font-size: 14px;
    margin-bottom: 20px;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-row {
        grid-template-columns: 1fr;
    }
    
    .product-row .product-card-large {
        grid-template-columns: 1fr;
    }
    
    .product-row .product-image-large {
        min-height: 250px;
    }
    
    .product-row:nth-child(even) .product-card-large {
        direction: ltr;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-text h2 {
        font-size: 36px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-mission-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .mega-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .search-bar {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .main-nav {
        display: none;
    }
    
    .top-bar-left {
        display: none;
    }
    
    .top-bar-right {
        margin: 0 auto;
    }
    
    .hero-section {
        height: 400px;
    }
    
    .hero-text h2 {
        font-size: 28px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .newsletter-form input {
        flex: 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .categories-grid-large {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .products-toolbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-detail-actions {
        flex-direction: column;
    }
    
    .tab-nav {
        flex-wrap: wrap;
    }
    
    .tab-nav button {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 16px;
    }
    
    .logo-text span {
        font-size: 9px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .hero-text h2 {
        font-size: 24px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .about-mission {
        padding: 30px;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 14px;
        bottom: 20px;
        right: 80px;
    }
}

/* ==========================================================================
   Header / footer refinements (mobile safety net)
   ========================================================================== */
.top-bar-content{flex-wrap:wrap;row-gap:4px}
.nav-menu{list-style:none;margin:0;padding:0}
.mobile-nav-menu,.footer-links{list-style:none;margin:0;padding:0}
.header-main{gap:14px}
.logo-text,.footer-logo span{min-width:0;overflow-wrap:anywhere}
.footer-grid{gap:28px}
@media (max-width: 992px){
  .main-nav{display:none}
  .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center}
}
@media (max-width: 768px){
  .top-bar-content{justify-content:center;text-align:center}
  .top-bar-left{flex-wrap:wrap;justify-content:center;gap:10px}
  .header-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;row-gap:12px}
  .header-search{grid-column:1/-1;order:3;width:100%}
  .header-actions{justify-self:end;gap:12px}
  .logo-text h1,.logo-text .site-name{font-size:16px;line-height:1.2}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 520px){
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom-content{flex-direction:column;gap:8px;text-align:center}
  .newsletter-form{flex-direction:column}
  .newsletter-form input,.newsletter-form button{width:100%}
}
