/* ============================================================
   ANKARA MOBİLYA — Design System
   Palette: warm beige, sand, wood/walnut tones, deep charcoal.
   Typeface: Fraunces (display) + Inter (body), Google Fonts.
   ============================================================ */

:root {
  --bg:         #faf6f0;   /* page background — warm ivory   */
  --bg-soft:    #f3ecdf;   /* section tint                   */
  --surface:    #fffdf9;   /* cards                          */
  --border:     #e7dcc8;   /* hairlines                      */
  --text:       #2b2118;   /* deep espresso                  */
  --text-soft:  #8a7a66;   /* warm gray-brown                */
  --accent:     #9a6b3f;   /* wood / caramel                 */
  --accent-2:   #7c5230;   /* walnut hover                   */
  --accent-soft:#f0e2cf;   /* accent tint                    */
  --green:      #1faa55;   /* WhatsApp                       */
  --green-dark: #178a44;
  --danger:     #c0392b;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 10px 30px rgba(84, 62, 38, .10);
  --shadow-lg:  0 18px 50px rgba(84, 62, 38, .16);
  --font-body:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-disp:  "Fraunces", Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }
a { color: inherit; }

::selection { background: var(--accent-soft); }

/* ---------- Header -------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-disp); font-size: 19px; font-weight: 600;
  box-shadow: var(--shadow);
}
.brand__name {
  font-family: var(--font-disp); font-weight: 600;
  font-size: 19px; letter-spacing: .12em;
}
.brand__tag {
  display: block; font-family: var(--font-body); font-size: 10.5px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--text-soft);
}

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff; text-decoration: none;
  padding: 10px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
  white-space: nowrap;
}
.header-cta:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ---------- Hero ----------------------------------------------- */

.hero {
  text-align: center;
  padding: 76px 24px 56px;
  max-width: 820px; margin: 0 auto;
}
.hero__kicker {
  display: inline-block;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 7px 16px; border-radius: 999px; font-weight: 600;
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--font-disp);
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  font-weight: 550; line-height: 1.12; letter-spacing: -.01em;
  margin-bottom: 18px;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__sub {
  color: var(--text-soft); font-size: clamp(1rem, 2.2vw, 1.13rem);
  max-width: 560px; margin: 0 auto;
}

/* ---------- Filter bar ----------------------------------------- */

