:root {
    /* Renk Paleti - Yumuşak ve Zarif (Pastel & Pudra) */
    --color-primary: #D1BFAe;
    /* Yumuşak bej/kahve */
    --color-secondary: #E8D8D0;
    /* Pudra/Şampanya */
    --color-accent: #9A7B66;
    /* Daha koyu vurgu */
    --color-bg: #FAF8F5;
    /* Kırık beyaz arka plan */
    --color-text-dark: #2C2A29;
    /* Koyu gri/siyah metin */
    --color-text-light: #7A7571;
    /* Açık gri metin */
    --color-white: #FFFFFF;

    /* Tipografi */
    --font-main: 'Outfit', sans-serif;

    /* Geçişler ve Animasyonlar */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* --- Tipografi & Genel --- */
h1,
h2,
h3,
h4 {
    font-weight: 500;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

/* --- Butonlar --- */
button {
    font-family: var(--font-main);
    cursor: pointer;
    border: none;
    background: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 30px;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-dark);
    padding: 1rem 2rem;
    font-size: 1rem;
    border: 1px solid var(--color-text-dark);
    border-radius: 30px;
    transition: var(--transition-fast);
}

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

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
    position: relative;
}

.icon-btn i,
.icon-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5px !important;
}

.cart-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: #ff0000 !important;
    /* Saf kırmızı */
    color: #ffffff !important;
    font-size: 0.8rem;
    font-weight: 900;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.5);
    z-index: 10;
    line-height: 1;
}

/* Instagram İkonunu Parlat ve Belirginleştir */
.instagram-btn {
    color: #E4405F !important;
    background-color: rgba(228, 64, 95, 0.08);
    /* Hafif pembe arka plan */
}

.instagram-btn:hover {
    background-color: rgba(228, 64, 95, 0.15) !important;
}

.instagram-icon {
    stroke-width: 2.5px !important;
}

.icon-btn:hover {
    background-color: rgba(0, 0, 0, 0.08);
    transform: scale(1.1);
}

/* --- Header (Navigasyon) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-fast);
    padding: 1.5rem 0;
}

.header.scrolled {
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: #000;
    letter-spacing: -2px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

/* Logonun ortasındaki o şık kesik efekti */
.logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 2px;
    background: white;
    /* Arka planla aynı renk */
    transform: rotate(-15deg);
    pointer-events: none;
}

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

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

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-dark);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text-dark);
    transition: var(--transition-fast);
}

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

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.menu-btn {
    display: none;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    contain: layout style;
}

.logo-hero {
    background: linear-gradient(135deg, #fdfbfb 0%, #f1f1f1 100%);
}

.hero-logo-large {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 900;
    letter-spacing: -5px;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    pointer-events: none;
    white-space: nowrap;
}

.hero-logo-large::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -5%;
    width: 110%;
    height: 6px;
    background: #fdfbfb;
    transform: rotate(-15deg);
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    /* Modeli daha iyi ortalamak için */
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

/* Sayfa yüklendiğinde hafif bir zoom out efekti için sınıf */
.hero-bg.loaded {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(250, 248, 245, 0.3) 0%, rgba(250, 248, 245, 0.7) 100%);
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: 2.5rem;
    max-width: 500px;
    font-weight: 300;
}

/* --- Öne Çıkan Ürünler --- */
.featured-products {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 320px));
    gap: 3rem;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    cursor: pointer;
    group;
}

