@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #1d1c77;
    --secondary-color: #ec1210;
    --bg-color: #F5F6FA;
    --white: #FFFFFF;
    --dark: #1A1A1A;
    --gray: #777777;
    --light-gray: #E0E0E0;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==============================
   RESPONSIVE MOBILE STYLES
   ============================== */

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    z-index: 1001;
}

/* Mobile & Tablet Base Styles */
@media (max-width: 1024px) {

    /* Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: #1d1c77;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        margin-top: 0;
        padding: 0;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 12px 20px 12px 35px;
        color: rgba(255, 255, 255, 0.9);
    }

    .dropdown-item i {
        color: #ec1210;
    }

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        padding-left: 40px;
    }

    .dropdown-toggle::after {
        position: absolute;
        right: 0;
    }

    /* Search Bar */
    .search-bar {
        order: 3;
        flex: 0 1 100%;
        margin: 15px 0;
        width: 100%;
    }

    .navbar .container {
        flex-wrap: wrap;
    }

    .logo {
        order: 1;
    }

    .mobile-menu-btn {
        order: 2;
    }

    /* Top Bar */
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    /* Hero Section */
    .hero {
        height: auto;
        min-height: 400px;
        padding: 60px 20px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    /* Products Grid */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
        padding: 0 10px;
    }

    .product-image {
        height: 220px;
    }

    .product-info {
        padding: 20px;
    }

    .product-name {
        font-size: 16px;
        height: 48px;
    }

    .product-price {
        font-size: 20px;
    }

    /* Section Titles */
    .section-title h2 {
        font-size: 26px;
    }

    /* Checkout */
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-form-grid {
        grid-template-columns: 1fr;
    }

    /* Cart Page */
    .cart-table {
        display: block;
        overflow-x: auto;
    }

    /* Forms */
    .form-group {
        margin-bottom: 20px;
    }

    input,
    select,
    textarea {
        font-size: 16px;
        /* Prevents iOS zoom */
    }
}

/* Large Mobile (Landscape) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card {
        border-radius: 15px;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 15px;
    }

    .product-name {
        font-size: 14px;
        height: 42px;
    }

    .product-price {
        font-size: 18px;
    }

    .add-to-cart {
        padding: 10px;
        font-size: 14px;
        margin-top: 12px;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* Category Grid */
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* Flash Sale */
    .flash-sale-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Chat Widget */
    .chat-window {
        width: calc(100vw - 60px);
        max-width: 350px;
        right: -10px;
    }

    /* Page Titles */
    .page-header h1 {
        font-size: 28px;
    }

    /* Cart Actions */
    .cart-actions {
        flex-direction: column;
        gap: 15px;
    }

    .cart-actions .btn-primary,
    .cart-actions .btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* Profile Page */
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        order: -1;
    }

    /* Modal */
    .modal-content {
        margin: 20px;
        padding: 20px;
    }

    /* Tables */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .top-bar {
        padding: 6px 0;
        font-size: 11px;
    }

    .top-bar-left span,
    .top-bar-right a {
        font-size: 11px;
    }

    .navbar-main {
        padding: 12px 0;
    }

    .logo {
        font-size: 20px;
    }

    .search-bar {
        margin: 10px 0;
    }

    .search-bar input {
        padding: 8px;
        font-size: 13px;
    }

    .search-bar button {
        width: 36px;
        height: 36px;
    }

    .hero {
        min-height: 350px;
        padding: 40px 15px;
    }

    .hero-content h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        height: 220px;
    }

    .product-info {
        padding: 20px;
    }

    .product-name {
        font-size: 16px;
    }

    .product-price {
        font-size: 20px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 22px;
        padding-bottom: 10px;
    }

    .section-title h2::after {
        width: 40px;
        height: 3px;
    }

    /* Buttons */
    .btn-primary {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Cart Page */
    .cart-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cart-item-image {
        width: 100%;
        max-width: 150px;
        margin: 0 auto;
    }

    .cart-item-details {
        width: 100%;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: center;
    }

    .quantity-controls {
        justify-content: center;
    }

    /* Checkout Form */
    .checkout-form {
        padding: 20px;
    }

    .checkout-summary {
        padding: 20px;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }

    input,
    select,
    textarea {
        padding: 12px;
        font-size: 14px;
    }

    label {
        font-size: 14px;
    }

    /* Account Page */
    .auth-container {
        padding: 30px 20px;
        margin: 20px;
    }

    .auth-container h2 {
        font-size: 24px;
    }

    /* Pagination */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 14px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        text-align: center;
    }

    /* Breadcrumb */
    .breadcrumb {
        flex-wrap: wrap;
        gap: 5px;
        font-size: 12px;
    }

    /* Product Details */
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-image {
        height: 300px;
    }

    .product-detail-info h1 {
        font-size: 24px;
    }

    .product-detail-price {
        font-size: 28px;
    }

    .quantity-selector {
        flex-wrap: wrap;
    }

    .product-actions {
        flex-direction: column;
        gap: 10px;
    }

    .product-actions button {
        width: 100%;
    }

    /* Notification */
    #notification {
        left: 10px;
        right: 10px;
        bottom: 10px;
        text-align: center;
    }

    /* Category Cards */
    .category-card h3 {
        font-size: 14px;
    }

    /* Quick View Modal */
    .quick-view-modal .modal-content {
        padding: 15px;
    }

    .quick-view-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   FOOTER STYLES
   ============================== */

