@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --accent: #fbbf24;
    --accent-rgb: 251, 191, 36;
    /* Gold/Amber */
    --accent-hover: #f59e0b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 80px;
}

/* Light Theme Overrides for Content Pages */
body.light-theme {
    background-color: #ffffff !important;
}

body.light-theme main h1,
body.light-theme main h2,
body.light-theme main h3,
body.light-theme main h4,
body.light-theme main h5,
body.light-theme main .faq-question,
body.light-theme main .info-section h2,
body.light-theme main .mv-card h3,
body.light-theme main .about-text h2,
body.light-theme main .auth-container h1,
body.light-theme main .contact-info-card h2,
body.light-theme main .contact-info-card h4,
body.light-theme main .blog-detail-container h1 {
    color: #000000 !important;
}

body.light-theme main p,
body.light-theme main li,
body.light-theme main span,
body.light-theme main .faq-answer,
body.light-theme main .about-text p,
body.light-theme main .info-section p,
body.light-theme main .content-body,
body.light-theme main .text-secondary,
body.light-theme main .rich-text,
body.light-theme main .breadcrumb,
body.light-theme main .breadcrumb a {
    color: #000000 !important;
}

body.light-theme .glass,
body.light-theme .glass-card,
body.light-theme .info-section,
body.light-theme .faq-item,
body.light-theme .about-grid,
body.light-theme .contact-form-card,
body.light-theme .blog-card,
body.light-theme .featured-blog-card,
body.light-theme .auth-container {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
}

body.light-theme .form-control {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #000000 !important;
}

body.light-theme .form-group label {
    color: #000000 !important;
}

body.light-theme header {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.light-theme header .nav-link,
body.light-theme header .icon-btn span,
body.light-theme header .logo span {
    color: #000000 !important;
}

body.light-theme .header-search-row {
    background: rgba(248, 250, 252, 0.95) !important;
    border-top: 1px solid #e2e8f0 !important;
}

body.light-theme .search-wrapper {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
}

/* Fix for specific elements that would be invisible */
body.light-theme .about-hero h1 {
    color: #ffffff !important;
}

/* Keep hero text white as background image is dark */
body.light-theme .about-hero {
    background-color: #0f172a !important;
}

body.light-theme .post-featured-image {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

body.light-theme .sidebar-widget.glass {
    background: #f8fafc !important;
}

body.light-theme .sidebar-widget h4,
body.light-theme .sidebar-widget h5,
body.light-theme .blog-header h1 {
    color: #0f172a !important;
}

body.light-theme .blog-header p {
    color: #475569 !important;
}

body.light-theme .blog-header span {
    -webkit-text-fill-color: initial !important;
    background: none !important;
    color: var(--accent) !important;
}




/* Midnight Theme Overrides */
body.midnight-theme {
    background-color: #000000 !important;
}

body.midnight-theme main h1,
body.midnight-theme main h2,
body.midnight-theme main h3,
body.midnight-theme main h4,
body.midnight-theme main h5,
body.midnight-theme main .faq-question,
body.midnight-theme main .info-section h2,
body.midnight-theme main .mv-card h3,
body.midnight-theme main .about-text h2,
body.midnight-theme main .auth-container h1,
body.midnight-theme main .contact-info-card h2,
body.midnight-theme main .contact-info-card h4,
body.midnight-theme main .blog-detail-container h1 {
    color: #ffffff !important;
}

body.midnight-theme main p,
body.midnight-theme main li,
body.midnight-theme main span,
body.midnight-theme main .faq-answer,
body.midnight-theme main .about-text p,
body.midnight-theme main .info-section p,
body.midnight-theme main .content-body,
body.midnight-theme main .text-secondary,
body.midnight-theme main .rich-text,
body.midnight-theme main .breadcrumb,
body.midnight-theme main .breadcrumb a {
    color: #e2e8f0 !important;
}

body.midnight-theme .glass,
body.midnight-theme .glass-card,
body.midnight-theme .info-section,
body.midnight-theme .faq-item,
body.midnight-theme .about-grid,
body.midnight-theme .contact-form-card,
body.midnight-theme .blog-card,
body.midnight-theme .featured-blog-card,
body.midnight-theme .auth-container {
    background: #0a0a0a !important;
    border-color: #1e293b !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

body.midnight-theme .form-control {
    background: #111111 !important;
    border-color: #334155 !important;
    color: #ffffff !important;
}

body.midnight-theme .form-group label {
    color: #94a3b8 !important;
}

body.midnight-theme header {
    background: rgba(0, 0, 0, 0.95) !important;
    border-bottom: 1px solid #1e293b !important;
}

body.midnight-theme header .nav-link,
body.midnight-theme header .icon-btn span,
body.midnight-theme header .logo span {
    color: #ffffff !important;
}

body.midnight-theme .header-search-row {
    background: rgba(10, 10, 10, 0.9) !important;
    border-top: 1px solid #1e293b !important;
}

body.midnight-theme .search-wrapper {
    background: #050505 !important;
    border-color: #1e293b !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: rgba(15, 23, 42, 0.95);
    /* Solid background for visibility */
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    height: var(--header-height);
}

header.scrolled {
    padding: 1rem 5%;
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

nav a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.2)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
}

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

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.2);
}

