@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Hanken+Grotesk:wght@300;400;500;600&display=swap");

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

:root {
  --rose: #e89a9a;
  --rose-light: #f3b6b6;
  --rose-hover: #d97f7f;
  --cream: #f7f2ee;
  --cream-alt: #efe6e2;
  --text: #4a3f3f;
  --text-muted: #8c7b7b;
  --border: #e5d6d0;
  --white: #ffffff;
  --sidebar-w: 272px;
  --header-h: 60px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Hanken Grotesk", sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html,
body {
  height: 100%;
  overflow: hidden;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

/* ── TIPOGRAFÍA ────────────────────────────────────── */
h1 {
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 400;
  line-height: 1.05;
}
h2 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
}
h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}
h4 {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
h5 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
}
h6 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}
small {
  font-size: 12px;
}

/* ── LAYOUT ────────────────────────────────────────── */
.app {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ── SIDEBAR ───────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  height: 100vh;
  background: var(--cream);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
}

.sb-brand {
  padding: 22px 20px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.sb-brand-icon {
  width: 44px;
  height: 44px;
  background: var(--rose-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sb-brand-icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
}
.sb-brand-name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text);
  font-weight: 500;
}
.sb-brand-name span {
  color: var(--rose);
}
.sb-brand-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.sb-nav {
  flex: 1;
  overflow-y: auto;
  padding: 14px 10px;
}
.sb-section-label {
  font-size: 12px;
  letter-spacing: 1.8px;
  color: var(--rose-light);
  text-transform: uppercase;
  padding: 8px 12px 4px;
}

.sb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  margin-bottom: 2px;
  transition: background 0.18s;
  user-select: none;
}
.sb-item:hover {
  background: var(--cream-alt);
}
.sb-item.active {
  background: var(--rose);
}
.sb-item.active .sb-icon svg {
  stroke: #fff;
}
.sb-item.active .sb-label {
  color: #fff;
}
.sb-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.sb-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.7;
  transition: stroke 0.18s;
}
.sb-item:hover .sb-icon svg {
  stroke: var(--rose);
}
.sb-item.active:hover .sb-icon svg {
  stroke: #fff;
}
.sb-label {
  font-size: 16px;
  color: var(--text);
  flex: 1;
  transition: color 0.18s;
}
.sb-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s;
}
.sb-chevron svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}
.sb-item.open .sb-chevron {
  transform: rotate(180deg);
}

.sb-submenu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  padding-left: 18px;
}
.sb-submenu.open {
  max-height: 250px;
}
.sb-sub-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-bottom: 1px;
  transition: background 0.18s;
}
.sb-sub-item:hover {
  background: var(--cream-alt);
}
.sb-sub-item.active {
  background: var(--rose-light);
}
.sb-sub-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.18s;
}
.sb-sub-item:hover .sb-sub-dot,
.sb-sub-item.active .sb-sub-dot {
  background: var(--rose);
}
.sb-sub-label {
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.18s;
}
.sb-sub-item:hover .sb-sub-label {
  color: var(--text);
}
.sb-sub-item.active .sb-sub-label {
  color: var(--rose-hover);
  font-weight: 500;
}

.sb-footer {
  border-top: 1px solid var(--border);
  padding: 14px 16px;
  flex-shrink: 0;
}
.sb-social {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.sb-social-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cream-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.sb-social-btn:hover {
  background: var(--rose-light);
  border-color: var(--rose-light);
}
.sb-social-btn svg {
  width: 13px;
  height: 13px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.8;
}
.sb-address {
  font-size: 11px;
  text-decoration: none;
  color: var(--text-muted);
  line-height: 1.6;
}
.sb-address strong {
  color: var(--text);
  font-weight: 500;
}

.sb-address a {
  text-decoration: none;
  color: var(--text-muted);
}

/* ── HEADER ─────────────────────────────────────────── */
.main-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.header {
  height: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  flex-shrink: 0;
  z-index: 50;
}
.search-wrap {
  flex: 1;
  max-width: 500px;
  background: var(--cream-alt);
  border: 1px solid var(--border);
  border-radius: 30px;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.search-wrap:focus-within {
  border-color: var(--rose-light);
  background: var(--white);
}
.search-wrap svg {
  width: 15px;
  height: 15px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}
.search-wrap input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--text);
  width: 100%;
  font-family: var(--sans);
}
.search-wrap input::placeholder {
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.h-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.18s;
}
.h-btn:hover {
  background: var(--cream-alt);
}
.h-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.8;
}
.h-btn:hover svg {
  stroke: var(--rose);
}
.h-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--rose);
  border-radius: 50%;
  border: 2px solid var(--cream);
}
.h-divider {
  width: 1px;
  height: 22px;
  background: var(--border);
  margin: 0 4px;
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0 18px;
  height: 38px;
  font-size: 14px;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.18s;
  white-space: nowrap;
}
.cart-btn:hover {
  background: var(--rose-hover);
}
.cart-btn svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}
.cart-count {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 600;
}