.product-image-container {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.btn-add-to-cart {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-white);
    color: var(--color-text-dark);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    opacity: 0;
    transition: var(--transition-fast);
    width: calc(100% - 40px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card:hover .btn-add-to-cart {
    bottom: 20px;
    opacity: 1;
}

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

.product-info {
    text-align: center;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-info .price {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* --- Banner --- */
.banner {
    padding: 8rem 2rem;
    background-color: var(--color-secondary);
    text-align: center;
}

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

.banner h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.banner p {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--color-text-light);
}

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

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.link-group a {
    display: block;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
    transition: var(--transition-fast);
}

.link-group a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* --- Animasyonlar --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s ease forwards;
}

.fade-up.delay-1 {
    animation-delay: 0.2s;
}

.fade-up.delay-2 {
    animation-delay: 0.4s;
}

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

/* Scroll ile tetiklenen animasyonlar için (JS kullanacağız) */
.fade-up-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: var(--transition-slow);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        display: flex;
        /* Display none yerine flex kullanıp sağa saklıyoruz */
    }

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

    .nav-links a {
        font-size: 1.5rem;
    }

    .menu-btn {
        display: flex;
        z-index: 2001;
        /* Buton menünün üstünde kalmalı */
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Ürün Detay Sayfası Mobil Optimizasyon */
    .header-container {
        padding: 0 1rem;
        /* Yan boşlukları azalttık */
    }

    .logo {
        font-size: 1.8rem;
        /* Logoyu bir tık küçülttük */
    }

    .product-detail-section {
        padding: 60px 0 20px;
        /* Kenar boşluklarını sıfırladık, içerdekilere vereceğiz */
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-detail-grid {
        display: block;
        width: 100%;
        padding: 0 15px;
        /* Boşluğu buraya aldık ki taşmasın */
        box-sizing: border-box;
    }

    .product-gallery {
        width: 100%;
        margin-bottom: 1rem;
    }

    .product-main-image {
        height: 40vh;
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
        background-color: var(--color-white);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

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

    .product-info-wrapper {
        text-align: center;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .product-title {
        font-size: 1.4rem;
        word-wrap: break-word;
        /* Uzun isimler aşağı kaysın */
        max-width: 100%;
    }

    .product-description {
        font-size: 0.9rem;
        padding: 0 5px;
        word-wrap: break-word;
    }

    .options-grid {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .add-to-cart-wrapper {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
}

/* --- Arama Overlay --- */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: none;
    flex-direction: column;
    align-items: center;
    padding-top: 10vh;
    animation: fadeIn 0.3s ease;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    width: 90%;
    max-width: 800px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1.5rem 0;
    font-size: 2.5rem;
    border: none;
    border-bottom: 2px solid var(--color-accent);
    background: transparent;
    font-family: var(--font-main);
    color: var(--color-text-dark);
    outline: none;
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
}

.search-results-info {
    margin-top: 1rem;
    color: var(--color-text-light);
}

.search-results-list {
    width: 100%;
    max-width: 800px;
    margin-top: 2rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 8px;
}

.search-result-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.search-result-item img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.search-result-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.search-result-info p {
    font-size: 0.9rem;
    color: var(--color-accent);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Lookbook / Galeri --- */
.lookbook {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--color-white);
}

/* --- Ürün Detay Sayfası --- */
.product-detail-section {
    padding: 120px 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1200px) {
    .product-detail-grid {
        gap: 2rem;
    }
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-main-image {
    width: 100%;
    height: 80vh;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition-medium);
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: 80px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
}

.thumbnail.active {
    border-color: var(--color-accent);
}

.product-info-wrapper {
    position: sticky;
    top: 120px;
}

.product-category-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.product-price {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 2rem;
}

.product-description {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.options-group {
    margin-bottom: 2rem;
}

.options-group h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
}

.size-guide-link {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-decoration: underline;
    cursor: pointer;
}

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

.option-btn {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    color: var(--color-text-dark);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.option-btn:hover {
    border-color: var(--color-text-dark);
}

.option-btn.active {
    background-color: var(--color-text-dark);
    color: var(--color-white);
    border-color: var(--color-text-dark);
}

.option-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background-color: #f8f8f8;
    color: #bbb;
    border-color: #eee;
    text-decoration: line-through;
    position: relative;
    overflow: hidden;
}

.option-btn.disabled:hover {
    border-color: #eee;
}

/* Modal ve Filtre Stilleri */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

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

.filter-modal {
    background: var(--color-white);
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: transform var(--transition-fast);
}

.modal-overlay.active .filter-modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-modal-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section h4 {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

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

.filter-price-inputs input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-family: var(--font-main);
}

.size-filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-btn {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all var(--transition-fast);
}

.size-btn:hover {
    border-color: var(--color-text-dark);
}

.size-btn.active {
    background: var(--color-text-dark);
    color: white;
    border-color: var(--color-text-dark);
}

.filter-sort-select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-family: var(--font-main);
    background: white;
}

.color-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

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

.color-btn.active {
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--color-text-dark);
    transform: scale(1.1);
}

.add-to-cart-wrapper {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    padding: 0.5rem;
}

.qty-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-dark);
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-family: var(--font-main);
    font-size: 1rem;
}

.btn-large {
    flex: 1;
    padding: 1.2rem;
    font-size: 1.1rem;
}

.product-accordion {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.accordion-content {
    padding-bottom: 1.5rem;
    color: var(--color-text-light);
    display: none;
}

.accordion-item.active .accordion-content {
    display: block;
}

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

/* --- Sepet Sayfası --- */
.cart-page-section {
    padding: 120px 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 70vh;
}

.cart-header {
    margin-bottom: 3rem;
}

.cart-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-item-img {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
}

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

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

.cart-item-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cart-item-meta {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.remove-btn {
    color: #e74c3c;
    font-size: 0.9rem;
    text-decoration: underline;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.order-summary {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 120px;
}

.order-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.summary-row.total {
    color: var(--color-text-dark);
    font-size: 1.3rem;
    font-weight: 500;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.btn-checkout {
    width: 100%;
    background-color: var(--color-text-dark);
    color: var(--color-white);
    padding: 1.2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.empty-cart-message {
    text-align: center;
    padding: 4rem 0;
    color: var(--color-text-light);
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {

    .product-detail-grid,
    .cart-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
    }

    .cart-item-price {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

/* --- Checkout & Form Styles --- */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    padding: 2rem 0;
}

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

.checkout-form-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.checkout-step-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.checkout-step-title span {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: white;
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(209, 191, 174, 0.2);
}

/* --- About Page --- */
.about-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7);
}

.about-content {
    max-width: 800px;
    margin: 5rem auto;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-grid-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
}

/* --- Success Page --- */
.success-page {
    text-align: center;
    padding: 8rem 2rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Contact Page --- */
.contact-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    padding: 3rem 0;
}

.contact-info-card {
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 20px;
    height: fit-content;
}

.contact-method {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.contact-method i {
    color: var(--primary-color);
}

/* --- Cart Badge & Notifications --- */
.icon-btn {
    position: relative;
}

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

.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.toast-icon {
    width: 24px;
    height: 24px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Sale & Discount --- */
.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4444;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(255, 68, 68, 0.3);
}

.old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9em;
    margin-right: 8px;
    font-weight: 400;
}


/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    width: 90%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.5rem 2rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.cookie-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-btn-accept {
    flex: 1;
    background: var(--color-text-dark);
    color: var(--color-white);
    padding: 0.8rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.cookie-btn-accept:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.cookie-btn-settings {
    flex: 1;
    background: transparent;
    color: var(--color-text-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.8rem;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.cookie-btn-settings:hover {
    background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 20px;
        padding: 1.2rem 1.5rem;
    }
}

/* User Menu Dropdown */
.user-menu-container {
    position: relative;
    display: inline-block;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 1rem;
    display: none;
    z-index: 1000;
    margin-top: 0.5rem;
    text-align: left;
}

.user-dropdown.show {
    display: block;
    animation: fadeInDropdown 0.2s ease;
}

.user-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.8rem;
}

.user-info strong {
    font-size: 0.95rem;
    color: #1a1a1a;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info span {
    font-size: 0.8rem;
    color: #666;
}

.user-dropdown hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 0.8rem 0;
}

.logout-link {
    color: #ef4444;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
}

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

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