*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'Nunito', sans-serif;
            background: var(--bg);
            color: var(--text);
            min-height: 100vh;
            padding-bottom: var(--detail-body-padding-bottom, 1rem);
        }

        /* ========== HEADER ========== */
        .site-header {
            background: linear-gradient(160deg, var(--hfrom) 0%, var(--hmid) 60%, var(--hto) 100%);
            padding: 1.4rem 1.25rem 1.75rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .site-header::before {
            content: '';
            position: absolute; inset: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }
        .back-btn {
            position: absolute;
            top: 1rem; left: 1rem;
            width: 36px; height: 36px;
            background: rgba(255,255,255,.18);
            border: none; border-radius: 50%;
            color: #fff; font-size: .95rem;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer; text-decoration: none;
            transition: background .2s;
            z-index: 2;
        }
        .back-btn:hover { background: rgba(255,255,255,.32); }
        .header-logo {
            width: 72px; height: 72px; border-radius: 50%;
            object-fit: cover;
            border: 3px solid rgba(255,255,255,.4);
            background: #fff; padding: 3px;
            box-shadow: 0 4px 20px rgba(0,0,0,.25);
            position: relative;
        }
        .header-title {
            font-family: 'Playfair Display', serif;
            color: #fff; font-size: 1.15rem;
            margin-top: .45rem;
            text-shadow: 0 2px 6px rgba(0,0,0,.2);
            position: relative;
        }

        /* ========== BREADCRUMB ========== */
        .breadcrumb {
            max-width: 700px;
            margin: 0 auto;
            padding: .65rem 1rem .5rem;
            font-size: .76rem;
            color: var(--text);
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: .2rem .35rem;
            opacity: .8;
        }
        .breadcrumb a { color: var(--btn); text-decoration: none; font-weight: 700; }
        .breadcrumb a:hover { text-decoration: underline; }
        .breadcrumb-sep { color: var(--border); font-size: .65rem; }

        /* ========== CONTAINER ========== */
        .container { max-width: 700px; margin: 0 auto; padding: 0 1rem 1.5rem; }

        /* ========== FOTOĞRAF ========== */
        .product-photo-wrap {
            width: 100%;
            aspect-ratio: 4 / 3;
            border-radius: 16px;
            overflow: hidden;
            background: linear-gradient(135deg, #f0e8d0, #e8d5a0);
            margin-bottom: 1rem;
            box-shadow: 0 4px 24px var(--shadow);
        }
        .product-photo {
            width: 100%; height: 100%;
            object-fit: cover; display: block;
        }
        .product-photo-ph {
            width: 100%; height: 100%;
            display: flex; align-items: center; justify-content: center;
            font-size: 5rem;
        }
        .product-photo-ph.is-hidden { display: none; }

        /* ========== ÜRÜN BİLGİSİ ========== */
        .product-info-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1.25rem;
            margin-bottom: .85rem;
            box-shadow: 0 2px 12px var(--shadow);
        }
        .product-info-name {
            font-family: 'Playfair Display', serif;
            color: var(--title);
            font-size: 1.5rem;
            line-height: 1.3;
            margin-bottom: .6rem;
        }
        .product-cat-badge {
            display: inline-flex;
            align-items: center;
            gap: .3rem;
            background: var(--border);
            color: var(--title);
            font-size: .72rem;
            font-weight: 700;
            padding: .18rem .6rem;
            border-radius: 20px;
            margin-bottom: 1rem;
            text-transform: uppercase;
            letter-spacing: .4px;
        }
        .product-cat-badge.is-compact { margin-bottom: 0; }
        .product-cat-icon { font-size: .62rem; }
        .product-price-row {
            display: flex;
            align-items: center;
            gap: .75rem;
            flex-wrap: wrap;
            margin-bottom: .9rem;
        }
        .product-old-price {
            text-decoration: line-through;
            opacity: .5;
            font-size: .9rem;
            color: var(--text);
        }
        .product-current-price {
            font-family: 'Playfair Display', serif;
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--btn);
        }
        .product-description {
            font-size: .93rem;
            line-height: 1.75;
            color: var(--text);
        }
        .product-description.empty {
            opacity: .45;
            font-style: italic;
        }
        .portion-select-wrap {
            margin-top: 1rem;
            padding-top: .9rem;
            border-top: 1px solid var(--border);
        }
        .portion-select-wrap label {
            display: block;
            margin-bottom: .35rem;
            color: var(--title);
            font-size: .9rem;
            font-weight: 800;
        }
        .portion-extra-note {
            margin: 0 0 .55rem;
            color: #9b8060;
            font-size: .82rem;
            font-weight: 700;
        }
        .portion-select {
            width: 100%;
            min-height: 44px;
            padding: .65rem .8rem;
            border: 1.5px solid var(--border);
            border-radius: 8px;
            background: #fff;
            color: var(--title);
            font: inherit;
            font-weight: 700;
        }
        .campaign-product-note {
            display: inline-flex;
            align-items: center;
            border-radius: 999px;
            padding: .18rem .55rem;
            background: #fff0f0;
            color: #c0392b;
            font-family: 'Nunito', sans-serif;
            font-size: .74rem;
            font-weight: 900;
        }

        /* ========== PAZARYERI ========== */
        .marketplace-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1rem 1.25rem;
            margin-bottom: .85rem;
            box-shadow: 0 2px 12px var(--shadow);
        }
        .marketplace-card-title {
            font-size: .76rem;
            font-weight: 700;
            color: var(--text);
            opacity: .6;
            text-transform: uppercase;
            letter-spacing: .5px;
            margin-bottom: .65rem;
        }
        .marketplace-title-icon { margin-right: .4rem; }
        .marketplace-logos { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
        .marketplace-logo-link {
            display: inline-flex; align-items: center;
            border-radius: 8px; overflow: hidden;
            border: 1px solid var(--border);
            transition: box-shadow .2s, transform .15s;
            background: #fff;
        }
        .marketplace-logo-link:hover { box-shadow: 0 2px 10px rgba(109,61,0,.18); transform: scale(1.06); }
        .marketplace-logo-link img { height: 38px; width: auto; display: block; padding: 4px 8px; }
        .marketplace-logo-link span { display: block; padding: 8px 10px; font-size: .8rem; font-weight: 800; color: var(--title); }

        /* ========== SEPET FAB ========== */
        .cart-fab {
            position: fixed;
            top: 14px; right: 16px; z-index: 999;
            background: var(--btn); color: #fff;
            border: none; border-radius: 50px;
            padding: .55rem .9rem;
            display: flex; align-items: center; gap: .4rem;
            font-family: 'Nunito', sans-serif;
            font-weight: 700; font-size: .9rem;
            cursor: pointer;
            box-shadow: 0 4px 16px rgba(109,61,0,.3);
            text-decoration: none;
            transition: background .2s, transform .15s;
            min-width: 52px; justify-content: center;
        }
        .cart-fab:hover { background: var(--btn-hover); transform: scale(1.05); }
        .cart-count {
            background: #fff; color: var(--btn);
            border-radius: 50%; width: 20px; height: 20px;
            display: none; align-items: center; justify-content: center;
            font-size: .72rem; font-weight: 800; line-height: 1;
        }
        .cart-count.visible { display: flex; }

        /* ========== SABİT ALT BAR ========== */
        .bottom-bar {
            position: fixed;
            bottom: 0; left: 0; right: 0;
            background: var(--card);
            border-top: 2px solid var(--border);
            padding: .8rem 1rem;
            padding-bottom: max(.8rem, env(safe-area-inset-bottom));
            display: flex;
            align-items: center;
            gap: .75rem;
            z-index: 100;
            box-shadow: 0 -4px 24px rgba(0,0,0,.1);
        }
        .bottom-price {
            min-width: 80px;
        }
        .bottom-price small {
            display: block;
            font-size: .68rem;
            color: var(--text);
            opacity: .6;
            font-weight: 600;
            line-height: 1;
            margin-bottom: .15rem;
        }
        .bottom-price-value {
            font-family: 'Playfair Display', serif;
            color: var(--title);
            font-size: 1.15rem;
            font-weight: 700;
            white-space: nowrap;
        }
        .qty-wrap {
            display: flex;
            align-items: center;
            border: 1.5px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
            background: #fff;
            flex-shrink: 0;
        }
        .qty-btn {
            width: 36px; height: 40px;
            background: #f0e8d0; border: none;
            cursor: pointer; font-size: 1.1rem;
            font-weight: 700; color: var(--title);
            display: flex; align-items: center; justify-content: center;
            transition: background .15s; flex-shrink: 0;
        }
        .qty-btn:hover { background: var(--border); }
        .qty-input {
            width: 38px; height: 40px;
            border: none;
            border-left: 1px solid var(--border);
            border-right: 1px solid var(--border);
            text-align: center;
            font-family: 'Nunito', sans-serif;
            font-size: .95rem; font-weight: 700;
            color: var(--title); background: #fff;
            outline: none;
            -moz-appearance: textfield;
        }
        .qty-input::-webkit-inner-spin-button,
        .qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
        .add-to-cart-btn {
            flex: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: .4rem;
            padding: .65rem 1rem;
            background: var(--btn);
            color: #fff;
            border: none;
            border-radius: 10px;
            font-family: 'Nunito', sans-serif;
            font-size: .95rem;
            font-weight: 700;
            cursor: pointer;
            transition: background .2s, transform .15s;
            height: 44px;
        }
        .add-to-cart-btn:hover { background: var(--btn-hover); }
        .add-to-cart-btn.in-cart { background: #27ae60; }
        .add-to-cart-btn.in-cart:hover { background: #1e8449; }
        .add-to-cart-btn:disabled {
            background: #b8ad9a;
            cursor: not-allowed;
            transform: none;
        }
        .sold-out-detail {
            display: inline-flex;
            align-items: center;
            gap: .35rem;
            padding: .55rem .8rem;
            border-radius: 10px;
            background: #fdecea;
            color: #c0392b;
            font-weight: 800;
            font-size: .9rem;
        }
        .side-dish-section { margin-bottom: .85rem; }
        .side-dish-cat {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 1rem 1.25rem;
            margin-bottom: .75rem;
            box-shadow: 0 2px 12px var(--shadow);
        }
        .side-dish-head {
            display: flex;
            align-items: center;
            gap: .45rem;
            margin-bottom: .2rem;
            flex-wrap: wrap;
        }
        .side-dish-title {
            font-family: 'Playfair Display', serif;
            font-size: 1rem;
            color: var(--title);
            font-weight: 700;
        }
        .side-dish-status {
            font-size: .78rem;
            font-weight: 700;
            color: #e74c3c;
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .side-dish-multi {
            font-size: .72rem;
            color: var(--text);
            opacity: .65;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .side-dish-hint {
            font-size: .72rem;
            color: var(--text);
            opacity: .6;
            margin-bottom: .65rem;
        }
        .side-dish-list {
            border: 1.5px solid var(--border);
            border-radius: 10px;
            overflow: hidden;
        }
        .side-dish-item {
            display: flex;
            align-items: center;
            padding: .68rem .9rem;
            border-bottom: 1px solid var(--border);
            cursor: pointer;
            transition: background .15s;
            gap: .5rem;
            -webkit-tap-highlight-color: transparent;
            user-select: none;
        }
        .side-dish-item:last-child { border-bottom: none; }
        .side-dish-item:hover { background: rgba(0,0,0,.03); }
        .side-dish-item.selected { background: rgba(201,138,0,.07); }
        .side-dish-item.promo-none { }
        .side-dish-item.promo-none.selected { background: rgba(231,76,60,.06); }
        .side-dish-item-name {
            flex: 1;
            font-size: .88rem;
            font-weight: 600;
            color: var(--title);
            line-height: 1.3;
        }
        .side-dish-item.promo-none .side-dish-item-name { color: #e74c3c; }
        .side-dish-item.selected .side-dish-item-name { color: var(--btn); }
        .side-dish-item.promo-none.selected .side-dish-item-name { color: #e74c3c; }
        .side-dish-price {
            font-size: .82rem;
            font-weight: 700;
            color: #25a244;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .side-dish-toggle {
            width: 26px; height: 26px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 1rem; font-weight: 700;
            flex-shrink: 0;
            line-height: 1;
            transition: background .15s, color .15s;
        }
        .side-dish-item:not(.selected) .side-dish-toggle {
            background: rgba(0,0,0,.07);
            color: var(--text);
        }
        .side-dish-item.selected .side-dish-toggle {
            background: var(--btn);
            color: #fff;
        }
        .side-dish-item.promo-none.selected .side-dish-toggle {
            background: #e74c3c;
        }
