/* ============================================================
   TABACUM — style.css
   Paleta de colores de palette.scss convertida a CSS custom properties
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --ash-grey: #b4b8ab;
  --carbon-black: #242423;
  --graphite: #333533;
  --sea-green: #008148;
  --fiery-terracotta: #d95d39;
  --bg: #f5f5f3;
  --white: #ffffff;
  --font: 'Inter', sans-serif;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(36, 36, 35, 0.08);
  --transition: 0.2s ease;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--carbon-black);
  font-size: 16px;
  line-height: 1.6;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}

ul {
  list-style: none;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.1rem;
}

.section-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--graphite);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

/* ── Layout ── */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 5rem 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary {
  background: var(--sea-green);
  color: var(--white);
}

.btn-primary:hover {
  background: #006a3a;
}

.btn-outline {
  border: 1.5px solid var(--carbon-black);
  color: var(--carbon-black);
}

.btn-outline:hover {
  background: var(--carbon-black);
  color: var(--white);
}

.btn-ghost {
  color: var(--sea-green);
  font-weight: 600;
}

.btn-ghost:hover {
  text-decoration: underline;
}

/* ============================================================
   AGE GATE
   ============================================================ */
#age-gate {
  position: fixed;
  inset: 0;
  background: rgba(36, 36, 35, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

#age-gate.hidden {
  display: none;
}

.age-gate-card {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.age-gate-logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--carbon-black);
  margin-bottom: 1.5rem;
}

.age-gate-card h2 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

.age-gate-card p {
  color: var(--graphite);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.age-gate-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 0.85rem;
  font-size: 1rem;
}

.age-gate-legal {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--ash-grey);
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  transition: box-shadow var(--transition);
}

#header.scrolled {
  box-shadow: var(--shadow);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--carbon-black);
}

.logo span {
  color: var(--sea-green);
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--graphite);
  transition: color var(--transition);
}

nav a:hover {
  color: var(--sea-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-btn {
  position: relative;
  padding: 0.5rem;
  color: var(--carbon-black);
  font-size: 1.4rem;
  line-height: 1;
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--fiery-terracotta);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-badge.hidden {
  display: none;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--carbon-black);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
#hero {
  position: relative;
  overflow: hidden;
  height: 620px;
  background: var(--carbon-black);
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* overlay oscuro sobre toda la imagen */
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.slide-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.slide-box {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2.5rem 2.75rem;
  max-width: 520px;
  color: var(--white);
}

.slide-tag {
  display: inline-block;
  background: var(--fiery-terracotta);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.slide-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.slide-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
}

.slider-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}

.dot.active {
  background: var(--white);
  width: 22px;
  border-radius: 4px;
}

.slider-arrow {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   BRANDS
   ============================================================ */
#brands {
  background: var(--white);
  padding: 2.5rem 0;
  border-top: 1px solid #e8e8e5;
  border-bottom: 1px solid #e8e8e5;
  overflow: hidden;
}

.brands-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash-grey);
  margin-bottom: 1.75rem;
}

.brands-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      black 33%,
      black 67%,
      transparent 100%);
  mask-image: linear-gradient(to right,
      transparent 0%,
      black 33%,
      black 67%,
      transparent 100%);
}

.brands-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 100px;
}

.brand-item img {
  height: 120px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: opacity(0.85);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.brand-item:hover img {
  filter: opacity(1);
  transform: scale(1.12);
}

.brand-fallback {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ash-grey);
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.brand-item:hover .brand-fallback {
  color: var(--carbon-black);
}

/* ============================================================
   FEATURED
   ============================================================ */
#featured {
  background: var(--white);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid #e8e8e5;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-img-wrap {
  height: 200px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ash-grey);
  font-size: 2.5rem;
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.badge-oferta {
  background: var(--fiery-terracotta);
  color: var(--white);
}

.badge-nuevo {
  background: var(--sea-green);
  color: var(--white);
}

.badge-agotado {
  background: var(--ash-grey);
  color: var(--white);
}

.product-info {
  padding: 1rem 1.1rem 1.2rem;
}

.product-brand {
  font-size: 0.75rem;
  color: var(--ash-grey);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.product-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: var(--carbon-black);
}

.product-meta {
  font-size: 0.8rem;
  color: var(--graphite);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-meta span {
  background: var(--bg);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--carbon-black);
}

.product-price .original {
  font-size: 0.8rem;
  color: var(--ash-grey);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 0.4rem;
}

.add-to-cart {
  background: var(--sea-green);
  color: var(--white);
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background var(--transition);
  white-space: nowrap;
}

.add-to-cart:hover {
  background: #006a3a;
}

.add-to-cart:disabled {
  background: var(--ash-grey);
  cursor: not-allowed;
}

