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

:root {
    --color-primary: #000000;
    --color-secondary: #ffffff;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-bg-light: #f7f7f7;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--color-text);
    background-color: var(--color-secondary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

ul {
    list-style: none;
}

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

/* Site üstü kampanya / duyuru çubuğu (header.php + main.js) */
html.ketten-show-site-announcement #site-announcement-bar {
    display: flex !important;
}

.site-announcement-bar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2100;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 1rem;
    flex-wrap: wrap;
    padding: 0.45rem 2.65rem 0.45rem 0.75rem;
    min-height: 2.4rem;
    background: #000000;
    color: #ffffff;
    font-size: 0.8125rem;
    line-height: 1.4;
    text-align: center;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem 1rem;
    flex-wrap: wrap;
    max-width: min(72rem, 100%);
    width: 100%;
    margin: 0 auto;
    padding: 0 0.25rem;
    text-align: center;
    color: #ffffff;
}

.site-announcement-text {
    margin: 0;
    color: #ffffff;
    text-align: center;
}

.site-announcement-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

.site-announcement-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.site-announcement-close {
    position: absolute;
    right: 0.2rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0.25rem;
    background: transparent;
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-announcement-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.site-announcement-close:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* --site-announcement-bar-height, js/main.js içinde piksel olarak set edilir (boşluk bırakmamak için) */
html.ketten-show-site-announcement #main-header {
    top: var(--site-announcement-bar-height, 2.75rem) !important;
}

