/* ==========================================================================
   Zerion Diamond — Ana Stil Dosyası
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #faf9f7;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-border: #e6e3de;
  --color-accent: #abd0c6;
  --color-accent-dark: #8fb9ac;
  --color-accent-deep: #14261f;
  --color-danger: #c1443a;

  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1240px;
  --header-height: 84px;
  --transition-base: .45s cubic-bezier(.4,0,.2,1);
  --ease-smooth: cubic-bezier(.65,0,.35,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --radius-sm: 3px;
  --radius-md: 8px;
  --shadow-sm: 0 4px 14px rgba(20,38,31,.08);
  --shadow-md: 0 16px 40px rgba(20,38,31,.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

::selection { background: var(--color-accent); color: var(--color-accent-deep); }

:focus-visible {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 3px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6;
}

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

input[type="checkbox"] {
  accent-color: var(--color-accent-dark);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

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

.section {
  padding: 72px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  white-space: nowrap;
}

.logo img { height: 34px; width: auto; }

.logo .logo-text .i-dot {
  position: relative;
  display: inline-block;
  font-style: italic;
  line-height: 1;
}

.logo .logo-text .i-dot .spark {
  position: absolute;
  top: 0.05em;
  left: 50%;
  transform: translateX(-50%);
  font-style: normal;
  font-size: .38em;
  line-height: 1;
  color: var(--color-accent-dark);
}

.logo .logo-text em { font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  transition: color .3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--color-accent-dark);
  transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-right: 7px;
  order: -1;
  transition: transform .3s var(--ease-smooth);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translate(-50%, -6px);
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility .3s;
  z-index: 150;
}

.nav-dropdown-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--color-text);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.nav-dropdown-menu a {
  padding: 7px 0;
  text-transform: none;
  font-size: 13.5px;
  letter-spacing: .01em;
  white-space: nowrap;
}

@media (hover: hover) {
  .nav-dropdown:hover .nav-dropdown-trigger::before,
  .nav-dropdown:focus-within .nav-dropdown-trigger::before {
    transform: rotate(-135deg) translateY(1px);
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--color-text);
  transition: transform .35s var(--ease-smooth), opacity .25s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--ease-out), opacity .3s ease, visibility .35s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-toggle { display: flex; }

  .nav-links > * {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
    transition-delay: 0s;
  }
  .nav-links.open > * { opacity: 1; transform: translateY(0); }
  .nav-links.open > *:nth-child(1) { transition-delay: .08s; }
  .nav-links.open > *:nth-child(2) { transition-delay: .14s; }
  .nav-links.open > *:nth-child(3) { transition-delay: .2s; }
  .nav-links.open > *:nth-child(4) { transition-delay: .26s; }

  .nav-dropdown { display: flex; flex-direction: column; align-items: center; }
  .nav-dropdown-trigger::before { display: none; }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    align-items: center;
    text-align: center;
    padding: 14px 0 0;
    min-width: 0;
  }
  .nav-dropdown-title { display: none; }
}

/* ==========================================================================
   Reveal Buttons (renk tonu dışa doğru yayılan hover efekti)
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 15px 34px;
  border: 1px solid var(--color-text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: transparent;
  text-align: center;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s ease;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0) scale(.97); box-shadow: none; transition-duration: .12s; }

.btn-reveal {
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: var(--color-text);
  transition: color .4s ease .08s, border-color .4s ease, transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.btn-reveal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-accent);
  clip-path: circle(0% at 50% 50%);
  transition: clip-path .6s var(--ease-smooth);
  z-index: -1;
  will-change: clip-path;
}

.btn-reveal:hover::before { clip-path: circle(78% at 50% 50%); }
.btn-reveal:hover { color: var(--color-accent-deep); border-color: var(--color-accent); }

.btn-dark {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

.btn-dark.btn-reveal:hover { color: var(--color-accent-deep); }

.btn-disabled {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-small { padding: 10px 20px; font-size: 12px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-accent-deep);
  padding: 60px 24px;
  color: #fff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,38,31,.6), rgba(20,38,31,.7));
  z-index: 1;
}

.hero-inner { position: relative; z-index: 2; max-width: 720px; }

@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow,
.hero h1,
.hero p,
.hero .btn {
  animation: fadeUpIn .8s var(--ease-out) both;
}

.hero-eyebrow { animation-delay: .05s; }
.hero h1 { animation-delay: .15s; }
.hero p { animation-delay: .28s; }
.hero .btn { animation-delay: .4s; }

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-style: italic;
  margin-bottom: 22px;
  color: #fff;
}

.hero p {
  color: rgba(255,255,255,.85);
  margin-bottom: 34px;
  font-size: 16px;
}

/* ==========================================================================
   Product Grid / Card
   ========================================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }

.product-card { display: block; transition: transform .4s var(--ease-out); }

.product-card:hover { transform: translateY(-4px); }

.product-card .thumb {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--color-bg-soft);
  overflow: hidden;
  margin-bottom: 14px;
  transition: box-shadow .4s var(--ease-out);
}

.product-card:hover .thumb { box-shadow: var(--shadow-md); }

.product-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-smooth);
}

.product-card:hover .thumb img { transform: scale(1.06); }

.product-card .badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--color-danger);
  color: #fff;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.product-card h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.product-card .price {
  font-size: 14px;
  color: var(--color-text-muted);
}

.listing-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 700px) {
  .listing-controls { justify-content: center; }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.sort-select {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
  cursor: pointer;
  transition: border-color .3s ease, box-shadow .25s var(--ease-out);
}

.sort-select:hover, .sort-select:focus { border-color: var(--color-accent-dark); box-shadow: var(--shadow-sm); }

.filter-bar button {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .35s var(--ease-smooth), border-color .35s ease, transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}

.filter-bar button:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.filter-bar button:active { transform: translateY(0) scale(.96); }

.filter-bar button.active,
.filter-bar button:hover {
  border-color: var(--color-accent-dark);
  background: var(--color-accent);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-text-muted);
  padding: 60px 0;
}

/* ==========================================================================
   Product Detail
   ========================================================================== */

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; gap: 30px; } }

