/* ============================================
   LCW-STYLE THEME OVERRIDES
   Profesyonel header, hero overlay, mega menü, footer
   ============================================ */

/* Tüm sitede yatay taşmayı önle */
html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Site header: LCW kullanıyorsa fixed (theme'deki sticky'i geçersiz kıl) */
.site-header.lcw-header {
    position: fixed !important;
    background: transparent;
    box-shadow: none;
    border-bottom: none;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
}

/* --- Header: 2 satır, ana sayfada şeffaf / hover'da beyaz --- */
.lcw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.lcw-header .lcw-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.lcw-header-top {
    width: 100%;
    padding: 0.85rem 0;
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

.lcw-header--transparent .lcw-header-top,
.lcw-header--transparent .nav-bar.lcw-nav-bar {
    background: rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: saturate(1.1);
}

.lcw-header--transparent .lcw-logo img,
.lcw-header--transparent .lcw-action-link,
.lcw-header--transparent .lcw-menu-link {
    color: #fff !important;
}

.lcw-header--transparent .lcw-logo img {
    filter: brightness(0) invert(1);
}

.lcw-header--transparent .search-bar input {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.lcw-header--transparent .search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.lcw-header--transparent .search-bar button,
.lcw-header--transparent .search-bar svg {
    color: #fff;
}

.lcw-header--transparent .mobile-menu-toggle span {
    background: #fff;
}

/* Hover veya scroll: beyaz header */
.lcw-header.lcw-header--solid .lcw-header-top,
.lcw-header.lcw-header--solid .nav-bar.lcw-nav-bar {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.lcw-header.lcw-header--solid .lcw-logo img {
    filter: none;
}

.lcw-header.lcw-header--solid .lcw-action-link,
.lcw-header.lcw-header--solid .lcw-menu-link {
    color: #1a1a1a !important;
}

.lcw-header.lcw-header--solid .search-bar input {
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #1a1a1a;
}

.lcw-header.lcw-header--solid .search-bar input::placeholder {
    color: #666;
}

.lcw-header.lcw-header--solid .search-bar button,
.lcw-header.lcw-header--solid .search-bar svg {
    color: #666;
}

.lcw-header.lcw-header--solid .mobile-menu-toggle span {
    background: #1a1a1a;
}

/* Ana sayfa değilse her zaman solid */
body:not(.page-home) .lcw-header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body:not(.page-home) .lcw-header .lcw-logo img {
    filter: none;
}

body:not(.page-home) .lcw-header .lcw-action-link,
body:not(.page-home) .lcw-header .lcw-menu-link {
    color: #1a1a1a !important;
}

/* Üst satır: logo sol, arama orta, aksiyonlar sağ — masaüstünde hamburger (Menü) yok */
.lcw-header-top .mobile-menu-toggle {
    display: none;
}

.lcw-header-top .lcw-header-container {
    display: grid;
    grid-template-columns: auto minmax(0, 1.5fr) auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.lcw-header .lcw-header-container.container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.lcw-header-top .lcw-logo {
    justify-self: start;
    min-width: 0;
}

.lcw-header-top .lcw-logo img {
    max-height: 36px;
    width: auto;
    max-width: 160px;
    height: auto;
    object-fit: contain;
}

.lcw-header-top .lcw-search {
    justify-self: center;
    max-width: 520px;
    width: 100%;
    min-width: 0;
}

.lcw-header-top .lcw-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
    flex-shrink: 0;
}

/* Hesabım açılır menüsü: header ve nav'ın önünde, her zaman en üstte */
.lcw-header .lcw-header-top {
    position: relative;
    z-index: 12;
}

.lcw-header .lcw-nav-bar {
    position: relative;
    z-index: 10;
}

.lcw-header .user-menu-dropdown {
    position: relative;
    z-index: 100002;
}

.lcw-header .user-dropdown-menu {
    z-index: 100003;
    position: absolute !important;
}

.lcw-action-link {
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.lcw-action-link:hover {
    opacity: 0.85;
}

.lcw-cart-link {
    white-space: nowrap;
}

/* Arama kutusu – premium stil */
.lcw-search {
    position: relative;
}

.lcw-search input {
    width: 100%;
    padding: 0.6rem 2.75rem 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.9rem;
    background: #f5f5f5;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.lcw-search input:focus {
    outline: none;
    background: #ffffff;
    border-color: #111111;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.lcw-search button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

/* (Daha önce eklenen announcement bar kaldırıldı) */

/* Nav bar: kategori linkleri (masaüstünde görünür) */
.lcw-nav-bar {
    display: flex;
    align-items: stretch;
    padding: 0;
    min-height: 48px;
    width: 100%;
    max-width: 100%;
}

.lcw-nav-bar .lcw-header-container {
    width: 100%;
    max-width: 100%;
}

.lcw-main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: stretch;
}

.lcw-menu-link {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: inherit;
    position: relative;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease;
}

.lcw-menu-link:hover {
    color: #111111;
}

.lcw-menu-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: #111111;
    transition: width 0.3s ease;
}

.lcw-menu-link:hover::after {
    width: 100%;
}

/* --- Mega menü: viewport sağ kenarına sabit (fixed), böylece her zaman en sağa yaslı --- */
.lcw-mega-menu {
    position: fixed;
    right: 0;
    left: auto;
    top: 108px;
    width: min(1200px, 92vw);
    max-width: 92vw;
    margin: 0;
    transform: translateY(-12px);
    background: #fff;
    box-shadow: -8px 16px 40px rgba(0, 0, 0, 0.14);
    border-radius: 0 0 0 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.26s ease, visibility 0.26s ease, transform 0.26s ease;
    z-index: 99998;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-top: 3px solid #1a1a1a;
    border-right: none;
    overflow: hidden;
}

.lcw-menu-item:hover .lcw-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lcw-mega-inner {
    padding: 1.5rem 1.75rem 1.25rem 1.75rem;
    padding-right: 0;
}

/* Sol: YENİ GELENLER vb. | Orta: alt kategoriler (ürün fotoları kaldırıldı) */
.lcw-mega-columns {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 1.5rem 2rem;
    align-items: start;
    width: 100%;
}

.lcw-mega-left {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.lcw-mega-headlink {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.2rem 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.lcw-mega-headlink:hover {
    text-decoration: underline;
}

.lcw-mega-discount {
    color: #c00;
}

/* Orta: alt kategoriler – grid ile net sütunlar, iç içe girmesin */
.lcw-mega-right {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 0.35rem 1.5rem;
    align-items: flex-start;
    min-width: 0;
}

.lcw-mega-column {
    min-width: 0;
    max-width: 220px;
}

.lcw-mega-column .lcw-column-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    margin: 0 0 0.25rem;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid #1a1a1a;
}

.lcw-mega-column .subcategory-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.lcw-mega-column .subcategory-item {
    margin: 0;
    line-height: 1.35;
}

.lcw-mega-column .lcw-subcategory-link {
    display: block;
    font-size: 0.8125rem;
    color: #555;
    text-decoration: none;
    padding: 0.08rem 0;
    line-height: 1.4;
}

.lcw-subcategory-link:hover {
    color: #1a1a1a;
}

.lcw-column-title.lcw-column-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    margin: 0 0 0.25rem;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid #1a1a1a;
}

/* En sağ: ürün fotoları – dropdown’un sağ kenarına yaslı, sadece bu blokta sağ padding */
.lcw-mega-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    padding-right: 0;
    margin-left: auto;
    margin-right: 0;
    justify-self: end;
}

.lcw-mega-card {
    display: block;
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.lcw-mega-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lcw-mega-card-placeholder {
    display: flex;
    align-items: flex-end;
    padding: 0.5rem;
}

.lcw-mega-card .lcw-mega-card-label,
.lcw-mega-card-label,
.lcw-mega-card-placeholder .lcw-mega-card-label {
    display: none !important;
}

.lcw-mega-all {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
}

.lcw-mega-all:hover {
    opacity: 0.8;
}

@media (max-width: 900px) {
    .lcw-mega-columns {
        grid-template-columns: 180px 1fr 260px;
    }

    .lcw-mega-visual {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Ana sayfa üst video: tam ekran arka plan --- */
.hero-video-wrap {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 110%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

/* --- Ana sayfa: hero tam ekran, kenar boşluksuz --- */
.page-home .hero,
.page-home .hero.hero-lcw,
.page-home .hero.hero-fullscreen {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    box-sizing: border-box;
    position: relative;
}

.page-home .hero-slider {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.page-home .hero-slide,
.page-home .hero-slide-link,
.page-home .hero-slide img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.page-home main.container {
    padding-top: 0;
    max-width: 100%;
}

/* Hero metin overlay (LCW / kullanıcı görseli tarzı) */
.hero-overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    padding: 2rem 2.5rem;
    z-index: 2;
    pointer-events: none;
}

.hero-slide-link {
    pointer-events: auto;
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-overlay-inner {
    pointer-events: auto;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 1.25rem;
    max-width: 320px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
}

.hero-slide-link:hover .hero-cta {
    background: #333;
    transform: translateY(-1px);
}

/* Slider dots (LCW tarzı sağ alt) */
.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

/* İkinci slider (ilk sliderın altında, tam genişlik) */
.hero-slider-2 {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 50vh;
    height: 50vh;
}

.hero-slider-2 .hero-slider {
    height: 100%;
    min-height: 50vh;
}

.hero-slider-2 .hero-slide,
.hero-slider-2 .hero-slide-link,
.hero-slider-2 .hero-slide img {
    min-height: 50vh;
    object-fit: cover;
}

.hero-slider-2 .hero-dots {
    border-color: rgba(0, 0, 0, 0.2);
}

.hero-slider-2 .hero-dot {
    border-color: rgba(0, 0, 0, 0.4);
}

.hero-slider-2 .hero-dot.is-active {
    background: #1a1a1a;
}

/* Ana sayfa foto blokları: sol + sağ, tam genişlik, hover efektli */
.home-photo-block {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.home-photo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 320px;
}

.home-photo-row--triple {
    grid-template-columns: 1fr 1fr 1fr;
}

.home-photo-half {
    display: block;
    position: relative;
    min-height: 280px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.home-photo-half::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    pointer-events: none;
}

.home-photo-half:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.home-photo-half:hover::after {
    background: rgba(0, 0, 0, 0.12);
}

.home-photo-half:hover img {
    transform: scale(1.06);
}

.home-photo-half img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.home-photo-half.home-photo-empty {
    background: #f0f0f0;
}

.home-photo-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.6rem 1.25rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff !important;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.35s ease, transform 0.35s ease;
    z-index: 2;
    border-radius: 4px;
    display: block;
    visibility: visible;
    opacity: 1;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

.home-photo-half:active .home-photo-title {
    opacity: 1;
    visibility: visible;
}

.home-photo-half:hover .home-photo-title {
    background: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.05);
}

/* Foto blokları: tıklanınca kategorilere kaydır (link kaldırıldı) */
.home-photo-scroll {
    cursor: pointer;
}

/* Fixed header altında içerik kaymaması için diğer sayfalarda body padding */
body:not(.page-home) {
    padding-top: 108px;
}

/* --- Scroll to top butonu (footer bölümünde) --- */
.lcw-scroll-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2d2d2d;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s, transform 0.2s;
}

.lcw-scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.lcw-scroll-top:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

.lcw-scroll-top svg {
    width: 20px;
    height: 20px;
}

/* --- Footer: beyaz zemin, koyu yazı, sade ve modern --- */
.footer.lcw-footer,
.lcw-footer {
    background: #0d0d0d;
    color: #e5e5e5;
    padding: 3rem 0 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.lcw-footer-main {
    padding-bottom: 2rem;
}

.footer.lcw-footer .lcw-footer-title,
.footer.lcw-footer h4,
.lcw-footer .lcw-footer-title {
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1.25rem;
}

.footer.lcw-footer .lcw-footer-list a,
.footer.lcw-footer .lcw-footer-phone,
.lcw-footer .lcw-footer-list a,
.lcw-footer .lcw-footer-phone {
    color: #a3a3a3;
}

.lcw-footer .lcw-footer-list a:hover {
    color: #fff;
}

.lcw-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2.5rem 3rem;
    max-width: 1000px;
}

.lcw-footer-col {
    min-width: 0;
}

.lcw-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lcw-footer-list li {
    margin-bottom: 0.5rem;
}

.lcw-footer-list a {
    font-size: 0.875rem;
    color: #a3a3a3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.lcw-footer-list a:hover {
    color: #fff;
}

.lcw-footer-phone {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    margin: 0.75rem 0 0;
}

.lcw-footer-social-col {
    grid-column: span 1;
}

.lcw-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lcw-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,0.08);
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease;
}

.lcw-footer-social-link:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

.lcw-footer-social-link svg {
    flex-shrink: 0;
}

.lcw-footer-social-ig:hover { background: #E4405F !important; }
.lcw-footer-social-tg:hover { background: #0088cc !important; }
.lcw-footer-social-fb:hover { background: #1877F2 !important; }
.lcw-footer-social-wa:hover { background: #25D366 !important; }

.lcw-footer-payments {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8125rem;
    color: #737373;
}

.lcw-footer-payment-label {
    margin-right: 0.5rem;
    font-weight: 600;
    color: #a3a3a3;
}

.lcw-footer-bottom {
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8125rem;
    color: #737373;
    text-align: center;
}

.lcw-footer-copy {
    letter-spacing: 0.02em;
}

/* --- Ana sayfa: tam genişlik ikiye bölünmüş paneller --- */
.lcw-split-panels {
    width: 100%;
    margin: 0;
    padding: 0;
}

.lcw-split-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    min-height: 320px;
}

.lcw-split-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-decoration: none;
    color: #1a1a1a;
    background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 100%);
    position: relative;
    min-height: 280px;
    transition: opacity 0.25s, transform 0.25s;
}

.lcw-split-panel:nth-child(odd) {
    background: linear-gradient(135deg, #e8e8e8 0%, #ddd 100%);
}

.lcw-split-panel:hover {
    opacity: 0.95;
    transform: scale(1.01);
}

.lcw-split-label {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.lcw-split-cta {
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: underline;
}

@media (min-width: 900px) {
    .lcw-split-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Ana sayfa: ikinci main (kategori + öne çıkan) düzeni */
.page-home main.container:last-of-type {
    padding-left: var(--space-md, 1rem);
    padding-right: var(--space-md, 1rem);
    padding-bottom: 2.5rem;
}

.page-home .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.page-home .section-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.page-home .section-header a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}

.page-home .section-header a:hover {
    text-decoration: underline;
}

/* Kategori kartları: daha temiz LCW hissi */
.page-home .category-grid-with-subcats {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    gap: 1rem;
}

.page-home .category-card,
.page-home .category-card-toggle {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s, transform 0.25s;
}

.page-home .category-card:hover,
.page-home .category-card-toggle:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Ana sayfa kategori açılır menüsü: tam genişlik, header mega menü gibi */
.page-home .home-cat-wrap.mega-open,
.page-home .home-cat-wrap:has(.home-mega-dropdown[data-open]) {
    grid-column: 1 / -1;
    min-width: 0;
}

.page-home .home-category-mega {
    overflow: visible;
}

.page-home .home-mega-dropdown {
    overflow-x: visible !important;
    overflow-y: hidden;
}

.page-home .home-mega-dropdown[data-open] {
    max-height: 650px;
    overflow-y: auto;
}

.page-home .home-mega-dropdown .category-card-subcats-inner {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-top: 3px solid #1a1a1a;
    min-width: 0;
    overflow: visible;
}

.page-home .home-mega-dropdown .lcw-mega-inner {
    padding: 1.5rem 1.75rem 1.25rem 1.75rem;
    min-width: 0;
}

.page-home .home-mega-dropdown .lcw-mega-columns {
    display: grid;
    grid-template-columns: 200px minmax(200px, 1fr);
    gap: 1.5rem 2rem;
}

.page-home .home-mega-dropdown .lcw-mega-right {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 0.35rem 1.5rem;
}

.page-home .home-mega-dropdown .lcw-mega-column .lcw-column-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1a1a1a;
    margin: 0 0 0.25rem;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid #1a1a1a;
}

.page-home .home-mega-dropdown .lcw-mega-column .subcategory-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.page-home .home-mega-dropdown .subcategory-item {
    opacity: 1;
    transform: none;
}

.page-home .home-mega-dropdown .lcw-subcategory-link {
    display: block;
    padding: 0.08rem 0;
    font-size: 0.875rem;
    color: #444;
    text-decoration: none;
    line-height: 1.4;
}

.page-home .home-mega-dropdown .lcw-subcategory-link:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

.page-home .home-mega-dropdown .lcw-mega-all {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 0.2rem;
}

.page-home .home-mega-dropdown .lcw-mega-all:hover {
    opacity: 0.8;
}

#home-categories {
    scroll-margin-top: 120px;
}

/* Floating contact: hero ile çakışmasın, kompakt */
#floating-contact .floating-contact-toggle {
    width: 52px;
    height: 52px;
    bottom: 5rem;
    right: 1.25rem;
}

#floating-contact .floating-contact-bubble {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
}

/* --- Mobile User Actions (Masaüstünde gizli) --- */
.mobile-only {
    display: none !important;
}

/* --- Mobil Sürüm: 768px ve Altı --- */
@media (max-width: 768px) {
    .mobile-only {
        display: flex !important;
    }

    /* Header Container Düzenlemeleri */
    .lcw-header .lcw-header-container.container,
    .lcw-header-top .lcw-header-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: max(0.75rem, env(safe-area-inset-left)) !important;
        padding-right: max(0.75rem, env(safe-area-inset-right)) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .lcw-header-top .lcw-logo img {
        max-height: 32px;
        max-width: 140px;
    }

    /* Mobil: üç çizgi sola, Modasio logosu ortada */
    .lcw-header-top .mobile-menu-toggle {
        display: flex !important;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-items: center;
        justify-content: center;
    }

    .lcw-header-top .lcw-header-container {
        display: grid !important;
        grid-template-columns: auto 1fr auto !important;
        grid-template-rows: auto !important;
        gap: 0 0.5rem !important;
        align-items: center !important;
    }

    .lcw-header-top .lcw-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }

    .lcw-header-top .lcw-search {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 0.75rem !important;
        max-width: none !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .lcw-header-top .lcw-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        gap: 0.5rem;
    }

    .lcw-header--transparent .lcw-header-top .lcw-search {
        border: none !important;
    }

    /* Mobilde Hesabım gizli (üç çizgi menüde Profilim var) */
    .lcw-actions .user-menu-dropdown {
        display: none !important;
    }

    .lcw-actions .lcw-action-link:not(.lcw-cart-link):not(.lcw-favorites-link) {
        display: none;
    }

    /* --- Mobil yan menü (drawer): kusursuz tasarım --- */
    .lcw-nav-bar {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 88% !important;
        max-width: 340px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #fafafa !important;
        z-index: 3000 !important;
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
        transform: translateX(-100%) !important;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 0 !important;
        border: none !important;
        -webkit-overflow-scrolling: touch;
    }

    .lcw-nav-bar.is-open {
        transform: translateX(0) !important;
    }

    .lcw-mobile-menu-header {
        display: flex !important;
        padding: 1.25rem 1rem !important;
        background: #fff !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        justify-content: space-between !important;
        align-items: center !important;
        min-height: 56px !important;
        box-sizing: border-box !important;
    }

    .lcw-mobile-menu-header .lcw-mobile-logo {
        display: flex !important;
        align-items: center !important;
    }

    .lcw-mobile-menu-header .lcw-mobile-logo img {
        height: 28px !important;
        width: auto !important;
        max-width: 140px !important;
        object-fit: contain !important;
    }

    .lcw-mobile-menu-close {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: #f0f0f0 !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: background 0.2s ease, transform 0.2s ease !important;
        position: relative !important;
        flex-shrink: 0 !important;
    }

    .lcw-mobile-menu-close:hover {
        background: #e5e5e5 !important;
    }

    .lcw-mobile-menu-close:active {
        transform: scale(0.96) !important;
    }

    .lcw-mobile-menu-close::before,
    .lcw-mobile-menu-close::after {
        content: '' !important;
        position: absolute !important;
        width: 16px !important;
        height: 2px !important;
        background: #333 !important;
        border-radius: 1px !important;
    }

    .lcw-mobile-menu-close::before {
        transform: rotate(45deg) !important;
    }

    .lcw-mobile-menu-close::after {
        transform: rotate(-45deg) !important;
    }

    .lcw-mobile-user-actions {
        display: flex !important;
        padding: 1rem !important;
        gap: 0.625rem !important;
        background: #fff !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    }

    .mobile-user-link {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.875rem 0.75rem !important;
        background: #f5f5f5 !important;
        border: none !important;
        border-radius: 10px !important;
        font-size: 0.8125rem !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        text-decoration: none !important;
        transition: background 0.2s ease, color 0.2s ease !important;
    }

    .mobile-user-link:hover {
        background: #ebebeb !important;
        color: #000 !important;
    }

    .lcw-nav-bar .lcw-main-menu {
        flex-direction: column !important;
        padding: 0.5rem 0 !important;
    }

    .lcw-nav-bar .lcw-menu-item {
        width: 100% !important;
        border-bottom: none !important;
    }

    .lcw-nav-bar .lcw-menu-link {
        display: flex !important;
        padding: 1rem 1.25rem !important;
        font-weight: 600 !important;
        font-size: 0.9375rem !important;
        justify-content: space-between !important;
        align-items: center !important;
        color: #1a1a1a !important;
        text-decoration: none !important;
        transition: background 0.2s ease !important;
        border-radius: 0 !important;
    }

    .lcw-nav-bar .lcw-menu-link:hover,
    .lcw-nav-bar .lcw-menu-link:focus {
        background: rgba(0, 0, 0, 0.04) !important;
    }

    .lcw-nav-bar .lcw-menu-link::after {
        content: '›' !important;
        font-size: 1.25rem !important;
        font-weight: 300 !important;
        color: #999 !important;
        margin-left: 0.5rem !important;
    }

    /* Mobil: mega menü (alt kategoriler) drawer içinde açılsın */
    .lcw-nav-bar .lcw-mega-menu {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.25s ease, max-height 0.35s ease;
        box-shadow: none;
        border: none;
        border-radius: 0;
        border-top: 1px solid #eee;
        margin: 0;
        padding: 0;
    }
    .lcw-nav-bar .lcw-menu-item.active .lcw-mega-menu {
        opacity: 1;
        visibility: visible;
        max-height: 80vh;
        overflow-y: auto;
    }
    .lcw-nav-bar .lcw-mega-inner {
        padding: 1rem 1.25rem 1.25rem !important;
    }
    .lcw-nav-bar .lcw-mega-columns {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .lcw-nav-bar .lcw-mega-right {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Ana sayfa kategori mega menü mobil */
    .page-home .home-mega-dropdown {
        max-height: 70vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .page-home .home-mega-dropdown .lcw-mega-columns {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .page-home .home-mega-dropdown .lcw-mega-right {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }

    .page-home .home-mega-dropdown .lcw-mega-column {
        max-width: none;
    }

    .page-home .home-category-mega {
        grid-template-columns: 1fr !important;
    }

    .page-home .home-cat-wrap {
        width: 100%;
    }

    .page-home .category-card,
    .page-home .category-card-toggle {
        min-height: 56px;
        padding: 1rem 1.25rem;
    }

    /* Ana sayfa mobil görünümleri */
    .home-photo-row,
    .home-photo-row--triple {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .home-photo-half {
        min-height: 220px;
    }

    .home-photo-title {
        font-size: 1.15rem;
        padding: 0.6rem 1.25rem;
        background: rgba(0, 0, 0, 0.65);
        color: #fff !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .container,
    main.container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .lcw-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }

    /* Ürün listesi: görünüm seçici view-cols-4 (2 sütun) / view-cols-3 (1 sütun) theme.css’te tanımlı */

    .product-detail .thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    /* Form elemanları: dokunma alanı min 44px */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    select,
    textarea,
    .pill-button,
    .btn-cart,
    button[type="submit"] {
        min-height: 44px;
        font-size: 16px;
    }

    .breadcrumb {
        font-size: 0.8125rem;
    }
}

/* Media Query 768px END */

/* --- Keyframes & Overlay (Global but used by mobile) --- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body.mobile-menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2500;
    opacity: 1;
    pointer-events: auto;
    animation: fadeIn 0.3s ease;
}

body.mobile-menu-open .lcw-header {
    z-index: 3500 !important;
}

@media (max-width: 480px) {
    .lcw-header-top .lcw-logo img {
        max-height: 28px;
        max-width: 120px;
    }

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

    /* Ana sayfa öne çıkan ürünler: telefonda tek satırda 2 ürün */
    .page-home .featured-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }
}