@media (max-width: 480px) {
    .site-announcement-bar {
        font-size: 0.75rem;
        padding-right: 2.4rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2100;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    background: transparent;
}

/* Header top gradient veil - ikonların görünür kalması için hero üzerinde */
.header::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 180px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 40%,
        rgba(0, 0, 0, 0.12) 75%,
        rgba(0, 0, 0, 0) 100%
    );
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.header.scrolled::before,
.header.always-dark::before,
.header.dark-text::before,
.header.menu-open::before {
    opacity: 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.header-right {
    justify-content: flex-end;
}

.menu-trigger {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    z-index: 2200;
    color: inherit;
}

.menu-trigger svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-trigger .close-svg {
    display: none;
}

.menu-trigger.active .menu-svg {
    display: none;
}

.menu-trigger.active .close-svg {
    display: block;
    transform: rotate(90deg);
}

/* Force dark text on active menu trigger since fullscreen menu background is bright */
.header.menu-open .menu-trigger,
.header.menu-open .header-action,
.header.menu-open .cart-badge {
    color: var(--color-primary) !important;
}
.header.menu-open .cart-badge { background-color: var(--color-primary) !important; color: var(--color-secondary) !important; }
.header.menu-open .header-logo .logo-light { display: none !important; }
.header.menu-open .header-logo .logo-dark { display: block !important; filter: invert(0); }

.header-logo img {
    height: 35px;
    object-fit: contain;
    transition: var(--transition);
}

.header-logo .logo-dark { display: none; }
.header-logo .logo-light { display: block; filter: invert(1); } /* Assuming original logo is black */

.header.scrolled .header-logo .logo-light { display: none; }
.header.scrolled .header-logo .logo-dark { display: block; filter: invert(0); }

.header.always-dark .header-logo .logo-light { display: none !important; }
.header.always-dark .header-logo .logo-dark { display: block !important; }

.header.branding-custom .header-logo .logo-light,
.header.branding-custom .header-logo .logo-dark {
    filter: none !important;
}

.header-action {
    color: inherit;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.header-action:hover {
    opacity: 0.7;
}
.header-icon {
    width: 20px;
    height: 20px;
}
.cart-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.header.scrolled .header-icon,
.header.dark-text .header-icon {
    color: var(--color-primary);
}

/* Transparent mode (hero üzerinde) - her şey beyaz */
.header:not(.scrolled):not(.always-dark):not(.dark-text):not(.menu-open),
.header:not(.scrolled):not(.always-dark):not(.dark-text):not(.menu-open) .header-action,
.header:not(.scrolled):not(.always-dark):not(.dark-text):not(.menu-open) .menu-trigger,
.header:not(.scrolled):not(.always-dark):not(.dark-text):not(.menu-open) .header-icon {
    color: #ffffff;
}
.header:not(.scrolled):not(.always-dark):not(.dark-text):not(.menu-open) .cart-badge {
    background: #ffffff;
    color: #0f172a;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--color-secondary);
    color: var(--color-primary);
    font-size: 0.65rem;
    font-weight: 600;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.cart-badge[hidden] { display: none !important; }
.header.scrolled .cart-badge,
.header.dark-text .cart-badge {
    background: var(--color-primary);
    color: var(--color-secondary);
}

/* Hero Section — masaüstünde metin ortada; mobil ayrı media ile */
.hero {
    position: relative;
    height: 100vh;
    min-height: 480px;
    width: 100%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.05);
    animation: zoomOut 10s ease-out forwards;
}

@keyframes zoomOut {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 2;
    max-width: min(920px, 92vw);
    padding: 0 1.5rem;
    box-sizing: border-box;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 300;
    letter-spacing: 0.18em;
    margin: 0 0 1rem;
    text-transform: uppercase;
    line-height: 1.12;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hero-lead {
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    font-weight: 400;
    margin: 0 0 2rem;
    line-height: 1.5;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

.hero-cta {
    margin-top: 0.25rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1rem 3rem;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border: 1px solid var(--color-primary);
    transition: var(--transition);
    cursor: pointer;
}

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

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

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

/* Collections Section */
.collections {
    padding: 5rem 2rem;
    max-width: 1800px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Ana sayfa: hero → Öne Çıkanlar → kategoriler; aralıklar tek değişkenle */
.home-after-hero {
    --home-stack-gap: clamp(2rem, 4.5vw, 3.25rem);
    --home-stack-x: clamp(1.25rem, 4vw, 4rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--home-stack-gap);
    width: 100%;
    padding: var(--home-stack-gap) 0;
    box-sizing: border-box;
}
.collections.home-featured {
    padding: 0 var(--home-stack-x);
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}
.collections.home-featured .section-header {
    margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
    padding: 0;
    text-align: center;
}
.home-after-hero .home-categories {
    padding: 0;
}

@media (max-width: 640px) {
    .home-after-hero {
        --home-stack-gap: clamp(1.5rem, 5vw, 2.25rem);
    }
}

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

.grid-item {
    position: relative;
    overflow: hidden;
    height: 80vh;
    background-color: var(--color-bg-light);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.grid-item:hover img {
    transform: scale(1.03);
}

.grid-item-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: var(--color-secondary);
}

.grid-item-content h3 {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.grid-item-action {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 2px;
}

/* Footer */
.footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid #eaeaea;
}

/* Dark Mega Footer Variant (Avva Style) */
.footer.footer-dark {
    background-color: #0b0b0b;
    color: #e5e5e5;
    border-top: none;
    padding: 5rem 3rem 2rem;
}
.footer-dark .footer-top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1.2fr;
    gap: 2rem;
}
.footer-dark .footer-col h4 {
    color: #ffffff;
    font-weight: 600;
}
.footer-dark .footer-col a {
    color: #b0b0b0;
}
.footer-dark .footer-col a:hover {
    color: #ffffff;
}
.footer-icon-link {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-dark .footer-bottom {
    border-top: 1px solid #222;
    padding-top: 2rem;
    color: #888;
}

/* Quick View Button (ürün kartı hover) */
.product-img-wrapper {
    position: relative;
}
.quick-view-btn {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translate(-50%, 12px);
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 15;
    backdrop-filter: blur(4px);
}
.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}
.quick-view-btn:hover { background: #0f172a; }
@media (hover: none) and (pointer: coarse) {
    .quick-view-btn { display: none !important; }
}

/* Quick View Modal */
.qv-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.25s ease;
    padding: 20px;
}
.qv-overlay.qv-active { opacity: 1; }
.qv-overlay[hidden] { display: none !important; }
.qv-modal {
    background: #fff;
    border-radius: 14px;
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    transform: translateY(20px);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.qv-overlay.qv-active .qv-modal { transform: translateY(0); }
.qv-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
    transition: transform 0.2s ease, background 0.2s ease;
}
.qv-close:hover { background: #0f172a; color: #fff; transform: rotate(90deg); }
.qv-body { max-height: 90vh; overflow-y: auto; }
.qv-loader { padding: 4rem 2rem; text-align: center; color: #64748b; font-size: 0.9rem; }

.qv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
}
.qv-media {
    position: relative;
    background: #f1f5f9;
    overflow: hidden;
}
.qv-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 460px;
}
.qv-discount {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
}
.qv-info {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.qv-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: #0f172a;
    line-height: 1.25;
}
.qv-prices {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.qv-price { font-size: 1.5rem; font-weight: 800; color: #0f172a; }
.qv-old { text-decoration: line-through; color: #94a3b8; font-size: 1rem; }
.qv-specs { display: flex; flex-direction: column; gap: 4px; font-size: 0.82rem; color: #475569; }
.qv-spec strong { color: #0f172a; font-weight: 600; margin-right: 4px; }
.qv-section { margin-bottom: 1rem; }
.qv-section:last-child { margin-bottom: 0; }
.qv-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 8px;
}
.qv-colors { display: flex; gap: 8px; flex-wrap: wrap; }
.qv-color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease;
}
.qv-color.active {
    border-color: #0f172a;
    transform: scale(1.1);
}
.qv-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.qv-size {
    min-width: 44px;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.qv-size.active,
.qv-size:hover { border-color: #0f172a; background: #0f172a; color: #fff; }
.qv-actions { display: flex; gap: 10px; margin-top: 0.5rem; flex-wrap: wrap; }
.qv-btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.qv-btn-primary { background: #0f172a; color: #fff; }
.qv-btn-primary:hover:not(:disabled) { background: #1e293b; transform: translateY(-2px); }
.qv-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.qv-btn-ghost {
    background: transparent;
    color: #0f172a;
    border: 1px solid #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.qv-btn-ghost:hover { background: #0f172a; color: #fff; }
.qv-msg { min-height: 18px; font-size: 0.8rem; }

@media (max-width: 768px) {
    .qv-overlay { padding: 0; align-items: stretch; }
    .qv-modal { max-height: 100vh; max-width: 100%; border-radius: 0; }
    .qv-grid { grid-template-columns: 1fr; min-height: 0; }
    .qv-media img { min-height: 260px; max-height: 50vh; }
    .qv-info { padding: 1.25rem; gap: 0.75rem; }
    .qv-title { font-size: 1.15rem; }
    .qv-price { font-size: 1.25rem; }
}

/* =============================================================
   HİKAYEMİZ (Story Page) - Dergi tarzı editorial layout
============================================================= */
.story-hero {
    position: relative;
    height: 90vh;
    min-height: 560px;
    max-height: 900px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
}
.story-hero-inner {
    max-width: 820px;
}
.story-hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 1.25rem;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.story-hero-quote {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 0 auto;
    max-width: 820px;
}
.story-hero-scroll {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 3rem;
    animation: storyBounce 2.4s ease-in-out infinite;
    text-decoration: none;
    transition: background 0.25s ease;
}
.story-hero-scroll:hover { background: rgba(255, 255, 255, 0.15); }
@keyframes storyBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Intro (2 kolon - text + image) */
.story-intro {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem;
}
.story-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.story-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 6px;
    border-bottom: 1px solid #0f172a;
}
.story-h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: #0f172a;
    margin: 0 0 1.5rem;
    max-width: 520px;
}
.story-body {
    font-size: 1rem;
    line-height: 1.9;
    color: #475569;
    max-width: 520px;
}
.story-intro-media {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 14px;
    max-height: 620px;
}
.story-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}
.story-intro:hover .story-intro-media img { transform: scale(1.04); }

/* Values (4 kolon) */
.story-values {
    background: #fafaf7;
    padding: 6rem 2rem;
}
.story-values-head {
    max-width: 1280px;
    margin: 0 auto 3rem;
    text-align: center;
}
.story-values-head .story-eyebrow { color: #64748b; border-color: #0f172a; }
.story-values-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.story-value-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.story-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    border-color: #0f172a;
}
.story-value-num {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #0f172a;
    opacity: 0.5;
}
.story-value-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}
.story-value-body {
    font-size: 0.88rem;
    line-height: 1.65;
    color: #475569;
    margin: 0;
}

/* Pull Quote */
.story-pullquote {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
}
.story-pullquote blockquote {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: -0.5px;
    color: #0f172a;
    margin: 0 0 1rem;
    font-style: italic;
}
.story-pullquote cite {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #64748b;
    font-style: normal;
    font-weight: 600;
}

/* Gallery - asymmetric editorial grid */
.story-gallery {
    padding: 6rem 2rem;
    background: #fafaf7;
}
.story-gallery-head {
    max-width: 1280px;
    margin: 0 auto 3rem;
    text-align: center;
}
.story-gallery-head .story-eyebrow { color: #64748b; }
.story-gallery-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}
.story-gallery-1 { grid-template-columns: 1fr; }
.story-gallery-2 { grid-template-columns: 1fr 1fr; }
.story-gallery-3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, minmax(220px, 1fr));
}
.story-gallery-3 .story-gallery-item-1 { grid-row: 1 / span 2; }
.story-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 4 / 5;
}
.story-gallery-3 .story-gallery-item { aspect-ratio: auto; min-height: 100%; }
.story-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.story-gallery-item:hover img { transform: scale(1.05); }

/* CTA — Hikayemiz son bölüm (editoryal, açık zemin) */
.story-cta {
    position: relative;
    padding: clamp(4rem, 8vw, 6rem) 2rem;
    text-align: center;
    background: linear-gradient(165deg, #faf8f5 0%, #f0ebe4 48%, #e8e0d6 100%);
    color: #0f172a;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    overflow: hidden;
}
.story-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 255, 255, 0.65) 0%, transparent 55%);
    pointer-events: none;
}
.story-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}
.story-cta-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #78716c;
    margin-bottom: 0.75rem;
}
.story-cta-rule {
    width: 48px;
    height: 1px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(90deg, transparent, #a8a29e 35%, #a8a29e 65%, transparent);
    opacity: 0.85;
}
.story-cta-title {
    font-size: clamp(1.85rem, 4.2vw, 2.65rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 1.25rem;
    color: #0c0a09;
}
.story-cta-lead {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #57534e;
    margin: 0 0 2rem;
    max-width: 32em;
    margin-left: auto;
    margin-right: auto;
}
.story-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    background: #0f172a;
    color: #fafaf9;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(15, 23, 42, 0.2);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.2s ease;
}
.story-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    background: #1e293b;
    color: #fff;
}
.story-cta-btn svg { transition: transform 0.3s ease; }
.story-cta-btn:hover svg { transform: translateX(4px); }

/* Responsive */
@media (max-width: 1024px) {
    .story-values-grid { grid-template-columns: repeat(2, 1fr); }
    .story-intro-grid { gap: 2.5rem; }
}
@media (max-width: 768px) {
    .story-hero { height: 72vh; min-height: 460px; }
    .story-hero-scroll { margin-top: 2rem; }
    .story-intro { padding: 3.5rem 1.25rem; }
    .story-intro-grid { grid-template-columns: 1fr; gap: 2rem; }
    .story-intro-media { aspect-ratio: 16 / 10; max-height: 400px; }
    .story-values { padding: 4rem 1.25rem; }
    .story-values-head { margin-bottom: 2rem; }
    .story-values-grid { grid-template-columns: 1fr; gap: 12px; }
    .story-value-card { padding: 1.5rem 1.25rem; }
    .story-pullquote { padding: 4rem 1.25rem; }
    .story-gallery { padding: 4rem 1.25rem; }
    .story-gallery-head { margin-bottom: 2rem; }
    .story-gallery-3 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .story-gallery-3 .story-gallery-item-1 { grid-row: auto; }
    .story-gallery-item { aspect-ratio: 4 / 5; }
    .story-cta { padding: 3.5rem 1.25rem 4rem; }
    .story-cta-lead { font-size: 0.95rem; }
}

/* Ana sayfa kategoriler — 1 ve 2 dikey, 3 ve 4 yatay */
.home-categories {
    width: 100%;
    background: #ffffff;
}
.home-categories-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 4rem);
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.home-cat-banners {
    --home-cat-w: 345px;
    --home-cat-h: 520px;
    --home-cat-gap: clamp(10px, 1.5vw, 18px);
    display: grid;
    grid-template-columns: repeat(4, var(--home-cat-w));
    grid-template-rows: repeat(2, calc((var(--home-cat-h) - var(--home-cat-gap)) / 2));
    gap: var(--home-cat-gap);
    justify-content: center;
    width: calc(4 * var(--home-cat-w) + 3 * var(--home-cat-gap));
    max-width: 100%;
    margin: 0 auto;
    min-width: min(100%, calc(4 * var(--home-cat-w) + 3 * var(--home-cat-gap)));
}
.home-cat-banners > *:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
}
.home-cat-banners > *:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 2;
}
.home-cat-banners > *:nth-child(3) {
    grid-column: 3 / span 2;
    grid-row: 1;
}
.home-cat-banners > *:nth-child(4) {
    grid-column: 3 / span 2;
    grid-row: 2;
}
.home-cat-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}
.home-cat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}
.home-cat-card:focus-visible {
    outline: 2px solid #0c0a09;
    outline-offset: 3px;
}
.home-cat-media {
    position: relative;
    width: 100%;
    height: 100%;
    background: #eceae8;
}
.home-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.home-cat-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(155deg, #f4f4f5 0%, #d4d4d8 100%);
}
.home-cat-card:hover .home-cat-media img {
    transform: scale(1.03);
}
.home-cat-media-label {
    position: absolute;
    inset: auto 0 0 0;
    padding: clamp(0.75rem, 2vw, 1.15rem) clamp(0.85rem, 2vw, 1.35rem);
    font-size: clamp(0.82rem, 1.4vw, 1.08rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    color: #fafaf9;
    background: linear-gradient(to top, rgba(12, 10, 9, 0.78) 0%, rgba(12, 10, 9, 0.28) 65%, transparent 100%);
    pointer-events: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.home-cat-slot--empty {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: #f7f7f6;
    border: 1px solid #f0f0ee;
}

@media (max-width: 900px) {
    .home-categories-inner {
        padding: 0 clamp(1rem, 4vw, 4rem);
    }
    .home-cat-banners {
        --home-cat-w: min(345px, calc((100vw - 2rem - 10px) / 2));
        --home-cat-gap: clamp(10px, 1.5vw, 18px);
        grid-template-columns: repeat(2, var(--home-cat-w));
        grid-template-rows: auto;
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
    .home-cat-banners > * {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    .home-cat-card {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }
    .home-cat-media,
    .home-cat-slot--empty {
        width: 100%;
        height: auto;
        aspect-ratio: 345 / 520;
        max-width: none;
        margin: 0 auto;
    }
    .home-cat-media-label {
        font-size: clamp(0.65rem, 2.5vw, 0.85rem);
        padding: 0.55rem 0.7rem;
    }
}

@media (max-width: 480px) {
    .home-cat-banners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        --home-cat-w: min(345px, calc(100vw - 2rem));
    }
    .home-cat-card {
        max-width: var(--home-cat-w);
    }
    .home-cat-media,
    .home-cat-slot--empty {
        max-width: var(--home-cat-w);
    }
}

/* Services / Trust Strip — tam genişlik; ana sayfada footer hemen üstü (collections ile aynı max genişlik) */
.service-strip {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #eef1f5;
    border-bottom: 1px solid #eef1f5;
}
.service-strip-inner {
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 1.75rem 4rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}
.service-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    transition: background 0.25s ease, transform 0.25s ease;
    position: relative;
}
.service-item + .service-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: #eef1f5;
}
.service-item:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}
.service-item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}
.service-text h4 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.2;
}
.service-text p {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

/* Tablet - 3 kolon */
@media (max-width: 1024px) {
    .service-strip-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service-item:nth-child(n+4)::before { display: none; }
}

/* Mobil - yatay scroll şerit */
@media (max-width: 768px) {
    .service-strip-inner {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        gap: 10px;
        padding: 1rem 1rem;
        scrollbar-width: none;
    }
    .service-strip-inner::-webkit-scrollbar { display: none; }
    .service-item {
        flex: 0 0 calc((100% - 6px) / 2);
        min-width: 140px;
        scroll-snap-align: start;
        padding: 8px 10px;
    }
    .service-item::before,
    .service-item + .service-item::before { display: none !important; }
    .service-item img { width: 36px; height: 36px; }
    .service-text h4 { font-size: 0.62rem; }
    .service-text p { font-size: 0.58rem; }
}

/* Footer App Links hover */
.footer .app-links a {
    opacity: 0.9;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.footer .app-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* PDP Mobile Sticky CTA */
.pdp-mobile-sticky {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9997;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.08);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    align-items: center;
    gap: 12px;
}
.pdp-sticky-price { flex: 1; font-size: 1.05rem; }
.pdp-sticky-price strong { color: #0f172a; font-weight: 800; }
.pdp-sticky-old { text-decoration: line-through; color: #94a3b8; font-size: 0.8rem; margin-left: 6px; }
.pdp-sticky-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 140px;
    transition: background 0.25s ease, transform 0.25s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.pdp-sticky-btn:hover { background: #111827; }
.pdp-sticky-btn:active { transform: translateY(1px); }
@media (max-width: 768px) {
    .pdp-mobile-sticky { display: flex; }
    .whatsapp-float { bottom: 80px; }
}

/* WhatsApp floating CTA */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    z-index: 9998;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.45);
}

/* Blunet / Digital Partner — CSP-safe hover (inline handlers blocked) */
.footer-creator-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.footer-creator-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}
.footer-creator-label {
    font-family: var(--font-head);
    font-size: 10px;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    padding-right: 12px;
}
.footer-creator-logo {
    height: 18px;
    width: auto;
    display: block;
    transition: opacity 0.35s ease;
}
.footer-creator-link:hover .footer-creator-logo {
    opacity: 1;
}
.footer-socials {
    display: flex;
    gap: 15px;
}
.footer-socials a {
    color: #fff;
    opacity: 0.8;
}
.footer-socials a:hover {
    opacity: 1;
}
.footer-payments {
    display: flex;
    gap: 15px;
    align-items: center;
    filter: invert(1);
    opacity: 0.4;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

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

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--color-text-light);
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Side Menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2400;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 9999;
    padding: 4rem 2rem 2.5rem;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.search-overlay.active {
    transform: translateY(0);
}
.search-close, .close-menu {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.25rem;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    z-index: 10000;
    transition: transform 0.3s ease;
}
.search-close:hover, .close-menu:hover {
    transform: rotate(90deg);
}
.search-form {
    max-width: 720px;
    margin: 0 auto 2rem;
    border-bottom: 2px solid var(--color-primary);
}
.search-input {
    width: 100%;
    font-size: 1.8rem;
    border: none;
    outline: none;
    padding: 0.6rem 0;
    background: transparent;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.popular-searches {
    max-width: 720px;
    margin: 0 auto;
}
.popular-searches h4 {
    font-size: 0.78rem;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.popular-searches-list {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.popular-searches-list a {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    transition: background 0.25s ease, color 0.25s ease;
}
.popular-searches-list a:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Fullscreen Menu (Kaft Style) */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-secondary); /* White background */
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    overflow-y: auto;
}

.fullscreen-menu.open {
    opacity: 1;
    visibility: visible;
}

.fullscreen-menu-content {
    display: flex;
    width: 100%;
    height: 100%;
}

.fullscreen-menu-left {
    flex: 1;
    padding: 5rem 3rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.fullscreen-menu-right {
    flex: 1;
    display: none; /* Mobile hidden by default */
}

@media (min-width: 900px) {
    .fullscreen-menu-right {
        display: block;
    }
}

.fullscreen-menu-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.menu-links a {
    font-size: 2.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    align-self: flex-start;
    transition: color 0.3s ease, transform 0.3s ease;
}
.menu-links a:hover {
    transform: translateX(4px);
}

.menu-links a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--color-primary);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

.menu-group-title {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Product Detail Page (PDP) */
.pdp-container {
    display: flex;
    min-height: 100vh;
    padding-top: 0; /* Sayfanın en üstüne (tavana) sıfırlandı */
}

.pdp-left {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 2px; /* Small gap between massive images */
    background: var(--color-bg-light);
}

.pdp-left img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.pdp-image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 10000;
}

.pdp-image-lightbox.is-open {
    display: flex;
}

.pdp-image-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.pdp-image-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.pdp-right {
    flex: 1;
    padding: 2rem 4rem 3rem 4rem; /* Yazıyı çok daha yukarı çekmek için üst boşluk kısaltıldı */
    position: sticky;
    top: 80px; /* Header'ın altına sabitlenmesi için 80px eklendi */
    height: calc(100vh - 80px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.pdp-title {
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.pdp-price {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.pdp-section {
    margin-bottom: 2rem;
}

.pdp-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

/* Color & Size Selectors */
.color-options, .size-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.color-option.active {
    border: 2px solid var(--color-primary);
    transform: scale(1.1);
}

.size-option {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.size-option.active {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border-color: var(--color-primary);
}

.pdp-actions {
    margin-top: auto;
    padding-top: 2rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}


/* Page Transition */
body {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
body.page-loaded {
    opacity: 1;
}

/* Hide default cursor to use custom one (optional, keeping it fallback for now) */
/* body { cursor: none; } */

/* Drawers: Mini Cart & Auth */
.mini-cart, .auth-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-secondary);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.08);
}
.mini-cart.open, .auth-drawer.open {
    transform: translateX(0);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: #666;
    flex-wrap: wrap;
    gap: 1rem;
}

.app-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.app-links img {
    height: 40px;
    width: auto;
    border-radius: 4px;
    transition: var(--transition);
}
.app-links img:hover {
    opacity: 0.8;
}
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eef1f5;
    padding: 0 0 0.9rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.cart-header h2 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.cart-items {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: 0.25rem 0.25rem 0.5rem;
    margin: 0 -0.25rem;
}
.cart-item {
    display: flex;
    gap: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px dashed #eef1f5;
}
.cart-item:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-item img {
    width: 64px;
    height: 84px;
    object-fit: cover;
    border-radius: 6px;
}
.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cart-item-title {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.2rem;
}
.cart-item-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: auto;
}
.cart-footer {
    border-top: 1px solid #eef1f5;
    padding-top: 1rem;
    margin-top: 1rem;
    flex-shrink: 0;
}
.cart-cross-sell {
    flex-shrink: 0;
    border-top: 1px solid #f1f5f9;
    padding: 0.75rem 0 0.5rem;
    margin-top: 0.5rem;
}
.cart-cross-sell-title {
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.cart-cross-sell-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.cart-cross-sell-track::-webkit-scrollbar { height: 4px; }
.cart-cross-sell-track::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }
.cart-cross-sell-track .cart-cross-sell-add {
    min-width: 100px !important;
    max-width: 110px;
}
.cart-cross-sell-track .cart-cross-sell-add img {
    height: 70px !important;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Category Page (PLP) */
.plp-container {
    padding: 0 2rem 5rem;
    display: block;
}
.plp-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
}
.btn-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 1px;
}
.sort-select {
    padding: 0.2rem 0;
    border: none;
    border-bottom: 1px solid transparent;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}
.sort-select:hover {
    border-bottom: 1px solid #1a1a1a;
}

/* Filter Drawer */
.filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--color-secondary);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}
.filter-drawer.open {
    transform: translateX(0);
}
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #eaeaea;
}
.drawer-header h3 { margin: 0; font-size: 1.2rem; text-transform: uppercase; font-weight:300; }
.drawer-body {
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
}
.drawer-footer {
    padding: 2rem;
    border-top: 1px solid #eaeaea;
}

