/*
Theme Name: Lumiere - Laravel Version
Description: Parion Silver jewelry brand theme ported from WordPress
Version: 1.0
*/

/* ===== CSS Reset & Variables ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #ecb613;
    --color-primary-dark: #d4a011;
    --color-primary-light: rgba(236, 182, 19, 0.1);
    --color-dark: #1b180d;
    --color-text: #1b180d;
    --color-text-secondary: #6b7280;
    --color-text-muted: #9ca3af;
    --color-white: #ffffff;
    --color-bg: #f8f8f6;
    --color-bg-alt: #f3f0e7;
    --color-border: #e5e7eb;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-height: 64px;
    --announcement-height: 40px;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --transition: all 0.2s ease;
}

/* Dark Mode Variables */
.dark {
    --color-dark: #ffffff;
    --color-text: #ffffff;
    --color-text-secondary: #9ca3af;
    --color-bg: #1a1a1a;
    --color-bg-alt: rgba(255, 255, 255, 0.05);
    --color-border: rgba(255, 255, 255, 0.1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* Main Content */
.main-content {
    padding-top: var(--header-height);
}

body.has-announcement .main-content {
    padding-top: calc(var(--header-height) + var(--announcement-height));
}

/* ===== Announcement Bar ===== */
.announcement-bar {
    background: var(--color-dark);
    color: var(--color-white);
    height: var(--announcement-height);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    letter-spacing: 0.5px;
}

.announcement-container {
    width: 100%;
    padding: 0 40px;
    text-align: center;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-white);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header.has-announcement {
    top: var(--announcement-height);
}

.header-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    gap: 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-dark);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.mobile-menu-btn,
.mobile-menu-close {
    display: none;
}


.logo-icon {
    font-size: 20px;
    color: var(--color-primary);
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--color-primary);
    background-color: var(--color-primary-light);
}

.nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-arrow {
    margin-left: 5px;
    opacity: 0.6;
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% - 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-white);
    min-width: 200px;
    padding: 12px 0;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    padding-left: 25px;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 1400px) {
    .header-container {
        padding: 0 24px;
        gap: 24px;
    }

    .nav {
        gap: 4px;
    }

    .nav-link {
        padding: 8px 10px;
        font-size: 12px;
    }
}

@media (max-width: 1366px) {
    .header-container {
        padding: 0 20px;
        gap: 16px;
    }

    .nav {
        gap: 2px;
    }

    .nav-link {
        padding: 6px 8px;
        font-size: 11.5px;
    }

    .search-input {
        width: 100px;
    }

    .logo-text {
        font-size: 14px;
    }
}

@media (max-width: 1200px) {
    .header-container {
        padding: 0 16px;
        gap: 12px;
    }

    .nav {
        gap: 0;
    }

    .nav-link {
        padding: 6px 6px;
        font-size: 11px;
    }

    .search-input {
        width: 80px;
    }

    .search-input:focus {
        width: 120px;
    }

    .logo {
        font-size: 13px;
    }

    .logo-image {
        height: 30px;
    }

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

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

    .header-right {
        gap: 8px;
    }
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    transition: var(--transition);
    position: relative;
}

.search-box:hover .search-icon,
.search-box:focus-within .search-icon {
    color: var(--color-primary);
}

.search-icon {
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

.search-input {
    border: none;
    background: transparent;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 500;
    width: 140px;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    width: 220px;
}

.search-input::placeholder {
    color: var(--color-text-muted);
}



.live-search-results {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition);
    border-bottom: 1px solid var(--color-border);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--color-bg-alt);
}

.search-result-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-right: 12px;
}

.search-result-info {
    display: flex;
    flex-direction: column;
}

.search-result-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.search-result-price {
    font-size: 13px;
    color: var(--color-primary);
    font-weight: 700;
    margin-top: 2px;
}

.search-no-results {
    padding: 24px;
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 14px;
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--color-text-secondary);
    transition: var(--transition);
}

.header-icon:hover {
    background: var(--color-bg);
    color: var(--color-primary);
}

/* ===== Hero Slider ===== */
.hero-slider {
    padding: 40px 24px 24px 24px;
    background: #faf9f7;
}

.slider-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
}

.slides {
    position: relative;
    height: 500px;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 50px 70px;
    background: linear-gradient(135deg, #d4a843 0%, #c9a227 30%, #e8d48a 50%, #ddb84a 75%, #c9a227 100%);
    background-size: cover;
    background-position: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
    border-radius: 0.75rem;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide-content {
    max-width: 520px;
    z-index: 2;
    position: relative;
}

.slide-subtitle {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 16px;
    opacity: 0.7;
}

.slide-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.slide-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-dark);
    opacity: 0.8;
    margin-bottom: 28px;
}

