/* =========================================================
   COFEIN COFFEE
   ANA TASARIM
========================================================= */

:root {
    --cofein-blue: #193153;
    --cofein-blue-dark: #101f38;
    --cofein-white: #f8f7f3;
    --cofein-grey: #e8e8e6;
    --cofein-text: #171717;
    --cofein-muted: #6d6d6d;

    --page-padding: clamp(24px, 5vw, 80px);
}


/* =========================================================
   TEMEL AYARLAR
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--cofein-white);
    color: var(--cofein-text);
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   ÜST MENÜ
========================================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;

    padding: 0 var(--page-padding);

    display: flex;
    align-items: center;
    justify-content: space-between;

    z-index: 100;

    color: #ffffff;
}


/* LOGO */

.brand {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    letter-spacing: 1px;
}

.brand-name {
    font-size: 27px;
    font-weight: 800;
}

.brand-sub {
    margin-top: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
}


/* MENÜ */

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2vw, 34px);
}

.main-nav a {
    position: relative;

    padding: 10px 0;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.3px;

    opacity: 0.92;

    transition: opacity 0.25s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 3px;

    width: 0;
    height: 1px;

    background: #ffffff;

    transition: width 0.25s ease;
}

.main-nav a:hover {
    opacity: 1;
}

.main-nav a:hover::after {
    width: 100%;
}


/* ÜYELİK */

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.login-link {
    padding: 11px 17px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 100px;

    font-size: 12px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.login-link:hover {
    background: #ffffff;
    color: var(--cofein-blue);
}


/* MOBİL MENÜ BUTONU */

.mobile-menu-button {
    display: none;

    width: 38px;
    height: 38px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px auto;

    background: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    width: 100%;
    height: 100vh;
    min-height: 680px;

    overflow: hidden;

    background: var(--cofein-blue-dark);
}

.hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.015);
}

/* =========================================================
   HERO SLIDER
========================================================= */

.hero-slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 1.2s ease-in-out,
        visibility 1.2s ease-in-out;

    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}


/* SAĞ - SOL OKLAR */

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    z-index: 10;

    width: 48px;
    height: 48px;

    border: 0;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.55);
}

.hero-arrow-left {
    left: 24px;
}

.hero-arrow-right {
    right: 24px;
}


/* ALT NOKTALAR */

.hero-dots {
    position: absolute;
    z-index: 10;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);

    display: flex;
    gap: 9px;
}

.hero-dot {
    width: 9px;
    height: 9px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.hero-dot.active {
    background: #ffffff;
    transform: scale(1.25);
}

/* FOTOĞRAF ÜZERİ KOYU KATMAN */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 12, 23, 0.79) 0%,
            rgba(5, 12, 23, 0.52) 40%,
            rgba(5, 12, 23, 0.16) 72%,
            rgba(5, 12, 23, 0.08) 100%
        );
}


/* HERO YAZILARI */

.hero-content {
    position: relative;

    z-index: 2;

    height: 100%;

    padding:
        170px
        var(--page-padding)
        100px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    color: #ffffff;
}

.hero-eyebrow {
    margin-bottom: 24px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 4px;
}

.hero h1 {
    max-width: 800px;

    font-size: clamp(58px, 7vw, 112px);
    line-height: 0.88;

    letter-spacing: -5px;

    font-weight: 700;
}

.hero-description {
    max-width: 540px;

    margin-top: 34px;

    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.86);
}


/* HERO BUTONLARI */

.hero-buttons {
    display: flex;
    gap: 14px;

    margin-top: 38px;
}

.button {
    min-width: 155px;

    padding: 15px 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 100px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.7px;
    text-transform: uppercase;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: #ffffff;
    color: var(--cofein-blue);
}

.button-outline {
    border: 1px solid rgba(255, 255, 255, 0.65);

    color: #ffffff;
}

.button-outline:hover {
    background: #ffffff;
    color: var(--cofein-blue);
}


/* AŞAĞI KAYDIR */

.scroll-indicator {
    position: absolute;

    z-index: 3;

    right: var(--page-padding);
    bottom: 42px;

    display: flex;
    align-items: center;
    gap: 12px;

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}

.scroll-indicator span {
    display: block;

    width: 45px;
    height: 1px;

    background: rgba(255, 255, 255, 0.75);
}


/* =========================================================
   BURASI COFEIN
========================================================= */

.discover {
    min-height: 820px;

    display: grid;
    grid-template-columns: 52% 48%;

    background: var(--cofein-white);
}


/* SOL FOTOĞRAF */

.discover-image {
    min-height: 820px;

    overflow: hidden;
}

.discover-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.8s ease;
}

.discover-image:hover img {
    transform: scale(1.025);
}


/* SAĞ METİN */

