/* assets/css/style.css - Frontend stylesheet for Enterprise Theme Replica */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-secondary);
    color: var(--color-text);
    background-color: var(--color-bg);
}

body {
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout --- */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* --- Buttons & Inputs --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-secondary);
}

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

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(242, 90, 56, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--color-bg-secondary);
    border-color: var(--color-text);
}

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

.btn-dark:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
    outline: none;
    transition: var(--transition-fast);
}

.input:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px var(--color-accent-light);
}

/* --- Header / Navigation --- */
.announcement-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-links a {
    margin-left: 1.5rem;
    opacity: 0.8;
}

.announcement-links a:hover {
    opacity: 1;
}

/* Promo Banner (Flash Sale) */
.promo-banner {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.6rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 10;
}

.promo-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.promo-code {
    background: rgba(255, 255, 255, 0.2);
    border: 1px dashed var(--color-white);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: monospace;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.promo-code:hover {
    background: var(--color-white);
    color: var(--color-accent);
}

.main-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.header-grid {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 768px) {
    .header-grid {
        grid-template-columns: auto 1fr auto;
        gap: 1rem;
    }
}

.logo a {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Search Bar & Voice Search */
.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.search-form {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.search-select {
    background: transparent;
    color: var(--color-white);
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0 1rem;
    outline: none;
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    cursor: pointer;
}

.search-select option {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: var(--color-white);
    outline: none;
    font-family: var(--font-secondary);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-buttons {
    display: flex;
    align-items: center;
    padding-right: 0.5rem;
    gap: 0.5rem;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 0.25rem;
    opacity: 0.7;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    opacity: 1;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-action-item {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Secondary Navigation */
.nav-menu-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-menu-bar {
        display: none; /* simple responsive handling */
    }
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.85;
    padding: 0.5rem 0;
    display: block;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* Expert Help Tag */
.btn-expert {
    margin-left: auto;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-expert:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* =============================================
   MEGA MENU DROPDOWN
   ============================================= */
.mega-nav-container {
    display: flex;
    align-items: center;
    overflow: visible;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: stretch;
    flex: 1;
}

.nav-links > li {
    position: relative;
}

.nav-links a,
.nav-mega-trigger {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.85;
    padding: 0.65rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.nav-links a:hover,
.nav-mega-trigger:hover {
    opacity: 1;
    color: var(--color-accent);
    background: rgba(255,255,255,0.06);
}

/* Mega Dropdown Panel */
.mega-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    z-index: 999;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.5));
    animation: megaFadeIn 0.18s ease;
}

/* Wide all-categories panel */
.mega-dropdown-all {
    min-width: 860px;
    left: 0;
}

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

.nav-item-mega:hover .mega-dropdown {
    display: block;
}

.mega-dropdown-inner {
    background: #13132a;
    border: 1px solid rgba(255,255,255,0.09);
    border-top: none;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
}

/* Grid of category groups */
.mega-all-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 1.25rem;
    gap: 0.25rem;
}

.mega-all-group {
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.mega-all-group:hover {
    background: rgba(255,255,255,0.04);
}

.mega-all-parent {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    opacity: 1 !important;
    padding: 0 !important;
    background: none !important;
    margin-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 0.35rem !important;
    transition: color 0.15s ease;
}

.mega-all-parent:hover {
    color: var(--color-accent) !important;
}

.mega-all-children {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-all-children li a {
    display: block;
    font-size: 0.77rem;
    color: rgba(255,255,255,0.52);
    padding: 0.22rem 0 !important;
    opacity: 1 !important;
    background: none !important;
    transition: color 0.12s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mega-all-children li a:hover {
    color: var(--color-accent) !important;
}

.mega-more-link {
    color: var(--color-accent) !important;
    font-weight: 600;
    font-size: 0.73rem !important;
}

/* "Tüm Kategoriler" trigger button style */
.nav-cats-btn {
    background: rgba(242, 90, 56, 0.12) !important;
    border: 1px solid rgba(242, 90, 56, 0.25) !important;
    border-radius: 6px !important;
    color: var(--color-accent) !important;
    opacity: 1 !important;
    margin: 0.2rem 0.4rem 0.2rem 0 !important;
    padding: 0.45rem 0.85rem !important;
    font-weight: 600 !important;
    gap: 0.5rem !important;
}

.nav-cats-btn:hover {
    background: rgba(242, 90, 56, 0.22) !important;
    color: #fff !important;
}

/* Legacy single-category dropdown styles (kept for compatibility) */
.mega-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.2rem;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.mega-view-all {
    color: var(--color-accent) !important;
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 1 !important;
    padding: 0 !important;
    background: none !important;
}

.mega-view-all:hover {
    text-decoration: underline;
}

.mega-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0.5rem;
}

.mega-cat-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.78);
    transition: all 0.15s ease;
    opacity: 1 !important;
}

.mega-cat-item:hover {
    background: rgba(242, 90, 56, 0.12);
    color: var(--color-accent) !important;
}

.mega-cat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border-radius: 7px;
    flex-shrink: 0;
    color: rgba(255,255,255,0.5);
    transition: all 0.15s ease;
}

.mega-cat-item:hover .mega-cat-icon {
    background: rgba(242, 90, 56, 0.18);
    color: var(--color-accent);
}

.mega-cat-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.mega-cat-name {
    flex: 1;
    line-height: 1.2;
}

/* =============================================
   SIDEBAR CATEGORY TREE
   ============================================= */
.cat-tree {
    padding: 0 !important;
}

.cat-tree > li {
    list-style: none;
}

.cat-tree-parent {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cat-tree-parent:last-child {
    border-bottom: none;
}

.cat-tree-parent-row {
    display: flex;
    align-items: center;
    gap: 0;
}

.cat-tree-parent-row > a {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.55rem 0.5rem 0.55rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.15s ease;
    opacity: 0.85;
}

.cat-tree-parent-row > a:hover,
.cat-tree-parent-row > a.active {
    color: var(--color-accent);
    opacity: 1;
}

.cat-tree-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cat-tree-toggle svg {
    transition: transform 0.25s ease;
}

.cat-tree-parent.open > .cat-tree-parent-row .cat-tree-toggle svg {
    transform: rotate(180deg);
}

.cat-tree-toggle:hover {
    background: rgba(255,255,255,0.06);
    color: var(--color-accent);
}

/* Children list */
.cat-tree-children {
    list-style: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease;
    opacity: 0;
    padding-left: 0.5rem;
}

.cat-tree-children.open {
    max-height: 600px;
    opacity: 1;
    padding-bottom: 0.4rem;
}

.cat-child-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.4rem;
    font-size: 0.81rem;
    color: var(--color-text-muted);
    border-radius: 5px;
    transition: all 0.15s ease;
}

.cat-child-link svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.cat-child-link:hover,
.cat-child-link.active {
    color: var(--color-accent);
    background: rgba(242, 90, 56, 0.08);
    padding-left: 0.7rem;
}

.cat-child-link.active svg {
    opacity: 1;
    color: var(--color-accent);
}

/* --- Trust Bar --- */
.trust-bar {
    background-color: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
}

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

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        font-size: 0.8rem;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.trust-item svg {
    color: var(--color-accent);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    color: var(--color-white);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    .hero-search-card {
        display: none; /* Hide interactive card on mobile for layout space */
    }
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

/* Hero Search Card */
.hero-search-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-search-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.card-select-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    outline: none;
    font-family: var(--font-secondary);
    cursor: pointer;
    font-size: 0.9rem;
}

.card-select option {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* --- Features Section --- */
.features-section {
    padding: 5rem 0;
    background-color: var(--color-white);
    text-align: center;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.section-intro p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

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

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background-color: var(--color-bg-secondary);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border);
    box-shadow: var(--shadow-md);
}

.feature-image-mockup {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 2rem;
    border: 1px solid var(--color-border);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-image-mockup img {
    max-height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* --- Products Showcase --- */
.products-section {
    padding: 4rem 0 6rem 0;
    background-color: var(--color-bg-secondary);
}

.products-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.products-section-header h2 {
    font-size: 2rem;
}

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

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

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

/* Product Card */
.product-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    z-index: 5;
}

.product-image-container {
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #fcfcfd;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.05);
}

.product-actions-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
    border-top: 1px solid var(--color-border);
    z-index: 5;
}

.product-card:hover .product-actions-overlay {
    bottom: 0;
}

.overlay-btn {
    flex: 1;
    padding: 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.overlay-btn:first-child {
    border-right: 1px solid var(--color-border);
}

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

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.product-title {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--color-text);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--color-warning);
    margin-bottom: 1rem;
}

.product-rating span {
    color: var(--color-text-muted);
    margin-left: 0.25rem;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.price-current {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
}

.price-original {
    font-size: 0.95rem;
    text-decoration: line-through;
    color: var(--color-text-muted);
}

/* --- Slide-out Cart Drawer --- */
.cart-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.cart-drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: var(--color-white);
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.cart-drawer.active {
    right: 0;
}

.cart-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 1.3rem;
}

.cart-close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
}

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

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

/* Drawer Cart Item */
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-bg-secondary);
    padding-bottom: 1.5rem;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

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

