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

button, input, select, textarea {
    font-family: inherit;
}

:root {
    --primary: #c2185b;
    --primary-light: #ad1457;
    --secondary: #f5f5f5;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.12);
    --radius: 4px;
}

body {
    font-family: 'Jost', sans-serif, Arial, Helvetica, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 2rem;
    font-size: 0.85rem;
}

.header-top-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-top-left span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-top-right {
    display: flex;
    gap: 1rem;
}

.header-top-right a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.header-top-right a + a::before {
    content: '|';
    margin-right: 0.5rem;
    opacity: 0.5;
}

.header-top-right a:hover {
    opacity: 1;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.language-btn:hover {
    background: rgba(255,255,255,0.25);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.language-switcher:hover .language-dropdown,
.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--text-dark) !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.language-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.language-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
}

.language-dropdown a:hover {
    background: var(--secondary);
}

.language-dropdown a.active {
    background: var(--primary);
    color: var(--white) !important;
}

.lang-flag {
    font-size: 1rem;
}

.header-main {
    padding: 0 2rem;
    border-bottom: 1px solid #00000014;
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}



.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.logo-img {
    max-height: 72px;
    width: auto;
    object-fit: contain;
}

.search-box {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    padding-right: 50px;
    border: 2px solid var(--third);
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.search-box button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.search-box button:hover {
    background: var(--primary-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 14px 0;
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: color 0.3s;
    position: relative;
}

.header-action:hover {
    color: var(--primary);
}

.header-action-icon {
    width: 44px;
    height: 44px;
    background: var(--third);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.header-action:hover .header-action-icon {
    background: var(--primary);
    color: #fff;
}
.header-action:hover .header-action-icon svg {
    stroke: #fff;
}

.header-action-icon svg {
    width: 22px;
    height: 22px;
}

.header-action span {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

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

/* Cart Dropdown */
.cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 15px;
}

.cart-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: var(--white);
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0,0,0,0.05);
}

.header-action:hover .cart-dropdown,
.cart-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.cart-dropdown-header h4 {
    font-size: 1rem;
    color: var(--text-dark);
}

.cart-dropdown-header span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.cart-dropdown-items {
    max-height: 300px;
    overflow-y: auto;
}

.cart-dropdown-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--third);
    transition: background 0.2s;
}

.cart-dropdown-item:hover {
    background: #f8fafc;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image svg {
    width: 30px;
    height: 30px;
    stroke: #94a3b8;
}

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

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-qty {
    font-size: 0.8rem;
    color: var(--text-light);
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: #ef4444;
}

.cart-dropdown-footer {
    padding: 1rem 1.25rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-total span:first-child {
    color: var(--text-light);
}

.cart-total span:last-child {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.cart-dropdown-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-cart-view,
.btn-cart-checkout {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
}

.btn-cart-view {
    background: var(--third);
    color: var(--text-dark);
    border: none;
}

.btn-cart-view:hover {
    background: var(--secondary);
}

.btn-cart-checkout {
    background: var(--primary);
    color: var(--white);
    border: none;
}

.btn-cart-checkout:hover {
    background: var(--primary-light);
}

/* Search Results Dropdown */
.search-box {
    position: relative;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-results-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--third);
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
}

.search-group-title {
    padding: 0.5rem 1rem 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    border-top: 1px solid var(--third);
}
.search-group-title:first-child {
    border-top: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: #f8fafc;
}
.search-result-item:hover .search-result-name {
    color: var(--secondary);
}

.search-result-image {
    width: 50px;
    height: 50px;
    background: var(--third);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.search-result-image svg {
    width: 24px;
    height: 24px;
    stroke: #94a3b8;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 0.2rem;
}

.search-result-category {
    font-size: 0.8rem;
    color: var(--text-light);
}

.search-result-price {
    font-weight: 600;
    color: var(--primary);
}

.search-no-results {
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
}

.search-loading {
    padding: 2rem;
    text-align: center;
}

.search-loading .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--secondary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Auth Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.auth-modal {
    background: #fff;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
    margin: 1rem;
}

.modal-overlay.active .auth-modal {
    transform: scale(1) translateY(0);
}

.auth-modal-header {
    padding: 1.25rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-modal-close {
    width: 36px;
    height: 36px;
    border: 1px solid #eee;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.auth-modal-close:hover {
    background: #f5f5f5;
    border-color: #ddd;
}

.auth-modal-close svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-dark);
}

.auth-tabs {
    display: flex;
    padding: 1rem 1.5rem;
    gap: 0;
    border-bottom: 2px solid #eee;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.auth-tab.active {
    background: transparent;
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-form {
    padding: 1.25rem 1.5rem 1.5rem;
    display: none;
}

.auth-form.active {
    display: block;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
    font-family: inherit;
}

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

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.form-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
}

.form-link:hover {
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 12px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
    font-family: inherit;
}

.btn-auth:hover {
    background: var(--primary-light);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

.social-auth {
    display: flex;
    gap: 0.75rem;
}

.btn-social {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.3s;
}

.btn-social:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-social svg {
    width: 20px;
    height: 20px;
}

.header-nav {
    background: var(--white);
    border-bottom: 2px solid var(--third);
    padding: 0.75rem 2rem;
}

.header-nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-promo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--secondary);
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px;
}

.mobile-search-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.mobile-search-btn svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-dark);
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white, #fff);
    border-top: 1px solid #e2e8f0;
    justify-content: space-around;
    align-items: center;
    padding: 0.4rem 0;
    padding-bottom: max(0.4rem, env(safe-area-inset-bottom));
}
.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.65rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0.25rem 0.5rem;
    position: relative;
    transition: color 0.2s;
}
.mobile-bottom-item svg {
    width: 22px;
    height: 22px;
}
.mobile-bottom-item:hover,
.mobile-bottom-item:active {
    color: var(--primary);
}
.mobile-bottom-cart {
    position: relative;
}
.mobile-cart-badge {
    position: absolute;
    top: 0;
    right: 0.15rem;
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    z-index: 1600;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    padding: 10px 5px;
    border-bottom: 1px solid var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-close svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

.mobile-nav-user {
    padding: 1.25rem;
    background: var(--secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}

.mobile-nav-user-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-user-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.mobile-nav-user-info h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.mobile-nav-user-info a {
    font-size: 0.85rem;
    color: #fff;
    background: #000;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
}

.mobile-nav-links {
    list-style: none;
    padding: 0.5rem 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid var(--third);
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-nav-links a:hover {
    background: var(--secondary);
    color: var(--primary);
}

.mobile-nav-links a svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-light);
}

.mobile-nav-links a:hover svg {
    stroke: var(--primary);
}

/* Mobile nav sub menu */
.mobile-nav-sub {
    list-style: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}
.mobile-nav-has-sub.open .mobile-nav-sub {
    max-height: 500px;
}
.mobile-nav-has-sub.open .mobile-nav-arrow {
    transform: rotate(180deg);
}
.mobile-nav-arrow {
    transition: transform 0.3s;
}
.mobile-nav-sub a {
    padding: 0.7rem 1.25rem 0.7rem 3.5rem;
    font-size: 0.9rem;
    font-weight: 400;
}
.mobile-nav-sub li {
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mobile-nav-sub li:last-child {
    border-bottom: none;
}

.mobile-nav-section {
    padding: 1rem 1.25rem;
}

.mobile-nav-section h5 {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.mobile-nav-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-contact a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
}

.mobile-nav-contact svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
}

/* Mobile Language Switcher */
.mobile-nav-languages {
    display: flex;
    gap: 0.5rem;
}
.mobile-lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background: none;
    font-size: 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s;
}
.mobile-lang-btn.active {
    border-color: var(--primary);
}

/* Mobile Cart Sidebar */
.mobile-cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-cart {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: var(--white);
    z-index: 1600;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 20px rgba(0,0,0,0.1);
}

.mobile-cart.active {
    left: 0;
}

.mobile-cart-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.mobile-cart-header h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-cart-header h3 svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
}

.mobile-cart-count {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

.mobile-cart-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.mobile-cart-close:hover {
    background: #e2e8f0;
}

.mobile-cart-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-dark);
}

.mobile-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.mobile-cart-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--secondary);
}

