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

:root {
    --primary-color: #FFB000;
    --secondary-color: #ffa602;
    --accent-color: #FF7402;
    --text-dark: #10121B;
    --text-light: #5b5f6b;
    --bg-light: #FFF9ED;
    --bg-white: #ffffff;
    --border-color: #f0e2c4;
    --success-color: #2e7d32;
    --error-color: #d32f2f;
    --brand-color: #10121B;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-size: 18px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.87);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(255, 253, 243, 0.1);
    border-bottom: 1px solid #5b5f6b;
}

.header-top {
    background: rgba(255, 176, 0, 0.6);
    color: var(--bg-light);
    font-weight: 600;
    text-align: center;
    padding: 4px 0;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    min-width: 0;
}

.brand-img {
    width: auto;
    height: 90px;
    max-width: 210px;
    object-fit: contain;
    border-radius: 0;
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--bg-white);
    cursor: pointer;
    padding: 5px 10px;
}

.menu-toggle:hover {
    color: var(--primary-color);
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--bg-white);
    cursor: pointer;
    padding: 8px 12px;
    transition: color 0.3s;
}

.search-icon:hover {
    color: var(--primary-color);
}

.search-bar {
    position: absolute;
    right: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.search-bar.active {
    width: 250px;
    opacity: 1;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--primary-color);
}

