:root {
    color-scheme: light;
    --brand: #0a0a0a;
    --accent: #f0440a;
    --accent-dark: #c93406;
    --surface: #ffffff;
    --surface-soft: #f7f7f8;
    --border: #e4e4e7;
    --muted: #71717a;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow: 0 12px 34px rgba(9, 9, 11, .07);
    --shadow-hover: 0 18px 42px rgba(9, 9, 11, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { max-width: 100%; }

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .48rem .72rem;
    color: #3f3f46;
    line-height: 1;
    transition: .18s ease;
}
.nav-link:hover { background: #fff1eb; color: var(--accent); }

.pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    white-space: nowrap;
    border-radius: 999px;
    background: #fafafa;
    border: 1px solid #eeeeef;
    padding: .45rem .78rem;
    color: #3f3f46;
    line-height: 1;
    transition: .18s ease;
}
.pill:hover { background: #fff1eb; border-color: #fdba94; color: #c2410c; }

.premium-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border-radius: 12px;
    padding: .65rem 1rem;
    font-size: .875rem;
    font-weight: 800;
    line-height: 1.15;
    transition: .18s ease;
}
.btn-primary { border: 1px solid var(--brand); background: var(--brand); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); border-color: var(--accent); background: var(--accent); box-shadow: 0 10px 24px rgba(240, 68, 10, .18); }
.btn-primary:disabled { cursor: not-allowed; transform: none; opacity: .62; box-shadow: none; }
.btn-outline { border: 1px solid #d4d4d8; background: #fff; color: #18181b; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: #fff8f5; }

.form-input {
    width: 100%;
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid #d4d4d8;
    padding: .66rem .82rem;
    font-size: .9rem;
    outline: none;
    transition: .18s ease;
    background: #fff;
}
textarea.form-input { line-height: 1.55; }
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #ffedd5; }

.footer-link { display: block; margin-top: .48rem; color: #d4d4d8; font-size: .82rem; }
.footer-link:hover { color: #fb923c; }

.product-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 4px 18px rgba(9, 9, 11, .04);
    transition: .2s ease;
}
.product-card:hover { transform: translateY(-3px); border-color: #fdba74; box-shadow: var(--shadow-hover); }
.product-image,
.store-product-media {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    background: #f7f7f8;
}
.category-card-image { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; background: #f4f4f5; }
.brand-card-image { width: 100%; max-height: 52px; object-fit: contain; }
.product-detail-main { aspect-ratio: 1 / 1; max-height: 560px; object-fit: contain !important; background: #f7f7f8; }
.product-detail-thumb { aspect-ratio: 1 / 1; height: auto !important; object-fit: contain !important; background: #f7f7f8; }

.toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 80; max-width: 22rem; border-radius: 12px; padding: .75rem .9rem; color: #fff; background: #050505; box-shadow: var(--shadow-hover); }
.toast.error { background: #b91c1c; }
.brand-gradient { background: radial-gradient(circle at 10% 20%, rgba(255, 75, 11, .18), transparent 28%), linear-gradient(135deg, #09090b, #18181b 62%, #f0440a); }

/* Müşteri vitrini: daha kompakt masaüstü ve mobil ölçek */
.storefront { min-height: 100vh; font-size: 14px; background: #fff; }
.storefront main { min-height: 46vh; }
.storefront .max-w-7xl { max-width: 1180px !important; }
.storefront .max-w-6xl { max-width: 1080px !important; }
.storefront .max-w-5xl { max-width: 960px !important; }
.storefront .max-w-4xl { max-width: 820px !important; }
.storefront .max-w-3xl { max-width: 720px !important; }
.storefront header .max-w-7xl { max-width: 1180px !important; }
.storefront header > div:first-child { min-height: 58px; }
.storefront header img { max-height: 38px; width: auto; }
.storefront header nav { font-size: .8rem; }
.storefront header input { height: 40px !important; font-size: .82rem !important; }
.storefront header .rounded-full.bg-brand { padding: .58rem .82rem !important; }
.storefront header [class*="top-14"] { top: 2.75rem !important; }

.storefront .py-24 { padding-top: 3.25rem !important; padding-bottom: 3.25rem !important; }
.storefront .py-20 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.storefront .py-16 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.storefront .py-14 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
.storefront .py-12 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.storefront .py-10 { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
.storefront .py-8 { padding-top: 1.4rem !important; padding-bottom: 1.4rem !important; }
.storefront .py-6 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.storefront .pb-16 { padding-bottom: 2.5rem !important; }
.storefront .mt-20 { margin-top: 3rem !important; }
.storefront .mt-14 { margin-top: 2.25rem !important; }
.storefront .mt-12 { margin-top: 2rem !important; }
.storefront .mt-10 { margin-top: 1.75rem !important; }
.storefront .mt-8 { margin-top: 1.4rem !important; }
.storefront .mt-7 { margin-top: 1.2rem !important; }
.storefront .mt-6 { margin-top: 1rem !important; }
.storefront .mb-8 { margin-bottom: 1.4rem !important; }
.storefront .mb-6 { margin-bottom: 1rem !important; }
.storefront .gap-10 { gap: 1.5rem !important; }
.storefront .gap-8 { gap: 1.25rem !important; }
.storefront .gap-6 { gap: 1rem !important; }
.storefront .gap-5 { gap: .9rem !important; }
.storefront .gap-4 { gap: .75rem !important; }
.storefront .p-10 { padding: 1.5rem !important; }
.storefront .p-8 { padding: 1.25rem !important; }
.storefront .p-6 { padding: 1rem !important; }
.storefront .p-5 { padding: .9rem !important; }
.storefront .p-4 { padding: .75rem !important; }

.storefront .text-7xl { font-size: 3rem !important; line-height: 1.02 !important; }
.storefront .text-6xl { font-size: 2.65rem !important; line-height: 1.05 !important; }
.storefront .text-5xl { font-size: 2.25rem !important; line-height: 1.08 !important; }
.storefront .text-4xl { font-size: 1.85rem !important; line-height: 1.12 !important; }
.storefront .text-3xl { font-size: 1.5rem !important; line-height: 1.2 !important; }
.storefront .text-2xl { font-size: 1.22rem !important; line-height: 1.3 !important; }
.storefront .text-xl { font-size: 1.05rem !important; line-height: 1.35 !important; }
.storefront .text-lg { font-size: .98rem !important; }
.storefront .leading-8 { line-height: 1.65 !important; }
.storefront .leading-7 { line-height: 1.58 !important; }
.storefront .leading-6 { line-height: 1.5 !important; }
.storefront .rounded-3xl,
.storefront .rounded-\[2rem\],
.storefront .rounded-\[1\.7rem\] { border-radius: var(--radius-lg) !important; }
.storefront .rounded-2xl,
.storefront .rounded-\[1\.5rem\] { border-radius: var(--radius) !important; }

.storefront .store-product-card { height: 100%; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 4px 18px rgba(9, 9, 11, .04); transition: .2s ease; }
.storefront .store-product-card:hover { transform: translateY(-3px); border-color: #fdba74; box-shadow: var(--shadow-hover); }
.storefront .store-product-card .product-title { min-height: 2.65rem; font-size: .92rem; line-height: 1.35; }
.storefront .store-product-card .product-price { font-size: 1.05rem; }
.storefront .store-product-card .product-actions { grid-template-columns: minmax(0, 1fr) 38px; }
.storefront .store-product-card .product-actions > * { min-height: 38px; border-radius: 11px; }

.storefront .km-hero-slider [data-hero-slide] > div { min-height: 380px !important; padding: 1.5rem !important; }
.storefront .km-hero-slider .km-hero-img { height: 280px !important; max-height: 34vh; object-fit: contain; }
.storefront .km-hero-slider [data-hero-prev],
.storefront .km-hero-slider [data-hero-next] { width: 40px !important; height: 40px !important; }

.storefront footer { margin-top: 2.5rem !important; }
.storefront footer > div { gap: 1.5rem !important; padding-top: 2rem !important; padding-bottom: 2rem !important; }
.storefront footer img { height: 44px !important; }
.storefront footer p { margin-top: .8rem !important; }

/* Admin yükleme önizlemelerinde oranların görünür şekilde korunması */
.admin-shell .admin-standard-image,
.admin-shell [data-image-preview] img { object-fit: contain; background: #f4f4f5; }
.admin-shell .product-image-preview { aspect-ratio: 1 / 1; }

@media (max-width: 1023px) {
    .storefront header .nav-link { padding: .45rem .58rem; }
    .storefront .km-hero-slider [data-hero-slide] > div { min-height: 330px !important; }
}

@media (max-width: 767px) {
    .storefront { font-size: 13.5px; }
    .storefront header > div:first-child { gap: .45rem !important; padding-top: .45rem !important; padding-bottom: .45rem !important; }
    .storefront header img { max-height: 30px; }
    .storefront header nav { gap: .15rem !important; }
    .storefront header .nav-link { padding: .42rem .5rem; font-size: .74rem; }
    .storefront header .rounded-full.bg-brand { padding: .48rem .62rem !important; font-size: .74rem; }
    .storefront header > div:nth-of-type(2) > div { padding-top: .5rem !important; padding-bottom: .5rem !important; }
    .storefront header > div:last-child > div { padding-top: .48rem !important; padding-bottom: .48rem !important; font-size: .75rem !important; }
    .storefront .pill { padding: .4rem .62rem; }

    .storefront .px-4 { padding-left: .85rem !important; padding-right: .85rem !important; }
    .storefront .py-20,
    .storefront .py-16,
    .storefront .py-14 { padding-top: 1.8rem !important; padding-bottom: 1.8rem !important; }
    .storefront .py-12,
    .storefront .py-10 { padding-top: 1.4rem !important; padding-bottom: 1.4rem !important; }
    .storefront .py-8 { padding-top: 1.15rem !important; padding-bottom: 1.15rem !important; }
    .storefront .p-10,
    .storefront .p-8 { padding: 1rem !important; }
    .storefront .p-6,
    .storefront .p-5 { padding: .8rem !important; }
    .storefront .gap-10,
    .storefront .gap-8,
    .storefront .gap-6 { gap: .9rem !important; }

    .storefront .text-7xl,
    .storefront .text-6xl { font-size: 2rem !important; }
    .storefront .text-5xl { font-size: 1.8rem !important; }
    .storefront .text-4xl { font-size: 1.55rem !important; }
    .storefront .text-3xl { font-size: 1.32rem !important; }
    .storefront .text-2xl { font-size: 1.12rem !important; }

    .storefront .premium-card,
    .storefront .product-card,
    .storefront .store-product-card { border-radius: 13px; box-shadow: 0 4px 16px rgba(9, 9, 11, .045); }
    .storefront .product-image,
    .storefront .store-product-media { aspect-ratio: 1 / 1; }
    .storefront .product-detail-main { max-height: 70vw; }
    .storefront .km-hero-slider { padding-top: .75rem !important; padding-bottom: .75rem !important; }
    .storefront .km-hero-slider [data-hero-slide] > div { min-height: 290px !important; padding: 1rem !important; }
    .storefront .km-hero-slider .km-hero-img { height: 190px !important; max-height: 28vh; }
    .storefront .km-hero-slider [data-hero-dot] { height: 6px !important; }
    .storefront footer > div { grid-template-columns: 1fr 1fr !important; }
    .storefront footer > div > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .storefront header nav .nav-link[href*="register"],
    .storefront header nav .nav-link[href*="logout"] { display: none; }
    .storefront .store-product-card .product-actions { grid-template-columns: minmax(0, 1fr) 36px; }
    .storefront footer > div { grid-template-columns: 1fr !important; }
    .storefront footer > div > div:first-child { grid-column: auto; }
}
/* KM compact storefront v2 */
:root {
    --radius: 11px;
    --radius-lg: 14px;
    --shadow: 0 8px 24px rgba(9, 9, 11, .055);
    --shadow-hover: 0 12px 30px rgba(9, 9, 11, .09);
}

.storefront {
    font-size: 13.25px;
    line-height: 1.45;
    overflow-x: hidden;
}
.storefront .max-w-7xl { max-width: 1100px !important; }
.storefront .max-w-6xl { max-width: 1000px !important; }
.storefront .max-w-5xl { max-width: 900px !important; }
.storefront .max-w-4xl { max-width: 780px !important; }
.storefront .max-w-3xl { max-width: 680px !important; }
.storefront header .max-w-7xl { max-width: 1100px !important; }

.storefront header > div:first-child {
    min-height: 50px;
    gap: .7rem !important;
    padding-top: .45rem !important;
    padding-bottom: .45rem !important;
}
.storefront header img { max-height: 30px; }
.storefront header input { height: 36px !important; padding-left: 1rem !important; padding-right: 1rem !important; }
.storefront header nav { gap: .25rem !important; font-size: .75rem; }
.storefront header .nav-link { padding: .38rem .52rem; }
.storefront header .rounded-full.bg-brand { padding: .48rem .68rem !important; }
.storefront header [class*="top-14"] { top: 2.45rem !important; }
.storefront header > div:last-child > div {
    gap: .35rem !important;
    padding-top: .42rem !important;
    padding-bottom: .42rem !important;
    scrollbar-width: none;
}
.storefront header > div:last-child > div::-webkit-scrollbar { display: none; }
.storefront .pill { padding: .34rem .58rem; font-size: .72rem; }

.btn-primary,
.btn-outline {
    min-height: 34px;
    border-radius: 9px;
    padding: .52rem .72rem;
    font-size: .78rem;
}
.form-input {
    min-height: 36px;
    border-radius: 9px;
    padding: .52rem .68rem;
    font-size: .82rem;
}

.storefront .py-24 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.storefront .py-20 { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
.storefront .py-16 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.storefront .py-14 { padding-top: 1.8rem !important; padding-bottom: 1.8rem !important; }
.storefront .py-12 { padding-top: 1.65rem !important; padding-bottom: 1.65rem !important; }
.storefront .py-10 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.storefront .py-8 { padding-top: 1.2rem !important; padding-bottom: 1.2rem !important; }
.storefront .py-6 { padding-top: .9rem !important; padding-bottom: .9rem !important; }
.storefront .mt-20 { margin-top: 2.25rem !important; }
.storefront .mt-14 { margin-top: 1.8rem !important; }
.storefront .mt-12 { margin-top: 1.65rem !important; }
.storefront .mt-10 { margin-top: 1.5rem !important; }
.storefront .mt-8 { margin-top: 1.2rem !important; }
.storefront .mt-6 { margin-top: .9rem !important; }
.storefront .mb-8 { margin-bottom: 1.15rem !important; }
.storefront .mb-6 { margin-bottom: .9rem !important; }
.storefront .gap-10 { gap: 1.25rem !important; }
.storefront .gap-8 { gap: 1.05rem !important; }
.storefront .gap-6 { gap: .9rem !important; }
.storefront .gap-5 { gap: .75rem !important; }
.storefront .gap-4 { gap: .65rem !important; }
.storefront .p-10 { padding: 1.25rem !important; }
.storefront .p-8 { padding: 1.05rem !important; }
.storefront .p-6 { padding: .85rem !important; }
.storefront .p-5 { padding: .75rem !important; }
.storefront .p-4 { padding: .65rem !important; }

.storefront .text-7xl { font-size: 2.35rem !important; }
.storefront .text-6xl { font-size: 2.1rem !important; }
.storefront .text-5xl { font-size: 1.8rem !important; }
.storefront .text-4xl { font-size: 1.55rem !important; }
.storefront .text-3xl { font-size: 1.3rem !important; }
.storefront .text-2xl { font-size: 1.1rem !important; }
.storefront .text-xl { font-size: .98rem !important; }
.storefront .text-lg { font-size: .9rem !important; }

.storefront .premium-card,
.storefront .product-card,
.storefront .store-product-card {
    border-radius: var(--radius-lg);
    box-shadow: 0 3px 14px rgba(9, 9, 11, .04);
}
.storefront .store-product-card .product-title {
    min-height: 2.2rem;
    font-size: .82rem;
    line-height: 1.3;
}
.storefront .store-product-card .product-price { font-size: .94rem; }
.storefront .store-product-card .product-actions {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: .4rem !important;
}
.storefront .store-product-card .product-actions > * { min-height: 33px; border-radius: 9px; }
.storefront .store-product-card > div:last-child { padding: .68rem !important; }
.storefront .store-product-card [class*="top-2.5"],
.storefront .store-product-card [class*="top-3"] { top: .45rem !important; }
.storefront .store-product-card [class*="left-2.5"],
.storefront .store-product-card [class*="left-3"] { left: .45rem !important; }
.storefront .store-product-card [class*="right-2.5"],
.storefront .store-product-card [class*="right-3"] { right: .45rem !important; }
.storefront .store-product-card .text-2xl { font-size: 1rem !important; }
.storefront .store-product-card .text-lg { font-size: .84rem !important; }
.storefront .store-product-card .mt-5 { margin-top: .7rem !important; }
.storefront .store-product-card .mt-4 { margin-top: .6rem !important; }
.storefront .store-product-card .mt-3 { margin-top: .5rem !important; }
.storefront .store-product-card .mt-2 { margin-top: .35rem !important; }
.storefront .store-product-card .px-4 { padding-left: .55rem !important; padding-right: .55rem !important; }
.storefront .store-product-card .py-3 { padding-top: .48rem !important; padding-bottom: .48rem !important; }
.storefront .store-product-card .py-2\.5 { padding-top: .44rem !important; padding-bottom: .44rem !important; }

.km-cart-label-short { display: none; }
.km-action-short { display: none; }

.storefront .km-hero-slider { padding-top: .9rem !important; padding-bottom: .9rem !important; }
.storefront .km-hero-slider > div { border-radius: 16px !important; }
.storefront .km-hero-slider [data-hero-slide] > div {
    min-height: 300px !important;
    gap: 1rem !important;
    padding: 1.1rem 1.35rem !important;
}
.storefront .km-hero-slider .km-hero-img { height: 215px !important; max-height: 28vh; }
.storefront .km-hero-slider h1 { max-width: 34rem; }
.storefront .km-hero-slider [data-hero-prev],
.storefront .km-hero-slider [data-hero-next] { width: 34px !important; height: 34px !important; }
.storefront .km-hero-slider a[class*="px-8"] { padding: .68rem 1.15rem !important; }
.storefront .km-hero-slider [class*="mb-5"] { margin-bottom: .7rem !important; }
.storefront .km-hero-slider [class*="mt-8"] { margin-top: .9rem !important; }

.storefront .km-benefit-grid > div { padding: .65rem !important; border-radius: 10px !important; }
.storefront .km-home-section { padding-top: 1.55rem !important; padding-bottom: 1.55rem !important; }
.storefront .km-home-section.bg-zinc-50 { padding-top: 0 !important; padding-bottom: 0 !important; }
.storefront .km-home-section.bg-zinc-50 > div { padding-top: 1.55rem !important; padding-bottom: 1.55rem !important; }
.storefront .km-category-grid .category-card-image { aspect-ratio: 16 / 9; }
.storefront .km-category-grid .premium-card > div { padding: .7rem !important; }
.storefront .km-category-grid h3 { margin-top: .25rem !important; font-size: .9rem !important; }
.storefront .km-category-grid p { margin-top: .25rem !important; font-size: .72rem !important; line-height: 1.35 !important; }
.storefront .km-brand-grid .premium-card { min-height: 72px !important; padding: .65rem !important; }
.storefront .km-brand-grid .brand-card-image { max-height: 36px; }

.storefront .product-detail-main { max-height: 460px; }
.storefront footer { margin-top: 1.8rem !important; }
.storefront footer > div { gap: 1.1rem !important; padding-top: 1.4rem !important; padding-bottom: 1.4rem !important; }
.storefront footer img { height: 36px !important; }
.storefront .footer-link { margin-top: .34rem; font-size: .74rem; }

@media (min-width: 1280px) {
    .storefront .km-product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
    .storefront .km-search-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 1023px) {
    .storefront .km-hero-slider [data-hero-slide] > div { min-height: 255px !important; }
    .storefront .product-detail-main { max-height: 55vw; }
}

@media (max-width: 767px) {
    .storefront { font-size: 12.5px; }
    .storefront header > div:first-child {
        min-height: 42px;
        gap: .3rem !important;
        padding: .3rem .65rem !important;
    }
    .storefront header img { max-height: 23px; max-width: 90px; }
    .storefront header nav { gap: .05rem !important; font-size: .66rem; }
    .storefront header .nav-link { padding: .3rem .34rem; font-size: .66rem; }
    .storefront header .rounded-full.bg-brand { padding: .36rem .48rem !important; font-size: .66rem; }
    .storefront header .rounded-full.bg-brand span { padding-left: .28rem !important; padding-right: .28rem !important; }
    .storefront header > div:nth-of-type(2) > div { padding: .32rem .65rem !important; }
    .storefront header > div:nth-of-type(2) input { height: 32px !important; font-size: .72rem !important; }
    .storefront header > div:last-child > div {
        gap: .25rem !important;
        padding: .3rem .65rem !important;
        font-size: .66rem !important;
    }
    .storefront .pill { padding: .28rem .48rem; font-size: .65rem; }

    .storefront .px-4 { padding-left: .65rem !important; padding-right: .65rem !important; }
    .storefront .py-20,
    .storefront .py-16,
    .storefront .py-14 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
    .storefront .py-12,
    .storefront .py-10 { padding-top: 1.05rem !important; padding-bottom: 1.05rem !important; }
    .storefront .py-8 { padding-top: .9rem !important; padding-bottom: .9rem !important; }
    .storefront .p-10,
    .storefront .p-8 { padding: .78rem !important; }
    .storefront .p-6,
    .storefront .p-5 { padding: .65rem !important; }
    .storefront .gap-10,
    .storefront .gap-8,
    .storefront .gap-6 { gap: .7rem !important; }

    .storefront .text-7xl,
    .storefront .text-6xl { font-size: 1.55rem !important; }
    .storefront .text-5xl { font-size: 1.4rem !important; }
    .storefront .text-4xl { font-size: 1.25rem !important; }
    .storefront .text-3xl { font-size: 1.12rem !important; }
    .storefront .text-2xl { font-size: 1rem !important; }

    .storefront .km-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: .5rem !important;
    }
    .storefront .km-product-grid .store-product-card,
    .storefront .km-product-grid .product-card { min-width: 0; }
    .storefront .store-product-card > div:last-child { padding: .5rem !important; }
    .storefront .store-product-card .product-title {
        min-height: 2rem;
        font-size: .72rem;
        line-height: 1.25;
    }
    .storefront .store-product-card .product-price { font-size: .82rem; white-space: nowrap; }
    .storefront .store-product-card [class*="text-[10px]"] { font-size: 8px !important; }
    .storefront .store-product-card [class*="text-[11px]"] { font-size: 8.5px !important; }
    .storefront .store-product-card [class*="px-2.5"] { padding-left: .38rem !important; padding-right: .38rem !important; }
    .storefront .store-product-card [class*="py-1"] { padding-top: .2rem !important; padding-bottom: .2rem !important; }
    .storefront .store-product-card .product-actions {
        grid-template-columns: minmax(0, 1fr) 29px;
        gap: .28rem !important;
    }
    .storefront .store-product-card .product-actions > * { min-height: 29px; border-radius: 7px; font-size: .66rem; }
    .storefront .store-product-card button[class*="h-8"] { width: 27px !important; height: 27px !important; font-size: .78rem !important; }
    .storefront .store-product-card button[class*="min-h-10"] { min-width: 29px !important; min-height: 29px !important; }
    .storefront .store-product-card a[class*="col-span-2"] { padding: .38rem !important; font-size: .62rem !important; }
    .km-cart-label-full,
    .km-action-full { display: none; }
    .km-cart-label-short,
    .km-action-short { display: inline; }
    .storefront .km-product-grid .km-card-meta,
    .storefront .km-product-grid .km-card-stock { display: none; }
    .storefront .km-product-grid .km-card-corner-action {
        display: flex;
        width: 26px;
        height: 26px;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        font-size: .78rem !important;
    }

    .storefront .km-hero-slider { padding-top: .45rem !important; padding-bottom: .45rem !important; }
    .storefront .km-hero-slider > div { border-radius: 11px !important; }
    .storefront .km-hero-slider [data-hero-slide] > div {
        grid-template-columns: minmax(0, 1.12fr) minmax(90px, .88fr) !important;
        min-height: 175px !important;
        gap: .45rem !important;
        padding: .65rem !important;
        align-items: center !important;
    }
    .storefront .km-hero-slider [data-hero-slide] h1 {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        font-size: 1.18rem !important;
        line-height: 1.08 !important;
    }
    .storefront .km-hero-slider [data-hero-slide] [class*="mb-5"] {
        margin-bottom: .35rem !important;
        padding: .28rem .48rem !important;
        font-size: .58rem !important;
    }
    .storefront .km-hero-slider [data-hero-slide] [class*="mt-8"] { margin-top: .45rem !important; }
    .storefront .km-hero-slider [data-hero-slide] a[class*="px-8"] {
        padding: .42rem .62rem !important;
        font-size: .62rem !important;
    }
    .storefront .km-hero-slider .km-hero-img { height: 105px !important; max-height: none; }
    .storefront .km-hero-slider [data-hero-prev],
    .storefront .km-hero-slider [data-hero-next] { display: none !important; }
    .storefront .km-hero-slider [data-hero-dot] { height: 5px !important; }

    .storefront .km-fallback-hero > div.relative {
        grid-template-columns: minmax(0, 1.15fr) minmax(120px, .85fr) !important;
        gap: .65rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .storefront .km-fallback-hero p { font-size: .72rem !important; line-height: 1.4 !important; }
    .storefront .km-fallback-hero [class*="mt-8"] { margin-top: .6rem !important; }
    .storefront .km-fallback-hero a { padding: .48rem .65rem !important; font-size: .64rem !important; }
    .storefront .km-fallback-hero img { height: 72px !important; }
    .storefront .km-fallback-hero .rounded-\[2rem\] { padding: .45rem !important; }
    .storefront .km-fallback-hero .rounded-\[1\.5rem\] { padding: .55rem !important; }
    .storefront .km-fallback-hero .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: .3rem !important;
        margin-top: .5rem !important;
    }
    .storefront .km-fallback-hero .sm\:grid-cols-3 > div { padding: .35rem !important; font-size: .6rem !important; }

    .storefront .km-benefit-grid { gap: .4rem !important; padding-top: .55rem !important; padding-bottom: .55rem !important; }
    .storefront .km-benefit-grid > div { padding: .48rem !important; font-size: .64rem; }
    .storefront .km-home-section { padding-top: .9rem !important; padding-bottom: .9rem !important; }
    .storefront .km-home-section.bg-zinc-50 { padding-top: 0 !important; padding-bottom: 0 !important; }
    .storefront .km-home-section.bg-zinc-50 > div { padding-top: .9rem !important; padding-bottom: .9rem !important; }
    .storefront .km-home-section .mb-6 { margin-bottom: .55rem !important; }
    .storefront .km-home-section p.mt-2 { margin-top: .2rem !important; font-size: .68rem !important; }
    .storefront .km-category-grid { gap: .5rem !important; }
    .storefront .km-category-grid .premium-card > div { padding: .5rem !important; }
    .storefront .km-category-grid h3 { font-size: .76rem !important; }
    .storefront .km-category-grid p { display: none; }
    .storefront .km-category-grid span { font-size: .58rem !important; }
    .storefront .km-brand-grid { gap: .45rem !important; }
    .storefront .km-brand-grid .premium-card { min-height: 56px !important; padding: .45rem !important; }
    .storefront .km-brand-grid .brand-card-image { max-height: 27px; }

    .storefront .product-detail-main { max-height: 52vw; }
    .storefront footer { margin-top: 1.1rem !important; }
    .storefront footer > div { grid-template-columns: 1fr 1fr !important; gap: .8rem !important; padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .storefront footer > div > div:first-child { grid-column: 1 / -1; }
    .storefront footer img { height: 29px !important; }
    .storefront footer p { margin-top: .45rem !important; font-size: .68rem !important; line-height: 1.4 !important; }
    .storefront footer h3 { font-size: .76rem; }
    .storefront .footer-link { margin-top: .25rem; font-size: .66rem; }
}

@media (max-width: 479px) {
    .storefront header nav .nav-link[href*="register"],
    .storefront header nav .nav-link[href*="logout"],
    .storefront header nav .nav-link[href*="siparislerim"] { display: none !important; }
    .storefront .km-hero-slider [data-hero-slide] > div { min-height: 165px !important; }
    .storefront .km-hero-slider .km-hero-img { height: 92px !important; }
    .storefront .km-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .storefront footer > div { grid-template-columns: 1fr 1fr !important; }
}
