/* ============================================================
   AURA CAFÉ & RESTAURANT
   Mobile-first · Navy + Gold · EN/AR
   ============================================================ */

:root {
  --n900: #07111A;
  --n800: #0D1B2A;
  --n700: #132336;
  --n600: #1A2D45;
  --n500: #213654;
  --gold:    #C9A96E;
  --gold-lt: #E2CEAD;
  --gold-dk: #9A7735;
  --cream:   #F5F0E8;
  --muted:   #7A8FA6;
  --border:  rgba(201,169,110,.18);
  --shadow:  0 8px 32px rgba(0,0,0,.5);
  --r:       14px;
  --r-sm:    9px;
  --ease:    cubic-bezier(.4,0,.2,1);
  --nav-h:   56px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* ── Background — velvet texture ── */
body {
  background-color: #07111A;
  background-image: url('../images/bg-texture.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 22, 0.52);
  z-index: 0;
  pointer-events: none;
}
body > * { position: relative; z-index: 1; }

body[dir="rtl"] { font-family: 'Cairo', sans-serif; }
img  { display: block; max-width: 100%; }
button, a { cursor: pointer; font-family: inherit; }
button { border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--gold-dk); border-radius: 2px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  background: rgba(7,17,26,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-left  { display: flex; align-items: center; gap: 10px; }
.nav-right { display: flex; align-items: center; gap: 12px; }

.back-btn {
  display: none;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--cream);
  transition: .2s var(--ease);
  flex-shrink: 0;
}
.back-btn:hover { border-color: var(--gold); color: var(--gold); }
.back-btn.show { display: flex; }

.brand { display: flex; align-items: center; }
.brand-logo {
  height: 40px; width: auto;
  object-fit: contain;
  opacity: .95;
}

.nav-link {
  font-size: .78rem; font-weight: 600; color: var(--muted);
  padding: 4px 10px; border-radius: 20px; border: 1px solid transparent;
  transition: .2s;
}
.nav-link:hover { color: var(--gold); border-color: var(--border); }

.lang-toggle { display: flex; background: var(--n600); border: 1px solid var(--border); border-radius: 20px; padding: 3px; }
.lang-btn { padding: 4px 11px; border-radius: 16px; font-size: .7rem; font-weight: 700; color: var(--muted); transition: .2s; }
.lang-btn.active { background: var(--gold); color: var(--n900); }

/* ============================================================
   VIEW WRAPPER
   ============================================================ */
.view { padding-top: var(--nav-h); min-height: 100vh; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 40px 16px 32px;
  background: transparent;
}
.hero-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(201,169,110,.15), transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-logo-wrap {
  width: 200px; height: auto;
  margin: 0 auto 8px;
}
.hero-logo-wrap img {
  width: 100%; height: auto; object-fit: contain;
  opacity: .97;
  mix-blend-mode: lighten;
}
.hero-logo-svg { display: flex; align-items: center; justify-content: center; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 7vw, 2.8rem); font-weight: 700;
  color: var(--gold); letter-spacing: 8px; margin-bottom: 4px;
}
body[dir="rtl"] .hero-title { font-family: 'Cairo', sans-serif; letter-spacing: 0; }
.hero-sub { font-size: .72rem; color: var(--muted); letter-spacing: 3px; text-transform: uppercase; }
.hero-rule { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 14px; }
.hero-rule span { display: block; height: 1px; width: 44px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.hero-rule i { font-size: .45rem; color: var(--gold); font-style: normal; opacity: .7; }

/* ============================================================
   SECTIONS VIEW (Level 1)
   ============================================================ */
.sec-grid-wrap { padding: 8px 14px 80px; }
.sec-grid {
  display: flex; flex-direction: column;
  gap: 14px;
  max-width: 600px;
  margin: 0 auto;
}

.sec-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  height: 160px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: rgba(13,27,42,.75);
  backdrop-filter: blur(8px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  animation: fadeUp .35s var(--ease) both;
  display: flex; align-items: flex-end;
}
.sec-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,.55); border-color: rgba(201,169,110,.5); }
.sec-card:active { transform: scale(.98); }

