/* ============================================
   QR Menü — Lüks Tasarım Sistemi v2.0
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

:root {
    /* Marka renkleri — PHP override eder */
    --color-primary:         #1A1A1A;
    --color-accent:          #9A7B2F;
    --color-accent-light:    #C4A24A;
    --color-accent-rgb:      154, 123, 47;
    --color-accent-soft:     rgba(154, 123, 47, 0.08);
    --color-accent-gradient: linear-gradient(135deg, #7A5F1A 0%, #C4A24A 60%, #DFC070 100%);
    --color-accent-gradient-btn: linear-gradient(135deg, #8B6914 0%, #BFA042 100%);
    --color-text-accent:     #9A7B2F;
    --color-border-hover:    rgba(154, 123, 47, 0.3);
    --shadow-accent:         0 6px 24px rgba(154, 123, 47, 0.18);
    --color-accent-bg-subtle:    rgba(154, 123, 47, 0.07);
    --color-accent-border-subtle: rgba(154, 123, 47, 0.18);
    --color-accent-shadow:   rgba(154, 123, 47, 0.35);
    --color-background:      #F8F7F3;
    --btn-radius:            50px;
    --font-heading:          'Cormorant Garamond', Georgia, serif;
    --font-body:             'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --header-height:   85px;
    --nav-height:      72px;
    --max-width:       520px;
    --border-radius:   18px;
    --border-radius-sm: 10px;
    --border-radius-lg: 24px;
    --safe-bottom:     env(safe-area-inset-bottom, 0px);

    /* Renk paleti */
    --color-surface:        #FFFFFF;
    --color-surface-2:      #F3F2EE;
    --color-surface-glass:  rgba(255,255,255,0.85);
    --color-border:         rgba(0,0,0,0.07);
    --color-border-strong:  rgba(0,0,0,0.12);
    --color-text:           #1A1A1A;
    --color-text-secondary: #5E5E5E;
    --color-text-muted:     #A0A0A0;
    --color-text-light:     #C8C8C8;

    /* Gölgeler */
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.09);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);

    /* Geçişler */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out:    cubic-bezier(0, 0, 0.2, 1);
    --transition:  all 0.24s var(--ease-smooth);
    --transition-fast: all 0.16s var(--ease-smooth);
    --transition-slow: all 0.4s var(--ease-smooth);
}

/* ============================================
   BASE
   ============================================ */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    height: 100%;
}

