/* ===================================================
   HILOS Y ENCANTO — Tienda Materiales para Bolsas
   Style v1.0
   =================================================== */

/* --- TOKENS ---------------------------------------- */
:root {
  --pink-hero:   #D81B60;
  --pink-dark:   #ad1457;
  --pink-mid:    #e91e8c;
  --pink-light:  #f8bbd0;
  --pink-pale:   #fce4ec;
  --pink-bg:     #fdf6f9;
  --white:       #ffffff;
  --gray-100:    #f5f5f5;
  --gray-200:    #ebebeb;
  --gray-400:    #bdbdbd;
  --gray-600:    #757575;
  --gray-900:    #212121;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Nunito', system-ui, sans-serif;
  --radius:      16px;
  --shadow-sm:   0 2px 8px rgba(216,27,96,.10);
  --shadow-md:   0 6px 24px rgba(216,27,96,.18);
  --shadow-lg:   0 12px 48px rgba(216,27,96,.22);
  --transition:  0.28s cubic-bezier(.4,0,.2,1);
}

/* --- RESET ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--pink-bg);
  color: var(--gray-900);
  overflow-x: hidden;
}
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* --- HEADER ----------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pink-light);
  box-shadow: 0 2px 16px rgba(216,27,96,.08);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img   { height: 48px; width: auto; object-fit: contain; }
.logo-text  {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pink-hero);
  font-style: italic;
}
.main-nav   { display: flex; gap: 28px; margin-left: auto; }
.main-nav a {
  font-weight: 600;
  font-size: .92rem;
  color: var(--gray-600);
  letter-spacing: .04em;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink-hero);
  transition: width var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--pink-hero); }
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.header-cart {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--pink-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  position: relative;
}

.header-cart:hover {
  background: rgba(216,27,96,.1);
  color: var(--pink-hero);
}

.header-cart-badge {
  position: absolute;
  top: 4px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--pink-hero);
  color: #fff;
  font-size: .64rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* --- HERO ------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #D81B60 0%, #e91e8c 45%, #f06292 100%);
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 120px;
}
.hero-deco {
  position: absolute;
  font-size: 6rem;
  color: rgba(255,255,255,.08);
  pointer-events: none;
  user-select: none;
  animation: floatDeco 8s ease-in-out infinite;
}
.hero-deco--1 { top: 10%; left: 4%;  animation-delay: 0s; }
.hero-deco--2 { top: 20%; right: 6%; animation-delay: 3s; font-size: 3rem; }
.hero-deco--3 { bottom: 20%; left: 50%; animation-delay: 5s; font-size: 4rem; }
@keyframes floatDeco {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(12deg); }
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-eyebrow {
  font-size: .9rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.80);
  margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 4px 24px rgba(0,0,0,.18);
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.90);
  line-height: 1.6;
  margin-bottom: 32px;
}
.btn-hero {
  display: inline-block;
  padding: 14px 38px;
  background: #fff;
  color: var(--pink-hero);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* --- BADGE BAR -------------------------------------- */
.badge-bar {
  background: var(--white);
  border-bottom: 1px solid var(--pink-light);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding: 14px 24px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--pink-dark);
  letter-spacing: .03em;
}
.badge-bar span:nth-child(even) { color: var(--pink-light); }

/* --- CATALOG SECTION -------------------------------- */
.catalog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}
.section-header { text-align: center; margin-bottom: 52px; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--pink-dark);
  margin-bottom: 10px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
}

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

/* --- PRODUCT CARD ----------------------------------- */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-card.is-expanded {
  box-shadow: 0 0 0 2px rgba(216, 27, 96, 0.22), var(--shadow-lg);
}
.product-card:focus-visible {
  outline: 3px solid var(--pink-mid);
  outline-offset: 3px;
}
.product-card--featured {
  grid-column: span 1;
  border: 2px solid var(--pink-mid);
}

