/* ==========================================================================
   Afghan Ember - Restaurant & Takeaway (shop-style dark theme)
   ========================================================================== */

:root {
  --bg: #0c0b0a;
  --panel: #151312;
  --card: #191614;
  --card-line: #2a2521;
  --text: #f4efe7;
  --muted: #a89f93;
  --red: #d21f2e;
  --red-dark: #a5121f;
  --gold: #e0a43c;
  --radius: 10px;
  --font: "Manrope", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); }

.container { width: min(1240px, 93%); margin: 0 auto; }

/* --------------------------------------------------------------------------
   Announcement bar
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.45rem 1rem;
}

.topbar a { text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 11, 10, 0.97);
  border-bottom: 1px solid var(--card-line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem 0;
}

.brand { display: flex; align-items: center; gap: 0.6rem; margin-right: auto; }

.brand-mark { width: 36px; height: 36px; flex: none; }

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-name em { font-style: normal; color: var(--red); }

.brand-sub {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-menu { display: flex; align-items: center; gap: 1.6rem; }

.nav-menu a {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-menu a:hover, .nav-menu a.active { color: var(--text); }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--panel);
  border: 1px solid var(--card-line);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cart-btn:hover { border-color: var(--red); }

.cart-btn svg { width: 17px; height: 17px; }

.cart-count {
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0 5px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span { width: 24px; height: 2px; background: var(--text); }

/* --------------------------------------------------------------------------
   Hero slider
   -------------------------------------------------------------------------- */

.hero-slider {
  position: relative;
  height: min(78vh, 640px);
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.slide.active { opacity: 1; }

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 11, 10, 0.88) 0%, rgba(12, 11, 10, 0.55) 45%, rgba(12, 11, 10, 0.15) 100%);
}

.slide-1 { background-image: url("../images/slide1.jpg"); }
.slide-2 { background-image: url("../images/slide2.jpg"); }
.slide-3 { background-image: url("../images/slide3.jpg"); }

.slide-content { position: relative; max-width: 560px; }

.slide-kicker {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  margin-bottom: 1.1rem;
}

.slide-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 0.9rem;
}

.slide-text { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.7rem; }

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1.3rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 5;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.slider-dots button.active { background: var(--red); transform: scale(1.25); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.7rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-line { border-color: rgba(255, 255, 255, 0.35); color: var(--text); }
.btn-line:hover { border-color: var(--text); }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 4.5rem 0; }
.section-panel { background: var(--panel); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }

.section-head p { color: var(--muted); margin-top: 0.3rem; }

.section-link {
  flex: none;
  color: var(--red);
  font-weight: 800;
  font-size: 0.9rem;
}

.section-link:hover { text-decoration: underline; }

.section-head-center { text-align: center; display: block; }
.section-head-center h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
  margin: 0.9rem auto 0;
}

/* --------------------------------------------------------------------------
   Category chips
   -------------------------------------------------------------------------- */

.cat-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.cat-chip {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cat-chip span { display: block; font-size: 1.5rem; margin-bottom: 0.35rem; }

.cat-chip:hover { border-color: var(--red); transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}

.product-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(255px, 1fr);
  gap: 1.3rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.8rem;
}

.product-carousel::-webkit-scrollbar { height: 8px; }
.product-carousel::-webkit-scrollbar-track { background: var(--panel); border-radius: 4px; }
.product-carousel::-webkit-scrollbar-thumb { background: var(--card-line); border-radius: 4px; }