/* Product Grid */
.section-title {
    text-align: center;
    margin: 4rem 0 3rem;
    font-size: 2.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 5% 5rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.product-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #1e293b;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
}

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

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

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.product-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Search Bar */
.search-container {
    max-width: 800px;
    margin: 4rem auto 6rem;
    /* Increased margin for better spacing */
    position: relative;
    z-index: 10;
    padding: 0 5%;
    /* Side padding for mobile */
}

.search-bar {
    width: 100%;
    padding: 1.2rem 2rem;
    border-radius: 50px;
    background: var(--search-bg-header) !important;
    border: 1px solid var(--border);
    color: var(--search-text-header) !important;
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
}

.search-bar:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
}

/* Category Bubbles */
.category-bubbles {
    padding: 2rem 0 0;
    /* Full width flow */
    margin-top: 6rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 20;
    width: 100%;
    overflow: hidden;
}

.category-bubbles-wrapper {
    overflow: hidden;
    width: 100%;
    display: flex;
}

.category-bubbles-scroll {
    display: inline-flex;
    /* Use inline-flex for marquee */
    gap: 2rem;
    padding: 15px 0 25px;
    /* Symmetrical vertical padding, no side padding */
    cursor: grab;
    user-select: none;
    will-change: transform;
}

.category-bubbles-scroll.auto-scroll {
    animation: marquee 120s linear infinite;
    /* Much slower as requested */
    width: max-content;
}

.category-bubbles-scroll:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.category-bubbles-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.category-bubble-item {
    flex: 0 0 auto;
    width: 180px;
    /* Increased to give more room */
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-bubble-item:hover {
    transform: translateY(-5px);
}

.category-bubble-img {
    width: var(--cat-size, 180px);
    height: var(--cat-size, 180px);
    flex-shrink: 0;
    background: var(--cat-bg, #ffffff);
    border: var(--cat-border, 10px) solid var(--cat-color, var(--accent));
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    aspect-ratio: 1 / 1;
}

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

/* Fallback for broken images */
.category-bubble-img img[src=""],
.category-bubble-img img:not([src]) {
    display: none;
}

.category-bubble-img:empty,
.category-bubble-img:has(img[style*="display: none"]) {
    background: linear-gradient(135deg, var(--bg-card), var(--glass));
}

.category-bubble-item:hover .category-bubble-img {
    border-color: var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    transform: scale(0.95);
    z-index: 10;
}

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

.category-bubble-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 1rem 5%;
    margin-top: 1rem;
    /* Space for fixed header */
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs span {
    margin: 0 0.5rem;
}

/* Product Detail Page */
.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 2rem 5% 5rem;
    align-items: start;
}

@media (max-width: 968px) {
    .product-container {
        grid-template-columns: 1fr;
    }
}

.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--bg-card);
    border-radius: 30px;
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thumbnails {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 1px solid var(--border);
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
}