/* ── CONTENT ─────────────────────────────────────────── */
.content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.page {
  display: none;
  animation: fadeUp 0.32s ease;
}
.page.active {
  display: block;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECCIÓN BASE ────────────────────────────────────── */
.section-wrap {
  padding: 44px 40px;
}
.section-wrap.alt {
  background: var(--cream-alt);
}
.section-header {
  margin-bottom: 32px;
}
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: var(--sans);
  font-weight: 500;
}
.section-title {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: var(--serif);
  font-style: italic;
  max-width: 520px;
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--header-h));
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 40px;
}
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.deco-blob {
  position: absolute;
  border-radius: 50%;
  background: var(--rose-light);
  opacity: 0.1;
}
.deco-blob.b1 {
  width: 460px;
  height: 460px;
  top: -140px;
  right: -100px;
}
.deco-blob.b2 {
  width: 220px;
  height: 220px;
  bottom: 60px;
  left: -50px;
  opacity: 0.07;
}
.deco-blob.b3 {
  width: 100px;
  height: 100px;
  top: 35%;
  left: 18%;
  opacity: 0.09;
}
.deco-dots {
  position: absolute;
  top: 80px;
  left: 60px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  opacity: 0.14;
}
.deco-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rose);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 580px;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-logo {
  font-family: var(--serif);
  font-size: 76px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
  font-weight: 400;
}
.hero-logo span {
  color: var(--rose);
}
.hero-sub-brand {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.5;
}
.hero-cta {
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 14px 38px;
  font-size: 15px;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 0.3px;
}
.hero-cta:hover {
  background: var(--rose-hover);
  transform: translateY(-2px);
}
.hero-scroll-hint {
  margin-top: 48px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--border);
  text-transform: uppercase;
}
.hero-scroll-hint::before {
  content: "";
  display: block;
  width: 1px;
  height: 32px;
  background: var(--border);
  margin: 0 auto 10px;
}

