/* ========================================================================= */
/*  CSS Reset & Base Settings                                                */
/* ========================================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #333333;
    /* Dark Gray for text */
    --color-secondary: #777777;
    /* Muted gray for pricing/meta */
    --color-footer-bg: #f4f4f4;
    /* Light gray from screenshot */
    --color-bg: #ffffff;
    --color-border: #ededed;
    --color-hover: #000000;
    --color-white: #ffffff;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --transition-fast: 0.3s ease;
}

body {
    font-family: var(--font-body);
    color: var(--color-primary);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

/* ========================================================================= */
/*  Typography                                                               */
/* ========================================================================= */
h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.25rem;
}

/* ========================================================================= */
/*  Announcement Bar                                                         */
/* ========================================================================= */
.announcement-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========================================================================= */
/*  Header                                                                   */
/* ========================================================================= */
.site-header {
    border-bottom: 1px solid var(--color-border);
    padding: 15px 5%;
    /* 5% side margins for wide grid */
    position: sticky;
    top: 0;
    background-color: var(--color-bg);
    z-index: 1000; /* Temel katman */
}

/* Mobil Menü Açıkken Header Önceliği */
body.mobile-menu-active .site-header {
    z-index: 5000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    /* For absolute centering of nav */
}

.logo {
    flex: 1;
    /* Pushes other items */
}

.logo img {
    height: 50px;
    /* Optimized logo size */
    width: auto;
}

.main-nav {
    flex: 3; /* Give more space to nav */
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    white-space: nowrap; /* Prevent text wrapping into two lines */
    display: block;
}

/* Dropdown Menu Styles (Innovative & Premium) */
.has-dropdown {
    position: relative;
}

.toggle-submenu {
    display: none; /* Masaüstünde gizle */
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px); /* Modern Glassmorphism touch */
    min-width: 240px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.02);
    border: none;
    padding: 20px 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-top: 2px solid #222; /* High-end fashion accent */
}

/* Force vertical layout for dropdown items */
.main-nav ul .dropdown {
    display: block; 
}

.main-nav ul .dropdown li {
    display: block;
    width: 100%;
    margin: 0;
    text-align: left;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li a {
    padding: 12px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 500;
    color: #444;
    text-align: left;
    white-space: nowrap;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase; /* Clean fashion look */
    position: relative;
}

.dropdown li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background-color: #222;
    transition: width 0.3s ease;
}

.dropdown li a:hover {
    color: #000;
    background-color: transparent;
    padding-left: 45px;
}

.dropdown li a:hover::before {
    width: 15px;
}

.header-icons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    /* Push icons to the right end */
    gap: 25px;
    align-items: center;
    font-size: 1.1rem;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -8px;
    color: #c98a5e;
    /* Elegant muted copper */
    font-size: 0.8rem;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--color-primary);
}

/* ========================================================================= */
/*  Hero Slider Section                                                      */
/* ========================================================================= */
.hero-slider {
    width: 100%;
    height: 85vh;
    /* Taller hero section for elegance */
    position: relative;
    background-color: #f8f8f8;
}

.slide-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Optional Overlay to make text readable */
.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    /* Light overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Above the overlay */
    color: var(--color-primary);
    max-width: 800px;
    padding: 0 20px;
}

/* Slide Placeholders (You will replace these with real image URLs) */
.slide-1 {
    background-image: url('https://images.unsplash.com/photo-1490481651871-ab68de25d43d?q=80&w=2070&auto=format&fit=crop');
}

.slide-2 {
    background-image: url('https://images.unsplash.com/photo-1445205170230-053b83016050?q=80&w=2071&auto=format&fit=crop');
}

.slide-3 {
    background-image: url('https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?q=80&w=1920&auto=format&fit=crop');
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
    font-weight: 500;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 35px;
    line-height: 1.1;
}

.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border: 1px solid var(--color-primary);
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

/* Swiper Customizations */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-primary) !important;
    background: rgba(255, 255, 255, 0.7);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-primary);
    color: var(--color-white) !important;
}

.swiper-pagination-bullet {
    background: var(--color-primary) !important;
    width: 10px !important;
    height: 10px !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 25px !important;
    border-radius: 5px !important;
    transition: all 0.3s ease;
}

