/* ================================================
   KEFA STUDIO - MODERN DIGITAL GIFT PLATFORM
   Complete CSS Reset & Modern Design System
   ================================================ */

/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== ROOT VARIABLES ===== */
:root {
    /* Kefa Studio Purple Palette */
    --primary: #9c84cc;
    --primary-light: #b399d4;
    --primary-dark: #7d69a8;
    --primary-gradient: linear-gradient(135deg, #b399d4 0%, #9c84cc 100%);

    /* Neutrals */
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;

    /* Semantic Colors */
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --info: #2196f3;

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(156, 132, 204, 0.1);
    --shadow-lg: 0 8px 24px rgba(156, 132, 204, 0.15);
    --shadow-xl: 0 16px 48px rgba(156, 132, 204, 0.2);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ===== BASE STYLES ===== */
html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', var(--font-sans);
    background: var(--white);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', var(--font-sans);
    font-weight: 700;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== HEADER ===== */
.top-bar {
    background: var(--primary-gradient);
    padding: var(--space-sm) 0;
    font-size: 0.875rem;
    color: var(--white);
}

.top-bar-right {
    text-align: right;
}

.top-bar-right a {
    color: var(--white);
    margin-left: var(--space-md);
    opacity: 0.9;
}

.top-bar-right a:hover {
    opacity: 1;
}

.main-header {
    background: var(--white);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: var(--shadow-sm);
}

/* Adjust top position when announcement bar is present */
.announcement-bar~.main-header {
    top: 40px;
    /* Adjust based on announcement bar height */
}

.logo {
    max-width: 180px;
}

.logo img {
    max-height: 42px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header Navigation */
.header-nav {
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-xs);
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu>li>a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--gray-800);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.nav-menu>li>a:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.nav-menu li.dropdown>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu li.dropdown>a i {
    font-size: 0.75rem;
    transition: transform var(--transition-base);
}

.nav-menu li.dropdown:hover>a i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    padding: var(--space-sm);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 100;
    border: 1px solid var(--gray-100);
}

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

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
}

.dropdown-menu li a:hover {
    background: var(--gray-50);
    color: var(--primary);
    padding-left: 1.25rem;
}

/* Header Right Side */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-md);
}

.search-bar {
    flex: 1;
    max-width: 300px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.6rem 1.25rem;
    padding-right: 3rem;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    outline: none;
    transition: var(--transition-base);
    background: var(--gray-50);
}

.search-input-wrapper input:focus {
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.search-input-wrapper button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.cart-link,
.user-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: 50%;
    position: relative;
    transition: var(--transition-base);
}

.cart-link:hover,
.user-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-dark);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

/* Main Nav removed as it's now integrated into the header */
.main-nav {
    display: none;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--primary-gradient);
    padding: var(--space-3xl) 0;
    text-align: center;
    color: var(--white);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    margin-bottom: var(--space-2xl);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ===== CATEGORY FILTERS ===== */
.category-filters-section {
    margin-bottom: var(--space-2xl);
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.875rem 2rem;
    background: var(--white);
    color: var(--gray-600);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

/* ===== PRODUCT SECTIONS ===== */
.products-section {
    padding: var(--space-2xl) 0;
}

.products-section.bg-light {
    background: var(--gray-50);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

/* ===== PRODUCT CARD ===== */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    position: relative;
}

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

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

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

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

.product-favorite {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
}

.product-favorite:hover {
    background: var(--white);
    transform: scale(1.1);
}

.product-favorite i {
    color: var(--gray-400);
    font-size: 1.125rem;
    transition: var(--transition-base);
}

.product-favorite:hover i,
.product-favorite.active i {
    color: var(--primary);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-md);
}

.product-info {
    padding: var(--space-lg);
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition-base);
}

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

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.old-price {
    font-size: 1rem;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-right: var(--space-sm);
    font-weight: 400;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-sm);
}