.sec-card-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.sec-card:hover .sec-card-bg { transform: scale(1.05); }
.sec-card-ph {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--n600), var(--n700));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.sec-card-overlay {
  position: relative; z-index: 2; width: 100%;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(7,17,26,.92) 0%, rgba(7,17,26,.3) 70%, transparent 100%);
}
.sec-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 700; color: var(--cream);
  letter-spacing: 1px; margin-bottom: 4px;
}
body[dir="rtl"] .sec-card-name { font-family: 'Cairo', sans-serif; letter-spacing: 0; }
.sec-card-desc { font-size: .72rem; color: var(--gold-lt); opacity: .85; line-height: 1.4; }
.sec-card-arrow {
  position: absolute; top: 50%; right: 18px; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(201,169,110,.15); border: 1px solid rgba(201,169,110,.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
  transition: background .2s, transform .2s;
}
body[dir="rtl"] .sec-card-arrow { right: auto; left: 18px; transform: translateY(-50%) scaleX(-1); }
.sec-card:hover .sec-card-arrow { background: rgba(201,169,110,.3); transform: translateY(-50%) translateX(2px); }

/* ============================================================
   CATEGORY GRID (Level 2)
   ============================================================ */
.section-header {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 16px 14px;
  background: rgba(7,17,26,.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.section-header-icon {
  width: 44px; height: 44px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0;
  background: var(--n600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.section-header-icon img { width: 100%; height: 100%; object-fit: cover; }
.section-header-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--gold);
}
body[dir="rtl"] .section-header-name { font-family: 'Cairo', sans-serif; }
.section-header-desc { font-size: .72rem; color: var(--muted); margin-top: 2px; }

.cat-grid-wrap { padding: 16px 12px 80px; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.cat-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  height: 150px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: rgba(13,27,42,.75);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  animation: fadeUp .35s var(--ease) both;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.5); }
.cat-card:active { transform: scale(.97); }

.cat-card-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform .5s var(--ease);
}
.cat-card:hover .cat-card-bg { transform: scale(1.06); }
.cat-card-ph {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--n600), var(--n700));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,17,26,.88) 0%, rgba(7,17,26,.2) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px;
}
.cat-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700; color: var(--cream);
  line-height: 1.2; margin-bottom: 3px;
}
body[dir="rtl"] .cat-card-name { font-family: 'Cairo', sans-serif; }
.cat-card-count { font-size: .65rem; color: var(--gold); font-weight: 600; letter-spacing: .5px; }