.product-gallery-main {
  aspect-ratio: 1/1;
  background: var(--color-bg-soft);
  overflow: hidden;
  margin-bottom: 12px;
}

.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.product-gallery-thumbs {
  display: flex;
  gap: 10px;
}

.product-gallery-thumbs img {
  width: 70px; height: 70px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid transparent;
  opacity: .6;
  transition: all .3s ease;
}

.product-gallery-thumbs img.active,
.product-gallery-thumbs img:hover {
  opacity: 1;
  border-color: var(--color-accent-dark);
}

.product-info .category-tag {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  color: var(--color-accent-dark);
  margin-bottom: 10px;
}

.product-info h1 {
  font-size: 30px;
  margin-bottom: 14px;
}

.product-info .price {
  font-size: 22px;
  margin-bottom: 20px;
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 26px;
}

.stock-status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4caf50;
}

.stock-status.out .dot { background: var(--color-danger); }

.product-info .description {
  color: var(--color-text-muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ==========================================================================
   Forms (Login / Contact)
   ========================================================================== */

.auth-wrap {
  max-width: 420px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}

.form-field {
  margin-bottom: 18px;
  text-align: left;
}

.form-field label {
  display: block;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg-soft);
  font-family: var(--font-sans);
  font-size: 14px;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent-dark);
  box-shadow: 0 0 0 3px rgba(171,208,198,.35);
}

.form-field textarea { resize: vertical; min-height: 100px; }

.form-error {
  color: var(--color-danger);
  font-size: 13px;
  margin-bottom: 14px;
  min-height: 18px;
}

.form-success { color: #2e7d32; font-size: 13px; margin-bottom: 14px; }

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 700px) { .contact-channels { grid-template-columns: 1fr; } }

.contact-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 44px 24px;
  border: 1px solid var(--color-border);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s ease;
}

.contact-channel:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-dark);
}

.contact-channel .icon {
  width: 52px; height: 52px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 6px;
  transition: background .4s var(--ease-smooth), border-color .4s ease;
}

.contact-channel:hover .icon {
  background: var(--color-accent);
  border-color: var(--color-accent-dark);
}

.contact-channel h3 {
  font-size: 16px;
  margin-bottom: 0;
}

.contact-channel .value {
  color: var(--color-text-muted);
  font-size: 13.5px;
}

/* ==========================================================================
   SSS (FAQ) Accordion
   ========================================================================== */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 4px;
  margin: 0;
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color .3s ease;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  transition: transform .4s var(--ease-smooth), background .3s ease, border-color .3s ease;
}

.faq-question .faq-icon::before,
.faq-question .faq-icon::after {
  content: '';
  position: absolute;
  width: 11px; height: 1.4px;
  background: var(--color-text-muted);
  transition: background .3s ease;
}

.faq-question .faq-icon { position: relative; }
.faq-question .faq-icon::after { transform: rotate(90deg); }

.faq-item:hover .faq-question { color: var(--color-accent-dark); }

.faq-item.open .faq-question .faq-icon {
  transform: rotate(135deg);
  background: var(--color-accent);
  border-color: var(--color-accent-dark);
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-smooth);
}

.faq-item.open .faq-answer-wrap { grid-template-rows: 1fr; }

.faq-answer {
  overflow: hidden;
  min-height: 0;
}

.faq-answer p {
  padding: 0 32px 24px 4px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.faq-answer a { color: var(--color-accent-dark); text-decoration: underline; }

/* ==========================================================================
   Admin
   ========================================================================== */

.admin-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}

@media (max-width: 800px) { .admin-shell { grid-template-columns: 1fr; } }

.admin-sidebar {
  background: var(--color-bg-soft);
  border-right: 1px solid var(--color-border);
  padding: 30px 20px;
}