/* Card image */
.card-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-100);
}
.card-slider {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.card-slider::-webkit-scrollbar {
  display: none;
}
.card-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}
.card-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.card-overlay,
.overlay-icon {
  display: none;
}
.product-card:hover .card-slide img {
  transform: scale(1.05);
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--pink-dark);
  font-size: 1.08rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 3;
}
.card-img-wrap.is-interactive .gallery-arrow {
  opacity: 1;
}
.gallery-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}
.gallery-arrow:disabled {
  opacity: .38;
  cursor: default;
  transform: translateY(-50%);
}
.gallery-arrow--prev {
  left: 10px;
}
.gallery-arrow--next {
  right: 10px;
}
.gallery-dots {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 4px;
  z-index: 3;
}
.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: transform var(--transition), background var(--transition);
}
.gallery-dot.is-active {
  background: #fff;
  transform: scale(1.16);
}

.card-zoom-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--pink-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.14);
  z-index: 4;
}

/* Badge "Especial" */
.badge-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--pink-hero);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

/* Card body */
.card-body {
  padding: 20px;
  display: grid;
  gap: 10px;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 8px;
}
.card-title span {
  font-style: italic;
  color: var(--pink-dark);
}
.card-desc {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 14px;
}
.card-price-box {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--pink-light);
  background: linear-gradient(135deg, #fff 0%, var(--pink-pale) 100%);
}
.card-price-label {
  font-size: .67rem;
  font-weight: 800;
  color: var(--pink-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}
.card-price-amount {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--pink-dark);
  line-height: 1.1;
}
.card-price-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .83rem;
  color: var(--gray-900);
  line-height: 1.4;
}
.card-price-split + .card-price-split {
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1px dashed rgba(173,20,87,.2);
}
.card-price-split strong {
  color: var(--pink-dark);
  font-size: .95rem;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: .74rem;
  font-weight: 600;
  color: var(--pink-dark);
  background: var(--pink-pale);
  border-radius: 50px;
  padding: 3px 10px;
  letter-spacing: .03em;
}

.buy-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(22, 7, 14, 0.46);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease;
  z-index: 210;
}

.buy-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.buy-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(560px, 94vw);
  max-height: 88vh;
  transform: translate(-50%, -48%);
  background: #fff;
  border: 1px solid var(--pink-light);
  border-radius: 18px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.24);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 211;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.buy-modal.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.buy-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pink-light);
  background: #fff8fb;
}

.buy-modal-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.24rem;
  line-height: 1.2;
  color: var(--pink-dark);
}

.buy-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--gray-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.buy-modal-close:hover {
  background: rgba(27,14,20,.06);
}

.buy-modal-body {
  padding: 14px;
  overflow-y: auto;
  display: grid;
  gap: 10px;
}

.buy-modal-media {
  position: relative;
}

.buy-modal-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--pink-light);
  background: var(--gray-100);
}

.buy-modal-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--gray-900);
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.buy-modal-nav--prev {
  left: 8px;
}

.buy-modal-nav--next {
  right: 8px;
}

.buy-modal-nav:disabled {
  opacity: .25;
  cursor: default;
}

.buy-modal-counter {
  margin: -2px 0 2px;
  text-align: center;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.buy-modal.single-image .buy-modal-nav,
.buy-modal.single-image .buy-modal-counter {
  display: none;
}

.buy-modal-desc {
  margin: 0;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--gray-600);
}

.buy-modal-field {
  display: grid;
  gap: 4px;
}

.buy-modal-field span {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pink-dark);
}

.buy-modal-select {
  min-height: 36px;
  border: 1px solid var(--pink-light);
  border-radius: 10px;
  background: #fff;
  color: var(--gray-900);
  padding: 6px 9px;
}