/* ── CARDS DE PRODUCTOS ──────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--rose-light);
}
.product-cover {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-cover-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: rgba(255, 255, 255, 0.55);
  fill: none;
  stroke-width: 1.2;
}
.product-info {
  padding: 14px 14px 16px;
}
.product-title {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
  font-weight: 500;
}
.product-author {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-style: italic;
  font-family: var(--serif);
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-size: 16px;
  color: var(--rose);
  font-weight: 600;
  font-family: var(--serif);
}
.product-add {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--rose);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.15s;
}
.product-add:hover {
  background: var(--rose-hover);
  transform: scale(1.1);
}
.product-add svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--rose);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* ── FILTROS ─────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 7px 16px;
  font-size: 13px;
  font-family: var(--sans);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.18s;
}
.filter-btn:hover {
  border-color: var(--rose-light);
  color: var(--rose);
}
.filter-btn.active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}

/* ── BEST SELLERS ───────────────────────────────────── */
.bs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bs-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: border-color 0.18s, transform 0.18s;
}
.bs-item:hover {
  border-color: var(--rose-light);
  transform: translateX(4px);
}
.bs-rank {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--border);
  font-weight: 300;
  width: 38px;
  text-align: center;
  flex-shrink: 0;
}
.bs-cover {
  width: 50px;
  height: 66px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bs-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bs-info {
  flex: 1;
}
.bs-title {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text);
  margin-bottom: 3px;
  font-weight: 500;
}
.bs-author {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--serif);
}
.bs-price {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--rose);
  font-weight: 600;
  flex-shrink: 0;
}
.bs-badge {
  background: var(--rose-light);
  color: var(--rose-hover);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* ── ACTIVIDADES FEED ───────────────────────────────── */
.activities-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.activity-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.activity-card:hover {
  transform: translateY(-3px);
  border-color: var(--rose-light);
}
.activity-img {
  height: 200px;
  overflow: hidden;
  background: var(--cream-alt);
}
.activity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.activity-card:hover .activity-img img {
  transform: scale(1.04);
}
.activity-body {
  padding: 16px;
}
.activity-date {
  font-size: 11px;
  color: var(--rose);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}
.activity-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 500;
}
.activity-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── SOBRE NOSOTROS ─────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text p {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-text p strong {
  color: var(--text);
  font-weight: 500;
}
.about-visual {
  background: var(--cream-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.about-stat-num {
  font-family: var(--serif);
  font-size: 46px;
  color: var(--rose);
  line-height: 1;
  margin-bottom: 4px;
}
.about-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}
.about-divider {
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 22px 0;
}

/* ── RESERVAS / CONTACTO ────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.form-input {
  width: 100%;
  background: var(--cream-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text);
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-input:focus {
  border-color: var(--rose-light);
  background: var(--white);
}
.form-input::placeholder {
  color: var(--border);
}
textarea.form-input {
  resize: vertical;
  min-height: 90px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.btn-primary {
  width: 100%;
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 13px;
  font-size: 14px;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.18s;
  font-weight: 500;
}
.btn-primary:hover {
  background: var(--rose-hover);
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 14px;
  font-family: var(--sans);
  cursor: pointer;
  transition: opacity 0.18s;
  font-weight: 500;
}
.btn-wa:hover {
  opacity: 0.88;
}
.btn-wa svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

/* ── CONTACTO INFO ──────────────────────────────────── */
.ci-block {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}
.ci-icon {
  width: 42px;
  height: 42px;
  background: var(--cream-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--rose);
  fill: none;
  stroke-width: 1.8;
}
.ci-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.ci-value {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--text);
}

/* ── CARRITO DRAWER ─────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(74, 63, 63, 0.35);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  bottom: 0;
  width: 420px;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(74, 63, 63, 0.1);
  z-index: 201;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open {
  right: 0;
}
.cart-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.cart-head h4 {
  font-size: 16px;
}
.cart-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream-alt);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-close svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 60px;
  height: 78px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--text);
  margin-bottom: 4px;
}
.cart-item-price {
  font-size: 14px;
  color: var(--rose);
  font-weight: 600;
}
.cart-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.cart-qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--cream-alt);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text);
  transition: background 0.15s;
  line-height: 1;
}
.cart-qty-btn:hover {
  background: var(--rose-light);
}
.cart-qty-num {
  font-size: 13px;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
  color: var(--text);
}
.cart-item-remove {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  flex-shrink: 0;
  margin-top: 2px;
}
.cart-item-remove:hover {
  background: #fdf0f0;
}
.cart-item-remove svg {
  width: 12px;
  height: 12px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}
.cart-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--text-muted);
}
.cart-empty svg {
  width: 44px;
  height: 44px;
  stroke: var(--border);
  fill: none;
  stroke-width: 1.2;
  margin-bottom: 12px;
}
.cart-empty p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
}
.cart-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cart-total span {
  font-size: 15px;
  color: var(--text-muted);
}
.cart-total strong {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--text);
}

/* ── CHECKOUT ───────────────────────────────────────── */
.checkout-section {
  display: none;
  padding: 44px 40px;
}
.checkout-section.active {
  display: block;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  max-width: 960px;
}
.order-summary {
  background: var(--cream-alt);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}
.order-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.order-item:last-child {
  border-bottom: none;
}
.order-total {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 20px;
}
.payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.payment-opt {
  background: var(--cream-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.18s;
  text-align: center;
}
.payment-opt.selected {
  border-color: var(--rose);
  background: #fdf6f6;
}
.payment-opt img {
  height: 28px;
  object-fit: contain;
  margin-bottom: 6px;
}
.payment-opt span {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
}
#paypal-container {
  margin: 12px 0;
}

/* ── TOAST ───────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--text);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  z-index: 999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.success {
  background: #4a7c59;
}
.toast.error {
  background: #a32d2d;
}

/* ── BOLETIN BANNER ─────────────────────────────────── */
.boletin-banner {
  background: var(--text);
  color: #fff;
  padding: 40px;
  text-align: center;
}
.boletin-banner h3 {
  font-family: var(--serif);
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px;
}
.boletin-banner p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}
.boletin-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}
.boletin-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 11px 18px;
  font-size: 14px;
  color: #fff;
  font-family: var(--sans);
  outline: none;
}
.boletin-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.boletin-form button {
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 11px 22px;
  font-size: 14px;
  font-family: var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s;
}
.boletin-form button:hover {
  background: var(--rose-hover);
}

