/* ─── Design system ─── */
:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-soft: #6e6e73;
  --text-invert: #f5f5f7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-dark: #2997ff;
  --line: #d2d2d7;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-rest: 0 2px 6px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.07);
  --shadow-hover: 0 12px 28px rgba(0,0,0,0.14), 0 32px 56px rgba(0,0,0,0.11);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.47059;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.bg-orb { display: none; }

/* ─── Layout ─── */
.container {
  width: min(1080px, calc(100% - 3rem));
  margin: 0 auto;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(200%) blur(24px);
  -webkit-backdrop-filter: saturate(200%) blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  background: linear-gradient(145deg, #1d1d1f 0%, #3a3a3c 100%);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand h1 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1;
}

.brand p {
  display: block;
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-soft);
  font-weight: 400;
  line-height: 1;
}

.header-tagline {
  font-size: 0.82rem;
  color: var(--text-soft);
  font-weight: 400;
  display: none;
}

@media (max-width: 700px) {
  .banner {
    grid-template-columns: 1fr;
  }
  .banner-intro {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 1rem;
  }
  .header-tagline { display: block; }
}

/* ─── Banner (most clicked) ─── */
.banner {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: center;
  animation: fadeUp 0.7s ease both;
}

.banner-intro {
  border-right: 1px solid var(--line);
  padding-right: 1.5rem;
  flex-shrink: 0;
}

.banner-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.banner-intro h2 {
  margin: 0 0 0.45rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.banner-sub {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.banner-hits {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.banner-hits::-webkit-scrollbar { height: 4px; }
.banner-hits::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

.hit-item {
  flex: 0 0 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.hit-item:hover { transform: translateY(-3px); }

.hit-item img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  background: #f0f0f2;
  padding: 6px;
  border: 1px solid var(--line);
  transition: box-shadow 0.2s;
}

.hit-item:hover img { box-shadow: 0 4px 14px rgba(0,0,0,0.12); }

.hit-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 84px;
}

.hit-clicks {
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 600;
}

.banner-empty {
  color: var(--text-soft);
  font-size: 0.88rem;
  margin: 0;
}

/* ─── Cards ─── */
.card {
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  border: none;
}

.glass {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ─── Filtros ─── */
.filters {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.filters-form {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1.4fr 1fr auto;
  align-items: end;
}

.input-group { display: grid; gap: 0.35rem; }

.input-group label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}

input, select, textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.18);
  background: #fff;
}

textarea { resize: vertical; }

.filter-actions { display: flex; gap: 0.5rem; }

/* ─── Botões ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 980px;
  font-size: 0.88rem;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  padding: 0.52rem 1.1rem;
  transition: background var(--transition), opacity var(--transition);
  white-space: nowrap;
  letter-spacing: -0.005em;
  text-decoration: none;
}

.btn:active { opacity: 0.75; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost { background: rgba(0,0,0,0.06); color: var(--text); }
.btn-ghost:hover { background: rgba(0,0,0,0.1); }

.btn-danger { background: #ff3b30; color: #fff; }
.btn-danger:hover { background: #e0342a; }

/* ─── Grid de produtos ─── */
.products-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  background: none;
  border-radius: 0;
  overflow: visible;
  margin-bottom: 5rem;
  perspective: 1200px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  box-shadow: var(--shadow-rest);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
  will-change: transform;
  transform-style: preserve-3d;
  cursor: pointer;
}

.product-card.is-visible {
  animation: fadeUp 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: calc(var(--delay) * 60ms);
  opacity: 1;
}

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

/* ─── Imagem ─── */
.product-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f0f2;
  isolation: isolate;
}

.product-image-wrap::before {
  content: '';
  position: absolute;
  inset: -16px;
  background: var(--thumb) center / cover no-repeat;
  filter: blur(22px) brightness(0.78) saturate(0.7);
  z-index: 0;
  transition: transform var(--transition);
}

.product-card:hover .product-image-wrap::before { transform: scale(1.05); }

.product-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 1;
  padding: 10px;
  transition: transform var(--transition);
}

.product-card:hover .product-image-wrap img { transform: scale(1.03); }

.pill {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.28rem 0.6rem;
  border-radius: 980px;
  color: #fff;
  background: #1d1d1f;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 2;
}

/* ─── Conteúdo do card ─── */
.product-content {
  padding: 1.1rem 1.1rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.category-tag {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
}

.product-content h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.3;
}

