/* =====================================================================
   Fotoğraf Albümü E-Ticaret - Ön Yüz Stilleri
   Tasarım dili: sıcak, sade, editoryal. Sistem fontları kullanılır
   (dış bağımlılık yok, hızlı yüklenir).
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. DEĞİŞKENLER
   ------------------------------------------------------------------- */
:root {
    --ink:         #2f2a26;
    --ink-soft:    #4a433c;
    --muted:       #8a8178;
    --accent:      #a67c52;
    --accent-dark: #8a6440;
    --accent-soft: #f0e5d8;
    --cream:       #faf8f5;
    --surface:     #ffffff;
    --border:      #e8e1d7;
    --border-soft: #f1ece4;
    --success:     #2e9e5b;
    --danger:      #c0392b;
    --warning:     #d18b17;
    --info:        #3a7ca5;

    --radius:    10px;
    --radius-sm: 6px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 3px rgba(47, 42, 38, .07);
    --shadow:    0 4px 16px rgba(47, 42, 38, .08);
    --shadow-lg: 0 12px 36px rgba(47, 42, 38, .13);

    --serif: Georgia, 'Times New Roman', 'Noto Serif', serif;
    --sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --container: 1240px;
    --header-h:  76px;
}

/* ---------------------------------------------------------------------
   2. TEMEL
   ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-soft);
    background: var(--cream);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4, h5 {
    font-family: var(--serif);
    color: var(--ink);
    line-height: 1.25;
    margin: 0 0 .6em;
    font-weight: 700;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }

hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Yalnızca ekran okuyucular için */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Klavye ile gezinenler için görünür odak halkası */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* İçeriğe atla bağlantısı */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 1000;
    background: var(--ink); color: #fff; padding: 12px 20px;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------------------------------------------------------------------
   3. BUTONLAR
   ------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    transition: background .18s ease, transform .12s ease, box-shadow .18s ease, border-color .18s ease;
    -webkit-appearance: none;
    appearance: none;
}
.btn:hover  { background: var(--accent-dark); color: #fff; box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

.btn-outline { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.btn-dark  { background: var(--ink); }
.btn-dark:hover { background: #1e1a17; }

.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--ink); }

.btn-danger  { background: var(--danger); }
.btn-danger:hover  { background: #a13226; }

.btn-success { background: var(--success); }
.btn-success:hover { background: #24804a; }

.btn-sm  { padding: 8px 16px;  font-size: 13px; }
.btn-lg  { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------------
   4. FORMLAR
   ------------------------------------------------------------------- */
.form-group { margin-bottom: 18px; }

label, .form-label {
    display: block;
    margin-bottom: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}
.form-label .req { color: var(--danger); }

.form-control, input[type=text], input[type=email], input[type=password],
input[type=tel], input[type=number], input[type=search], input[type=date],
input[type=url], select, textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-family: var(--sans);
    font-size: 14.5px;
    color: var(--ink);
    transition: border-color .18s ease, box-shadow .18s ease;
    -webkit-appearance: none;
    appearance: none;
}
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%238a8178' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 11px;
    padding-right: 38px;
}
textarea { min-height: 130px; resize: vertical; }

.form-control:focus, input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(166, 124, 82, .13);
    outline: none;
}
.form-control::placeholder { color: #b6ada2; }

.form-hint  { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.form-error { font-size: 12.5px; color: var(--danger); margin-top: 5px; }
.form-control.is-invalid { border-color: var(--danger); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 12px;
    font-size: 14px;
}
.form-check input[type=checkbox], .form-check input[type=radio] {
    width: 17px; height: 17px; margin: 3px 0 0; flex-shrink: 0;
    accent-color: var(--accent); cursor: pointer;
}
.form-check label { margin: 0; font-weight: 400; cursor: pointer; color: var(--ink-soft); }

/* ---------------------------------------------------------------------
   5. BİLDİRİMLER / ROZETLER
   ------------------------------------------------------------------- */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border-left: 4px solid;
    margin-bottom: 18px;
    font-size: 14.5px;
}
.alert-success { background: #eaf7ee; border-color: var(--success); color: #1e6b3c; }
.alert-error,
.alert-danger  { background: #fdecea; border-color: var(--danger);  color: #8e2a1f; }
.alert-warning { background: #fff8e6; border-color: var(--warning);  color: #8a5c0c; }
.alert-info    { background: #e9f2f8; border-color: var(--info);     color: #275a78; }

.badge {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .3px;
    line-height: 1.5;
    background: var(--accent-soft);
    color: var(--accent-dark);
}
.badge-success   { background: #e2f4e9; color: #1e6b3c; }
.badge-danger    { background: #fbe3e0; color: #8e2a1f; }
.badge-warning   { background: #fdf1d9; color: #8a5c0c; }
.badge-info      { background: #e4eff6; color: #275a78; }
.badge-primary   { background: #e6e9f5; color: #364a8a; }
.badge-secondary { background: #eeebe6; color: #6b6259; }

/* ---------------------------------------------------------------------
   6. ÜST BİLGİ (HEADER)
   ------------------------------------------------------------------- */
.topbar {
    background: var(--ink);
    color: #cfc7bd;
    font-size: 13px;
    padding: 8px 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { color: #cfc7bd; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-social { display: flex; gap: 14px; align-items: center; }
.topbar-social a { display: inline-flex; }
.topbar svg { width: 15px; height: 15px; fill: currentColor; vertical-align: -2px; }

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
}
.header-main {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: var(--header-h);
    padding: 12px 0;
}
.site-logo img { max-height: 50px; width: auto; }
.site-logo-text { font-family: var(--serif); font-size: 25px; font-weight: 700; color: var(--ink); }

.header-search { flex: 1; max-width: 480px; position: relative; }
.header-search input {
    padding-right: 46px;
    background: var(--cream);
    border-color: transparent;
}
.header-search input:focus { background: #fff; }
.header-search button {
    position: absolute; right: 4px; top: 4px; bottom: 4px;
    width: 40px; border: 0; border-radius: var(--radius-sm);
    background: transparent; color: var(--muted); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.header-search button:hover { color: var(--accent); }
.header-search svg { width: 18px; height: 18px; fill: currentColor; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-action {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 12px; border-radius: var(--radius-sm);
    color: var(--ink); font-size: 13.5px; font-weight: 600;
    position: relative; background: none; border: 0; cursor: pointer;
    font-family: var(--sans);
}
.header-action:hover { background: var(--cream); color: var(--ink); }
.header-action svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.header-action .label { display: inline; }

.cart-count {
    position: absolute; top: 2px; left: 26px;
    min-width: 19px; height: 19px; padding: 0 5px;
    background: var(--accent); color: #fff;
    border-radius: 100px;
    font-size: 11px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}

.menu-toggle { display: none; }

/* Ana gezinme */
.main-nav { border-top: 1px solid var(--border-soft); background: var(--surface); }
.main-nav > .container { display: flex; align-items: center; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; flex-wrap: wrap; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: block;
    padding: 14px 16px;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: .1px;
    border-bottom: 2px solid transparent;
}
.nav-list > li > a:hover,
.nav-list > li.has-children:hover > a { color: var(--accent); border-bottom-color: var(--accent); }

.nav-list .caret { display: inline-block; margin-left: 5px; font-size: 10px; opacity: .6; }

.submenu {
    position: absolute; top: 100%; left: 0; z-index: 210;
    min-width: 232px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    list-style: none; margin: 0; padding: 7px 0;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-list > li:hover > .submenu,
.nav-list > li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
    display: block; padding: 9px 18px;
    color: var(--ink-soft); font-size: 14px;
}
.submenu a:hover { background: var(--cream); color: var(--accent); }

/* ---------------------------------------------------------------------
   7. MOBİL MENÜ
   ------------------------------------------------------------------- */
.mobile-nav {
    position: fixed; top: 0; left: -320px; bottom: 0; z-index: 400;
    width: 300px; max-width: 86vw;
    background: #fff;
    box-shadow: 6px 0 30px rgba(0,0,0,.16);
    transition: left .28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { left: 0; }
.mobile-nav-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.mobile-nav-close {
    background: none; border: 0; font-size: 26px; line-height: 1;
    color: var(--muted); cursor: pointer; padding: 0 4px;
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li > a,
.mobile-nav .m-parent > a {
    display: block; padding: 13px 20px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--ink); font-weight: 600; font-size: 15px;
}
.mobile-nav .m-sub { background: var(--cream); display: none; }
.mobile-nav .m-sub.open { display: block; }
.mobile-nav .m-sub a {
    display: block; padding: 11px 20px 11px 34px;
    font-size: 14px; color: var(--ink-soft);
    border-bottom: 1px solid var(--border-soft);
}
.m-toggle {
    float: right; background: none; border: 0; cursor: pointer;
    color: var(--muted); font-size: 15px; padding: 0 6px;
}
.overlay {
    position: fixed; inset: 0; z-index: 390;
    background: rgba(47,42,38,.5);
    opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s;
}
.overlay.show { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------------
   8. SLIDER
   ------------------------------------------------------------------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero-slides { position: relative; }
.hero-slide {
    display: none;
    position: relative;
    min-height: 460px;
}
.hero-slide.active { display: block; animation: fadeIn .6s ease; }
@keyframes fadeIn { from { opacity: .35; } to { opacity: 1; } }

.hero-slide img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-content {
    position: relative; z-index: 2;
    min-height: 460px;
    display: flex; flex-direction: column; justify-content: center;
    padding: 70px 0;
    max-width: 620px;
}
.hero-slide[data-pos="center"] .hero-content { margin: 0 auto; text-align: center; align-items: center; }
.hero-slide[data-pos="right"]  .hero-content { margin-left: auto; text-align: right; align-items: flex-end; }

.hero-subtitle {
    display: inline-block;
    font-size: 13px; font-weight: 700;
    letter-spacing: 2.4px; text-transform: uppercase;
    color: #f0dcc4; margin-bottom: 14px;
}
.hero-title {
    font-size: clamp(1.9rem, 4.6vw, 3.2rem);
    color: #fff; margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero-text {
    font-size: 16.5px; color: rgba(255,255,255,.9);
    margin-bottom: 28px; max-width: 480px;
    text-shadow: 0 1px 12px rgba(0,0,0,.35);
}

.hero-nav {
    position: absolute; top: 50%; z-index: 3;
    transform: translateY(-50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.28);
    color: #fff; font-size: 19px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease;
}
.hero-nav:hover { background: rgba(255,255,255,.3); }
.hero-prev { left: 22px; }
.hero-next { right: 22px; }

.hero-dots {
    position: absolute; bottom: 22px; left: 50%; z-index: 3;
    transform: translateX(-50%);
    display: flex; gap: 9px;
}
.hero-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.45);
    border: 0; cursor: pointer; padding: 0;
    transition: background .2s ease, width .2s ease;
}
.hero-dot.active { background: #fff; width: 26px; border-radius: 100px; }

/* ---------------------------------------------------------------------
   9. BÖLÜM BAŞLIKLARI
   ------------------------------------------------------------------- */
.section { padding: 60px 0; }
.section-alt { background: var(--surface); }

.section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 20px; margin-bottom: 34px;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-title { margin: 0 0 6px; font-size: 1.85rem; }
.section-subtitle { margin: 0; color: var(--muted); font-size: 15px; }
.section-link { white-space: nowrap; font-weight: 600; font-size: 14px; }

/* ---------------------------------------------------------------------
   10. ÜRÜN KARTI
   ------------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
    gap: 26px;
}
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--border);
}
.product-thumb {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--cream);
    overflow: hidden;
}
.product-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.05); }

.product-labels {
    position: absolute; top: 11px; left: 11px; z-index: 2;
    display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.product-label {
    padding: 4px 10px; border-radius: 4px;
    font-size: 11px; font-weight: 700; letter-spacing: .3px;
    color: #fff; background: var(--ink);
}
.label-discount { background: var(--danger); }
.label-new      { background: var(--success); }
.label-best     { background: var(--accent); }
.label-out      { background: var(--muted); }

.product-body {
    padding: 16px 17px 18px;
    display: flex; flex-direction: column;
    flex: 1;
}
.product-category {
    font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px;
    color: var(--muted); margin-bottom: 7px;
}
.product-name {
    font-family: var(--serif);
    font-size: 15.5px; font-weight: 700; line-height: 1.4;
    margin: 0 0 12px;
}
.product-name a { color: var(--ink); }
.product-name a:hover { color: var(--accent); }

.product-price { margin-top: auto; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price-now { font-size: 18px; font-weight: 700; color: var(--ink); font-family: var(--serif); }
.price-old { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.price-from { font-size: 12px; color: var(--muted); }

.product-actions { margin-top: 14px; display: flex; gap: 8px; }
.product-actions .btn { flex: 1; }

/* ---------------------------------------------------------------------
   11. KATEGORİ KARTLARI
   ------------------------------------------------------------------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
    gap: 24px;
}
.category-card {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--ink);
}
.category-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.category-card:hover img { transform: scale(1.06); }
.category-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(28,24,21,.85) 0%, rgba(28,24,21,.25) 48%, transparent 72%);
}
.category-info {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 22px;
    color: #fff;
}
.category-info h3 { color: #fff; margin: 0 0 4px; font-size: 1.22rem; }
.category-info span { font-size: 13px; opacity: .82; }

/* ---------------------------------------------------------------------
   12. BANNER / KAMPANYA
   ------------------------------------------------------------------- */
.banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.banner-card {
    position: relative; display: block;
    border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 16 / 9; background: var(--ink);
}
.banner-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.banner-card:hover img { transform: scale(1.05); }
.banner-overlay {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(to top, rgba(28,24,21,.82), transparent 62%);
    color: #fff;
}
.banner-overlay h3 { color: #fff; margin: 0 0 4px; font-size: 1.15rem; }
.banner-overlay p  { margin: 0; font-size: 13.5px; opacity: .88; }

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.campaign-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .22s ease, box-shadow .22s ease;
}
.campaign-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.campaign-thumb { position: relative; aspect-ratio: 3 / 2; background: var(--cream); }
.campaign-thumb img { width: 100%; height: 100%; object-fit: cover; }
.campaign-badge {
    position: absolute; top: 13px; right: 13px;
    background: var(--danger); color: #fff;
    padding: 6px 14px; border-radius: 100px;
    font-size: 12.5px; font-weight: 700;
}
.campaign-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.campaign-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.campaign-body p { color: var(--muted); font-size: 14px; flex: 1; }
.campaign-date { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* ---------------------------------------------------------------------
   13. STORE BÖLÜMÜ
   ------------------------------------------------------------------- */
.store-band { background: var(--ink); color: #ddd5cb; padding: 66px 0; }
.store-band h2 { color: #fff; }
.store-band .section-subtitle { color: rgba(255,255,255,.68); }
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin-top: 34px;
}
.store-item {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: var(--radius);
    padding: 30px 22px;
    text-align: center;
    transition: background .2s ease, transform .2s ease;
}
.store-item:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); }
.store-icon {
    width: 46px; height: 46px; margin: 0 auto 15px;
    color: var(--accent);
}
.store-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.store-item h3 { color: #fff; font-size: 1.05rem; margin-bottom: 7px; }
.store-item p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,.66); }

/* ---------------------------------------------------------------------
   14. BLOG
   ------------------------------------------------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 28px;
}
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: transform .22s ease, box-shadow .22s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-thumb { display: block; aspect-ratio: 16 / 10; background: var(--cream); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 20px 21px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-meta {
    display: flex; gap: 12px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--muted); margin-bottom: 10px;
}
.blog-meta a { color: var(--accent); }
.blog-title { font-size: 1.13rem; margin: 0 0 10px; line-height: 1.4; }
.blog-title a { color: var(--ink); }
.blog-title a:hover { color: var(--accent); }
.blog-summary { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 14px; }
.blog-more { font-size: 13.5px; font-weight: 600; }

/* Blog yazı içeriği */
.article-body { font-size: 16px; line-height: 1.85; color: var(--ink-soft); }
.article-body h2 { font-size: 1.5rem; margin: 1.9em 0 .6em; }
.article-body h3 { font-size: 1.22rem; margin: 1.6em 0 .5em; }
.article-body img { border-radius: var(--radius); margin: 1.4em 0; }
.article-body ul, .article-body ol { padding-left: 1.5em; margin-bottom: 1.3em; }
.article-body li { margin-bottom: .5em; }
.article-body blockquote {
    margin: 1.6em 0; padding: 4px 0 4px 22px;
    border-left: 3px solid var(--accent);
    color: var(--ink); font-style: italic;
}
.article-body a { text-decoration: underline; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 10px 13px; text-align: left; }
.article-body th { background: var(--cream); }

/* ---------------------------------------------------------------------
   15. BREADCRUMB
   ------------------------------------------------------------------- */
.breadcrumb { background: var(--surface); border-bottom: 1px solid var(--border-soft); padding: 13px 0; }
.breadcrumb ol {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    font-size: 13px; color: var(--muted);
}
.breadcrumb li + li::before { content: '›'; margin-right: 8px; opacity: .55; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------------
   16. SAYFA BAŞLIĞI
   ------------------------------------------------------------------- */
.page-head { background: var(--surface); padding: 40px 0 34px; border-bottom: 1px solid var(--border-soft); }
.page-head h1 { margin: 0 0 8px; }
.page-head p  { margin: 0; color: var(--muted); max-width: 720px; }

/* ---------------------------------------------------------------------
   17. LİSTELEME DÜZENİ (KENAR ÇUBUKLU)
   ------------------------------------------------------------------- */
.layout-sidebar {
    display: grid;
    grid-template-columns: 268px 1fr;
    gap: 34px;
    align-items: start;
}
.layout-sidebar.right { grid-template-columns: 1fr 300px; }

.sidebar-box {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 22px;
}
.sidebar-box h3 {
    font-size: 1.02rem;
    margin: 0 0 15px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--border-soft);
}
.sidebar-list { list-style: none; margin: 0; padding: 0; }
.sidebar-list li { border-bottom: 1px solid var(--border-soft); }
.sidebar-list li:last-child { border-bottom: 0; }
.sidebar-list a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 0; color: var(--ink-soft); font-size: 14px;
}
.sidebar-list a:hover, .sidebar-list a.active { color: var(--accent); }
.sidebar-list a.active { font-weight: 700; }
.sidebar-list .count { font-size: 12px; color: var(--muted); }
.sidebar-list .sub { padding-left: 14px; }
.sidebar-list .sub a { font-size: 13.5px; color: var(--muted); }

.toolbar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
}
.toolbar-count { font-size: 14px; color: var(--muted); }
.toolbar select { width: auto; min-width: 200px; padding: 8px 34px 8px 12px; font-size: 13.5px; }

/* ---------------------------------------------------------------------
   18. ÜRÜN DETAY
   ------------------------------------------------------------------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.gallery-main {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
    gap: 11px; margin-top: 13px;
}
.gallery-thumb {
    aspect-ratio: 1 / 1;
    border: 2px solid var(--border-soft);
    border-radius: var(--radius-sm);
    overflow: hidden; cursor: pointer;
    background: var(--surface); padding: 0;
    transition: border-color .18s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); }

.pd-title { font-size: 1.95rem; margin-bottom: 12px; }
.pd-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.pd-meta strong { color: var(--ink-soft); font-weight: 600; }

.pd-price {
    display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
    padding: 18px 0; margin-bottom: 20px;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.pd-price .now { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--ink); }
.pd-price .old { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.pd-price .save { background: var(--danger); color: #fff; padding: 4px 11px; border-radius: 4px; font-size: 12.5px; font-weight: 700; }

.pd-short { color: var(--ink-soft); margin-bottom: 24px; font-size: 15px; }

.variant-group { margin-bottom: 20px; }
.variant-group > label { margin-bottom: 9px; }
.variant-group .selected-value { font-weight: 400; color: var(--muted); }
.variant-options { display: flex; flex-wrap: wrap; gap: 9px; }

.variant-opt {
    padding: 9px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 13.5px; font-weight: 600; color: var(--ink);
    cursor: pointer; font-family: var(--sans);
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.variant-opt:hover:not(:disabled) { border-color: var(--accent); }
.variant-opt.selected { border-color: var(--accent); background: var(--accent); color: #fff; }
.variant-opt:disabled { opacity: .34; cursor: not-allowed; text-decoration: line-through; }

.variant-opt.color {
    width: 40px; height: 40px; padding: 0;
    border-radius: 50%; position: relative;
    border-width: 2px;
}
.variant-opt.color.selected { border-color: var(--ink); background: none; box-shadow: 0 0 0 2px #fff inset; }
.variant-opt.color::after {
    content: attr(data-title);
    position: absolute; bottom: calc(100% + 7px); left: 50%; transform: translateX(-50%);
    background: var(--ink); color: #fff; padding: 4px 9px; border-radius: 4px;
    font-size: 11.5px; white-space: nowrap; opacity: 0; pointer-events: none;
    transition: opacity .16s ease;
}
.variant-opt.color:hover::after { opacity: 1; }

.stock-line { font-size: 13.5px; margin-bottom: 18px; font-weight: 600; }
.in-stock  { color: var(--success); }
.low-stock { color: var(--warning); }
.no-stock  { color: var(--danger); }

.pd-buy { display: flex; gap: 12px; align-items: stretch; margin-bottom: 22px; flex-wrap: wrap; }

.qty-box {
    display: flex; align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden; background: #fff;
}
.qty-box button {
    width: 42px; height: 46px; border: 0; background: none;
    font-size: 19px; color: var(--ink); cursor: pointer; line-height: 1;
}
.qty-box button:hover { background: var(--cream); }
.qty-box input {
    width: 52px; height: 46px; border: 0; text-align: center;
    font-size: 15px; font-weight: 700; padding: 0;
    -moz-appearance: textfield;
}
.qty-box input::-webkit-outer-spin-button,
.qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-buy .btn { flex: 1; min-width: 190px; }

.pd-features { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--border-soft); padding-top: 20px; }
.pd-features li {
    display: flex; align-items: center; gap: 11px;
    padding: 7px 0; font-size: 14px; color: var(--ink-soft);
}
.pd-features svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Sekmeler */
.tabs { margin-top: 56px; }
.tab-nav {
    display: flex; gap: 4px; flex-wrap: wrap;
    border-bottom: 2px solid var(--border);
    margin-bottom: 26px;
}
.tab-btn {
    padding: 13px 22px; border: 0; background: none;
    font-family: var(--sans); font-size: 14.5px; font-weight: 600;
    color: var(--muted); cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .3s ease; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.spec-table th { width: 34%; color: var(--muted); font-weight: 600; background: var(--cream); }

/* ---------------------------------------------------------------------
   19. SEPET
   ------------------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 32px; align-items: start; }

.cart-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.cart-table th {
    background: var(--cream); padding: 14px 16px; text-align: left;
    font-size: 12.5px; text-transform: uppercase; letter-spacing: .7px; color: var(--muted);
    font-weight: 700;
}
.cart-table td { padding: 18px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: 0; }

.cart-product { display: flex; gap: 15px; align-items: center; }
.cart-product img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-product-name { font-weight: 700; color: var(--ink); font-size: 14.5px; display: block; margin-bottom: 3px; }
.cart-product-name:hover { color: var(--accent); }
.cart-variant { font-size: 12.5px; color: var(--muted); }
.cart-remove { color: var(--muted); background: none; border: 0; cursor: pointer; font-size: 13px; padding: 4px 0; }
.cart-remove:hover { color: var(--danger); }

.cart-qty { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); width: fit-content; }
.cart-qty button { width: 34px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 16px; color: var(--ink); }
.cart-qty button:hover { background: var(--cream); }
.cart-qty input { width: 44px; height: 36px; border: 0; text-align: center; font-weight: 700; font-size: 14px; -moz-appearance: textfield; }
.cart-qty input::-webkit-outer-spin-button, .cart-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.summary-box {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky; top: calc(var(--header-h) + 18px);
}
.summary-box h3 { font-size: 1.15rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border-soft); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14.5px; }
.summary-row .label { color: var(--muted); }
.summary-total {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: 14px; padding-top: 16px;
    border-top: 2px solid var(--ink);
    font-size: 1.05rem; font-weight: 700; color: var(--ink);
}
.summary-total .amount { font-family: var(--serif); font-size: 1.5rem; }
.free-shipping-note {
    background: var(--accent-soft); color: var(--accent-dark);
    padding: 11px 14px; border-radius: var(--radius-sm);
    font-size: 13px; margin: 14px 0 0; text-align: center;
}

.empty-state { text-align: center; padding: 70px 20px; }
.empty-state svg { width: 74px; height: 74px; color: var(--border); margin: 0 auto 22px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.empty-state h2 { margin-bottom: 10px; }
.empty-state p { color: var(--muted); margin-bottom: 26px; }

/* ---------------------------------------------------------------------
   20. ÖDEME
   ------------------------------------------------------------------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 370px; gap: 34px; align-items: start; }

.checkout-block {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 22px;
}
.checkout-block h3 {
    font-size: 1.1rem; margin: 0 0 20px;
    padding-bottom: 13px; border-bottom: 1px solid var(--border-soft);
    display: flex; align-items: center; gap: 11px;
}
.step-num {
    width: 27px; height: 27px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; font-family: var(--sans); flex-shrink: 0;
}

.payment-option {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin-bottom: 13px;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease;
}
.payment-option:hover { border-color: var(--accent); }
.payment-option.selected { border-color: var(--accent); background: #fdfaf6; }
.payment-option .po-head { display: flex; align-items: center; gap: 11px; }
.payment-option input[type=radio] { width: 18px; height: 18px; accent-color: var(--accent); }
.payment-option .po-title { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.payment-option .po-desc { font-size: 13px; color: var(--muted); margin: 8px 0 0 29px; }
.payment-body { margin: 15px 0 0 29px; display: none; }
.payment-option.selected .payment-body { display: block; }

.bank-card {
    background: var(--cream);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 15px 17px;
    margin-bottom: 11px;
    font-size: 13.5px;
}
.bank-card .bank-name { font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.bank-card .iban {
    font-family: 'SF Mono', Menlo, Consolas, monospace;
    font-size: 13.5px; letter-spacing: .4px; color: var(--ink);
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-top: 6px;
}
.copy-btn {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 4px; padding: 3px 10px;
    font-size: 11.5px; cursor: pointer; color: var(--muted);
    font-family: var(--sans);
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

.order-mini-item { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border-soft); }
.order-mini-item:last-of-type { border-bottom: 0; }
.order-mini-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.order-mini-info { flex: 1; min-width: 0; }
.order-mini-name { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.order-mini-variant { font-size: 12px; color: var(--muted); }
.order-mini-price { font-size: 13.5px; font-weight: 700; white-space: nowrap; }

/* ---------------------------------------------------------------------
   21. HESABIM
   ------------------------------------------------------------------- */
.account-layout { display: grid; grid-template-columns: 262px 1fr; gap: 32px; align-items: start; }

.account-nav {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
}
.account-user { padding: 22px; border-bottom: 1px solid var(--border-soft); text-align: center; }
.account-avatar {
    width: 62px; height: 62px; margin: 0 auto 12px;
    border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark);
    display: flex; align-items: center; justify-content: center;
    font-size: 23px; font-weight: 700; font-family: var(--serif);
}
.account-user strong { display: block; color: var(--ink); font-size: 15px; }
.account-user span { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.account-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.account-nav a {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 22px;
    color: var(--ink-soft); font-size: 14.5px; font-weight: 500;
    border-left: 3px solid transparent;
}
.account-nav a:hover { background: var(--cream); color: var(--ink); }
.account-nav a.active { color: var(--accent); border-left-color: var(--accent); background: #fdfaf6; font-weight: 700; }
.account-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.panel {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 22px;
}
.panel-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 14px; flex-wrap: wrap;
    margin-bottom: 20px; padding-bottom: 15px;
    border-bottom: 1px solid var(--border-soft);
}
.panel-head h2, .panel-head h3 { margin: 0; font-size: 1.18rem; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card {
    background: var(--surface); border: 1px solid var(--border-soft);
    border-radius: var(--radius); padding: 20px;
}
.stat-card .value { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.stat-card .label { font-size: 13px; color: var(--muted); margin-top: 4px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
    background: var(--cream); padding: 12px 14px; text-align: left;
    font-size: 12px; text-transform: uppercase; letter-spacing: .6px;
    color: var(--muted); font-weight: 700; white-space: nowrap;
}
.data-table td { padding: 14px; border-bottom: 1px solid var(--border-soft); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--cream); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Sipariş durum çizgisi */
.status-track { display: flex; margin: 26px 0; overflow-x: auto; padding-bottom: 6px; }
.status-step { flex: 1; text-align: center; position: relative; min-width: 92px; }
.status-step::before {
    content: ''; position: absolute; top: 15px; left: -50%;
    width: 100%; height: 2px; background: var(--border); z-index: 0;
}
.status-step:first-child::before { display: none; }
.status-step.done::before { background: var(--success); }
.status-dot {
    width: 32px; height: 32px; margin: 0 auto 9px;
    border-radius: 50%; background: #fff;
    border: 2px solid var(--border); color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; position: relative; z-index: 1;
}
.status-step.done .status-dot { background: var(--success); border-color: var(--success); color: #fff; }
.status-step.current .status-dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px rgba(166,124,82,.16); }
.status-step span { font-size: 12px; color: var(--muted); display: block; padding: 0 4px; }
.status-step.done span, .status-step.current span { color: var(--ink); font-weight: 600; }

/* Destek mesajları */
.ticket-msg {
    padding: 16px 18px; border-radius: var(--radius-sm);
    margin-bottom: 14px; font-size: 14.5px;
}
.ticket-msg.customer { background: var(--cream); border: 1px solid var(--border-soft); }
.ticket-msg.admin { background: #fdfaf6; border: 1px solid var(--accent-soft); border-left: 3px solid var(--accent); }
.ticket-msg-head {
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--muted); margin-bottom: 9px;
    padding-bottom: 8px; border-bottom: 1px solid var(--border-soft);
}
.ticket-msg-head strong { color: var(--ink); }

/* ---------------------------------------------------------------------
   22. SAYFALAMA
   ------------------------------------------------------------------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 40px; }
.page-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0 13px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--surface); color: var(--ink);
    font-size: 14px; font-weight: 600;
}
.page-link:hover { border-color: var(--accent); color: var(--accent); }
.page-link.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-dots { padding: 0 4px; color: var(--muted); }

/* ---------------------------------------------------------------------
   23. İLETİŞİM
   ------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 34px; align-items: start; }
.contact-item { display: flex; gap: 15px; margin-bottom: 22px; }
.contact-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--accent-soft); color: var(--accent-dark);
    display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.contact-item strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: 14px; color: var(--muted); }
.contact-item a:hover { color: var(--accent); }
.map-wrap { border-radius: var(--radius); overflow: hidden; margin-top: 30px; line-height: 0; }
.map-wrap iframe { width: 100%; border: 0; display: block; }

/* ---------------------------------------------------------------------
   24. GİRİŞ / KAYIT
   ------------------------------------------------------------------- */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 38px 34px;
    box-shadow: var(--shadow-sm);
}
.auth-card h1 { font-size: 1.6rem; text-align: center; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.auth-foot { text-align: center; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border-soft); font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------------
   25. SONUÇ SAYFALARI
   ------------------------------------------------------------------- */
.result-box { max-width: 620px; margin: 0 auto; text-align: center; }
.result-icon {
    width: 86px; height: 86px; margin: 0 auto 26px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.result-icon svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.result-icon.success { background: #e2f4e9; color: var(--success); }
.result-icon.error   { background: #fbe3e0; color: var(--danger); }
.result-box h1 { margin-bottom: 12px; }
.result-box > p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   26. ALT BİLGİ (FOOTER)
   ------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #b8afa5; margin-top: 70px; }

.footer-features {
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 34px 0;
}
.footer-features .container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px;
}
.footer-feature { display: flex; gap: 14px; align-items: center; }
.footer-feature svg { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
.footer-feature strong { display: block; color: #fff; font-size: 14.5px; margin-bottom: 2px; }
.footer-feature span { font-size: 13px; }

.footer-main { padding: 52px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-col h4 {
    color: #fff; font-size: 1rem; margin-bottom: 18px;
    font-family: var(--sans); font-weight: 700;
    letter-spacing: .3px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #b8afa5; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-about { font-size: 14px; line-height: 1.75; margin: 16px 0 20px; }
.footer-logo img { max-height: 46px; }

.footer-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.footer-social { display: flex; gap: 11px; margin-top: 20px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex; align-items: center; justify-content: center;
    color: #b8afa5; transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    font-size: 13px;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------
   27. YÜZEN DÜĞMELER
   ------------------------------------------------------------------- */
.whatsapp-float, .to-top {
    position: fixed; z-index: 300;
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: transform .2s ease, opacity .25s ease, visibility .25s;
}
.whatsapp-float { right: 22px; bottom: 22px; background: #25d366; color: #fff; }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float svg { width: 27px; height: 27px; fill: currentColor; }

.to-top {
    right: 22px; bottom: 86px;
    background: var(--ink); color: #fff;
    border: 0; cursor: pointer;
    opacity: 0; visibility: hidden;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ---------------------------------------------------------------------
   28. BİLDİRİM (TOAST)
   ------------------------------------------------------------------- */
#toast-wrap {
    position: fixed; top: 20px; right: 20px; z-index: 500;
    display: flex; flex-direction: column; gap: 10px;
    max-width: 340px;
}
.toast {
    background: #fff; border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 14px 18px;
    border-left: 4px solid var(--success);
    font-size: 14px; color: var(--ink);
    animation: toastIn .3s ease;
}
.toast.error   { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast.info    { border-left-color: var(--info); }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
.toast.hiding { opacity: 0; transform: translateX(40px); transition: opacity .3s ease, transform .3s ease; }

/* ---------------------------------------------------------------------
   29. YARDIMCI SINIFLAR
   ------------------------------------------------------------------- */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--muted); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.text-accent  { color: var(--accent); }
.fw-bold      { font-weight: 700; }
.nowrap       { white-space: nowrap; }
.mt-0 { margin-top: 0; }    .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 8px; }  .mb-1 { margin-bottom: 8px; }
.mt-2 { margin-top: 16px; } .mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; } .mb-3 { margin-bottom: 24px; }
.mt-4 { margin-top: 34px; } .mb-4 { margin-bottom: 34px; }
.d-flex { display: flex; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

/* ---------------------------------------------------------------------
   30. DUYARLI TASARIM (RESPONSIVE)
   ------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .product-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .header-search { order: 3; flex-basis: 100%; max-width: 100%; margin-top: 10px; }
    .header-main { flex-wrap: wrap; gap: 14px; }
    .header-action .label { display: none; }

    .layout-sidebar, .layout-sidebar.right,
    .cart-layout, .checkout-layout, .account-layout, .contact-layout {
        grid-template-columns: 1fr;
    }
    .summary-box { position: static; }
    .product-detail { grid-template-columns: 1fr; gap: 32px; }
    .pd-title { font-size: 1.6rem; }
    .hero-slide, .hero-content { min-height: 380px; }
    .section { padding: 46px 0; }
    .topbar-info { gap: 14px; font-size: 12px; }
}

@media (max-width: 767px) {
    body { font-size: 14.5px; }
    h1 { font-size: 1.65rem; }
    h2 { font-size: 1.4rem; }
    .section-title { font-size: 1.45rem; }

    .topbar .container { justify-content: center; }
    .topbar-social { display: none; }

    .product-grid, .product-grid.cols-4, .product-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .product-body { padding: 12px 12px 14px; }
    .product-name { font-size: 14px; }
    .price-now { font-size: 16px; }

    .category-grid, .blog-grid, .campaign-grid, .banner-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .form-row { grid-template-columns: 1fr; }

    .section-head { flex-direction: column; align-items: flex-start; }
    .hero-slide, .hero-content { min-height: 320px; }
    .hero-content { padding: 46px 0; }
    .hero-nav { width: 38px; height: 38px; }
    .hero-prev { left: 10px; } .hero-next { right: 10px; }

    /* Sepet tablosunu kart görünümüne çevir */
    .cart-table thead { display: none; }
    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
    .cart-table tr {
        border: 1px solid var(--border-soft); border-radius: var(--radius);
        margin-bottom: 14px; padding: 6px 0; background: var(--surface);
    }
    .cart-table td { border: 0; padding: 8px 15px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
    .cart-table td::before {
        content: attr(data-label);
        font-size: 12px; color: var(--muted); font-weight: 600;
        text-transform: uppercase; letter-spacing: .5px;
    }
    .cart-table td.cart-cell-product { display: block; }
    .cart-table td.cart-cell-product::before { display: none; }

    .tab-nav { overflow-x: auto; flex-wrap: nowrap; }
    .tab-btn { white-space: nowrap; padding: 12px 16px; }

    .checkout-block, .panel, .auth-card { padding: 20px; }
    .pd-buy .btn { min-width: 100%; }
    .qty-box { width: 100%; justify-content: space-between; }
    .qty-box input { flex: 1; }

    .footer-bottom .container { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
    .product-grid, .product-grid.cols-4, .product-grid.cols-3 { grid-template-columns: 1fr; }
    .result-actions .btn { width: 100%; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Yazdırma */
@media print {
    .topbar, .site-header, .main-nav, .site-footer,
    .whatsapp-float, .to-top, .breadcrumb, .btn { display: none !important; }
    body { background: #fff; color: #000; }
    .panel, .checkout-block { border: 1px solid #ccc; box-shadow: none; }
}