/* ── EMPTY STATE ─────────────────────────────────────── */
.empty-state {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-muted);
}
.empty-state svg {
  width: 44px;
  height: 44px;
  stroke: var(--border);
  fill: none;
  stroke-width: 1.2;
}
.empty-state h3 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
}
.empty-state p {
  font-size: 14px;
  font-style: italic;
}

/* ── LOADING ─────────────────────────────────────────── */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--rose);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ══════════════════════════════════════════════════════
   MOBILE FIRST — RESPONSIVE
══════════════════════════════════════════════════════ */

/* ── BOTÓN HAMBURGUESA (solo mobile) ── */
.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.18s;
  flex-shrink: 0;
}
.menu-toggle:hover {
  background: var(--cream-alt);
}
.menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--text);
  fill: none;
  stroke-width: 2;
}

/* ── OVERLAY SIDEBAR MOBILE ── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(74, 63, 63, 0.45);
  z-index: 99;
}
.sidebar-overlay.open {
  display: block;
}

/* ── TABLET: 768px – 1024px ── */
@media (max-width: 1024px) {
  :root {
    --sidebar-w: 240px;
  }
  .section-wrap {
    padding: 36px 28px;
  }
  .hero {
    padding: 48px 28px;
  }
  .hero-logo {
    font-size: 60px;
  }
  .about-grid {
    gap: 32px;
  }
  .two-col {
    gap: 28px;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── MOBILE: hasta 768px ── */

/* ── SIDEBAR WRAP ────────────────────────────────────────── */
.sidebar-wrap {
  position: relative;
  display: flex;
  flex-shrink: 0;
}

/* ── SIDEBAR COLAPSABLE ──────────────────────────────────── */
.sidebar {
  transition: width .3s cubic-bezier(.4,0,.2,1), min-width .3s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.sidebar.collapsed {
  width: 64px !important;
  min-width: 64px !important;
}
.sidebar.collapsed .sb-brand-text,
.sidebar.collapsed .sb-label,
.sidebar.collapsed .sb-sub-item,
.sidebar.collapsed .sb-section-label,
.sidebar.collapsed .sb-chevron,
.sidebar.collapsed .sb-address,
.sidebar.collapsed .sb-social { 
  opacity: 0; 
  pointer-events: none;
  width: 0;
  overflow: hidden;
}
.sidebar.collapsed .sb-brand { justify-content: center; padding: 14px 0; }
.sidebar.collapsed .sb-logo-img { max-width: 38px; margin: 0 auto; }
.sidebar.collapsed .sb-item { justify-content: center; padding: 12px 0; margin: 1px 6px; }
.sidebar.collapsed .sb-icon { width: 20px; height: 20px; }
.sidebar.collapsed .sb-icon svg { width: 20px; height: 20px; }
.sidebar.collapsed .sb-nav { padding: 12px 6px; }
.sidebar.collapsed .sb-submenu { display: none !important; }
.sidebar.collapsed .sb-footer { padding: 12px 0; justify-content: center; }

/* ── TOGGLE BUTTON ───────────────────────────────────────── */
.sb-toggle {
  position: absolute;
  top: 50%;
  right: -13px;
  transform: translateY(-50%);
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  z-index: 102;
  box-shadow: 0 1px 4px rgba(74,63,63,.12);
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 0 !important;
  transition: background .18s, border-color .18s;
}
.sb-toggle:hover { background: var(--rose-light); border-color: var(--rose-light); }
.sb-toggle svg {
  width: 11px !important;
  height: 11px !important;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2.5;
  display: block;
  flex-shrink: 0;
  transition: transform .3s;
}
.sidebar.collapsed .sb-toggle { right: -13px; }
.sidebar.collapsed .sb-toggle svg { transform: rotate(180deg); }

/* ── COOKIE BANNER ───────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--text);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 400;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: 13px; line-height: 1.5; flex: 1; color: rgba(255,255,255,.85); }
.cookie-text a { color: var(--rose-light); text-decoration: none; }
.cookie-text a:hover { text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-accept {
  background: var(--rose); color: #fff; border: none;
  border-radius: 20px; padding: 8px 20px; font-size: 13px;
  font-family: var(--sans); cursor: pointer; font-weight: 500;
  transition: background .18s;
}
.cookie-accept:hover { background: var(--rose-hover); }
.cookie-reject {
  background: transparent; color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.2); border-radius: 20px;
  padding: 8px 16px; font-size: 13px; font-family: var(--sans);
  cursor: pointer; transition: all .18s;
}
.cookie-reject:hover { color: #fff; border-color: rgba(255,255,255,.5); }

/* ── CTA CARRITO ─────────────────────────────────────────── */
.cart-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--text);
  color: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 4px 20px rgba(74,63,63,.2);
  z-index: 300;
  max-width: 280px;
  display: none;
  animation: slideUp .35s cubic-bezier(.4,0,.2,1);
}
.cart-cta.show { display: block; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cart-cta-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.cart-cta-sub { font-size: 12px; color: rgba(255,255,255,.65); margin-bottom: 12px; font-family: var(--serif); font-style: italic; }
.cart-cta-btn {
  display: block; width: 100%;
  background: var(--rose); color: #fff;
  border: none; border-radius: 20px; padding: 9px;
  font-size: 13px; font-family: var(--sans);
  cursor: pointer; font-weight: 500; text-align: center;
  transition: background .18s;
}
.cart-cta-btn:hover { background: var(--rose-hover); }
.cart-cta-close {
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .18s;
}
.cart-cta-close:hover { background: rgba(255,255,255,.2); }
.cart-cta-close svg { width: 10px; height: 10px; stroke: #fff; fill: none; stroke-width: 2.5; }

@media (max-width: 768px) {
  .cart-cta { bottom: 16px; right: 16px; left: 16px; max-width: none; }
  .cookie-banner { padding: 14px 16px; }
  .cookie-btns { width: 100%; }
  .cookie-accept, .cookie-reject { flex: 1; text-align: center; }
}

@media (max-width: 768px) {
  /* Body puede hacer scroll en mobile */
  html,
  body {
    overflow: auto;
    height: auto;
  }
  .app {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  /* Sidebar se convierte en drawer deslizante */
  .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 280px;
    z-index: 100;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(74, 63, 63, 0.12);
  }
  .sidebar.open {
    left: 0;
  }

  /* Main col ocupa todo el ancho */
  .main-col {
    width: 100%;
    min-width: 0;
    height: auto;
  }

  /* Header mobile */
  .header {
    padding: 0 16px;
    gap: 10px;
    height: 54px;
    position: sticky;
    top: 0;
    z-index: 50;
  }
  .menu-toggle {
    display: flex;
  }
  .search-wrap {
    max-width: none;
    height: 34px;
  }
  .search-wrap input {
    font-size: 13px;
  }
  .h-divider {
    display: none;
  }
  .cart-btn span:not(.cart-count) {
    display: none;
  }
  .cart-btn {
    padding: 0 12px;
    gap: 4px;
  }

  /* Content scrolleable */
  .content {
    overflow-y: visible;
    overflow-x: hidden;
    height: auto;
  }
  .page {
    display: none;
  }
  .page.active {
    display: block;
  }

  /* Hero mobile */
  .hero {
    min-height: calc(100svh - 54px);
    padding: 40px 20px;
  }
  .hero-logo {
    font-size: 44px;
  }
  .hero-tagline {
    font-size: 17px;
  }
  .hero-cta {
    padding: 13px 28px;
    font-size: 14px;
  }
  .hero-scroll-hint {
    margin-top: 32px;
  }

  /* Secciones mobile */
  .section-wrap {
    padding: 32px 20px;
  }
  .section-title {
    font-size: 28px;
  }
  .section-sub {
    font-size: 14px;
  }

  /* Grid productos — 2 columnas en mobile */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-cover {
    height: 150px;
  }
  .product-title {
    font-size: 13px;
  }
  .product-price {
    font-size: 14px;
  }

  /* Best sellers mobile */
  .bs-item {
    padding: 12px 14px;
    gap: 10px;
  }
  .bs-rank {
    font-size: 22px;
    width: 28px;
  }
  .bs-cover {
    width: 40px;
    height: 52px;
  }
  .bs-title {
    font-size: 14px;
  }
  .bs-price {
    font-size: 15px;
  }
  .bs-badge {
    display: none;
  }

  /* Actividades — 1 columna en mobile */
  .activities-feed {
    grid-template-columns: 1fr;
  }
  .activity-img {
    height: 180px;
  }

  /* About — stack vertical */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-stat-num {
    font-size: 36px;
  }

  /* Dos columnas — stack vertical */
  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Formularios */
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 20px;
  }

  /* Checkout */
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .payment-methods {
    grid-template-columns: 1fr 1fr;
  }

  /* Carrito drawer */
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
  .cart-drawer.open {
    right: 0;
  }

  /* Boletín */
  .boletin-banner {
    padding: 32px 20px;
  }
  .boletin-banner h3 {
    font-size: 22px;
  }
  .boletin-form {
    flex-direction: column;
  }
  .boletin-form button {
    width: 100%;
  }

  /* Contacto info */
  .ci-block {
    gap: 10px;
  }
  .ci-value {
    font-size: 14px;
  }

  /* Filter bar scroll horizontal */
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Toast más abajo en mobile */
  .toast {
    bottom: 16px;
    right: 16px;
    left: 16px;
    text-align: center;
  }
}

/* ── MOBILE PEQUEÑO: hasta 390px ── */
@media (max-width: 390px) {
  .hero-logo {
    font-size: 36px;
  }
  .hero-tagline {
    font-size: 16px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-cover {
    height: 130px;
  }
  .section-title {
    font-size: 24px;
  }
  .section-wrap {
    padding: 28px 16px;
  }
  .header {
    padding: 0 12px;
  }
}

/* ── LOGO SIDEBAR ────────────────────────────────────────── */
.sb-logo-img {
  width: 100%;
  max-width: 160px;
  max-height: 60px;
  object-fit: contain;
  padding: 4px 8px;
}
.sb-logo-fallback {
  display: none;
  align-items: center;
  gap: 12px;
}
.sb-brand {
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  min-height: 72px;
}

/* ── LOGO HERO ───────────────────────────────────────────── */
.hero-logo-img {
  max-width: 320px;
  max-height: 180px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
}

/* ── HERO CTA BOLD ───────────────────────────────────────── */
.hero-cta {
  font-weight: 700;
}

/* ── BOTÓN MÁS INFO ACTIVIDAD ────────────────────────────── */
.act-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: transparent;
  border: 1.5px solid var(--rose);
  color: var(--rose);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 13px;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.18s;
  font-weight: 500;
}
.act-more-btn:hover {
  background: var(--rose);
  color: #fff;
}

/* ── MODAL ACTIVIDAD ─────────────────────────────────────── */
.modal-act-overlay {
  position: fixed;
  inset: 0;
  background: rgba(74, 63, 63, 0.45);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-act-overlay.open {
  display: flex;
}
.modal-act {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
}
.modal-act-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-alt);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-act-close svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}

/* ── PÁGINA PRODUCTO RESPONSIVE ──────────────────────────── */
@media (max-width: 768px) {
  #producto-detalle > div > div[style*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .hero-logo-img {
    max-width: 220px;
  }
  .sb-logo-img {
    max-width: 130px;
  }
}