body {
    font-family: var(--font-body);
    background: #E2E1DC;
    color: var(--color-text);
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Arka plan dokusu */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(154,123,47,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(154,123,47,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   APP CONTAINER
   ============================================ */
.app-container {
    width: 100%;
    max-width: var(--max-width);
    height: 100dvh;
    max-height: 100dvh;
    background: var(--color-background);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 600px) {
    .app-container {
        border-radius: 24px;
        height: calc(100dvh - 48px);
        max-height: calc(100dvh - 48px);
        box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.04);
        margin: 0 auto;
    }
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--color-surface-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
    min-height: var(--header-height);
    max-height: var(--header-height);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 10px;
    transition: box-shadow 0.3s var(--ease-smooth);
    box-sizing: border-box;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header--home {
    border-radius: 24px 24px 0 0;
}

.header__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--color-surface-2);
    color: var(--color-text);
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.header__back:hover {
    background: var(--color-accent-soft);
    color: var(--color-accent);
    border-color: var(--color-accent-border-subtle);
    transform: scale(1.06);
}

.header__back:active { transform: scale(0.96); }

.header__title {
    flex: 1;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
}

.header__logo-img {
    height: calc(var(--header-height) - 14px);
    max-height: calc(var(--header-height) - 14px);
    max-width: 220px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.header--menu {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.header--menu .header__title {
    position: static;
    transform: none;
    flex: none;
    text-align: center;
    font-size: 1.50rem;
    letter-spacing: -0.2px;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: auto;
    justify-content: center;
    padding: 0 8px;
}

.header--menu .header__actions {
    justify-content: flex-end;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.header__btn:hover {
    background: var(--color-accent-soft);
    color: var(--color-accent);
    transform: scale(1.08);
}

/* Dil Seçici */
.lang-switcher {
    display: flex;
    align-items: center;
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 3px;
    gap: 2px;
}

.lang-switcher__btn {
    border: none;
    background: transparent;
    padding: 5px 12px;
    border-radius: 9px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    transition: var(--transition);
    line-height: 1;
}

.lang-switcher__btn.active {
    background: var(--color-primary);
    color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: calc(var(--nav-height) + var(--safe-bottom));
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

.main-content::-webkit-scrollbar { width: 0; }

.main-content--full {
    padding-bottom: 0;
    overflow: hidden;
}

/* ============================================
   HERO SLIDER — Lüks
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: calc(100dvh - var(--header-height) - var(--nav-height));
    min-height: 420px;
    background: #0D0D0D;
}

.hero-slider__track {
    display: flex;
    height: 100%;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-slider__slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider__bg {
    position: absolute;
    inset: 0;
}

.hero-slider__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) saturate(1.1);
    transform: scale(1.04);
    transition: transform 8s ease-out;
}

.hero-slider__slide.active .hero-slider__bg img {
    transform: scale(1);
}

.hero-slider__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.12) 40%,
        rgba(0,0,0,0.55) 100%
    );
}

.hero-slider__bg-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, #1C1408 0%, #0E0C06 50%, #080808 100%);
    position: relative;
    overflow: hidden;
}

.hero-slider__bg-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 60px,
            rgba(154,123,47,0.03) 60px,
            rgba(154,123,47,0.03) 61px
        );
}

/* Altın ışık efekti */
.hero-slider__bg-placeholder::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(196,162,74,0.15) 0%, transparent 65%);
    animation: goldGlow 6s ease-in-out infinite alternate;
}

@keyframes goldGlow {
    from { transform: translate(0, 0) scale(1); opacity: 0.6; }
    to   { transform: translate(20%, 15%) scale(1.15); opacity: 1; }
}

.hero-slider__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 28px calc(32px + var(--safe-bottom));
    text-align: center;
    color: #fff;
    z-index: 5;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15) 0%,
        rgba(0,0,0,0.45) 50%,
        rgba(0,0,0,0.55) 100%
    );
}

.hero-slider__ornament {
    width: 40px;
    height: 1px;
    background: var(--color-accent-gradient);
    margin-bottom: 16px;
    opacity: 0.8;
}

.hero-slider__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 2.8rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.hero-slider__subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.8;
    margin-bottom: 28px;
    line-height: 1.5;
    max-width: 280px;
    letter-spacing: 0.2px;
}

.hero-slider__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--color-accent-gradient-btn);
    color: #fff;
    text-decoration: none;
    padding: 15px 34px;
    border-radius: var(--btn-radius);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 6px 28px rgba(0,0,0,0.3), 0 2px 8px rgba(154,123,47,0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.hero-slider__btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.hero-slider__btn:hover::before { left: 100%; }

.hero-slider__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(0,0,0,0.4), 0 4px 14px rgba(154,123,47,0.4);
}

.hero-slider__btn:active { transform: translateY(-1px); }

/* Slider dots */
.hero-slider__dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.hero-slider__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    padding: 0;
}

.hero-slider__dot.active {
    background: var(--color-accent-light);
    width: 20px;
    border-radius: 3px;
}