.thumbnail.active {
    border-color: var(--accent);
}

.product-details h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-sku {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: block;
}

.price-card {
    background: var(--glass);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.price-card .current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
}

.price-card .vat-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table td {
    padding: 1rem 0;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text-secondary);
    width: 40%;
}

/* Installment Table Specific Styles */
#content-payment .specs-table th {
    text-align: left;
    padding: 1rem 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#content-payment .specs-table th:nth-child(1) {
    color: var(--accent);
}

#content-payment .specs-table th:nth-child(2) {
    color: #34d399;
}

/* Greenish */
#content-payment .specs-table th:nth-child(3) {
    color: #818cf8;
}

/* Indigo */

#content-payment .specs-table td {
    text-align: left;
    padding: 1rem 0;
}

#content-payment .specs-table td:first-child,
#content-payment .specs-table th:first-child {
    width: 30%;
    /* Balanced width */
}

#content-payment .specs-table td:last-child,
#content-payment .specs-table th:last-child {
    width: auto;
}

.description-box {
    margin-top: 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-secondary:hover {
    background: rgba(251, 191, 36, 0.1);
}

/* Auth Pages */
.auth-container {
    max-width: 450px;
    margin: 14rem auto 5rem;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 30px;
    border: 1px solid var(--border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #86efac;
}

/* Footer (existing) */
footer {
    background: #020617;
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

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

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

/* Flash Deal Styling */
.flash-deals-section {
    padding: 3rem 5%;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
    border-radius: 40px;
    margin-left: 2%;
    margin-right: 2%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.flash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.flash-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.flash-title-group h2 {
    font-size: 2rem;
    margin: 0;
}

.flash-badge {
    background: #ef4444;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.countdown-timer {
    display: flex;
    gap: 1rem;
}

.timer-unit {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 15px;
    text-align: center;
    min-width: 65px;
}

.timer-unit .val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.timer-unit .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.flash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.flash-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.flash-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-10px);
    border-color: var(--accent);
}

.flash-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin-bottom: 2rem;
}

.flash-discount-pill {
    position: absolute;
    top: 25px;
    left: 25px;
    background: var(--accent);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 900;
    font-size: 1rem;
    z-index: 5;
}

.flash-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.flash-price-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flash-prices {
    display: flex;
    flex-direction: column;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.new-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

@media (max-width: 768px) {
    .flash-deals-section {
        border-radius: 20px;
        margin-left: 0;
        margin-right: 0;
        padding: 2rem 1rem;
    }

    .flash-title-group h2 {
        font-size: 1.5rem;
    }
}

/* FIX: Header height increased to 150px, push breadcrumbs down */
.breadcrumbs {
    margin-top: 10px !important;
}


/* --- PREMIUM ADDITIONS --- */

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #fbbf24;
}

/* Firefox scrollbar styling */
* {
    scrollbar-width: thin;
    scrollbar-color: #1e293b #0f172a;
}

/* Product Card Shine Effect */
.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    pointer-events: none;
}

.product-card:hover::before {
    left: 100%;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--accent);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left-color: #2ed573;
}

.toast.info {
    border-left-color: #3b82f6;
}

.toast.warning {
    border-left-color: #f59e0b;
}

/* Glowing Text */
.glow-text {
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* Shimmer Loading */
.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Advanced Button Effects */
.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: opacity 0.3s;
}

.btn:hover::after {
    opacity: 1;
}

/* FIX: Homepage header overlap */
.category-bubbles {
    margin-top: 20px !important;
}

