/* --- Elite Theme Variables --- */
:root {
    /* Palette: 'Modern Premium' */
    --primary: #e11d48;
    /* Luxury Red */
    --primary-light: #fb7185;
    /* Soft Coral */
    --primary-dark: #be123c;
    /* Deep Crimson */

    --accent: #D4A373;
    /* Muted Gold */
    --accent-light: #F3E9DC;
    /* Cream Gold */

    --text-main: #2b2b2b;
    /* Soft Black */
    --text-heading: #0f172a;
    /* Slate/Ink for headers */
    --text-muted: #64748b;

    --bg-body: #f8fafc;
    /* Ghost White */
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.75);

    --border: #e2e8f0;
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(10px);

    /* Shadows: Layered & Modern */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    --radius-sm: 6px;
    --radius: 12px;
    /* Elegant rounded corners */
    --radius-full: 9999px;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-4: 1rem;
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.rounded-4 {
    border-radius: var(--radius-4) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    /* Crisp text */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    font-size: 0.9375rem;
    /* 15px */
    font-weight: 400;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Elegant Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    margin: 0 0 1rem 0;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

h1 {
    font-size: 1.85rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.6rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.35rem;
}

h4 {
    font-size: 1.15rem;
}

h5,
h6 {
    font-size: 1rem;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1140px;
    /* Slightly tighter container */
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Global Utilities --- */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

/* --- Modern Product Cards --- */
.product-card {
    background: white;
    border-radius: var(--radius);
    padding: 15px;
    border: 1px solid transparent;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    border-color: var(--accent-light);
}

.p-img-box {
    height: 240px;
    /* Taller image area */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}

.p-img-box img {
    transition: transform 0.5s ease;
    mix-blend-mode: multiply;
    /* Better blending if standard white bg */
}

.product-card:hover .p-img-box img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.product-card h3 a {
    color: var(--text-main);
}

.product-card h3 a:hover {
    color: var(--primary);
}

.p-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-bottom: 12px;
}

.btn-add {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius-full);
    /* Pill Shape */
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.2);
}

/* --- Global Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.btn-warning {
    background: var(--accent);
    color: white;
}

.btn-warning:hover {
    background: #c59363;
    /* Darker Gold */
}

/* --- Header --- */
.header-top {
    background: var(--primary-dark);
    /* Dark Green */
    color: rgba(255, 255, 255, 0.85);
    /* Off-white text */
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-top a {
    color: inherit;
    font-size: 0.8rem;
    font-weight: 500;
}

.header-top a:hover {
    color: var(--accent);
}

.header-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-tabs {
    display: flex;
    gap: 1.5rem;
}

/* Main Header */
.top-header {
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--accent);
    /* Thin Gold Line */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.03em;
}

/* Search Bar */
.search-wrapper {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-wrapper input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    padding-right: 3.5rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-full);
    background: #fff;
    font-size: 0.9rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: var(--transition);
}

.search-wrapper input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.15);
    /* Gold Glow */
    outline: none;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 36px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.9rem;
    position: relative;
    cursor: pointer;
}

.action-btn i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
}

.action-btn:hover i {
    color: var(--accent);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -5px;
    left: 18px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    height: 16px;
    min-width: 16px;
    padding: 0 4px;
    border-radius: 99px;
    display: grid;
    place-items: center;
}

/* Navigation */
.main-nav {
    background: white;
    border-bottom: 1px solid var(--border);
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    height: 46px;
}

.nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

.nav-link i {
    color: #94a3b8;
    font-size: 0.9rem;
}

.nav-link:hover i {
    color: var(--primary);
}

.link-premium {
    color: var(--primary);
}

.link-premium i {
    color: var(--accent);
}

/* --- Footer --- */
footer {
    background: var(--primary-dark);
    /* Night Green */
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    border-top: 4px solid var(--accent);
}