.product-content > p {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.product-content .btn {
  align-self: flex-start;
  margin-top: 0.4rem;
  font-size: 0.84rem;
  padding: 0.45rem 1rem;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 3rem 2rem;
  text-align: center;
  background: var(--surface);
}

.empty-state h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.empty-state p { margin: 0; color: var(--text-soft); }

/* ─── Footer ─── */
.site-footer {
  background: #f5f5f7;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.78rem;
  padding: 1.2rem 0;
  text-align: center;
}

/* ─── Auth ─── */
.auth-layout {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
  background: var(--bg);
}

.auth-card {
  width: min(460px, 100%);
  padding: 2rem;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 4px 32px rgba(0,0,0,0.12);
}

.auth-card h2 {
  margin: 0 0 0.3rem;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.auth-card > p {
  margin: 0 0 1.4rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

/* ─── Mensagens ─── */
.message {
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
}

.message-error {
  color: #68000d;
  border: 1px solid #ffc9ce;
  background: #fff2f3;
}

.message-success {
  color: #0a3d2b;
  border: 1px solid #bbe5d3;
  background: #effaf6;
}

/* ─── Admin header ─── */
.admin-header {
  padding: 1.5rem 0 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.admin-header h2 {
  margin: 0 0 0.2rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.admin-header p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.admin-header .actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-nav {
  margin-top: 0.35rem;
  margin-bottom: 0.9rem;
  padding: 0.6rem;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.admin-nav-group {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.admin-nav-group-secondary {
  justify-content: flex-end;
}

.admin-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.admin-nav-link:hover {
  color: var(--text);
  background: rgba(0,0,0,0.05);
}

.admin-nav-link.is-active {
  color: #fff;
  background: var(--text);
  border-color: var(--text);
}

/* ─── Admin grid ─── */
.admin-grid {
  margin-top: 0.75rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 370px 1fr;
  align-items: start;
  padding-bottom: 3rem;
}

.form-panel {
  padding: 1.4rem;
  border-radius: var(--radius);
  position: sticky;
  top: 68px;
}

.form-panel h3, .table-panel h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.table-panel {
  padding: 1.4rem;
  border-radius: var(--radius);
}

.form-grid { display: grid; gap: 0.8rem; }

/* ─── Tabela ─── */
.table-scroll { overflow: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: 0.88rem;
}

th {
  text-align: left;
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

td {
  text-align: left;
  padding: 0.72rem 0.6rem;
  border-bottom: 1px solid #f0f0f2;
  vertical-align: middle;
  color: var(--text);
}

td small { color: var(--text-soft); font-size: 0.8rem; }

.actions { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }

/* ─── Breakpoints ─── */
@media (max-width: 980px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); perspective: none; }
  .filters-form, .admin-grid { grid-template-columns: 1fr; }
  .form-panel { position: static; }
  .filter-actions { justify-content: flex-start; }
  .admin-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-nav-group,
  .admin-nav-group-secondary {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; gap: 1rem; }
  .site-header .container { height: 56px; }
  /* desativa 3D em mobile para performance */
  .product-card { transform-style: flat !important; }
}

/* ─── Animação ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Card carousel ─── */
.card-carousel {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-slide {
  display: none;
  position: absolute;
  inset: 0;
}

.card-slide.active { display: block; }

.card-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
}

.video-badge {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  z-index: 3;
}

/* carousel arrow buttons */
.c-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  color: var(--text);
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
}
.c-btn:hover { background: #fff; transform: translateY(-50%) scale(1.1); }
.c-prev { left: 0.5rem; }
.c-next { right: 0.5rem; }

.c-dots {
  position: absolute;
  bottom: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}

.c-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transition: background 0.2s, transform 0.2s;
}
.c-dot.on { background: #fff; transform: scale(1.3); }

/* ─── Modal overlay ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

.modal-overlay[hidden] { display: none; }

.modal-box {
  background: #fff;
  border-radius: 24px;
  width: min(880px, 100%);
  max-height: 92vh;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  animation: scaleIn 0.28s cubic-bezier(0.34,1.56,0.64,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.08);
  cursor: pointer;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  z-index: 20;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(0,0,0,0.15); }

.modal-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: auto;
  max-height: 92vh;
}

/* media column */
.modal-media-col {
  background: #f5f5f7;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

.modal-carousel {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.modal-slide {
  display: none;
  position: absolute;
  inset: 0;
}
.modal-slide.active { display: block; }

.modal-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 20px;
}

.modal-slide iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-m-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.92);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  z-index: 5;
  transition: background 0.2s, transform 0.2s;
}
.modal-m-btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.modal-m-prev { left: 0.75rem; }
.modal-m-next { right: 0.75rem; }

.modal-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0.75rem;
}

.modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.modal-dot.on { background: var(--accent); transform: scale(1.3); }

/* info column */
.modal-info-col {
  padding: 2.2rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}

.modal-category {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.modal-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
}

.modal-desc {
  margin: 0.4rem 0 1rem;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.modal-price {
  margin: 0.2rem 0 0.2rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.modal-section {
  margin-top: 0.35rem;
}

.modal-section h3 {
  margin: 0.5rem 0 0.55rem;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  text-transform: uppercase;
}

.modal-testimonials {
  display: grid;
  gap: 0.5rem;
}

.modal-testimonial-item {
  border: 1px solid #ececef;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: #fafafc;
}

.modal-testimonial-text {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.modal-testimonial-meta {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  color: var(--text);
  font-weight: 600;
}

.modal-rating {
  color: #f5b301;
  margin-left: 0.25rem;
}

.modal-similar-grid {
  display: grid;
  gap: 0.55rem;
}

.modal-similar-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.6rem;
  align-items: center;
  border: 1px solid #ececef;
  border-radius: 10px;
  background: #fff;
  padding: 0.45rem;
  transition: border-color 0.2s, transform 0.2s;
}

.modal-similar-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.modal-similar-card img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: #f2f2f4;
}

.modal-similar-card h4 {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.25;
}

.modal-similar-card p {
  margin: 0.2rem 0 0;
  font-size: 0.76rem;
  color: var(--text-soft);
  line-height: 1.35;
}

.modal-empty {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.modal-offer-btn {
  align-self: flex-start;
  font-size: 1rem;
  padding: 0.8rem 2rem;
  font-weight: 500;
}

.modal-detail-btn {
  align-self: flex-start;
  margin-bottom: 0.3rem;
}

/* admin media rows */
.media-row {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.media-row input { flex: 1; }

/* better checkbox labels */
label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  transition: background 0.2s;
}
label:has(input[type="checkbox"]):hover { background: rgba(0,113,227,0.06); }
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .modal-inner { grid-template-columns: 1fr; }
  .modal-media-col { min-height: 260px; }
  .modal-info-col { padding: 1.4rem; }
  .product-detail-main { grid-template-columns: 1fr !important; }
}

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