.filter-group {
    margin-bottom: 2rem;
}
.filter-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 0.5rem;
}
.filter-list label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    cursor: pointer;
}
.filter-list input {
    margin-right: 0.5rem;
}
.plp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    transition: all 0.4s ease;
}
.plp-grid.grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.plp-grid.grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.plp-grid.grid-cols-4 { grid-template-columns: repeat(4, 1fr) !important; }
.plp-grid.grid-cols-5 { grid-template-columns: repeat(5, 1fr) !important; }

/* Grid Controls */
.plp-grid-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.grid-btn {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.3;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    color: var(--color-primary);
}
.grid-btn:hover, .grid-btn.active {
    opacity: 1;
}
.grid-btn span {
    display: inline-block;
    width: 5px;
    height: 16px;
    background-color: var(--color-primary);
    border-radius: 1px;
}
.product-card {
    display: block;
    text-align: center;
}
.product-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    height: auto;
    background: #f7f7f7;
    margin-bottom: 1rem;
}
.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}
.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}
.product-card-title {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}
.product-card-price {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}
.product-colors {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 0.5rem;
}
.color-swatch {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
}
.product-add-to-cart {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    background: #fff;
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 10;
}
.product-card:hover .product-add-to-cart {
    opacity: 1;
    transform: translateY(0);
}
.product-add-to-cart:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Phase 4: Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 10% 5%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}
/* Overriding duplicate search-close removed */
.search-form {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    border-bottom: 2px solid var(--color-primary);
    position: relative;
    padding-bottom: 0.5rem;
}
.search-input {
    width: 100%;
    border: none;
    background: none;
    font-size: 3rem;
    font-family: inherit;
    font-weight: 300;
    outline: none;
    text-transform: uppercase;
}
.search-input::placeholder {
    color: #ccc;
}
.popular-searches {
    max-width: 800px;
    margin: 3rem auto 0;
    width: 100%;
}
.popular-searches h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}
.popular-searches-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.popular-searches-list a {
    padding: 0.5rem 1rem;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: var(--transition);
}
.popular-searches-list a:hover {
    border-color: var(--color-primary);
}

