* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00A859;
    --primary-dark: #008544;
    --accent: #FF6B35;
    --dark: #1a1a1a;
    --gray: #666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light-gray);
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.logo span {
    color: var(--dark);
}

/* Category Navigation in Header */
.header-nav {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
    justify-content: center;
    position: relative;
}

.nav-item {
    position: relative;
}

.category-link {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
    display: block;
}

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

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

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.15s;
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1.25rem;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    white-space: nowrap;
    line-height: 1.3;
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary);
    padding-left: 1.5rem;
}

.dropdown-item.active {
    color: var(--primary);
    font-weight: 600;
}

.dropdown-divider {
    height: 1px;
    background: #eee;
    margin: 0.5rem 0;
}

.signup-btn {
    padding: 0.75rem 2rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255,107,53,0.3);
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.signup-btn:hover {
    background: #ff5722;
    box-shadow: 0 6px 16px rgba(255,107,53,0.4);
    transform: translateY(-2px);
}

.clear-filter {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.clear-filter:hover {
    text-decoration: underline;
}

/* Main Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Banner */
.hero {
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.85) 0%, rgba(0, 133, 68, 0.85) 100%), url('golf-course-top.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Brand Showcase Banner - Full Width */
.brand-showcase-banner {
    background: url('golf-course-top.png');
    background-size: cover;
    background-position: center;
    padding: 3rem 0;
    width: 100%;
}

.showcase-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.brand-showcase-banner h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.brand-showcase-banner p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.brand-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.brand-card .brand-logo {
    height: 60px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card .brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-card .product-count {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
}

.brand-showcase-cta {
    padding: 1rem 3rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
    margin-bottom: 3rem;
}

.brand-showcase-cta:hover {
    background: #ff5722;
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
    transform: translateY(-2px);
}

.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-prop {
    text-align: center;
}

.value-prop-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-prop h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.value-prop p {
    font-size: 0.95rem;
    color: var(--gray);
}

/* Trending Section & BrandFinder */
.brand-nav {
    background: var(--white);
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.brand-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.trending-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    overflow: hidden;
}

.trending-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.trending-label {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.trending-tags {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.trending-tags::-webkit-scrollbar {
    display: none;
}

.trending-tag {
    background: var(--dark);
    color: var(--white);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.trending-tag:hover {
    background: var(--primary);
}

.brandfinder-btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.brandfinder-btn:hover {
    background: var(--primary-dark);
}

.brandfinder-icon {
    font-size: 1rem;
}

/* BrandFinder Modal Content */
.search-modal-large {
    width: 90%;
    max-height: 85vh;
}

.search-input-wrapper {
    margin-bottom: 1.5rem;
}

.search-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

/* Search Results */
.search-results {
    margin-bottom: 1.5rem;
}

.search-results.hidden {
    display: none;
}

.results-header {
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--dark);
}

.results-content {
    max-height: 500px;
    overflow-y: auto;
}

.brand-group {
    margin-bottom: 2rem;
}

.brand-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.brand-group-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.brand-group-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

.brand-group-deals {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.search-result-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.search-result-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,168,89,0.2);
    transform: translateY(-2px);
}

.search-result-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
}

.search-result-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.search-result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.search-result-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.search-result-prices {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-result-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.search-result-original {
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: line-through;
}

.search-result-discount {
    background: var(--accent);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Brand Quick Access */
.brand-quick-access {
    margin-top: 2rem;
}

.brand-quick-access h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.brandfinder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}

.brandfinder-item {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}

.brandfinder-item:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.brandfinder-item.hidden {
    display: none;
}

.brandfinder-brand-name {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.25rem;
}

.brandfinder-item:hover .brandfinder-brand-name {
    color: var(--white);
}

.brandfinder-count {
    color: var(--gray);
    font-size: 0.75rem;
    display: block;
}

.brandfinder-item:hover .brandfinder-count {
    color: rgba(255,255,255,0.9);
}

.no-results {
    text-align: center;
    padding: 2rem;
    color: var(--gray);
    display: none;
}

.no-results.show {
    display: block;
}
.featured-section {
    margin-bottom: 3rem;
}

.featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary);
}

.featured-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

.featured-header h2:before {
    content: "⭐ ";
    color: var(--accent);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Featured Deal Card - Horizontal Layout */
.featured-grid .deal-card {
    display: flex;
    flex-direction: row;
    min-height: 280px;
}

.featured-grid .deal-image {
    width: 45%;
    height: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    padding: 2rem;
}

.featured-grid .deal-image img {
    object-fit: contain;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.featured-grid .deal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* All Deals Section */
.all-deals-section {
    margin-top: 3rem;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #ddd;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

/* Deals Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Deal Card */
.deal-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.deal-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.deal-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(255,107,53,0.4);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.deal-content {
    padding: 1.5rem;
}

.deal-brand {
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.deal-store {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.deal-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
    line-height: 1.3;
}

.deal-description {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.prices {
    flex: 1;
}

.current-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.original-price {
    font-size: 1.1rem;
    color: var(--gray);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.savings-box {
    text-align: right;
}

.savings-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.savings-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.deal-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.deal-btn:hover {
    background: var(--primary-dark);
}

/* Signup Card */
.signup-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,168,89,0.3);
}

.signup-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.signup-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.signup-card .signup-btn {
    background: var(--white);
    color: var(--primary);
}

.signup-card .signup-btn:hover {
    background: var(--light-gray);
}

/* Full Width Signup Card at End */
.signup-card-full {
    grid-column: 1 / -1;
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.signup-card-full h3 {
    font-size: 2.2rem;
}

.signup-card-full p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

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

.modal.active {
    display: flex;
}

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

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover {
    background: var(--light-gray);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 1.5rem 2rem;
    text-align: center;
    color: var(--white);
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.modal-header p {
    opacity: 0.95;
    font-size: 0.95rem;
    line-height: 1.3;
}

.modal-body {
    padding: 1.5rem 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.65rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

.benefits-list {
    list-style: none;
    margin: 0 0 1.25rem 0;
}

.benefits-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.3;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Loading Indicator */
.loading {
    text-align: center;
    padding: 3rem;
}

.loading.hidden {
    display: none;
}

.spinner {
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Load More Button */
.load-more {
    text-align: center;
    margin: 3rem 0;
}

.load-more.hidden {
    display: none;
}

.load-more-btn {
    padding: 1rem 3rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.load-more-btn:hover {
    background: var(--primary-dark);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results h2 {
    font-size: 2rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
}

.newsletter-submit {
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-submit:hover {
    background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .header-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        padding-top: 1rem;
        border-top: 1px solid #eee;
    }
    
    .category-nav-content,
    .brand-nav-content {
        gap: 0.5rem;
    }
    
    /* Featured cards stack vertically on mobile */
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-grid .deal-card {
        flex-direction: column;
    }
    
    .featured-grid .deal-image {
        width: 100%;
        height: 250px;
    }
    
    /* Brand showcase mobile */
    .brand-showcase-banner h2 {
        font-size: 1.6rem;
    }
    
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .value-props {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Trending section mobile */
    .brand-nav-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .trending-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        width: 100%;
    }
    
    .trending-tags {
        width: 100%;
    }
    
    .brandfinder-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Shop by Category Section */
.shop-by-category-section {
    max-width: 1400px;
    margin: 4rem auto 2rem;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin: 0;
}

.view-all-btn {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.view-all-btn:hover {
    background: #008c49;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 168, 89, 0.15);
    transform: translateY(-4px);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-name {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.category-count {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-by-category-section {
        margin: 3rem auto 1rem;
        padding: 0 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .category-name {
        font-size: 1.1rem;
    }
}

/* Category Showcase Section - Shows actual products */
.category-showcase-section {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.category-showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.category-showcase-header h2 {
    font-size: 1.75rem;
    color: #1a1a1a;
    margin: 0;
}

.view-all-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #008c49;
}

.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.showcase-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.showcase-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.showcase-card-link {
    text-decoration: none;
    display: block;
}

.showcase-image {
    position: relative;
    padding-top: 100%;
    background: white;
    overflow: hidden;
}

.showcase-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.showcase-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

.showcase-content {
    padding: 1rem;
}

.showcase-brand {
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.showcase-title {
    color: #1a1a1a;
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    min-height: 2.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.showcase-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.showcase-current {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.showcase-original {
    color: #9ca3af;
    font-size: 0.875rem;
    text-decoration: line-through;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .category-showcase-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .category-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .category-showcase-section {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .category-showcase-header h2 {
        font-size: 1.5rem;
    }
    
    .category-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .showcase-content {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .category-showcase-grid {
        grid-template-columns: 1fr;
    }
}