.discover-content {
    padding:
        100px
        clamp(45px, 7vw, 120px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.section-label {
    margin-bottom: 26px;

    color: var(--cofein-blue);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 4px;
}

.discover h2 {
    color: var(--cofein-blue);

    font-size: clamp(58px, 6vw, 100px);
    line-height: 0.88;

    letter-spacing: -4px;

    font-weight: 700;
}

.discover-lead {
    max-width: 520px;

    margin-top: 38px;
    margin-bottom: 24px;

    color: var(--cofein-text);

    font-size: clamp(20px, 1.7vw, 27px);
    line-height: 1.35;

    font-weight: 600;
}

.discover-content > p:not(.section-label):not(.discover-lead) {
    max-width: 550px;

    margin-bottom: 20px;

    color: var(--cofein-muted);

    font-size: 15px;
    line-height: 1.8;
}


/* METİN LİNKİ */

.text-link {
    margin-top: 15px;

    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: var(--cofein-blue);

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-link span {
    font-size: 22px;

    transition: transform 0.25s ease;
}

.text-link:hover span {
    transform: translateX(6px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .main-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .discover {
        grid-template-columns: 50% 50%;
    }

}


/* =========================================================
   MOBİL
========================================================= */

@media (max-width: 760px) {

    :root {
        --page-padding: 22px;
    }


    /* HEADER */

    .site-header {
        height: 82px;
    }

    .brand-name {
        font-size: 23px;
    }

    .login-link {
        display: none;
    }


    /* HERO */

    .hero {
        min-height: 650px;
    }

    .hero-image {
        object-position: 58% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                0deg,
                rgba(5, 12, 23, 0.83) 0%,
                rgba(5, 12, 23, 0.47) 60%,
                rgba(5, 12, 23, 0.22) 100%
            );
    }

    .hero-content {
        padding:
            120px
            var(--page-padding)
            90px;

        justify-content: flex-end;
    }

    .hero-eyebrow {
        margin-bottom: 17px;
    }

    .hero h1 {
        font-size: clamp(52px, 16vw, 78px);
        line-height: 0.91;

        letter-spacing: -3px;
    }

    .hero-description {
        margin-top: 25px;

        font-size: 15px;
        line-height: 1.55;
    }

    .hero-buttons {
        width: 100%;

        margin-top: 28px;

        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }


    /* BURASI COFEIN */

    .discover {
        display: flex;
        flex-direction: column;

        min-height: 0;
    }

    .discover-image {
        min-height: 520px;
        height: 70vh;
    }

    .discover-content {
        padding:
            75px
            var(--page-padding)
            85px;
    }

    .discover h2 {
        font-size: clamp(56px, 17vw, 80px);

        letter-spacing: -3px;
    }

    .discover-lead {
        margin-top: 30px;

        font-size: 21px;
    }

}

/* =========================================================
   MENÜ / SİPARİŞ VİTRİNİ
========================================================= */

.menu-section {
    padding: 120px var(--page-padding);
    background: #f8f7f3;
}


/* BAŞLIK */

.menu-heading {
    margin-bottom: 55px;

    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 80px;

    align-items: end;
}

.menu-heading h2 {
    color: var(--cofein-blue);

    font-size: clamp(55px, 6vw, 98px);
    line-height: 0.9;

    letter-spacing: -4px;
    font-weight: 700;
}

.menu-intro {
    padding-bottom: 8px;
}

.menu-intro p {
    max-width: 430px;

    margin-bottom: 18px;

    color: var(--cofein-muted);

    font-size: 16px;
    line-height: 1.7;
}

.menu-note {
    display: block;

    color: #999999;

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   KATEGORİ FİLTRELERİ
========================================================= */

.product-filters {
    margin-bottom: 38px;

    display: flex;
    align-items: center;
    gap: 9px;

    flex-wrap: wrap;
}

.filter-button {
    padding: 11px 20px;

    border: 1px solid #d4d4d0;
    border-radius: 100px;

    background: transparent;

    color: var(--cofein-blue);

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.filter-button:hover,
.filter-button.active {
    background: var(--cofein-blue);
    border-color: var(--cofein-blue);

    color: #ffffff;
}


/* =========================================================
   ÜRÜN IZGARASI
========================================================= */

.product-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* ÜRÜN KARTI */

.product-card {
    min-width: 0;

    background: #ffffff;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.product-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 22px 45px
        rgba(16, 31, 56, 0.12);
}


/* FOTOĞRAF */

.product-image {
    position: relative;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #ecebe7;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.045);
}


/* FOTOĞRAF ÜZERİ KATEGORİ */

.product-category {
    position: absolute;

    top: 17px;
    left: 17px;

    padding: 8px 12px;

    border-radius: 100px;

    background: rgba(255, 255, 255, 0.92);

    color: var(--cofein-blue);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.4px;

    backdrop-filter: blur(8px);
}

.product-category-special {
    background: var(--cofein-blue);

    color: #ffffff;
}


/* ÜRÜN BİLGİSİ */

.product-info {
    min-height: 175px;

    padding: 23px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    gap: 25px;
}

.product-text h3 {
    margin-bottom: 9px;

    color: var(--cofein-blue);

    font-size: 23px;
    line-height: 1.1;

    letter-spacing: -0.7px;
}

.product-text p {
    color: var(--cofein-muted);

    font-size: 13px;
    line-height: 1.55;
}


/* EKLE BUTONU */

.add-to-order {
    width: 100%;

    padding: 12px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid #deded9;
    border-radius: 100px;

    background: transparent;

    color: var(--cofein-blue);

    font-family: inherit;
    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.8px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.add-to-order span {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--cofein-blue);

    color: #ffffff;

    font-size: 18px;
    font-weight: 400;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.add-to-order:hover {
    background: var(--cofein-blue);
    border-color: var(--cofein-blue);

    color: #ffffff;
}

.add-to-order:hover span {
    background: #ffffff;

    color: var(--cofein-blue);
}


/* =========================================================
   SİPARİŞ ÇUBUĞU
========================================================= */

.order-bar {
    margin-top: 55px;

    padding: 34px 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    background: var(--cofein-blue);

    color: #ffffff;
}

.order-bar-text {
    display: flex;
    flex-direction: column;
}

.order-small {
    display: block;

    margin-bottom: 9px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;

    opacity: 0.65;
}

.order-bar-text strong {
    font-size: clamp(20px, 2vw, 30px);
    line-height: 1.2;

    letter-spacing: -0.6px;
}

.order-bar-action {
    display: flex;
    align-items: center;

    gap: 25px;
}

.order-count {
    color: rgba(255, 255, 255, 0.68);

    font-size: 12px;
}

.order-button {
    min-width: 170px;

    padding: 14px 19px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    border: 0;
    border-radius: 100px;

    background: #ffffff;

    color: var(--cofein-blue);

    font-family: inherit;
    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.7px;

    cursor: pointer;

    transition: transform 0.25s ease;
}

.order-button:hover {
    transform: translateY(-2px);
}

.order-button span {
    font-size: 18px;
}


/* =========================================================
   MENÜ - TABLET
========================================================= */

@media (max-width: 1100px) {

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MENÜ - MOBİL
========================================================= */

@media (max-width: 760px) {

    .menu-section {
        padding:
            80px
            var(--page-padding);
    }

    .menu-heading {
        margin-bottom: 38px;

        display: block;
    }

    .menu-heading h2 {
        font-size: clamp(52px, 15vw, 74px);

        letter-spacing: -3px;
    }

    .menu-intro {
        margin-top: 30px;
    }

    .product-filters {
        margin-bottom: 25px;

        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 5px;
    }

    .filter-button {
        flex: 0 0 auto;
    }

    .product-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .product-info {
        min-height: 0;
    }

    .order-bar {
        margin-top: 35px;

        padding: 28px 22px;

        display: block;
    }

    .order-bar-action {
        margin-top: 25px;

        display: block;
    }

    .order-count {
        display: block;

        margin-bottom: 15px;
    }

    .order-button {
        width: 100%;
    }

}

/* =========================================================
   ÜRÜN FİYATI VE KART HİZALAMA
========================================================= */

.product-card {
    display: flex;
    flex-direction: column;
}

.product-info {
    flex: 1;
}

.product-text {
    flex: 1;
}

.product-price {
    margin-top: 22px;

    padding-top: 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #ecebe7;
}

.product-price span {
    color: var(--cofein-muted);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.product-price strong {
    color: var(--cofein-blue);

    font-size: 21px;
    font-weight: 800;

    letter-spacing: -0.5px;
}

.add-to-order {
    margin-top: auto;
}

/* =========================================================
   SEPET - BUTON GERİ BİLDİRİMİ
========================================================= */

.add-to-order.added {
    background: var(--cofein-blue);
    border-color: var(--cofein-blue);
    color: #ffffff;
}

.add-to-order.added span {
    background: #ffffff;
    color: var(--cofein-blue);
}

/* =========================================================
   COFEIN - SAĞDAN AÇILAN SEPET
========================================================= */

/* ARKA PLAN */

.cart-overlay {
    position: fixed;
    inset: 0;

    z-index: 900;

    background: rgba(5, 12, 23, 0.55);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

    backdrop-filter: blur(3px);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* SEPET PANELİ */

.cart-panel {
    position: fixed;

    top: 0;
    right: 0;

    z-index: 1000;

    width: min(470px, 100%);
    height: 100vh;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    box-shadow:
        -20px 0 60px
        rgba(0, 0, 0, 0.16);

    transform: translateX(100%);

    transition: transform 0.4s ease;
}

.cart-panel.active {
    transform: translateX(0);
}


/* BAŞLIK */

.cart-header {
    padding: 34px 32px 27px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    border-bottom: 1px solid #ecebe7;
}

.cart-eyebrow {
    display: block;

    margin-bottom: 8px;

    color: var(--cofein-blue);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}

.cart-header h2 {
    color: var(--cofein-blue);

    font-size: 38px;
    line-height: 1;

    letter-spacing: -1.5px;
}

.cart-close {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #deded9;
    border-radius: 50%;

    background: transparent;

    color: var(--cofein-blue);

    font-size: 28px;
    font-weight: 300;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.cart-close:hover {
    background: var(--cofein-blue);
    color: #ffffff;
}


/* ÜRÜN ALANI */

.cart-items {
    flex: 1;

    padding: 25px 32px;

    overflow-y: auto;
}


/* BOŞ SEPET */

.cart-empty {
    min-height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.cart-empty-icon {
    width: 55px;
    height: 55px;

    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--cofein-blue);

    color: #ffffff;

    font-size: 28px;
}

.cart-empty h3 {
    margin-bottom: 10px;

    color: var(--cofein-blue);

    font-size: 22px;
}

.cart-empty p {
    max-width: 270px;

    color: var(--cofein-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* ALT BÖLÜM */

.cart-footer {
    padding: 25px 32px 30px;

    border-top: 1px solid #ecebe7;

    background: #f8f7f3;
}

.cart-total {
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-total span {
    color: var(--cofein-muted);

    font-size: 12px;
    font-weight: 700;
}

.cart-total strong {
    color: var(--cofein-blue);

    font-size: 24px;
}


/* SİPARİŞİ TAMAMLA */

.checkout-button {
    width: 100%;

    padding: 17px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 0;
    border-radius: 100px;

    background: var(--cofein-blue);

    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.8px;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.checkout-button:hover {
    transform: translateY(-2px);

    background: var(--cofein-blue-dark);
}

.checkout-button span:last-child {
    font-size: 20px;
}

.cart-footer-note {
    margin-top: 13px;

    color: #999999;

    font-size: 10px;
    line-height: 1.5;

    text-align: center;
}


/* PANEL AÇIKKEN SAYFAYI KİLİTLE */

body.cart-open {
    overflow: hidden;
}


/* MOBİL */

@media (max-width: 600px) {

    .cart-panel {
        width: 100%;
    }

    .cart-header {
        padding:
            25px
            22px
            22px;
    }

    .cart-items {
        padding:
            20px
            22px;
    }

    .cart-footer {
        padding:
            22px;
    }

    .cart-header h2 {
        font-size: 34px;
    }

}

/* =========================================================
   SEPET ÜRÜNLERİ
========================================================= */

.cart-item {
    padding: 18px 0;

    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 17px;

    border-bottom: 1px solid #ecebe7;
}

.cart-item-image {
    width: 105px;
    height: 105px;

    overflow: hidden;

    background: #ecebe7;
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cart-item-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.cart-item-label {
    display: block;

    margin-bottom: 5px;

    color: #999999;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 2px;
}

.cart-item-top h3 {
    color: var(--cofein-blue);

    font-size: 17px;
    line-height: 1.2;
}

.cart-remove {
    width: 28px;
    height: 28px;

    flex: 0 0 auto;

    border: 0;
    border-radius: 50%;

    background: #f1f1ee;

    color: var(--cofein-blue);

    font-size: 18px;

    cursor: pointer;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.quantity-control {
    display: flex;
    align-items: center;

    border: 1px solid #deded9;
    border-radius: 100px;

    overflow: hidden;
}

.quantity-control button {
    width: 31px;
    height: 31px;

    border: 0;

    background: transparent;

    color: var(--cofein-blue);

    font-size: 17px;

    cursor: pointer;
}

.quantity-control span {
    min-width: 25px;

    text-align: center;

    color: var(--cofein-blue);

    font-size: 12px;
    font-weight: 800;
}

.cart-item-price {
    color: var(--cofein-blue);

    font-size: 14px;
}


/* MOBİL */

@media (max-width: 600px) {

    .cart-item {
        grid-template-columns: 85px 1fr;
    }

    .cart-item-image {
        width: 85px;
        height: 85px;
    }

}

/* =========================================================
   COFEIN - ÜRÜN SEÇİM PENCERESİ
========================================================= */

.product-modal-overlay {
    position: fixed;
    inset: 0;

    z-index: 1100;

    background: rgba(5, 12, 23, 0.62);

    opacity: 0;
    visibility: hidden;

    backdrop-filter: blur(4px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* PENCERE */

.product-modal {
    position: fixed;

    z-index: 1200;

    top: 50%;
    left: 50%;

    width: min(960px, calc(100% - 40px));
    max-height: calc(100vh - 50px);

    display: grid;
    grid-template-columns: 46% 54%;

    background: #ffffff;

    overflow: hidden;

    opacity: 0;

    visibility: hidden;

    transform:
        translate(-50%, -47%)
        scale(0.97);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, -50%)
        scale(1);
}


/* KAPAT */

.product-modal-close {
    position: absolute;

    z-index: 5;

    top: 20px;
    right: 20px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #deded9;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: var(--cofein-blue);

    font-size: 27px;

    cursor: pointer;
}


/* FOTOĞRAF */

.product-modal-image {
    min-height: 610px;

    background: #ecebe7;

    overflow: hidden;
}

.product-modal-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* İÇERİK */

.product-modal-content {
    padding: 55px 45px 40px;

    overflow-y: auto;
}

.product-modal-label {
    display: block;

    margin-bottom: 10px;

    color: var(--cofein-blue);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}

.product-modal-content h2 {
    margin-bottom: 12px;

    color: var(--cofein-blue);

    font-size: clamp(35px, 4vw, 55px);
    line-height: 0.95;

    letter-spacing: -2px;
}

.product-modal-description {
    margin-bottom: 32px;

    color: var(--cofein-muted);

    font-size: 14px;
    line-height: 1.6;
}


/* SEÇENEK GRUBU */

.product-option-group {
    padding: 22px 0;

    border-top: 1px solid #ecebe7;
}

.product-option-title {
    margin-bottom: 13px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;
}

.product-option-title strong {
    color: var(--cofein-blue);

    font-size: 13px;
}

.product-option-title span {
    color: #999999;

    font-size: 10px;
}


/* SEÇENEK BUTONLARI */

.product-option-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 8px;
}

.product-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.product-option span {
    min-height: 43px;

    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #deded9;
    border-radius: 100px;

    color: var(--cofein-blue);

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.product-option input:checked + span {
    background: var(--cofein-blue);
    border-color: var(--cofein-blue);

    color: #ffffff;
}


/* NOT */

.product-note {
    padding: 22px 0;

    border-top: 1px solid #ecebe7;
}

.product-note label {
    display: block;

    margin-bottom: 10px;

    color: var(--cofein-blue);

    font-size: 12px;
    font-weight: 700;
}

.product-note textarea {
    width: 100%;
    min-height: 75px;

    padding: 14px;

    resize: vertical;

    border: 1px solid #deded9;
    border-radius: 10px;

    outline: none;

    background: #fafaf8;

    color: var(--cofein-text);

    font-family: inherit;
    font-size: 12px;
    line-height: 1.5;
}

.product-note textarea:focus {
    border-color: var(--cofein-blue);
}


/* ALT ALAN */

.product-modal-footer {
    padding-top: 22px;

    display: grid;
    grid-template-columns: auto 1fr;

    align-items: center;

    gap: 30px;

    border-top: 1px solid #ecebe7;
}

.product-modal-price {
    min-width: 90px;
}

.product-modal-price span {
    display: block;

    margin-bottom: 4px;

    color: #999999;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-modal-price strong {
    color: var(--cofein-blue);

    font-size: 22px;
}


/* SEPETE EKLE */

.product-modal-add {
    width: 100%;

    padding: 17px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 0;
    border-radius: 100px;

    background: var(--cofein-blue);

    color: #ffffff;

    font-family: inherit;
    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.8px;

    cursor: pointer;
}

.product-modal-add span:last-child {
    font-size: 19px;
}


/* =========================================================
   ÜRÜN PENCERESİ - MOBİL
========================================================= */

@media (max-width: 760px) {

    .product-modal {
        top: 0;
        left: 0;

        width: 100%;
        height: 100%;
        max-height: none;

        display: block;

        overflow-y: auto;

        transform: translateY(100%);
    }

    .product-modal.active {
        transform: translateY(0);
    }

    .product-modal-image {
        min-height: 0;
        height: 42vh;
    }

    .product-modal-content {
        padding:
            32px
            22px
            35px;

        overflow: visible;
    }

    .product-modal-content h2 {
        font-size: 42px;
    }

    .product-option-buttons {
        grid-template-columns: 1fr;
    }

    .product-modal-footer {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   COFEIN - SİPARİŞ TAMAMLAMA
========================================================= */

.checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;

    background: rgba(5, 12, 23, 0.65);

    opacity: 0;
    visibility: hidden;

    backdrop-filter: blur(4px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.checkout-overlay.active {
    opacity: 1;
    visibility: visible;
}


.checkout-modal {
    position: fixed;

    z-index: 1400;

    top: 50%;
    left: 50%;

    width: min(620px, calc(100% - 40px));
    max-height: calc(100vh - 50px);

    padding: 48px;

    overflow-y: auto;

    background: #ffffff;

    opacity: 0;
    visibility: hidden;

    transform:
        translate(-50%, -47%)
        scale(0.97);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, -50%)
        scale(1);
}


/* KAPAT */

.checkout-close {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #deded9;
    border-radius: 50%;

    background: transparent;

    color: var(--cofein-blue);

    font-size: 27px;

    cursor: pointer;
}


/* BAŞLIK */

.checkout-header {
    margin-bottom: 35px;
}

.checkout-header > span {
    display: block;

    margin-bottom: 12px;

    color: var(--cofein-blue);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}

.checkout-header h2 {
    color: var(--cofein-blue);

    font-size: clamp(45px, 5vw, 64px);
    line-height: 0.9;

    letter-spacing: -3px;
}

.checkout-header p {
    max-width: 430px;

    margin-top: 20px;

    color: var(--cofein-muted);

    font-size: 13px;
    line-height: 1.6;
}


/* BÖLÜM */

.checkout-section {
    padding: 22px 0;

    border-top: 1px solid #ecebe7;
}

.checkout-section-title {
    margin-bottom: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-section-title strong {
    color: var(--cofein-blue);

    font-size: 13px;
}

.checkout-section-title span {
    color: #999999;

    font-size: 10px;
}


/* MASADA / GEL-AL */

.checkout-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 9px;
}

.checkout-type input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.checkout-type > span {
    min-height: 75px;

    padding: 16px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border: 1px solid #deded9;
    border-radius: 12px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.checkout-type strong {
    margin-bottom: 4px;

    color: var(--cofein-blue);

    font-size: 13px;
}

.checkout-type small {
    color: var(--cofein-muted);

    font-size: 10px;
}

.checkout-type input:checked + span {
    background: var(--cofein-blue);
    border-color: var(--cofein-blue);
}

.checkout-type input:checked + span strong,
.checkout-type input:checked + span small {
    color: #ffffff;
}


/* FORM */

.checkout-customer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;
}

.checkout-field {
    margin-top: 17px;
}

.checkout-field label {
    display: block;

    margin-bottom: 8px;

    color: var(--cofein-blue);

    font-size: 11px;
    font-weight: 700;
}

.checkout-field input {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid #deded9;
    border-radius: 9px;

    outline: none;

    background: #fafaf8;

    color: var(--cofein-text);

    font-family: inherit;
    font-size: 13px;
}

.checkout-field input:focus {
    border-color: var(--cofein-blue);
}


/* COFEIN CLUB */

.checkout-club {
    margin-top: 28px;

    padding: 20px;

    display: grid;
    grid-template-columns: 48px 1fr;

    gap: 15px;

    background: #f1f3f6;
}

.checkout-club-mark {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--cofein-blue);

    color: #ffffff;

    font-size: 22px;
    font-weight: 800;
}

.checkout-club span {
    display: block;

    margin-bottom: 4px;

    color: var(--cofein-blue);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 2px;
}

.checkout-club strong {
    display: block;

    color: var(--cofein-blue);

    font-size: 14px;
}

.checkout-club p {
    margin-top: 5px;

    color: var(--cofein-muted);

    font-size: 10px;
    line-height: 1.5;
}


/* ÖZET */

.checkout-summary {
    margin-top: 25px;

    padding: 20px 0;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid #ecebe7;
}

.checkout-summary > div {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.checkout-summary span {
    color: #999999;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-summary strong {
    color: var(--cofein-blue);

    font-size: 18px;
}


/* GÖNDER */

.send-order-button {
    width: 100%;

    padding: 17px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 0;
    border-radius: 100px;

    background: var(--cofein-blue);

    color: #ffffff;

    font-family: inherit;
    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.8px;

    cursor: pointer;
}

.send-order-button span:last-child {
    font-size: 20px;
}

.checkout-payment-note {
    margin-top: 11px;

    color: #999999;

    font-size: 9px;
    line-height: 1.5;

    text-align: center;
}


/* MOBİL */

@media (max-width: 600px) {

    .checkout-modal {
        top: 0;
        left: 0;

        width: 100%;
        height: 100%;
        max-height: none;

        padding:
            70px
            22px
            30px;

        transform: translateY(100%);
    }

    .checkout-modal.active {
        transform: translateY(0);
    }

    .checkout-type-options,
    .checkout-customer-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   COFEIN CHECKOUT - MOBILE FIRST DÜZELTMELER
========================================================= */

/* TABLET */
@media (max-width: 900px) {

    .checkout-modal {
        width: calc(100% - 32px);
        max-width: 650px;
        padding: 38px;
    }

    .checkout-header h2 {
        font-size: 54px;
        line-height: 0.92;
    }

}


/* TELEFON */
@media (max-width: 600px) {

    .checkout-overlay {
        background: rgba(5, 12, 23, 0.75);
    }

    .checkout-modal {
        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        max-width: none;

        height: 100dvh;
        max-height: 100dvh;

        padding:
            62px
            20px
            28px;

        border-radius: 0;

        overflow-y: auto;
        overscroll-behavior: contain;

        transform: translateY(100%);

        -webkit-overflow-scrolling: touch;
    }

    .checkout-modal.active {
        transform: translateY(0);
    }


    /* KAPAT */

    .checkout-close {
        position: absolute;

        top: 14px;
        right: 16px;

        width: 42px;
        height: 42px;

        z-index: 5;
    }


    /* BAŞLIK */

    .checkout-header {
        margin-bottom: 26px;
    }

    .checkout-header > span {
        margin-bottom: 10px;

        font-size: 8px;
        letter-spacing: 2.5px;
    }

    .checkout-header h2 {
        font-size: 45px;
        line-height: 0.91;

        letter-spacing: -2px;
    }

    .checkout-header p {
        margin-top: 15px;

        font-size: 12px;
        line-height: 1.5;
    }


    /* SİPARİŞ TÜRÜ */

    .checkout-section {
        padding: 19px 0;
    }

    .checkout-section-title {
        margin-bottom: 12px;
    }

    /*
       Telefonda Masada / Gel-Al
       yan yana kalsın.
       Daha hızlı seçim yapılır.
    */

    .checkout-type-options {
        grid-template-columns: 1fr 1fr;

        gap: 8px;
    }

    .checkout-type > span {
        min-height: 70px;

        padding: 13px;

        border-radius: 10px;
    }

    .checkout-type strong {
        font-size: 12px;
    }


    /* FORM */

    .checkout-customer-grid {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .checkout-field {
        margin-top: 14px;
    }

    .checkout-field input {
        min-height: 52px;

        padding: 14px;

        /*
           iPhone form alanına otomatik
           zoom yapmasın.
        */
        font-size: 16px;
    }


    /* COFEIN CLUB */

    .checkout-club {
        margin-top: 22px;

        padding: 17px;

        grid-template-columns: 42px 1fr;

        gap: 12px;
    }

    .checkout-club-mark {
        width: 42px;
        height: 42px;

        font-size: 19px;
    }

    .checkout-club strong {
        font-size: 13px;
    }

    .checkout-club p {
        font-size: 9px;
    }


    /* SİPARİŞ ÖZETİ */

    .checkout-summary {
        margin-top: 20px;

        padding: 18px 0;
    }

    .checkout-summary strong {
        font-size: 17px;
    }


    /* SİPARİŞ GÖNDER */

    .send-order-button {
        min-height: 58px;

        padding: 16px 20px;

        font-size: 11px;
    }

    .checkout-payment-note {
        margin-bottom: 10px;
    }

}


/* ÇOK KÜÇÜK TELEFONLAR */
@media (max-width: 380px) {

    .checkout-modal {
        padding-left: 16px;
        padding-right: 16px;
    }

    .checkout-header h2 {
        font-size: 39px;
    }

    .checkout-type > span {
        padding: 11px;
    }

}

/* =========================================================
   COFEIN CHECKOUT - TELEFON KOMPAKT DÜZEN
========================================================= */

@media (max-width: 600px) {

    .checkout-modal {
        padding:
            50px
            17px
            22px;
    }

    .checkout-close {
        top: 12px;
        right: 14px;

        width: 38px;
        height: 38px;

        font-size: 23px;
    }

    .checkout-header {
        margin-bottom: 20px;
    }

    .checkout-header > span {
        margin-bottom: 8px;
    }

    .checkout-header h2 {
        font-size: 39px;
        line-height: 0.91;

        letter-spacing: -1.8px;
    }

    .checkout-header p {
        margin-top: 12px;

        font-size: 11px;
        line-height: 1.45;
    }

    .checkout-section {
        padding: 16px 0;
    }

    .checkout-type > span {
        min-height: 64px;

        padding: 12px;
    }

    .checkout-field {
        margin-top: 11px;
    }

    .checkout-field label {
        margin-bottom: 6px;
    }

    .checkout-field input {
        min-height: 48px;

        padding: 12px 14px;
    }

    .checkout-club {
        margin-top: 18px;

        padding: 14px;
    }

    .checkout-summary {
        margin-top: 16px;

        padding: 15px 0;
    }

    .send-order-button {
        min-height: 54px;
    }

}

/* =========================================================
   COFEIN - SİPARİŞ BAŞARILI EKRANI
========================================================= */

.order-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;

    background: rgba(5, 12, 23, 0.72);

    opacity: 0;
    visibility: hidden;

    backdrop-filter: blur(5px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.order-success-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* BAŞARI PENCERESİ */

.order-success-modal {
    position: fixed;

    z-index: 1600;

    top: 50%;
    left: 50%;

    width: min(520px, calc(100% - 40px));

    padding: 55px 48px 45px;

    background: #ffffff;

    text-align: center;

    opacity: 0;
    visibility: hidden;

    transform:
        translate(-50%, -46%)
        scale(0.96);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;
}

.order-success-modal.active {
    opacity: 1;
    visibility: visible;

    transform:
        translate(-50%, -50%)
        scale(1);
}


/* ONAY İŞARETİ */

.order-success-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--cofein-blue);

    color: #ffffff;

    font-size: 31px;
    font-weight: 800;
}


/* MARKA */

.order-success-brand {
    display: block;

    margin-bottom: 13px;

    color: var(--cofein-blue);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 3px;
}


/* BAŞLIK */

.order-success-modal h2 {
    margin: 0;

    color: var(--cofein-blue);

    font-size: 58px;
    line-height: 0.91;

    letter-spacing: -3px;
}


/* AÇIKLAMA */

.order-success-text {
    margin: 20px auto 0;

    color: var(--cofein-muted);

    font-size: 13px;
}


/* SİPARİŞ NUMARASI */

.order-success-number {
    margin-top: 32px;

    padding: 24px 20px;

    background: #f1f3f6;
}

.order-success-number span {
    display: block;

    margin-bottom: 7px;

    color: #8d9299;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 2px;
}

.order-success-number strong {
    display: block;

    color: var(--cofein-blue);

    font-size: 29px;
    font-weight: 800;

    letter-spacing: 1px;
}


/* MASA / GEL-AL */

.order-success-location {
    margin-top: 12px;

    color: var(--cofein-blue);

    font-size: 14px;
    font-weight: 800;
}


/* BİLGİ */

.order-success-info {
    margin: 22px auto;

    color: #8d9299;

    font-size: 10px;
    line-height: 1.5;
}


/* TAMAM BUTONU */

.order-success-button {
    width: 100%;

    min-height: 56px;

    border: 0;
    border-radius: 100px;

    background: var(--cofein-blue);

    color: #ffffff;

    font-family: inherit;
    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;

    cursor: pointer;
}


/* =========================================================
   TELEFON
========================================================= */

@media (max-width: 600px) {

    .order-success-modal {
        top: 0;
        left: 0;

        width: 100%;
        height: 100dvh;

        padding:
            70px
            22px
            30px;

        display: flex;
        flex-direction: column;
        justify-content: center;

        transform: translateY(100%);
    }

    .order-success-modal.active {
        transform: translateY(0);
    }

    .order-success-icon {
        width: 62px;
        height: 62px;

        margin-bottom: 22px;

        font-size: 27px;
    }

    .order-success-modal h2 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .order-success-number {
        margin-top: 27px;

        padding: 21px 16px;
    }

    .order-success-number strong {
        font-size: 27px;
    }

}


/* ÇOK KÜÇÜK TELEFON */

@media (max-width: 380px) {

    .order-success-modal {
        padding-left: 17px;
        padding-right: 17px;
    }

    .order-success-modal h2 {
        font-size: 42px;
    }

}

/* =========================================================
   COFEIN - PERSONEL SİPARİŞ PANELİ
========================================================= */

.order-panel-page {
    margin: 0;
    min-height: 100vh;

    background: #f3f4f6;

    color: var(--cofein-blue);

    font-family: inherit;
}


/* =========================================================
   ÜST BAR
========================================================= */

.order-panel-header {
    padding: 26px 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--cofein-blue);
    color: #ffffff;
}

.order-panel-brand {
    display: block;

    margin-bottom: 5px;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 3px;
}

.order-panel-header h1 {
    margin: 0;

    font-size: 34px;
    line-height: 1;

    letter-spacing: -1.5px;
}

.order-panel-status {
    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 10px;
}

.order-panel-status strong {
    font-size: 10px;
    letter-spacing: 1px;
}

.order-panel-live-dot {
    width: 9px;
    height: 9px;

    display: block;

    border-radius: 50%;

    background: #65d58b;
}


/* =========================================================
   ÜST İSTATİSTİKLER
========================================================= */

.order-panel-stats {
    padding: 18px 32px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 12px;

    background: #ffffff;

    border-bottom: 1px solid #e4e5e7;
}

.order-stat {
    padding: 16px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid #e1e2e4;
    border-radius: 10px;
}

.order-stat span {
    color: #7e838b;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}

.order-stat strong {
    color: var(--cofein-blue);

    font-size: 25px;
}


/* =========================================================
   SİPARİŞ TAHTASI
========================================================= */

.order-board {
    padding: 24px 32px 80px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 18px;

    align-items: start;
}


/* SÜTUN */

.order-column {
    min-height: 500px;

    padding: 14px;

    background: #e9eaec;

    border-radius: 14px;
}

.order-column-header {
    min-height: 44px;

    padding: 0 5px 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--cofein-blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.order-column-header > div {
    display: flex;
    align-items: center;

    gap: 7px;
}

.order-column-header > strong {
    min-width: 27px;
    height: 27px;

    padding: 0 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 100px;

    background: #ffffff;

    font-size: 11px;
}

.order-column-dot {
    width: 8px;
    height: 8px;

    display: block;

    border-radius: 50%;

    background: var(--cofein-blue);
}


/* =========================================================
   SİPARİŞ KARTI
========================================================= */

.order-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.staff-order-card {
    padding: 20px;

    background: #ffffff;

    border-radius: 12px;

    box-shadow:
        0 4px 16px
        rgba(13, 33, 61, 0.06);
}


/* SİPARİŞ NO / SAAT */

.staff-order-top {
    padding-bottom: 16px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    border-bottom: 1px solid #ececef;
}

.staff-order-top > div:first-child span,
.staff-order-customer span {
    display: block;

    margin-bottom: 4px;

    color: #979ba1;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.staff-order-top > div:first-child strong {
    color: var(--cofein-blue);

    font-size: 21px;
}

.staff-order-time {
    text-align: right;
}

.staff-order-time span {
    display: block;

    margin-bottom: 4px;

    color: #777c84;

    font-size: 11px;
}

.staff-order-time strong {
    display: inline-block;

    padding: 4px 7px;

    border-radius: 5px;

    background: #eef1f5;

    color: var(--cofein-blue);

    font-size: 8px;
    letter-spacing: 1px;
}


/* MASA */

.staff-order-location {
    padding: 16px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #ececef;
}

.staff-order-location span {
    color: #7f848c;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}

.staff-order-location strong {
    color: var(--cofein-blue);

    font-size: 28px;
}


/* ÜRÜNLER */

.staff-order-products {
    padding: 15px 0;
}

.staff-order-product {
    padding: 9px 0;
}

.staff-order-product + .staff-order-product {
    border-top: 1px dashed #dedfe2;
}

.staff-order-product strong {
    display: block;

    margin-bottom: 5px;

    color: var(--cofein-blue);

    font-size: 13px;
}

.staff-order-product span {
    display: block;

    color: #737880;

    font-size: 10px;
    line-height: 1.5;
}


/* MÜŞTERİ */

.staff-order-customer {
    padding: 13px 0 17px;

    border-top: 1px solid #ececef;
}

.staff-order-customer strong {
    color: var(--cofein-blue);

    font-size: 12px;
}


/* AKSİYON */

.staff-order-action {
    width: 100%;
    min-height: 48px;

    padding: 12px 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 0;
    border-radius: 8px;

    background: var(--cofein-blue);

    color: #ffffff;

    font-family: inherit;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.7px;

    cursor: pointer;
}

.staff-order-action span {
    font-size: 17px;
}


/* =========================================================
   BOŞ SÜTUN
========================================================= */

.order-empty {
    min-height: 160px;

    padding: 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px dashed #cfd1d5;
    border-radius: 10px;

    color: #989ca3;

    text-align: center;
}

.order-empty span {
    margin-bottom: 8px;

    font-size: 25px;
}

.order-empty p {
    margin: 0;

    font-size: 10px;
}


/* =========================================================
   ALT BAR
========================================================= */

.order-panel-footer {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    min-height: 45px;

    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;

    border-top: 1px solid #dedfe2;

    color: #8b9097;

    font-size: 8px;

    letter-spacing: 1px;
}

.order-panel-footer strong {
    color: var(--cofein-blue);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .order-panel-header {
        padding: 22px;
    }

    .order-panel-stats {
        padding: 15px 22px;

        grid-template-columns:
            repeat(4, 1fr);
    }

    .order-board {
        padding:
            20px
            22px
            75px;

        gap: 12px;
    }

    .order-column {
        padding: 10px;
    }

    .staff-order-card {
        padding: 16px;
    }

}


/* =========================================================
   DAR TABLET / TELEFON
========================================================= */

@media (max-width: 700px) {

    .order-panel-header {
        align-items: flex-start;
    }

    .order-panel-header h1 {
        font-size: 28px;
    }

    .order-panel-status > span:not(.order-panel-live-dot) {
        display: none;
    }

    .order-panel-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .order-board {
        grid-template-columns: 1fr;
    }

    .order-column {
        min-height: auto;
    }

    .order-panel-footer {
        position: static;

        padding: 15px 22px;
    }

}

/* =========================================================
   COFEIN YÖNETİCİ PANELİ
========================================================= */

.admin-body {
    margin: 0;
    background: #f4f5f6;
    color: #18375f;
}

.admin-body * {
    box-sizing: border-box;
}


/* =========================================================
   ANA YAPI
========================================================= */

.admin-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
}


/* =========================================================
   SOL MENÜ
========================================================= */

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;

    width: 270px;
    overflow-y: auto;

    background: #19385f;
    color: #ffffff;

    padding: 30px 20px 40px;
}

.admin-brand {
    padding: 5px 12px 30px;
    border-bottom: 1px solid rgba(255,255,255,.14);
    margin-bottom: 22px;
}

.admin-brand span {
    display: block;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 4px;

    margin-bottom: 8px;
}

.admin-brand strong {
    display: block;

    font-size: 30px;
    line-height: 1;
}

.admin-navigation {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-nav-title {
    margin: 24px 12px 7px;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;

    color: rgba(255,255,255,.48);
}

.admin-nav-item {
    width: 100%;

    border: 0;
    background: transparent;
    color: rgba(255,255,255,.76);

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 12px 13px;

    border-radius: 9px;

    font: inherit;
    font-size: 13px;
    font-weight: 600;

    text-align: left;
    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease;
}

.admin-nav-item:hover {
    background: rgba(255,255,255,.08);
    color: #ffffff;
}

.admin-nav-item.active {
    background: #ffffff;
    color: #19385f;
}

.admin-nav-item > span {
    width: 19px;
    text-align: center;
}


/* =========================================================
   ANA İÇERİK
========================================================= */

.admin-main {
    grid-column: 2;

    min-width: 0;
    min-height: 100vh;
}


/* =========================================================
   ÜST BAR
========================================================= */

.admin-topbar {
    min-height: 105px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    padding: 22px 35px;

    background: #ffffff;
    border-bottom: 1px solid #e2e5e8;
}

.admin-eyebrow {
    display: block;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 3px;

    color: #8993a0;

    margin-bottom: 6px;
}

.admin-topbar h1 {
    margin: 0;

    font-size: 28px;
    line-height: 1.1;

    color: #18375f;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.admin-order-link {
    text-decoration: none;

    border: 1px solid #d9dde1;
    border-radius: 999px;

    padding: 11px 18px;

    color: #18375f;

    font-size: 12px;
    font-weight: 700;
}

.admin-user {
    border-left: 1px solid #e1e4e7;

    padding-left: 22px;
}

.admin-user span {
    display: block;

    font-size: 8px;
    letter-spacing: 2px;
    color: #8c95a0;

    margin-bottom: 3px;
}

.admin-user strong {
    font-size: 13px;
}


/* =========================================================
   SAYFALAR
========================================================= */

.admin-page {
    display: none;
    padding: 36px;
}

.admin-page.active {
    display: block;
}

.admin-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 28px;
}

.admin-page-heading > div > span,
.admin-placeholder-page > span {
    display: block;

    margin-bottom: 8px;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2.5px;

    color: #929ba6;
}

.admin-page-heading h2,
.admin-placeholder-page h2 {
    margin: 0;

    font-size: clamp(30px, 3vw, 46px);
    line-height: 1;

    color: #18375f;
}

.admin-page-heading p,
.admin-placeholder-page p {
    margin: 10px 0 0;

    color: #737d88;

    font-size: 14px;
}

.admin-date {
    color: #7c8691;
    font-size: 13px;
}


/* =========================================================
   KPI KARTLARI
========================================================= */

.admin-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;

    margin-bottom: 22px;
}

.admin-kpi-card {
    background: #ffffff;

    border: 1px solid #e0e3e6;
    border-radius: 14px;

    padding: 23px;
}

.admin-kpi-card > span {
    display: block;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 2px;

    color: #8d96a0;

    margin-bottom: 16px;
}

.admin-kpi-card strong {
    display: block;

    font-size: 40px;
    line-height: 1;

    color: #18375f;

    margin-bottom: 10px;
}

.admin-kpi-card small {
    color: #818a94;
    font-size: 12px;
}


/* =========================================================
   DASHBOARD
========================================================= */

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

.admin-panel-card {
    background: #ffffff;

    border: 1px solid #e0e3e6;
    border-radius: 14px;

    padding: 24px;
}

.admin-panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    padding-bottom: 18px;
    margin-bottom: 18px;

    border-bottom: 1px solid #eceef0;
}

.admin-panel-heading span {
    display: block;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;

    color: #929ba5;

    margin-bottom: 5px;
}

.admin-panel-heading h3 {
    margin: 0;

    font-size: 21px;
    color: #18375f;
}

.admin-text-button {
    border: 0;
    background: transparent;

    color: #18375f;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}

.admin-empty-state {
    min-height: 160px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px dashed #d7dce0;
    border-radius: 10px;

    color: #949da6;
    font-size: 13px;
}

.admin-sales-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;

    background: #e6e8ea;
}

.admin-sales-summary > div {
    background: #ffffff;
    padding: 23px 15px;
}

.admin-sales-summary span {
    display: block;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;

    color: #9199a2;

    margin-bottom: 9px;
}

.admin-sales-summary strong {
    font-size: 22px;
    color: #18375f;
}


/* =========================================================
   BUTONLAR
========================================================= */

.admin-primary-button,
.admin-secondary-button {
    min-height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    padding: 0 20px;

    text-decoration: none;

    font: inherit;
    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}

.admin-primary-button {
    border: 1px solid #19385f;

    background: #19385f;
    color: #ffffff;
}

.admin-secondary-button {
    border: 1px solid #d6dadd;

    background: #ffffff;
    color: #19385f;
}

.admin-report-actions {
    display: flex;
    gap: 8px;
}


/* =========================================================
   RAPOR FİLTRELERİ
========================================================= */

.admin-report-filters {
    display: grid;

    grid-template-columns:
        1fr
        1fr
        1fr
        1fr
        minmax(220px, 1.5fr)
        auto
        auto;

    gap: 10px;

    align-items: end;

    background: #ffffff;

    border: 1px solid #e0e3e6;
    border-radius: 14px;

    padding: 18px;

    margin-bottom: 15px;
}

.admin-filter-field label {
    display: block;

    margin: 0 0 7px 2px;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;

    color: #818a94;
}

.admin-filter-field input,
.admin-filter-field select {
    width: 100%;
    height: 43px;

    border: 1px solid #d9dde0;
    border-radius: 8px;

    background: #ffffff;
    color: #18375f;

    padding: 0 11px;

    font: inherit;
    font-size: 12px;

    outline: none;
}

.admin-filter-field input:focus,
.admin-filter-field select:focus {
    border-color: #19385f;
}

.admin-filter-button,
.admin-filter-reset {
    height: 43px;

    border-radius: 8px;

    padding: 0 16px;

    font: inherit;
    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}

.admin-filter-button {
    border: 1px solid #19385f;

    background: #19385f;
    color: #ffffff;
}

.admin-filter-reset {
    border: 1px solid #d9dde0;

    background: #ffffff;
    color: #19385f;
}


/* =========================================================
   RAPOR ÖZETİ
========================================================= */

.admin-report-summary {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    background: #ffffff;

    border: 1px solid #e0e3e6;
    border-radius: 14px;

    overflow: hidden;

    margin-bottom: 15px;
}

.admin-report-summary > div {
    padding: 18px 20px;

    border-right: 1px solid #e7e9eb;
}

.admin-report-summary > div:last-child {
    border-right: 0;
}

.admin-report-summary span {
    display: block;

    margin-bottom: 7px;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;

    color: #9099a3;
}

.admin-report-summary strong {
    font-size: 21px;
    color: #18375f;
}


/* =========================================================
   SATIŞ TABLOSU
========================================================= */

.admin-sales-table-wrapper {
    width: 100%;

    overflow-x: auto;

    background: #ffffff;

    border: 1px solid #dfe3e6;
    border-radius: 14px;
}

.admin-sales-table {
    width: 100%;

    min-width: 1600px;

    border-collapse: collapse;

    font-size: 11px;
}

.admin-sales-table th {
    position: sticky;
    top: 0;

    background: #19385f;
    color: #ffffff;

    padding: 14px 12px;

    text-align: left;
    white-space: nowrap;

    font-size: 8px;
    letter-spacing: 1.2px;
}

.admin-sales-table td {
    padding: 13px 12px;

    border-bottom: 1px solid #e8eaec;
    border-right: 1px solid #f0f1f2;

    white-space: nowrap;

    color: #334c6b;
}

.admin-sales-table tbody tr:hover {
    background: #f7f8f9;
}

.admin-sales-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table-empty td {
    height: 180px;

    text-align: center;

    color: #949da6 !important;
}

.admin-table-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 11px 5px;

    color: #8a939d;

    font-size: 10px;
}


/* =========================================================
   BOŞ SAYFALAR
========================================================= */

.admin-placeholder-page {
    min-height: 420px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e0e3e6;
    border-radius: 14px;

    padding: 40px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1180px) {

    .admin-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .admin-sidebar {
        width: 220px;
    }

    .admin-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-report-filters {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-report-summary {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =========================================================
   TELEFON
========================================================= */

@media (max-width: 760px) {

    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        position: relative;

        width: 100%;
        height: auto;

        padding: 18px;
    }

    .admin-brand {
        padding: 3px 5px 18px;
    }

    .admin-navigation {
        max-height: 260px;
        overflow-y: auto;
    }

    .admin-main {
        width: 100%;
    }

    .admin-topbar {
        min-height: auto;

        padding: 18px;

        align-items: flex-start;
    }

    .admin-topbar h1 {
        font-size: 23px;
    }

    .admin-user {
        display: none;
    }

    .admin-order-link {
        padding: 9px 12px;
        font-size: 10px;
    }

    .admin-page {
        padding: 20px 15px 35px;
    }

    .admin-page-heading {
        display: block;
    }

    .admin-page-heading > div + div,
    .admin-page-heading > a,
    .admin-page-heading > button {
        margin-top: 17px;
    }

    .admin-kpi-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .admin-kpi-card {
        padding: 17px;
    }

    .admin-kpi-card strong {
        font-size: 31px;
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-report-actions {
        margin-top: 18px;
    }

    .admin-report-filters {
        grid-template-columns: 1fr;
    }

    .admin-report-summary {
        grid-template-columns: 1fr 1fr;
    }

    .admin-report-summary > div {
        border-bottom: 1px solid #e7e9eb;
    }

}

/* =========================================================
   COFEIN ADMIN - URUN YONETIMI
   MENU & FIYATLAR
   ========================================================= */


/* ---------------------------------------------------------
   URUN ISTATISTIKLERI
   --------------------------------------------------------- */

.admin-product-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}

.admin-product-stat {
    background: #ffffff;
    border: 1px solid #e3e7ec;
    border-radius: 18px;
    padding: 20px 22px;
    min-height: 105px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.admin-product-stat span {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #7d8794;
}

.admin-product-stat strong {
    display: block;
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    color: #193153;
}


/* ---------------------------------------------------------
   ARAMA VE FILTRE
   --------------------------------------------------------- */

.admin-product-toolbar {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, 320px);
    gap: 14px;
    align-items: center;
}

.admin-product-search,
.admin-product-select {
    width: 100%;
    min-height: 48px;
    padding: 0 15px;
    border: 1px solid #dce2e8;
    border-radius: 12px;
    background: #ffffff;
    color: #193153;
    font: inherit;
    outline: none;
}

.admin-product-search:focus,
.admin-product-select:focus {
    border-color: #193153;
}


/* ---------------------------------------------------------
   URUN LISTESI
   --------------------------------------------------------- */

.admin-product-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.admin-product-list-header strong {
    display: block;
    color: #193153;
    font-size: 20px;
}

.admin-product-list-header span {
    display: block;
    margin-top: 4px;
    color: #7d8794;
    font-size: 14px;
}

.admin-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}


/* ---------------------------------------------------------
   URUN KARTI
   GORSEL BASKIN TASARIM
   --------------------------------------------------------- */

.admin-product-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e1e6eb;
    border-radius: 20px;
}

/*
   Kartta gorsel ana unsur.
   Gorsel / bilgi dengesi yaklasik altin oran mantiginda.
*/

.admin-product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eef1f4;
}

.admin-product-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.admin-product-card-content {
    padding: 18px;
}

.admin-product-card-content h3 {
    margin: 0 0 7px;
    color: #193153;
    font-size: 20px;
    line-height: 1.2;
}

.admin-product-card-description {
    min-height: 42px;
    margin: 0 0 15px;
    color: #687481;
    font-size: 14px;
    line-height: 1.5;
}

.admin-product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.admin-product-card-price {
    color: #193153;
    font-size: 20px;
    font-weight: 700;
}


/* ---------------------------------------------------------
   URUN DURUM ROZETLERI
   --------------------------------------------------------- */

.admin-product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-product-badge {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #193153;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
}


/* =========================================================
   URUN EKLEME / DUZENLEME MODALI
   ========================================================= */

.admin-product-modal[hidden] {
    display: none !important;
}

.admin-product-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.admin-product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 45, 0.68);
}

.admin-product-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.admin-product-modal-header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 22px 26px;
    background: #ffffff;
    border-bottom: 1px solid #e7eaee;
}

.admin-product-modal-header span {
    display: block;
    margin-bottom: 4px;
    color: #8993a0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.admin-product-modal-header h3 {
    margin: 0;
    color: #193153;
    font-size: 27px;
}

.admin-product-modal-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f0f2f5;
    color: #193153;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}


/* ---------------------------------------------------------
   FORM BOLUMLERI
   --------------------------------------------------------- */

.admin-product-form-section {
    padding: 25px 27px;
    border-bottom: 1px solid #edf0f3;
}

.admin-product-form-section h4 {
    margin: 0 0 7px;
    color: #193153;
    font-size: 19px;
}

.admin-product-form-help {
    margin: 0 0 18px;
    color: #7b8591;
    font-size: 13px;
    line-height: 1.5;
}

.admin-product-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-product-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.admin-product-field-full {
    grid-column: 1 / -1;
}

.admin-product-field label {
    color: #193153;
    font-size: 13px;
    font-weight: 700;
}

.admin-product-field input,
.admin-product-field select,
.admin-product-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dce2e8;
    border-radius: 11px;
    background: #ffffff;
    padding: 12px 13px;
    color: #193153;
    font: inherit;
    outline: none;
}

.admin-product-field textarea {
    resize: vertical;
}

.admin-product-field input:focus,
.admin-product-field select:focus,
.admin-product-field textarea:focus {
    border-color: #193153;
}


/* ---------------------------------------------------------
   GORSEL YUKLEME
   --------------------------------------------------------- */

.admin-product-image-editor {
    display: grid;
    grid-template-columns: minmax(260px, 1.618fr) minmax(180px, 1fr);
    gap: 24px;
    align-items: center;
}

.admin-product-image-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px dashed #cbd3dc;
    border-radius: 18px;
    background: #f3f5f7;
    color: #8993a0;
}

.admin-product-image-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.admin-product-image-note {
    margin: 12px 0 0;
    color: #7d8794;
    font-size: 12px;
}


/* ---------------------------------------------------------
   CHECKBOXLAR
   --------------------------------------------------------- */

.admin-product-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    align-items: center;
}

.admin-product-checks label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #33465e;
    font-size: 14px;
    cursor: pointer;
}

.admin-product-checks input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #193153;
}


/* ---------------------------------------------------------
   FORM BUTONLARI
   --------------------------------------------------------- */

.admin-product-form-actions {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 27px;
    background: #ffffff;
    border-top: 1px solid #e7eaee;
}

.admin-secondary-button {
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid #d4dae1;
    border-radius: 999px;
    background: #ffffff;
    color: #193153;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .admin-product-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TELEFON
   ========================================================= */

@media (max-width: 700px) {

    .admin-product-summary {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .admin-product-stat {
        padding: 16px;
    }

    .admin-product-toolbar {
        grid-template-columns: 1fr;
    }

    .admin-product-grid {
        grid-template-columns: 1fr;
    }

    .admin-product-modal {
        padding: 0;
    }

    .admin-product-modal-dialog {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }

    .admin-product-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-product-field-full {
        grid-column: auto;
    }

    .admin-product-image-editor {
        grid-template-columns: 1fr;
    }

}

/* ==========================================
   ADMIN - ÜRÜN KARTLARI
========================================== */

.admin-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.admin-product-card {
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.admin-product-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #eef2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #718096;
    font-size: 14px;
}

.admin-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-product-card-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.admin-product-card-category {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.admin-product-card-info h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    color: #193153;
}

.admin-product-card-info p {
    margin: 0;
    min-height: 40px;
    font-size: 14px;
    line-height: 1.45;
    color: #667085;
}

.admin-product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 10px;
}

.admin-product-card-price {
    font-size: 19px;
    line-height: 1;
    color: #193153;
}

.admin-product-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.admin-product-status.active {
    background: #edf7f0;
    color: #237a3b;
}

.admin-product-status.passive {
    background: #f3f4f6;
    color: #667085;
}

@media (max-width: 700px) {
    .admin-product-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   ADMIN - ÜRÜN İŞLEM BUTONLARI
========================================== */

.admin-product-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #edf0f4;
}

.admin-product-edit-button {
    width: 100%;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #193153;
    border-radius: 10px;
    background: #ffffff;
    color: #193153;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.admin-product-edit-button:hover {
    background: #193153;
    color: #ffffff;
}

.admin-product-delete-button {
    width: 100%;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #c62828;
    border-radius: 10px;
    background: #ffffff;
    color: #c62828;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.admin-product-delete-button:hover {
    background: #c62828;
    color: #ffffff;
}

.admin-product-delete-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.admin-product-options-button {
    width: 100%;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #667085;
    border-radius: 10px;
    background: #ffffff;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.admin-product-options-button:hover {
    background: #f2f4f7;
}

/* ==========================================
   ADMIN - ÜRÜN SEÇENEKLERİ
========================================== */

.admin-product-options-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.admin-product-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 16px;
    border: 1px solid #e1e6ed;
    border-radius: 12px;
    background: #ffffff;
}

.admin-product-option-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.admin-product-option-info strong {
    color: #193153;
    font-size: 15px;
}

.admin-product-option-info span {
    color: #667085;
    font-size: 13px;
}

.admin-product-option-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.admin-product-option-edit,
.admin-product-option-delete {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 9px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.admin-product-option-edit {
    border: 1px solid #193153;
    color: #193153;
}

.admin-product-option-edit:hover {
    background: #193153;
    color: #ffffff;
}

.admin-product-option-delete {
    border: 1px solid #c62828;
    color: #c62828;
}

.admin-product-option-delete:hover {
    background: #c62828;
    color: #ffffff;
}

@media (max-width: 700px) {

    .admin-product-option-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-product-option-actions {
        width: 100%;
    }

    .admin-product-option-edit,
    .admin-product-option-delete {
        flex: 1;
    }
}

/* =========================================================
   COFEIN - ÜRÜN MODALI ADET SEÇİMİ
========================================================= */

.product-modal-quantity {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

.product-modal-quantity > span {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b8177;
}

.product-modal-quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 54px;
    border: 1px solid #dedbd6;
    border-radius: 30px;
    background: #ffffff;
}

.product-modal-quantity-control button {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #193153;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.product-modal-quantity-control strong {
    width: 36px;
    text-align: center;
    font-size: 18px;
    color: #193153;
}

.product-modal-footer {
    display: grid;
    grid-template-columns: auto auto minmax(260px, 1fr);
    align-items: end;
    gap: 28px;
}

.product-modal-add {
    width: 100%;
    min-height: 76px;
}


/* MOBİL */

@media (max-width: 700px) {

    .product-modal-footer {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }

    .product-modal-add {
        grid-column: 1 / -1;
        width: 100%;
    }

}