.buy-modal-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.buy-modal-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--pink-light);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.buy-modal-qty button {
  border: none;
  background: #fff;
  color: var(--pink-dark);
  width: 34px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.buy-modal-qty span {
  min-width: 30px;
  text-align: center;
  font-weight: 800;
  font-size: .82rem;
}

.buy-modal-add-btn {
  border: none;
  border-radius: 12px;
  background: var(--pink-hero);
  color: #fff;
  min-height: 36px;
  padding: 0 14px;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.buy-modal-add-btn:hover {
  background: var(--pink-dark);
}

.buy-modal-add-btn:disabled,
.buy-modal-add-btn.is-disabled {
  background: #d3a9bc;
  cursor: not-allowed;
}

.buy-modal-status {
  min-height: 18px;
  margin: 0;
  font-size: .72rem;
  color: var(--pink-dark);
  font-weight: 700;
}

/* --- LIGHTBOX --------------------------------------- */
.lightbox-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  z-index: 200;
  backdrop-filter: blur(4px);
}
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 201;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  pointer-events: none;
}
.lightbox.is-open,
.lightbox-backdrop.is-open { display: flex; }
.lightbox.is-open { pointer-events: all; }
.lightbox-media {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(92vw, 820px);
  max-height: 82vh;
}
.lightbox-img {
  max-height: 82vh;
  max-width: 100%;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  cursor: grab;
}
.lightbox-img:active {
  cursor: grabbing;
}
.lightbox-caption {
  margin-top: 14px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  text-align: center;
}
.lightbox-counter {
  margin-top: 12px;
  color: rgba(255,255,255,.92);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 6px 12px;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(216,27,96,.92);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 202;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: background var(--transition), opacity var(--transition), filter var(--transition);
}
.lightbox-nav:hover {
  background: rgba(173,20,87,.96);
  filter: brightness(1.06);
}
.lightbox-nav:disabled {
  opacity: 0;
  pointer-events: none;
  animation: none;
}
.lightbox-nav--prev {
  left: 12px;
  animation: lightboxArrowLeft 1.15s ease-in-out infinite;
}
.lightbox-nav--next {
  right: 12px;
  animation: lightboxArrowRight 1.15s ease-in-out infinite;
}
.lightbox.single-image .lightbox-nav {
  display: none;
}
@keyframes lightboxArrowLeft {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-4px); }
}
@keyframes lightboxArrowRight {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(4px); }
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--pink-hero);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 202;
  transition: background var(--transition);
}
.lightbox-close:hover { background: var(--pink-dark); }

/* --- FOOTER ----------------------------------------- */
.site-footer {
  background: linear-gradient(135deg, #ad1457 0%, #D81B60 100%);
  color: rgba(255,255,255,.90);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 6px;
}
.footer-copy { font-size: .82rem; opacity: .75; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; }
.instagram-cta {
  margin-left: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.instagram-cta-label {
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .85;
}
.instagram-cta-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 12px 12px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .01em;
  background: linear-gradient(135deg, #ff6f61 0%, #ff3e84 42%, #b13dff 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24), inset 0 0 0 1px rgba(255,255,255,.24);
  color: #fff !important;
  transform: translateY(0);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}
.instagram-cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: instaShine 3s ease-in-out infinite;
}
.instagram-cta-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .3), inset 0 0 0 1px rgba(255,255,255,.3);
  filter: saturate(1.08);
}
.instagram-cta-button:active {
  transform: translateY(0) scale(.99);
}
.instagram-cta-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.32);
  flex-shrink: 0;
}
.instagram-cta-text {
  font-size: .92rem;
  white-space: nowrap;
}
.instagram-cta-handle {
  font-size: .75rem;
  font-weight: 700;
  opacity: .95;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  white-space: nowrap;
}
@keyframes instaShine {
  0%, 30% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}