/* Home Layout Modes */
/* Base wrapper styling */
.home-layout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-bottom: 6rem;
    background: var(--bg-body);
}

/* Light mode - white background */
body.light-mode .home-layout-wrapper,
body[data-theme="light"] .home-layout-wrapper {
    background: #ffffff;
}

/* Standard layout specific */
.home-layout-wrapper.layout-standard {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-layout-wrapper.layout-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 2%;
}

.home-layout-wrapper.layout-grid>section.hero {
    grid-column: 1 / -1;
    /* Hero always full width */
}

.home-layout-wrapper.layout-grid>section#products {
    grid-column: 1 / -1;
    /* Featured products full width */
}

@media (max-width: 1024px) {
    .home-layout-wrapper.layout-grid {
        grid-template-columns: 1fr;
    }
}

.home-layout-wrapper.layout-compact>section {
    margin-bottom: 1rem !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.home-layout-wrapper.layout-compact .section-title {
    margin: 1.5rem 0 1rem;
    font-size: 1.8rem;
}

.home-layout-wrapper.layout-compact .hero {
    min-height: 350px !important;
}

.home-layout-wrapper.layout-compact .banner-slider,
.home-layout-wrapper.layout-compact .banner-slide {
    min-height: 350px !important;
}

/* View Toggles */
.view-toggle {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}

.view-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.view-btn.active {
    background: var(--accent);
    color: #000;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

/* List View */
.product-grid.view-list {
    grid-template-columns: 1fr !important;
    gap: 1rem;
}

.product-grid.view-list .product-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}

.product-grid.view-list .product-img {
    width: 220px;
    height: 160px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.product-grid.view-list .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 160px;
}

.product-grid.view-list .btn {
    width: auto;
    align-self: flex-start;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

/* Classic View (Refined Table-like styling) */
.product-grid.view-classic {
    grid-template-columns: 1fr !important;
    gap: 0;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.2);
}

.product-grid.view-classic .product-card {
    display: grid;
    grid-template-columns: 210px 4fr 1.5fr auto;
    gap: 25px;
    align-items: center;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    background: transparent;
    transition: all 0.2s ease;
}

.product-grid.view-classic .product-card:last-child {
    border-bottom: none;
}

.product-grid.view-classic .product-card:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.03);
    z-index: 1;
    box-shadow: none;
    border-color: transparent;
}

.product-grid.view-classic .product-img {
    width: 192px;
    height: 192px;
    margin-bottom: 0;
    padding: 4px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.product-grid.view-classic .product-img img {
    border-radius: 4px;
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: none !important;
}

.product-grid.view-classic .product-img .discount-badge {
    display: none;
}

/* Classic Info */
.product-grid.view-classic h3 {
    font-size: 1rem;
    margin: 0 0 4px 0;
    font-weight: 600;
    text-align: left;
}

.product-grid.view-classic .product-meta {
    margin: 0;
    font-size: 0.8rem;
    color: #94a3b8;
    display: block;
}

.product-grid.view-classic .product-price {
    font-size: 1.1rem;
    text-align: right;
    margin: 0;
    font-weight: 700;
    color: #fff;
}

/* Compact Button */
.product-grid.view-classic .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1.5rem;
    width: auto;
    min-width: 100px;
    margin-top: 0;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 8px;
    white-space: nowrap;
}

.product-grid.view-classic .btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
    transform: translateY(-2px);
}

.product-grid.view-classic .product-desc-short {
    display: none;
}

@media (max-width: 768px) {
    .product-grid.view-classic .product-card {
        grid-template-columns: 60px 1fr;
        gap: 15px;
        padding: 15px;
        position: relative;
    }

    .product-grid.view-classic .product-price {
        grid-column: 2;
        text-align: left;
        margin-top: 5px;
    }

    .product-grid.view-classic .btn {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        padding: 5px 10px;
        min-width: auto;
        font-size: 0.8rem;
    }
}

/* --- PREMIUM VIEW MODES --- */