.slide-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-dark);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}

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

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(232, 212, 138, 0.6) 0%, rgba(232, 212, 138, 0.2) 50%, rgba(232, 212, 138, 0) 100%);
    z-index: 1;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--color-dark);
    transition: var(--transition);
    z-index: 10;
}

.slider-arrow:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.05);
}

.slider-prev {
    left: 24px;
}

.slider-next {
    right: 24px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.dot.active {
    background: var(--color-dark);
    width: 24px;
    border-radius: 5px;
}

.dot:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* ===== Trust Badges ===== */
.trust-badges {
    background: #f5f5f5;
    padding: 40px 24px;
}

.trust-badges-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 80px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-badge-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f0e7;
    border-radius: 50%;
    color: var(--color-primary);
}

.trust-badge-text {
    display: flex;
    flex-direction: column;
}

.trust-badge-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark);
}

.trust-badge-desc {
    font-size: 13px;
    color: var(--color-text-secondary);
}

@media (max-width: 768px) {
    .trust-badges-container {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
}

/* ===== New Arrivals / Products Grid ===== */
.new-arrivals {
    padding: 60px 24px;
    background: #f5f5f5;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--color-text-secondary);
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.products-grid.grid-5 {
    max-width: 1400px;
    grid-template-columns: repeat(5, 1fr);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.product-image {
    position: relative;
    aspect-ratio: 1/1.1;
    background: #f5f5f5;
    overflow: hidden;
    display: block;
}

.product-gallery-slider {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    width: 100%;
}

.product-gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .gallery-slide img {
    transform: scale(1.05);
}

.gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .gallery-dots {
    opacity: 1;
}

.gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

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

/* On Mobile, show dots by default */
@media (max-width: 1024px) {
    .gallery-dots {
        opacity: 1;
        bottom: 8px;
    }
}

/* Product Card Action Button */
.card-add-to-cart {
    margin-top: 16px;
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-add-btn {
    width: 100%;
    background: var(--color-dark);
    color: var(--color-white);
    border: 1px solid var(--color-dark);
    padding: 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
}

.card-add-btn:hover {
    background: transparent;
    color: var(--color-dark);
}

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

@media (max-width: 1024px) {
    .card-add-to-cart {
        opacity: 1;
        transform: none;
        margin-top: 12px;
    }

    .card-add-btn {
        padding: 10px;
        font-size: 11px;
    }
}

.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 50%;
    color: var(--color-text-secondary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 2;
}

.wishlist-btn:hover {
    color: #e53935;
    transform: scale(1.1);
}

.product-info {
    padding: 16px;
    text-align: center;
}

.product-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
    /* 2 satır yüksekliği */
}

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

.price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.old-price-card {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
}

.new-price-card {
    font-size: 18px;
    font-weight: 700;
    color: #E6B325;
    /* Hardal sarısı */
}

/* Eğer sadece normal fiyat varsa */
.product-footer .new-price-card:only-child {
    font-size: 18px;
    color: #E6B325;
}

.add-to-cart-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E6B325;
    /* Hardal sarısı */
    border-radius: 8px;
    /* Hafif yuvarlatılmış */
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: #d6a41f;
    transform: scale(1.05);
}

@media (max-width: 1024px) {

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

@media (max-width: 768px) {

    .products-grid,
    .products-grid.grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {

    .products-grid,
    .products-grid.grid-5 {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        padding: 4px 16px 20px !important;
        gap: 12px !important;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
        -webkit-overflow-scrolling: touch;
        grid-template-columns: none !important;
    }

    .products-grid::-webkit-scrollbar {
        display: none;
    }

    .product-card {
        flex: 0 0 calc(50% - 10px) !important;
        scroll-snap-align: start;
        margin-bottom: 0;
    }

    .product-info {
        padding: 10px 8px;
    }

    .product-title {
        font-size: 13px;
        height: 36px;
        margin-bottom: 8px;
    }

    .new-price-card {
        font-size: 15px;
    }
}

/* ===== Collections ===== */
.collections {
    padding: 60px 24px;
    background: #faf9f7;
}

.collections-container {
    max-width: 1200px;
    margin: 0 auto;
}

.collections-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    transition: var(--transition);
}

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

.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.collection-card {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.collection-card:hover {
    transform: translateY(-4px);
}

.collection-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.collection-info {
    padding: 16px 0;
}

.collection-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.collection-link {
    font-size: 13px;
    color: var(--color-text-secondary);
    transition: var(--transition);
}

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

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

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

    .collections-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* ===== Best Sellers ===== */
.best-sellers {
    padding: 60px 24px;
    background: #ffffff;
}

.best-sellers .products-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    background: transparent;
    border: 2px solid var(--color-dark);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

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

/* ===== Testimonials ===== */
.testimonials {
    padding: 60px 24px;
    background: #fbfbfb;
    margin-top: 0;
    margin-bottom: 0;
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.testimonials .section-title {
    margin-bottom: 40px;
}

.testimonials-slider {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    flex: 1;
    overflow: hidden;
}

.testimonial-card {
    flex: 1;
    min-width: 0;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.quote-mark {
    font-size: 48px;
    font-weight: 300;
    color: var(--color-primary);
    opacity: 0.5;
    line-height: 1;
    display: block;
    margin-bottom: 12px;
    font-style: italic;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 16px;
}

.star {
    font-size: 16px;
    color: #d1d5db;
}

.star.filled {
    color: var(--color-primary);
}

.testimonial-text {
    font-size: 15px;
    font-style: italic;
    color: var(--color-dark);
    line-height: 1.7;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 50%;
    color: var(--color-text-secondary);
}

.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
}

.author-location {
    font-size: 12px;
    color: var(--color-text-secondary);
}

.testimonial-arrow {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-secondary);
    transition: var(--transition);
    flex-shrink: 0;
}

.testimonial-arrow:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    transition: var(--transition);
}

.testimonial-dot.active {
    background: var(--color-primary);
    width: 28px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .testimonials-track {
        flex-direction: column;
    }

    .testimonial-arrow {
        display: none;
    }
}

/* ===== Newsletter ===== */
/* ===== Promo Banner ===== */
.home-promo-banner {
    padding: 60px 24px;
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 400px;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 40px;
}

.banner-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 12px;
    opacity: 0.8;
}

.banner-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    display: none;
}

@media (max-width: 768px) {
    .banner-container {
        height: 350px;
    }

    .banner-title {
        font-size: 32px;
    }
}

.newsletter {
    padding: 80px 24px;
    background: #ffffff;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    font-style: italic;
}

.newsletter-desc {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 14px;
}

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

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

.newsletter-btn {
    padding: 16px 28px;
    background: var(--color-primary);
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-title {
        font-size: 24px;
    }
}

/* ===== Footer ===== */
.footer {
    background: #eeeeee;
    padding: 80px 24px 40px;
    color: var(--color-dark);
}

.footer-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--color-border);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    color: var(--color-primary);
}

