/* CSS Variables */
:root {
    /* --color-primary: #d62828;  */
    --color-primary: #EA0B2A;
    --color-primary-hover: #b71d1d;
    --color-primary-dark: #8f1010;
    --color-primary-rgb: 214, 40, 40;
    --color-primary-soft-bg: #ffe5e5;
    --color-primary-soft-bg-alt: #ffd6d6;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Main Content Styles */
.main-content {
    min-height: calc(100vh - 160px);
}

/* Home Page Styles */


/* Popular Chargers Styles */
.popular-chargers {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background: #f8f9fa;
}


.popular-chargers h2 {
    text-align: center;
    margin: 0 0 12px 0;
    font-size: 32px;
    color: #212529;
    font-weight: 700;
}

.section-description {
    text-align: center;
    margin: 0 0 40px 0;
    font-size: 16px;
    color: #6c757d;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: stretch;
}

.best-sellers-wrapper {
    background: #ffffff;
}

/* Tablet - 3 columns */
@media (max-width: 1200px) {
    .popular-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Small tablet - 2 columns */
@media (max-width: 768px) {
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile - 1 column */
@media (max-width: 480px) {
    .popular-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Charger Card Styles */

.charger-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    transition: all 0.35s ease;
    border: 1px solid #e6e9ee;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;

    will-change: transform;
    transform: translateZ(0);
}


.charger-card:hover {
    border-color: var(--color-primary, #d62828);
    box-shadow: 0 6px 16px rgba(var(--color-primary-rgb), 0.1);
    transform: translateY(-4px);
}

.charger-image-container {
    position: relative;
    background: radial-gradient(circle at 50% 40%, #ffffff 0%, #f1f4f8 60%, #e5e9ef 100%);
    padding: 10px 10px 10px;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.charger-image {
    width: 100%;
    max-width: 220px;
    max-height: 220px;
    object-fit: contain;
    border-radius: 18px;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.12));
    /* transition: transform .45s ease, filter .45s ease; */
    background: linear-gradient(145deg, #ffffff, #f2f6fa);
    padding: 3px;
}

/* .charger-card:hover .charger-image {
    transform: scale(1.05);
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.14));
} */

.charger-wattage-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.charger-content {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.charger-name {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    color: #19212a;
    line-height: 1.18;
}

.charger-type {
    /* margin: 0 0 10px 0; */
    font-size: 12px;
    color: #5c6670;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.charger-description {
    margin: 0 0 14px 0;
    font-size: 13px;
    color: #3f4b55;
    line-height: 1.5;
    flex: 1;
}

.charger-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.feature-tag {
    background: linear-gradient(120deg, var(--color-primary-soft-bg), var(--color-primary-soft-bg-alt));
    color: var(--color-primary);
    padding: 4px 6px;
    border-radius: 14px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(var(--color-primary-rgb), 0.25);
}

.charger-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.charger-price {
    display: flex;
    align-items: baseline;
    font-weight: 800;
    color: #1fa455;
    letter-spacing: .5px;
}

.price-currency {
    font-size: 16px;
    margin-right: 2px;
}

.price-amount {
    font-size: 22px;
}

.buy-button {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s ease;
    min-width: 110px;
    letter-spacing: .5px;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.4);
}

.buy-button:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary-dark));
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(var(--color-primary-rgb), 0.55);
}

.buy-button:active {
    transform: translateY(0);
}


/* Products Page Styles */
.products-page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.products-header h1 {
    margin: 0 0 12px;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: .5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.products-header .subtitle {
    margin: 0 0 32px;
    font-size: 16px;
    color: #5b6672;
    max-width: 760px;
    line-height: 1.55;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
    background: #fff;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 18px -6px rgba(0, 0, 0, .08);
    border: 1px solid #e3e7ec;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border: 1px solid #cfd6de;
    border-radius: 10px;
    font-size: 14px;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), .30);
}

.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f1f5f9;
    border: 1px solid #d3dae2;
    color: #42505c;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
    font-weight: 600;
    transition: all .25s ease;
}

.filter-btn:hover {
    background: #e2edf7;
    border-color: #b3c6d8;
}

.filter-btn.active {
    background: linear-gradient(120deg, var(--color-primary), var(--color-primary-hover));
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 3px 10px -2px rgba(var(--color-primary-rgb), .45);
}