.filters {
  position: sticky; top: 69px; z-index: 40;
  background: rgba(250, 246, 240, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.filters-inner {
  max-width: 1200px; margin: 0 auto; padding: 14px 24px;
  display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.filters-inner::-webkit-scrollbar { display: none; }

.chip {
  flex: 0 0 auto;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-soft);
  padding: 9px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  transition: all .18s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip--active {
  background: var(--text); border-color: var(--text); color: #fdf9f2;
}

/* ---------- Catalog -------------------------------------------- */

.catalog {
  max-width: 1200px; margin: 0 auto; padding: 40px 24px 90px;
}
.catalog__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 26px; flex-wrap: wrap;
}
.catalog__title { font-family: var(--font-disp); font-size: 1.65rem; font-weight: 600; }
.catalog__count { color: var(--text-soft); font-size: 13.5px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
}

/* ---------- Product card ---------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card__media {
  position: relative; aspect-ratio: 4 / 3.1; overflow: hidden;
  background: var(--bg-soft);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card__media img { transform: scale(1.05); }

.card__badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 253, 249, .92); backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  color: var(--accent-2);
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
/* dynamic category badge tints (assigned deterministically by name) */
.t-sand   { color: #7c5230; background: #f6ead7; }
.t-clay   { color: #8a4a2f; background: #f8e3d9; }
.t-olive  { color: #5d6b52; background: #e9eddd; }
.t-walnut { color: #92653c; background: #f3e6d2; }
.t-rose   { color: #8d5a6b; background: #f5e3ea; }
.t-slate  { color: #4f6272; background: #e2eaf0; }
.t-gold   { color: #8a6a1f; background: #f6ecc9; }

/* multi-image chips */
.card__photos, .pt-photos {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(43, 33, 24, .78); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px;
}
.pt-photos {
  position: static; display: inline-block;
  margin-left: 6px; color: #8a7a66; background: var(--bg-soft);
  border: 1px solid var(--border);
}

.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.card__name {
  font-family: var(--font-disp); font-size: 1.13rem; font-weight: 600;
  line-height: 1.3;
}
.card__cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--green); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 12px 16px; width: 100%;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}
.card__cta:hover { background: var(--green-dark); transform: translateY(-1px); }
.card__cta svg { width: 17px; height: 17px; flex: 0 0 auto; }

/* ---------- Empty state / skeleton ------------------------------ */

.empty {
  grid-column: 1 / -1; text-align: center;
  padding: 70px 20px; color: var(--text-soft);
  border: 1.5px dashed var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.empty__icon { font-size: 36px; margin-bottom: 12px; }
.empty h3 { font-family: var(--font-disp); color: var(--text); font-size: 1.3rem; margin-bottom: 6px; }
.empty p { font-size: 14px; max-width: 420px; margin: 0 auto 18px; }
.empty__wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff; text-decoration: none;
  padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 13.5px;
  transition: background .18s ease;
}
.empty__wa:hover { background: var(--green-dark); }

.skeleton {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
}
.skeleton__img {
  aspect-ratio: 4 / 3.1;
  background: linear-gradient(100deg, var(--bg-soft) 40%, #fdf9f1 50%, var(--bg-soft) 60%);
  background-size: 200% 100%; animation: shimmer 1.2s infinite;
}
.skeleton__line {
  height: 14px; margin: 16px 18px; border-radius: 7px;
  background: linear-gradient(100deg, var(--bg-soft) 40%, #fdf9f1 50%, var(--bg-soft) 60%);
  background-size: 200% 100%; animation: shimmer 1.2s infinite;
}
.skeleton__line--short { width: 55%; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Footer ---------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 44px 24px 90px;
  text-align: center;
}
.footer-brand { font-family: var(--font-disp); font-size: 1.25rem; letter-spacing: .12em; margin-bottom: 6px; }
.site-footer p { color: var(--text-soft); font-size: 13.5px; max-width: 480px; margin: 0 auto 18px; }
.footer-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff; text-decoration: none;
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
.footer-wa:hover { background: var(--green-dark); }

/* ---------- Hidden admin dot ------------------------------------ */

.admin-dot {
  position: fixed; right: 10px; bottom: 10px; z-index: 60;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); opacity: .12;
  transition: opacity .2s ease, transform .2s ease;
}
.admin-dot:hover { opacity: .75; transform: scale(1.25); }

/* ---------- Toasts ------------------------------------------------ */

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 200;
  transform: translate(-50%, 20px);
  background: var(--text); color: #fdf9f2;
  padding: 12px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  max-width: min(92vw, 480px); text-align: center;
}
.toast--in { opacity: 1; transform: translate(-50%, 0); }
.toast--success { background: var(--green-dark); }
.toast--error   { background: var(--danger); }

/* ---------- Modals (PIN + lightbox) -------------------------------- */

.modal {
  position: fixed; inset: 0; z-index: 150;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal--open { display: flex; }
.modal--closing { animation: fadeIn .2s reverse forwards; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(43, 33, 24, .55); backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative; z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%; max-width: 400px;
  padding: 34px 30px 30px;
  text-align: center;
  animation: popIn .25s ease;
}
@keyframes popIn {
  from { transform: translateY(14px) scale(.97); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
@keyframes fadeIn { from { opacity: 1; } to { opacity: 0; } }

.modal__icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--accent-soft);
  display: grid; place-items: center; font-size: 22px;
}
.modal__title { font-family: var(--font-disp); font-size: 1.35rem; font-weight: 600; margin-bottom: 4px; }
.modal__sub { color: var(--text-soft); font-size: 13.5px; margin-bottom: 22px; }

.pin-input {
  width: 100%; text-align: center;
  font-size: 30px; letter-spacing: .55em; text-indent: .55em;
  font-weight: 600;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 10px; background: #fff;
  outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.pin-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.pin-input.shake { animation: shake .4s; }
@keyframes shake {
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
.pin-error { color: var(--danger); font-size: 13px; min-height: 20px; margin-top: 10px; }

.btn-primary {
  width: 100%; margin-top: 14px;
  background: var(--accent); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 14px; font-size: 15px; font-weight: 600;
  transition: background .15s ease;
}
.btn-primary:hover { background: var(--accent-2); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; }

.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: var(--bg-soft); color: var(--text-soft);
  font-size: 16px; line-height: 1;
}
.modal__close:hover { background: var(--accent-soft); color: var(--accent-2); }

/* lightbox image inside modal */
.lightbox-img {
  width: 100%; max-height: 78vh; object-fit: contain; border-radius: 12px;
}

/* ============================================================
   ADMIN PANEL (admin.html)
   ============================================================ */

.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 30px 20px 80px; }

.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 8px;
}
.admin-title { font-family: var(--font-disp); font-size: 1.7rem; font-weight: 600; }
.admin-title span { color: var(--accent); }
.admin-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.mode-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-soft);
}
.mode-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #d9a441; }
.mode-pill--live { color: var(--green-dark); border-color: #bfe6cf; background: #e9f7ee; }
.mode-pill--live .dot { background: var(--green); }

.btn-outline {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-soft); border-radius: var(--radius-sm);
  padding: 9px 16px; font-size: 13.5px; font-weight: 600;
  transition: all .15s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline--danger:hover { border-color: var(--danger); color: var(--danger); }

.admin-grid {
  display: grid; grid-template-columns: 400px 1fr; gap: 28px;
  align-items: start; margin-top: 26px;
}

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.panel__title { font-family: var(--font-disp); font-size: 1.25rem; font-weight: 600; margin-bottom: 20px; }

.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 7px;
}
.field input[type="text"], .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14.5px; background: #fff;
  outline: none; transition: border-color .15s ease, box-shadow .15s ease;
  color: var(--text);
}
.field textarea {
  min-height: 110px; resize: vertical; line-height: 1.6;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.field input:focus, .field select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}

/* image upload */
.dropzone {
  border: 2px dashed var(--border); border-radius: var(--radius-sm);
  background: #fff; padding: 26px 16px; text-align: center;
  cursor: pointer; transition: all .18s ease;
}
.dropzone:hover, .dropzone--drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone__icon { font-size: 26px; margin-bottom: 6px; }
.dropzone__text { font-size: 13.5px; color: var(--text-soft); }
.dropzone__text strong { color: var(--accent); }
.dropzone input[type="file"] { display: none; }

/* selected-images preview grid (multi-upload) */
.pz-head {
  font-size: 12.5px; font-weight: 600; color: var(--text-soft);
  margin: 4px 0 8px;
}
.pz-head span { font-weight: 400; }
.pz-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.pz-cell {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-soft);
}
.pz-cell img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.pz-cover {
  position: absolute; top: 6px; left: 6px;
  background: var(--accent); color: #fff;
  font-size: 9.5px; font-weight: 700; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 999px; text-transform: uppercase;
}
.pz-remove {
  position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px; border-radius: 50%; border: none;
  background: rgba(43,33,24,.75); color: #fff; font-size: 11px; line-height: 1;
}
@media (max-width: 480px) { .pz-grid { grid-template-columns: repeat(3, 1fr); } }

.preview {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--border);
}
.preview img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.preview__remove {
  position: absolute; top: 8px; right: 8px;
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: rgba(43,33,24,.75); color: #fff; font-size: 13px;
}

/* product table */
.table-wrap { overflow-x: auto; }
.products-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.products-table th {
  text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-soft); font-weight: 700;
  padding: 10px 12px; border-bottom: 1.5px solid var(--border);
}
.products-table td {
  padding: 12px; border-bottom: 1px solid var(--border);
  font-size: 14px; vertical-align: middle;
}
.products-table tr:last-child td { border-bottom: none; }
.products-table tbody tr { transition: background .12s ease; }
.products-table tbody tr:hover { background: #fbf5ea; }

.pt-thumb {
  width: 62px; height: 48px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg-soft); cursor: zoom-in;
}
.pt-name { font-weight: 600; font-family: var(--font-disp); font-size: 15px; }
.pt-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 999px;
}
.pt-date { color: var(--text-soft); font-size: 12.5px; white-space: nowrap; }
.pt-del {
  border: 1px solid var(--border); background: #fff; color: var(--danger);
  border-radius: 8px; padding: 7px 13px; font-size: 12.5px; font-weight: 600;
  transition: all .15s ease;
}
.pt-del:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.pt-demo { color: #b08a3e; font-size: 11px; }

/* ---------- Category manager -------------------------------------- */

.admin-col { display: flex; flex-direction: column; gap: 28px; }
.panel__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 18px;
}
.panel__head .panel__title { margin-bottom: 0; }
.panel__hint { color: var(--text-soft); font-size: 12.5px; }