.footer-desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: var(--color-dark);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-primary);
    color: var(--color-dark);
}

.footer-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-links a {
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: var(--transition);
}

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

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

.footer-contact li {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0;
}

.payment-methods {
    display: flex;
    gap: 8px;
    align-items: center;
}

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

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        max-width: 100%;
    }
}

/* ===== Buttons (Global) ===== */
.button,
.woocommerce-Button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-dark);
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(236, 182, 19, 0.3);
}

.button:hover,
.woocommerce-Button:hover {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 182, 19, 0.4);
}

/* ===== Form Elements ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-white);
    color: var(--color-text);
    font-size: 0.9375rem;
    transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-light);
}

/* ===== Responsive ===== */
@media (max-width: 1280px) {
    .nav {
        gap: 4px;
    }

    .nav-link {
        font-size: 12px;
        padding: 8px 10px;
    }

    .slide-title {
        font-size: 36px;
    }

    .slide-image {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        color: var(--color-dark);
        order: -1;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-white);
        z-index: 3000;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 24px 40px;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 25px rgba(0, 0, 0, 0.1);
        display: flex;
        /* Override display: none */
    }

    .nav.active {
        left: 0;
    }

    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        color: var(--color-dark);
        cursor: pointer;
        padding: 0;
    }

    .mobile-menu-close svg {
        width: 28px;
        height: 28px;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 2999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

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

    .nav-dropdown,
    .nav-link {
        width: 100%;
        display: block;
        font-size: 16px;
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
        color: var(--color-dark);
    }

    .nav-dropdown .nav-link {
        border-bottom: none;
        padding: 0;
    }


    .dropdown-arrow {
        float: right;
        margin-top: 5px;
        transition: transform 0.3s ease;
    }

    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        background: var(--color-bg-alt);
        margin-top: 5px;
        border-radius: var(--radius-sm);
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .header-container {
        justify-content: space-between;
        gap: 10px;
    }



    .slides {
        height: 280px;
        /* Daha yatay (landscape) görünüm için yüksekliği azalttık */
    }

    .slide {
        padding: 30px 20px;
        flex-direction: column;
        justify-content: flex-end;
        /* İçeriği aşağı yaslıyoruz */
        align-items: center;
        text-align: center;
    }

    .slide-content {
        max-width: 100%;
        z-index: 5;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        padding: 15px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .slide-subtitle {
        font-size: 10px;
        margin-bottom: 8px;
        color: white;
    }

    .slide-title {
        font-size: 24px;
        color: white;
        margin-bottom: 12px;
    }

    .slide-description {
        font-size: 13px;
        color: white;
        opacity: 0.9;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .slide-buttons {
        justify-content: center;
        gap: 8px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 12px;
    }

    .slide-image {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        margin-bottom: 0;
    }

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

    .slide-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
        z-index: 2;
    }

    .slider-dots {
        display: none;
    }


}

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

    .header-right {
        gap: 4px;
    }

    .search-box {
        padding: 4px;
    }

    .search-input {
        width: 0;
        padding: 0;
        opacity: 0;
    }

    .search-box:focus-within .search-input {
        width: 120px;
        padding: 0 8px;
        opacity: 1;
        position: absolute;
        right: 100%;
        background: white;
        border: 1px solid var(--color-border);
        border-radius: 20px;
    }

    .slides {
        height: 240px;
        /* Daha yatay görünüm için yüksekliği azalttık */
    }



    .slide {
        padding: 24px;
    }

    .slide-title {
        font-size: 28px;
    }

    .slide-description {
        font-size: 14px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .slider-prev {
        left: 12px;
    }

    .slider-next {
        right: 12px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 14px;
    }

    .header-icon {
        width: 36px;
        height: 36px;
    }

    .hero-slider {
        padding: 0 !important;
        /* Yanlardaki boşlukları kaldırdık */
    }

    .slider-container {
        border-radius: 0 !important;
        /* Köşeleri sıfırladık */
    }

    .slides {
        height: 200px;
        /* Görselin daha net odaklanması için biraz daha kısalttık */
    }

    .slide {
        border-radius: 0 !important;
    }

    .slide-content {
        display: none !important;
        /* Metinleri ve butonları gizledik */
    }

    .slide-image::after {
        display: none;
        /* Metin olmadığı için görselin üzerindeki koyuluğu kaldırdık */
    }
}

/* ===== Category Page ===== */
.category-page {
    padding: 40px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.category-description {
    font-size: 16px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 16px;
}

.products-count {
    font-size: 14px;
    color: var(--color-text-muted);
}

.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination-wrapper nav {
    display: flex;
    gap: 8px;
}

.pagination-wrapper a,
.pagination-wrapper span {
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--color-text-secondary);
    transition: var(--transition);
}

.pagination-wrapper a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
}