.admin-sidebar .logo { margin-bottom: 40px; font-size: 20px; }

.admin-sidebar nav a {
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  letter-spacing: .03em;
  margin-bottom: 4px;
  border-radius: var(--radius-sm);
  transition: background .3s var(--ease-smooth), transform .25s var(--ease-out);
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.active { background: var(--color-accent); transform: translateX(3px); }

.admin-main { padding: 40px; min-width: 0; }

@media (max-width: 700px) { .admin-main { padding: 24px 16px; } }

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.admin-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 13.5px;
  transition: background-color .3s ease;
}

.admin-table th, .admin-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.admin-table tr { transition: background-color .4s ease; }

.admin-table img {
  width: 48px; height: 48px;
  object-fit: cover;
}

.admin-table td:nth-child(2) {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table input[type="number"] {
  width: 70px;
  padding: 6px 8px;
  border: 1px solid var(--color-border);
}

.admin-actions-cell { display: flex; gap: 8px; flex-wrap: nowrap; }

.icon-btn {
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: background .3s var(--ease-smooth), border-color .3s ease, transform .2s var(--ease-out), box-shadow .2s var(--ease-out), color .3s ease;
}

.icon-btn:hover { background: var(--color-accent); border-color: var(--color-accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.icon-btn:active { transform: translateY(0) scale(.95); }

.icon-btn.danger:hover { background: var(--color-danger); color: #fff; border-color: var(--color-danger); }

.admin-panel-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.faq-admin-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 14px;
}

.faq-admin-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.faq-admin-item-num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-text-muted);
}

.faq-admin-item-actions { display: flex; gap: 6px; }

.faq-admin-item .form-field { margin-bottom: 10px; }
.faq-admin-item .form-field:last-child { margin-bottom: 0; }
.faq-admin-item textarea { min-height: 70px; }

.category-filter { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }

.filter-btn.active {
  background: var(--color-accent-deep);
  border-color: var(--color-accent-deep);
  color: #fff;
}
.filter-btn.active:hover { background: var(--color-accent-deep); border-color: var(--color-accent-deep); }

@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  padding: 20px;
  animation: overlayIn .25s ease both;
}

.modal-box {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-md);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn .35s var(--ease-out) both;
}

.image-preview-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.image-preview-row img {
  width: 64px; height: 64px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.image-preview-item { position: relative; display: inline-block; }

.image-preview-remove {
  position: absolute;
  top: -7px; right: -7px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-danger);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, color .25s ease, transform .2s var(--ease-out);
}

.image-preview-remove:hover { background: var(--color-danger); color: #fff; transform: scale(1.08); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

@media (max-width: 480px) {
  .site-footer { padding-bottom: 100px; }
}

.footer-grid h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}

.footer-grid ul li { margin-bottom: 10px; }

.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.footer-admin-link {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--color-border);
  color: var(--color-text-muted);
  opacity: .7;
  transition: opacity .3s ease, color .3s ease;
}

.footer-admin-link:hover { opacity: 1; color: var(--color-text); }

/* ==========================================================================
   WhatsApp Float Button
   ========================================================================== */

@keyframes floatIn {
  from { opacity: 0; transform: scale(.4) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  z-index: 999;
  animation: floatIn .5s var(--ease-out) .7s both;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 26px rgba(0,0,0,.3); }
.whatsapp-float:active { transform: scale(1.02); }

.whatsapp-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Motion — Scroll Reveal, Twinkle, Shimmer
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--reveal-i, 0) * 110ms);
}

.reveal.revealed { opacity: 1; transform: translateY(0); }

@keyframes twinkle {
  0%, 100% { opacity: .35; transform: translateX(-50%) scale(.8) rotate(0deg); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15) rotate(8deg); }
}

.logo .logo-text .i-dot .spark {
  animation: twinkle 2.6s ease-in-out infinite;
}

.site-header {
  transition: box-shadow .4s var(--ease-out), background-color .4s var(--ease-out);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(255,255,255,.98);
}

.section-title.reveal::after {
  content: '';
  display: block;
  width: 0;
  height: 1px;
  margin: 16px auto 0;
  background: var(--color-accent-dark);
  transition: width .8s var(--ease-out) .3s;
}

.section-title.revealed::after { width: 64px; }

.product-card .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(171,208,198,.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-smooth);
  pointer-events: none;
}

.product-card:hover .thumb::after { transform: translateX(120%); }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .section-title.reveal::after { transition: none; }
  .logo .logo-text .i-dot .spark { animation: none; }
  .product-card .thumb::after { display: none; }
  .hero-eyebrow, .hero h1, .hero p, .hero .btn { animation: none; }
  .hero-slide { transition: none; }
  .whatsapp-float { animation: none; }
  .faq-answer-wrap { transition: none; }
  .faq-question .faq-icon { transition: none; }
  .nav-links > * { transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Utility
   ========================================================================== */

.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.loading-text { grid-column: 1 / -1; text-align: center; padding: 40px 0; color: var(--color-text-muted); }