.product {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product:hover { border-color: #3d362f; transform: translateY(-4px); }

.product-media { position: relative; aspect-ratio: 1; overflow: hidden; }

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product:hover .product-media img { transform: scale(1.06); }

.badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
}

.badge-hot { background: var(--red); color: #fff; }
.badge-out { background: #3a3733; color: #d8d2c8; }

.product-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-name { font-size: 1rem; font-weight: 800; line-height: 1.35; }

.product-desc { font-size: 0.83rem; color: var(--muted); flex: 1; }

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
  gap: 0.8rem;
}

.product-price { font-size: 1.05rem; font-weight: 800; color: var(--red); white-space: nowrap; }

.add-btn {
  background: #221e1b;
  border: 1px solid var(--card-line);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.add-btn:hover { background: var(--red); border-color: var(--red); }

.product.sold-out .product-media img { filter: grayscale(70%) brightness(0.55); }
.product.sold-out .add-btn { opacity: 0.45; cursor: not-allowed; }
.product.sold-out .add-btn:hover { background: #221e1b; border-color: var(--card-line); }

/* --------------------------------------------------------------------------
   Menu page pills
   -------------------------------------------------------------------------- */

.menu-nav {
  position: sticky;
  top: 62px;
  z-index: 60;
  background: rgba(12, 11, 10, 0.97);
  border-bottom: 1px solid var(--card-line);
  padding: 0.75rem 0;
}

.menu-nav-list { display: flex; flex-wrap: wrap; gap: 0.55rem; justify-content: center; }

.menu-nav-list a {
  padding: 0.42rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 999px;
  border: 1px solid var(--card-line);
  color: var(--muted);
  transition: all 0.2s ease;
}

.menu-nav-list a:hover, .menu-nav-list a.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.menu-section { padding: 3.4rem 0 0.6rem; }
.menu-section:last-of-type { padding-bottom: 4.5rem; }

.menu-section .section-head { margin-bottom: 1.6rem; }

.page-title-wrap {
  background: var(--panel);
  border-bottom: 1px solid var(--card-line);
  padding: 3.2rem 0 2.4rem;
  text-align: center;
}

.page-title-wrap h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }

.page-title-wrap p { color: var(--muted); margin-top: 0.4rem; }

/* --------------------------------------------------------------------------
   Story split
   -------------------------------------------------------------------------- */

.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.story-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.story-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--card-line);
}

.story-media img:nth-child(2) { transform: translateY(1.6rem); }

.story-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; margin-bottom: 1rem; }

.story-copy p { color: var(--muted); margin-bottom: 1rem; }

.story-copy .btn { margin-top: 0.8rem; }

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }

.review-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.review-stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.95rem; }

.review-text { font-size: 0.94rem; color: var(--text); flex: 1; }

.review-meta { display: flex; align-items: center; justify-content: space-between; }

.review-meta strong { font-size: 0.9rem; }

.review-source {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--card-line);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   CTA band + info
   -------------------------------------------------------------------------- */

.cta-band {
  background: linear-gradient(rgba(12, 11, 10, 0.78), rgba(12, 11, 10, 0.78)), url("../images/slide1.jpg") center/cover no-repeat;
  border-radius: var(--radius);
  padding: 3.4rem 2.4rem;
  text-align: center;
}

.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 0.7rem; }

.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 1.6rem; }

.cta-phone { display: block; font-size: 1.7rem; font-weight: 800; color: var(--red); margin-bottom: 1.4rem; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }

.info-card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}

.info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.info-card h3 svg { width: 18px; height: 18px; color: var(--red); }

.info-card p, .info-card li { color: var(--muted); font-size: 0.92rem; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.28rem 0;
  border-bottom: 1px dashed var(--card-line);
}

.hours-list li:last-child { border-bottom: 0; }
.hours-list .closed { color: var(--red); font-weight: 700; }

.info-card a { color: var(--text); font-weight: 700; }
.info-card a:hover { color: var(--red); }

/* --------------------------------------------------------------------------
   Reservation form
   -------------------------------------------------------------------------- */

.reserve-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: start; }

.reserve-form {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-field { margin-bottom: 1rem; }

.form-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-family: var(--font);
  font-size: 0.94rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--card-line);
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(210, 31, 46, 0.18);
}

.form-field textarea { resize: vertical; min-height: 100px; }

.form-submit { width: 100%; margin-top: 0.4rem; }

.form-confirm { display: none; text-align: center; padding: 2.6rem 1rem; }
.form-confirm.visible { display: block; }
.form-confirm h3 { font-size: 1.5rem; font-weight: 800; margin: 0.9rem 0 0.5rem; }
.form-confirm p { color: var(--muted); }
.form-confirm-icon { width: 54px; height: 54px; margin: 0 auto; color: var(--red); }

.info-grid-stack { grid-template-columns: 1fr; }

.map-gap { margin-top: 1.3rem; }

.form-title { margin-bottom: 0.4rem; font-size: 1.5rem; font-weight: 800; }

.form-lead { color: var(--muted); margin-bottom: 1.4rem; font-size: 0.92rem; }

.map-embed {
  border: 1px solid var(--card-line);
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  filter: grayscale(55%) invert(90%) hue-rotate(180deg);
}