.cat-card-shimmer {
  height: 150px; border-radius: var(--r);
  background: linear-gradient(90deg, var(--n700) 25%, var(--n600) 50%, var(--n700) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.4s infinite;
}

/* ============================================================
   ITEMS VIEW (Level 3)
   ============================================================ */
.items-header {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 16px 12px;
  background: rgba(7,17,26,.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.items-cat-img {
  width: 44px; height: 44px; border-radius: 10px;
  overflow: hidden; flex-shrink: 0;
  background: var(--n600);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.items-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.items-cat-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--gold);
}
body[dir="rtl"] .items-cat-name { font-family: 'Cairo', sans-serif; }

.search-bar {
  position: relative; padding: 10px 12px;
  background: rgba(7,17,26,.5);
  border-bottom: 1px solid var(--border);
}
.search-bar input {
  width: 100%;
  background: rgba(19,35,54,.8); border: 1px solid var(--border); border-radius: 20px;
  padding: 9px 16px 9px 38px;
  color: var(--cream); font-size: .875rem; font-family: inherit;
  outline: none; transition: .2s;
}
body[dir="rtl"] .search-bar input { padding: 9px 38px 9px 16px; }
.search-bar input::placeholder { color: var(--muted); }
.search-bar input:focus { border-color: var(--gold); background: rgba(26,45,69,.8); }
.search-icon { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .85rem; pointer-events: none; }
body[dir="rtl"] .search-icon { left: auto; right: 24px; }

.items-wrap { padding: 12px 12px 80px; }
.items-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

/* ── Item card ── */
.item-card {
  display: flex;
  background: rgba(13,27,42,.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  transition: .22s var(--ease);
  animation: fadeUp .3s var(--ease) both;
}
.item-card:hover  { border-color: rgba(201,169,110,.45); box-shadow: 0 6px 24px rgba(0,0,0,.4); transform: translateY(-2px); }
.item-card:active { transform: scale(.98); }
.item-card.sold-out { opacity: .5; }

.item-card-img {
  width: 120px; min-width: 120px; height: 120px;
  position: relative; overflow: hidden;
  background: var(--n600); flex-shrink: 0;
}
.item-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.item-card:hover .item-card-img img { transform: scale(1.06); }
.item-card-img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; }

/* ── Centered play button on card photo ── */
.item-card-video-icon {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.28);
  pointer-events: none;
}
.item-card-video-icon::after {
  content: '';
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(201,169,110,.90);
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
  /* play triangle via clip-path */
  clip-path: none;
  display: flex; align-items: center; justify-content: center;
}
/* Using SVG play shape inside the circle */
.item-card-video-btn {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3);
  pointer-events: none;
}
.item-card-play-circle {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(201,169,110,.92);
  box-shadow: 0 2px 14px rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.item-card-play-circle svg { margin-left: 3px; }

.item-card-body {
  flex: 1; padding: 12px 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-width: 0;
}
.item-card-name {
  font-size: .9rem; font-weight: 700; color: var(--cream);
  margin-bottom: 5px; line-height: 1.3;
}
body[dir="rtl"] .item-card-name { font-family: 'Cairo', sans-serif; }
.item-card-desc {
  font-size: .75rem; color: var(--muted); line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.item-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.item-card-price { font-size: .95rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.item-card-price-cur { font-size: .68rem; font-weight: 500; color: var(--gold-dk); margin-left: 2px; }
body[dir="rtl"] .item-card-price-cur { margin-left: 0; margin-right: 2px; }

.badge {
  font-size: .6rem; font-weight: 700; padding: 2px 8px;
  border-radius: 20px; letter-spacing: .4px; text-transform: uppercase; white-space: nowrap;
}
.badge-featured { background: rgba(201,169,110,.12); border: 1px solid rgba(201,169,110,.3); color: var(--gold); }
.badge-soldout  { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--muted); }
.badge-video    { background: rgba(255,100,100,.1); border: 1px solid rgba(255,100,100,.25); color: #f87; }

/* ── Empty state ── */
.empty { text-align: center; padding: 56px 24px; color: var(--muted); }
.empty-icon { font-size: 2.5rem; margin-bottom: 10px; opacity: .5; }

/* ============================================================
   ITEM DETAIL — bottom sheet
   ============================================================ */
.detail-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,.75);
  display: none; align-items: flex-end;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  /* Make the whole overlay clickable to close */
  cursor: pointer;
}
.detail-overlay.open { display: flex; animation: overlayIn .25s var(--ease); }

@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }

.detail-sheet {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: var(--n700);
  border: 1px solid var(--border);
  border-radius: var(--r) var(--r) 0 0;
  max-height: 90vh;
  overflow-y: auto;
  animation: sheetUp .3s var(--ease);
  position: relative;
  scrollbar-width: none;
  cursor: default; /* sheet itself doesn't close */
}
.detail-sheet::-webkit-scrollbar { display: none; }

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

.detail-close {
  position: absolute; top: 12px; right: 12px; z-index: 10;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(7,17,26,.8); border: 1px solid var(--border);
  color: var(--cream); display: flex; align-items: center; justify-content: center;
  transition: .2s;
}
body[dir="rtl"] .detail-close { right: auto; left: 12px; }
.detail-close:hover { background: var(--n600); border-color: var(--gold); }

.detail-img-wrap { width: 100%; height: 240px; overflow: hidden; background: var(--n600); }
.detail-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.detail-img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; }