/* Phase 4: Forms & Auth Drawer */
.form-group {
    margin-bottom: 0.75rem;
}
.form-row {
    display: flex;
    gap: 0.75rem;
}
.form-row .form-group {
    flex: 1;
}
.form-input {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    background: #f8fafc;
}
.form-input:focus {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.05);
}
.auth-drawer {
    /* Identical setup to mini-cart */
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-secondary);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}
.auth-drawer.open {
    transform: translateX(0);
}

/* Phase 4: Checkout Page Layout */
.checkout-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}
.checkout-main {
    flex: 1.3;
    padding: 4rem 4rem 4rem 2rem;
    border-right: 1px solid #eaeaea;
}
.checkout-sidebar {
    flex: 1;
    padding: 4rem 2rem 4rem 4rem;
    background: #fcfcfc;
}
.checkout-section {
    margin-bottom: 3rem;
}
.checkout-section h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}
.checkout-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
}
.payment-box {
    border: 1px solid #eaeaea;
    padding: 1.5rem;
    border-radius: 4px;
    background: #fff;
}
.summary-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.summary-item-img {
    position: relative;
    width: 65px;
    height: 65px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    background: #fff;
}
.summary-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.summary-item-qty {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(114, 114, 114, 0.9);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}
.summary-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.summary-item-title {
    font-weight: 500;
    font-size: 0.9rem;
}
.summary-item-price {
    font-weight: 500;
    font-size: 0.9rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
}
.summary-final {
    color: var(--color-primary);
    font-size: 1.2rem;
    font-weight: 500;
    border-top: 1px solid #eaeaea;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Phase 5: Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}
.toast {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.toast-show {
    opacity: 1;
    transform: translateY(0);
}

/* Phase 5: Image Hover Swapper (yükseklik product-img-wrapper aspect-ratio ile) */
.hover-swap-container .primary-img,
.hover-swap-container .secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease, transform 1s ease;
}
.hover-swap-container .secondary-img {
    opacity: 0;
}
.product-card:hover .hover-swap-container .primary-img,
.grid-item:hover .hover-swap-container .primary-img {
    opacity: 0;
}
.product-card:hover .hover-swap-container .secondary-img,
.grid-item:hover .hover-swap-container .secondary-img {
    opacity: 1;
    transform: scale(1.05);
}

/* Phase 5: Scroll Reveal Arrays */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Extensions */
@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .search-input {
        font-size: 1.5rem;
    }
    
    .header {
        padding: 1rem;
    }
    
    .footer-top,
    .footer-dark .footer-top {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-bottom,
    .footer-dark .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .grid-item {
        height: 60vh;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Phase 4: Checkout Mobile */
    .checkout-container {
        flex-direction: column;
    }
    .checkout-main {
        padding: 2rem 1.5rem;
        border-right: none;
    }
    .checkout-sidebar {
        padding: 2rem 1.5rem;
        background: #fbfbfb;
        order: -1; /* Put summary on top in mobile */
    }
    
    /* Phase 4: Mobile Footer Accordion */
    .footer-col h4 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0;
        padding: 1rem 0;
        cursor: pointer;
        border-bottom: 1px solid #eaeaea;
    }
    .footer-col h4::after {
        content: '+';
        font-size: 1.2rem;
        font-weight: 300;
        transition: transform 0.3s;
    }
    .footer-col h4.active::after {
        transform: rotate(45deg);
    }
    .footer-col ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    .footer-col ul.open {
        max-height: 300px; /* arbitrary max height */
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .app-links {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }

    .app-links a {
        display: inline-flex;
        align-items: center;
    }

    .app-links img {
        height: 40px;
        width: auto;
    }

    /* Phase 7: Mobile PDP Carousel */
    .pdp-container {
        flex-direction: column;
        padding-top: 80px; /* Mobilde beyaz header'ın altına gizlenmemesi için eklendi */
    }
    .pdp-left {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* IE and Edge */
        height: auto;
        max-height: 70vh;
    }
    .pdp-left::-webkit-scrollbar {
        display: none;
    }
    .pdp-left img {
        flex: 0 0 100%;
        width: 100%;
        scroll-snap-align: start;
        object-fit: cover;
    }
    .pdp-right {
        position: static;
        height: auto;
        padding: 2rem;
    }
}

/* Hide mobile elements on desktop */
@media (min-width: 769px) {
    .mobile-filter-bar {
        display: none;
    }
    .filter-header-mobile {
        display: none;
    }
    .plp-container {
        display: block;
        padding: 2rem;
    }
}
@media (max-width: 1024px) {
    .plp-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .grid-btn[data-cols="5"] { display: none; }
}
@media (max-width: 768px) {
    .plp-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .grid-btn[data-cols="3"], .grid-btn[data-cols="4"], .grid-btn[data-cols="5"] { display: none; }
}

/* --- Complete The Look (PDP Bottom Carousel) --- */
.complete-look {
    padding: 4rem 2rem;
    background: var(--color-bg);
}
.complete-look-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}
.carousel-container {
    width: 100%;
    position: relative;
    padding-bottom: 10px;
}
.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar {
    display: none;
}
.carousel-track .product-card {
    flex: 0 0 25%;
    scroll-snap-align: start;
    min-width: 280px;
}
.carousel-btn {
    position: absolute;
    top: calc(50% - 40px);
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.9;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.carousel-btn:hover {
    opacity: 1;
    background: #f7f7f7;
}
.carousel-btn.prev {
    left: 15px;
}
.carousel-btn.next {
    right: 15px;
}
@media (max-width: 768px) {
    .carousel-btn { display: none !important; }
}
@media (max-width: 1024px) {
    .carousel-track .product-card { flex: 0 0 33.333%; }
}
@media (max-width: 768px) {
    .carousel-track .product-card { flex: 0 0 75%; min-width: 220px; }
    .complete-look { padding: 3rem 1rem; }
}

/* ================================================================
   KAPSAMLI MOBİL İYİLEŞTİRMELER
   ---------------------------------------------------------------
   Premium butik hissiyle akıcı, dokunmatik-dostu, hızlı bir mobil
   deneyim için override katmanı.
================================================================= */

/* iOS input zoom'ını engelle (min 16px) */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="date"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Tablet (2 kolon) */
@media (max-width: 900px) {
    .plp-grid.grid-cols-4,
    .plp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
}

/* Mobil (2 kolon sıkı görünüm) */
@media (max-width: 560px) {
    .plp-grid,
    .plp-grid.grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .product-card-title {
        font-size: 0.82rem;
        line-height: 1.3;
        margin-top: 8px;
    }
    .product-card-price {
        font-size: 0.85rem;
        font-weight: 700;
    }
    .product-card .wishlist-toggle-btn {
        width: 34px !important;
        height: 34px !important;
        bottom: 8px !important;
        right: 8px !important;
    }
    .product-card .wishlist-toggle-btn svg {
        width: 16px; height: 16px;
    }
}

/* Hero — mobil: önceki hizaya yakın (dar şerit, dikey ortalı) */
@media (max-width: 768px) {
    .hero {
        height: 82vh !important;
        min-height: 520px;
    }
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.1;
        letter-spacing: 0.12em;
    }
    .hero-content {
        left: 5%;
        right: 5%;
        width: auto;
        max-width: 90%;
        transform: translateY(-50%);
        padding: 0 0.5rem;
    }
    .hero-lead {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem;
    }
}

/* Collections - padding */
@media (max-width: 768px) {
    .collections {
        padding: 0 1rem 4rem 1rem !important;
    }
    .section-header {
        padding-top: 2.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    .section-title {
        font-size: 1.1rem !important;
        letter-spacing: 1.2px !important;
    }
}

/* Header - mobil kompakt */
@media (max-width: 768px) {
    .header {
        padding: 0.65rem 0.9rem !important;
    }
    .header .header-icon {
        width: 18px;
        height: 18px;
    }
    .header-action {
        padding: 4px;
    }
    .header-left,
    .header-right {
        gap: 0.5rem !important;
    }
    .header-logo img {
        max-height: 24px;
        width: auto;
    }
    .cart-badge {
        min-width: 14px;
        width: 14px;
        height: 14px;
        font-size: 9px;
        padding: 0 3px;
        top: -4px;
        right: -6px;
    }
    /* Mobilde giriş/hesap ikonunu gizle - kullanıcı menüden ulaşıyor */
    #auth-trigger {
        display: none !important;
    }
    /* Mobilde tam ekran menü zaten var, search drawer zaten açılıyor - ikon kümesi daha ferah */
    .header::before {
        height: 110px; /* mobilde gradient daha kısa */
    }
}

/* Çok dar ekranlar - ek sıkıştırma */
@media (max-width: 380px) {
    .header-left,
    .header-right {
        gap: 0.35rem !important;
    }
    .header .header-icon {
        width: 17px;
        height: 17px;
    }
    .header-logo img {
        max-height: 22px;
    }
}

/* PLP toolbar - mobil uyumu */
@media (max-width: 768px) {
    .plp-toolbar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 14px !important;
    }
    .plp-toolbar .toolbar-actions {
        gap: 10px !important;
        width: 100%;
        justify-content: space-between;
    }
    .plp-grid-controls { display: none !important; }
    .sort-select {
        min-width: 140px;
        padding: 8px 10px;
    }
    .btn-filter {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
}

/* Filter drawer - tam ekran mobil */
@media (max-width: 768px) {
    .filter-drawer {
        width: 100% !important;
        max-width: 100% !important;
    }
    .filter-drawer .filter-group {
        padding: 14px 0 !important;
    }
}

/* Fullscreen menu - mobil */
@media (max-width: 768px) {
    .fullscreen-menu-content {
        flex-direction: column;
        padding: 0 !important;
    }
    .fullscreen-menu-right {
        display: none !important;
    }
    .fullscreen-menu-left {
        width: 100% !important;
        padding: 4.5rem 1.5rem 2rem !important;
    }
    .menu-group-title {
        font-size: 0.7rem !important;
        margin-bottom: 0.7rem !important;
    }
    .menu-links {
        gap: 0.4rem !important;
    }
    .menu-links a {
        font-size: 1.3rem !important;
        padding: 4px 0;
    }
}

/* Mini cart - mobil */
@media (max-width: 768px) {
    .mini-cart {
        width: 100vw !important;
        max-width: 100vw !important;
        right: -100vw;
        padding: 1rem 1.1rem !important;
    }
    .mini-cart.open {
        right: 0;
    }
    .cart-header {
        padding: 0 0 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    .cart-footer {
        padding-top: 0.85rem !important;
        margin-top: 0.85rem !important;
    }
}

/* Auth drawer - mobil */
@media (max-width: 768px) {
    .auth-drawer {
        width: 100vw !important;
        max-width: 100vw !important;
        padding: 1rem 1.1rem !important;
    }
    .form-input { padding: 0.85rem 0.9rem; }
}

/* Search overlay - mobil kompakt */
@media (max-width: 768px) {
    .search-overlay {
        padding: 1rem !important;
    }
    .search-form {
        width: 100% !important;
    }
    .search-input {
        font-size: 1.2rem !important;
    }
}

/* PDP - mobil optimizasyonu */
@media (max-width: 768px) {
    .pdp-container {
        padding: 1rem !important;
        padding-top: 60px !important;
        gap: 0 !important;
    }
    .pdp-left {
        max-height: 80vh !important;
    }
    .pdp-right {
        padding: 1.2rem 0.8rem !important;
    }
    .pdp-title {
        font-size: 1.35rem !important;
        line-height: 1.3;
    }
    .pdp-price {
        font-size: 1.4rem !important;
    }
    .pdp-section {
        margin-bottom: 1.5rem !important;
    }
    .pdp-section-title {
        font-size: 0.8rem !important;
    }
    .size-option,
    .color-option {
        min-width: 44px;
        min-height: 44px;
    }
    .color-option {
        width: 30px !important;
        height: 30px !important;
    }
    .pdp-actions {
        padding: 0 !important;
    }
    .btn-primary#pdp-add-to-cart {
        padding: 16px !important;
        font-size: 0.95rem !important;
    }
    /* Desktop'ta sabit olan Sepete Ekle butonunu mobilde gizle, sticky bar devrede */
    .pdp-actions {
        display: none !important;
    }
    /* Complete-look */
    .complete-look-title {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    /* Reviews section padding */
    .pdp-reviews {
        padding: 0 1rem !important;
        margin-top: 2rem !important;
    }
}

/* Checkout - mobil tek kolon */
@media (max-width: 900px) {
    .checkout-wrapper {
        padding: 5rem 1rem 2rem !important;
    }
    .checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .checkout-box {
        padding: 1.25rem !important;
        margin-bottom: 1.25rem !important;
    }
    .checkout-box-title {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
    }
    .summary-card {
        position: static !important;
        padding: 1.25rem !important;
    }
    .payment-options {
        flex-direction: column;
        gap: 10px;
    }
    .payment-box {
        padding: 1rem !important;
    }
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* Account - mobil tek sütun */
@media (max-width: 900px) {
    main[style*="padding: 4rem 2rem"] {
        padding: 2rem 1rem !important;
    }
    main[style*="padding: 4rem 2rem"] > div {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    main aside[style*="width: 300px"] {
        width: 100% !important;
    }
    main aside nav {
        flex-direction: row !important;
        overflow-x: auto;
        gap: 0.5rem !important;
    }
}

/* PDP sticky bar rengini ayarla (var olana destek) */
@media (max-width: 768px) {
    .pdp-mobile-sticky { padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); }
    .pdp-sticky-btn { font-size: 0.85rem; padding: 12px 18px; }
}

/* Cart-checkout "Order Özeti" başlığı mobilde daha küçük */
@media (max-width: 560px) {
    .summary-title {
        font-size: 1rem !important;
    }
    .totals-total {
        font-size: 1.1rem !important;
    }
}

/* Buttons - dokunma hedefi min 44px */
@media (max-width: 768px) {
    button,
    .btn-primary,
    .btn-filter,
    .btn-checkout-finish {
        min-height: 44px;
    }
}

/* Blog - mobil uyumu */
@media (max-width: 768px) {
    main[style*="max-width:1160px"] {
        margin: 4.5rem auto 2rem !important;
        padding: 0 1rem !important;
    }
    .blog-filter-bar {
        overflow-x: auto;
        flex-wrap: nowrap !important;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }
    .blog-filter-bar a { flex: 0 0 auto; white-space: nowrap; }
}

/* 404 + genel içerik sayfaları - mobil padding */
@media (max-width: 768px) {
    main[style*="max-width:880px"],
    main[style*="max-width:760px"],
    main[style*="max-width:620px"],
    main[style*="max-width:480px"] {
        margin-top: 5rem !important;
        margin-bottom: 2rem !important;
        padding: 0 1rem !important;
    }
}

/* WhatsApp float - mobilde sticky CTA ile çakışmasın (mobile-cta zaten bunu düzeltmişti, tekrar sağlamlaştır) */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 48px !important;
        height: 48px !important;
        right: 14px !important;
        bottom: 84px !important;
    }
    .whatsapp-float svg { width: 22px; height: 22px; }
}

/* Toolbar yüksek yoğunluklu ekranlarda sort-select genişlesin */
@media (max-width: 420px) {
    .sort-select {
        min-width: 110px;
        font-size: 0.8rem;
    }
}

/* Ürün kartı card shadow - daha soft */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
    }
}

/* PLP mobilde tam genişlik + kompakt padding */
@media (max-width: 768px) {
    .plp-container {
        padding: 1rem !important;
    }
    main.plp-container {
        padding-top: 1rem !important;
    }
}

/* Complete-look scroll smoothly on mobile */
@media (max-width: 768px) {
    .carousel-track {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .carousel-track .product-card {
        scroll-snap-align: start;
    }
}

/* Footer mobilde okunabilir */
@media (max-width: 768px) {
    .footer-dark {
        padding: 3rem 1.25rem 1.5rem !important;
    }
    .footer-creator-label {
        font-size: 9px !important;
    }
}

/* Smooth scroll iOS */
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

/* Tap highlight'ı kapat */
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