.pagination-wrapper span.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-secondary);
}

/* ===== Product Page ===== */
.product-page {
    padding: 40px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

.main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #f8f6f3;
    margin-bottom: 16px;
}

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

.thumbnail-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--color-primary);
}

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

.product-details {
    padding-top: 20px;
}

.product-category-link {
    display: inline-block;
    font-size: 13px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.product-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.product-price-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
}

.old-price {
    font-size: 20px;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

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

.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.btn-add-to-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--color-primary);
    color: var(--color-dark);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.btn-add-to-cart:hover {
    background: var(--color-primary-dark);
}

.btn-buy-now {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: #7a141a;
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.btn-buy-now:hover {
    background: #5c0f13;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(122, 20, 26, 0.2);
}

.btn-wishlist {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

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

.product-meta {
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

.meta-item {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
}

.meta-label {
    color: var(--color-text-muted);
}

.meta-value {
    color: var(--color-dark);
    font-weight: 500;
}

.related-products {
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}


/* ===== Cart Page ===== */
.cart-page {
    padding: 40px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 32px;
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.cart-items table {
    width: 100%;
    border-collapse: collapse;
}

.cart-items th {
    text-align: left;
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.cart-items td {
    padding: 24px 16px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

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

.item-name {
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.item-name:hover {
    color: var(--color-primary);
}

.quantity-control input {
    width: 60px;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    text-align: center;
}

.item-total {
    font-weight: 600;
    color: var(--color-dark);
}

.remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    transition: color 0.2s;
}

.remove-btn:hover {
    color: #dc2626;
}

.cart-summary {
    background: #f9f9f9;
    padding: 24px;
    border-radius: var(--radius-lg);
    height: fit-content;
}

.summary-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: var(--color-text-secondary);
}

.summary-row.total {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--color-primary);
    color: white;
    /* Button text white for contrast */
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    margin-top: 24px;
    cursor: pointer;
    transition: background 0.2s;
}

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

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 14px;
}

.continue-shopping:hover {
    color: var(--color-primary);
}

.empty-cart {
    text-align: center;
    padding: 60px 0;
}

.empty-icon {
    color: var(--color-border);
    margin-bottom: 24px;
}

.alert {
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #d1fae5;
}

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

    .cart-items table,
    .cart-items thead,
    .cart-items tbody,
    .cart-items th,
    .cart-items td,
    .cart-items tr {
        display: block;
    }

    .cart-items thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .cart-items tr {
        border: 1px solid var(--color-border);
        margin-bottom: 20px;
        border-radius: 8px;
        padding: 15px;
    }

    .cart-items td {
        border: none;
        position: relative;
        padding: 8px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
    }

    .cart-items .item-info {
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    .cart-items .item-image {
        width: 80px;
        height: 80px;
        margin-bottom: 0;
    }

    .cart-items .item-details {
        text-align: left;
    }

    .item-total {
        font-size: 16px;
        color: var(--color-primary);
    }
}

@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }
}

@media (max-width: 640px) {
    .product-name {
        font-size: 22px;
    }

    .current-price {
        font-size: 24px;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-wishlist {
        width: 100%;
    }
}

/* ===== Auth Pages ===== */
.auth-page {
    padding: 60px 24px;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 400px);
}

.auth-container {
    width: 100%;
    max-width: 480px;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    text-align: center;
    margin-bottom: 32px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-dark);
}