.cat-form { display: flex; gap: 10px; }
.cat-form input {
  flex: 1; min-width: 0;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 14px; background: #fff; outline: none;
  color: var(--text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cat-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.btn-primary--compact { width: auto; margin-top: 0; padding: 11px 22px; }

.cat-list {
  list-style: none; margin-top: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.cat-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 8px 10px 8px 12px; background: #fff;
}
.cat-del {
  border: 1px solid var(--border); background: #fff; color: var(--danger);
  border-radius: 8px; padding: 5px 11px; font-size: 12px; font-weight: 600;
  transition: all .15s ease; flex: 0 0 auto;
}
.cat-del:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.cat-empty { color: var(--text-soft); font-size: 13.5px; padding: 14px 4px 4px; }

.panel__note { font-size: 12px; color: var(--text-soft); text-align: center; margin-top: 12px; }
.table-empty { text-align: center; color: var(--text-soft); padding: 34px 10px; font-size: 14px; }
.modal__backlink {
  font-size: 12.5px; color: var(--text-soft);
  display: inline-block; margin-top: 16px; text-decoration: none;
}
.modal__backlink:hover { color: var(--accent); }

/* admin on small screens: single column */
@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRODUCT DETAIL PAGE (product.html)
   ============================================================ */

.pdp {
  max-width: 1100px; margin: 0 auto; padding: 26px 24px 80px;
}
.pdp__crumbs {
  display: flex; gap: 8px; align-items: center;
  font-size: 13.5px; color: var(--text-soft); margin-bottom: 20px;
}
.pdp__crumbs a { color: var(--accent); text-decoration: none; font-weight: 600; }
.pdp__crumbs a:hover { text-decoration: underline; }

.pdp__grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px;
  align-items: start;
}

/* gallery */
.pdp__stage {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-soft);
  box-shadow: var(--shadow);
  touch-action: pan-y;
}
.pdp__stage img {
  width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; display: block;
}
.gal-nav, .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255, 253, 249, .92); color: var(--text);
  font-size: 20px; line-height: 1; box-shadow: var(--shadow);
  display: grid; place-items: center;
  transition: background .15s ease, transform .15s ease;
}
.gal-nav:hover, .lb-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gal-nav--prev, .lb-nav--prev { left: 12px; }
.gal-nav--next, .lb-nav--next { right: 12px; }
.gal-count, .lb-count {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(43, 33, 24, .78); color: #fff;
  font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.pdp__dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 14px;
}
.pdp__dot {
  width: 9px; height: 9px; border-radius: 50%; border: none;
  background: var(--border); transition: all .18s ease; padding: 0;
}
.pdp__dot--on { background: var(--accent); width: 24px; border-radius: 999px; }

