/* =====================================================================
   NargileHub — Premium Storefront Stylesheet
   Luxe dark theme · gold accents
   ===================================================================== */

:root {
    --bg:           #0e0f13;
    --bg-2:         #15161c;
    --surface:      #1b1d25;
    --surface-2:    #22242e;
    --line:         #2c2f3a;
    --text:         #ECECEE;
    --muted:        #9aa0ab;
    --gold:         #c9a24b;
    --gold-2:       #e4c474;
    --gold-soft:    rgba(201,162,75,.12);
    --red:          #e1564b;
    --green:        #4caf7d;
    /* Bölüm arka planları (tema duyarlı) */
    --header-bg:    rgba(14,15,19,.92);
    --topbar-bg:    #08090c;
    --footer-bg:    #08090c;
    --hero-grad-1:  #0c0d11;
    --hero-grad-2:  #15161c;
    --radius:       14px;
    --radius-sm:    9px;
    --shadow:       0 18px 40px -20px rgba(0,0,0,.7);
    --ease:         cubic-bezier(.4,.0,.2,1);
    --serif:        'Playfair Display', Georgia, serif;
    --sans:         'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Açık tema (light) ---------- */
[data-theme="light"] {
    --bg:           #f6f4ef;
    --bg-2:         #efeae0;
    --surface:      #ffffff;
    --surface-2:    #f4f1ea;
    --line:         #e4ded1;
    --text:         #20201c;
    --muted:        #6f6d64;
    --gold:         #a87f2c;
    --gold-2:       #876619;
    --gold-soft:    rgba(168,127,44,.14);
    --shadow:       0 16px 40px -26px rgba(60,50,20,.30);
    --header-bg:    rgba(246,244,239,.92);
    --topbar-bg:    #efeae0;
    --footer-bg:    #efeae0;
    --hero-grad-1:  #f4f0e7;
    --hero-grad-2:  #ece6d9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 22px; }

.site-main { min-height: 60vh; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 50px; border: 1px solid transparent;
    font-family: var(--sans); font-weight: 600; font-size: .95rem; cursor: pointer;
    transition: all .25s var(--ease); white-space: nowrap; line-height: 1;
}
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1500; }
.btn--gold:hover { box-shadow: 0 10px 24px -8px var(--gold); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--outline { background: transparent; border-color: var(--gold); color: var(--gold-2); }
.btn--outline:hover { background: var(--gold); color: #1a1500; }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Topbar ---------- */
.topbar { background: var(--topbar-bg); color: var(--muted); font-size: .82rem; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar strong { color: var(--gold-2); }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__phone:hover { color: var(--gold-2); }
.topbar__social { display: flex; gap: 12px; font-size: .95rem; }
.topbar__social a:hover { color: var(--gold-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 26px; height: 78px; }

.logo { font-family: var(--serif); font-size: 1.7rem; font-weight: 800; letter-spacing: .5px; color: var(--text); }
.logo span { color: var(--gold); }
.logo--light { color: var(--text); }

.search { flex: 1; max-width: none; display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 50px; overflow: hidden; transition: border-color .2s; }
.search:focus-within { border-color: var(--gold); }
.search input { flex: 1; background: none; border: none; outline: none; color: var(--text); padding: 12px 20px; font-size: .92rem; }
.search input::placeholder { color: var(--muted); }
.search button { background: none; border: none; color: var(--gold-2); padding: 0 18px; cursor: pointer; font-size: 1.05rem; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-actions__link { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 12px; border-radius: var(--radius-sm); position: relative; }
.header-actions__link:hover { background: var(--surface); color: var(--gold-2); }
.header-actions__link .icon { font-size: 1.2rem; }
.header-actions__link .label { font-size: .72rem; color: var(--muted); }
/* Yatay varyantlar */
.header-actions__link--inline { flex-direction: row; gap: 8px; }
.header-actions__link--rev { flex-direction: row-reverse; gap: 8px; }
.header-actions__link--inline .label, .header-actions__link--rev .label { font-size: .92rem; color: var(--text); font-weight: 500; }
.cart-link .icon { position: relative; }
.cart-badge { position: absolute; top: -7px; right: -9px; background: var(--gold); color: #1a1500; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.cart-badge.is-empty { display: none; }

.theme-toggle { background: none; border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s, transform .3s var(--ease); flex-shrink: 0; }
.theme-toggle:hover { border-color: var(--gold); transform: rotate(25deg); }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ---------- Main nav ---------- */
.main-nav { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.main-nav ul { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { display: block; padding: 14px 18px; font-size: .9rem; font-weight: 500; color: var(--muted); position: relative; }
.main-nav a:hover { color: var(--gold-2); }
.main-nav a::after { content: ''; position: absolute; left: 18px; right: 18px; bottom: 8px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-sale { color: var(--gold-2) !important; }

/* ---------- Flash ---------- */
.flash-wrap { margin: 18px 0 0; display: flex; flex-direction: column; gap: 10px; }
.flash { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); animation: slideDown .35s var(--ease); }
.flash--success { border-color: var(--green); background: rgba(76,175,125,.1); }
.flash--error { border-color: var(--red); background: rgba(225,86,75,.1); }
.flash--info { border-color: var(--gold); background: var(--gold-soft); }
.flash__close { background: none; border: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; line-height: 1; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(900px 500px at 80% -10%, rgba(201,162,75,.16), transparent 60%),
    linear-gradient(180deg, var(--hero-grad-1), var(--hero-grad-2)); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: 80px 0 70px; }
.hero__eyebrow { color: var(--gold-2); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; font-size: .78rem; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 16px 0; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 480px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media img { border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.hero__badge { position: absolute; bottom: -18px; left: -18px; background: var(--surface); border: 1px solid var(--gold); border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow); }
.hero__badge strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--gold-2); }
.hero__badge span { font-size: .78rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 34px; gap: 20px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.section-head p { color: var(--muted); margin-top: 6px; }
.section-head .link-more { color: var(--gold-2); font-weight: 600; font-size: .9rem; }
.section-head .link-more:hover { letter-spacing: .4px; }
.section--alt { background: var(--bg-2); }

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; transition: border-color .25s, transform .25s; }
.feature:hover { border-color: var(--gold); transform: translateY(-4px); }
.feature .ico { font-size: 1.8rem; }
.feature h4 { margin: 12px 0 6px; font-family: var(--sans); font-size: 1rem; }
.feature p { color: var(--muted); font-size: .85rem; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; border: 1px solid var(--line); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover img { transform: scale(1.07); }
.cat-card__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,9,12,.85), transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.cat-card__overlay h3 { font-size: 1.3rem; color: #fff; }
.cat-card__overlay span { color: #e4c474; font-size: .82rem; font-weight: 600; }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }

.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s; position: relative; }
.product-card:hover { transform: translateY(-6px); border-color: rgba(201,162,75,.5); box-shadow: var(--shadow); }
.product-card__media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bg-2); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; }
.badge { font-size: .68rem; font-weight: 700; padding: 5px 10px; border-radius: 50px; letter-spacing: .5px; }
.badge--sale { background: var(--red); color: #fff; }
.badge--new { background: var(--gold); color: #1a1500; }
.badge--out { background: #555; color: #fff; }
.product-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-card__brand { font-size: .72rem; color: var(--gold-2); text-transform: uppercase; letter-spacing: 1px; }
.product-card__title { font-family: var(--sans); font-size: .98rem; font-weight: 600; margin: 5px 0 8px; line-height: 1.35; }
.product-card__title a:hover { color: var(--gold-2); }
.product-card__rating { font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.product-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { display: flex; flex-direction: column; }
.price__now { font-size: 1.2rem; font-weight: 700; color: var(--text); font-family: var(--serif); }
.price__old { font-size: .82rem; color: var(--muted); text-decoration: line-through; }
.add-btn { background: var(--gold-soft); border: 1px solid var(--gold); color: var(--gold-2); border-radius: 50px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; transition: all .2s; flex-shrink: 0; }
.add-btn:hover { background: var(--gold); color: #1a1500; }

.stars { color: var(--gold-2); display: inline-flex; gap: 2px; font-size: .9em; }
.stars .star-empty { color: var(--line); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 18px 0; font-size: .85rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb span { color: var(--line); margin: 0 8px; }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; padding: 30px 0 70px; }
.shop-sidebar { align-self: start; position: sticky; top: 96px; }
.filter-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.filter-box h4 { font-family: var(--sans); font-size: .95rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.filter-box ul li { margin-bottom: 4px; }
.filter-box ul a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: var(--radius-sm); color: var(--muted); font-size: .9rem; }
.filter-box ul a:hover, .filter-box ul a.active { background: var(--gold-soft); color: var(--gold-2); }
.filter-box ul a .count { font-size: .78rem; opacity: .7; }
.price-filter { display: flex; gap: 8px; align-items: center; }
.price-filter input { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px; color: var(--text); }

.shop-main { min-width: 0; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.shop-toolbar .result-count { color: var(--muted); font-size: .9rem; }
.shop-toolbar select { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: 10px 14px; border-radius: var(--radius-sm); cursor: pointer; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-state .ico { font-size: 3rem; }
.empty-state h3 { margin: 16px 0 8px; color: var(--text); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--muted); font-size: .9rem; }
.pagination a:hover { border-color: var(--gold); color: var(--gold-2); }
.pagination .current { background: var(--gold); color: #1a1500; border-color: var(--gold); font-weight: 700; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 20px 0 60px; }
.gallery__main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 1/1; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs img { width: 78px; height: 78px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--line); cursor: pointer; opacity: .7; transition: all .2s; }
.gallery__thumbs img:hover, .gallery__thumbs img.active { opacity: 1; border-color: var(--gold); }

.pd-brand { color: var(--gold-2); text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 600; }
.pd-title { font-size: 2.2rem; margin: 10px 0 14px; }
.pd-meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: .88rem; margin-bottom: 20px; flex-wrap: wrap; }
.pd-price { display: flex; align-items: baseline; gap: 14px; margin: 22px 0; }
.pd-price .now { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--text); }
.pd-price .old { font-size: 1.2rem; color: var(--muted); text-decoration: line-through; }
.pd-price .save { background: var(--red); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 50px; }
.pd-short { color: var(--muted); margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pd-stock { font-size: .9rem; margin-bottom: 22px; }
.pd-stock.in { color: var(--green); }
.pd-stock.out { color: var(--red); }
.pd-buy { display: flex; gap: 14px; align-items: center; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 50px; overflow: hidden; background: var(--surface); }
.qty button { background: none; border: none; color: var(--text); width: 44px; height: 50px; font-size: 1.3rem; cursor: pointer; }
.qty button:hover { color: var(--gold-2); }
.qty input { width: 50px; text-align: center; background: none; border: none; color: var(--text); font-size: 1.05rem; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-extra { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: .9rem; }
.pd-extra li { display: flex; gap: 10px; align-items: center; }

/* tabs */
.pd-tabs { padding: 30px 0 70px; }
.tab-nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
.tab-nav button { background: none; border: none; color: var(--muted); padding: 14px 22px; font-size: .95rem; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-nav button.active { color: var(--gold-2); border-color: var(--gold); }
.tab-panel { display: none; color: var(--muted); line-height: 1.8; max-width: 820px; }
.tab-panel.active { display: block; animation: fadeIn .3s; }
.tab-panel p { margin-bottom: 14px; }
.rich-content { line-height: 1.8; color: var(--muted); }
.rich-content p { margin-bottom: 12px; }
.rich-content h2, .rich-content h3, .rich-content h4 { color: var(--text); margin: 20px 0 10px; font-family: var(--serif); }
.rich-content ul, .rich-content ol { margin: 0 0 14px 22px; }
.rich-content li { margin-bottom: 6px; }
.rich-content a { color: var(--gold-2); text-decoration: underline; }
.rich-content strong, .rich-content b { color: var(--text); }
.rich-content blockquote { border-left: 3px solid var(--gold); padding-left: 16px; margin: 14px 0; font-style: italic; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* reviews */
.review { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; background: var(--surface); }
.review__head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.review__author { font-weight: 600; color: var(--text); }
.review__date { font-size: .8rem; color: var(--muted); }
.review-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; max-width: 640px; margin-top: 24px; }
.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { display: none; }
.rating-input label { font-size: 1.6rem; color: var(--line); cursor: pointer; }
.rating-input label:hover, .rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: var(--gold-2); }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 7px; color: var(--text); }
.field input, .field select, .field textarea {
    width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 12px 15px; color: var(--text); font-family: var(--sans); font-size: .95rem; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-row { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); }
.checkbox-row input { width: auto; }

.auth-wrap { max-width: 460px; margin: 60px auto; }
.auth-wrap h1 { text-align: center; margin-bottom: 8px; }
.auth-wrap .sub { text-align: center; color: var(--muted); margin-bottom: 28px; }
.auth-switch { text-align: center; margin-top: 20px; color: var(--muted); font-size: .9rem; }
.auth-switch a { color: var(--gold-2); font-weight: 600; }
.demo-note { font-size: .8rem; color: var(--muted); text-align:center; margin-top:18px; padding-top:16px; border-top:1px solid var(--line); }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; padding: 30px 0 70px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.cart-item__img { width: 96px; height: 96px; border-radius: var(--radius-sm); object-fit: cover; }
.cart-item__brand { font-size: .74rem; color: var(--gold-2); text-transform: uppercase; letter-spacing: 1px; }
.cart-item__name { font-weight: 600; margin: 3px 0 8px; }
.cart-item__name a:hover { color: var(--gold-2); }
.cart-item__price { color: var(--muted); font-size: .88rem; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cart-item__total { font-weight: 700; font-family: var(--serif); font-size: 1.15rem; }
.cart-item__remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .82rem; }
.cart-item__remove:hover { color: var(--red); }
.qty--sm button { width: 34px; height: 38px; font-size: 1.1rem; }
.qty--sm input { width: 40px; }

.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 96px; }
.summary h3 { font-family: var(--sans); font-size: 1.15rem; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--muted); font-size: .92rem; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; color: var(--text); font-size: 1.2rem; font-weight: 700; }
.summary-row.total .v { font-family: var(--serif); color: var(--gold-2); }
.summary-row .discount-v { color: var(--green); }
.coupon-form { display: flex; gap: 8px; margin: 14px 0; }
.coupon-form input { flex: 1; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; color: var(--text); }
.ship-progress { background: var(--bg-2); border-radius: 50px; height: 8px; overflow: hidden; margin: 6px 0 4px; }
.ship-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.free-ship-note { font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.free-ship-note.ok { color: var(--green); }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 30px 0 70px; align-items: start; }
.checkout-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }
.checkout-section h3 { font-family: var(--sans); font-size: 1.1rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.checkout-section h3 .num { background: var(--gold); color: #1a1500; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; }
.pay-methods { display: flex; flex-direction: column; gap: 12px; }
.pay-option { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer; transition: border-color .2s; }
.pay-option:hover, .pay-option:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.mini-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; max-height: 320px; overflow-y: auto; }
.mini-item { display: flex; gap: 12px; align-items: center; font-size: .88rem; }
.mini-item img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.mini-item .q { color: var(--muted); }
.mini-item .p { margin-left: auto; font-weight: 600; }

/* ---------- Order success ---------- */
.success-box { text-align: center; max-width: 620px; margin: 70px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 50px 40px; }
.success-box .check { width: 86px; height: 86px; border-radius: 50%; background: var(--gold-soft); border: 2px solid var(--gold); color: var(--gold-2); font-size: 2.6rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.success-box h1 { margin-bottom: 10px; }
.order-ref { display: inline-block; background: var(--bg-2); border: 1px dashed var(--gold); border-radius: var(--radius-sm); padding: 12px 24px; margin: 18px 0; font-size: 1.1rem; letter-spacing: 1px; }

/* ---------- Account ---------- */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; padding: 30px 0 70px; }
.account-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; align-self: start; }
.account-nav a { display: block; padding: 12px 16px; border-radius: var(--radius-sm); color: var(--muted); font-size: .92rem; }
.account-nav a:hover, .account-nav a.active { background: var(--gold-soft); color: var(--gold-2); }
.account-nav .logout { color: var(--red); }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .9rem; }
table.data th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; }
.status-pill { display: inline-block; padding: 5px 12px; border-radius: 50px; font-size: .76rem; font-weight: 600; }
.status-pending { background: rgba(228,196,116,.15); color: var(--gold-2); }
.status-paid, .status-processing { background: rgba(76,175,125,.15); color: var(--green); }
.status-shipped { background: rgba(100,150,255,.15); color: #7da6ff; }
.status-completed { background: rgba(76,175,125,.2); color: var(--green); }
.status-cancelled { background: rgba(225,86,75,.15); color: var(--red); }

/* ---------- Timeline (sipariş durum geçmişi) ---------- */
.timeline { display: flex; flex-direction: column; gap: 16px; position: relative; padding-left: 20px; }
.timeline::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline__item { position: relative; }
.timeline__item::before { content: ''; position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px var(--surface); }

/* ---------- Newsletter form (footer) ---------- */
.news-form { display: flex; gap: 8px; margin-top: 12px; }
.news-form input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 50px; padding: 11px 16px; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--line); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; padding: 56px 0 40px; }
.footer-col h4 { font-family: var(--sans); font-size: 1rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: var(--muted); font-size: .9rem; }
.footer-col ul a:hover { color: var(--gold-2); }
.footer-brand p { color: var(--muted); font-size: .9rem; margin: 14px 0 18px; }
.social { display: flex; gap: 14px; }
.social a { color: var(--muted); font-size: .85rem; }
.social a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom__inner { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: .8rem; color: var(--muted); gap: 16px; flex-wrap: wrap; }
.footer-warning { color: #b9763f; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #1a1500; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: all .3s; z-index: 40; }
.back-to-top.show { opacity: 1; visibility: visible; }

/* ---------- Age gate ---------- */
.age-gate { position: fixed; inset: 0; background: rgba(8,9,12,.96); backdrop-filter: blur(8px); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.age-gate[hidden] { display: none; }
.age-gate__box { background: var(--surface); border: 1px solid var(--gold); border-radius: var(--radius); padding: 44px 36px; text-align: center; max-width: 460px; }
.age-gate__logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 800; color: var(--text); }
.age-gate__logo span { color: var(--gold); }
.age-gate__box h2 { margin: 18px 0 12px; }
.age-gate__box p { color: var(--muted); margin-bottom: 24px; }
.age-gate__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.age-gate__box small { color: #b9763f; font-size: .78rem; }

/* ---------- FAQ (soru-cevap) ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.faq__item[open] { border-color: rgba(201,162,75,.4); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { transition: transform .25s var(--ease); color: var(--muted); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__body { padding: 0 22px 20px; color: var(--muted); line-height: 1.75; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; transition: transform .3s var(--ease), border-color .3s; }
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(201,162,75,.4); }
.testimonial-card__quote { color: var(--gold); opacity: .25; font-size: 2rem; position: absolute; top: 16px; right: 22px; }
.testimonial-card__text { color: var(--text); margin: 12px 0 18px; line-height: 1.7; font-size: .95rem; }
.testimonial-card__foot { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1500; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex-shrink: 0; }
.testimonial-card__foot strong { display: block; }
.testimonial-card__foot span { font-size: .82rem; color: var(--muted); }
.testimonial-card__foot span a:hover { color: var(--gold-2); }

/* ---------- Map ---------- */
.map-wrap { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-info { background: var(--surface); padding: 30px; }
.map-info h3 { font-family: var(--sans); font-size: 1.2rem; margin-bottom: 18px; }
.map-info ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.map-info li { color: var(--muted); font-size: .92rem; }
.map-info a:hover { color: var(--gold-2); }
.map-frame { min-height: 360px; background: var(--bg-2); }
.map-frame iframe { display: block; height: 100%; min-height: 360px; filter: grayscale(.2); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 22px; }
.gold { color: var(--gold-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__media { max-width: 420px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .header-actions__link .label { display: none; }
    .nav-toggle { display: block; order: -1; }
    .main-nav { position: fixed; top: 0; left: 0; bottom: 0; width: 280px; background: var(--bg-2); z-index: 60; transform: translateX(-100%); transition: transform .3s var(--ease); border-right: 1px solid var(--line); overflow-y: auto; }
    .main-nav.open { transform: none; }
    .main-nav ul { flex-direction: column; padding: 70px 14px 20px; }
    .main-nav a { padding: 14px; border-radius: var(--radius-sm); }
    .main-nav a::after { display: none; }
    .shop-layout, .cart-layout, .checkout-layout, .account-layout, .product-detail { grid-template-columns: 1fr; }
    .shop-sidebar, .summary { position: static; }
    .testimonial-grid { grid-template-columns: 1fr 1fr; }
    .map-wrap { grid-template-columns: 1fr; }
    .product-detail { gap: 28px; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .search { display: none; }
    .site-header__inner { gap: 12px; height: 64px; }
    .product-grid, .product-grid--3, .features, .cat-grid { grid-template-columns: 1fr 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .addr-grid { grid-template-columns: 1fr !important; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .pd-title { font-size: 1.7rem; }
    .section { padding: 48px 0; }
}