.auth-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: var(--transition);
}

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

.auth-btn {
    width: 100%;
    padding: 14px;
    background: var(--color-primary);
    color: var(--color-dark);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

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

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.auth-footer a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

/* ===== Account Page ===== */
.account-page {
    padding: 40px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.account-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.account-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    padding: 24px;
    height: fit-content;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 24px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.user-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
}

.user-info p {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-nav a {
    padding: 12px;
    border-radius: var(--radius-sm);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.account-nav a:hover,
.account-nav a.active {
    background: #fdf8e8;
    color: var(--color-dark);
}

.logout-btn {
    width: 100%;
    text-align: left;
    padding: 12px;
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.account-content {
    background: white;
}

.content-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 24px;
}

.empty-state {
    text-align: center;
    padding: 60px;
    background: #f9f9f9;
    border-radius: var(--radius-lg);
}

.status-badge.pending {
    background: #fef3c7;
    color: #d97706;
}

.status-badge.paid {
    background: #dcfce7;
    color: #166534;
}

.status-badge.failed {
    background: #fee2e2;
    color: #991b1b;
}

.status-badge.shipped {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.completed {
    background: #dcfce7;
    color: #166534;
}

.status-badge.cancelled {
    background: #f3f4f6;
    color: #374151;
}

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

/* ===== Checkout Page Reset & Modern Styles ===== */
.checkout-page {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--color-dark);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 60px;
    align-items: start;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 30px;
    border-bottom: 2px solid #fecb00;
    padding-bottom: 15px;
    display: inline-block;
}

/* Form Styles */
.checkout-form-section .form-group {
    margin-bottom: 24px;
}

.checkout-form-section label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #4b5563;
}

.checkout-form-section .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.checkout-form-section .form-row .form-group {
    flex: 1;
}

.checkout-form-section input,
.checkout-form-section select,
.checkout-form-section textarea,
.form-control {
    width: 100% !important;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.checkout-form-section input:focus,
.checkout-form-section select:focus,
.checkout-form-section textarea:focus,
.form-control:focus {
    outline: none;
    border-color: #fecb00;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(254, 203, 0, 0.1);
}

.checkout-form-section textarea {
    resize: vertical;
    min-height: 100px;
}

/* Summary Box */
.checkout-summary {
    background: #f8fafc;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    position: sticky;
    top: 40px;
}

.summary-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--color-dark);
}

.summary-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 25px;
    padding-right: 10px;
}

.s-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    margin-right: 15px;
    flex-shrink: 0;
}

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

.s-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.s-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 2px;
}

.s-item-qty {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.s-item-price {
    font-weight: 700;
    color: #1e293b;
    font-size: 15px;
}

.summary-totals {
    border-top: 2px dashed #cbd5e1;
    padding-top: 20px;
    margin-top: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
    color: #475569;
}

.summary-row.total {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-dark);
}

/* Payment Button */
.btn-checkout-payment {
    width: 100%;
    padding: 18px;
    background: #fecb00;
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(254, 203, 0, 0.3);
}

.btn-checkout-payment:hover {
    background: #e6b800;
    transform: translateY(-2px);
}

.btn-checkout-payment:active {
    transform: translateY(0);
}

/* Result Pages */
.result-container {
    text-align: center;
    padding: 100px 20px;
    background: #fff;
    border-radius: 20px;
    margin-top: 20px;
}

.result-icon {
    width: 100px;
    height: 100px;
    background: #f0fdf4;
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.result-icon.fail {
    background: #fef2f2;
    color: #ef4444;
}

.result-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.result-message {
    color: #64748b;
    font-size: 18px;
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .checkout-form-section .form-row {
        flex-direction: column;
        gap: 0;
    }

    .page-title {
        font-size: 26px;
    }

    .checkout-page {
        padding: 30px 15px;
    }
}

/* Customization Options */
.product-customization {
    margin-bottom: 24px;
    border-top: 1px solid #eee;
    padding-top: 24px;
}

.customization-group {
    margin-bottom: 20px;
}

.customization-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    cursor: pointer;
    position: relative;
}