/* ========================================================================= */
/*  Category Banners Section                                                 */
/* ========================================================================= */
.category-banners {
    padding: 0 2%; /* Sidelined and zero top for Büşra Tepe look */
    max-width: 100%; /* Take full width potential */
    margin: 40px auto 0; /* Clear separation from slider */
}

.banners-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* Tighter gap */
}

.banner-item {
    position: relative;
    aspect-ratio: 2 / 3; /* Vertical rectangular ratio */
    overflow: hidden;
    display: block;
}

.banner-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.banner-item:hover .banner-image {
    transform: scale(1.05);
}

/* Gradient Overlay for Text Readability */
.banner-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.banner-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
    z-index: 2;
}

.banner-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: white;
}

.banner-text span {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
    display: inline-block;
    transition: transform 0.3s ease;
}

.banner-item:hover .banner-text span {
    transform: translateX(5px);
}

/* Category Images - Dynamic images from Admin will be injected via style attribute */

/* ========================================================================= */
/*  Featured Products Section & Layout                                       */
/* ========================================================================= */
.main-content {
    padding: 80px 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.view-all {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--color-primary);
}

/* ========================================================================= */
/*  Product Grid & Cards                                                     */
/* ========================================================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.product-card {
    border: 1px solid var(--color-border);
    border-radius: 0;
    transition: border-color var(--transition-fast);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: #ccc;
}

.product-image {
    position: relative;
    aspect-ratio: 3 / 4;
    background-color: #f4f4f4;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* The Black interaction bar! */
.add-to-cart-bar {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 12px 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: bottom 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .add-to-cart-bar {
    bottom: 0px;
}

.product-info {
    padding: 20px 15px;
    text-align: center;
}

.product-name {
    font-family: var(--font-body);
    /* Using body font for modern look */
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.product-price {
    color: var(--color-secondary);
    font-size: 0.9rem;
}

/* ========================================================================= */
/*  Footer Section (Premium & Modern)                                        */
/* ========================================================================= */
.site-footer {
    background-color: #f9f9f9;
    color: var(--color-primary);
    padding: 0;
    font-family: var(--font-body);
    border-top: 1px solid #f0f0f0;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 5%;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer-newsletter-section {
    flex: 1;
    max-width: 400px;
}

.newsletter-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-text p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
}

.newsletter-input-wrapper {
    display: flex;
    background: #fff;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    margin-bottom: 25px;
}

.newsletter-input-wrapper input {
    flex: 1;
    border: none !important;
    padding: 15px 20px !important;
    font-size: 0.9rem !important;
    background: transparent !important;
    outline: none !important;
}

.newsletter-input-wrapper button {
    background: transparent !important;
    border: none !important;
    color: #222 !important;
    width: 60px !important;
    font-size: 1.4rem !important;
    border-left: 1px solid #efefef !important;
    cursor: pointer;
    transition: color 0.3s;
}

.newsletter-input-wrapper button:hover {
    color: var(--color-secondary);
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.social-link-item:hover {
    color: #000;
}

.social-link-item i {
    font-size: 1.4rem;
    color: #333;
}

.footer-links-container {
    flex: 1.5;
    display: flex;
    justify-content: flex-end;
    gap: 80px;
}

.footer-column h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #222;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #000;
}

/* Sub Footer */
.sub-footer {
    background-color: #000;
    padding: 30px 5%;
    border-top: 1px solid #222;
    color: #fff;
}

.sub-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    font-size: 0.85rem;
    color: #fff;
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.payment-methods {
    display: flex;
    align-items: center;
}

.payment-methods img {
    max-height: 25px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.payment-methods img:hover {
    opacity: 1;
}

.secure-badge i {
    font-size: 1.2rem;
    opacity: 0.6;
}

/* Hide accordion icons on desktop */
.icon-state {
    display: none !important;
}

.newsletter-form {
    display: none; /* Eski form gizlendi, v2 kullanılıyor */
}

.newsletter-form button:hover {
    color: #888;
}

/* Footer Main Columns */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
    padding: 100px 10% 80px 10%;
}

.footer-column h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 35px;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #666;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all 0.3s ease;
    background-color: #fff;
}