footer {
    background: linear-gradient(170deg, #0f1419 0%, #161b22 30%, #1c2333 60%, #0d1117 100%);
    color: #ffffff;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #6610f2, #0d6efd, #6610f2, #0d6efd);
    background-size: 300% 100%;
    animation: gradientMove 6s ease infinite;
    z-index: 2;
}

footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 80%, rgba(13, 110, 253, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 20%, rgba(102, 16, 242, 0.06) 0%, transparent 55%);
    pointer-events: none;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    font-size: 13px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #0d6efd, #6610f2);
    border-radius: 2px;
}

.footer-brand .footer-logo {
    height: 36px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.footer-brand .footer-logo:hover {
    opacity: 0.8;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: transparent;
    color: white;
}

.social-links a[aria-label="Facebook"]:hover { background: #1877f2; }
.social-links a[aria-label="Twitter"]:hover { background: #000000; }
.social-links a[aria-label="Instagram"]:hover { background: #e4405f; }
.social-links a[aria-label="WhatsApp"]:hover { background: #25d366; }
.social-links a[aria-label="YouTube"]:hover { background: #ff0000; }

.social-links a i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover i {
    transform: scale(1.15);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.footer-col ul li a::before {
    content: '';
    width: 0;
    height: 1px;
    background: #0d6efd;
    transition: width 0.3s ease;
    position: absolute;
    bottom: -2px;
    left: 0;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-col ul li a:hover::before {
    width: 100%;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.8;
}

.footer-col .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.footer-col .contact-item:hover {
    transform: translateX(3px);
}

.footer-col .contact-item i {
    margin-top: 4px;
    font-size: 14px;
    color: #0d6efd;
    min-width: 18px;
    text-align: center;
}

.footer-col .contact-item a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col .contact-item a:hover {
    color: #ffffff;
}

/* Back to Top */
.back-to-top {
    position: absolute;
    right: 30px;
    top: -22px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    text-decoration: none;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.5);
    color: white;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    margin: 0;
}

.footer-bottom p a {
    color: #0d6efd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom p a:hover {
    color: #ffffff;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-methods i {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.payment-methods i:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    footer { padding: 60px 0 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-brand p { max-width: 100%; }
}

@media (max-width: 576px) {
    footer { padding: 50px 0 0; }
    .footer-grid { gap: 30px; }
    .footer-bottom-content { flex-direction: column; text-align: center; }
}

/* ==============================
   PAGE HEADER STYLES
   ============================== */

.page-header {
    background: linear-gradient(rgba(29, 28, 119, 0.9), rgba(29, 28, 119, 0.9));
    padding: 60px 0;
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: #ffffff;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* ==============================
   FORM STYLES
   ============================== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1d1c77;
    box-shadow: 0 0 0 3px rgba(29, 28, 119, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ==============================
   BUTTON STYLES
   ============================== */

.btn-secondary {
    background-color: #6c757d;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: #1d1c77;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid #1d1c77;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: #1d1c77;
    color: #ffffff;
}

/* ==============================
   CART PAGE STYLES
   ============================== */

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-table th,
.cart-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.cart-table th {
    background: #1d1c77;
    color: #ffffff;
    font-weight: 600;
}

.cart-table tr:hover {
    background: #f8f9fa;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    background: #f5f5f5;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: #1d1c77;
    color: #ffffff;
    border-color: #1d1c77;
}

.quantity-controls input {
    width: 50px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 5px;
}

.cart-summary {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.cart-summary h3 {
    margin-bottom: 20px;
    color: #1d1c77;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.summary-row.total {
    border-bottom: none;
    font-size: 20px;
    font-weight: 700;
    color: #1d1c77;
}

.cart-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* ==============================
   CHECKOUT PAGE STYLES
   ============================== */

.checkout-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.checkout-form h3 {
    margin-bottom: 25px;
    color: #1d1c77;
}

.checkout-summary {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.checkout-summary h3 {
    margin-bottom: 20px;
    color: #1d1c77;
}

.order-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 5px;
    background: #f5f5f5;
}

/* ==============================
   AUTH PAGES STYLES
   ============================== */

.auth-container {
    max-width: 450px;
    margin: 60px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1d1c77;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.auth-footer a {
    color: #1d1c77;
    font-weight: 600;
}

/* ==============================
   PAGINATION STYLES
   ============================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #ffffff;
    color: #333;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
    background: #1d1c77;
    color: #ffffff;
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==============================
   FEATURE BOXES
   ============================== */

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-item i {
    font-size: 40px;
    color: #1d1c77;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 14px;
}

/* ==============================
   ALERT MESSAGES
   ============================== */

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* ==============================
   EXTRA SMALL DEVICES
   ============================== */

@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }

    .logo {
        font-size: 18px;
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .product-price {
        font-size: 18px;
    }

    .add-to-cart {
        padding: 8px;
        font-size: 12px;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets on mobile */
    .nav-link,
    .dropdown-item,
    .add-to-cart,
    .btn-primary {
        min-height: 44px;
    }

    /* Remove hover effects on touch devices */
    .product-card:hover {
        transform: none;
    }

    .product-card:hover .product-image img {
        transform: none;
    }

    .btn-primary:hover {
        transform: none;
    }

    /* Show dropdown on tap for mobile */
    .dropdown-toggle::after {
        display: inline-block;
    }
}

/* Print styles */
@media print {

    .navbar,
    .top-bar,
    .chat-widget,
    .mobile-menu-btn,
    .add-to-cart {
        display: none !important;
    }

    body {
        background: white;
    }

    .container {
        max-width: 100%;
    }
}

/* ==============================
   EXISTING STYLES (Enhanced)
   ============================== */

/* Header & Navbar */
.top-bar {
    background: linear-gradient(135deg, #121149 0%, #25237b 100%);
    color: #ffffff;
    padding: 12px 0;
    font-size: 13px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.top-bar-left {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
}

.top-bar-right {
    display: flex;
    gap: 14px;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.88);
    opacity: 0.95;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.top-bar a:hover {
    opacity: 1;
    color: #ec1210;
}

.navbar {
    background: linear-gradient(135deg, #121149 0%, #25237b 100%);
    color: #ffffff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar-main {
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    text-transform: lowercase;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.14);
}

.search-bar {
    flex: 0 1 550px;
    display: flex;
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    padding: 4px 4px 4px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
}

.search-bar input {
    border: none;
    outline: none;
    padding: 10px;
    flex: 1;
    font-family: inherit;
    background: transparent;
    color: #333333;
    font-size: 14px;
}

.search-bar input::placeholder {
    color: #999999;
}

.search-bar button {
    background: #1d1c77;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background: #2a2a8a;
}

.search-bar button i {
    color: #ffffff;
    font-size: 16px;
}

.nav-links {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    position: relative;
    border-radius: 999px;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.nav-link.nav-icon {
    padding: 10px 12px;
    border-radius: 14px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.nav-icon:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-link .cart-count {
    font-size: 12px;
    margin-left: 6px;
    font-weight: 700;
}

.nav-link i {
    font-size: 16px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 5px;
    content: "";
    border: none;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 12px;
    padding: 8px 0;
    border: 1px solid #f0f0f0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #333333;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-item i {
    color: #1d1c77;
    font-size: 14px;
    width: 20px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #1d1c77;
    padding-left: 25px;
}

.dropdown-item:hover i {
    color: #1d1c77;
}

.dropdown-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 8px 0;
}

.cart-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(29, 28, 119, 0.9), rgba(29, 28, 119, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: left;
    margin-bottom: 50px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #c0100c;
    transform: translateY(-3px);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.product-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #fbfbfb;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-category {
    font-size: 11px;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.product-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    height: 54px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 22px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.product-price .old-price {
    font-size: 15px;
    text-decoration: line-through;
    color: var(--gray);
    font-weight: 400;
}

.add-to-cart {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    font-family: inherit;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-to-cart:hover {
    background: var(--secondary-color);
}

/* Home Page Grids */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.brand-card {
    background: var(--white);
    border-radius: 24px;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.brand-card i {
    font-size: 36px;
    color: var(--primary-color);
}

.brand-card span {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.testimonial-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 28px;
    padding: 32px;
    min-width: 320px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    scroll-snap-align: start;
}

.testimonial-card:not(:last-child) {
    margin-right: 0;
}

.testimonial-text {
    color: var(--dark);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.testimonial-author strong {
    font-size: 15px;
}

.testimonial-author span {
    color: var(--gray);
    font-size: 13px;
}

.newsletter-section {
    background: linear-gradient(135deg, #1d1c77 0%, #252595 100%);
    padding: 80px 0;
}

.newsletter-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 40px 45px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: center;
    backdrop-filter: blur(18px);
}

.newsletter-card span {
    display: inline-block;
    color: #94b1ff;
    letter-spacing: 2px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.newsletter-card h2 {
    font-size: 36px;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 16px;
}

.newsletter-card p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.newsletter-form input {
    flex: 1 1 260px;
    padding: 18px 22px;
    border-radius: 16px;
    border: none;
    outline: none;
    font-size: 15px;
}

.newsletter-form button {
    background: var(--secondary-color);
    border: none;
    border-radius: 16px;
    padding: 18px 30px;
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #d11011;
}

.flash-sale-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .testimonial-slider {
        grid-auto-columns: minmax(260px, 1fr);
    }

    .newsletter-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .flash-sale-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .testimonial-card {
        min-width: 280px;
    }

    .newsletter-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Checkout Page Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-layout aside {
        position: static;
    }
}

@media (max-width: 480px) {
    .checkout-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Cart Page Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.cart-items-container {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cart-items-container {
        padding: 15px;
    }
}

/* Shop Page Layout */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 80px;
}

@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-layout aside {
        position: static;
    }
}

/* Product Details */
.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 14px;
}

.product-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

@media (max-width: 992px) {
    .product-details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Glassmorphism Utility */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--white);
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.reveal {
    animation: reveal 0.8s ease-out forwards;
}

@keyframes reveal {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .search-bar {
        flex: 0 1 300px;
    }

    .nav-links {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .search-bar {
        display: none;
    }

    .hero {
        height: auto;
        padding: 80px 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content div {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 15px;
    }

    .product-name {
        font-size: 15px;
        height: 45px;
    }

    .product-price {
        font-size: 18px;
    }

}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .hero-content div {
        flex-direction: column;
    }
}

/* Homepage redesign styles */
.category-section {
    padding: 100px 0;
    background: #fff;
}
.section-title.section-center {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 42px;
    flex-wrap: wrap;
}
.section-heading > div {
    max-width: 720px;
}
.section-heading h2 {
    font-size: clamp(2rem, 2.2vw, 2.8rem);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.05;
}
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.section-link:hover {
    color: var(--secondary-color);
}
.section-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 13px;
}
.featured-grid,
.category-cards,
.brand-list,
.testimonial-grid {
    display: grid;
    gap: 24px;
}
.featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.product-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(29, 28, 119, 0.08);
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
    border-color: rgba(29, 28, 119, 0.18);
}
.product-image {
    height: 320px;
    overflow: hidden;
    position: relative;
    background: radial-gradient(circle at top, rgba(29, 28, 119, 0.08), transparent 55%);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    transition: var(--transition);
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: 0.8px;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}
.product-info {
    padding: 28px;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #64748b;
}
.product-meta .rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f59e0b;
    font-weight: 700;
}
.product-meta .product-category {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.product-info h3,
.product-info h3 a {
    font-size: 20px;
    line-height: 1.3;
    color: var(--dark);
    margin: 0 0 14px;
}
.price-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.price-row .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}
.price-row .old {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
}
.add-to-cart {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 14px 0;
    border-radius: 16px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 700;
    transition: var(--transition);
}
.add-to-cart:hover {
    background: var(--secondary-color);
}
.promo-section {
    padding: 100px 0;
    background: var(--bg-color);
}
.promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.promo-card {
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(29, 28, 119, 0.08);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.06);
}
.promo-card-large {
    padding: 42px;
}
.promo-card-large h3 {
    font-size: clamp(2.2rem, 2.5vw, 3.6rem);
}
.promo-card-large p {
    max-width: 460px;
}
.promo-card-medium,
.promo-card-small {
    padding: 30px;
    min-height: 220px;
}
.promo-card-medium {
    background: #fff;
}
.promo-card-small {
    background: linear-gradient(145deg, #1d1c77 0%, #2f318a 100%);
    color: #fff;
}
.promo-card-small h4,
.promo-card-small p {
    color: #fff;
}
.promo-card-small .btn-secondary {
    background: #fff;
    color: #1d1c77;
}
.category-cards {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
}
.category-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #f8fafc;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(29, 28, 119, 0.08);
    transition: var(--transition);
}
.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(29, 28, 119, 0.18);
}
.category-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}
.category-copy {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.category-flag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.promo-section {
    padding: 100px 0;
    background: var(--bg-color);
}
.promo-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    align-items: center;
}
.promo-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}
.promo-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 40px;
}
.promo-card-large .promo-copy {
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: center;
}
.promo-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
}
.promo-card-large h3 {
    font-size: 46px;
    line-height: 1.05;
    margin: 0;
}
.promo-card-large p {
    color: #55617a;
    line-height: 1.8;
    max-width: 420px;
}
.promo-card-large img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
.promo-stack {
    display: grid;
    gap: 24px;
}
.promo-card-medium,
.promo-card-small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
    min-height: 220px;
}
.promo-card-medium img,
.promo-card-small img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 20px;
}
.promo-card-small {
    background: linear-gradient(135deg, #1d1c77 0%, #2c2d8f 100%);
    color: #fff;
}
.promo-card-small h4 {
    margin: 0 0 10px;
    font-size: 22px;
}
.promo-card-small p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}
.promo-card-small .btn-secondary {
    background: #fff;
    color: #1d1c77;
}
.brands-section {
    padding: 100px 0;
    background: #fff;
}
.brand-list {
    grid-template-columns: repeat(8, minmax(120px, 1fr));
}
.brand-item {
    background: #f5f6fa;
    border-radius: 18px;
    padding: 20px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    color: #1d1c77;
    transition: var(--transition);
}
.brand-item img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
    display: block;
}
.brand-item i {
    font-size: 20px;
}
.brand-item:hover {
    transform: translateY(-4px);
}
.testimonial-section {
    padding: 100px 0;
    background: #f8fafc;
}
.testimonial-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
}
.testimonial-card {
    background: #fff;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}
.testimonial-text {
    font-size: 16px;
    color: #42516b;
    line-height: 1.9;
    margin-bottom: 24px;
}
.testimonial-author strong {
    display: block;
    color: #1d1c77;
    margin-bottom: 8px;
}
.testimonial-author span {
    font-size: 14px;
    color: #6c7b95;
}
.newsletter-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1d1c77 0%, #2a2a8a 100%);
}
.newsletter-card {
    max-width: 1140px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 32px;
    padding: 40px 50px;
    box-shadow: 0 40px 90px rgba(13, 56, 106, 0.18);
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 30px;
    align-items: center;
}
.newsletter-card span {
    display: block;
    font-size: 14px;
    color: #81a5f5;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.newsletter-card h2 {
    color: #fff;
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 16px;
}
.newsletter-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 0;
}
.newsletter-form {
    display: flex;
    gap: 18px;
}
.newsletter-form input {
    flex: 1;
    border: none;
    padding: 18px 22px;
    border-radius: 14px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    outline: none;
}
.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.75);
}
.newsletter-form button {
    background: #ec1210;
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}
.newsletter-form button:hover {
    background: #c21010;
}
@media (max-width: 1024px) {
    .featured-grid,
    .category-cards,
    .brand-list,
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
    .promo-grid {
        grid-template-columns: 1fr;
    }
    .promo-card-large {
        grid-template-columns: 1fr;
    }
    .newsletter-card {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form button {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .category-cards,
    .featured-grid,
    .brand-list,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .promo-card-large {
        padding: 24px;
    }
    .promo-card-medium,
    .promo-card-small {
        flex-direction: column;
        align-items: flex-start;
    }
    .promo-card-medium img,
    .promo-card-small img {
        width: 100%;
        height: auto;
    }
    .promo-card-small {
        text-align: left;
    }
    .newsletter-card {
        padding: 24px;
    }
    .newsletter-form {
        gap: 12px;
    }
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-link {
        margin-top: 10px;
    }
}
@media (max-width: 480px) {
    .category-cards,
    .featured-grid,
    .brand-list,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .promo-card-large {
        padding: 20px;
    }
    .promo-grid {
        gap: 18px;
    }
    .newsletter-card {
        padding: 20px;
    }
    .newsletter-card h2 {
        font-size: 28px;
    }
    .category-card img {
        height: 200px;
    }
    .product-image {
        min-height: 220px;
    }
    .product-info {
        padding: 20px;
    }
    .btn-primary {
        width: 100%;
        text-align: center;
    }
}