/* info column */
.pdp__badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.pdp__name {
  font-family: var(--font-disp); font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.15;
  margin-bottom: 10px;
}
.pdp__meta { color: var(--text-soft); font-size: 13.5px; margin-bottom: 22px; }

.pdp__wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--green); color: #fff; text-decoration: none;
  border-radius: var(--radius-sm); padding: 15px 22px; width: 100%;
  font-size: 15.5px; font-weight: 700;
  box-shadow: 0 10px 24px rgba(31, 170, 85, .28);
  transition: background .18s ease, transform .18s ease;
}
.pdp__wa:hover { background: var(--green-dark); transform: translateY(-1px); }
.pdp__hint {
  text-align: center; font-size: 12.5px; color: var(--text-soft); margin-top: 10px;
}

.pdp__desc { margin-top: 26px; border-top: 1px solid var(--border); padding-top: 22px; }
.pdp__desc-title {
  font-family: var(--font-disp); font-size: 1.25rem; font-weight: 600;
  margin-bottom: 10px;
}
.pdp__desc p { color: #5c4f40; font-size: 14.5px; line-height: 1.75; }
.pdp__desc p + p { margin-top: 10px; }
.pdp__desc-empty { color: var(--text-soft); }
.pdp__placeholder { font-size: 44px; text-align: center; padding: 90px 0; }

@media (max-width: 860px) {
  .pdp { padding: 18px 16px 60px; }
  .pdp__grid { grid-template-columns: 1fr; gap: 22px; }
  .pdp__stage img { aspect-ratio: 4 / 3; }
}

/* ---------- Responsive tweaks ------------------------------------ */

@media (max-width: 640px) {
  .header-inner { padding: 12px 16px; }
  .brand__tag { display: none; }
  .header-cta { padding: 9px 14px; font-size: 12.5px; }
  .hero { padding: 52px 18px 40px; }
  .filters { top: 61px; }
  .filters-inner { padding: 12px 16px; }
  .catalog { padding: 30px 16px 70px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
  .card__name { font-size: 1.02rem; }
  .card__cta { font-size: 12.5px; padding: 11px 10px; gap: 6px; }
  .modal__panel { padding: 28px 22px 24px; }
  .panel { padding: 20px 18px; }
}

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

/* ============================================================
   HEADER ACTIONS (ghost buttons) — WhatsApp / Konum / Destek
   ============================================================ */

.header-actions {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.header-ghost {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 10px; font-size: 13px; border-radius: 4px;
  text-decoration: none; color: inherit;
  background: transparent; border: 1px solid #ccc;
  white-space: nowrap;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.header-ghost:hover {
  border-color: var(--accent); color: var(--accent);
  background: rgba(154, 107, 63, .06);
}
.header-ghost svg { flex: none; }

/* ---------- Footer location link --------------------------------- */

.footer-location-link {
  color: var(--accent); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.footer-location-link:hover { color: var(--accent-2); }

/* ============================================================
   SUPPORT REQUEST PAGE (support.html)
   ============================================================ */

.support { max-width: 620px; margin: 0 auto; padding: 42px 24px 90px; }
.support__head { text-align: center; margin-bottom: 26px; }
.support__kicker {
  display: inline-block;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 7px 16px; border-radius: 999px; font-weight: 600;
  margin-bottom: 18px;
}
.support__title {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 550; line-height: 1.15; margin-bottom: 12px;
}
.support__title em { font-style: italic; color: var(--accent); }
.support__sub { color: var(--text-soft); font-size: 14.5px; max-width: 460px; margin: 0 auto; }

.support__form .btn-primary { width: 100%; padding: 14px 22px; font-size: 15px; }
.support__note {
  text-align: center; font-size: 12.5px; color: var(--text-soft); margin-top: 14px;
}

/* email / tel inputs share the text-input look */
.field input[type="email"], .field input[type="tel"] {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 14.5px; background: #fff;
  outline: none; transition: border-color .15s ease, box-shadow .15s ease;
  color: var(--text);
}
.field input[type="email"]:focus, .field input[type="tel"]:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.field-optional { font-weight: 400; text-transform: none; letter-spacing: 0; }

/* success state */
.support__success { text-align: center; padding: 46px 20px; }
.support__success-icon {
  width: 72px; height: 72px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center;
  font-size: 34px; font-weight: 700;
  box-shadow: 0 12px 30px rgba(31, 170, 85, .30);
}
.support__success h2 {
  font-family: var(--font-disp); font-size: 1.7rem; font-weight: 600;
  margin-bottom: 10px;
}
.support__success p { color: var(--text-soft); font-size: 14.5px; max-width: 420px; margin: 0 auto 26px; }
.support__success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ADMIN — SUPPORT REQUESTS PANEL (Destek Talepleri)
   ============================================================ */

.support-panel { margin-top: 28px; }
.sp-item {
  display: flex; gap: 16px; align-items: stretch; justify-content: space-between;
  padding: 16px 2px; border-top: 1px solid var(--border);
}
.sp-item:first-child { border-top: none; padding-top: 4px; }
.sp-item--done { opacity: .62; }
.sp-item__main { min-width: 0; }
.sp-item__top {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 4px;
}
.sp-subject { font-weight: 700; font-size: 14.5px; }
.sp-status {
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 3px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-2);
  white-space: nowrap;
}
.sp-status--done { background: #e2f5ea; color: var(--green-dark); }
.sp-item__contact { font-size: 13px; color: var(--text-soft); word-break: break-word; }
.sp-item__contact a { color: var(--accent); text-decoration: none; font-weight: 600; }
.sp-item__contact a:hover { text-decoration: underline; }
.sp-date { white-space: nowrap; }
.sp-item__msg {
  margin-top: 8px; font-size: 13.5px; color: #5c4f40; line-height: 1.6;
  white-space: pre-wrap;
}
.sp-item__actions { display: flex; gap: 8px; flex: none; flex-wrap: wrap; justify-content: flex-end; }
.sp-btn {
  border: 1px solid var(--border); background: #fff; color: var(--text);
  border-radius: 8px; padding: 7px 12px; font-size: 12.5px; font-weight: 600;
  transition: all .15s ease;
}
.sp-btn:hover { border-color: var(--accent); color: var(--accent); }
.sp-btn--danger:hover { border-color: var(--danger); color: var(--danger); }

@media (max-width: 640px) {
  .header-ghost { padding: 7px 9px; font-size: 12px; }
  .sp-item { flex-direction: column; }
  .sp-item__actions { justify-content: flex-start; }
}