.color-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.color-name {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--color-gray);
    transition: all 0.2s;
}

.color-option input:checked+.color-name {
    border-color: var(--color-primary);
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-weight: 500;
}

.custom-select,
.custom-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--color-dark);
    background-color: #fff;
    transition: border-color 0.2s;
}

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


/* Cart Features */
.cart-wrapper {
    position: relative;
}

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

.mini-cart-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 16px;
}

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

.mini-cart-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.mini-cart-img img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.mini-cart-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mini-cart-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.mini-cart-price {
    font-size: 13px;
    color: var(--color-gray);
}

.mini-cart-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.btn-mini-cart {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.btn-mini-cart.view-cart {
    background: #f5f5f5;
    color: #333;
}

.btn-mini-cart.checkout {
    background: var(--color-dark);
    color: #fff;
}

.mini-cart-empty {
    text-align: center;
    font-size: 14px;
    color: #666;
}


/* Payment Options */
.form-section-divider {
    height: 1px;
    background: #eee;
    margin: 30px 0;
}

.checkout-page .payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.payment-method-item {
    width: 100%;
}

.payment-label {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.payment-label:hover {
    border-color: #bbb;
}

.payment-label input {
    margin-right: 16px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-dark);
}

.payment-label input:checked+.payment-content .payment-title {
    color: var(--color-dark);
}

.payment-label:has(input:checked) {
    border-color: var(--color-dark);
    background-color: #fafafa;
}

.payment-content {
    display: flex;
    flex-direction: column;
}

.payment-title {
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.payment-desc {
    font-size: 13px;
    color: var(--color-gray);
}

.bank-info-box {
    margin-top: 12px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #495057;
}

.bank-details-content {
    margin-bottom: 12px;
}

.bank-details-content p {
    margin-bottom: 8px;
}

.bank-details-content strong {
    font-weight: 600;
}

.bank-note {
    font-size: 13px;
    color: #888;
    font-style: italic;
}


/* Blog Section */
.blog-section {
    margin-bottom: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

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

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

.blog-card {
    border: 1px solid #eee;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.blog-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-img-link {
    display: block;
    height: 220px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--color-dark);
    text-decoration: none;
}

.blog-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}


/* Breadcrumb */
.breadcrumb-container {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 0;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #666;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: #ccc;
}

.breadcrumb a {
    text-decoration: none;
    color: #666;
}

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


.breadcrumb {
    padding-left: 10px;
}



.blog-section {
    background-color: #f5f5f5;
    padding: 60px 0;
}


.seo-text-section {
    background-color: #fbfbfb;
    padding-bottom: 60px;
}

.seo-content-scroll {
    padding-right: 0;
}

.seo-text-section .rte {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.seo-text-section .rte h1,
.seo-text-section .rte h2,
.seo-text-section .rte h3 {
    color: var(--color-dark);
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 700;
}

.seo-text-section .rte h1 {
    font-size: 28px;
}

.seo-text-section .rte h2 {
    font-size: 24px;
}

.seo-text-section .rte h3 {
    font-size: 20px;
}

.seo-text-section .rte p {
    margin-bottom: 16px;
}

.seo-text-section .rte strong,
.seo-text-section .rte b {
    color: var(--color-dark);
    font-weight: 700;
}

/* ===== Discount Voucher Side Widget ===== */
.discount-trigger {
    position: fixed;
    left: 0;
    top: 55%;
    transform: translateY(-50%);
    background: #2d2d2d;
    color: #ffffff;
    padding: 24px 8px;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border-radius: 0 4px 4px 0;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.discount-trigger:hover {
    padding-left: 12px;
    background: #111111;
}

.trigger-close {
    position: absolute;
    top: -10px;
    right: -8px;
    background: #7a141a;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    visibility: visible;
    transition: all 0.2s ease;
    border: 2px solid #fff;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.discount-trigger:hover .trigger-close {
    opacity: 1;
    transform: scale(1.1);
}

.trigger-close:hover {
    background: #5c0f13;
    transform: scale(1.2) !important;
}

.trigger-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

/* Discount Modal Styling */
.discount-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content-wrapper {
    position: relative;
    width: 90%;
    max-width: 440px;
    z-index: 2;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.discount-modal.active .modal-content-wrapper {
    transform: translateY(0);
}

.modal-close-icon {
    position: absolute;
    top: -45px;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

.modal-close-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

.modal-body {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.modal-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.modal-action-btn {
    display: inline-block;
    width: 100%;
    padding: 16px;
    background: #7a141a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.modal-action-btn:hover {
    background: #5c0f13;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(122, 20, 26, 0.3);
}

.modal-dismiss {
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.modal-dismiss:hover {
    opacity: 0.7;
}

@media (max-width: 480px) {
    .discount-trigger {
        top: 60%;
        padding: 18px 6px;
    }

    .trigger-text {
        font-size: 11px;
    }

    .modal-body {
        padding: 40px 20px;
    }

    .modal-title {
        font-size: 20px;
    }
}

/* Section Dots for Product Grids on Mobile */
.section-dots-wrapper {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 10px;
}

@media (max-width: 480px) {
    .section-dots-wrapper.mobile-only {
        display: flex;
    }
}

.section-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #7a141a;
    transition: all 0.2s ease;
    cursor: pointer;
}

.section-dot.active {
    background: #7a141a;
}

/* Section Navigation Arrows */
.section-slider-wrapper {
    position: relative;
    max-width: 100vw;
    overflow-x: hidden;
}

.section-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(122, 20, 26, 0.1);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #7a141a;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-slider-btn:hover {
    background: #7a141a;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

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

.section-slider-btn.prev {
    left: 8px;
}

.section-slider-btn.next {
    right: 8px;
}

@media (max-width: 480px) {
    .section-slider-btn {
        display: flex;
    }

    .products-grid.with-section-dots {
        scroll-behavior: smooth;
    }
}

.section-slider-btn:active {
    background: #fff;
    color: #7a141a;
}

/* Product Tabs */
.product-tabs-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }
}

.tabs-nav {
    justify-content: center;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 30px;
    gap: 40px;
}

.tab-link {
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-link:hover {
    color: #7a141a;
}

.tab-link.active {
    color: #7a141a;
    font-weight: 600;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #7a141a;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

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

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    text-align: left;
}

.accordion-header.active {
    color: #7a141a;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s;
    line-height: 1.6;
    color: #444;
}

.tab-pane.active {
    display: block;
}

@media (max-width: 768px) {
    .tab-pane {
        padding: 0 0 20px 0;
    }
}

.tab-content-text {
    max-width: 900px;
    margin: 0 auto;
}

.tab-content-text p {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .tabs-nav {
        gap: 20px;
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0;
    }

    .tab-link {
        flex-shrink: 0;
        font-size: 14px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Installment Table */
.installment-table-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.installment-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.installment-table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border: 1px solid #eee;
}

.installment-table th,
.installment-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.installment-table th {
    background-color: #f9f9f9;
    font-weight: 600;
    color: #333;
}

.installment-table tr:hover {
    background-color: #fcfcfc;
}

.installment-table td:first-child {
    font-weight: 500;
    color: #555;
}

.installment-note {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

.btn-wishlist.active {
    color: var(--color-danger);
    border-color: var(--color-danger);
    background-color: #fff0f0;
}

/* Product Feature Icons Grid */
.product-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #333;
}

.feature-text {
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .product-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .feature-text {
        font-size: 10px;
    }
}

/* Breadcrumb Styles */
.breadcrumb {
    padding: 15px 0 25px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    margin: 0 10px;
    color: #ccc;
    font-size: 12px;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #7a141a;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 10px 20px 20px;
    }
}

/* Mobile Header Fixes */
@media (max-width: 1280px) {
    .header-container {
        padding: 0 16px;
        height: var(--header-height);
        display: flex;
        align-items: center;
        justify-content: center;
        /* Center content in case absolute fails or for flex items */
        position: relative;
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
        padding: 5px;
        position: absolute;
        left: 16px;
        z-index: 2002;
    }

    .logo {
        position: absolute;
        left: 50.5%;
        /* Slight nudge to the left if it feels too right, but usually 50% is correct. Let's stick to 50% but clean up the container. */
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        z-index: 1001;
        max-width: 140px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .header-right {
        position: absolute !important;
        right: 16px;
        top: 0;
        bottom: 0;
        display: flex !important;
        align-items: center;
        gap: 12px;
        z-index: 2005;
        opacity: 1 !important;
        visibility: visible !important;
        margin: 0 !important;
        pointer-events: auto !important;
    }

    .search-box {
        display: none;
    }

    .category-header {
        padding: 0 16px;
        margin-bottom: 30px;
    }

    .category-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .category-description {
        font-size: 14px;
        padding: 0 10px;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .section-header {
        padding: 0 16px;
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 12px;
    }

    .logo {
        max-width: 120px;
    }

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

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

    .header-right {
        right: 12px;
        gap: 8px;
    }

    .header-icon-wrapper.cart-wrapper {
        margin-left: 0;
    }
}

/* Mobile Category Products Flow - Single Column */
@media (max-width: 480px) {
    .category-page .products-grid {
        display: flex !important;
        flex-direction: column !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 16px 40px !important;
        gap: 30px !important;
        scroll-snap-type: none !important;
    }

    .category-page .products-grid .product-card {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        scroll-snap-align: none !important;
        margin: 0 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        /* More premium shadow */
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    .category-page .product-image {
        aspect-ratio: 1/1 !important;
        /* Squarer for full width */
    }

    .category-page .product-title {
        font-size: 18px !important;
        /* Larger title for larger card */
        height: auto !important;
        /* Reset fixed height to prevent clipping */
        min-height: 52px;
        /* Matches 2 lines of 18px text */
    }
}

/* Product Detail Mobile Breadcrumb Fix */
@media (max-width: 480px) {
    .product-page .breadcrumb {
        padding: 10px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .product-page .breadcrumb::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .product-page .breadcrumb-list {
        font-size: 11px;
        flex-wrap: nowrap !important;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }

    /* Remove double slashes by targeting specifically */
    .product-page .breadcrumb li:not(:last-child)::after {
        display: none !important;
    }

    .product-page .breadcrumb-item+.breadcrumb-item::before {
        content: "/" !important;
        margin: 0 8px !important;
        font-size: 10px !important;
        opacity: 0.5;
    }

    .product-page .breadcrumb-item.active {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }

    /* General Mobile Breadcrumb Fix (Blog etc.) */
    .breadcrumb-container .breadcrumb {
        padding: 10px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        display: flex;
        flex-wrap: nowrap;
        white-space: nowrap;
        align-items: center;
    }

    .breadcrumb-container .breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .breadcrumb-container .breadcrumb li {
        flex-shrink: 0;
    }
}

/* Full Width Promo Banners on Mobile */
@media (max-width: 480px) {
    .home-promo-banner {
        padding: 0 !important;
        /* Yan ve dikey boşlukları kaldırdık */
        margin-bottom: 20px;
        /* Diğer bölümlerle arasına küçük bir boşluk */
    }

    .home-promo-banner .banner-container {
        border-radius: 0 !important;
        /* Köşeleri sıfırladık */
        height: 250px;
        /* Mobilde daha uygun bir yükseklik */
    }
}

/* Hide Banner Content on Mobile for Promo Banners */
@media (max-width: 480px) {
    .home-promo-banner .banner-content {
        display: none !important;
    }

    .home-promo-banner .banner-overlay {
        display: none !important;
        /* Metin olmadığı için karartmayı da kaldırıyoruz */
    }

    .banner-link {
        text-decoration: none;
        display: block;
        width: 100%;
    }
}

/* ===== Redesigned Empty Cart ===== */
.empty-cart-container {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    min-height: 60vh;
}

.empty-cart-content {
    text-align: center;
    max-width: 500px;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.empty-cart-icon {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    color: var(--color-primary);
}

.empty-cart-icon svg {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 6px rgba(236, 182, 19, 0.2));
}

.icon-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(236, 182, 19, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.empty-cart-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.empty-cart-subtitle {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.empty-cart-actions {
    margin-bottom: 48px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(27, 24, 13, 0.15);
}

.btn-lg:hover {
    box-shadow: 0 6px 20px rgba(27, 24, 13, 0.25);
    transform: translateY(-2px);
}

.empty-cart-suggestions {
    border-top: 1px solid var(--color-border);
    padding-top: 32px;
}

.suggestions-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.suggestion-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.suggestion-tag {
    padding: 8px 16px;
    background: var(--color-bg);
    color: var(--color-text);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.suggestion-tag:hover {
    background: var(--color-white);
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .empty-cart-title {
        font-size: 24px;
    }

    .empty-cart-container {
        padding: 60px 20px;
        min-height: 50vh;
    }
}

/* Social Proof Notification */
.social-proof-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 15px;
    width: 320px;
    display: flex;
    align-items: center;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid #7a141a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.social-proof-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.social-proof-notification .sp-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
    border: 1px solid #eee;
}

.social-proof-notification .sp-placeholder {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-right: 15px;
}

.social-proof-notification .sp-content {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.social-proof-notification .sp-details {
    flex: 1;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

.social-proof-notification .sp-user {
    font-weight: 700;
    color: #1a1a1a;
}

.social-proof-notification a {
    color: #7a141a;
    text-decoration: none;
    font-weight: 500;
}

.social-proof-notification a:hover {
    text-decoration: underline;
}

.social-proof-notification .sp-time {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

.social-proof-notification .sp-verified {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #28a745;
    margin-top: 4px;
    font-weight: 600;
}

.social-proof-notification .sp-close {
    position: absolute;
    top: -10px;
    right: -5px;
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.social-proof-notification .sp-close:hover {
    color: #333;
}

@media (max-width: 480px) {
    .social-proof-notification {
        width: 90%;
        left: 5%;
        bottom: 10px;
    }
}