/* ── LOGO SIDEBAR ──────────────────────────────────────── */
.sb-logo-img {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.sb-logo-fallback {
  display: none;
  align-items: center;
  gap: 10px;
}
.sb-brand {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 10px;
}

/* ── LOGO HERO ─────────────────────────────────────────── */
.hero-logo-img {
  max-width: 600px;
  width: 90%;
  max-height: 500px;
  object-fit: contain;
  margin: 0 auto 24px;
  display: block;
}

/* ── HERO CTA ──────────────────────────────────────────── */
.hero-cta {
  font-weight: 700;
}

/* ── BOTÓN CUPÓN ────────────────────────────────────────── */
.btn-cupon {
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 16px;
  height: 40px;
  font-size: 13px;
  font-family: var(--sans);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s;
  font-weight: 500;
}
.btn-cupon:hover {
  background: var(--rose-hover);
}

/* ── COMPROBANTE UPLOAD ─────────────────────────────────── */
.comprobante-upload {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s;
  margin-top: 6px;
}
.comprobante-upload:hover {
  border-color: var(--rose-light);
}
.comprobante-upload p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── MODAL ACTIVIDAD ────────────────────────────────────── */
.modal-act-overlay {
  position: fixed;
  inset: 0;
  background: rgba(74, 63, 63, 0.45);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-act-overlay.open {
  display: flex;
}
.modal-act {
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-act-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-alt);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.modal-act-close svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
}

/* ── BOTÓN MÁS INFO ─────────────────────────────────────── */
.act-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  background: transparent;
  border: 1.5px solid var(--rose);
  color: var(--rose);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 13px;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.18s;
  font-weight: 500;
}
.act-more-btn:hover {
  background: var(--rose);
  color: #fff;
}