.search-submit {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 1rem;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 2;
    justify-content: center;
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-btn {
    background: none;
    border: none;
    color: var(--bg-white);
    font-weight: 700;
    font-size: 1.1rem;
    font-family: inherit;
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

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

.nav-dropdown-btn:hover::after {
    width: 100%;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-white);
    width: 270px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 8px 16px rgba(16, 18, 27, 0.15);
    z-index: 1001;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    top: 120%;
    left: -20%;
}

.nav-dropdown-content.active {
    display: block;
}

.nav-dropdown-content::-webkit-scrollbar {
    width: 8px;
}

.nav-dropdown-content::-webkit-scrollbar-track {
    background: var(--border-color);
}

.nav-dropdown-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.nav-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.nav-dropdown-content a {
    color: var(--brand-color);
    font-weight: 600;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    transition: background 0.3s, color 0.3s;
}

.nav-dropdown-content a[href*="?category="],
.mobile-nav-dropdown-content a[href*="?category="] {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.nav-dropdown-content a[href*="?category="] {
    padding-right: 24px;
}

.mobile-nav-dropdown-content a[href*="?category="] {
    padding-right: 14px;
}

.nav-dropdown-content a[href*="?category="]::before,
.mobile-nav-dropdown-content a[href*="?category="]::before {
    content: "";
    width: 40px;
    height: 1.6em;
    flex: 0 0 40px;
    background: url("../images/products/us-airpod2.jpg") center / cover no-repeat;
}

.nav-dropdown-content a[href*="?category=headsets"]::before,
.mobile-nav-dropdown-content a[href*="?category=headsets"]::before {
    background: url("../images/products/headset.jpg") center / cover no-repeat;
}

.nav-dropdown-content a[href*="?category=neckbands"]::before,
.mobile-nav-dropdown-content a[href*="?category=neckbands"]::before {
    background: url("../images/products/neckband1.webp") center / cover no-repeat;
}

.nav-dropdown-content a[href*="?category=power-banks"]::before,
.mobile-nav-dropdown-content a[href*="?category=power-banks"]::before {
    background: url("../images/products/powerbank2.jpg") center / cover no-repeat;
}

.nav-dropdown-content a[href*="?category=cables"]::before,
.mobile-nav-dropdown-content a[href*="?category=cables"]::before {
    background: url("../images/products/usb-cable.jpg") center / cover no-repeat;
}

.nav-dropdown-content a[href*="?category=phones"]::before,
.mobile-nav-dropdown-content a[href*="?category=phones"]::before {
    background: url("../images/products/selfie-light.jpg") center / cover no-repeat;
}

.nav-dropdown-content a[href*="?category=phone-stands"]::before,
.mobile-nav-dropdown-content a[href*="?category=phone-stands"]::before {
    background: url("../images/products/phone-mount.jpg") center / cover no-repeat;
}

.nav-dropdown-content a[href*="?category=laptop-stands"]::before,
.mobile-nav-dropdown-content a[href*="?category=laptop-stands"]::before {
    background: url("../images/products/laptop-stand.jpg") center / cover no-repeat;
}

.nav-dropdown-content a[href*="?category=phone-chargers"]::before,
.mobile-nav-dropdown-content a[href*="?category=phone-chargers"]::before {
    background: url("../images/products/usb-c-power-adapter.webp") center / cover no-repeat;
}

.nav-dropdown-content a[href*="?category=laptop-chargers"]::before,
.mobile-nav-dropdown-content a[href*="?category=laptop-chargers"]::before {
    background: url("../images/products/laptop-stand1.jpg") center / cover no-repeat;
}

.nav-dropdown-content a[href*="?category=speakers"]::before,
.mobile-nav-dropdown-content a[href*="?category=speakers"]::before {
    background: url("../images/products/BT-speaker1.jpg") center / cover no-repeat;
}

.nav-dropdown-content a:hover {
    background-color: var(--bg-light);
    font-weight: 700;
}

.nav-link {
    text-decoration: none;
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
}

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

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

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

.header-right {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    justify-content: flex-end;
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--bg-white);
    cursor: pointer;
    padding: 8px 12px;
    transition: color 0.3s;
}

.cart-btn:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: 0;
    background: var(--primary-color);
    color: var(--brand-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 90vw;
    height: 100%;
    background: var(--bg-white);
    padding: 20px;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

.mobile-nav-dropdown {
    margin-bottom: 10px;
}

.mobile-nav-dropdown-btn {
    background: none;
    border: none;
    color: var(--brand-color);
    font-size: 1.1rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 0;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-dropdown-content {
    display: none;
    padding-left: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.mobile-nav-dropdown-content.active {
    display: block;
}

.mobile-nav-dropdown-content::-webkit-scrollbar {
    width: 8px;
}

.mobile-nav-dropdown-content::-webkit-scrollbar-track {
    background: var(--border-color);
}

.mobile-nav-dropdown-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.mobile-nav-dropdown-link {
    text-decoration: none;
    color: var(--brand-color);
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 0;
    display: block;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s;
}

.mobile-nav-dropdown-link:hover {
    font-weight: 700;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--brand-color);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--brand-color);
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(16, 18, 27, 0.72), rgba(16, 18, 27, 0.72)), url('../images/gadgets.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 720px;
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.hero-actions .btn-secondary {
    border-color: #ffffff;
    color: #ffffff;
}

.hero-actions .btn-secondary:hover {
    background: #ffffff;
    color: var(--brand-color);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
    }
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(16, 18, 27, 0.15);
}

.product-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: var(--bg-light);
}

.product-image-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.product-image-trigger:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: -3px;
}

.product-image-dialog {
    position: fixed;
    top: 50%;
    left: 50vw;
    margin: 0;
    transform: translate(-50%, -50%);
    max-width: 96vw;
    max-height: 96vh;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
}

.product-image-dialog::backdrop {
    background: rgba(0, 0, 0, 0.85);
}

.product-image-dialog-image {
    display: block;
    max-width: 96vw;
    max-height: 96vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

.product-image-dialog-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.product-info {
    padding: 10px;
    padding-top: 0;
}

.product-name {
    display: -webkit-box;
    height: 2.5em;
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 auto;
    color: var(--text-dark);
    margin-bottom: -2px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: var(--brand-color);
    border: none;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.add-to-cart:hover {
    background: var(--secondary-color);
}

/* Homepage Introduction */
.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    color: var(--accent-color);
    background: rgba(255, 176, 0, 0.1);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 15px;
}

.section-subtitle {
    max-width: 760px;
    margin: -20px auto 40px;
    text-align: center;
    color: var(--text-light);
    line-height: 1.8;
}

.intro-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    padding: 50px 20px 10px;
}