/* --- MOBILE DRAWER ---------------------------------- */
.menu-button {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--pink-dark);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 0;
}
.menu-button:hover {
  background: rgba(216,27,96,.08);
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(2px);
  z-index: 180;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(288px, 80vw);
  background: #f8f6f7;
  border-right: 1px solid rgba(27,14,20,.08);
  box-shadow: 0 20px 44px rgba(20,8,17,.22);
  z-index: 181;
  transform: translateX(-105%);
  transition: transform var(--transition);
  display: grid;
  grid-template-rows: auto 1fr;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid rgba(27,14,20,.08);
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.drawer-brand span {
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.drawer-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--gray-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.drawer-close:hover {
  background: rgba(27,14,20,.06);
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
}
.drawer-nav a {
  display: block;
  padding: 12px;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--gray-900);
  transition: background var(--transition), color var(--transition);
}
.drawer-nav a:hover {
  background: rgba(216,27,96,.1);
  color: var(--pink-dark);
}
.mobile-drawer.is-open {
  transform: translateX(0);
}
.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* --- RESPONSIVE ------------------------------------- */
@media (max-width: 760px) {
  .main-nav   { display: none; }
  .hero       { padding: 64px 20px 100px; min-height: 380px; }
  .badge-bar  { font-size: .78rem; gap: 6px 12px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
  .product-card {
    border: 1px solid rgba(216,27,96,.3);
    border-radius: 20px;
    box-shadow:
      0 0 0 1px rgba(255,242,248,.95) inset,
      0 10px 24px rgba(216,27,96,.12);
    -webkit-tap-highlight-color: rgba(216,27,96,.12);
  }
  .card-img-wrap {
    background: linear-gradient(180deg, #fff9fc 0%, #fdf0f6 100%);
    border-bottom: 1px solid rgba(216,27,96,.17);
  }
  .card-price-box {
    border-color: rgba(216,27,96,.27);
    border-radius: 14px;
  }
  .tag {
    border: 1px solid rgba(216,27,96,.19);
    background: #fff5fa;
  }
  .card-zoom-btn,
  .gallery-arrow {
    border: 1px solid rgba(216,27,96,.24);
    background: rgba(255,251,253,.95);
  }
  .gallery-arrow { width: 30px; height: 30px; font-size: .95rem; }
  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }
  .lightbox-nav--prev {
    left: 6px;
  }
  .lightbox-nav--next {
    right: 6px;
  }
  .lightbox-caption {
    max-width: 90vw;
    font-size: .86rem;
  }
  .card-body  { padding: 14px; }
  .card-title { font-size: .96rem; }
  .buy-modal {
    width: 95vw;
    max-height: 90vh;
    border-color: rgba(216,27,96,.32);
    border-radius: 20px;
    box-shadow:
      0 0 0 1px rgba(255,242,248,.94) inset,
      0 20px 46px rgba(20,8,17,.27);
  }
  .buy-modal-head {
    border-bottom-color: rgba(216,27,96,.2);
    background: linear-gradient(180deg, #fff6fa 0%, #fff 100%);
  }
  .buy-modal-image {
    border-color: rgba(216,27,96,.28);
    border-radius: 14px;
  }
  .buy-modal-nav {
    border: 1px solid rgba(216,27,96,.28);
    background: rgba(255,250,253,.96);
  }
  .buy-modal-close {
    border: 1px solid rgba(216,27,96,.2);
    border-radius: 12px;
  }
  .buy-modal-counter {
    margin: 0 auto 2px;
    width: fit-content;
    border: 1px solid rgba(216,27,96,.22);
    border-radius: 999px;
    background: #fff7fb;
    padding: 3px 9px;
  }
  .buy-modal-select,
  .buy-modal-qty {
    border-color: rgba(216,27,96,.24);
  }
  .mobile-drawer {
    border-right-color: rgba(216,27,96,.22);
    box-shadow:
      1px 0 0 rgba(255,242,248,.92),
      0 20px 44px rgba(20,8,17,.22);
  }
  .drawer-head {
    border-bottom-color: rgba(216,27,96,.2);
  }
  .buy-modal-title {
    font-size: 1.05rem;
  }
  .buy-modal-actions {
    grid-template-columns: 1fr;
  }
  .buy-modal-add-btn {
    width: 100%;
  }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .instagram-cta {
    width: 100%;
    align-items: center;
    margin-top: 6px;
  }
  .instagram-cta-button {
    width: min(100%, 340px);
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .instagram-cta-handle {
    width: 100%;
    max-width: fit-content;
  }
}
@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; gap: 12px; }
  .product-card {
    border-radius: 18px;
  }
  .buy-modal {
    border-radius: 18px;
  }
  .card-price-box {
    border-radius: 13px;
  }
}