.btn-add-cart {
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-quick-view {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.btn-quick-view:hover {
    background: var(--primary-light);
    color: var(--white);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

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

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

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: var(--space-3xl) 0;
    background: var(--gray-50);
}

.feature-box {
    text-align: center;
    padding: var(--space-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 1.5rem;
}

.feature-box h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.feature-box p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ===== FOOTER ===== */
.newsletter {
    background: var(--primary-gradient);
    padding: var(--space-3xl) 0;
    color: var(--white);
}

.newsletter h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.newsletter p {
    opacity: 0.95;
    margin-bottom: var(--space-xl);
}

.newsletter-form .input-group {
    display: flex;
    gap: var(--space-sm);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-base);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.main-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-widget h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

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

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition-base);
}

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

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    color: var(--gray-400);
    border-radius: 50%;
    margin-right: var(--space-sm);
    transition: var(--transition-base);
}

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

.copyright {
    background: var(--black);
    padding: var(--space-lg) 0;
    text-align: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-base);
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.whatsapp-button a {
    color: var(--white);
    font-size: 2rem;
    display: flex;
}

/* ===== COMPREHENSIVE FIX FOR BUTTON LAYOUT & VISIBILITY ===== */
.product-actions {
    display: flex !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-bottom: 20px !important;
}

.product-actions .btn,
.product-actions button,
.product-actions a.btn {
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Quantity Selector Layout */
.quantity-selector {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid #e9ecef;
    height: 54px;
    /* Match button height */
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--gray-900);
    outline: none;
}

.btn-qty-minus,
.btn-qty-plus {
    width: 36px;
    height: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.2s;
    cursor: pointer;
}

.btn-qty-minus:hover,
.btn-qty-plus:hover {
    color: var(--primary);
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

/* Add to Cart Button Fix */
.btn-add-to-cart,
.product-actions .btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 0 30px !important;
    height: 54px !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    min-width: 180px !important;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.btn-add-to-cart:hover,
.product-actions .btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2c3e50 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4) !important;
    color: #fff !important;
}

/* WhatsApp Button Fix */
.btn-whatsapp-order,
.product-actions .btn-success {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 0 30px !important;
    height: 54px !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    min-width: 200px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
    cursor: pointer !important;
}

.btn-whatsapp-order:hover,
.product-actions .btn-success:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    color: #fff !important;
}

/* Big WhatsApp Button (Ecommerce Mode Passive) */
.btn-whatsapp-order-big {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #ffffff !important;
    padding: 18px 30px !important;
    border-radius: 12px !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2) !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer !important;
}

.btn-whatsapp-order-big:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4) !important;
    color: #ffffff !important;
}

.btn-whatsapp-order-big i {
    font-size: 1.8rem !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
}

.whatsapp-info-box {
    margin-top: 15px;
    padding: 12px;
    background: rgba(37, 211, 102, 0.05);
    border: 1px dashed #25D366;
    border-radius: 8px;
    color: #128C7E;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.whatsapp-only-container {
    width: 100%;
    margin-top: 10px;
}

/* Wishlist Button Fix */
.btn-add-to-wishlist,
.product-actions .btn-outline-secondary {
    width: 54px !important;
    height: 54px !important;
    padding: 0 !important;
    border: 2px solid #e9ecef !important;
    background: #fff !important;
    color: #6c757d !important;
    border-radius: 8px !important;
    transition: all 0.3s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-add-to-wishlist:hover,
.product-actions .btn-outline-secondary:hover {
    border-color: #3498db !important;
    color: #3498db !important;
    background: #f8f9fa !important;
}

.btn-add-to-wishlist i,
.product-actions .btn-outline-secondary i {
    font-size: 1.2rem !important;
}

@media (max-width: 768px) {
    .product-actions {
        column-gap: 10px;
        row-gap: 15px;
    }

    .quantity-selector {
        width: 30% !important;
        min-width: 100px;
    }

    .btn-add-to-cart,
    .product-actions .btn-primary {
        width: 68% !important;
        /* Fill remaining space next to qty */
        flex: 1;
        min-width: auto !important;
    }

    .btn-whatsapp-order,
    .product-actions .btn-success {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .btn-add-to-wishlist {
        display: none !important;
        /* Hide wishlist on mobile to save space if needed, or put inline */
    }
}

.btn-add-to-cart:disabled {
    background: #bdc3c7 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

.btn-whatsapp-order i {
    font-size: 1.3rem !important;
}

.btn-whatsapp-large {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #fff !important;
    padding: 18px 40px !important;
    border-radius: 10px !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 15px !important;
}

.btn-whatsapp-large:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.btn-whatsapp-large i {
    font-size: 1.5rem !important;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: var(--space-2xl) 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--space-md);
    }

    .section-title h2 {
        font-size: 1.35rem;
    }

    .nav-menu {
        display: none;
    }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
    display: none;
    width: 36px;
    height: 36px;
    background: transparent;
    color: var(--gray-700);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-base);
    cursor: pointer;
}