@media (max-width: 768px) {
  .hero-logo-img {
    max-width: 240px;
  }
  .sb-logo-img {
    height: 40px;
  }
  #producto-detalle > div > div[style*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* ── MODAL ACTIVIDAD HORIZONTAL ─────────────────────────── */
.modal-act-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
}
.modal-act-img {
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
}
.modal-act-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-act-img-ph {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: var(--cream-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px 0 0 20px;
}
.modal-act-body {
  padding: 32px 28px;
}
.modal-act-date {
  font-size: 11px;
  color: var(--rose);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}
.modal-act-title {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--text);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}
.modal-act-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

/* ── ACTIVITY CARD CLICKABLE ─────────────────────────────── */
.activity-card {
  cursor: pointer;
}

/* ── FAVICON hint ────────────────────────────────────────── */
/* favicon.ico → /assets/img/favicon.ico */

@media (max-width: 640px) {
  .modal-act-inner {
    grid-template-columns: 1fr;
  }
  .modal-act-img {
    min-height: 200px;
    border-radius: 20px 20px 0 0;
  }
  .modal-act-img-ph {
    min-height: 200px;
    border-radius: 20px 20px 0 0;
  }
  .modal-act-img img {
    border-radius: 20px 20px 0 0;
  }
  .modal-act-body {
    padding: 20px;
  }
  .modal-act-title {
    font-size: 22px;
  }
}