.intro-content h2 {
    font-size: 2.1rem;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.intro-content p {
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 16px;
}

.intro-list {
    list-style: none;
    margin: 20px 0 28px;
    display: grid;
    gap: 12px;
}

.intro-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.intro-list i {
    color: var(--primary-color);
    margin-top: 6px;
}

.intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--brand-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-secondary:hover {
    background: var(--brand-color);
    color: white;
}

.btn-backpage {
    margin-top: 15px;
    padding: 6px 12px;
}

.intro-media {
    position: relative;
}

.intro-media img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(45, 45, 45, 0.18);
    display: block;
}

.intro-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    max-width: 260px;
    background: rgba(255, 255, 255, 0.96);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 14px 18px;
    box-shadow: 0 10px 25px rgba(45, 45, 45, 0.18);
}

.intro-badge strong {
    display: block;
    color: var(--brand-color);
    font-size: 1rem;
    margin-bottom: 4px;
}

.intro-badge span {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Gadget Showcase */
.showcase-section {
    padding: 50px 20px 20px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.showcase-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(16, 18, 27, 0.18);
}

.showcase-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.showcase-card:hover img {
    transform: scale(1.05);
}

.showcase-info {
    padding: 22px;
}

.showcase-info h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.showcase-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.showcase-info a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--accent-color);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

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

/* Promo Banners */
.promo-section {
    padding: 30px 20px 10px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.promo-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--brand-color);
    box-shadow: 0 12px 30px rgba(16, 18, 27, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(16, 18, 27, 0.2);
}

.promo-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    opacity: 0.88;
    transition: transform 0.4s, opacity 0.3s;
}

.promo-card:hover img {
    transform: scale(1.04);
    opacity: 1;
}

.promo-card span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 20px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    background: linear-gradient(transparent, rgba(16, 18, 27, 0.9));
}

/* Category Filters */
.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 35px;
}

.category-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-white);
    color: var(--brand-color);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.home-chip {
    font-size: 1rem;
    font-weight: 700;
    border-color: var(--primary-color);
    background-color: var(--bg-light);
}

.notify-info {
    margin-top: -2rem;
    justify-items: center;
    text-align: center;
}

.category-chip:hover,
.category-chip.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--brand-color);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 45px 20px;
    color: var(--text-light);
    background: var(--bg-light);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
}

.empty-state a {
    color: var(--accent-color);
    font-weight: 700;
}

/* Product Features */
.features-section {
    background: var(--bg-light);
    padding: 70px 0;
    margin-top: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px 24px 28px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 15px 30px rgba(16, 18, 27, 0.15);
}

.feature-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: rgba(255, 176, 0, 0.1);
    color: var(--primary-color);
    font-size: 1.9rem;
}

.feature-card h3 {
    font-size: 1.12rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    padding: 70px 0 0;
}

.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0 22px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item[open] {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(45, 45, 45, 0.08);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 0;
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.85rem;
    color: var(--primary-color);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    margin: 0;
    padding: 0 0 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Complimentary Card */
.complimentary-section {
    padding: 70px 0 0;
}

.complimentary-wrap {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.complimentary-card {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-white);
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 249, 237, 0.84)),
        url("../images/njoy-product-category-icons.png");
    background-position: center, center bottom;
    background-repeat: no-repeat;
    background-size: cover, 100% auto;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 34px 58px;
    text-align: left;
    box-shadow: 0 18px 45px rgba(16, 18, 27, 0.12);
}

.complimentary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, var(--brand-color) 0 70%, var(--primary-color) 70% 100%);
}

.complimentary-card::after {
    content: '';
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 176, 0, 0.12), transparent 70%);
    pointer-events: none;
}