.detail-body { padding: 20px; }
.detail-badges { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.detail-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem; font-weight: 700; color: var(--cream);
  margin-bottom: 10px; line-height: 1.3;
}
body[dir="rtl"] .detail-name { font-family: 'Cairo', sans-serif; }
.detail-desc { font-size: .875rem; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.detail-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.detail-price { font-size: 1.4rem; font-weight: 700; color: var(--gold); }

/* Video section */
.detail-video { margin-top: 4px; }
.detail-video-thumb {
  position: relative; width: 100%; padding-top: 56.25%;
  border-radius: var(--r-sm); overflow: hidden; cursor: pointer;
  background: var(--n900);
}
.detail-video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.4); transition: .2s;
}
.detail-video-play:hover { background: rgba(0,0,0,.55); }
.detail-video-play-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.detail-video-play-icon svg { margin-left: 3px; }
.detail-video-label { font-size: .72rem; color: var(--muted); margin-top: 6px; text-align: center; }
.detail-video iframe { width: 100%; border: none; border-radius: var(--r-sm); aspect-ratio: 16/9; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: rgba(7,17,26,.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; color: var(--gold); letter-spacing: 4px; margin-bottom: 14px;
}
body[dir="rtl"] .footer-brand { font-family: 'Cairo', sans-serif; letter-spacing: 0; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin-bottom: 14px; }
.footer-link {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--muted);
  padding: 5px 12px; border-radius: 20px;
  border: 1px solid var(--border);
  transition: .2s;
}
.footer-link:hover { color: var(--gold); border-color: var(--gold); }
.footer-link span { font-size: .85rem; }
.footer-copy { font-size: .68rem; color: var(--muted); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  background: transparent;
  padding: 40px 20px 32px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.about-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 5vw, 2.2rem); color: var(--gold); letter-spacing: 4px; margin-bottom: 6px;
}
body[dir="rtl"] .about-hero-title { font-family: 'Cairo', sans-serif; letter-spacing: 0; }
.about-hero-rule { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 12px; }
.about-hero-rule span { height: 1px; width: 40px; background: linear-gradient(90deg,transparent,var(--gold),transparent); }
.about-hero-rule i { font-size: .45rem; color: var(--gold); font-style: normal; }

.about-body { max-width: 680px; margin: 0 auto; padding: 32px 20px 24px; }
.about-section { margin-bottom: 32px; }
.about-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--gold); margin-bottom: 12px;
}
body[dir="rtl"] .about-section-title { font-family: 'Cairo', sans-serif; }
.about-text { font-size: .9rem; color: var(--muted); line-height: 1.8; }
.about-rule { height: 1px; background: var(--border); margin: 24px 0; }

.contact-grid { display: flex; flex-direction: column; gap: 10px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(19,35,54,.8); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 12px 16px;
  font-size: .875rem; color: var(--cream);
  transition: .2s;
}
.contact-item:hover { border-color: var(--gold); }
.contact-item-icon { font-size: 1.1rem; flex-shrink: 0; }
.contact-item-label { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .5px; display: block; margin-bottom: 1px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer  { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

.sec-card:nth-child(1) { animation-delay: .05s; }
.sec-card:nth-child(2) { animation-delay: .10s; }
.sec-card:nth-child(3) { animation-delay: .15s; }
.cat-card:nth-child(1) { animation-delay: .04s; }
.cat-card:nth-child(2) { animation-delay: .08s; }
.cat-card:nth-child(3) { animation-delay: .12s; }
.cat-card:nth-child(4) { animation-delay: .16s; }
.cat-card:nth-child(5) { animation-delay: .2s; }
.cat-card:nth-child(6) { animation-delay: .24s; }
.item-card:nth-child(1) { animation-delay: .04s; }
.item-card:nth-child(2) { animation-delay: .08s; }
.item-card:nth-child(3) { animation-delay: .12s; }
.item-card:nth-child(4) { animation-delay: .16s; }
.item-card:nth-child(5) { animation-delay: .2s; }
.item-card:nth-child(6) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, .sec-card, .cat-card, .item-card, .detail-sheet, .detail-overlay { animation: none !important; transition: none !important; }
}

/* ============================================================
   TABLET (≥ 560px)
   ============================================================ */
@media (min-width: 560px) {
  .sec-grid { flex-direction: row; flex-wrap: wrap; }
  .sec-card  { flex: 1; min-width: 240px; height: 180px; }

  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-card  { height: 170px; }

  .items-grid { grid-template-columns: repeat(2, 1fr); }
  .item-card  { flex-direction: column; }
  .item-card-img { width: 100%; min-width: 100%; height: 170px; }
  .item-card-desc { -webkit-line-clamp: 3; }

  .detail-sheet { border-radius: var(--r); margin: auto; max-height: 85vh; }
  .detail-overlay { align-items: center; }
  .detail-img-wrap { height: 280px; }
}

/* ============================================================
   DESKTOP (≥ 900px)
   ============================================================ */
@media (min-width: 900px) {
  .cat-grid   { grid-template-columns: repeat(4, 1fr); }
  .items-grid { grid-template-columns: repeat(3, 1fr); }
  .item-card-img { height: 190px; }
}
