/* Dark Theme - Base Theme */
:root {
    --bg-primary: #000000;
    --bg-secondary: var(--surface100, #1a1a1a);
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: var(--surface100-primary-text, #cccccc);
    --accent: var(--brand-color, #ff3f19);
    --accent-hover: var(--brand-color, #ff3f19);
    --border: var(--border-color, #333333);
    --shadow: rgba(0, 0, 0, 0.5);
    
    /* Use theme variables if available, otherwise defaults */
    --brand-color: var(--brand-color, #ff3f19);
    --surface0: var(--surface0, #101010);
    --surface100: var(--surface100, #141414);
    --surface200: var(--surface200, #141414);
    --surface300: var(--surface300, #141414);
    --button-height: var(--button-height, 40px);
    --input-height: var(--input-height, 40px);
    --base-border-radius: var(--base-border-radius, 15px);
    --input-border-radius: var(--input-border-radius, 15px);
    --button-border-radius: var(--button-border-radius, 15px);
    --store-width: var(--store-width, 1600px);
}

* {
    font-family: 'Bricolage Grotesque', sans-serif;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Bricolage Grotesque', sans-serif;
}

.top-banner {
    background-color: var(--brand-color, #ff3f19);
    color: var(--brand-primary-text, #ffffff);
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.main-header {
    background-color: var(--surface100, #141414);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color, #353535);
    border-top: 1px solid var(--border-color, #353535);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--store-width, 1600px);
    margin: 0 auto;
    padding: 0 30px;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.site-logo {
    height: 32px;
    max-width: 60px;
    width: auto;
    object-fit: scale-down;
    border-radius: 4px;
    display: block;
}

.site-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.search-section {
    flex: 1;
    max-width: 400px;
}

.search-form {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 8px 40px 8px 12px;
    background-color: var(--input-bg, #141414);
    border: 1px solid var(--input-border, #353535);
    color: var(--input-text, #959595);
    border-radius: var(--input-border-radius, 15px);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 14px;
    font-weight: 400;
    height: var(--input-height, 40px);
    box-sizing: border-box;
}

.search-input:hover {
    background-color: var(--input-bg-hover, #161616);
    border-color: var(--input-border-hover, #353535);
    color: var(--input-text-hover, #959595);
}

.search-input::placeholder {
    color: var(--input-placeholder, #707070);
}

.search-input:hover::placeholder {
    color: var(--input-placeholder-hover, #707070);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Bricolage Grotesque', sans-serif;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 20px;
    height: 20px;
    z-index: 1;
}

.search-btn svg {
    width: 16px;
    height: 16px;
}

.search-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-section a {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-section a:hover {
    color: var(--text-primary);
}

.cart-wrapper {
    position: relative;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    cursor: pointer;
}

.cart-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--surface100, #141414);
    border: 1px solid var(--border-color, #353535);
    border-radius: var(--base-border-radius, 15px);
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 16px;
}

.cart-wrapper:hover .cart-dropdown {
    display: block;
}

.cart-dropdown-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color, #353535);
}

.cart-dropdown-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--surface200, #2a2a2a);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 14px;
    color: var(--text-primary, #fff);
    font-weight: 500;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-item-quantity {
    font-size: 12px;
    color: var(--text-secondary, #959595);
}

.cart-dropdown-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color, #353535);
}

.btn-view-cart {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--button-primary-bg, #ff3f19);
    color: var(--button-primary-text, #fff);
    text-align: center;
    border-radius: var(--button-border-radius, 15px);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view-cart:hover {
    background: var(--button-primary-bg-hover, #ff5555);
}

.welcome-section {
    text-align: center;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 40px auto;
    border: 1px solid #333333;
    border-radius: 8px;
    background-color: #1a1a1a;
    font-family: 'Bricolage Grotesque', sans-serif;
}

.welcome-section h1 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    text-align: center;
}

.welcome-section p {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 12px;
    color: #ffffff;
    line-height: 1.4;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .welcome-section p {
        font-size: 11px;
        white-space: normal;
    }
}

/* Page Sections Spacing and Alignment */
.page-section {
    margin-bottom: 60px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.page-section:last-child {
    margin-bottom: 0;
}

.section-container {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure all sections align consistently */
section, .section, [class*="section"] {
    max-width: var(--store-width, 1600px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
}

/* Section Titles and Descriptions - Matching Reference */
.section-title {
    font-size: 3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px 0;
    font-family: 'Bricolage Grotesque', sans-serif;
    line-height: 1.2;
    text-align: center;
    white-space: pre-line;
    word-break: break-word;
}

.section-description,
.section-subtitle {
    font-size: 14px;
    color: #959595;
    margin: 0 0 30px 0;
    font-family: 'Bricolage Grotesque', sans-serif;
    line-height: 1.6;
    text-align: center;
    white-space: pre-line;
    word-break: break-word;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-description,
    .section-subtitle {
        font-size: 13px;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background-color: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow);
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 18px;
    margin: 10px 0;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--accent);
}

.btn-buy-now {
    background-color: var(--button-primary-bg, #ff3f19);
    background: linear-gradient(to bottom, var(--button-primary-bg, #ff3f19), var(--button-primary-bg-accent, #ff3f19));
    color: var(--button-primary-text, #ffffff);
    border: 1px solid var(--button-primary-border, transparent);
    padding: 10px 20px;
    border-radius: var(--button-border-radius, 15px);
    cursor: pointer;
    font-weight: 600;
    font-family: 'Bricolage Grotesque', sans-serif;
    transition: all 0.3s;
    height: var(--button-height, 40px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-buy-now:hover {
    background: linear-gradient(to bottom, var(--button-primary-bg-hover, #ff3f19), var(--button-primary-bg-hover-accent, #ff3f19));
    color: var(--button-primary-text-hover, #ffffff);
    border-color: var(--button-primary-border-hover, transparent);
}

.main-footer {
    background-color: var(--bg-secondary);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-content a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-content a:hover {
    color: var(--accent);
}