.f-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.f-links a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.f-links a:hover {
    color: white;
    padding-left: 5px;
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
    .header-inner {
        gap: 1.5rem;
    }

    .container {
        padding: 0 1rem;
        /* Reduce padding on smaller screens */
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-banners {
        display: none;
    }

    .panel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .header-inner {
        padding: 1rem 0;
    }

    .search-wrapper {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .action-btn span:not(.cart-badge) {
        display: none;
    }

    .main-nav {
        position: fixed;
        left: -100%;
        top: 0;
        width: 280px;
        height: 100%;
        background: white;
        z-index: 2000;
        transition: 0.3s;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
        padding-top: 2rem;
    }

    .main-nav.active {
        left: 0;
    }

    .nav-flex {
        flex-direction: column;
        height: auto;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-link {
        width: 100%;
        padding: 15px 1.5rem;
        border-bottom: 1px solid var(--border);
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .header-actions {
        gap: 0.8rem;
    }

    .hero-slider {
        padding: 0 1rem;
        min-height: 250px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .p-img-box {
        height: 140px;
    }

    .p-actions {
        flex-direction: column;
    }

    .btn-add {
        font-size: 0.85rem;
        padding: 10px;
    }

    .fav-btn {
        width: 100%;
        height: 40px;
    }
}

/* --- Side Cart Drawer --- */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2001;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.drawer-header {
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* --- Cart Success Modal --- */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-modal {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cart-modal-overlay.active .cart-modal {
    transform: scale(1);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.modal-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- Premium Product Detail --- */
.product-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin: 3rem 0;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 120px;
}

.gallery-main {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.gallery-main img {
    max-width: 100%;
    height: auto;
    transition: var(--transition);
}

.gallery-main:hover img {
    transform: scale(1.05);
}

.product-info-premium {
    padding: 10px;
}

.p-category-label {
    display: inline-block;
    color: var(--primary);
    background: var(--accent-light);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.premium-p-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.1;
    margin-bottom: 15px;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.stars {
    color: #ffc107;
    font-size: 1rem;
}

.review-count {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.premium-p-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.p-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.meta-item {
    background: white;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-item i {
    font-size: 1.2rem;
    color: var(--primary);
}

.meta-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.meta-item strong {
    color: var(--secondary);
}

/* Tabs */
.product-tabs {
    margin-top: 5rem;
}

.tab-nav {
    display: flex;
    gap: 40px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 15px 5px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.review-stat-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
}

.big-rating {
    font-size: 4rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.review-item {
    background: white;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 700;
    color: var(--secondary);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Filter Sidebar & Layout --- */
.category-page-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin: 3rem 0;
}

.filter-sidebar {
    position: sticky;
    top: 100px;
}

.filter-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-list {
    list-style: none;
    padding: 0;
}

.filter-item {
    margin-bottom: 12px;
}

.filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    padding: 8px 12px;
    border-radius: 10px;
}

.filter-link:hover,
.filter-link.active {
    background: var(--accent-light);
    color: var(--primary);
    transform: translateX(5px);
}

.sort-select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: white;
    font-family: inherit;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    outline: none;
}

/* --- Product Card Enhancements --- */
.p-img-box {
    position: relative;
    padding-bottom: 100%;
    /* Square ratio */
    overflow: hidden;
    border-radius: 15px;
    background: #f8fafc;
}

.p-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Professional look for products */
    padding: 15px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .p-img-box img {
    transform: scale(1.1);
}

.fav-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    color: #cbd5e1;
}

.fav-btn:hover {
    transform: scale(1.1);
    color: #ef4444;
}

.fav-btn.active {
    color: #ef4444;
}

/* --- Image Loader Animation --- */
.img-loading {
    filter: blur(10px);
    opacity: 0;
    transition: filter 0.5s ease, opacity 0.5s ease;
}

.img-loaded {
    filter: blur(0);
    opacity: 1;
}

/* Skeleton Effect */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #f8fafc 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 992px) {
    .category-page-layout {
        grid-template-columns: 1fr;
    }
}

/* --- REBRANDING: HediyelikÇay --- */
:root {
    --primary: #cd202b;
    /* Red for rebranding */
    --primary-light: #fff1f2;
    --secondary: #1a1a1a;
    /* True Charcoal for Elitist contrast */
    --accent: #c5a059;
    /* Muted Gold for Premium touches */
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
    transition: var(--transition-medium);
}

.logo:hover img {
    transform: scale(1.03);
}

/* --- PREMIUM PRODUCT ANIMATIONS (Slow & Luxurious) --- */
.product-card {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.p-img-box img {
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.product-card:hover .p-img-box img {
    transform: scale(1.08);
}

/* --- ELITIST QUALITY BADGES (Quick Features) --- */
.premium-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 4rem 0;
}

.feature-pill {
    background: white;
    padding: 35px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.5s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-pill:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-8px);
}

.feature-icon-box {
    width: 65px;
    height: 65px;
    background: var(--primary);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    box-shadow: 0 10px 15px -3px rgba(45, 90, 39, 0.3);
}

.feature-pill h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
}

.feature-pill p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
}

/* --- SEO PREMIUM FOOTER --- */
.premium-footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 100px 0 50px;
    margin-top: 8rem;
    position: relative;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
}

.footer-brand .logo-footer {
    max-height: 70px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 30px;
}

.footer-title {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(8px);
}

.footer-links a i {
    font-size: 0.8rem;
}

.footer-meta {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    margin-top: 80px;
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.seo-tag {
    font-size: 0.75rem;
    color: #475569;
    background: #1e293b;
    padding: 4px 12px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.seo-tag:hover {
    background: var(--accent);
    color: var(--secondary);
}

/* --- MEGA MENU & PREMIUM NAV --- */
/* --- PREMIUM NAV STYLING --- */
.nav-flex {
    justify-content: space-between !important;
    align-items: center;
}

.nav-links-left,
.nav-links-right {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Slightly looser */
}

.nav-links-right li {
    margin-left: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 50px;
    /* Pill shape for modern look */
    font-weight: 600;
    color: var(--secondary);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.nav-link:hover {
    background: #f8fafc;
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-link:hover i {
    transform: scale(1.15) rotate(5deg);
}

/* Category Specifics */
.category-link i {
    color: #64748b;
    /* Neutral start */
}

.category-link:hover i {
    color: var(--primary);
    /* Green on hover */
}

/* Premium Right Links */
.link-premium {
    font-weight: 700 !important;
    border: 1px solid transparent;
}

/* Kampanyalar - Energetic */
.campaign-link i {
    color: #f59e0b;
}

.campaign-link:hover {
    background: #fffbeb;
    color: #b45309;
    border-color: #fcd34d;
}

/* Ayın Ürünleri - Royal */
.featured-link i {
    color: #8b5cf6;
}

.featured-link:hover {
    background: #f5f3ff;
    color: #7c3aed;
    border-color: #ddd6fe;
}

/* Hemen Al - Action */
.quick-link i {
    color: #0ea5e9;
}

.quick-link:hover {
    background: #f0f9ff;
    color: #0284c7;
    border-color: #bae6fd;
}

.nav-links li,
.nav-links-left li,
.nav-links-right li {
    position: relative;
    display: inline-block;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 600px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 5000;
}

.has-mega:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.quick-mega {
    width: 500px;
}

.mega-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Featured Grid (Ayın Ürünleri) */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.featured-item-mini {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}

.featured-item-mini:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.f-img {
    height: 120px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.f-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.f-info {
    padding: 15px;
    text-align: center;
}

.f-info h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--secondary);
}

.f-price {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.f-buy-btn {
    display: block;
    background: var(--accent-light);
    color: var(--primary);
    padding: 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.f-buy-btn:hover {
    background: var(--primary);
    color: white;
}

/* Quick Grid (Hemen Al) */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.quick-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.quick-box .q-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.quick-box .q-text {
    flex: 1;
}

.quick-box .q-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.quick-box .q-text span {
    font-size: 0.8rem;
    color: #64748b;
}

.q-arrow {
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.quick-box:hover .q-arrow {
    opacity: 0.3;
    transform: translateX(0);
}

/* Color Variants */
.q-fav {
    background: #fff1f2;
    color: #be123c;
}

.q-fav:hover {
    border-color: #fca5a5;
}

.q-fav .q-icon {
    background: #ffe4e6;
}

.q-last {
    background: #f0f9ff;
    color: #0369a1;
}

.q-last:hover {
    border-color: #bae6fd;
}

.q-last .q-icon {
    background: #e0f2fe;
}

.q-orders {
    background: #f0fdf4;
    color: #15803d;
}

.q-orders:hover {
    border-color: #bbf7d0;
}

.q-orders .q-icon {
    background: #dcfce7;
}

.q-track {
    background: #faf5ff;
    color: #7e22ce;
}

.q-track:hover {
    border-color: #e9d5ff;
}

.q-track .q-icon {
    background: #f3e8ff;
}

.link-highlight {
    font-weight: 700 !important;
    color: var(--secondary) !important;
}

.link-highlight img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .mega-dropdown {
        display: none !important;
    }
}

/* --- CUSTOM PREMIUM SELECT --- */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 260px;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-select__trigger {
    position: relative;

    /* --- Modern Product Cards --- */
    .product-card-modern {
        background: #fdfdfd;
        border: 1px solid rgba(0, 0, 0, 0.04) !important;
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    }

    .product-card-modern:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-hover) !important;
        background: #ffffff;
        border-color: rgba(225, 29, 72, 0.1) !important;
        /* Subtle Luxury Red tint */
    }

    .product-img-wrapper {
        background-color: #f8fafc;
        /* Subtle slate tint for image area */
        position: relative;
        overflow: hidden;
    }

    .badge-modern {
        font-size: 0.65rem;
        font-weight: 700;
        padding: 0.4em 0.8em;
        border-radius: 6px;
        letter-spacing: 0.05em;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .badge-discount {
        background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
        color: white;
    }

    .badge-new {
        background: #0f172a;
        color: white;
    }

    .price-modern {
        color: var(--primary);
        font-weight: 800;
        letter-spacing: -0.01em;
    }

    .card-title-modern {
        font-weight: 600;
        color: var(--text-heading);
        transition: color 0.3s ease;
        line-height: 1.4;
    }

    .product-card-modern:hover .card-title-modern {
        color: var(--primary);
    }

    .btn-action-floating {
        background: white;
        border: none;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .btn-action-floating:hover {
        background: var(--primary);
        color: white !important;
        transform: scale(1.1);
    }

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 0.95rem;

    /* --- Brand Theme Extensions (Red/Black) --- */
    .text-orange {
        color: #cd202b !important;
    }

    .bg-orange {
        background-color: #cd202b !important;
    }

    .btn-orange {
        background-color: #cd202b;
        color: white;
        border: none;
        transition: all 0.3s ease;
    }

    .btn-orange:hover {
        background-color: #000000;
        /* Black hover as requested */
        color: white;
        box-shadow: 0 4px 12px rgba(205, 32, 43, 0.3);
    }

    .hov-orange:hover {
        color: #cd202b !important;
    }

    /* --- New Product Card Design --- */
    .product-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
        border-color: #cd202b !important;
    }

    .favorite-btn:hover i {
        color: #cd202b !important;
    }

    /* Update Primary Color to Red globally if desired, or just these specific elements */
    :root {
        --primary-color: #cd202b;
        --primary-hover: #a81a23;
        --secondary-color: #000000;
        --accent: #000000;
    }

    font-weight: 600;
    color: var(--secondary);
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select__trigger:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.custom-select.open .custom-select__trigger {
    border-color: var(--primary);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-radius: 20px 20px 0 0;
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    z-index: 100;
    overflow: hidden;
    padding: 8px;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    position: relative;
    display: block;
    padding: 10px 15px;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 12px;
}

.custom-option:hover {
    background-color: #f1f5f9;
    color: var(--secondary);
    padding-left: 20px;
}

.custom-option.selected {
    color: var(--primary);
    font-weight: 700;
    background-color: #f0fdf4;
}

/* Arrow Animation */
.arrow {
    position: relative;
    height: 10px;
    width: 10px;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 2px;
    height: 100%;
    transition: all 0.3s;
}

.arrow::before {
    left: -3px;
    transform: rotate(45deg);
    background-color: #94a3b8;
}

.arrow::after {
    left: 3px;
    transform: rotate(-45deg);
    background-color: #94a3b8;
}

.custom-select.open .arrow::before {
    left: -3px;
    transform: rotate(-45deg);
}

.custom-select.open .arrow::after {
    left: 3px;
    transform: rotate(45deg);
}

/* --- PREMIUM FEATURES SECTION (BOTTOM) --- */
.premium-features-section {
    background: #fff;
    padding: 60px 0;
    margin-top: 60px;
    border-top: 1px solid #f1f5f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-card .f-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #f1f5f9;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .f-icon {
    background: var(--primary);
    color: white;
}

.feature-card .f-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.feature-card .f-content p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SOLID DARK FOOTER --- */
.solid-footer {
    background: var(--secondary);
    color: #e2e8f0;
    padding: 80px 0 30px;
    font-family: 'Inter', sans-serif;
    margin-top: 0;
    /* Since features section separates it */
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 25px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: white;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-desc {
        margin: 0 auto 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* --- MOBILE MENU STYLES --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(2px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-menu-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--secondary);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-menu-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

/* Mobile User Info */
.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.m-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.m-user-details {
    display: flex;
    flex-direction: column;
}

.m-welcome {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.m-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

.mobile-user-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.mobile-user-actions a {
    flex: 1;
    text-align: center;
    padding: 8px;
    background: #f8fafc;
    border-radius: 8px;
    color: var(--secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.mobile-login-btn {
    display: block;
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Mobile Links */
.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 5px;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s;
}

.mobile-nav-links a:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.mobile-nav-links a i {
    width: 24px;
    text-align: center;
    color: #94a3b8;
}

.mobile-logout-wrapper {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.mobile-logout-btn {
    display: block;
    text-align: center;
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
}

/* --- RESPONSIVE QUERIES --- */
@media (max-width: 992px) {

    .header-top,
    .main-nav {
        display: none !important;
    }

    .mobile-nav-toggle {
        display: block !important;
    }

    .header-actions .action-btn span {
        display: none;
        /* Hide text near icons on tablet */
    }

    .header-actions {
        gap: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .logo img {
        height: 35px;
    }

    .search-wrapper {
        display: none;
        /* Consider hiding search or making it toggleable */
    }

    .product-grid {
        grid-template-columns: 1fr;
        /* Single column products */
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-slider {
        margin-right: -15px;
        /* Full width slider */
        margin-left: -15px;
        border-radius: 0;
    }

    .hero-content {
        position: relative;
        padding: 30px 15px;
        text-align: center;
        background: linear-gradient(135deg, #fdfbf7 0%, #fff 100%);
        width: 100%;
        max-width: 100%;
    }

    .hero-img {
        display: none;
        /* Hide hero image on mobile to focus on text */
    }

    .premium-features-section {
        padding: 40px 0;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .feature-card .f-icon {
        margin: 0 auto 15px;
    }
}

/* --- Orange Theme Extensions --- */
.text-orange {
    color: #ff6000 !important;
}

.bg-orange {
    background-color: #ff6000 !important;
}

.btn-orange {
    background-color: #ff6000;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background-color: #e65600;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 96, 0, 0.2);
}

.hov-orange:hover {
    color: #ff6000 !important;
}

/* --- Product Card Design --- */
.product-card-modern {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.shadow-hover:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-5px);
}

.hover-zoom {
    transition: transform 0.5s ease;
}

.product-card-modern:hover .hover-zoom {
    transform: scale(1.08);
}

.product-card-modern:hover .product-actions {
    opacity: 1 !important;
}

.product-title-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.6em;
    /* Ensure consistent height for alignment */
    font-size: 0.9rem;
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
    cursor: pointer;
}

.hover-primary-text:hover {
    color: var(--primary) !important;
}

.hover-bg-primary:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

/* --- Cart & Checkout Enhancements --- */
.qty-selector-pill {
    display: inline-flex !important;
    align-items: center !important;
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 50px !important;
    overflow: hidden !important;
    padding: 2px !important;
    width: auto !important;
}

.qty-selector-pill .btn {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: white !important;
    color: var(--text-main) !important;
    border-radius: 50% !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    transition: var(--transition) !important;
}

.qty-selector-pill .btn:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: scale(1.05) !important;
}

.qty-selector-pill .form-control {
    width: 35px !important;
    border: none !important;
    background: transparent !important;
    text-align: center !important;
    font-weight: 700 !important;
    padding: 0 !important;
    color: var(--text-heading) !important;
    box-shadow: none !important;
    user-select: none !important;
}

/* --- Skeleton Loader --- */
.skeleton-wrapper {
    position: relative;
    overflow: hidden;
}

.skeleton-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f1f5f9;
    /* Base gray */
    z-index: 5;
    transition: opacity 0.5s ease-out;
    border-radius: inherit;
    pointer-events: none;
}

.skeleton-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.skeleton-wrapper.loaded .skeleton-overlay {
    opacity: 0;
    visibility: hidden;
}