/* ============================================
   BOTTOM NAVIGATION — Lüks
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    z-index: 999;
    background: var(--color-surface-glass);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: calc(var(--nav-height) + var(--safe-bottom));
    min-height: var(--nav-height);
    padding-bottom: var(--safe-bottom);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
    overflow: visible;
    box-sizing: border-box;
}

.bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 8px 4px;
    position: relative;
}

.bottom-nav__item::before {
    display: none;
}

.bottom-nav__item.active::before {
    display: none;
}

.bottom-nav__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    transition: var(--transition);
    color: var(--color-text-muted);
    border-radius: 50%;
}

.bottom-nav__item:hover {
    color: var(--color-accent);
}

.bottom-nav__item:hover .bottom-nav__icon-wrap {
    color: var(--color-accent);
    background: var(--color-accent-soft);
}

.bottom-nav__item.active {
    color: var(--color-accent);
}

.bottom-nav__item.active .bottom-nav__icon-wrap {
    background: var(--color-accent);
    color: #FFFFFF;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin-top: -20px;
    box-shadow: 0 4px 18px var(--color-accent-shadow);
}

.bottom-nav__label {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    transition: var(--transition);
}

/* ============================================
   CATEGORY LIST — Lüks
   ============================================ */
.category-list {
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 14px 16px;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--color-accent-gradient);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), var(--shadow-accent);
    border-color: var(--color-accent-border-subtle);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.category-card__img {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--color-surface-2);
    box-shadow: var(--shadow-xs);
}

.category-card__img-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-accent-soft), rgba(154,123,47,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
    border: 1px solid var(--color-accent-border-subtle);
}

.category-card__info {
    flex: 1;
    min-width: 0;
}

.category-card__name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.category-card__count {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.category-card__arrow {
    color: var(--color-text-light);
    flex-shrink: 0;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-surface-2);
}

.category-card:hover .category-card__arrow {
    color: var(--color-accent);
    background: var(--color-accent-soft);
    transform: translateX(3px);
}

/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
    padding: 16px 16px 10px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
    flex-shrink: 0;
    border: 1.5px solid var(--color-border-strong);
    background: var(--color-surface);
    color: var(--color-text-secondary);
    padding: 8px 18px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-xs);
}

.filter-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-soft);
}

.filter-btn:active { transform: scale(0.96); }

.filter-btn.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

/* ============================================
   PRODUCT LIST — Lüks
   ============================================ */
.product-list {
    padding: 8px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-card {
    display: flex;
    gap: 14px;
    background: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 14px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    text-align: left;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent-soft) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: inherit;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--color-accent-border-subtle);
    border-color: var(--color-accent-border-subtle);
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-xs);
}

.product-card--soldout { opacity: 0.55; pointer-events: none; }

.product-card__img-wrap {
    position: relative;
    flex-shrink: 0;
}

.product-card__img {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--color-surface-2);
    display: block;
    box-shadow: var(--shadow-xs);
}

.product-card__img-placeholder {
    width: 84px;
    height: 84px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-accent-soft), rgba(154,123,47,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 1.6rem;
    border: 1px solid var(--color-accent-border-subtle);
}

.product-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.product-card__name {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.25;
    letter-spacing: -0.2px;
}

.product-card__desc {
    font-size: 0.78rem;
    color: var(--color-text-secondary);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    gap: 8px;
}

.product-card__price {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-accent);
    white-space: nowrap;
}

/* ============================================
   BADGES — Lüks
   ============================================ */