.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cart-item-price {
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 0.25rem;
}

.cart-item-qty-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    background: var(--color-bg-secondary);
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.qty-input {
    width: 32px;
    text-align: center;
    border: none;
    font-size: 0.85rem;
    outline: none;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-remove-link {
    font-size: 0.8rem;
    color: #ef4444;
    cursor: pointer;
    text-decoration: underline;
}

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg-secondary);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.cart-summary-total {
    font-size: 1.2rem;
    color: var(--color-text);
}

.cart-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-drawer-actions .btn {
    width: 100%;
}

/* Empty Cart State */
.cart-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--color-text-muted);
}

.cart-empty svg {
    margin-bottom: 1rem;
    color: var(--color-border);
}

/* --- Quick View Modal --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 900px;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.modal-backdrop.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.modal-close:hover {
    color: var(--color-text);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }
}

.modal-image-wrapper {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    height: 400px;
}

.modal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 1rem 0;
}

.modal-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.specs-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}

.specs-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--color-text-muted);
    width: 40%;
}

/* --- Catalog Page (shop.php) --- */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    padding: 3rem 0;
}

@media (max-width: 992px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }
}

.filter-sidebar {
    background-color: var(--color-bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    height: fit-content;
}

.filter-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.filter-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-block h4 {
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

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

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

.filter-links a {
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    color: var(--color-text-muted);
}

.filter-links a:hover, .filter-links a.active {
    color: var(--color-accent);
    font-weight: 600;
}

/* Price Range Slider */
.price-range-inputs {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
}

.price-range-inputs span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.price-box {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    width: 90px;
    text-align: center;
}

/* Catalog Top Actions */
.catalog-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.catalog-actions-bar h2 {
    font-size: 1.5rem;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    background-color: var(--color-white);
    outline: none;
}

/* --- Product Detail Page (product.php) --- */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    padding: 4rem 0;
}

@media (max-width: 992px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.gallery-main {
    background-color: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    height: 500px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-details-content .price-box-detail {
    background: var(--color-bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.price-box-detail .price-current {
    font-size: 2rem;
    color: var(--color-accent);
}

.price-box-detail .price-original {
    font-size: 1.3rem;
}

.product-qty-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-actions-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.detail-actions-group .btn {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.05rem;
}

/* Accordion Tab UI */
.accordion-wrapper {
    border-top: 1px solid var(--color-border);
    margin-top: 2rem;
}

.accordion-tab {
    border-bottom: 1px solid var(--color-border);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 0;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.accordion-header::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 300;
    transition: var(--transition-fast);
}

.accordion-tab.active .accordion-header::after {
    content: '−';
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-tab.active .accordion-body {
    max-height: 500px;
}

.accordion-content {
    padding-bottom: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Checkout Layout (checkout.php) --- */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    padding: 4rem 0;
}

@media (max-width: 992px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

.checkout-section-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.checkout-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.checkout-form-grid .full-width {
    grid-column: span 2;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.payment-option {
    border: 1px solid var(--color-border);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.payment-option:hover, .payment-option.active {
    border-color: var(--color-accent);
    background-color: var(--color-accent-light);
}

.payment-option input {
    margin-top: 0.25rem;
}

.checkout-summary-box {
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.checkout-summary-items {
    margin-bottom: 2rem;
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.checkout-summary-item-name {
    font-weight: 500;
}

.checkout-summary-item-price {
    font-weight: 700;
}

.order-success-card {
    text-align: center;
    max-width: 600px;
    margin: 6rem auto;
    padding: 4rem 2rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.order-success-card h1 {
    font-size: 2.2rem;
    margin: 1.5rem 0 1rem 0;
}

.order-success-card p {
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 6rem 0 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.footer-desc {
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--color-accent);
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
}

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

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

.footer-links a {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent);
    padding-left: 5px;
}

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

.newsletter-form input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- Hero Carousel/Slider Styles --- */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 520px;
    background-color: #000;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slider navigation arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.slider-arrow-prev { left: 2rem; }
.slider-arrow-next { right: 2rem; }

/* Slider dots indicators */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* --- Product Detail Thumbnail Gallery Styles --- */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.thumbnail-item {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 80px;
    cursor: pointer;
    transition: var(--transition-fast);
    opacity: 0.6;
}

.thumbnail-item:hover, .thumbnail-item.active {
    border-color: var(--color-accent);
    opacity: 1;
}

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

/* Logo image styling in header */
.logo-img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    filter: invert(1) hue-rotate(180deg) brightness(1.4) contrast(1.1);
    mix-blend-mode: screen;
    display: inline-block;
    vertical-align: middle;
    transition: var(--transition-smooth);
}

.logo-img:hover {
    transform: scale(1.02);
    filter: invert(1) hue-rotate(180deg) brightness(1.6) contrast(1.2);
}

/* =============================================
   NAV HOT LINK
   ============================================= */
.nav-link-hot {
    color: #ff6b35 !important;
    font-weight: 600 !important;
}
.nav-link-hot:hover {
    color: #ff8c5a !important;
}

/* =============================================
   STORES PAGE
   ============================================= */
.stores-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a1a3e 100%);
    color: var(--color-white);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.stores-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(242,90,56,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.stores-hero-content {
    margin-bottom: 2.5rem;
}

.stores-hero-badge {
    display: inline-block;
    background: rgba(242,90,56,0.15);
    border: 1px solid rgba(242,90,56,0.3);
    color: #ff8c5a;
    padding: 0.35rem 1rem;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.stores-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.stores-hero p {
    font-size: 1.05rem;
    opacity: 0.75;
    max-width: 550px;
}

.stores-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stores-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.stores-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.stores-stat-lbl {
    font-size: 0.8rem;
    opacity: 0.6;
    font-weight: 500;
}

.stores-container {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.store-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-bg-secondary);
    box-shadow: var(--shadow-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.store-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.store-card-reverse {
    direction: rtl;
}

.store-card-reverse > * {
    direction: ltr;
}

.store-map-wrap {
    min-height: 380px;
    background: #eee;
    overflow: hidden;
}

.store-map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: block;
    border: none;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.store-card:hover .store-map-wrap iframe {
    filter: grayscale(0%);
}

.store-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.store-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.store-name {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.store-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.store-detail-row a {
    color: var(--color-accent);
}

.store-detail-row a:hover {
    text-decoration: underline;
}

.store-detail-icon {
    display: flex;
    align-items: center;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 1px;
}

.store-hours {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-top: 0.25rem;
}

.store-hours-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 0.6rem;
}

.store-hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.83rem;
    padding: 0.2rem 0;
    border-bottom: 1px solid var(--color-border);
}

.store-hours-row:last-child {
    border-bottom: none;
}

.hours-closed {
    color: #ef4444;
    font-weight: 600;
}

.store-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.store-feature-tag {
    background: rgba(242,90,56,0.08);
    border: 1px solid rgba(242,90,56,0.2);
    color: var(--color-accent);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.store-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.store-actions .btn {
    flex: 1;
    gap: 0.4rem;
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
}

/* CTA */
.stores-cta {
    background: linear-gradient(135deg, var(--color-accent) 0%, #c94420 100%);
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
}

.stores-cta h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.stores-cta p {
    opacity: 0.85;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.stores-cta .btn-primary {
    background: #fff;
    color: var(--color-accent);
}

.stores-cta .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .store-card,
    .store-card-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .stores-stats { gap: 1.5rem; flex-wrap: wrap; }
    .stores-hero h1 { font-size: 1.8rem; }
}

/* =============================================
   BRANDS PAGE
   ============================================= */
.brands-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a1a3e 100%);
    color: var(--color-white);
    padding: 4rem 0 3rem;
    text-align: center;
}

.brands-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0.75rem 0;
}

.brands-hero p {
    opacity: 0.7;
    font-size: 1.05rem;
}

.brands-section-title {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.brands-section-title h2 {
    font-size: 1.5rem;
}

.brands-section-title span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

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

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

.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 1.5rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-bg-secondary);
    transition: all 0.2s ease;
    text-align: center;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.brand-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid;
    font-size: 1.8rem;
}

.brand-emoji {
    font-size: 1.8rem;
    line-height: 1;
}

.brand-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.brand-card-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.brand-card-count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.brands-list-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
}

@media (max-width: 768px) { .brands-list-grid { grid-template-columns: repeat(2, 1fr); } }

.brand-list-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: background 0.15s ease;
}

.brand-list-item:hover {
    background: var(--color-bg-secondary);
    color: var(--color-accent);
}

.brand-list.page-link:hover {
    background: var(--color-bg-secondary);
    color: var(--color-accent);
}

/* =========================================
   PREMIUM UI OVERRIDES (SHOP PAGE & CARDS)
   ========================================= */

/* Premium Sidebar */
.filter-sidebar {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    align-self: start;
    position: sticky;
    top: 100px;
}
.filter-sidebar .filter-block h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px dashed #f1f5f9;
}
.filter-links a {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.filter-links a:hover {
    background: #f8fafc;
    color: var(--color-accent);
    transform: translateX(4px);
}
.filter-links a.active {
    background: rgba(242, 90, 56, 0.08);
    color: var(--color-accent);
}

/* Price Filter Inputs */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.price-box {
    width: 100%;
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.9rem;
    font-family: monospace;
    transition: all 0.2s;
    outline: none;
}
.price-box:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(242, 90, 56, 0.15);
    background: #fff;
}

/* Premium Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}
.product-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
    border-color: rgba(242, 90, 56, 0.1);
}

/* Image Container & Overlay */
.product-image-container {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1;
}
.product-image-container img {
    max-height: 100%;
    width: auto;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
}
.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

/* Actions Overlay (Glassmorphism) */
.product-actions-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    opacity: 0;
}
.product-card:hover .product-actions-overlay {
    bottom: 0;
    opacity: 1;
}
.overlay-btn {
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.overlay-btn:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Premium Badges */
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    letter-spacing: 0.5px;
}

/* Product Info */
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-cat {
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-title:hover {
    color: var(--color-accent);
}
.product-rating {
    margin-bottom: 1rem;
    color: #fbbf24;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.product-rating span {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
}
.product-pricing {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.price-current {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-accent);
    font-family: var(--font-primary);
}
.price-original {
    font-size: 0.95rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

/* Actions Bar (Top) */
.catalog-actions-bar {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.catalog-actions-bar h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    font-family: var(--font-primary);
}
.sort-select {
    padding: 0.75rem 1.2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    font-family: var(--font-secondary);
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
    transition: all 0.2s;
}
.sort-select:hover {
    border-color: #cbd5e1;
    background-color: #fff;
}
.sort-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(242, 90, 56, 0.15);
}

/* =========================================
   PREMIUM ACCOUNT DASHBOARD
   ========================================= */
.account-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 4rem;
}
@media (max-width: 992px) {
    .account-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.account-sidebar {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    position: sticky;
    top: 100px;
}
.account-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.25rem;
    text-align: left;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #475569;
    margin-bottom: 0.5rem;
}
.account-tab-btn svg {
    color: #94a3b8;
    transition: all 0.3s ease;
}
.account-tab-btn:hover {
    background: #f8fafc;
    color: var(--color-accent);
    transform: translateX(4px);
}
.account-tab-btn:hover svg {
    color: var(--color-accent);
}
.account-tab-btn.active {
    background: var(--color-primary);
    color: #ffffff;
}
.account-tab-btn.active svg {
    color: #ffffff;
}
.account-badge {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 800;
}
.account-tab-btn:not(.active) .account-badge {
    background: rgba(242, 90, 56, 0.1);
    color: var(--color-accent);
}

.account-logout-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ef4444;
    transition: all 0.3s ease;
    border: 1px dashed #fca5a5;
    background: transparent;
}
.account-logout-btn:hover {
    background: #fef2f2;
    border-color: #ef4444;
    transform: translateX(4px);
}

/* Dashboard Content Area */
.account-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    min-height: 500px;
}
.account-section-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-family: var(--font-primary);
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
}

/* Order Cards */
.order-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}
.order-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}
.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.order-info-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.order-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}
.order-info-value {
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
}
.order-info-value.highlight {
    color: var(--color-accent);
    font-size: 1.1rem;
}
.order-status-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.order-status-pending { background: #fef3c7; color: #d97706; }
.order-status-shipped { background: #dbeafe; color: #2563eb; }
.order-status-completed { background: #d1fae5; color: #059669; }
.order-status-cancelled { background: #fee2e2; color: #dc2626; }

/* Order Items Details */
.order-details-pane {
    padding: 2rem;
    background: #ffffff;
}
.order-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px dashed #e2e8f0;
}
.order-item-row:last-child {
    border-bottom: none;
}
.order-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.order-item-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    display: block;
}
.order-item-meta {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.25rem;
}
.order-item-price {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
}

/* Delivery Info Block */
.delivery-info-block {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    border: 1px dashed #cbd5e1;
}
.delivery-info-block h4 {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.delivery-info-row {
    display: flex;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.delivery-info-row strong {
    width: 80px;
    color: #64748b;
}

/* Premium Forms */
.premium-form-group {
    margin-bottom: 1.5rem;
}
.premium-label {
    font-size: 0.85rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: #334155;
}
.premium-input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: var(--font-secondary);
    outline: none;
    transition: all 0.2s;
    background: #f8fafc;
    font-weight: 500;
    color: #0f172a;
}
.premium-input:focus {
    border-color: var(--color-accent);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(242, 90, 56, 0.1);
}
.premium-input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.brand-list-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
}

.brand-list-name {
    flex: 1;
    font-weight: 500;
}

.brand-list-count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}