/* ── SIDEBAR BRAND TEXT ─────────────────────────────────── */
.sb-brand-text { display:flex;flex-direction:column;justify-content:center; }
.sb-brand-name { font-family:var(--serif);font-size:15px;color:var(--text);font-weight:500;line-height:1.2; }
.sb-brand-name span { color:var(--rose); }
.sb-brand-sub { font-size:10px;color:var(--text-muted);letter-spacing:1px;text-transform:uppercase;margin-top:2px; }

/* ── SOCIAL LINKS ────────────────────────────────────────── */
.sb-social-btn { display:flex;align-items:center;justify-content:center;text-decoration:none; }



/* ── GALERÍA NOSOTROS ────────────────────────────────────── */
.gallery-grid {
  columns: 3;
  column-gap: 12px;
  margin-top: 32px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform .3s ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(232,154,154,0);
  border-radius: var(--radius-lg);
  transition: background .25s;
}
.gallery-item:hover::after { background: rgba(232,154,154,.12); }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,20,20,.92);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-close svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-prev svg, .lightbox-next svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; }

@media (max-width: 768px) {
  .gallery-grid { columns: 2; column-gap: 8px; }
  .gallery-item { margin-bottom: 8px; }
  .sidebar-wrap { position: static; }
  .sb-toggle { display: none !important; }
  /* Center icons in sidebar on mobile */
  .sidebar .sb-item { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .gallery-grid { columns: 2; }
}