.badge {
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge--popular {
    background: var(--color-accent-soft);
    color: var(--color-accent);
    border: 1px solid var(--color-accent-border-subtle);
}

.badge--new {
    background: rgba(46,125,50,0.07);
    color: #2E7D32;
    border: 1px solid rgba(46,125,50,0.18);
}

.badge--soldout {
    background: rgba(198,40,40,0.06);
    color: #c62828;
    border: 1px solid rgba(198,40,40,0.16);
}

/* ============================================
   PRODUCT MODAL — Lüks Bottom Sheet
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

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

.modal {
    position: relative;
    background: var(--color-surface);
    border-radius: 28px 28px 0 0;
    width: 100%;
    max-width: var(--max-width);
    max-height: 92dvh;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(20px + var(--safe-bottom));
    scrollbar-width: none;
}

.modal::-webkit-scrollbar { display: none; }

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

.modal__handle {
    width: 36px;
    height: 4px;
    background: var(--color-border-strong);
    border-radius: 2px;
    margin: 14px auto 0;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 12px rgba(0,0,0,0.22);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    z-index: 20;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.modal__close:hover {
    transform: scale(1.1) rotate(90deg);
    background: #fff;
}

.modal__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.modal__img-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--color-accent-soft), rgba(154,123,47,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.modal__body {
    padding: 22px 22px 10px;
}

.modal__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    gap: 12px;
}

.modal__name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.15;
    flex: 1;
    letter-spacing: -0.5px;
}

.modal__price {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
    padding-left: 12px;
    padding-top: 4px;
}

.modal__subcat {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 14px;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.modal__badges {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.modal__divider {
    height: 1px;
    background: var(--color-border);
    margin: 16px 0;
}

.modal__desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.modal__section-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-top: 18px;
    margin-bottom: 6px;
    letter-spacing: -0.1px;
}

.modal__section-text {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.modal__meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.modal__meta-item {
    background: var(--color-surface-2);
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
}

.modal__meta-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.modal__meta-value {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.5;
    font-weight: 500;
}

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-bar {
    padding: 16px;
    position: sticky;
    top: var(--header-height);
    background: var(--color-background);
    z-index: 50;
    border-bottom: 1px solid var(--color-border);
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border-strong);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.search-input-wrap:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-soft), var(--shadow-sm);
}

.search-input-wrap svg {
    position: absolute;
    left: 15px;
    color: var(--color-text-muted);
    pointer-events: none;
    flex-shrink: 0;
}

.search-input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 14px 14px 14px 46px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    outline: none;
}

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

.search-results-count {
    padding: 10px 16px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.search-empty {
    text-align: center;
    padding: 60px 30px;
    color: var(--color-text-muted);
}

.search-empty svg {
    opacity: 0.25;
    margin-bottom: 16px;
}

.search-empty p {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   INFO PAGE — Lüks
   ============================================ */
.info-section {
    padding: 20px 16px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card {
    background: var(--color-surface);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-border-subtle);
}

.info-card__title {
    font-family: var(--font-heading);
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.2px;
}

.info-card__title svg { color: var(--color-accent); }

/* Info box (WiFi) */
.info-box {
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-box-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--color-border-strong);
    font-size: 0.85rem;
}

.info-box-row:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.info-box-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.info-box-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-text);
    font-family: ui-monospace, 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.btn-wifi-copy {
    width: 100%;
    background: var(--color-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    margin-top: 6px;
    transition: var(--transition);
    text-transform: uppercase;
    box-shadow: 0 3px 12px rgba(0,0,0,0.18);
}

.btn-wifi-copy:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(0,0,0,0.25);
}

.btn-wifi-copy:active { transform: none; }

/* Contact items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--color-accent-soft);
    border: 1px solid var(--color-accent-border-subtle);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--color-text-muted);
    margin-bottom: 3px;
    text-transform: uppercase;
}

.contact-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.35;
}

.contact-value a {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-value a:hover { text-decoration: underline; }

.maps-embed {
    width: 100%;
    height: 200px;
    border-radius: 14px;
    border: none;
    margin-top: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Social Links */
.social-links-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--color-border-strong);
    background: var(--color-surface);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.social-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm), 0 0 0 2px var(--color-accent-soft);
}

/* ============================================
   BİZİ PUANLAYIN BUTONU (Cross-browser Clean CSS)
   ============================================ */
@keyframes starPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.2); opacity: 0.85; }
}

@keyframes rateGlow {
    0%, 100% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 12px rgba(251, 188, 5, 0.15); }
    50%       { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 20px rgba(251, 188, 5, 0.3); }
}

.rate-us-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #1C1C1E 0%, #121214 100%);
    border: 1.5px solid rgba(251, 188, 5, 0.4);
    border-radius: 20px;
    padding: 16px 18px;
    margin-top: 14px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #FFFFFF;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s var(--ease-smooth), border-color 0.28s ease, box-shadow 0.28s ease;
    animation: rateGlow 2.8s ease-in-out infinite;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