.mobile-cart-item-image {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-cart-item-image svg {
    width: 35px;
    height: 35px;
    stroke: #94a3b8;
}

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

.mobile-cart-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-cart-item-variant {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.mobile-cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.mobile-cart-item-qty button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--secondary);
    background: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-cart-item-qty button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-cart-item-qty button svg {
    width: 14px;
    height: 14px;
}

.mobile-cart-item-qty span {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.mobile-cart-item-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.mobile-cart-item-remove {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
}

.mobile-cart-item-remove:hover {
    color: #ef4444;
}

.mobile-cart-item {
    position: relative;
}

.mobile-cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
}

.mobile-cart-empty svg {
    width: 80px;
    height: 80px;
    stroke: #e2e8f0;
    margin-bottom: 1rem;
}

.mobile-cart-empty p {
    margin-bottom: 1rem;
}

.mobile-cart-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--secondary);
    background: var(--white);
    flex-shrink: 0;
}

.mobile-cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.mobile-cart-subtotal span:first-child {
    color: var(--text-light);
}

.mobile-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--secondary);
}

.mobile-cart-total span:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-cart-total span:last-child {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.mobile-cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-cart-buttons .btn-checkout {
    width: 100%;
    padding: 0.85rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: block;
    transition: background 0.3s;
}

.mobile-cart-buttons .btn-checkout:hover {
    background: var(--primary-light);
}

.mobile-cart-buttons .btn-view-cart {
    width: 100%;
    padding: 0.75rem;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--secondary);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: block;
    transition: all 0.3s;
}

.mobile-cart-buttons .btn-view-cart:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Filter Section */
.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--secondary);
    background: var(--white);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card .product-link { flex: 1; display: flex; flex-direction: column; text-decoration: none; color: inherit; }

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

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--secondary) 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: white;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-badge.sale {
    background: #ef4444;
}

.product-badge.new {
    background: #10b981;
}

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

.product-category {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    min-height: 2.8em;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

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

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

.btn-add {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-add:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

.btn-add svg {
    width: 20px;
    height: 20px;
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.star {
    color: #fbbf24;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-left: 0.25rem;
}

/* Brands Marquee */
.brands-section {
    padding: 2.5rem 0;
    overflow: hidden;
    background: #fff;
}

.brands-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brands-track {
    display: flex;
    gap: 0;
    align-items: center;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-item {
    flex-shrink: 0;
    width: 240px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
    text-decoration: none;
}

.brand-item:hover {
    opacity: 1;
    filter: grayscale(0);
}

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

.brand-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer */
.footer {
    background: #f8fafc;
    color: var(--text-dark);
    margin-top: 0;
    border-top: 1px solid #e2e8f0;
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-brand .logo {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    background: rgba(var(--primary-rgb), 0.1);
}

.footer-brand p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-dark);
}

.social-link:hover svg {
    stroke: #fff;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

    .footer-links li {
        margin-bottom: 2px;
    }

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-newsletter h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-newsletter p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

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

.newsletter-form input {
    flex: 1;
    padding: 0.85rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: var(--text-dark);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-form input::placeholder {
    color: var(--text-light);
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 0.85rem 1.25rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--primary-light);
}

.footer-features {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.footer-feature svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding: 1.5rem 2rem;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.payment-methods {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.payment-method {
    background: #e2e8f0;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Cart Popup Modal */
.cart-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    border-radius: 20px;
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
}

.cart-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.cart-popup-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--third);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cart-popup-header svg.success-icon {
    width: 28px;
    height: 28px;
    stroke: #10b981;
}

.cart-popup-header h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-popup-header h3 span {
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.cart-popup-close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.cart-popup-close:hover {
    background: var(--secondary);
}

.cart-popup-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-light);
}

.cart-popup-items {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.cart-popup-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--third);
    align-items: center;
}

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

.cart-popup-item-img {
    width: 70px;
    height: 70px;
    background: var(--secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-popup-item-img svg {
    width: 35px;
    height: 35px;
    stroke: #94a3b8;
}

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

.cart-popup-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-popup-item-variant {
    font-size: 0.8rem;
    color: var(--text-light);
}

.cart-popup-item-qty {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cart-popup-qty-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--secondary);
    background: var(--white);
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--text-dark);
}

.cart-popup-qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-popup-qty-input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    background: transparent;
}

.cart-popup-item-price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark);
    min-width: 80px;
    text-align: right;
}

.cart-popup-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.cart-popup-item-remove:hover {
    background: #fee2e2;
}

.cart-popup-item-remove svg {
    width: 18px;
    height: 18px;
    stroke: #ef4444;
}

.cart-popup-footer {
    border-top: 1px solid var(--third);
    padding: 1.25rem 1.5rem;
    flex-shrink: 0;
}

.cart-popup-totals {
    margin-bottom: 1rem;
}

.cart-popup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    font-size: 0.9rem;
}

.cart-popup-row span:first-child {
    color: var(--text-light);
}

.cart-popup-row.total {
    font-size: 1.15rem;
    font-weight: 700;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--third);
}

.cart-popup-row.total span:last-child {
    color: var(--primary);
}

.cart-popup-actions {
    display: flex;
    gap: 0.75rem;
}