.mobile-menu-toggle:hover {
    background: var(--gray-100);
    color: var(--primary);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Mobil Arama */
.mobile-search {
    padding: var(--space-md);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: var(--space-md);
}

.mobile-search form {
    display: flex;
    gap: var(--space-sm);
}

.mobile-search input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    outline: none;
    transition: var(--transition-base);
}

.mobile-search input:focus {
    border-color: var(--primary);
}

.mobile-search button {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    z-index: 1002;
    transition: right var(--transition-slow);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 80px 20px 20px;
}

.mobile-nav-menu {
    list-style: none;
}

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

.mobile-nav-menu a {
    display: block;
    padding: var(--space-md) 0;
    color: var(--gray-700);
    font-weight: 500;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    overflow: hidden;
    z-index: 100;
}

.user-dropdown-menu.active {
    display: block;
}

.user-dropdown-menu .dropdown-item {
    display: block;
    padding: var(--space-md) var(--space-lg);
    color: var(--gray-700);
    transition: var(--transition-base);
    border-bottom: 1px solid var(--gray-100);
}

.user-dropdown-menu .dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.message-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    padding: var(--space-md);
    border-bottom: 1px solid var(--gray-100);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-3,
.col-lg-6,
.col-md-6 {
    padding: 0 15px;
}

.col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (max-width: 992px) {

    .col-lg-3,
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {

    .col-lg-3,
    .col-lg-6,
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.align-items-center {
    align-items: center;
}

/* ===== ADDITIONAL ENHANCEMENTS ===== */

/* Better Header Layout */
.main-header .container {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.main-header .row {
    width: 100%;
    align-items: center;
}

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

/* Category Badge Improvements */
.category-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

/* Product Card Enhancements */
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: transparent;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-base);
}

.product-card:hover::before {
    background: var(--primary-gradient);
    opacity: 0.3;
}

/* Better spacing for product info */
.product-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-actions {
    margin-top: auto;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.5s ease forwards;
}

.product-card:nth-child(1) {
    animation-delay: 0.05s;
}

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

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

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

/* Improved Typography */
.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
}

/* Better Button Hover States */
.btn-add-cart i,
.btn-quick-view i {
    transition: var(--transition-base);
}

.btn-add-cart:hover i {
    transform: scale(1.1);
}

.btn-quick-view:hover i {
    transform: rotateY(180deg);
}

/* Improved Hero */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

/* Price Badge Enhancement */
.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

/* Responsive Header Improvements */
@media (max-width: 992px) {
    .main-header .container {
        flex-direction: column;
        gap: var(--space-md);
    }

    .search-bar {
        width: 100%;
        max-width: 100%;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Better Focus States */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Improved Category Filters */
.category-filters {
    padding: var(--space-md) 0;
}

.filter-btn {
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-base);
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 1;
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

/* Enhanced Newsletter */
.newsletter .container {
    position: relative;
    z-index: 1;
}

.newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Better Product Grid Spacing */
.products-section:first-of-type {
    padding-top: 0;
}

/* Improved Footer Widget Spacing */
.footer-widget {
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-widget {
        margin-bottom: 0;
    }
}

/* Better Mobile Navigation */
@media (max-width: 768px) {
    .header-actions {
        gap: var(--space-sm);
    }

    .cart-link {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .user-link {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

/* Skeleton Loading Effect (Optional) */
@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }

    100% {
        background-position: 468px 0;
    }
}

.loading-skeleton {
    animation: shimmer 1.5s infinite;
    background: linear-gradient(to right, var(--gray-200) 0%, var(--gray-100) 20%, var(--gray-200) 40%, var(--gray-200) 100%);
    background-size: 800px 104px;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {

    .whatsapp-button,
    .mobile-menu-toggle,
    .top-bar,
    .main-nav,
    .newsletter,
    .category-filters {
        display: none !important;
    }
}