.social-icons a:hover {
    color: #fff;
}

/* Sub Footer */
.sub-footer {
    border-top: 1px solid #1a1a1a;
    padding: 25px 5%;
    margin-top: 0;
    background-color: #0c0c0c;
}

.sub-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
    font-size: 0.8rem;
}

.sub-footer p {
    color: #555;
}

.developer-credit {
    font-weight: 500;
    color: #777;
}

/* ========================================================================= */
/*  Featured Products Section                                               */
/* ========================================================================= */
.products-section {
    padding: 60px 0 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    gap: 10px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.view-all {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.section-footer {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.product-card {
    position: relative;
    background: transparent;
    transition: all 0.4s ease;
}

.product-image {
    position: relative;
    width: 100%;
    /* Modern tarayıcılar için dikey 3:4 oran */
    aspect-ratio: 3 / 4;
    background-color: #f6f6f6;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Eski tarayıcılar (Safari <15 vb.) için Padding Hack Fallback */
@supports not (aspect-ratio: 3/4) {
    .product-image {
        padding-top: 133.33%; /* 4 / 3 = 1.3333 */
        height: 0;
    }
    .product-image img, 
    .product-image .placeholder-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.product-image .placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-image img {
    width: 100%;
    height: 100%;
    /* Görseli kutuya en iyi şekilde sığdır ve kırp */
    object-fit: cover;
    object-position: center top; /* Moda fotoğrafları için genellikle üst kısım önemlidir */
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Add to Cart Bar */
.add-to-cart-bar {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    color: #fff;
    padding: 15px 0;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: bottom 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 5;
}

.product-card:hover .add-to-cart-bar {
    bottom: 0;
}

.product-info {
    text-align: center;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: #333;
}

.product-price {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #777;
    font-weight: 500;
}

/* Hover State for Info */
.product-card:hover .product-name {
    color: var(--color-primary);
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(-20px);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-close {
    position: absolute;
    top: 40px;
    right: 5%;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.search-close:hover {
    transform: rotate(90deg);
}

.search-overlay-content {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
}

.search-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--color-primary);
}

.search-form {
    position: relative;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    border: none;
    background: none;
    font-size: 2rem;
    font-family: var(--font-body);
    font-weight: 300;
    outline: none;
    padding-right: 50px;
    color: var(--color-primary);
}

.search-input::placeholder {
    color: #bbb;
}

.search-submit {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    padding: 0;
}

.search-popular {
    margin-top: 40px;
    text-align: left;
}

.search-popular span {
    font-size: 0.9rem;
    color: #888;
    margin-right: 15px;
}

.popular-tags {
    display: inline-flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.popular-tags a {
    font-size: 0.95rem;
    color: var(--color-primary);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.popular-tags a:hover {
    border-bottom-color: var(--color-primary);
}

/* ========================================================================= */
/*  Page Header & Breadcrumbs                                               */
/* ========================================================================= */
.page-header {
    background-color: #ffffff;
    padding: 30px 0;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.breadcrumb {
    font-size: 0.85rem;
    color: #999;
    letter-spacing: 0.5px;
}

.breadcrumb a {
    color: #999;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb span {
    color: var(--color-primary);
}

/* ========================================================================= */
/*  Wishlist Page Specifics                                                  */
/* ========================================================================= */
.wishlist-section {
    padding: 100px 5%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-empty {
    text-align: center;
    max-width: 500px;
}

.empty-icon {
    margin-bottom: 30px;
    opacity: 0.6;
}

.wishlist-empty h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.wishlist-empty p {
    color: #777;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* ========================================================================= */
/*  Account Page Specifics                                                   */
/* ========================================================================= */
.account-section {
    padding: 80px 5%;
}

.account-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.account-column {
    flex: 1;
}

.account-column h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--color-primary);
}

.account-divider {
    width: 1px;
    align-self: stretch;
    background-color: #eee;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    color: #444;
}

.form-group input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: var(--color-primary);
}

.form-extras {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forgot-password {
    color: #666;
    text-decoration: underline;
}

.form-privacy {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.6;
    margin-top: 5px;
}

.form-privacy a {
    color: var(--color-primary);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 40px;
    background-color: transparent;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border: 1px solid var(--color-primary);
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ========================================================================= */
/*  Product Detail Page                                                       */
/* ========================================================================= */
.breadcrumb-container {
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 60px;
}

.breadcrumb {
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 0.5px;
}

.breadcrumb a {
    color: #666;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.product-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    min-width: 0;
    max-width: 100%;
}

.main-image {
    aspect-ratio: 3 / 4;
    background-color: #f6f6f6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-image .placeholder-img {
    color: #ccc;
    font-size: 1rem;
    letter-spacing: 2px;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumb {
    aspect-ratio: 1 / 1;
    background-color: #f6f6f6;
    cursor: pointer;
    border: 1px solid transparent;
    transition: border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb.active {
    border-color: var(--color-primary);
}

.thumb .placeholder-img {
    font-size: 0.6rem;
    color: #ddd;
}

/* Product Info & Actions */
.product-actions {
    display: flex;
    flex-direction: column;
}

.product-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.sku {
    font-size: 0.7rem;
    color: #aaa;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.product-price-large {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: #333;
}

.product-description-short {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 40px;
}

/* Options */
.option-group {
    margin-bottom: 30px;
}

.option-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    color: #222;
    text-transform: uppercase;
}

.color-swatches {
    display: flex;
    gap: 12px;
}

.swatch {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.swatch.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid #222;
    border-radius: 50%;
}

.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size {
    min-width: 50px;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.size:hover {
    border-color: #999;
}

.size.active {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: #fff;
}

.size.disabled {
    color: #ccc;
    background-color: #ffffff;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: #eee;
}

.quantity-wrapper {
    display: flex;
    border: 1px solid #ddd;
    width: fit-content;
}

.qty-btn {
    background: none;
    border: none;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #666;
    transition: color 0.3s;
}

.qty-btn:hover {
    color: var(--color-primary);
}

.quantity-wrapper input {
    width: 60px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 0.95rem;
    outline: none;
    color: #333;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity-wrapper input::-webkit-outer-spin-button,
.quantity-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Buttons */
.product-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.wishlist-btn-large {
    background: none;
    border: none;
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
    transition: color 0.3s;
}

.wishlist-btn-large:hover {
    color: var(--color-primary);
}

/* Tabs */
.product-info-tabs {
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

.tab-header {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.tab-link {
    padding: 20px 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    color: #bbb;
    transition: color 0.3s;
}

.tab-link.active {
    color: var(--color-primary);
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

.tab-content {
    padding: 30px 0;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #777;
}

.tab-content ul {
    margin-top: 20px;
}

.tab-content li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.tab-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ccc;
}

/* Related Products Area */
.related-products {
    padding: 80px 0 100px;
    border-top: 1px solid #f0f0f0;
}

.related-products .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 50px;
    text-align: center;
    color: var(--color-primary);
}

/* ========================================================================= */
/*  Shop / Category Page Header                                             */
/* ========================================================================= */
.page-header {
    background-color: #fff;
    padding: 15px 0 0px;
    text-align: left;
    border-bottom: none;
    margin-bottom: 0;
}

.page-header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.page-header .breadcrumb {
    margin-bottom: 5px;
    font-size: 0.7rem;
    color: #999;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 400;
}

.page-header .breadcrumb a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.page-header .breadcrumb a:hover {
    color: #222;
}

.page-header .breadcrumb span {
    color: #ccc;
    margin: 0 3px;
}

/* ========================================================================= */
/*  Shop / Category Page Specifics                                                  */
/* ========================================================================= */
.shop-filters {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-bottom: none;
    padding-bottom: 0;
}

.filter-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.in-stock-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.in-stock-filter input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.total-count {
    color: #888;
}

.sort-select-wrapper.v2 {
    width: 100%;
}

.sort-select-wrapper.v2 select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #444;
    background-color: #fff;
    outline: none;
    cursor: pointer;
    border-radius: 4px; /* Slight roundness as per image */
}

.shop-section {
    padding: 30px 0 100px;
}

/* Pagination */
.pagination {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.page-link {
    width: 45px;
    height: 45px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-link:hover,
.page-link.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.page-link.active {
    font-weight: 600;
}

.page-link.next {
    font-size: 0.7rem;
}

/* Responsive Product Page */
@media (max-width: 1024px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 5%;
    }
}

/* ========================================================================= */
/*  Responsive Design                                                        */
/* ========================================================================= */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.menu-close {
    display: none !important;
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100%;
        background-color: #fff;
        z-index: 5001; /* Header (5000) icindeki en ust katman */
        display: block !important;
        padding: 60px 20px;
        transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #333;
        cursor: pointer;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0;
    }

    .main-nav ul li.nav-item {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .menu-item-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .main-nav a.main-link {
        font-size: 0.95rem;
        font-weight: 500;
        padding: 18px 0;
        color: #222;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        flex: 1;
    }

    .toggle-submenu {
        display: block; /* Mobilde göster */
        padding: 15px 5px 15px 20px !important;
        color: #999 !important;
        cursor: pointer;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }

    .has-dropdown.active .toggle-submenu {
        transform: rotate(90deg);
        color: #222 !important;
    }

    /* Mobil Menü Alt Menü (Dropdown) Kesin Çözüm */
    .main-nav ul li.has-dropdown .dropdown {
        position: static !important;
        width: 100% !important;
        display: none; /* JS ile açılacak */
        background-color: #f7f7f7 !important; /* Bir tık daha koyu gri ki fark edilsin */
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
        z-index: 1 !important;
    }

    /* Alt menü açıldığında görünür yap */
    .main-nav ul li.has-dropdown.active > .dropdown {
        display: block !important;
    }

    /* Alt Kategori Linkleri (Boşlukları al, yazıları koyulaştır) */
    .dropdown li.sub-item {
        border-bottom: 1px solid #efefef !important;
        width: 100% !important;
        display: block !important;
    }

    .dropdown li.sub-item:last-child {
        border-bottom: none !important;
    }

    .dropdown li.sub-item a {
        padding: 15px 30px !important; /* Soldan girintili */
        font-size: 0.85rem !important;
        color: #333 !important; /* Görünür siyah/gri */
        font-weight: 500 !important;
        display: block !important;
        width: 100% !important;
        text-transform: uppercase !important;
        background: transparent !important;
        letter-spacing: 0.5px !important;
        line-height: normal !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Masaüstünden kalan "before" çizgisini mobilde gizle */
    .dropdown li.sub-item a::before {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.4rem;
        z-index: 10002;
    }

    body.mobile-menu-active .mobile-menu-toggle {
        display: none !important;
    }

    .header-icons {
        gap: 15px; /* Adjust spacing slightly for mobile */
    }

    .logo img {
        height: 35px;
    }

    /* Footer Mobile Modern (Accordion & Newsletter) */
    .footer-top {
        flex-direction: column;
        padding: 40px 20px !important;
        gap: 0 !important;
    }

    .footer-newsletter-section {
        max-width: 100% !important;
        padding-bottom: 40px;
    }

    .newsletter-text h3 {
        font-size: 1.1rem !important;
        margin-bottom: 5px !important;
    }

    .newsletter-text p {
        margin-bottom: 20px !important;
    }

    .newsletter-input-wrapper {
        border-radius: 8px;
    }

    .footer-social-links {
        margin-top: 25px;
    }

    .footer-links-container {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .accordion-item {
        border-bottom: 1px solid #eee;
        background: #fff;
        margin-bottom: 8px;
        border-radius: 4px;
        width: 100%;
    }

    .accordion-header {
        padding: 18px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }

    .accordion-header h4 {
        margin: 0 !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        color: #222 !important;
        text-transform: none !important;
    }

    .icon-state {
        display: block !important;
        font-size: 0.8rem;
        color: #888;
        transition: transform 0.3s ease;
    }

    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        padding: 0 20px;
        text-align: center; /* İçeriği ortala */
    }

    .accordion-item.active .accordion-content {
        max-height: 500px;
        padding-bottom: 25px; /* Biraz daha alt boşluk */
    }

    .accordion-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .accordion-content li {
        margin-bottom: 15px;
    }

    .accordion-content li a {
        color: #666;
        text-decoration: none;
        font-size: 0.95rem;
        display: block;
        transition: color 0.3s;
    }

    .sub-footer {
        padding: 25px 20px !important;
    }

    .sub-footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom-right {
        justify-content: center;
    }

    /* Newsletter Mobile Fix */
    .newsletter-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .newsletter-form {
        width: 100%;
    }

    .banners-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px; /* Even tighter for mobile */
    }

    .banner-text h3 {
        font-size: 1.2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    /* Search Overlay Mobile Fix */
    .search-close {
        top: 20px;
        right: 20px;
    }

    .search-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .search-input {
        font-size: 1.2rem;
        padding-right: 40px;
    }

    .search-overlay-content {
        padding: 0 15px;
    }

    .search-popular {
        margin-top: 30px;
    }

    /* Global Content Spacing Fix */
    .main-content {
        padding: 5px 5% !important;
    }

    /* Product Page Spacing Fix */
    .breadcrumb-container {
        padding: 10px 0 !important;
        margin-bottom: 10px !important;
    }

    .product-container {
        padding: 0 5% !important;
        gap: 20px !important;
    }

    .product-detail {
        padding-top: 0 !important;
    }

    .product-title {
        font-size: 1.6rem !important;
        margin-bottom: 10px !important;
    }

    .product-gallery {
        margin-top: 0 !important;
    }

    /* Product Card Mobile Fixes */
    .add-to-cart-bar {
        bottom: 0 !important; /* Always show on mobile */
        padding: 10px 0 !important;
        font-size: 0.75rem !important;
        opacity: 0.9 !important;
    }

    .product-image img {
        transform: none !important; /* Disable zoom on mobile for cleaner look */
    }

    /* Page Header Mobile Fix */
    .page-header {
        padding: 5px 0 0px !important;
        margin-bottom: 5px !important;
    }

    .page-header h1 {
        font-size: 1.5rem !important;
    }

    /* Shop Filters Mobile Alignment */
    .shop-filters {
        gap: 12px !important;
    }

    .filter-top-row {
        font-size: 0.8rem !important;
    }

    .sort-select-wrapper.v2 select {
        font-size: 0.85rem !important;
        padding: 10px !important;
    }

    .sort-select-wrapper {
        margin-left: 0 !important;
        text-align: left !important;
        width: 100% !important;
    }

}

/* ========================================================================= */
/*  Shopping Cart Sidebar                                                   */
/* ========================================================================= */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    /* Hidden off-screen */
    width: 400px;
    height: 100%;
    background-color: var(--color-white);
    z-index: 4000; /* Backdrop (2000) ustunde */
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cart-sidebar.active {
    right: 0;
}

.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 30px 25px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-primary);
}

.cart-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    padding: 5px;
    transition: transform 0.3s ease;
}

.cart-close:hover {
    transform: rotate(90deg);
}

.cart-body {
    flex: 1;
    padding: 30px 25px;
    overflow-y: auto;
}

.cart-empty {
    text-align: center;
    margin-top: 50px;
}

.cart-empty p {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.cart-footer {
    padding: 30px 25px;
    border-top: 1px solid #f0f0f0;
    background-color: #ffffff;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-total span {
    font-weight: 500;
    color: var(--color-primary);
}

#cart-subtotal {
    font-size: 1.2rem;
}

.cart-note {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 25px;
    text-align: center;
}

@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-info {
        padding: 10px 5px;
    }

    .product-name {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .product-price {
        font-size: 0.85rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .banners-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .banner-text h3 {
        font-size: 1rem;
    }

    .banner-text {
        bottom: 15px;
        left: 15px;
    }
}


@media (max-width: 768px) {
    .hero-slider {
        height: 65vh !important; /* Balanced height for mobile */
    }
    
    .category-banners {
        margin-top: 25px !important; /* Smaller gap for mobile */
    }
    
    .d-none-mobile {
        display: none !important;
    }
}
/* ========================================================================= */
/*  Checkout Page Styles                                                     */
/* ========================================================================= */
.checkout-section { padding: 60px 0; background: #fff; }
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 50px; }
.checkout-block { margin-bottom: 30px; }
.block-title { font-family: var(--font-heading); font-size: 1.4rem; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 20px; color: var(--color-primary); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 15px; }
.input-label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; color: #555; }
.checkout-input, .checkout-textarea { width: 100%; padding: 12px; border: 1px solid #ddd; outline: none; transition: border-color 0.3s; background: #fff; }
.checkout-input:focus, .checkout-textarea:focus { border-color: var(--color-primary); }
.checkout-textarea { min-height: 120px; resize: vertical; }
.payment-option-card { display: flex; align-items: center; padding: 20px; border: 1px solid #eee; margin-bottom: 10px; cursor: pointer; background: #fff; }
.payment-option-card:hover { border-color: #ccc; }
.payment-option-card input { margin-right: 15px; accent-color: var(--color-primary); }
.summary-card { padding: 30px; border: 1px solid #eee; position: sticky; top: 120px; background: #f9f9f9; }
.summary-title { font-family: var(--font-heading); font-size: 1.25rem; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 20px; }
.summary-item { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 0.85rem; }
.summary-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid #eee; font-size: 0.9rem; }
.total-row { border-top: 2px solid var(--color-primary); font-weight: 700; font-size: 1.15rem; color: var(--color-primary); padding-top: 15px; }
.checkout-submit-btn { width: 100%; padding: 18px; font-size: 0.95rem; font-weight: 600; margin-top: 20px; }
.trust-note { text-align: center; font-size: 0.75rem; color: #999; margin-top: 20px; }

@media (max-width: 992px) {
    .checkout-grid { grid-template-columns: 1fr; gap: 40px; }
    .summary-card { position: static; margin-top: 20px; }
}
@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; gap: 15px; }
    .page-header.checkout-header { padding: 30px 0; }
    .payment-icons { display: none; }
    .checkout-section { padding: 30px 0; }
    .summary-card { padding: 20px; }
}

/* ========================================================================= */
/*  User Account Sidebar Styles                                              */
/* ========================================================================= */
.user-sidebar .user-greeting-area h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 600;
}

.user-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.user-menu-body {
    padding: 20px 25px !important;
}

.user-menu-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-menu-btn {
    display: block;
    padding: 18px 20px;
    border: 1px solid #eee;
    background: #fff;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: left;
}

.user-menu-btn:hover {
    border-color: #333;
    background: #fafafa;
    color: #000;
}

.btn-logout-sidebar {
    display: block;
    margin-top: 15px;
    padding: 20px;
    background-color: var(--color-primary);
    color: #fff !important;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-logout-sidebar:hover {
    background-color: #000;
}

.user-sidebar {
    width: 350px;
}

@media (max-width: 480px) {
    .user-sidebar {
        width: 100% !important;
    }
}



/* ========================================================================= */
/* Toast Notifications */
/* ========================================================================= */
.n-toast {
 position: fixed;
 top: 20px;
 left: 50%;
 transform: translate(-50%, -20px);
 z-index: 10000;
 opacity: 0;
 transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
 pointer-events: none;
 width: auto;
 max-width: 90%;
}
.n-toast.show {
 opacity: 1;
 transform: translate(-50%, 0);
}
.n-toast-content {
 background: #222;
 color: #fff;
 padding: 12px 25px;
 font-size: 0.85rem;
 display: flex;
 align-items: center;
 gap: 12px;
 letter-spacing: 0.5px;
 box-shadow: 0 10px 30px rgba(0,0,0,0.2);
 border-left: 3px solid #fff;
 border-radius: 0;
 line-height: 1.4;
}
.n-toast.error .n-toast-content {
 border-left-color: #ff4d4d;
}
.n-toast.success .n-toast-content {
 border-left-color: #00a65a;
}
.n-toast-content i {
 font-size: 1rem;
}

@media (max-width: 768px) {
 .n-toast {
 width: 90%;
 top: auto;
 bottom: 30px;
 transform: translate(-50%, 20px);
 }
 .n-toast.show {
 transform: translate(-50%, 0);
 }

/* ========================================================================= */
/*  Variation Chips (Button Style)                                           */
/* ========================================================================= */
.variant-chip {
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin: 5px 2px;
}

.variant-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.variant-chip span {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    background: #fff;
    color: #333;
    min-width: 50px;
    text-align: center;
    border-radius: 2px;
}

.variant-chip input:checked + span {
    background: #222;
    color: #fff;
    border-color: #222;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.variant-chip:hover span {
    border-color: #333;
}
}

/* ========================================================================= */
/*  Product Image Zoom                                                       */
/* ========================================================================= */
.main-image-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.main-image-container img {
    transition: transform 0.1s ease-out;
    transform-origin: center center;
}

.main-image-container:hover img {
    transform: scale(2);
}

@media (max-width: 768px) {
    .main-image-container {
        cursor: default;
    }
    .main-image-container:hover img {
        transform: scale(1);
    }
}

/* ========================================================================= */
/*  Product Slider & Zoom                                                    */
/* ========================================================================= */
/* ========================================================================= */
/*  Product Gallery & Zoom Final Safe Version                                */
/* ========================================================================= */
.product-gallery {
    width: 100%;
    min-width: 0;
}

.main-image {
    aspect-ratio: 3 / 4;
    background-color: #fff;
    width: 100%;
    overflow: hidden;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.thumb {
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border: 1px solid #eee;
    transition: all 0.3s;
    overflow: hidden;
}

.thumb.active {
    border-color: #222;
}

.thumb:hover {
    opacity: 0.8;
}

/* Zoom Modal Safe */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10,10,10,0.95);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.zoom-content {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
}

/* Product Detail Cleanup Final */
.product-detail {
    padding: 80px 0;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* AJAX Search Results Styling */
.ajax-search-results {
    margin-top: 30px;
    max-height: 50vh;
    overflow-y: auto;
    text-align: left;
    padding-right: 10px;
}

/* Custom Scrollbar for results */
.ajax-search-results::-webkit-scrollbar {
    width: 4px;
}
.ajax-search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.ajax-search-results::-webkit-scrollbar-thumb {
    background: #ddd;
}
.ajax-search-results::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.ajax-search-results .search-results-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

@media (max-width: 768px) {
    .search-results-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    background: transparent;
}

.search-result-item:hover {
    background: #f9f9f9;
}

.result-img {
    width: 80px;
    height: 105px;
    flex-shrink: 0;
    background: #f6f6f6;
    overflow: hidden;
}

.result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-info {
    flex: 1;
}

.result-name {
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 400;
    margin-bottom: 5px;
}

.result-price {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #444;
}

.result-price .old {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
    font-size: 0.8rem;
}

.no-results {
    padding: 20px;
    color: #888;
    font-style: italic;
    text-align: center;
}

/* Premium WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    gap: 0 !important; /* Herhangi bir boşluğu sıfırla */
}

.whatsapp-float:hover {
    transform: translateY(-10px) scale(1.05);
    background-color: #128c7e;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    display: block;
    margin: 0 auto;
    flex-shrink: 0;
}

/* Glassmorphism Message Bubble */
.wa-msg-bubble {
    position: absolute !important;
    bottom: 80px;
    right: 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 1);
    padding: 12px 20px;
    border-radius: 20px 20px 0 20px;
    width: max-content;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: none;
    z-index: 10000;
}

.wa-msg-bubble span {
    display: block;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.wa-msg-bubble small {
    display: block;
    color: #25d366;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 2px;
}

/* Sayfa açıldıktan 3 saniye sonra görünsün */
.whatsapp-float.ready .wa-msg-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Tooltip Hover Hata Önleme */
.whatsapp-float:hover .wa-msg-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1.05);
}

/* Notification Badge */
.wa-badge {
    position: absolute !important;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: #ff4d4d;
    border: 2px solid #fff;
    border-radius: 50%;
    z-index: 10001;
    animation: wa-bounce 2.5s infinite;
}

@keyframes wa-bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-5px);}
    60% {transform: translateY(-3px);}
}

@keyframes wa-glow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: -1;
    animation: wa-glow 2s infinite;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    .wa-msg-bubble {
        bottom: 70px;
        right: 0;
        padding: 10px 15px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
