:root {
    --primary: #0b7a3b;
    --dark: #111827;
    --text: #374151;
    --muted: #6b7280;
    --light: #f5f7f6;
    --white: #ffffff;
    --border: #e5e7eb;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 99;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
}

.main-nav a {
    font-weight: 600;
    color: var(--dark);
}

.mobile-menu-toggle {
    display: none;
    border: 0;
    background: var(--primary);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
}

.hero-section {
    background: linear-gradient(135deg, #eaf8ef, #ffffff);
    padding: 80px 0;
}

.hero-inner {
    max-width: 720px;
}

.hero-section h1 {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.1;
    margin: 0 0 20px;
    color: var(--dark);
}

.hero-section p {
    font-size: 20px;
    color: var(--muted);
}

.hero-search {
    margin-top: 30px;
    display: flex;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 620px;
}

.hero-search input {
    flex: 1;
    border: 0;
    padding: 18px;
    font-size: 16px;
}

.hero-search button,
.newsletter-form button,
.coupon-button,
.visit-store {
    background: var(--primary);
    color: white;
    border: 0;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
}

.section {
    padding: 70px 0;
}

.grey-section {
    background: var(--light);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-heading h2 {
    margin: 0;
    font-size: 32px;
    color: var(--dark);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.brand-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: 0.2s ease;
}

.brand-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.brand-card img {
    height: 70px;
    object-fit: contain;
}

.brand-card h3 {
    font-size: 16px;
    margin: 14px 0 0;
    color: var(--dark);
}

.coupon-list {
    display: grid;
    gap: 18px;
}

.coupon-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.coupon-card h3 {
    margin: 8px 0;
    color: var(--dark);
}

.coupon-badge {
    display: inline-block;
    background: #eaf8ef;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
}

.coupon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--muted);
    font-size: 14px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: white;
}

.blog-card h3,
.blog-card h2,
.blog-card p {
    padding: 0 18px;
}

.blog-card h3,
.blog-card h2 {
    color: var(--dark);
}

.brand-hero,
.archive-hero {
    background: var(--light);
    padding: 60px 0;
}

.brand-hero-inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand-logo-box {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    width: 180px;
    text-align: center;
    border: 1px solid var(--border);
}

.brand-logo-box img {
    max-height: 100px;
    object-fit: contain;
}

.rating {
    font-weight: 700;
    color: var(--primary);
}

.layout-two-col {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.sidebar-box {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    align-self: start;
}

.single-coupon-box {
    max-width: 760px;
}

.coupon-button.large {
    font-size: 18px;
    padding: 16px 28px;
}

.site-footer {
    background: var(--dark);
    color: white;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
}

.footer-grid a {
    color: #d1d5db;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 0;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding: 20px;
    color: #d1d5db;
}

.coupon-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.coupon-popup.active {
    display: flex;
}

.coupon-popup-box {
    background: white;
    border-radius: 18px;
    padding: 30px;
    max-width: 420px;
    width: 92%;
    text-align: center;
}

.coupon-code-box {
    border: 2px dashed var(--primary);
    padding: 14px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin: 20px 0;
}

.close-popup {
    background: #111827;
    color: white;
    border: 0;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-grid,
    .layout-two-col,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .coupon-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav.active {
        display: block;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }

    .main-nav.active ul {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-search {
        flex-direction: column;
    }

    .hero-search button {
        border-radius: 0;
    }

    .brand-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*brand css start */
.store-page {
    background: #0f0f0f;
    color: #e5e7eb;
    padding: 40px 0 70px;
}

.store-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
}

.store-sidebar {
    display: grid;
    gap: 18px;
    align-self: start;
}

.store-logo-card,
.sidebar-widget,
.store-header-box,
.store-content-box,
.similar-brands-section,
.popular-brands-section {
    background: #181818;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 20px;
}

.store-logo-card {
    text-align: center;
}

.store-logo-card img {
    max-height: 90px;
    object-fit: contain;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.store-logo-card h2 {
    font-size: 20px;
    color: #fff;
}

.store-rating {
    color: #22c55e;
    font-weight: 700;
    margin-bottom: 14px;
}

.store-visit-btn {
    display: block;
    background: #0d6efd;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
}

.sidebar-widget h3,
.store-header-box h1,
.store-content-box h2,
.similar-brands-section h2,
.popular-brands-section h2 {
    color: #fff;
}

.store-info-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.store-info-list li {
    border-bottom: 1px solid #2a2a2a;
    padding: 9px 0;
    font-size: 14px;
}

.store-main {
    display: grid;
    gap: 20px;
}

.store-header-box h1 {
    margin-top: 0;
    font-size: 30px;
}

.store-coupon-card {
    background: #181818;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 18px;
    display: grid;
    grid-template-columns: 90px 1fr 150px;
    align-items: center;
    gap: 18px;
}

.discount-box {
    border: 1px dashed #0d6efd;
    border-radius: 8px;
    padding: 16px 8px;
    text-align: center;
    color: #3b82f6;
    font-size: 20px;
}

.verified-badge {
    color: #22c55e;
    font-size: 13px;
    font-weight: 700;
}

.coupon-content h3 {
    margin: 4px 0;
    color: #fff;
    font-size: 18px;
}

.coupon-content p {
    margin: 0 0 8px;
    color: #cbd5e1;
}

.store-content-box {
    line-height: 1.8;
}

.store-content-box h2,
.store-content-box h3 {
    color: #fff;
    margin-top: 28px;
}

.store-content-box a {
    color: #60a5fa;
}

.similar-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.small-brand-card {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
}

.small-brand-card img {
    height: 45px;
    object-fit: contain;
    background: white;
    padding: 6px;
    border-radius: 6px;
}

.small-brand-card span {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 14px;
}

.empty-box {
    background: #181818;
    border: 1px solid #2a2a2a;
    padding: 20px;
    border-radius: 10px;
}

@media (max-width: 900px) {
    .store-layout {
        grid-template-columns: 1fr;
    }

    .store-coupon-card {
        grid-template-columns: 1fr;
    }

    .similar-brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/*brand css End */