/* --------------------------------------------------------------------------
   Cart drawer + toast
   -------------------------------------------------------------------------- */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  width: min(380px, 92vw);
  background: var(--panel);
  border-left: 1px solid var(--card-line);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { transform: none; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--card-line);
}

.drawer-head h3 { font-size: 1.05rem; font-weight: 800; }

.drawer-close {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.drawer-close:hover { color: var(--text); }

.drawer-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }

.drawer-empty { color: var(--muted); text-align: center; padding: 2.5rem 0; font-size: 0.92rem; }

.drawer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--card-line);
  font-size: 0.9rem;
}

.drawer-item strong { font-weight: 700; }

.drawer-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-item-qty button {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--card-line);
  background: var(--card);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.drawer-item-qty button:hover { border-color: var(--red); }

.drawer-foot { padding: 1.2rem 1.4rem; border-top: 1px solid var(--card-line); }

.drawer-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.drawer-note { font-size: 0.76rem; color: var(--muted); text-align: center; margin-top: 0.7rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translate(-50%, 20px);
  z-index: 210;
  background: var(--card);
  border: 1px solid var(--red);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: #080706;
  border-top: 1px solid var(--card-line);
  padding: 3.6rem 0 0;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.6rem;
}

.footer-brand p { font-size: 0.9rem; max-width: 300px; margin-top: 0.9rem; }

.footer-col h4 { color: var(--text); font-size: 0.95rem; font-weight: 800; margin-bottom: 1rem; }

.footer-col li { margin-bottom: 0.5rem; }

.footer-col a { font-size: 0.9rem; }
.footer-col a:hover { color: var(--text); }

.footer-hours li { display: flex; justify-content: space-between; font-size: 0.88rem; }

.footer-bottom {
  border-top: 1px solid var(--card-line);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   Reveal
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 880px) {
  .nav-menu {
    position: fixed;
    inset: 0;
    z-index: 150;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    background: rgba(8, 7, 6, 0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .nav-menu.open { opacity: 1; pointer-events: auto; }
  .nav-menu a { font-size: 1.05rem; color: var(--text); }
  .nav-toggle { display: flex; z-index: 160; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story-split, .reserve-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .menu-nav { top: 58px; }
}

@media (max-width: 560px) {
  .section { padding: 3.2rem 0; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .product-desc { display: none; }
  .cat-row { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cart-btn span.cart-label { display: none; }
}

/* real logo in header */
.brand-logo { height: 54px; width: auto; display: block; border-radius: 4px; }
@media (max-width: 880px) { .brand-logo { height: 40px; } }

/* photo gallery grid */
.gal-lead { text-align: center; opacity: .7; margin: -1rem 0 1.6rem; }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gal-item { position: relative; border-radius: 8px; overflow: hidden; margin: 0; }
.gal-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item figcaption { position: absolute; inset: auto 0 0 0; padding: 1.6rem .8rem .6rem; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.85)); opacity: 0; transition: opacity .3s ease; }
.gal-item:hover figcaption { opacity: 1; }
@media (max-width: 880px) { .gal-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }

/* product detail page */
.pdp-crumb-wrap { padding: 1.1rem 0; }
.pdp-crumb { font-size: .85rem; opacity: .75; }
.pdp-crumb a { text-decoration: underline; text-underline-offset: 3px; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.pdp-grid .pdp-media { aspect-ratio: 1; border-radius: 10px; overflow: hidden; position: relative; }
.pdp-grid .pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-cat { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; opacity: .6; margin-bottom: .4rem; }
.pdp-name { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.15; margin-bottom: .7rem; }
.pdp-price { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.1rem; }
.pdp-price span { font-size: .8rem; opacity: .6; }
.pdp-desc { opacity: .85; line-height: 1.75; margin-bottom: 1.5rem; max-width: 34rem; }
.pdp-buy { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; }
.pdp-qty-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.pdp-qty { width: 74px; padding: .6rem .6rem; border-radius: 8px; border: 1px solid rgba(128,128,128,.35); background: transparent; color: inherit; font: inherit; text-align: center; }
.pdp-add { flex: none; padding: .8rem 2rem; }
.pdp-soldout { margin-bottom: 1.4rem; opacity: .8; }
.pdp-soldout a { text-decoration: underline; }
.pdp-meta { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; font-size: .82rem; opacity: .6; }
.pdp-meta li::before { content: "✓ "; }
@media (max-width: 880px) { .pdp-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