.rate-us-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 188, 5, 0.12) 0%, rgba(66, 133, 244, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.rate-us-btn:hover {
    transform: translateY(-3px);
    border-color: rgba(251, 188, 5, 0.8);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 22px rgba(251, 188, 5, 0.35);
}

.rate-us-btn:hover::before {
    opacity: 1;
}

.rate-us-btn:active {
    transform: translateY(-1px);
}

.rate-us-btn__stars {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #FBBC05;
    flex-shrink: 0;
}

.rate-us-btn__stars svg {
    display: block;
    flex-shrink: 0;
}

.rate-us-btn__stars svg:nth-child(1) { animation: starPulse 1.8s ease-in-out 0s infinite; }
.rate-us-btn__stars svg:nth-child(2) { animation: starPulse 1.8s ease-in-out 0.15s infinite; }
.rate-us-btn__stars svg:nth-child(3) { animation: starPulse 1.8s ease-in-out 0.3s infinite; }
.rate-us-btn__stars svg:nth-child(4) { animation: starPulse 1.8s ease-in-out 0.45s infinite; }
.rate-us-btn__stars svg:nth-child(5) { animation: starPulse 1.8s ease-in-out 0.6s infinite; }

.rate-us-btn__google-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.rate-us-btn__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.rate-us-btn__text strong {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    letter-spacing: -0.1px;
}

.rate-us-btn__text small {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rate-us-btn__arrow {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.24s var(--ease-smooth), color 0.24s ease;
}

.rate-us-btn:hover .rate-us-btn__arrow {
    transform: translateX(4px);
    color: #FBBC05;
}

/* ============================================
   PAGE SECTION TITLE
   ============================================ */
.page-section-title {
    padding: 20px 16px 4px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.4px;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 64px 30px;
    color: var(--color-text-muted);
}

.empty-state svg {
    opacity: 0.2;
    margin-bottom: 18px;
}

.empty-state h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.empty-state p {
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ============================================
   SKELETON / LOADING
   ============================================ */
@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0ec 25%, #e6e6e1 50%, #f0f0ec 75%);
    background-size: 800px 100%;
    animation: shimmer 1.4s ease-in-out infinite;
    border-radius: 8px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.product-card,
.category-card {
    animation: fadeInUp 0.36s var(--ease-smooth) both;
}

.product-card:nth-child(1) { animation-delay: 0ms; }
.product-card:nth-child(2) { animation-delay: 55ms; }
.product-card:nth-child(3) { animation-delay: 110ms; }
.product-card:nth-child(4) { animation-delay: 160ms; }
.product-card:nth-child(5) { animation-delay: 205ms; }
.product-card:nth-child(n+6) { animation-delay: 245ms; }

.category-card:nth-child(1) { animation-delay: 0ms; }
.category-card:nth-child(2) { animation-delay: 65ms; }
.category-card:nth-child(3) { animation-delay: 130ms; }
.category-card:nth-child(4) { animation-delay: 190ms; }
.category-card:nth-child(n+5) { animation-delay: 240ms; }

/* ============================================
   TOAST
   ============================================ */
.toast {
    position: fixed;
    bottom: calc(var(--nav-height) + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: var(--color-primary);
    color: #fff;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 0.84rem;
    font-weight: 600;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-smooth);
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
    letter-spacing: 0.2px;
}

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

/* ============================================
   UTILITY
   ============================================ */
.divider {
    height: 1px;
    background: var(--color-border);
    margin: 8px 0;
}

.section-gap {
    height: 8px;
    background: var(--color-surface-2);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--color-accent-soft);
    color: var(--color-accent);
    border: 1px solid var(--color-accent-border-subtle);
    letter-spacing: 0.3px;
}

.price-large {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-accent);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

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

body.modal-open { overflow: hidden; }

/* Seçim rengi */
::selection {
    background: var(--color-accent-soft);
    color: var(--color-text);
}

/* Focus visible */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}