/* Common Transitions */
.product-grid .product-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-grid .product-img img {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);

}

/* 1. Duo (Premium Split) */
.product-grid.view-duo {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3rem;
    padding: 1rem;
}

.product-grid.view-duo .product-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 30px;
}

.product-grid.view-duo .product-img {
    height: 353px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-grid.view-duo h3 {
    font-size: 1.8rem;
    margin: 1.5rem 0 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.product-grid.view-duo .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* 2. Hero (Cinematic List) */
.product-grid.view-hero {
    grid-template-columns: 1fr !important;
    gap: 4rem;
}

.product-grid.view-hero .product-card {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 0;
    padding: 0;
    min-height: 360px;
    background: transparent;
    border: none;
    align-items: center;
}

.product-grid.view-hero .product-img {
    height: 100%;
    min-height: 360px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.product-grid.view-hero .product-info {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 30px 30px 0;
    margin-left: -50px;
    z-index: 0;
    height: 80%;
}

.product-grid.view-hero h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-grid.view-hero .product-desc-list {
    display: block;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .product-grid.view-hero .product-card {
        grid-template-columns: 1fr;
    }

    .product-grid.view-hero .product-info {
        margin-left: 0;
        border-radius: 30px;
        margin-top: -50px;
        padding-top: 60px;
    }
}

/* 3. ZigZag (Story Flow) */
.product-grid.view-zigzag {
    grid-template-columns: 1fr !important;
    gap: 6rem;
    padding: 2rem 0;
}

.product-grid.view-zigzag .product-card {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: transparent;
    border: none;
    padding: 0;
}

.product-grid.view-zigzag .product-card:nth-child(even) {
    flex-direction: row-reverse;
}

.product-grid.view-zigzag .product-img {
    flex: 1;
    height: 450px;
    border-radius: 40px;
    transform: perspective(1000px) rotateY(5deg);
    transition: 0.5s;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.4);
}

.product-grid.view-zigzag .product-card:nth-child(even) .product-img {
    transform: perspective(1000px) rotateY(-5deg);
}

.product-grid.view-zigzag .product-card:hover .product-img {
    transform: perspective(1000px) rotateY(0);
}

.product-grid.view-zigzag .product-info {
    flex: 0.8;
    padding: 0 4rem;
    /* Increased side padding for better readability */
}

.product-grid.view-zigzag h3 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* 4. Magazine (Cover Art) */
.product-grid.view-magazine {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.product-grid.view-magazine .product-card {
    position: relative;
    height: 550px;
    padding: 0;
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.product-grid.view-magazine .product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 20px;
    margin: 0;
}

.product-grid.view-magazine .product-img img {
    object-fit: cover !important;
}

.product-grid.view-magazine .product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
    z-index: 1;
}

.product-grid.view-magazine .product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 2;
    transform: translateY(20px);
    transition: 0.4s;
}

.product-grid.view-magazine .product-card:hover .product-info {
    transform: translateY(0);
}

.product-grid.view-magazine h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

.product-grid.view-magazine .product-price {
    color: var(--accent);
    font-size: 1.4rem;
}

.product-grid.view-magazine .btn {
    width: 100%;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s 0.1s;
}

.product-grid.view-magazine .product-card:hover .btn {
    opacity: 1;
    transform: translateY(0);
}

/* 5. Minimal (Swiss Style) */
.product-grid.view-minimal {
    gap: 4rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.product-grid.view-minimal .product-card {
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    border-radius: 0;
    overflow: visible;
}

.product-grid.view-minimal .product-card:hover {
    transform: translateY(-10px);
    background: transparent;
    box-shadow: none;
    border: none;
}

.product-grid.view-minimal .product-img {
    background: #f1f5f9;
    height: 380px;
    margin-bottom: 1.5rem;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.product-grid.view-minimal .product-img img {
    mix-blend-mode: multiply;
}

.product-grid.view-minimal h3 {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
    margin-bottom: 0.2rem;
}

.product-grid.view-minimal .product-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.product-grid.view-minimal .product-price {
    font-weight: 300;
    font-size: 1.2rem;
}

.product-grid.view-minimal .btn {
    display: none;
}

/* Truly minimal */

/* 6. Polaroid (Nostalgia) */
.product-grid.view-polaroid {
    gap: 3rem;
    padding: 2rem;
    perspective: 1000px;
}

.product-grid.view-polaroid .product-card {
    background: #fff;
    padding: 15px 15px 70px 15px;
    border-radius: 2px;
    transform: rotate(-3deg);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: none;
}

.product-grid.view-polaroid .product-card:nth-child(even) {
    transform: rotate(2deg) translateY(20px);
}

.product-grid.view-polaroid .product-card:hover {
    transform: scale(1.1) rotate(0) !important;
    z-index: 100 !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.product-grid.view-polaroid .product-img {
    height: 260px;
    background: #222;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    filter: sepia(20%);
}

.product-grid.view-polaroid .product-info {
    color: #333;
    text-align: center;
}

.product-grid.view-polaroid h3 {
    color: #1e293b;
    font-family: 'Courier New', monospace;
    letter-spacing: -0.5px;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.product-grid.view-polaroid .product-price {
    font-family: 'Marker Felt', 'Comic Sans MS', cursive;
    color: #ef4444;
    transform: rotate(-10deg);
    display: inline-block;
    font-size: 1.5rem;
}

.product-grid.view-polaroid .btn {
    display: none;
}

/* 7. Specs (Industrial/Lab) */
/* 7. Specs (Modern Technical) */
.product-grid.view-specs {
    grid-template-columns: 1fr !important;
    gap: 25px;
}

.product-grid.view-specs .product-card {
    display: grid;
    /* Image | Middle (Title/Specs) | Right (Price/Actions) */
    grid-template-columns: 260px 1fr 220px;
    gap: 30px;
    align-items: center;
    border-radius: 24px;
    padding: 30px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.product-grid.view-specs .product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.product-grid.view-specs .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.6);
    background: linear-gradient(145deg, #253347, #151f32);
    border-color: rgba(99, 102, 241, 0.2);
}

.product-grid.view-specs .product-img {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 240px;
    height: 240px;
    padding: 0;
    border-radius: 16px;
    border: none;
    background: #020617;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.product-grid.view-specs .product-info {
    display: contents;
}

.product-grid.view-specs h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    align-self: end;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-grid.view-specs .spec-tags {
    grid-column: 2;
    grid-row: 2;
    margin-top: 1rem;
    align-self: start;
}

.product-grid.view-specs .product-price {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
    align-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.product-grid.view-specs .card-actions-row {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Hide fallback desc if present */
.product-grid.view-specs .product-desc-list {
    display: none;
}

.product-grid.view-specs .product-price {
    text-align: right;
    color: #34d399;
    font-size: 1.1rem;
}

.product-grid.view-specs .btn {
    border-radius: 2px;
    border: 1px solid #34d399;
    color: #34d399;
    background: transparent;
    font-size: 0.8rem;
    padding: 8px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-grid.view-specs .btn:hover {
    background: rgba(52, 211, 153, 0.1);
}

@media(max-width: 900px) {
    .product-grid.view-specs .product-card {
        grid-template-columns: 80px 1fr;
        gap: 10px;
    }

    .product-grid.view-specs .product-price,
    .product-grid.view-specs .btn {
        grid-column: 1 / -1;
    }
}

/* 8. Mosaic (Masonry-ish) */
.product-grid.view-mosaic {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-flow: dense;
    gap: 1px;
}

.product-grid.view-mosaic .product-card {
    border-radius: 0;
    border: none;
    background: #1e293b;
    padding: 2rem;
}

.product-grid.view-mosaic .product-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
    background: #0f172a;
}

.product-grid.view-mosaic .product-card:nth-child(1) .product-img {
    height: 450px;
}

.product-grid.view-mosaic .product-card:nth-child(1) h3 {
    font-size: 2rem;
}

.product-grid.view-mosaic .product-card:nth-child(6n) {
    grid-column: span 2;
}

.product-grid.view-mosaic .product-card:hover {
    z-index: 5;
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

/* 9. Neon (Cyberpunk/Dark Mode) */
.product-grid.view-neon {
    gap: 2rem;
    margin-top: 2rem;
    padding: 2rem;
    background: #050505;
    border: 1px solid #333;
}

.product-grid.view-neon .product-card {
    background: #000;
    border: 1px solid #0ff;
    box-shadow: 0 0 5px #0ff, inset 0 0 10px rgba(0, 255, 255, 0.1);
    border-radius: 4px;
    position: relative;
    padding: 1.5rem;
}

.product-grid.view-neon .product-card:hover {
    box-shadow: 0 0 20px #0ff, inset 0 0 20px rgba(0, 255, 255, 0.2);
    transform: translateY(-5px);
}

.product-grid.view-neon .product-img {
    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.3);
    height: 220px;
    filter: contrast(1.2);
}

.product-grid.view-neon h3 {
    color: #fff;
    text-shadow: 2px 2px 0px #f0f;
    font-weight: 900;
    letter-spacing: 1px;
    font-style: italic;
}

.product-grid.view-neon .product-price {
    color: #0ff;
    text-shadow: 0 0 10px #0ff;
    font-family: monospace;
    font-size: 1.4rem;
}

.product-grid.view-neon .btn {
    background: transparent;
    color: #f0f;
    border: 2px solid #f0f;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    box-shadow: 0 0 10px #f0f;
    text-shadow: 0 0 5px #f0f;
}

.product-grid.view-neon .btn:hover {
    background: #f0f;
    color: #fff;
}

/* 10. Frame (Art Gallery) */
.product-grid.view-frame {
    gap: 4rem;
    padding: 4rem;
    background: #18181b url('../img/wall-texture.png');
}

.product-grid.view-frame .product-card {
    border: 16px solid #b45309;
    border-image: linear-gradient(45deg, #b45309, #f59e0b, #78350f) 1;
    background: #fff;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border-radius: 0;
}

.product-grid.view-frame .product-img {
    border-radius: 0;
    background: transparent;
    margin-bottom: 2rem;
    height: 215px;
    border: 1px solid #eee;
}

.product-grid.view-frame .product-info {
    text-align: center;
    font-family: 'Times New Roman', serif;
}

.product-grid.view-frame h3 {
    color: #fff;
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.product-grid.view-frame .product-desc-list {
    display: block;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-grid.view-frame .product-price {
    color: #b45309;
    font-weight: bold;
    font-size: 1.3rem;
}

.product-grid.view-frame .btn {
    background: #000;
    color: #fff;
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    font-family: sans-serif;
    letter-spacing: 1px;
    font-size: 0.7rem;
    text-transform: uppercase;
}

/* Hover Actions Overlay */
.product-card .action-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.product-card:hover .action-overlay {
    transform: translateY(0);
    opacity: 1;
}

.hover-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hover-btn:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(251, 191, 36, 0.4);
}

.hover-btn.cart-btn {
    width: 48px;
    height: 48px;
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hover-btn.cart-btn:hover {
    background: var(--accent);
    color: #000;
}

/* Adjust image overflow for overlay visibility */
.product-card .product-img {
    overflow: hidden;
    position: relative;
}


/* Small Action Buttons in Card */
.action-btn-small {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn-small:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Homepage Specific Components */
.see-all-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.see-all-link:hover {
    transform: translateX(5px);
}

.blog-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card-home {
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.blog-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-content h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
}

.blog-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.read-more-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more-link:hover {
    gap: 10px;
}

.banner-slide {
    display: none;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.banner-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}