.cart-popup-actions a,
.cart-popup-actions button {
    flex: 1;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-continue {
    background: var(--third);
    color: var(--text-dark);
    border: none;
}

.btn-continue:hover {
    background: #e2e8f0;
}

.btn-go-cart {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-go-cart:hover {
    background: var(--primary-light);
}

.cart-popup-empty {
    padding: 3rem 1.5rem;
    text-align: center;
}

.cart-popup-empty svg {
    width: 60px;
    height: 60px;
    stroke: #cbd5e1;
    margin-bottom: 1rem;
}

.cart-popup-empty p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
    .cart-popup {
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }

    .cart-popup-item {
        flex-wrap: wrap;
    }

    .cart-popup-item-info {
        flex: 1 1 calc(100% - 86px);
    }

    .cart-popup-item-qty {
        margin-top: 0.5rem;
    }

    .cart-popup-item-price {
        margin-top: 0.5rem;
        min-width: auto;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-newsletter {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .header-main {
        padding: 0.75rem 1rem;
    }

    .header-main-content {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .mobile-menu-btn {
        display: flex;
        order: 1;
        width: 38px;
        height: 38px;
        padding: 10px;
        gap: 4px;
    }

    .logo {
        font-size: 1.25rem;
        order: 2;
        flex: 1;
        justify-content: center;
    }

    .logo-img {
        max-height: 48px;
    }

    .header-actions {
        display: none;
    }

    .mobile-search-btn {
        display: none;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    body {
        padding-bottom: 60px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-icon svg {
        width: 18px;
        height: 18px;
    }

    .search-box {
        order: 5;
        flex: 0 0 100%;
    }

    .header-action {
        flex-direction: row;
    }

    .header-action span {
        display: none;
    }

    .header-action-icon {
        width: 38px;
        height: 38px;
    }

    .header-action-icon svg {
        width: 20px;
        height: 20px;
    }

    .cart-badge {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
        top: -2px;
        right: -2px;
    }

    .search-box {
        display: none;
        position: fixed;
        bottom: 60px;
        left: 0;
        right: 0;
        z-index: 999;
        max-width: 100%;
        width: 100%;
        padding: 0.5rem 0.75rem;
        background: var(--white, #fff);
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
        margin: 0;
        border-radius: 0;
    }

    .search-box.mobile-open {
        display: flex;
    }

    .search-box input {
        padding: 0.75rem 1rem;
        padding-right: 45px;
        font-size: 0.9rem;
    }

    .search-box button {
        width: 32px;
        height: 32px;
        right: 18px;
    }

    .header-nav {
        display: none;
    }

    .mobile-nav-overlay {
        display: block;
    }

    .mobile-cart-overlay {
        display: block;
    }

    .cart-dropdown {
        display: none !important;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .footer-brand,
    .footer-newsletter {
        grid-column: span 1;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-newsletter {
        align-items: center;
    }

    .footer-newsletter .newsletter-form {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        gap: 1rem;
    }

    .footer-features {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-main {
        padding: 0.75rem 1rem;
    }

    .header-nav {
        padding: 0.5rem 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .header-action-icon {
        width: 38px;
        height: 38px;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .payment-methods {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ========== HOMEPAGE STYLES ========== */

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-slider { position: relative; }

.hero-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.hero-slide.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-picture { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg-picture img { width: 100%; height: 100%; object-fit: cover; }

.hero-content::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 55%;
    z-index: 2;
    background: linear-gradient(to right, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 60%, transparent 100%);
    pointer-events: none;
}

.hero-text { position: relative; z-index: 3; color: white; max-width: 800px; padding: 4rem 4rem; }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.hero-desc {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons { display: flex; gap: 1rem; }

.hero-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-btn-primary {
    background: var(--primary);
    color: #fff;
}

.hero-btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.hero-btn-secondary:hover { background: rgba(255,255,255,0.25); }

.hero-btn svg { width: 20px; height: 20px; }

.hero-image {
    display: none;
}

.hero-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

/* Features Bar */
.features-bar {
    background: var(--white);
    padding: 1.5rem 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-box { display: flex; align-items: center; gap: 1rem; }

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--third);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg { width: 24px; height: 24px; stroke: var(--primary); }

.feature-text h4 { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 0.15rem; }
.feature-text p { font-size: 0.8rem; color: var(--text-light); margin: 0; }

/* Categories Section */
.categories-section { padding: 4rem 0; }

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

.section-title { font-size: 20px; font-weight: 700; color: var(--text-dark); }

.section-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.3s;
}

.section-link:hover { gap: 0.6rem; }
.section-link svg { width: 18px; height: 18px; }

.categories-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem 1rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

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

.category-icon {
    width: 110px;
    height: 110px;
    background: none;
    border: 2px solid var(--third);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.category-card:hover .category-icon {
    background: none;
    border-color: var(--secondary);
}

.category-icon svg { width: 32px; height: 32px; stroke: var(--text-light); transition: stroke 0.3s; }
.category-card:hover .category-icon svg { stroke: white; }
.category-name { font-weight: 600; color: var(--text-dark); font-size: 0.95rem; }

/* Banner Section */
.banners-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.banner-card {
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s;
}

.banner-card:hover { transform: scale(1.02); }

.banner-large {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    min-height: 280px;
    display: flex;
    align-items: center;
}

.banner-small {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.banner-card::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to right, rgba(0,0,0,.5) 0%, rgba(0,0,0,.2) 60%, transparent 100%); pointer-events: none; }
.banner-content { position: relative; z-index: 3; color: white; }

.banner-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.banner-title { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; }
.banner-small .banner-title { font-size: 1.5rem; }
.banner-desc { opacity: 0.9; margin-bottom: 1.5rem; }

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #f97316;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.banner-small .banner-btn { color: #0ea5e9; }
.banner-btn:hover { transform: translateX(5px); }
.banner-btn svg { width: 18px; height: 18px; }

/* Products Section Homepage */
.products-section {
    padding: 4rem 0;
}

.products-grid.home-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Product Card Overrides for Homepage */
.product-link { text-decoration: none; display: block; }

.product-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
}

.product-placeholder svg {
    width: 60px;
    height: 60px;
    stroke: #cbd5e1;
}

.badge-sale { background: #ef4444; color: white; }
.badge-new { background: #10b981; color: white; top: auto; bottom: 1rem; }
.badge-soldout { background: #6b7280; color: white; }
.btn-soldout { opacity: 0.6; cursor: not-allowed !important; }

.product-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    line-height: 1.3;
}
.product-info .product-price { margin-top: auto; }

.product-actions { padding: 0 1.25rem 1.25rem; }

.btn-add-cart {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-add-cart:hover { background: var(--primary-light); }
.btn-add-cart svg { width: 18px; height: 18px; }

/* Countdown Section */
.countdown-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 4rem 0;
}

.countdown-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.countdown-text { color: white; }

.countdown-badge {
    display: inline-block;
    background: #ef4444;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.countdown-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.countdown-desc { opacity: 0.7; font-size: 1.1rem; margin-bottom: 2rem; }
.countdown-timer { display: flex; gap: 1rem; margin-bottom: 2rem; }

.countdown-item {
    background: rgba(255,255,255,0.1);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    text-align: center;
    min-width: 70px;
}

.countdown-number { font-size: 1.75rem; font-weight: 700; display: block; }
.countdown-label { font-size: 0.75rem; opacity: 0.7; }

.countdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ef4444;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.countdown-btn:hover { background: #dc2626; transform: translateY(-3px); }

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

.countdown-product {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.countdown-product:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.countdown-product-img {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.countdown-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.countdown-product-img svg { width: 30px; height: 30px; stroke: #94a3b8; }
.countdown-product-info { flex: 1; }
.countdown-product-name { color: white; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.25rem; }
.countdown-product-price { color: #ef4444; font-weight: 700; }
.countdown-product-old { color: #64748b; text-decoration: line-through; font-size: 0.85rem; margin-left: 0.5rem; }

/* Homepage Responsive */
@media (max-width: 1024px) {
    .hero-content { min-height: 400px; }
    .hero-text { padding: 3rem 2rem; }
    .hero-title { font-size: 2.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
    .banners-section { grid-template-columns: 1fr; }
    .products-grid.home-grid { grid-template-columns: repeat(2, 1fr); }
    .countdown-content { grid-template-columns: 1fr; }
    .countdown-products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { min-height: auto; }
    .hero-content { min-height: 300px; }
    .hero-text { padding: 2rem 1.5rem; }
    .hero-title { font-size: 1.75rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .feature-box { justify-content: center; text-align: center; flex-direction: column; gap: 0.5rem; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .category-card { padding: 1.5rem 1rem; }
    .section-header { flex-direction: column; gap: 1rem; text-align: center; }
    .countdown-timer { justify-content: center; flex-wrap: wrap; }
    .countdown-title { font-size: 1.75rem; }
    .countdown-products { grid-template-columns: 1fr; }
    .brands-grid { justify-content: center; }
}

/* ========== PRODUCTS PAGE STYLES ========== */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

.breadcrumb span {
    color: var(--text-light);
}

.breadcrumb span:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

/* Products Page Layout */
.products-page .container {
    padding-top: 2rem;
}

/* Category Header */
.category-header {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: var(--vz-card-bg, #fff);
    border: 1px solid var(--vz-border-color, #e9ebec);
}
.category-header-banner {
    width: 100%;
    max-height: 280px;
    overflow: hidden;
}
.category-header-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.category-header-content {
    padding: 1.25rem 1.5rem;
}
.category-header-content h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 .5rem;
    color: var(--vz-heading-color, #495057);
}
.category-short-desc {
    font-size: .95rem;
    color: var(--vz-body-color, #878a99);
    margin: 0 0 .75rem;
    line-height: 1.6;
}
.category-detail {
    font-size: .9rem;
    color: var(--vz-body-color, #878a99);
    line-height: 1.7;
}
.category-detail p { margin: 0 0 .5rem; }
.category-detail p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
    .category-header-banner { max-height: 180px; }
    .category-header-content { padding: 1rem; }
    .category-header-content h1 { font-size: 1.2rem; }
}

.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
}

/* Sidebar */
.products-sidebar {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow);
}

.sidebar-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 6px 5px;
    padding: 10px 0px 5px 0px;
    border-top: 2px solid var(--secondary);
}

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

.sidebar-section {
    margin: 15px 0;
}

.category-filter-list a {
    display: block;
    padding: 5px 15px;
    color: var(--secondary-link, var(--text-light));
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.category-filter-list a:hover {
    background: var(--secondary);
    color: var(--secondary-link-hover, #fff);
}

.category-filter-list a.active {
    background: var(--primary);
    color: white;
    font-weight: 500;
}

/* Products Main */
.products-main { min-width: 0; }

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.products-count {
    font-size: 0.95rem;
    color: var(--text-light);
}

.products-sort {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.products-sort label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.products-sort select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.products-sort select:focus {
    border-color: var(--primary);
}

/* Products Grid for listing */
.products-page .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.page-btn {
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--secondary);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-btn svg {
    width: 18px;
    height: 18px;
}

.page-dots {
    color: var(--text-light);
    padding: 0 0.5rem;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.no-products svg {
    width: 80px;
    height: 80px;
    stroke: #cbd5e1;
    margin-bottom: 1.5rem;
}

.no-products h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.no-products p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

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

/* ========== PRODUCT DETAIL PAGE ========== */

.product-detail-page .container {
    padding-top: 2rem;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.gallery-main {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    aspect-ratio: 1 / 1;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    padding: 20px;
}

.gallery-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.gallery-placeholder svg {
    width: 120px;
    height: 120px;
    stroke: #cbd5e1;
}

.detail-badge {
    position: absolute;
    top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    height: auto;
    line-height: 1;
    display: inline-block;
    z-index: 10;
}

.detail-badge.badge-sale {
    left: 1rem;
    background: #ef4444;
    color: white;
}

.detail-badge.badge-new {
    right: 1rem;
    background: #10b981;
    color: white;
    height:30px;
}

.gallery-thumbs {
    display: flex;
    gap: 0.75rem;
}

.thumb {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    padding: 4px;
    transition: all 0.3s;
}

.thumb:hover {
    border-color: var(--primary-light);
}

.thumb.active {
    border-color: var(--secondary);
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Video Thumb in Gallery */
.video-thumb {
    position: relative;
}
.video-thumb .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,.65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    pointer-events: none;
}
.video-thumb .video-play-icon svg {
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

/* Product Info Detail */
.product-info-detail {
    padding-top: 1rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-sku {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.product-brand {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.brand-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.brand-link:hover {
    text-decoration: underline;
}

.product-price-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-old-detail {
    font-size: 1.25rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-current-detail {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.price-total-detail {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--secondary);
    border-radius: 8px;
}

.product-stock {
    margin-bottom: 1.5rem;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.stock-badge svg {
    width: 18px;
    height: 18px;
}

.stock-badge.in-stock {
    background: #ecfdf5;
    color: #059669;
}

.stock-badge.out-of-stock {
    background: #fef2f2;
    color: #dc2626;
}

.product-short-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--secondary);
}

/* Product Actions */
.product-actions-detail {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
}

.quantity-selector button {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-selector button:hover {
    background: var(--primary);
    color: #fff;
}

.quantity-selector input {
    width: 60px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    background: transparent;
}

.btn-add-to-cart {
    flex: 1;
    padding: 0 2rem;
    height: 52px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.btn-add-to-cart:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-add-to-cart:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

.btn-add-to-cart svg {
    width: 22px;
    height: 22px;
}
.btn-add-to-fav {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border: 2px solid #e2e8f0;
    background: var(--white, #fff);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text-light, #64748b);
}
.btn-add-to-fav:hover { border-color: #ef4444; color: #ef4444; }
.btn-add-to-fav.active { border-color: #ef4444; color: #ef4444; background: #fef2f2; }
.btn-add-to-fav svg { width: 22px; height: 22px; }

/* Variant Selector */
.variant-selector {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    border-radius: 12px;
}

.variant-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.variant-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.variant-option {
    min-width: 48px;
    height: 40px;
    padding: 0 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.variant-option:hover {
    border-color: var(--primary-light);
}

.variant-option.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.variant-option.color-option {
    width: 40px;
    min-width: 40px;
    padding: 0;
    border-radius: 50%;
    position: relative;
}

.variant-option.color-option.selected {
    box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--primary);
}

.variant-option.color-option::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
}

.color-options {
    gap: 0.75rem;
    align-items: flex-start;
}

/* Variant option with name label */
.variant-option-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.variant-option-name {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.2;
}

.variant-option-price {
    font-size: 0.68rem;
    color: var(--primary);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    line-height: 1;
}

.variant-option-wrap .variant-option.selected + .variant-option-name,
.variant-option-wrap .variant-option.selected ~ .variant-option-price {
    color: var(--primary);
    font-weight: 600;
}

/* Selected variant name in label */
.variant-selected-name {
    font-weight: 400;
    color: var(--primary);
    font-size: 0.85rem;
}


/* Out of stock variant */
.variant-option.out-of-stock-variant {
    opacity: 0.55;
    position: relative;
    pointer-events: none;
    cursor: not-allowed;
}

.variant-option.out-of-stock-variant::before,
.variant-option.out-of-stock-variant::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 3px;
    background: #dc2626;
    z-index: 2;
    border-radius: 2px;
}

.variant-option.out-of-stock-variant::before {
    transform: rotate(-45deg);
}

.variant-option.out-of-stock-variant::after {
    transform: rotate(45deg);
}

.variant-option.color-option.out-of-stock-variant::before,
.variant-option.color-option.out-of-stock-variant::after {
    left: 12%;
    right: 12%;
    inset: auto;
    top: 50%;
    border: none;
    border-radius: 2px;
}

.variant-option-wrap:has(.out-of-stock-variant) .variant-option-name {
    text-decoration: line-through;
    color: #dc2626;
    opacity: 0.6;
}

.variant-option-wrap:has(.out-of-stock-variant) .variant-option-price {
    text-decoration: line-through;
    color: #dc2626;
    opacity: 0.5;
}

/* Product Features */
.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--third);
    border-radius: 12px;
}

.feature-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Product Description Section */
.product-description-section {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow);
}

.product-description-section h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary);
}

.description-content {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.description-content p {
    margin-bottom: 1rem;
}

.description-content ul,
.description-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.description-content li {
    margin-bottom: 0.5rem;
}

/* Similar Products */
.similar-products {
    padding: 2rem 0;
}

.similar-products .section-header {
    padding-left: 0;
    padding-right: 0;
}

.similar-products .products-grid {
    padding: 0;
}

/* ========== CAMPAIGNS PAGE ========== */

.campaigns-page .container {
    padding-top: 0;
}

.campaign-hero {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 24px;
    padding: 2rem 3rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    color: white;
}

.campaign-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

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

.campaign-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.campaign-info {
    margin-bottom: 2rem;
}

.product-count {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

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

/* ========== PRODUCTS PAGE RESPONSIVE ========== */

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

    .campaigns-page .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 220px 1fr;
        gap: 2rem;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-gallery {
        position: static;
    }

    .product-features {
        grid-template-columns: 1fr;
    }
}

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

    .products-sidebar {
        display: none;
    }

    .products-toolbar {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

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

    .campaign-hero {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .campaign-hero h1 {
        font-size: 1.75rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .price-current-detail {
        font-size: 1.5rem;
    }

    .product-actions-detail {
        display: none;
    }

    .mobile-add-bar {
        display: flex !important;
    }

    .gallery-main {
        border-radius: 12px;
    }

    .gallery-main img {
        padding: 15px;
    }

    .gallery-thumbs {
        justify-content: center;
        flex-wrap: wrap;
    }

    .thumb {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 575px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .page-btn {
        min-width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .product-description-section {
        padding: 1.5rem;
    }

    /* Product Detail Mobile */
    .product-detail-container {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.25rem;
    }

    .price-current-detail {
        font-size: 1.35rem;
    }

    .variant-selector {
        padding: 1rem;
        margin: 1rem 0;
    }

    .variant-option {
        min-width: 44px;
        height: 44px;
        padding: 0 0.75rem;
    }

    .variant-option.color-option {
        width: 44px;
        min-width: 44px;
    }

    .variant-option-name {
        font-size: 0.65rem;
        max-width: 50px;
    }

    .variant-option-price {
        font-size: 0.6rem;
    }

    .btn-add-cart {
        padding: 1rem;
        font-size: 1rem;
    }

    .product-features .feature-item {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .feature-item svg {
        width: 20px;
        height: 20px;
    }

    .similar-products .products-grid {
        gap: 0.75rem;
    }

    .thumb {
        width: 50px;
        height: 50px;
    }
}

/* Mobile Add to Cart Fixed Bar */
.mobile-add-bar {
    display: none;
    position: fixed;
    bottom: 62px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white, #fff);
    border-top: 1px solid #e2e8f0;
    padding: 0.6rem 1rem;
    gap: 0.6rem;
    align-items: center;
    box-shadow: 0 -2px 12px rgba(0,0,0,.1);
}
.mobile-add-bar .quantity-selector {
    border-width: 1.5px;
    border-radius: 10px;
}
.mobile-add-bar .quantity-selector button {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
}
.mobile-add-bar .quantity-selector input {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
}
.mobile-add-bar .btn-add-to-cart {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    font-size: 0.9rem;
    gap: 0.4rem;
}
.mobile-add-bar .btn-add-to-cart svg {
    width: 18px;
    height: 18px;
}

/* Variant required highlight */
.variant-group.required-highlight .variant-label {
    color: #ef4444 !important;
}
.variant-group.required-highlight .variant-label::after {
    content: ' - Seçiniz';
    font-weight: 400;
    font-size: 0.85em;
}

/* ========== CART PAGE ========== */
.cart-page { padding: 0; min-height: 60vh; }
.cart-page .container { max-width: 1200px; }

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

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

.cart-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.cart-item-count {
    font-size: 0.95rem;
    color: #fff;
    background: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.cart-items-list { display: flex; flex-direction: column; gap: 1rem; }

.cart-page-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.cart-page-item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cart-page-item-image svg {
    width: 40px;
    height: 40px;
    stroke: #94a3b8;
}

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

.cart-page-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-page-item-variant {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.cart-page-item-unit-price {
    font-size: 0.85rem;
    color: var(--text-light);
}

.cart-page-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-page-item-qty .qty-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-page-item-qty .qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-page-item-qty .qty-btn svg { width: 16px; height: 16px; }

.cart-page-item-qty .qty-value {
    font-size: 1rem;
    font-weight: 600;
    min-width: 32px;
    text-align: center;
}

.cart-page-item-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 100px;
    text-align: right;
}

.cart-page-item-remove {
    width: 40px;
    height: 40px;
    border: none;
    background: #fef2f2;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    transition: all 0.2s;
}

.cart-page-item-remove:hover { background: #fee2e2; }
.cart-page-item-remove svg { width: 20px; height: 20px; }

/* Cart Summary */
.cart-summary {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.summary-row span:first-child { color: var(--text-light); }
.summary-row span:last-child { color: var(--text-dark); font-weight: 500; }
.summary-row .free-shipping { color: #10b981; font-weight: 600; }

.free-shipping-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fef3c7, #fef9c3);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    margin: 0.25rem 0 0.5rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #92400e;
}
.free-shipping-hint svg { color: #f59e0b; margin-top: 1px; }
.free-shipping-hint strong { color: #b45309; }

.summary-row.total {
    border-top: 2px solid var(--secondary);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.summary-row.total span:first-child { font-weight: 600; color: var(--text-dark); }
.summary-row.total span:last-child { font-size: 1.35rem; font-weight: 700; color: var(--primary); }

.btn-checkout-page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    margin-top: 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-checkout-page:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-checkout-page svg { width: 20px; height: 20px; }

.btn-continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem;
    margin-top: 0.75rem;
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-continue-shopping:hover { border-color: var(--primary); color: var(--primary); }
.btn-continue-shopping svg { width: 18px; height: 18px; }

/* Empty Cart */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.cart-empty-icon { margin-bottom: 1.5rem; }
.cart-empty-icon svg { width: 120px; height: 120px; stroke: #e2e8f0; }

.cart-empty h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 400px;
}

.btn-start-shopping {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-start-shopping:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-start-shopping svg { width: 20px; height: 20px; }

/* Cart Page Mobile */
@media (max-width: 1024px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
}

@media (max-width: 768px) {
    .cart-page-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .cart-page-item-image { width: 80px; height: 80px; }

    .cart-page-item-info { grid-column: 2; }

    .cart-page-item-qty {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .cart-page-item-price {
        grid-column: 1 / -1;
        text-align: left;
        margin-top: -0.5rem;
    }

    .cart-page-item-remove {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
    }

    .cart-page-item { position: relative; padding-right: 3rem; }
}

/* ========== VARIANT POPUP ========== */
.variant-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}
.variant-popup-overlay.active { display: flex; }
.variant-popup {
    background: var(--white, #fff);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: vpSlideUp 0.25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
@keyframes vpSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.variant-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light, #64748b);
    z-index: 1;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
}
.variant-popup-close:hover { background: var(--secondary, #f1f5f9); }
.variant-popup-body { padding: 1.5rem; }
.variant-popup-product {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}
.variant-popup-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
.variant-popup-product h3 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.3rem;
    color: var(--text-dark, #1e293b);
}
.variant-popup-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary, #6366f1);
}
.vp-group { margin-bottom: 1.25rem; }
.vp-group-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark, #1e293b);
}
.vp-options { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.vp-option {
    padding: 0.5rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--text-dark, #1e293b);
    transition: all 0.2s;
    min-width: 44px;
    text-align: center;
}
.vp-option:hover { border-color: var(--primary, #6366f1); color: var(--primary, #6366f1); }
.vp-option.selected { background: var(--primary, #6366f1); color: #fff; border-color: var(--primary, #6366f1); }
.vp-option.out-of-stock { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.vp-color-option {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2.5px solid #e2e8f0;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
    position: relative;
}
.vp-color-option:hover { border-color: var(--text-dark, #1e293b); }
.vp-color-option.selected { border-color: var(--primary, #6366f1); box-shadow: 0 0 0 2px var(--primary, #6366f1); }
.variant-popup-stock {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    min-height: 1.2em;
}
.variant-popup-stock .in-stock { color: #10b981; font-weight: 500; }
.variant-popup-stock .out-of-stock { color: #ef4444; font-weight: 500; }
.variant-popup-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: var(--primary, #6366f1);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s;
}
.variant-popup-btn:hover:not(:disabled) { opacity: 0.9; }
.variant-popup-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.variant-popup-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    color: var(--text-light, #64748b);
}
.variant-popup-loading::after {
    content: '';
    width: 28px;
    height: 28px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--primary, #6366f1);
    border-radius: 50%;
    animation: vpSpin 0.6s linear infinite;
}
@keyframes vpSpin { to { transform: rotate(360deg); } }

/* Shipping Countdown */
.shipping-countdown {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1.4;
    margin: 0.75rem 0;
}
.shipping-countdown.today {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.shipping-countdown.today svg { color: #10b981; }
.shipping-countdown.tomorrow {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}
.shipping-countdown.tomorrow svg { color: #f59e0b; }

/* Auth Modal */
.auth-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.auth-overlay.active {
    opacity: 1;
    visibility: visible;
}
.auth-modal {
    background: #fff;
    border-radius: 0;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
    margin: 1rem;
}
.auth-overlay.active .auth-modal {
    transform: scale(1) translateY(0);
}
.auth-modal-header {
    padding: 1.25rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.auth-modal-close {
    width: 36px; height: 36px;
    border: 1px solid #eee;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.auth-modal-close:hover { background: #f5f5f5; border-color: #ddd; }
.auth-modal-close svg { width: 18px; height: 18px; stroke: var(--text-dark); }
.auth-tabs {
    display: flex;
    padding: 1rem 1.5rem;
    gap: 0;
    border-bottom: 2px solid #eee;
}
.auth-tab {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.auth-tab.active {
    background: transparent;
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.auth-form {
    padding: 1.25rem 1.5rem 1.5rem;
    display: none;
}
.auth-form.active { display: block; }
.auth-form .form-group { margin-bottom: 0; }
.auth-form .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.auth-form .form-group input {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}
.auth-form .form-group input:focus {
    border-color: var(--primary);
}
.auth-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}
.auth-form-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.auth-form-options input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--primary, #6366f1);
}
.auth-form-options a {
    color: var(--primary);
    text-decoration: none;
    font-size: 13px;
}
.auth-form-options a:hover { text-decoration: underline; }
.btn-auth {
    width: 100%;
    padding: 12px;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
    font-family: inherit;
}
.btn-auth:hover { background: var(--primary-light); }
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    color: var(--text-light, #64748b);
    font-size: 0.85rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--secondary, #e2e8f0);
}
.social-auth {
    display: flex;
    gap: 0.75rem;
}
.btn-social {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark, #1e293b);
    transition: all 0.3s;
    font-family: inherit;
}
.btn-social:hover {
    border-color: var(--primary, #6366f1);
    background: rgba(99,102,241,0.05);
}
.btn-social svg { width: 20px; height: 20px; }
.auth-form .terms-label {
    font-size: 0.85rem;
    color: var(--text-light, #64748b);
}
.auth-form .terms-label a {
    color: var(--primary, #6366f1);
    text-decoration: none;
}
.auth-form .terms-label a:hover { text-decoration: underline; }

/* Phone Input */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    overflow: hidden;
    transition: border-color 0.2s;
}
.phone-input-wrapper:focus-within {
    border-color: var(--primary);
}
.phone-country-flag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    height: 44px;
}
.phone-country-flag img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}
.phone-input-wrapper input {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.95rem;
    background: transparent;
    box-shadow: none !important;
}
.phone-input-wrapper input:focus {
    outline: none;
    box-shadow: none !important;
}
.phone-input-wrapper.has-error {
    border-color: #ef4444;
}

/* Field Error */
.field-error {
    display: block;
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 4px;
}
.auth-form .form-group input.has-error,
.auth-form .form-group input.has-error:focus {
    border-color: #ef4444;
}
.auth-form .form-group input.is-valid,
.auth-form .form-group input.is-valid:focus {
    border-color: #22c55e;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white, #fff);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    border-top: 1px solid #e2e8f0;
    padding: 10px 20px 10px 10px;
    animation: cookieSlideUp 0.4s ease;
}
@keyframes cookieSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
}
.cookie-consent-text svg { color: var(--primary); margin-top: 2px; }
.cookie-consent-text p { margin: 0; font-size: 0.9rem; color: var(--text-dark); line-height: 1.5; }
.cookie-consent-text a { color: var(--primary); text-decoration: underline; font-weight: 500; }
.cookie-consent-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.6rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
    font-family: inherit;
}
.cookie-consent-btn:hover { opacity: 0.9; }
@media (max-width: 768px) {
    .categories-section, .banner-section { padding: 1rem 0; }
    .cookie-consent-inner { flex-direction: column; gap: 1rem; }
    .cookie-consent-btn { width: 100%; padding: 0.75rem; }
    .breadcrumb, .products-toolbar, .feature-text p {
        display: none
    }
    .footer-bottom-links {display: block; }
    .footer-bottom-links a{display: inline-block; width:100% }
    .checkout-title {margin-bottom:10px !important; text-align: center; font-size: 18px !important}



    }

/* ========== ADDITIONAL MOBILE IMPROVEMENTS ========== */

/* Mobile Product Card Compact Mode */
@media (max-width: 575px) {
    .product-card {
        border-radius: 12px;
    }

    .product-image {
        border-radius: 10px;
    }

    .product-info {
        padding: 0.6rem 0.75rem;
    }

    .product-name {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-height: 1.3;
        margin-bottom: 0.25rem;
    }

    .product-desc {
        display: none;
    }

    .product-price {
        gap: 0.35rem;
    }

    .price-current {
        font-size: 0.95rem;
    }

    .price-old {
        font-size: 0.75rem;
    }

    .product-actions {
        padding: 0.5rem 0.75rem 0.75rem;
    }

    .btn-add-cart {
        padding: 0.6rem 0.75rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }

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

    .product-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Mobile Hero Improvements */
@media (max-width: 480px) {
    .hero-content {
        min-height: 240px;
    }

    .hero-text {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: 1.35rem;
        line-height: 1.3;
    }

    .hero-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .hero-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Mobile Section Headers */
@media (max-width: 575px) {
    .section-title {
        font-size: 1.1rem;
    }

    .section-link {
        font-size: 0.8rem;
    }

    .section-header, .products-section, .banners-section {
        margin-bottom: 5px;
        padding: 10px;
    }
}

/* Mobile Touch Friendly Buttons */
@media (max-width: 575px) {
    .btn-primary,
    .btn-add-cart,
    .btn-add-to-cart,
    .qty-btn,
    .page-btn {
        min-height: 44px;
    }
}

/* Mobile Cart Sidebar Improvements */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        max-width: 100%;
    }

    .cart-item {
        padding: 0.75rem;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .cart-item-name {
        font-size: 0.85rem;
    }

    .cart-popup .btn-continue {
        display: none !important;
    }

    .cart-popup .btn-go-cart {
        width: 100%;
    }
}

/* Mobile Navigation Drawer Improvements */
@media (max-width: 480px) {
    .mobile-nav {
        max-width: 320px;
    }

    .mobile-nav-item {
        padding: 0.9rem 1rem;
    }
}

/* Mobile Search Active State */
@media (max-width: 768px) {
    .mobile-search-active .header-main {
        display: none;
    }

    .mobile-search-box {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 0.75rem 1rem;
        z-index: 1100;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
}

/* Mobile Checkout Page */
@media (max-width: 575px) {
    .checkout-page .container {
        padding: 1rem;
    }

    .checkout-section {
        padding: 1rem;
        border-radius: 12px;
    }

    .checkout-section h3 {
        font-size: 1rem;
    }

    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }
}

/* Mobile Banners */
@media (max-width: 575px) {
    .banners-section {
        gap: 0.75rem;
    }

    .banner-card {
        border-radius: 12px;
    }

    .banner-info {
        padding: 1rem;
    }

    .banner-title {
        font-size: 1rem;
    }
}

/* Mobile Countdown */
@media (max-width: 575px) {
    .countdown-timer {
        gap: 0.5rem;
    }

    .countdown-item {
        padding: 0.5rem 0.75rem;
        min-width: 55px;
    }

    .countdown-value {
        font-size: 1.25rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }
}

/* Mobile Footer */
@media (max-width: 575px) {
    .footer {
        padding: 2rem 0 calc(70px + 1rem);
    }

    .footer-section h4 {
        font-size: 0.95rem;
    }

    .footer-section a {
        font-size: 0.85rem;
        padding: 0.35rem 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* ============================================
   WOOCOMMERCE THEME - BAGSE STYLE OVERRIDES
   ============================================ */

/* === WC Container === */
.wc-container { max-width: 100%; margin: 0 auto; padding: 0 15px; width: 100%; }
@media (min-width: 576px) { .wc-container { max-width: 100%; } }
@media (min-width: 768px) { .wc-container { max-width: 720px; } }
@media (min-width: 992px) { .wc-container { max-width: 960px; } }
@media (min-width: 1200px) { .wc-container { max-width: 1140px; } }
@media (min-width: 1420px) { .wc-container { max-width: 1420px; } }

/* === WC Top Bar === */
.wc-topbar { background: #333; color: #ccc; font-size: 13px; padding: 8px 0; }
.wc-topbar .wc-container { display: flex; justify-content: space-between; align-items: center; max-width: 100%; padding: 0 40px; }
.wc-topbar-left { display: flex; align-items: center; gap: 15px; }
.wc-topbar-social { display: flex; align-items: center; gap: 10px; }
.wc-topbar-social a { color: #fff; text-decoration: none; display: flex; align-items: center; transition: color .2s; }
.wc-topbar-social a:hover { color: #fff; }
.wc-topbar-phone { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 5px; font-size: 13px; }
.wc-topbar-phone:hover { color: #fff; }
.wc-topbar-sep { color: #555; font-size: 12px; }
.wc-topbar-right { display: flex; align-items: center; gap: 15px; }
.wc-topbar-right a { color: #fff; text-decoration: none; font-size: 13px; display: flex; align-items: center; gap: 4px; }
.wc-topbar-right a:hover { color: #fff; }

/* === WC Language Dropdown === */
.wc-lang-dropdown { position: relative; }
.wc-lang-btn { background: none; border: none; color: #fff; cursor: pointer; display: flex; align-items: center; gap: 4px; font-size: 13px; font-family: inherit; }
.wc-lang-btn:hover { color: var(--primary); }
.wc-lang-menu { position: absolute; top: 100%; right: 0; margin-top: 8px; background: #fff; box-shadow: var(--shadow-lg); min-width: 120px; opacity: 0; visibility: hidden; transition: all .2s; z-index: 1000; }
.wc-lang-dropdown:hover .wc-lang-menu { opacity: 1; visibility: visible; }
.wc-lang-menu a { display: block; padding: 8px 14px; color: var(--text-dark); text-decoration: none; font-size: 13px; }
.wc-lang-menu a:hover { background: var(--secondary); }
.wc-lang-menu a.active { color: var(--primary); font-weight: 600; }

/* === WC Header === */
.wc-header { position: sticky; top: 0; z-index: 100; background: #fff; }

/* === WC Header Main: NAV sol | LOGO orta | İKONLAR sağ === */
.wc-header-main { padding: 0; border-bottom: 1px solid #eee; background: var(--header-menu-bg, #fff); }
.wc-header-main .wc-container { display: flex; align-items: center; justify-content: space-between; min-height: 65px; position: relative; max-width: 100%; padding: 0 40px; }

/* === WC Logo (ortada) === */
.wc-logo { text-decoration: none; display: flex; align-items: center; position: absolute; left: 50%; transform: translateX(-50%); }
.wc-logo img { max-height: 40px; }
.wc-logo-text { font-size: 28px; font-weight: 700; color: var(--text-dark); letter-spacing: 3px; text-transform: uppercase; }

/* === WC Header Icons (sağda) === */
.wc-header-icons { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.wc-icon-btn { background: none; border: none; cursor: pointer; position: relative; color: var(--text-dark); padding: 5px; display: flex; align-items: center; text-decoration: none; }
.wc-icon-btn svg { width: 22px; height: 22px; }
.wc-icon-btn:hover { color: var(--primary); }
.wc-icon-count { position: relative; top: -1px; font-size: 12px; color: var(--text-dark); margin-left: 1px; font-weight: 400; }

/* === WC Navigation (header-main sol tarafında) === */
.wc-nav { display: flex; align-items: center; }
.wc-nav-links { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; }
.wc-nav-links > li { position: relative; }
.wc-nav-links > li > a { display: flex; align-items: center; padding: 22px 18px; color: var(--header-menu-link, var(--text-dark)); text-decoration: none; font-size: 16px; font-weight: 500; text-transform: capitalize; letter-spacing: 0.3px; transition: color .2s; }
.wc-nav-links > li > a:hover,
.wc-nav-links > li:hover > a { color: var(--header-menu-link-hover, var(--primary)); }

/* Dropdown */
.wc-dropdown { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; box-shadow: var(--shadow-lg); border-top: 2px solid var(--primary); list-style: none; padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; z-index: 1000; }
.wc-has-dropdown:hover .wc-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.wc-dropdown li a { display: block; padding: 8px 20px; color: var(--text-dark); text-decoration: none; font-size: 16px; transition: all .2s; }
.wc-dropdown li a:hover { color: var(--primary); padding-left: 25px; }

/* === WC Search Overlay (fullscreen) === */
.wc-search-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.97); z-index: 1100; display: flex; align-items: flex-start; justify-content: center; padding-top: 80px; opacity: 0; visibility: hidden; transition: all .3s; overflow-y: auto; }
.wc-search-overlay.active { opacity: 1; visibility: visible; }
.wc-search-close { position: absolute; top: 30px; right: 40px; background: none; border: none; cursor: pointer; color: var(--text-dark); transition: color .2s; }
.wc-search-close:hover { color: var(--primary); }
.wc-search-overlay-inner { width: 100%; max-width: 700px; padding: 0 20px; }
.wc-search-form { display: flex; border-bottom: 2px solid var(--text-dark); padding-bottom: 10px; }
.wc-search-form input { flex: 1; border: none; font-size: 22px; font-family: inherit; outline: none; background: transparent; color: var(--text-dark); }
.wc-search-form input::placeholder { color: #999; }
.wc-search-form button { background: none; border: none; cursor: pointer; color: var(--text-dark); padding: 5px; }
.wc-search-form button svg { width: 24px; height: 24px; }
.wc-search-form button:hover { color: var(--primary); }
.wc-search-overlay .search-results { position: relative; top: auto; margin-top: 20px; box-shadow: none; border-radius: 0; max-height: 60vh; background: #fff; opacity: 0; visibility: hidden; transform: none; }
.wc-search-overlay .search-results.active { opacity: 1; visibility: visible; }

/* === WC Cart Sidebar (sağdan açılır) === */
.wc-cart-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); z-index: 1050; opacity: 0; visibility: hidden; transition: all .3s; }
.wc-cart-overlay.active { opacity: 1; visibility: visible; }
.wc-cart-sidebar { position: fixed; top: 0; right: -400px; width: 380px; max-width: 90vw; height: 100vh; background: #fff; z-index: 1060; display: flex; flex-direction: column; transition: right .35s ease; box-shadow: -2px 0 10px rgba(0,0,0,.1); }
.wc-cart-sidebar.active { right: 0; }
.wc-cart-sidebar-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; border-bottom: 1px solid #eee; }
.wc-cart-sidebar-header h3 { font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.wc-cart-sidebar-close { background: none; border: none; cursor: pointer; color: var(--text-dark); padding: 5px; }
.wc-cart-sidebar-close:hover { color: var(--primary); }
.wc-cart-sidebar-items { flex: 1; overflow-y: auto; padding: 15px 25px; }
.wc-cart-sidebar-footer { border-top: 1px solid #eee; padding: 20px 25px; }
.wc-cart-sidebar-subtotal { display: flex; justify-content: space-between; align-items: center; font-size: 16px; font-weight: 600; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.wc-cart-sidebar-btn { display: block; text-align: center; padding: 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; transition: all .3s; font-family: inherit; margin-bottom: 8px; }
.wc-btn-viewcart { background: transparent; border: 2px solid var(--text-dark); color: var(--text-dark); }
.wc-btn-viewcart:hover { background: var(--text-dark); color: #fff; }
.wc-btn-checkout { background: var(--primary); border: 2px solid var(--primary); color: #fff; }
.wc-btn-checkout:hover { background: var(--primary-light); border-color: var(--primary-light); }

/* === WC Hero Slider === */
.wc-hero { position: relative; overflow: hidden; max-height: 640px; }
.wc-hero-slider { position: relative; }
.wc-hero-slide { display: none; position: relative; }
.wc-hero-slide.active { display: block; }
.wc-hero-slide picture, .wc-hero-slide img { width: 100%; display: block; object-fit: cover; max-height: 640px; }
.wc-hero-overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.wc-hero-content { position: absolute; top: 50%; left: 10%; transform: translateY(-50%); max-width: 500px; z-index: 3; }
.wc-hero-content h2 { font-size: 42px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.wc-hero-content p { font-size: 16px; margin-bottom: 20px; opacity: .9; }
.wc-hero-btn { display: inline-block; background: var(--text-dark); color: #fff; padding: 12px 30px; text-decoration: none; text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: 1px; transition: background .3s; }
.wc-hero-btn:hover { background: var(--primary); }
.wc-hero-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.wc-hero-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: background .3s; }
.wc-hero-dot.active { background: #fff; }
.wc-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.3); border: none; color: #fff; padding: 15px 10px; cursor: pointer; transition: background .3s; z-index: 5; }
.wc-hero-arrow:hover { background: rgba(0,0,0,.6); }
.wc-hero-arrow svg { width: 24px; height: 24px; }
.wc-hero-prev { left: 0; }
.wc-hero-next { right: 0; }

/* === WC Section === */
.wc-section { padding: 60px 0; }
.wc-section-header { text-align: center; margin-bottom: 40px; }
.wc-section-header h2 { font-size: 28px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; position: relative; display: inline-block; padding-bottom: 12px; }
.wc-section-header h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 2px; background: var(--primary); }

/* === WC Products Grid === */
.wc-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* === WC Product Card (Bagse Style) === */
.wc-product-card { position: relative; overflow: hidden; transition: all .3s ease; margin-top: 30px; }
.wc-product-thumb { position: relative; overflow: hidden; display: block; }
.wc-product-thumb-link { display: block; position: relative; }
.wc-product-img-primary,
.wc-product-img-hover { aspect-ratio: 1/1; width: 100%; height: 100%; object-fit: cover; display: block; transition: all .3s ease; }
.wc-product-img-primary { transform: scale(1); }
.wc-product-img-hover { position: absolute; top: 0; left: 0; opacity: 0; visibility: hidden; transform: scale(1); }
.wc-product-card:hover .wc-product-img-primary { transform: scale(1.1); }
.wc-product-card:hover .wc-product-img-hover { opacity: 1; visibility: visible; transform: scale(1.1); }

/* Badges - Bagse: white bg, red text */
.wc-badge { position: absolute; display: inline-block; color: #a00909; background: #fff; padding: 3px 12px; line-height: 20px; top: 20px; left: 20px; text-align: center; font-size: 14px; font-weight: 500; z-index: 2; }
.wc-badge-discount { color: #fff; background: #e53935; top: 20px; left: 20px; }
.wc-badge-new { color: #a00909; background: #fff; top: auto; bottom: 20px; left: 20px; }
.wc-badge-soldout { color: #999; background: #fff; }

/* Quick View - bottom of image, slides up on hover */
.wc-quickview-btn { position: absolute; text-align: center; width: 100%; left: 0; right: 0; z-index: 5; opacity: 0; bottom: -6px; border: none; transition: all .3s ease; background: rgba(255,255,255,.9); padding: 0 10px; line-height: 40px; font-size: 16px; color: #707070; display: block; text-decoration: none; pointer-events: none; }
.wc-quickview-btn:hover { background: #fff; color: #000; }
.wc-product-card:hover .wc-quickview-btn { opacity: 1; visibility: visible; bottom: 0; pointer-events: auto; }

/* Action links - top right, circular buttons */
.wc-product-card .wc-product-actions { position: absolute; top: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; opacity: 0; visibility: hidden; transition: all .3s ease; z-index: 3; }
.wc-product-card:hover .wc-product-actions { opacity: 1; visibility: visible; }
.wc-product-action-btn { width: 36px; height: 36px; line-height: 40px; padding: 0; border-radius: 100%; background: #fff; text-align: center; font-size: 16px; outline: none; color: #707070; display: inline-flex; align-items: center; justify-content: center; vertical-align: top; transition: all .3s ease; border: none; cursor: pointer; text-decoration: none; }
.wc-product-action-btn:hover { background: #313030; color: #fff; }

/* Product Content */
.wc-product-content { position: relative; padding-top: 19px; }
.wc-product-title { margin: 0 0 5px; font-size: 16px; font-weight: 400; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wc-product-title a { color: var(--primary-link, var(--text-dark)); text-decoration: none; transition: color .2s; }
.wc-product-title a:hover { color: var(--primary-link-hover, var(--primary)); }
.wc-product-price { font-size: 16px; transition: all .3s ease; }
.wc-price-current { font-weight: 600; }
.wc-price-old { color: #adb5bd; text-decoration: line-through; margin-right: 2px; }

/* Add to Cart - hidden by default, appears on hover replacing price */
.wc-product-box-cart { position: absolute; right: 0; z-index: 5; opacity: 0; bottom: -6px; width: 100%; font-size: 16px; transition: all .3s ease; background: transparent; padding: 2px 0; color: #707070; display: block; visibility: hidden; }
.wc-product-card:hover .wc-product-price { opacity: 0; transform: translateY(10px); }
.wc-product-card:hover .wc-product-box-cart { opacity: 1; visibility: visible; bottom: 0; }
.wc-btn-addcart { display: inline-block; background: transparent; border: none; color: var(--secondary-link, #707070); padding: 0; font-size: 14px; font-weight: 500; text-transform: uppercase; cursor: pointer; transition: all .3s; font-family: inherit; letter-spacing: .5px; }
.wc-btn-addcart:hover { color: var(--secondary-link-hover, #000); }
.wc-btn-soldout { opacity: .5; cursor: not-allowed; }
.wc-btn-soldout:hover { color: #707070; }

/* QuickView Modal */
.wc-quickview-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 9998; }
.wc-quickview-overlay.active { display: block; }
.wc-quickview-modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 90%; max-width: 1000px; height: 80vh; background: #fff; z-index: 9999; overflow: hidden; }
.wc-quickview-modal.active { display: block; }
.wc-quickview-close { position: absolute; top: 10px; right: 10px; z-index: 10; background: #fff; border: none; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #333; transition: color .2s; }
.wc-quickview-close:hover { color: var(--primary); }
#qvIframe { width: 100%; height: 100%; border: none; }

/* QuickView mode adjustments */
.quickview-mode { padding: 20px 0 !important; }
.quickview-mode .wc-product-detail-page { padding: 0; }
.quickview-hidden { display: none !important; }

/* === WC Banners === */
.wc-banners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wc-banner-card { position: relative; overflow: hidden; display: block; }
.wc-banner-card img { width: 100%; display: block; transition: transform .5s; }
.wc-banner-card:hover img { transform: scale(1.05); }
.wc-banner-overlay { position: absolute; bottom: 20px; left: 20px; }
.wc-banner-overlay h3 { font-size: 22px; font-weight: 600; text-transform: uppercase; }
.wc-banner-overlay p { font-size: 14px; }

/* === WC Categories === */
.wc-categories-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.wc-category-card { text-decoration: none; color: var(--text-dark); transition: color .2s; }
.wc-category-card:hover { color: var(--primary); }
.wc-category-img { width: 100px; height: 100px; margin: 0 auto 10px; overflow: hidden; border-radius: 50%; }
.wc-category-img img { width: 100%; height: 100%; object-fit: cover; }
.wc-category-placeholder { background: var(--secondary); display: flex; align-items: center; justify-content: center; }
.wc-category-placeholder svg { width: 40px; height: 40px; color: var(--text-light); }
.wc-category-card span { font-size: 14px; font-weight: 500; }

/* === WC Features === */
.wc-features { padding: 40px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.wc-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.wc-feature { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-right: 1px solid #eee; }
.wc-feature:last-child { border-right: none; }
.wc-feature svg { width: 36px; height: 36px; flex-shrink: 0; color: var(--text-dark); }
.wc-feature h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; margin-bottom: 2px; }
.wc-feature p { font-size: 12px; color: var(--text-light); }

/* === WC Brands === */
.wc-brands { padding: 40px 0; overflow: hidden; }
.wc-brands-track { display: flex; animation: wcMarquee 30s linear infinite; gap: 40px; }
.wc-brand-item { flex-shrink: 0; display: flex; align-items: center; }
.wc-brand-item img { height: 60px; filter: grayscale(100%); opacity: .6; transition: all .3s; }
.wc-brand-item:hover img { filter: grayscale(0); opacity: 1; }
@keyframes wcMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* === WC Footer (Bagse Style) === */
.wc-footer { background: var(--footer-bg, #fff); color: var(--footer-text, #333); padding-top: 80px; border-top: 1px solid #eee; }
.wc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }

/* Footer Brand */
.wc-footer-brand { padding-right: 30px; }
.wc-footer-logo { display: inline-block; margin-bottom: 20px; text-decoration: none; }
.wc-footer-logo img { max-height: 40px; }
.wc-footer-logo-text { font-size: 24px; font-weight: 700; color: #313030; letter-spacing: 2px; text-transform: uppercase; }
.wc-footer-desc { font-size: 15px; line-height: 1.7; color: var(--footer-text, #666); margin-bottom: 20px; }
.wc-footer-social { display: flex; gap: 15px; }
.wc-footer-social a { color: var(--footer-link, #666); transition: all .3s; }
.wc-footer-social a:hover { color: var(--footer-link-hover, #313030); }

/* Footer Widget */
.wc-footer-widget-title { font-size: 16px; font-weight: 600; color: var(--footer-text, #313030); text-transform: capitalize; margin-bottom: 24px; }
.wc-footer-menu { list-style: none; padding: 0; margin: 0; }
.wc-footer-menu li { margin-bottom: 11px; }
.wc-footer-menu li:last-child { margin-bottom: 0; }
.wc-footer-menu li a { font-size: 16px; color: var(--footer-link, #666); text-decoration: none; position: relative; transition: color .3s; }
.wc-footer-menu li a::after { position: absolute; left: 0; bottom: 0; content: ''; width: 0; height: 2px; background: var(--footer-link-hover, #333); transition: all .3s ease; }
.wc-footer-menu li a:hover { color: var(--footer-link-hover, #313030); }
.wc-footer-menu li a:hover::after { width: 100%; }

/* Footer Bottom */
.wc-footer-bottom { padding: 25px 0; background: var(--primary); }
.wc-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.wc-footer-bottom-inner p { font-size: 14px; color: #fff; margin: 0; }
.wc-footer-bottom-inner .payment-method { color: #fff; }
.wc-payment-methods { display: flex; gap: 10px; align-items: center; }

/* Footer Responsive */
@media (max-width: 991px) {
    .wc-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 576px) {
    .wc-footer { padding-top: 40px; }
    .wc-footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .wc-footer-brand { padding-right: 0; }
    .wc-footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
}
.wc-payment-methods .payment-method { background: #333; color: #aaa; padding: 4px 10px; font-size: 11px; font-weight: 600; letter-spacing: .5px; }

/* === WC Breadcrumb === */
.wc-breadcrumb { background: var(--secondary); padding: 15px 0; font-size: 13px; }
.wc-breadcrumb a { color: var(--text-light); text-decoration: none; }
.wc-breadcrumb a:hover { color: var(--primary); }
.wc-breadcrumb span { color: var(--text-dark); }

/* === WC Mobile Menu Button === */
.wc-mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 5px; }
.wc-mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text-dark); margin: 5px 0; transition: all .3s; }

/* === WC Responsive === */
@media (max-width: 991px) {
    .wc-nav { display: none !important; }
    .wc-mobile-menu-btn { display: block; order: -1; }
    .wc-products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .wc-hero-content h2 { font-size: 28px; }
    .wc-features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .wc-feature { border-right: none; padding: 15px; }
    .wc-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .wc-banners-grid { grid-template-columns: 1fr; }
    .wc-categories-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .wc-topbar { display: none; }
    .wc-header-main { padding: 5px 0; }
    .wc-header-icons { display: none !important; }
    .wc-header-main .wc-container { padding: 0 20px; min-height: 40px; }
    .wc-mobile-menu-btn { margin-right: auto; }
    .wc-logo { position: static; transform: none; margin-left: 10px; }
    .wc-logo img { max-width: 85%; margin-left: 0; display: block; }
    .wc-header-main .wc-container { justify-content: space-between; }
    .wc-logo-text { font-size: 22px; letter-spacing: 2px; }
    .wc-products-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .wc-hero-content { left: 5%; }
    .wc-hero-content h2 { font-size: 22px; }
    .wc-hero-content p { font-size: 13px; }
    .wc-section { padding: 35px 0; }
    .wc-section-header h2 { font-size: 20px; }
    .wc-features-grid { grid-template-columns: 1fr; }
    .wc-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .wc-footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
    .wc-categories-grid { grid-template-columns: repeat(3, 1fr); }
    .wc-btn-addcart { font-size: 12px; }
}

@media (max-width: 480px) {
    .wc-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .wc-product-title { font-size: 13px; }
    .wc-btn-addcart { font-size: 11px; }
    .wc-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .wc-hero-arrow { display: none; }
    .wc-product-card .wc-product-actions { right: 8px; top: 8px; }
    .wc-product-action-btn { width: 30px; height: 30px; }
    .wc-badge { font-size: 12px; padding: 2px 8px; top: 10px; left: 10px; }
    .wc-quickview-btn { font-size: 13px; line-height: 34px; }
}