.complimentary-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px dashed var(--border-color);
}

.complimentary-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(16, 18, 27, 0.15);
    flex-shrink: 0;
}

.complimentary-brand-text {
    display: flex;
    flex-direction: column;
}

.complimentary-brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--brand-color);
}

.complimentary-brand-sub {
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.complimentary-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px 26px;
}

.complimentary-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.complimentary-item i {
    width: 20px;
    margin-top: 3px;
    text-align: center;
    font-size: 1.05rem;
    color: var(--primary-color);
}

.complimentary-item span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    word-break: break-word;
}

.complimentary-item small {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.complimentary-item a {
    color: var(--text-dark);
    text-decoration: none;
}

.complimentary-item a:hover {
    color: var(--primary-color);
}

.complimentary-download {
    position: absolute;
    right: 24px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--brand-color);
    color: white;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(16, 18, 27, 0.3);
    transition: background 0.3s, transform 0.3s;
    z-index: 1;
}

.complimentary-download:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.complimentary-download:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.complimentary-note {
    max-width: 620px;
    margin: 18px auto 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-light);
}

.complimentary-note i {
    margin-right: 4px;
    color: var(--brand-color);
}

.complimentary-status {
    min-height: 1.4em;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--success-color);
    opacity: 0;
    transition: opacity 0.2s;
}

.complimentary-status.visible {
    opacity: 1;
}

.complimentary-status.error {
    color: var(--error-color);
}

/* Payment Details */
.payment-section {
    padding: 45px 0 0;
}

.payment-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.payment-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-light);
}

