/* --- Root Variables & Reset --- */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-bg: #f6f6f6;
    --gray-border: #e5e5e5;
    --gray-text: #666666;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--white);
    color: var(--black);
    line-height: 1.5;
}

/* --- Top Promo Bar --- */
.promo-bar {
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- Header & Navigation --- */
.main-header {
    border-bottom: 1px solid var(--gray-border);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
    color: var(--black);
}

.logo span {
    font-weight: 300;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.consult-link {
    text-decoration: none;
    color: var(--black);
    font-size: 13px;
    font-weight: 600;
}

.cart-btn {
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    background: var(--black);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 2px;
}

/* Category Navigation */
.cat-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 12px 20px;
    border-top: 1px solid var(--gray-border);
    overflow-x: auto;
    white-space: nowrap;
}

.cat-nav a {
    text-decoration: none;
    color: var(--black);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cat-nav a:hover {
    text-decoration: underline;
}

/* --- Hero Banner --- */
.hero-banner {
    background-color: var(--gray-bg);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-border);
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.sub-headline {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gray-text);
}

.hero-banner h1 {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 1px;
    margin: 10px 0;
}

.hero-banner p {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 24px;
}

.cta-black {
    display: inline-block;
    background-color: var(--black);
    color: var(--white);
    padding: 12px 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Category Pills --- */
.category-pills {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.pill-card {
    border: 1px solid var(--black);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.pill-card:hover {
    background: var(--black);
    color: var(--white);
}

.pill-card h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Brand Spotlight Section --- */
.brand-spotlight {
    background: var(--black);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
    margin: 40px 0;
}

.spotlight-text {
    max-width: 600px;
    margin: 0 auto;
}

.brand-tag {
    font-size: 11px;
    letter-spacing: 2px;
    color: #888;
}

.brand-spotlight h2 {
    font-size: 28px;
    letter-spacing: 1px;
    margin: 10px 0;
}

.brand-spotlight p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 24px;
}

.cta-outline {
    display: inline-block;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 12px 28px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-outline:hover {
    background: var(--white);
    color: var(--black);
}

/* --- Product Catalog --- */
.catalog-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 24px;
    letter-spacing: 1px;
}

.section-header p {
    font-size: 13px;
    color: var(--gray-text);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid var(--gray-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--gray-bg);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.brand-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 5px 0;
}

.category-tag {
    font-size: 11px;
    color: var(--gray-text);
    margin-bottom: 8px;
}

.price {
    font-size: 15px;
    font-weight: 800;
    margin-top: auto;
    margin-bottom: 12px;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

/* --- Cart Slide-out Modal --- */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: flex-end;
}

.cart-content {
    background: var(--white);
    width: 100%;
    max-width: 400px;
    height: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 15px;
}

.cart-header h2 {
    font-size: 16px;
    letter-spacing: 1px;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
}

.cart-items-list {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-border);
    padding: 10px 0;
    font-size: 13px;
}

.cart-footer {
    border-top: 1px solid var(--gray-border);
    padding-top: 15px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 12px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    cursor: pointer;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 12px;
    }
    .hero-banner h1 {
        font-size: 26px;
    }
}