.results-count {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: #5b6672;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 40px;
    align-items: stretch;
}

.empty {
    grid-column: 1/-1;
    padding: 40px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed #c5d0db;
    border-radius: 16px;
    color: #607080;
    font-weight: 500;
}

/* Product Detail Page Styles */
.product-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.product-detail-container {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.product-images {
    flex: 1;
    max-width: 500px;
}

.main-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}

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

.image-thumbnails {
    display: flex;
    gap: 12px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

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

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

.product-info {
    flex: 1;
}

.product-info h1 {
    font-size: 32px;
    margin-bottom: 8px;
    color: #212529;
}

.product-type {
    font-size: 16px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.product-price {
    font-size: 28px;
    font-weight: 700;
    color: #1fa455;
    margin-bottom: 20px;
}

.product-description {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 24px;
}

.product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

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

.quantity-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}

.quantity-input {
    width: 60px;
    height: 36px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-align: center;
    font-size: 16px;
}

.add-to-cart {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary-dark));
    transform: translateY(-2px);
}

.product-features {
    margin-bottom: 32px;
}

.product-features h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: #212529;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-chip {
    background: var(--color-primary-soft-bg);
    color: var(--color-primary);
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
}

.product-specs {
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.06), rgba(var(--color-primary-rgb), 0.04));
    border: 1px solid rgba(var(--color-primary-rgb), 0.18);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 32px;
}

.product-specs h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.specs-list {
    list-style: none;
}

.specs-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
}

.specs-list li:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    min-width: 150px;
    color: #495057;
}

.spec-value {
    color: #212529;
}


.profiles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /* margin-top: 8px; */
}

.profile-pill {
    background: #fff;
    border: 1px solid rgba(var(--color-primary-rgb), 0.25);
    padding: 6px 10px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    color: #2a333a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.profile-pill em {
    font-style: normal;
    color: var(--color-primary);
    font-weight: 600;
    margin-left: 4px;
}

/* Footer Styles */
.footer {
    /* background-color: #212529; */
    background-color: #1a1c1ef9;
    background-image: url('../images/footer.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    color: white;
    margin-top: auto;
    position: relative;
}

/* .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/footer.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.15;
    z-index: 0;
} */

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 24px;
}

.footer-content {
    /* display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; */
    text-align: center;
    /* gap: 48px; */
    margin-bottom: 40px;
}

.footer-section h3 {
    margin: 0 0 16px 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
}