.payment-details h3 {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.payment-account-list {
    display: grid;
    gap: 16px;
    margin: 0;
}

.payment-account-list dt {
    margin-bottom: 3px;
    color: var(--accent-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.payment-account-list dd {
    margin: 0;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.payment-account-number {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-dark);
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    text-underline-offset: 4px;
}

.payment-account-number:hover,
.payment-account-number:focus-visible {
    color: #a96800;
}

.payment-copy-hint {
    margin: 18px 0 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.payment-copy-status {
    min-height: 1.4em;
    margin: 4px 0 0;
    color: var(--success-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.payment-copy-status.error {
    color: var(--error-color);
}

.payment-image {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(16, 18, 27, 0.15);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: #ccc;
    margin-top: 80px;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 30px;
    display: grid;
    grid-template-columns: 1fr 150px 200px;
    gap: 20px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-section p:nth-child(3) {
    margin-left: 3px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 2px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border-top: 1px solid #444;
    background: #1a1a1a;
    font-size: 0.9rem;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.cart-modal.active {
    display: flex;
}

.cart-modal-content {
    background: var(--bg-white);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 2px solid var(--border-color);
}

.cart-modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.cart-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
}

.cart-items {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.qty-btn {
    background: none;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: bold;
}

.qty {
    padding: 0 10px;
    min-width: 30px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--error-color);
    cursor: pointer;
    margin-left: auto;
}

.cart-total {
    padding: 20px;
    border-top: 2px solid var(--border-color);
    text-align: right;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.checkout-btn {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 15px;
    background: var(--primary-color);
    color: var(--brand-color);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: var(--accent-color);
}

/* Checkout Page */
.checkout-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.checkout-form {
    background: var(--bg-white);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-order-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--brand-color);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-order-btn:hover {
    background: var(--accent-color);
}

.checkout-note {
    margin: -20px 0 24px;
    color: var(--text-light);
    text-align: center;
}

.checkout-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.checkout-unavailable,
.checkout-empty {
    color: var(--error-color);
}

.receipt-panel {
    margin-bottom: 40px;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
}

.receipt-panel h2 {
    margin-bottom: 8px;
}

.receipt-panel>p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.receipt-text {
    overflow-x: auto;
    margin-bottom: 20px;
    padding: 18px;
    border-radius: 6px;
    background: var(--bg-light);
    color: var(--text-dark);
    font: 0.9rem/1.6 Consolas, monospace;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.receipt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.receipt-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 0;
    border-radius: 5px;
    background: var(--primary-color);
    color: var(--brand-color);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.receipt-action:hover {
    background: var(--accent-color);
}

.receipt-whatsapp {
    background: #25d366;
    color: #ffffff;
}

.receipt-whatsapp:hover {
    background: #1da851;
}

/* Order Success */
.order-success {
    text-align: center;
    padding: 60px 20px;
    max-width: 600px;
    margin: 40px auto;
}

.order-success i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.order-success h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.order-success p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.back-home {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--bg-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.back-home:hover {
    background: var(--accent-color);
}

/* Page Content */
.page-content {
    max-width: 900px;
    margin: 20px auto 0;
    padding: 0 20px;
}

.page-content h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.page-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--text-dark);
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

.page-content ul {
    margin: 15px 0 15px 30px;
    color: var(--text-light);
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.page-content1 {
    margin-top: 40px;
}

/* Responsive Design */

@media (min-width: 769px) and (max-width: 800px) {
    .header-main {
        height: 72px;
        gap: 8px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .header-left {
        gap: 8px;
    }

    .brand-img {
        width: auto;
        height: 58px;
        max-width: 160px;
    }

    .header-nav {
        gap: 12px;
    }

    .nav-dropdown-btn,
    .nav-link {
        font-size: 0.95rem;
    }

    .search-icon,
    .cart-btn {
        padding: 6px 8px;
    }

    .search-bar.active {
        width: 180px;
    }
}

@media (max-width: 992px) {
    .intro-section {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .intro-content h2 {
        font-size: 1.8rem;
    }

    .intro-media img {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .header-main {
        height: 74px;
    }

    .menu-toggle {
        display: block;
    }

    .header-nav {
        display: none;
    }

    .brand-img {
        width: auto;
        height: 60px;
        max-width: 170px;
    }

    .search-bar.active {
        width: 200px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .intro-section {
        padding: 50px 20px 50px;
    }

    .intro-media img {
        height: 320px;
    }

    .showcase-section {
        padding: 50px 20px 10px;
    }

    .features-section {
        padding: 50px 0;
        margin-top: 35px;
    }

    .faq-section {
        padding-top: 50px;
    }

    .complimentary-section {
        padding-top: 50px;
    }

    .payment-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .payment-image {
        max-width: 340px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-row {
        grid-template-columns: 3fr;
    }

    .checkout-form {
        padding: 20px;
    }

}

@media (max-width: 540px) {
    .header-main {
        height: 66px;
    }

    .header-top {
        display: none;
    }

    .header-left {
        gap: 10px;
    }

    .brand-img {
        width: auto;
        height: 52px;
        max-width: 145px;
    }

    .search-bar.active {
        width: 150px;
    }

    .search-input {
        padding: 8px 35px 8px 12px;
        font-size: 0.85rem;
    }

    .container {
        padding: 0 15px;
    }

    .intro-section {
        padding: 50px 15px 45px;
    }

    .intro-content h2 {
        font-size: 1.55rem;
    }

    .intro-actions .btn-primary,
    .intro-actions .btn-secondary {
        width: 100%;
    }

    .intro-media img {
        height: 280px;
    }

    .intro-badge {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .showcase-section {
        padding: 20px 15px 10px;
    }

    .showcase-card img {
        height: 190px;
    }

    .faq-item {
        padding: 0 16px;
    }

    .faq-item summary {
        font-size: 0.95rem;
    }

    .complimentary-section {
        padding-top: 45px;
    }

    .complimentary-card {
        padding: 26px 22px 64px;
    }

    .complimentary-brand-name {
        font-size: 1.35rem;
    }

    .complimentary-details {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .complimentary-download {
        right: 18px;
        bottom: 16px;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cart-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .promo-section {
        padding-top: 40px;
    }

}