:root {
    --primary-color: #cc0000;
    --primary-dark: #a30000;
    --secondary-color: #1a1a1b;
    --accent-color: #0060c1;
    --light-bg: #f5f6f7;
    --border-color: #e2e4e7;
    --text-main: #1d1d1f;
    --text-muted: #6e6e73;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.5;
    color: var(--text-main);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.promo-ribbon,
.main-nav,
.btn-primary {
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Global Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp 0.6s ease-out forwards;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header Styles */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.promo-ribbon {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.promo-ribbon a {
    text-decoration: underline;
    margin-left: 10px;
}

.top-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.top-nav-links a {
    margin-right: 0;
    color: #444;
    white-space: nowrap;
}

.top-nav-links a:hover {
    color: var(--primary-color);
}

.middle-header {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.search-container {
    flex: 1;
    margin: 0 60px;
}

.search-form {
    display: flex;
    position: relative;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    transition: var(--transition);
}

.search-form input {
    width: 100%;
    padding: 10px 18px;
    border: none;
    outline: none;
    font-size: 0.95rem;
}

.search-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: -1.2px;
    text-transform: lowercase;
}

.text-logo::first-letter {
    color: var(--primary-color);
    font-size: 2rem;
}

.text-logo::after {
    content: '.';
    color: var(--primary-color);
}

.header-right .cart-btn {
    font-size: 1.4rem;
    position: relative;
    color: var(--secondary-color);
    padding: 5px;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Trust Bar --- */
.trust-bar {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.trust-bar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.trust-item img {
    height: 32px;
    width: auto;
}

/* Main Navigation */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    gap: 0;
}

.nav-links>li {
    position: relative;
}

.nav-links>li>a {
    display: block;
    padding: 16px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.nav-links>li:hover>a {
    color: var(--primary-color);
    background: #f8f9fa;
}

.deals-link {
    color: var(--primary-color) !important;
}

/* Mega Menu Container */
.has-mega {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-color);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

.has-mega:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-grid {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.mega-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.mega-col ul li {
    margin-bottom: 10px;
}

.mega-col ul li a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.mega-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.mega-promo {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--radius);
}

.promo-box img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.promo-content h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.promo-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.promo-content a {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: underline;
}

/* Hero Section */
/* Hero Section */
.hero-slider {
    width: 100%;
    height: 700px;
    background-color: #000;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Printer Setup Hero */
.printer-setup-hero {
    position: relative;
    background-color: #0a192f;
    /* Dark professional base */
    padding: 40px 0 50px;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.printer-setup-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../../uploads/1(24).jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    /* Professional background opacity */
    filter: grayscale(20%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.4) 0%, rgba(10, 25, 47, 0.9) 100%);
    z-index: 2;
}


.printer-setup-hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-text-content {
    max-width: 900px;
    margin: 0 auto 80px;
}

.top-tag {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.hero-text-content h1 {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
    letter-spacing: -2px;
}

.hero-text-content h1 span {
    color: var(--accent-color);
}

.hero-text-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

/* Brand Cards Container */
.brand-setup-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Brand Card */
.brand-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.brand-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    margin-bottom: 35px;
}

.brand-card h3 {
    font-size: 1.15rem;
    color: #1d1d1f;
    margin-bottom: 30px;
    font-weight: 700;
}

.btn-setup {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.btn-setup:hover {
    background-color: #004e9c;
    transform: scale(1.02);
}

@media (max-width: 1200px) {
    .hero-text-content h1 {
        font-size: 4rem;
    }

    .brand-setup-cards {
        padding: 0 20px;
    }
}

@media (max-width: 1100px) {
    .brand-setup-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .printer-setup-hero {
        padding: 80px 0;
    }
}

@media (max-width: 600px) {
    .brand-setup-cards {
        grid-template-columns: 1fr;
    }

    .hero-text-content h1 {
        font-size: 3rem;
    }

    .hero-text-content p {
        font-size: 1.1rem;
    }
}

.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.4);
}

.btn-outline {
    display: inline-block;
    padding: 16px 38px;
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Main Content Sections */
.py-5 {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-grey);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Category Grid (Homepage) */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.cat-item {
    background-color: var(--white);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.cat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.cat-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

.cat-item span {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Product Card */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* --- Categories Grid (Corporate Bubble Style) --- */
.category-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 40px 0;
}

.cat-item {
    text-align: center;
    width: 160px;
    transition: var(--transition);
}

.cat-item .img-wrapper {
    width: 140px;
    height: 140px;
    background-color: var(--white);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    padding: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.cat-item:hover .img-wrapper {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.cat-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cat-item span {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
}

/* --- Professional Product Cards --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-grid.slider-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
    margin: 0;
    scroll-snap-type: x mandatory;
}

.product-grid.slider-grid::-webkit-scrollbar {
    display: none;
}

.product-grid.slider-grid .product-card {
    flex: 0 0 300px;
    width: 300px;
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    .product-grid.slider-grid .product-card {
        flex: 0 0 260px;
        width: 260px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .product-grid.slider-grid .product-card {
        flex: 0 0 220px;
        width: 220px;
    }
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 25px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-8px);
}

.product-card .img-link {
    display: block;
    height: 220px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.product-card:hover .img-link {
    transform: scale(1.03);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 15px;
    color: #f8b808;
    font-size: 0.85rem;
}

.rating span {
    color: #888;
    margin-left: 2px;
}

.price-box {
    margin-bottom: 20px;
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.price.on-sale {
    color: var(--primary-color);
}

.old-price {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: #999;
    margin-left: 8px;
    font-weight: 500;
}

.add-to-cart-btn {
    width: 100%;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background-color: #003d7e;
    transform: translateY(-1px);
}

/* Category Page Layout */
.category-page {
    padding: 30px 0;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.category-content-layout {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.filters-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.filters-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group h4 {
    margin-bottom: 15px;
    font-size: 1rem;
}

.filter-checkbox {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.95rem;
}

.filter-checkbox input {
    margin-right: 10px;
}

.price-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-inputs input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
}

.apply-btn {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.products-main {
    flex: 1;
}

.products-toolbar {
    padding: 15px 20px;
    background-color: var(--light-grey);
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Product Detail Page */
.product-main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 30px;
}

.product-gallery .main-image {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery .main-image img {
    width: 100%;
    height: auto;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail-list .thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.product-summary h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.product-price-block {
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.current-price {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.purchase-actions {
    display: flex;
    gap: 15px;
    margin: 40px 0;
}

.quantity-selector {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.quantity-selector button {
    padding: 10px 15px;
    background: none;
    border: none;
    cursor: pointer;
}

.quantity-selector input {
    width: 50px;
    text-align: center;
    border: none;
}

.add-to-cart-large {
    flex: 1;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px;
    font-weight: 700;
    cursor: pointer;
}

.product-tabs {
    margin-top: 60px;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
}

.tab-pane {
    display: none;
    padding-top: 30px;
}

.tab-pane.active {
    display: block;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th {
    width: 30%;
    background: #f9f9f9;
    padding: 15px;
    text-align: left;
}

.specs-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

/* Footer Styles */
.main-footer {
    margin-top: 80px;
    background-color: var(--secondary-color);
    color: var(--white);
}

.footer-top {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bbb;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    background-color: #222;
    padding: 20px 0;
    text-align: center;
    color: #888;
}

/* Notifications */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    background: white;
    width: 300px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    overflow: hidden;
}

.toast-header {
    padding: 10px 15px;
    background: var(--secondary-color);
    color: white;
    display: flex;
    justify-content: space-between;
}

.toast-body {
    padding: 15px;
}

.toast-success .toast-header {
    background: var(--success-color);
}

.toast-error .toast-header {
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .category-content-layout {
        flex-direction: column;
    }

    .filters-sidebar {
        width: 100%;
    }
}

/* --- Refined Footer Styles --- */
.main-footer {
    background-color: #2e2e2e;
    color: #e0e0e0;
}

.footer-newsletter {
    background-color: #f4f4f4;
    padding: 40px 0;
    color: #333;
    border-top: 1px solid #ddd;
}

.newsletter-text h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #000;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 300px;
}

.newsletter-form button {
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.footer-top {
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--primary-color);
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: #fff;
}

.footer-bottom {
    background-color: #222;
    padding: 25px 0;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid #3d3d3d;
}

/* --- Promotional Banners --- */
.pickup-banner {
    background: #e31837;
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.pickup-banner .container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.pickup-content {
    flex: 1;
    max-width: 650px;
    text-align: left;
}

.badge-accent {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.banner-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.05;
    color: white;
}

.banner-desc {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.6;
}

.pickup-visual {
    flex: 0 0 320px;
    display: flex;
    justify-content: flex-end;
}

.pickup-visual img {
    width: 260px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.btn-white {
    background: var(--white);
    color: #e31837;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-white:hover {
    background: #f8f8f8;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gift-banner {
    background-color: #f3f0ed;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.gift-bg-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.gift-content-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.gift-visual img {
    height: 140px;
    width: 140px;
    border-radius: 100px;
    border: 5px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.gift-text-main {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 8px;
    line-height: 1.2;
}

.gift-conditions {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Epson Promo Section */
.epson-promo {
    background: #f9f8f6;
    padding: 60px 0;
    margin-bottom: 40px;
}

.epson-promo .flex-center {
    gap: 80px;
}

.epson-img-large {
    max-width: 500px;
}

.epson-text {
    text-align: center;
}

.epson-text h2 {
    font-size: 3.5rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 15px;
}

.epson-text h2 span {
    font-size: 1.5rem;
    display: block;
    color: #333;
}

.gift-action .btn-shop-now {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.gift-action .btn-shop-now:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.epson-details {
    margin-bottom: 30px;
    color: #555;
    line-height: 1.6;
}

/* Category Grid Improvements */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.cat-card {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.cat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-color);
}

.cat-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.cat-card .img-wrapper {
    height: 180px;
    background: #fcfcfc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.cat-card .img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.cat-card:hover .img-wrapper img {
    transform: scale(1.1);
}

.cat-info {
    padding: 20px;
    text-align: center;
}

.cat-info span {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.shop-now {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.cat-card:hover .shop-now {
    opacity: 1;
    transform: translateY(0);
}

/* --- Promotional Grid --- */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
    width: 100%;
}

.promo-grid-section {
    background: #fdfdfd;
}

.promo-tile {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.promo-tile:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.promo-tile.highlight {
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(227, 24, 55, 0.1);
}

.tile-img {
    height: 240px;
    background: #f8faff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
}

.tile-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.promo-tile:hover .tile-img img {
    transform: scale(1.05);
}

.tile-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promo-brand-logo {
    height: 24px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.tile-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.tile-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 15px;
    font-size: 0.9rem;
}

.link-arrow:hover {
    gap: 12px;
}

@media (max-width: 768px) {
    .middle-header {
        padding: 10px 0;
    }

    .middle-header .container {
        flex-direction: column !important;
        gap: 12px;
    }

    .logo {
        text-align: center;
        width: 100%;
        margin-bottom: 2px;
    }

    .text-logo {
        font-size: 1.1rem;
        font-weight: 800;
    }

    .search-container {
        width: 100%;
        margin: 0;
        order: 2;
    }

    .search-form input {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .search-form button {
        width: 40px;
    }

    .header-right {
        order: 1;
        width: 100%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 15px;
        margin-top: -5px;
        margin-bottom: 5px;
    }

    .cart-btn {
        margin-right: 10px;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        padding: 8px 15px;
    }

    .user-actions {
        width: 100%;
        text-align: center;
        border-top: 1px solid #eee;
        padding-top: 6px;
    }

    .nav-links {
        display: none;
    }

    /* Section Header Mobile Adjustments */
    .flex-between.align-center.mb-4 {
        flex-direction: row;
        align-items: center !important;
        justify-content: space-between;
        gap: 10px;
    }

    .slider-nav {
        width: auto;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }

    .container {
        padding: 0 15px;
    }

    /* Categories Grid Mobile Fix */
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 20px 0 !important;
    }

    .cat-card .img-wrapper {
        height: 100px;
        padding: 10px;
    }

    .cat-info {
        padding: 12px;
    }

    .cat-info span {
        font-size: 0.85rem;
    }

    /* Gift Banner Mobile Fix */
    .gift-banner {
        padding: 40px 0;
    }

    .gift-content-wrap {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 0 15px;
    }

    .gift-text-main {
        font-size: 1.8rem !important;
        margin-bottom: 15px;
    }

    .gift-visual img {
        height: 120px;
        width: 120px;
    }

    .gift-conditions {
        font-size: 1rem;
    }

    /* Footer & Newsletter Mobile Fixes */
    .footer-newsletter .container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 40px 20px;
    }

    .newsletter-text h3 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .newsletter-form input {
        width: 100% !important;
        padding: 15px;
    }

    .newsletter-form button {
        width: 100%;
        padding: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
        padding: 0 20px;
    }

    .footer-col h3 {
        margin-bottom: 15px;
        border-bottom: 1px solid #444;
        padding-bottom: 8px;
    }

    .footer-bottom {
        padding: 20px 15px;
    }
}


/* Take Another Look Section */
.mini-product-card {
    flex: 0 0 280px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    position: relative;
    scroll-snap-align: start;
}

.look-another-section {
    padding: 60px 0;
    background: #fff;
    overflow: hidden;
}

.look-another-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.look-another-banner {
    flex: 0 0 350px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
}

.look-another-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.look-another-banner:hover img {
    transform: scale(1.05);
}

.look-another-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px 30px;
}

.look-another-banner .banner-overlay h2 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.look-another-products {
    flex: 1;
    min-width: 0;
    /* Important for flex child with overflow */
}

.section-title-sm {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.mini-card-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    scroll-snap-type: x mandatory;
}

.mini-card-grid::-webkit-scrollbar {
    display: none;
}

.slider-nav {
    display: flex;
    gap: 10px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.align-center {
    align-items: center;
}

@media (max-width: 1200px) {
    .mini-product-card {
        flex: 0 0 280px;
    }
}

@media (max-width: 1100px) {
    .look-another-layout {
        flex-direction: column;
        gap: 40px;
    }

    .look-another-banner {
        flex: none;
        width: 100%;
        height: 400px;
    }

    .look-another-products {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .look-another-banner {
        height: 300px;
    }

    .look-another-banner .banner-overlay h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .look-another-section {
        padding: 30px 0;
    }

    .look-another-layout {
        gap: 20px;
    }

    .look-another-banner {
        height: 200px;
        border-radius: 8px;
    }

    .look-another-banner .banner-overlay {
        padding: 20px;
    }

    .look-another-banner .banner-overlay h2 {
        font-size: 1.3rem;
    }

    .flex-between.align-center.mb-4 {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px;
        margin-bottom: 15px !important;
    }

    .section-title-sm {
        font-size: 1.1rem;
        margin-bottom: 0 !important;
    }

    .slider-nav {
        width: auto !important;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .mini-product-card {
        flex: 0 0 200px;
        padding: 12px;
    }

    .mini-product-card .img-link {
        height: 100px;
        margin-bottom: 10px;
    }

    .mini-product-card h3 {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .mini-product-card .rating {
        margin-bottom: 10px;
        font-size: 0.75rem;
    }

    .mini-product-card .sale-price {
        font-size: 1.25rem;
    }

    .mini-product-card .reg-label,
    .mini-product-card .old-price {
        font-size: 0.75rem;
    }

    .mini-product-card .add-to-cart-outline {
        padding: 8px;
        font-size: 0.85rem;
    }
}


.mini-product-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #ccc;
}

.mini-product-card .img-link {
    display: block;
    height: 140px;
    margin-bottom: 20px;
}

.mini-product-card .img-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mini-product-card h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    height: 3em;
    overflow: hidden;
    margin-bottom: 12px;
    line-height: 1.5;
}

.mini-product-card .rating {
    font-size: 0.85rem;
    color: #ffa41c;
    margin-bottom: 20px;
}

.mini-product-card .rating span {
    color: #666;
    margin-left: 6px;
}

.mini-product-card .price-box {
    margin-top: auto;
    margin-bottom: 20px;
}

.mini-product-card .sale-price {
    color: #cc0000;
    font-size: 1.6rem;
    font-weight: 800;
    display: inline-block;
}

.mini-product-card .reg-label {
    font-size: 0.8rem;
    color: #444;
    margin-left: 8px;
}

.mini-product-card .old-price {
    font-size: 0.9rem;
    color: #888;
    text-decoration: line-through;
    display: block;
    margin-top: 2px;
}

/* Setup Guide Section */
.setup-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -10px;
    right: 10px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    pointer-events: none;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background: var(--primary-color);
    color: var(--white);
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.mini-product-card .add-to-cart-outline {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1.5px solid #0056b3;
    color: #0056b3;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.mini-product-card .add-to-cart-outline:hover {
    background: #f0f7ff;
}

/* --- Legal & Info Pages --- */
.legal-page {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.legal-card {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 30px;
}

.legal-header h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.legal-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.legal-content h2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    font-weight: 700;
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 25px;
    list-style: disc;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 12px;
    color: var(--text-main);
}

@media (max-width: 768px) {
    .legal-card {
        padding: 40px 24px;
    }

    .legal-header h1 {
        font-size: 2.2rem;
    }
}

/* Epson Corporate Banner */
.epson-banner {
    background: #fdfdfd;
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.banner-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: nowrap;
}

.banner-offer {
    flex: 1;
    min-width: 500px;
}

.offer-badge {
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    display: inline-block;
}

.banner-offer h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.price-strike {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
}

.save-up-to {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-strike .amount {
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.banner-subtext {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.banner-actions {
    display: flex;
    gap: 15px;
}

.banner-visual {
    flex: 1;
}

.banner-visual img {
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

@media (max-width: 992px) {
    .epson-banner {
        padding: 60px 0;
    }

    .banner-flex {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .banner-offer {
        min-width: 0;
        width: 100%;
    }

    .banner-offer h2 {
        font-size: 2.5rem;
    }

    .price-strike .amount {
        font-size: 3.5rem;
    }

    .price-strike {
        justify-content: center;
    }

    .banner-actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .epson-banner {
        padding: 40px 0;
    }

    .banner-offer h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .price-strike {
        flex-direction: row;
        justify-content: center;
        align-items: baseline;
        gap: 10px;
        margin-bottom: 20px;
    }

    .save-up-to {
        font-size: 1rem;
    }

    .price-strike .amount {
        font-size: 2.2rem;
    }

    .banner-subtext {
        font-size: 0.95rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .banner-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .banner-actions .btn-primary,
    .banner-actions .btn-outline {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* FAQ Section Styling */
.faq-section {
    background-color: #fcfcfc;
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.faq-row {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.faq-content-col {
    flex: 1.2;
}

.faq-image-col {
    flex: 0.8;
}

.faq-sticky-images {
    position: sticky;
    top: 100px;
}

.faq-img-main {
    width: 100%;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    margin-bottom: -150px;
    position: relative;
    z-index: 1;
}

.faq-img-sub {
    width: 70%;
    margin-left: 30%;
    border-radius: 20px;
    border: 10px solid var(--white);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.info-badge {
    position: absolute;
    bottom: -40px;
    right: 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 20px 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.info-badge i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.faq-question h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.setup-steps-list {
    display: grid;
    gap: 12px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-main);
    font-size: 0.95rem;
}

.step-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .faq-row {
        flex-direction: column;
        gap: 60px;
    }

    .faq-img-main {
        margin-bottom: 30px;
    }

    .faq-img-sub {
        display: none;
    }

    .info-badge {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .faq-card {
        padding: 30px 20px;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }
}