.footer-section h4 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.footer-section p {
    /* margin: 0 0 20px 0; */
    color: #adb5bd;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    /* display: flex;
    gap: 16px; */

    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #343a40;
    border-radius: 8px;
    color: #adb5bd;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #343a40;
    padding-top: 24px;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* Mobile responsiveness */
@media (max-width: 768px) {
    .header-container {
        padding: 12px 16px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-name {
        font-size: 18px;
    }

    .logo-tagline {
        font-size: 11px;
    }

    .nav {
        gap: 20px;
    }

    .nav-link {
        font-size: 14px;
    }

    .hero-slider {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 36px;
    }

    .slide-content p {
        font-size: 18px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .search-input {
        padding: 14px 16px;
        font-size: 16px;
    }

    .search-button {
        padding: 14px 16px;
    }

    .suggestion-item {
        padding: 16px;
    }

    .suggestions-dropdown {
        max-height: 250px;
    }

    .popular-chargers {
        padding: 32px 16px;
    }

    .popular-chargers h2 {
        font-size: 28px;
    }

    .section-description {
        margin-bottom: 32px;
        font-size: 15px;
    }

    .popular-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .products-header h1 {
        font-size: 34px;
    }

    .catalog-grid {
        gap: 18px;
    }

    .product-detail-container {
        flex-direction: column;
    }

    .product-images {
        max-width: 100%;
    }

    .footer-container {
        padding: 32px 16px 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

    .footer-section:first-child {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-legal {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .legal-links {
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .nav {
        display: none;
    }

    .header-container {
        justify-content: center;
    }

    .products-page .toolbar {
        padding: 14px 16px;
    }

    .products-header h1 {
        font-size: 30px;
    }

    .products-header .subtitle {
        font-size: 15px;
    }

    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .product-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 12px;
    }

    .logo {
        gap: 8px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }

    .logo-name {
        font-size: 16px;
    }

    .logo-tagline {
        font-size: 10px;
    }

    .hero-slider {
        height: 350px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .search-input {
        padding: 20px 14px;
    }

    .search-button {
        padding: 12px 14px;
    }

    .popular-chargers {
        padding: 24px 12px;
    }

    .popular-chargers h2 {
        font-size: 24px;
    }

    .section-description {
        margin-bottom: 24px;
    }

    .popular-grid {
        gap: 12px;
    }

    .products-header h1 {
        font-size: 26px;
    }

    .filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    .catalog-grid {
        gap: 14px;
    }

    .image-thumbnails {
        justify-content: center;
    }

    .footer-container {
        padding: 24px 12px 12px;
    }

    .footer-content {
        gap: 24px;
    }

    .legal-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* Header Styles */
.header {
    background: white;
    border-bottom: 1px solid #e1e5e9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 100px;
    height: 40px;
}

.logo:hover {
    transform: scale(1.02);
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #495057;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--color-primary);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

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

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: #495057;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Tablet breakpoint */
@media (max-width: 768px) {
    .header-container {
        padding: 12px 16px;
        justify-content: space-between;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        border-bottom: 1px solid #e1e5e9;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        max-height: 400px;
    }

    .nav-link {
        padding: 16px 20px;
        border-bottom: 1px solid #f8f9fa;
        font-size: 14px;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }
}

/* Small tablet breakpoint */
@media (max-width: 640px) {
    .header-container {
        padding: 12px 16px;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        border-bottom: 1px solid #e1e5e9;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        max-height: 400px;
    }

    .nav-link {
        padding: 16px 20px;
        border-bottom: 1px solid #f8f9fa;
        font-size: 14px;
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Mobile breakpoint */
@media (max-width: 480px) {
    .header-container {
        padding: 12px;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        border-bottom: 1px solid #e1e5e9;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        max-height: 400px;
    }

    .nav-link {
        padding: 16px 20px;
        border-bottom: 1px solid #f8f9fa;
        font-size: 13px;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .logo {
        gap: 8px;
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

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

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e1e5e9;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
}

.cookie-text h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    letter-spacing: 0.3px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

#deny-btn,
#partial-btn,
#accept-btn {
    border: none;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.35s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

/* Deny Button - Outline Gray */
#deny-btn {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

#deny-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#deny-btn:active {
    transform: translateY(0);
}

/* Partial Button - Outline Primary */
#partial-btn {
    background: #ffffff;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 2px 6px rgba(var(--color-primary-rgb), 0.15);
}

#partial-btn:hover {
    background: var(--color-primary-soft-bg);
    border-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--color-primary-rgb), 0.25);
}

#partial-btn:active {
    transform: translateY(0);
}

/* Accept Button - Primary Gradient */
#accept-btn {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.4);
}

#accept-btn:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), var(--color-primary-dark));
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(var(--color-primary-rgb), 0.55);
}

#accept-btn:active {
    transform: translateY(0);
}

/* Tablet Responsive */
@media (max-width: 768px) {
    .cookie-content {
        padding: 20px 16px;
        gap: 16px;
    }

    .cookie-text h4 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .cookie-text p {
        font-size: 13px;
    }

    .cookie-buttons {
        gap: 10px;
    }

    #deny-btn,
    #partial-btn,
    #accept-btn {
        padding: 9px 14px;
        font-size: 12px;
        min-width: 100px;
    }
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 14px;
        gap: 14px;
    }

    .cookie-text h4 {
        font-size: 15px;
    }

    .cookie-text p {
        font-size: 12px;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 8px;
    }

    #deny-btn,
    #partial-btn,
    #accept-btn {
        width: 100%;
        min-width: auto;
        padding: 11px 16px;
        font-size: 13px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .cookie-content {
        padding: 14px 12px;
    }

    .cookie-text h4 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .cookie-text p {
        font-size: 12px;
        line-height: 1.4;
    }

    .cookie-buttons {
        gap: 6px;
    }

    #deny-btn,
    #partial-btn,
    #accept-btn {
        padding: 9px 12px;
        font-size: 12px;
    }
}

/* Animation for fade out */
.cookie-banner.fade-out {
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}