/* ============================================================
   CATALOG + FILTERS
   ============================================================ */
#catalog {
  background: var(--bg);
}

.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  align-items: center;
}

.filter-select {
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333533' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
  border: 1.5px solid #e0e0db;
  border-radius: 6px;
  padding: 0.55rem 2.2rem 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-family: var(--font);
  color: var(--carbon-black);
  cursor: pointer;
  transition: border-color var(--transition);
  min-width: 150px;
}

.filter-select:focus {
  outline: none;
  border-color: var(--sea-green);
}

.filter-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--graphite);
  margin-right: 0.25rem;
}

.btn-clear {
  font-size: 0.82rem;
  color: var(--fiery-terracotta);
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  transition: background var(--transition);
}

.btn-clear:hover {
  background: rgba(217, 93, 57, 0.08);
}

.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem;
  color: var(--graphite);
  font-size: 0.95rem;
}

/* ============================================================
   CART DRAWER
   ============================================================ */
#cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 36, 35, 0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

#cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

#cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 400px;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
}

#cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e8e8e5;
}

.cart-header h3 {
  font-size: 1.05rem;
}

.cart-close {
  font-size: 1.4rem;
  color: var(--graphite);
  line-height: 1;
  transition: color var(--transition);
}

.cart-close:hover {
  color: var(--carbon-black);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--ash-grey);
  gap: 0.75rem;
  font-size: 0.9rem;
}

.cart-empty-icon {
  font-size: 3rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #f0f0ed;
  align-items: flex-start;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  background: var(--bg);
  object-fit: cover;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--ash-grey);
  overflow: hidden;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-brand {
  font-size: 0.75rem;
  color: var(--ash-grey);
  margin-bottom: 0.5rem;
}

.cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 1.5px solid #e0e0db;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--carbon-black);
  transition: border-color var(--transition);
}

.qty-btn:hover {
  border-color: var(--sea-green);
  color: var(--sea-green);
}

.qty-value {
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

.cart-item-price {
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-remove {
  font-size: 0.75rem;
  color: var(--ash-grey);
  cursor: pointer;
  transition: color var(--transition);
  margin-top: 0.3rem;
}

.cart-remove:hover {
  color: var(--fiery-terracotta);
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #e8e8e5;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.whatsapp-btn {
  width: 100%;
  background: #25D366;
  color: var(--white);
  border-radius: 8px;
  padding: 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background var(--transition);
}

.whatsapp-btn:hover {
  background: #1da851;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--carbon-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  max-width: 260px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
#nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 36, 35, 0.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

#nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

#mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 280px;
  background: var(--white);
  z-index: 151;
  padding: 2rem 1.5rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-close {
  font-size: 1.4rem;
  color: var(--graphite);
}

#mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#mobile-nav nav a {
  display: block;
  padding: 0.85rem 0;
  font-size: 1rem;
  border-bottom: 1px solid #f0f0ed;
  color: var(--carbon-black);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  #hero {
    height: 480px;
  }

  nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

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

  .product-img-wrap {
    height: 160px;
  }

  .filters-bar {
    gap: 0.5rem;
  }

  .filter-select {
    min-width: 130px;
    font-size: 0.82rem;
  }

  .footer-inner {
    flex-direction: column;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .age-gate-card {
    padding: 2rem 1.5rem;
  }
}

/* ============================================================
   PRODUCT MODAL
   ============================================================ */
#product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 36, 35, 0.6);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

#product-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

#product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.97);
  width: 90%;
  max-width: 760px;
  max-height: 90vh;
  background: var(--white);
  border-radius: 12px;
  z-index: 301;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

#product-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.3rem;
  color: var(--graphite);
  z-index: 1;
  line-height: 1;
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--carbon-black);
}

#modal-content {
  display: flex;
}

.modal-img-wrap {
  width: 45%;
  flex-shrink: 0;
  position: relative;
  background: var(--bg);
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  min-height: 320px;
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  flex: 1;
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--carbon-black);
  line-height: 1.3;
}

.modal-description {
  font-size: 0.95rem;
  color: var(--carbon-black);
}

.modal-price {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--carbon-black);
}

.modal-qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  flex-wrap: wrap;
}

.modal-add-btn {
  flex: 1;
  min-width: 160px;
  background: var(--sea-green);
  color: var(--white);
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background var(--transition);
}

.modal-add-btn:hover {
  background: #006a3a;
}

.modal-add-btn:disabled {
  background: var(--ash-grey);
  cursor: not-allowed;
}

@media (max-width: 600px) {
  #modal-content {
    flex-direction: column;
  }

  .modal-img-wrap {
    width: 100%;
    min-height: 220px;
    border-radius: 12px 12px 0 0;
  }

  .modal-body {
    padding: 1.25rem;
  }
}