/* BUILD: mobile-v6-noscroll */
/* color palette, shadows and border values for the store */
:root {
  --bg: #fbf6f1;
  --card: #ffffff;
  --ink: #2c2623;
  --muted: #6a5f58;
  --border: #efe2d8;
  --accent: #f2c3b7;
  --accent-2: #f6d8c0;
  --accent-dark: #e9b5aa;
  --success: #7cc0a6;
  --shadow-sm: 0 2px 8px rgba(44, 38, 35, 0.06);
  --shadow: 0 10px 30px rgba(44, 38, 35, 0.08);
  --shadow-lg: 0 20px 40px rgba(44, 38, 35, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* basic browser reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 500px at 20% -10%, #fff 0%, transparent 60%),
              radial-gradient(900px 500px at 90% 0%, #fff2ea 0%, transparent 60%),
              var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* quick utilities I use from JS so I don't have to force inline styles */
.is-hidden { 
  display: none !important; 
}

.full-width-col { 
  grid-column: 1 / -1; 
}

.btn-block-mt { 
  width: 100%; 
  margin-top: 8px; 
}

/* banner de anuncios que controla el admin */
.announcement-banner {
  background-color: var(--accent);
  color: var(--ink);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  display: none; /* escondido por defecto hasta que el js lo prenda */
}

.announcement-banner.active {
  display: block;
}

/* sticky top navigation bar and nav links */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 241, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--accent-2);
  border: 2px solid var(--accent-dark);
  border-radius: 50%;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-link {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}

.nav-link:hover {
  background: rgba(242, 195, 183, 0.15);
  color: var(--ink);
}

.nav-cta {
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  color: var(--ink);
}

.nav-signup {
  background: var(--ink);
  color: white;
}

.nav-signup:hover {
  background: #3a3330;
  color: white;
}

/* global button styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn:active { 
  transform: translateY(2px); 
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent-dark);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  border-color: var(--border);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
}

.btn-small {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  transition: var(--transition);
}

.btn-small:hover {
  background: var(--accent-2);
  border-color: var(--accent-dark);
}

/* disabled and loading state for buttons */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* hero section and how it works layout */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  margin-top: 48px;
  margin-bottom: 80px;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

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

.eyebrow {
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent-2);
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero-description {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.how-it-works {
  margin-bottom: 80px;
}

.how-it-works h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -1px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 32px 20px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--accent);
  border: 3px solid var(--accent-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

/* product catalog cards */
.products-section { 
  margin-bottom: 80px; 
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-header p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.categories-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.category-tab {
  padding: 12px 24px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}

.category-tab:hover {
  border-color: var(--accent-dark);
  color: var(--ink);
}

.category-tab.active {
  background: var(--accent);
  border-color: var(--accent-dark);
  color: var(--ink);
}

.products-grid, .featured-grid {
  display: grid;
  gap: 24px;
}

.products-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.featured-grid {
  flex-direction: column; 
}

/* public-facing product card design */
.product-card, .featured-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.featured-card { 
  padding: 16px; 
  border-radius: var(--radius); 
}

.product-card:hover, .featured-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

/* product image wrapper — cover with enough height so photos fill the space nicely */
.product-img-wrap {
  height: 220px; 
  width: 100%; 
  overflow: hidden; 
  border-radius: 12px 12px 0 0; 
  position: relative;
  background: var(--bg);
}

.product-img-inner {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* en hover la foto hace un zoom suave para que se vea viva */
.product-card:hover .product-img-inner {
  transform: scale(1.04);
}

/* floating label over the product image showing inventory status */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: var(--accent-2);
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.product-badge.sold-out {
  background: #ffebee;
  color: #c62828;
  border-color: #ffcdd2;
}

/* small inventory badge pills for the featured section */
.badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accent-2);
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  margin-top: 8px;
}

.badge.low { 
  background: #ffebee; 
  color: #c62828; 
  border-color: #ffcdd2; 
}

.product-body { 
  padding: 20px; 
}

.product-body h3, .featured-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.featured-card h4 { 
  font-size: 16px; 
  margin-bottom: 6px; 
}

.product-body p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 600;
}

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

.product-price, .featured-card .price {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
}

.featured-card .price { 
  font-size: 20px; 
  display: block; 
  margin-bottom: 8px; 
}

.product-actions { 
  display: flex; 
  gap: 8px; 
}

/* google material symbols icon placeholder when there is no product photo */
.category-icon-placeholder {
  font-size: inherit; 
  color: var(--muted); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 100%; 
  height: 100%; 
  background: var(--bg);
}

/* about, services and footer sections */
.services-section, .about-section { 
  margin-bottom: 80px; 
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* clickable service card */
.service-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

/* color strip that slides in from the bottom on hover */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--accent-dark);
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* icon for each service card */
.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-2);
  border: 1.5px solid var(--accent-dark);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 4px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin: 0;
}

.service-card p {
  color: var(--muted);
  line-height: 1.7;
  font-weight: 500;
  font-size: 14px;
  margin: 0;
  flex: 1;
}

/* arrow that slides right on hover */
.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
  transition: gap 0.2s ease;
}

.service-card:hover .service-card-cta {
  gap: 10px;
}

/* service detail modal */
.svc-modal-content {
  max-width: 560px;
  padding: 0;
  overflow: hidden;
}

.svc-modal-inner {
  display: flex;
  flex-direction: column;
}

/* cabecera con degradado suave */
.svc-modal-header {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 44px 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-modal-icon {
  width: 60px;
  height: 60px;
  background: white;
  border: 2px solid var(--accent-dark);
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 4px;
  box-shadow: var(--shadow-sm);
}

.svc-modal-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
}

.svc-modal-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}

.svc-modal-lead {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

/* cuerpo del modal con descripcion e incluidos */
.svc-modal-body {
  padding: 32px 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.svc-modal-desc {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.75;
  font-weight: 500;
  margin: 0;
}

.svc-includes-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 12px;
}

/* list of what is included in the service */
.svc-includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-includes-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

/* checkmark before each included item */
.svc-includes-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--accent-2);
  border: 1.5px solid var(--accent-dark);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%232c2623' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

/* pie del modal con nota y boton de contacto */
.svc-modal-footer {
  padding: 20px 40px 36px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.svc-modal-note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

.svc-cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.about-content {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.about-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 20px;
}

.footer {
  text-align: center;
  padding: 40px 0;
  color: var(--muted);
  font-weight: 600;
  border-top: 1px solid var(--border);
}

/* modal overlay and modal card base styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 38, 35, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(44, 38, 35, 0.3);
  animation: slideUp 0.3s ease-out;
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--accent-2);
  color: var(--ink);
}

.modal-header h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.modal-header p {
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* detail modal helper classes */
#detailsModal .modal-content {
  max-width: 350px !important; 
  margin: 0 auto;
}

.det-price-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.det-img-full {
  width: 100%;
  max-height: 250px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  margin-bottom: 16px;
}

.det-img-placeholder, .det-placeholder-shown {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  background: var(--bg);
}

/* login and signup form styles */
.form-group { 
  margin-bottom: 20px; 
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-group input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  transition: var(--transition);
  font-family: inherit;
  background: white;
}

.form-group input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 4px rgba(242, 195, 183, 0.15);
}

.modal-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.modal-footer a { 
  color: var(--accent); 
  font-weight: 700; 
  text-decoration: none; 
}

.modal-footer a:hover { 
  text-decoration: underline; 
}

/* social login buttons like Google */
.btn-social {
  width: 100%;
  justify-content: center;
  background: white;
  border: 2px solid var(--border);
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 14px;
}

.btn-social:hover {
  background: var(--bg); 
  border-color: var(--accent-dark);
}

.divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.divider::before, .divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: var(--border);
}

.divider::before { 
  left: 0; 
}

.divider::after { 
  right: 0; 
}

/* product details modal — vertical layout so the image always shows fully */
.det-modal-content {
  max-width: 480px;
  padding: 0;
  overflow: hidden;
}

.det-layout {
  display: flex;
  flex-direction: column;
}

/* image area in the details modal */
.det-image-col {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  max-height: 300px;
  overflow: hidden;
}

.det-image-frame {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* cover so the image fills the space cleanly */
.det-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* info column in the details modal */
.det-info-col {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.det-meta {
  margin-bottom: 10px;
}

.det-category-pill {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-2);
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.det-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.det-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 0;
}

.det-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.det-price-block {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}

.det-price-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.det-price {
  font-size: 30px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1px;
}

.det-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* product customize modal */
.cust-modal-content {
  max-width: 860px;
  padding: 0;
  overflow: hidden;
}

.cust-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 520px;
}

/* left column of the customize modal — image with price overlay */
.cust-image-col {
  background: var(--bg);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: stretch;
}

.cust-image-frame {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.cust-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 360px;
}

/* price overlay that floats on the bottom of the customize image */
.cust-price-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px 22px;
  background: linear-gradient(to top, rgba(44,38,35,0.75) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cust-price-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cust-price-value {
  font-size: 28px;
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
}

/* right column of the customize modal — form fields */
.cust-info-col {
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.cust-header {
  margin-bottom: 24px;
}

.cust-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.cust-subtitle {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}

/* form fields inside the customize modal */
.cust-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.cust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cust-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.cust-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.cust-optional {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.cust-select,
.cust-input {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  background: white;
  color: var(--ink);
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.cust-select {
  background-image: 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='%236a5f58' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.cust-select:focus,
.cust-input:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 4px rgba(242, 195, 183, 0.18);
}

.cust-char-hint {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-align: right;
  margin-top: -2px;
}

.cust-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

/* kept for backwards compatibility */
.mockup-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* shopping cart and checkout */
.nav-cart-btn {
  display: none; 
  position: relative;
  padding: 10px 12px;
  align-items: center;
  gap: 6px;
}

.nav-cart-btn.is-active { 
  display: inline-flex; 
}

.cart-badge {
  display: none; 
  position: absolute;
  top: 0px;
  right: 0px;
  background: var(--accent-dark);
  color: white;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid white;
}

.cart-badge.has-items {
  display: inline-block; 
}

.modal-large { 
  max-width: 680px; 
}

.cart-items-list {
  max-height: 380px;
  overflow-y: auto;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* scroll suave sin barra fea */
.cart-items-list::-webkit-scrollbar {
  width: 6px;
}

.cart-items-list::-webkit-scrollbar-track {
  background: transparent;
}

.cart-items-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.cart-items-list::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

/* each cart item row */
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.cart-item:hover {
  border-color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
}

/* square product thumbnail in the cart */
.cart-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

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

/* placeholder when no product image is available */
.cart-item-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cart-item-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-unit {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}

/* quantity control styled to match the rest of the design */
.cart-item-controls {
  display: flex;
  align-items: center;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: white;
}

.quantity-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.quantity-btn:hover { 
  background: var(--accent-2);
  color: var(--ink);
}

.quantity-value { 
  min-width: 28px; 
  text-align: center; 
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
}

/* right column with line total and remove button */
.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.cart-item-total {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.cart-item-remove:hover { 
  color: #c62828;
  background: #ffebee;
}

/* price summary at the bottom of the cart */
.cart-summary { 
  border-top: 2px solid var(--border);
  padding-top: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.summary-row.total {
  font-size: 19px;
  font-weight: 900;
  color: var(--ink);
  border-top: 1.5px solid var(--border);
  padding-top: 14px;
  margin-top: 6px;
  margin-bottom: 0;
}

/* empty cart state */
.cart-empty { 
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cart-empty-icon {
  width: 64px;
  height: 64px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  margin-bottom: 4px;
}

.cart-empty h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

.cart-empty p { 
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

/* --- rediseño aesthetic y compacto del pickup (estilo claude restaurado) --- */
.pickup-box-compact {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.pickup-compact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pickup-compact-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.pickup-compact-title svg {
  color: var(--accent-dark);
}

.btn-near-me {
  background: var(--bg);
  border: 1px solid var(--accent-dark);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-near-me:hover {
  background: var(--accent-2);
}

.pickup-compact-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pickup-location-select {
  flex: 1;
  min-width: 160px;
  background-color: var(--bg);
}

.pickup-time-select {
  width: 108px;
  flex-shrink: 0;
  background-color: var(--bg);
}

.pickup-distance-hint {
  font-size: 11px;
  color: var(--accent-dark);
  margin-top: 8px;
  display: block;
  font-style: italic;
}

/* maintenance screen shown when admin toggles it on */
.maintenance-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  padding: 2rem;
  gap: 16px;
}

.maintenance-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-2);
  border: 2px solid var(--accent-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.maintenance-screen h2 {
  margin: 1rem 0; 
  font-size: 24px;
}

.maintenance-screen p { 
  color: var(--muted);
  max-width: 400px; 
  margin: 0 auto;
}

.price-from-text {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  margin-right: 4px;
}

/* =====================================================
   RESPONSIVE — móvil y tablet
   ===================================================== */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
}

@media (max-width: 768px) {
  /* layout base */
  .container {
    padding: 0 16px 60px;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 22px;
  }

  /* topbar — logo y carrito apilados */
  .topbar-inner {
    padding: 0 16px;
    gap: 10px;
  }
  .topbar-right {
    gap: 8px;
  }

  /* hero — una columna, centrado */
  .hero {
    padding: 40px 0 32px;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }

  /* secciones */
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .about-content {
    padding: 28px 20px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* productos — 1 columna en móvil */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* category tabs — scroll horizontal */
  .category-tabs {
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }
  .category-tabs::-webkit-scrollbar {
    display: none;
  }

  /* modals — full width en móvil */
  .modal-content {
    width: 100vw;
    max-width: 100vw;
    min-height: 60vh;
    border-radius: 20px 20px 0 0;
    margin-top: auto;
  }
  .modal {
    align-items: flex-end;
  }

  /* cart modal */
  .modal-large {
    max-height: 92vh;
  }
  .pickup-compact-controls {
    flex-direction: column;
    gap: 8px;
  }
  .pickup-compact-controls select {
    width: 100%;
  }

  /* customize modal */
  .cust-layout {
    grid-template-columns: 1fr;
  }
  .cust-image-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .cust-img {
    min-height: 180px;
    max-height: 220px;
  }
  .cust-info-col {
    padding: 20px 16px;
  }
  .cust-row {
    grid-template-columns: 1fr;
  }

  /* payment modal */
  .pay-modal-content {
    max-width: 100vw;
    border-radius: 20px 20px 0 0;
  }

  /* account/sidebar drawer */
  .adr-panel {
    width: 100vw;
    max-width: 100vw;
  }

  /* order cards */
  .ord-action-row {
    flex-direction: column;
    gap: 6px;
  }
  .ord-reschedule-btn,
  .ord-cancel-btn {
    width: 100%;
    text-align: center;
  }

  /* hero reviews */
  .hero-review-card {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  /* product card — precio y botones */
  .product-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .product-actions {
    width: 100%;
    display: flex;
    gap: 8px;
  }
  .product-actions .btn-small {
    flex: 1;
  }

  /* topbar brand más pequeño */
  .brand-name {
    font-size: 16px;
  }

  /* carrito badge */
  .cart-btn {
    padding: 8px 12px;
  }

  /* detail modal layout */
  .det-layout {
    grid-template-columns: 1fr;
  }
  .det-image-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .det-image-frame {
    min-height: 200px;
  }

  /* summary rows en cart */
  .cart-summary {
    padding: 12px 16px;
  }

  /* modal footer botones stack */
  .modal-footer {
    flex-direction: column-reverse;
    gap: 8px;
  }
  .modal-footer .btn {
    width: 100%;
  }
}

/* display font for main headings */
h1, h2 {
  font-family: 'Playfair Display', Georgia, serif;
}

/* the italic part of the hero h1 gets the accent color */
h1 em {
  font-style: italic;
  color: var(--accent-dark);
}

/* brand link in the topbar */
.brand {
  text-decoration: none;
  color: inherit;
}

/* trust pills under the hero buttons */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.trust-pill svg {
  color: var(--success);
  flex-shrink: 0;
}

/* how it works section header */
.hiw-header {
  text-align: center;
  margin-bottom: 48px;
}

.hiw-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.hiw-header p {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
}

/* service card body text — separate from the cta link */
.service-card-body {
  flex: 1;
}

.service-card-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}

.service-card-body p {
  color: var(--muted);
  line-height: 1.6;
  font-weight: 500;
  font-size: 14px;
  margin: 0;
}

/* about section redesign */
.about-section {
  margin-bottom: 80px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text .eyebrow {
  margin-bottom: 16px;
}

.about-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.15;
}

.about-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 500;
}

.about-text .about-detail {
  font-size: 14px;
}

/* quick stats row inside about */
.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-stat-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -1px;
  font-family: 'Playfair Display', Georgia, serif;
}

.about-stat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* quote card on the right side of about */
.about-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  position: relative;
}

/* big opening quote mark decoration */
.about-card::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 28px;
  font-size: 80px;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--accent-2);
  line-height: 1;
}

.about-quote {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.65;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
}

.about-quote-attr {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.3px;
}

/* footer redesign */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* image uploader in the corporate modal — same pattern as the admin product uploader */
.corp-upload-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.corp-img-wrapper {
  width: 100%;
  height: 120px;
  position: relative;
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  overflow: hidden;
}

.corp-img-wrapper:hover {
  background: var(--accent-2);
  border-color: var(--accent-dark);
}

/* file input is hidden — opened via the upload button */
.corp-file-input {
  display: none;
}

/* image preview — hidden until a photo is selected */
.corp-img-wrapper img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: calc(var(--radius) - 2px);
}

.corp-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.corp-upload-btn:hover {
  border-color: var(--accent-dark);
  background: var(--accent-2);
}

/* x button to remove the selected image */
.corp-cancel-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: var(--transition);
  line-height: 1;
}

.corp-cancel-btn:hover {
  background: #ffebee;
  border-color: #ffcdd2;
  color: #c62828;
}

/* when an image is loaded — show the preview and hide the upload button */
.corp-img-wrapper.has-image img { 
  display: block; 
}

.corp-img-wrapper.has-image .corp-upload-btn { 
  display: none; 
}

.corp-upload-hint {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

/* utility used across modals */
.hidden { 
  display: none !important; 
}

/* service modal base styles */
.svc-modal-content {
  max-width: 560px;
  padding: 0;
  overflow: hidden;
}

.svc-modal-wide { 
  max-width: 700px; 
}

.svc-modal-inner {
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  overflow-y: auto;
}


/* Chrome, Safari, Samsung Internet (and earlier versions) */
@supports selector(::-webkit-scrollbar) {
  *::-webkit-scrollbar {
    width: 8px;
  }

  *::-webkit-scrollbar-track {
    background: #eee;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
  }
}


.svc-modal-header {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 32px 36px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.svc-modal-icon {
  width: 54px;
  height: 54px;
  background: white;
  border: 2px solid var(--accent-dark);
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 2px;
  box-shadow: var(--shadow-sm);
}

.svc-modal-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: fit-content;
}

.svc-modal-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  font-family: 'Playfair Display', Georgia, serif;
}

.svc-modal-lead {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.svc-modal-body { 
  padding: 26px 36px 18px; 
}

.svc-includes-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 10px;
  display: block;
}

.svc-modal-footer {
  padding: 16px 36px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.svc-modal-note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.svc-cta-btn { 
  white-space: nowrap; 
  flex-shrink: 0; 
}

/* corporate events form fields */
.corp-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 4px;
}

.corp-field-full { 
  grid-column: 1 / -1; 
}

.corp-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.corp-step-hint {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 14px;
  line-height: 1.5;
}

/* dessert picker grid in corporate */
.corp-dessert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.corp-dessert-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--transition);
  background: white;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}

.corp-dessert-card:hover {
  border-color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.corp-dessert-card.selected {
  border-color: var(--accent-dark);
  background: var(--accent-2);
}

.corp-dessert-name { 
  font-size: 14px; 
  font-weight: 700; 
  color: var(--ink); 
  margin: 0; 
}

.corp-dessert-meta { 
  font-size: 12px; 
  color: var(--muted); 
  font-weight: 500; 
  margin: 0; 
}

.corp-dessert-ppg { 
  font-size: 13px; 
  font-weight: 800; 
  color: var(--ink); 
  margin: 4px 0 0; 
}

/* live quote box at the bottom of the corporate form */
.corp-quote-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.corp-quote-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.corp-quote-row span:last-child { 
  color: var(--ink); 
  font-weight: 700; 
}

.corp-quote-total {
  border-top: 1.5px solid var(--border);
  padding-top: 10px;
  margin-top: 4px;
}

.corp-quote-total span:first-child { 
  font-size: 14px; 
  font-weight: 800; 
  color: var(--ink); 
}

.corp-quote-total span:last-child { 
  font-size: 22px; 
  font-weight: 900; 
  letter-spacing: -0.5px; 
}

/* desserts of the day season banner */
.daily-season-banner {
  background: linear-gradient(135deg, var(--accent-2), var(--bg));
  border: 1.5px solid var(--accent-dark);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 4px;
}

.daily-season-label {
  display: inline-block;
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.daily-season-desc { 
  font-size: 14px; 
  color: var(--ink); 
  font-weight: 600; 
  line-height: 1.6; 
  margin: 0; 
}

.daily-available-label { 
  margin-top: 20px; 
}

.daily-products-grid { 
  display: flex; 
  flex-direction: column; 
  gap: 8px; 
}

.daily-product-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.daily-product-row:hover { 
  border-color: var(--accent-dark); 
  box-shadow: var(--shadow-sm); 
}

.daily-product-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.daily-product-thumb img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

.daily-product-info { 
  flex: 1; 
  min-width: 0; 
}

.daily-product-name { 
  font-size: 14px; 
  font-weight: 700; 
  color: var(--ink); 
  margin: 0 0 2px; 
}

.daily-product-desc { 
  font-size: 12px; 
  color: var(--muted); 
  font-weight: 500; 
  margin: 0; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}

.daily-product-price { 
  font-size: 15px; 
  font-weight: 900; 
  color: var(--ink); 
  flex-shrink: 0; 
  margin-right: 8px; 
}

/* empty state when no season is active */
.daily-empty-state {
  text-align: center;
  padding: 36px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.daily-empty-icon {
  width: 68px;
  height: 68px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.daily-empty-state h3 { 
  font-size: 17px; 
  font-weight: 800; 
  color: var(--ink); 
  margin: 0; 
}

.daily-empty-state p { 
  font-size: 14px; 
  color: var(--muted); 
  font-weight: 500; 
  line-height: 1.7; 
  max-width: 360px; 
  margin: 0; 
}

/* gift box size picker */
.gift-size-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}

.gift-size-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  cursor: pointer;
  transition: var(--transition);
  background: white;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.gift-size-card input[type="radio"] { 
  position: absolute; 
  opacity: 0; 
  pointer-events: none; 
}

.gift-size-card:hover { 
  border-color: var(--accent-dark); 
  box-shadow: var(--shadow-sm); 
  transform: translateY(-1px); 
}

.gift-size-card.selected { 
  border-color: var(--accent-dark); 
  background: var(--accent-2); 
}

.gift-size-top { 
  display: flex; 
  justify-content: space-between; 
  align-items: baseline; 
}

.gift-size-name { 
  font-size: 15px; 
  font-weight: 800; 
  color: var(--ink); 
}

.gift-size-price { 
  font-size: 18px; 
  font-weight: 900; 
  color: var(--ink); 
  letter-spacing: -0.5px; 
}

.gift-size-desc { 
  font-size: 12px; 
  color: var(--ink); 
  font-weight: 600; 
  line-height: 1.4; 
  margin: 0; 
}

.gift-size-note { 
  font-size: 11px; 
  color: var(--muted); 
  font-weight: 600; 
  margin: 2px 0 0; 
}

/* featured dessert picker inside the gift box modal */
.gift-dessert-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 8px; 
}

.gift-dessert-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition);
  background: white;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.gift-dessert-card:hover { 
  border-color: var(--accent-dark); 
  box-shadow: var(--shadow-sm); 
  transform: translateY(-1px); 
}

.gift-dessert-card.selected { 
  border-color: var(--accent-dark); 
  background: var(--accent-2); 
}

.gift-dessert-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: white;
  transition: var(--transition);
}

.gift-dessert-card.selected .gift-dessert-dot { 
  background: var(--accent-dark); 
  border-color: var(--accent-dark); 
}

.gift-dessert-info { 
  flex: 1; 
  min-width: 0; 
}

.gift-dessert-name { 
  font-size: 13px; 
  font-weight: 700; 
  color: var(--ink); 
  margin: 0 0 1px; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}

.gift-dessert-desc { 
  font-size: 11px; 
  color: var(--muted); 
  font-weight: 500; 
  margin: 0; 
}

/* responsive adjustments for service modals and about section */
@media (max-width: 768px) {
  .about-inner { 
    grid-template-columns: 1fr; 
  }
  .footer-inner { 
    flex-direction: column; 
    text-align: center; 
  }
  .footer-nav { 
    justify-content: center; 
  }
}

@media (max-width: 600px) {
  .corp-fields { grid-template-columns: 1fr; }
  .corp-dessert-grid { grid-template-columns: 1fr; }
  .gift-size-grid { grid-template-columns: 1fr; }
  .gift-dessert-grid { grid-template-columns: 1fr; }
  .svc-modal-header { padding: 26px 22px 20px; }
  .svc-modal-body { padding: 20px 22px 14px; }
  .svc-modal-footer { padding: 14px 22px 24px; }
  .hero-trust { display: none; }
  .about-stats { gap: 20px; }
}

/* special order items in the cart (corporate events and gift boxes) */
.cart-item-special {
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  background: var(--bg);
  border-color: var(--accent-dark);
}

.cart-item-special:hover {
  border-color: var(--accent-dark);
}

/* icon area for special items — replaces the product thumbnail */
.cart-special-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-2);
  border: 1.5px solid var(--accent-dark);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
}

/* small pill that says "Corporate Event" or the gift box size */
.cart-special-label {
  display: inline-block;
  padding: 2px 10px;
  background: var(--accent);
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}

/* detail lines under the name in a special cart item */
.cart-special-detail {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin: 1px 0 0;
}

/* date availability feedback message in the corporate modal */
.corp-date-msg {
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  min-height: 18px;
}

.corp-date-msg.available { 
  color: var(--success); 
}

.corp-date-msg.full { 
  color: #c62828; 
}

/* customer review cards in the hero — fills the empty space below the trust pills */
.hero-reviews {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-reviews-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.hero-review-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: var(--transition);
}

.hero-review-card:hover {
  border-color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
}

.hero-review-stars {
  font-size: 13px;
  color: #f59e0b;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hero-review-text {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.6;
  font-weight: 500;
  margin: 0 0 8px;
  font-style: italic;
}

.hero-review-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
}

/* review modal */
.review-modal-content {
  max-width: 480px;
}

.review-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 8px;
}

/* star rating picker */
.review-stars-picker {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.review-star {
  font-size: 32px;
  color: var(--border);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.1s ease;
  line-height: 1;
  padding: 0;
}

.review-star:hover,
.review-star.active {
  color: #f59e0b;
}

.review-star:hover {
  transform: scale(1.15);
}

.review-rating-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
}

/* textarea for the review comment */
.review-textarea {
  resize: vertical;
  min-height: 100px;
}

/* skeleton placeholder for hero reviews while loading */
.skeleton-review {
  min-height: 80px;
}

/* skeleton animation already defined above via .skeleton class,
   these just apply it to review placeholders */
.skeleton-review .skeleton-text {
  height: 12px;
  background: linear-gradient(90deg, var(--border) 25%, var(--bg) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 6px;
  margin-bottom: 10px;
}

.skeleton-review .skeleton-text.short {
  width: 40%;
}

/* =====================================================
   CUENTA DEL CLIENTE — split drawer (sidebar nav + content)
   ===================================================== */
.account-backdrop {
  position: fixed; inset: 0;
  background: rgba(44,38,35,0.45);
  z-index: 900; opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.account-backdrop.is-visible { opacity: 1; pointer-events: all; }
.account-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  display: flex; flex-direction: row;
  width: 580px; max-width: 100vw;
  z-index: 901;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0, 0.15, 1);
  box-shadow: -8px 0 32px rgba(44,38,35,0.12);
  border-left: 1px solid var(--border);
}
.account-drawer.is-open { transform: translateX(0); }
.adr-sidebar {
  width: 168px;
  flex-shrink: 0;
  background: #fdf8f5;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 0 16px;
  overflow-y: auto;
}
.adr-sidebar-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.adr-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #c8705a;
  border: 2px solid #b5604b;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 800;
  color: white;
}
.adr-sidebar-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.adr-sidebar-email {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
  text-align: center;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.adr-nav {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
  gap: 2px;
  flex: 1;
}
.adr-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border-radius: 8px;
  border: none;
  background: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.adr-nav-item svg { flex-shrink: 0; opacity: 0.6; transition: opacity 0.15s; }
.adr-nav-item:hover {
  background: var(--border);
  color: var(--ink);
}
.adr-nav-item:hover svg { opacity: 1; }
.adr-nav-item.active {
  background: #fdf0ec;
  color: #c8705a;
  font-weight: 700;
}
.adr-nav-item.active svg { opacity: 1; color: #c8705a; }
.adr-sidebar-footer {
  padding: 12px 8px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.adr-stats-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 12px 14px;
}
.adr-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.adr-stat-lbl {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
}
.adr-stat-num {
  font-size: 12px;
  color: var(--ink);
  font-weight: 800;
}
.adr-nav-logout {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 11px;
  border-radius: 8px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: #c0392b;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.adr-nav-logout:hover {
  background: #fdf2f2;
  color: #a93226;
}
.adr-main {
  flex: 1; background: white;
  display: flex; flex-direction: column;
  position: relative; min-width: 0;
}
.adr-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 8px;
  border: 1.5px solid var(--border); background: white;
  display: grid; place-items: center; cursor: pointer;
  color: var(--muted); z-index: 5; transition: all 0.15s;
}
.adr-close:hover { border-color: var(--ink); color: var(--ink); }
.adr-content {
  flex: 1; overflow-y: auto;
  padding: 20px 20px 32px;
  background: white;
}
.adr-panel { display: flex; flex-direction: column; gap: 14px; }
.adr-panel-title {
  font-size: 16px; font-weight: 900; color: var(--ink);
  margin: 0 0 4px; padding-top: 4px;
}
.adr-orders-list { display: flex; flex-direction: column; gap: 12px; }

.adr-loading {
  text-align: center;
  padding: 56px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.adr-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 60px 24px;
  text-align: center;
}
.adr-empty-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--border);
  display: grid; place-items: center; color: var(--muted);
  margin-bottom: 4px;
}
.adr-empty-title {
  font-size: 14px; font-weight: 700; color: var(--ink); margin: 0;
}
.adr-empty-sub {
  font-size: 12px; color: var(--muted); font-weight: 400;
  margin: 0; max-width: 180px; line-height: 1.6;
}

/* tarjeta de orden — limpia, centrada en jerarquía */
.adr-order-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.adr-order-card:hover {
  border-color: #dba898;
  box-shadow: 0 4px 16px rgba(44,38,35,0.07);
}

/* fila superior: número y total a los extremos, pill en medio */
.adr-order-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.adr-order-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.adr-order-total {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-left: auto;
}

/* pills de status */
.adr-order-status {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid;
}
.adr-status-pending   { background:#fffbeb; color:#92400e; border-color:#fde68a; }
.adr-status-confirmed { background:#eff6ff; color:#1d4ed8; border-color:#bfdbfe; }
.adr-status-preparing { background:#faf5ff; color:#6b21a8; border-color:#e9d5ff; }
.adr-status-ready     { background:#f0fdf4; color:#166534; border-color:#bbf7d0; }
.adr-status-done      { background:#f0fdf4; color:#166534; border-color:#bbf7d0; }
.adr-status-cancelled { background:#fff1f2; color:#be123c; border-color:#fecdd3; }

/* barra de progreso horizontal */
.adr-progress {
  display: flex;
  align-items: center;
  background: var(--bg);
  border-radius: 8px;
  padding: 9px 12px;
}
.adr-progress-step {
  font-size: 10px;
  font-weight: 600;
  color: #c4bab6;
  white-space: nowrap;
  transition: color 0.2s;
}
.adr-progress-step.done { color: var(--ink); }
.adr-progress-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin: 0 6px;
}

/* meta info: fecha */
.adr-order-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* items de la orden */
.adr-order-items {
  list-style: none;
  padding: 10px 0 2px;
  margin: 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.adr-order-items li {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.adr-item-qty {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

/* botón de reagendar */
.adr-reschedule-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  color: var(--muted);
  transition: border-color 0.15s, color 0.15s;
}
.adr-reschedule-btn:hover { border-color: #c8705a; color: #c8705a; }
.adr-form-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.adr-field-label {
  font-size: 11px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.4px;
  display: flex; align-items: center; gap: 6px;
}
.adr-optional { font-size: 10px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.adr-input {
  width: 100%; height: 40px; padding: 0 12px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  border: 1.5px solid var(--border); border-radius: 9px;
  background: white; font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.adr-input:focus { border-color: #d4856f; outline: none; box-shadow: 0 0 0 3px rgba(242,195,183,0.3); }
.adr-input-readonly { background: var(--bg) !important; color: var(--muted) !important; cursor: default; }
.adr-input-hint { font-size: 11px; color: var(--muted); font-weight: 500; margin: 0; }
.adr-form-actions { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.adr-hint-text { font-size: 12px; color: var(--muted); font-weight: 500; margin: -4px 0 8px; line-height: 1.5; }
.adr-security-card {
  display: flex; align-items: center; gap: 12px;
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 14px; margin-bottom: 12px;
}
.adr-security-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 8px; background: var(--bg); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--muted);
}
.adr-security-title { font-size: 13px; font-weight: 800; color: var(--ink); margin: 0 0 2px; }
.adr-security-desc  { font-size: 11px; color: var(--muted); font-weight: 500; margin: 0; }
.adr-security-action {
  margin-left: auto; flex-shrink: 0;
  font-size: 12px; font-weight: 800; padding: 7px 14px;
  border-radius: 8px; border: 1.5px solid var(--border);
  background: white; color: var(--ink); cursor: pointer;
  transition: all 0.15s; white-space: nowrap; font-family: inherit;
}
.adr-security-action:hover { border-color: var(--ink); background: var(--bg); }
.adr-reviews-list { display: flex; flex-direction: column; gap: 10px; }
.adr-review-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px;
  display: flex; flex-direction: column; gap: 5px;
}
.adr-review-header { display: flex; justify-content: space-between; align-items: center; }
.adr-review-product { font-size: 12px; font-weight: 800; color: var(--ink); margin: 0; }
.adr-review-stars   { font-size: 12px; color: #f59e0b; letter-spacing: 1px; }
.adr-review-comment { font-size: 12px; color: var(--ink); margin: 0; font-style: italic; line-height: 1.5; }
.adr-review-date    { font-size: 10px; color: var(--muted); font-weight: 600; margin: 0; }
.adr-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 10px;
  background: var(--ink); color: white; border: none;
  font-size: 13px; font-weight: 800; cursor: pointer;
  transition: background 0.15s; font-family: inherit;
}
.adr-btn-primary:hover:not(:disabled) { background: #403833; }
.adr-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.adr-btn-full { width: 100%; }
.adr-success-msg {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: #166534;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 8px; padding: 8px 12px;
}
.adr-reschedule {
  position: absolute; inset: 0; background: white;
  padding: 20px; z-index: 10;
  display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.32, 0, 0.15, 1);
}
.adr-reschedule:not(.hidden) { transform: translateX(0); }
.adr-reschedule.hidden { transform: translateX(100%); display: flex !important; pointer-events: none; }
.adr-reschedule-head  { display: flex; align-items: center; gap: 12px; }
.adr-reschedule-title { font-size: 14px; font-weight: 800; color: var(--ink); margin: 0; }
.adr-reschedule-hint  { font-size: 12px; color: var(--muted); font-weight: 500; margin: 0; }
.adr-reschedule-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adr-back-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: var(--muted);
  background: white; border: 1.5px solid var(--border);
  border-radius: 7px; padding: 6px 10px; cursor: pointer;
  transition: all 0.15s; font-family: inherit;
}
.adr-back-btn:hover { color: var(--ink); border-color: var(--ink); }
#checkoutPickupDate {
  height: 36px; padding: 0 10px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  border: 1.5px solid var(--border); border-radius: 8px;
  background: white; cursor: pointer; width: 100%; font-family: inherit;
}
#checkoutPickupDate:focus { border-color: #d4856f; outline: none; box-shadow: 0 0 0 3px rgba(242,195,183,0.3); }
.pickup-field-date { min-width: 130px; }
.adr-section-label-mt { margin-top: 28px; }
/* boton de cuenta en el nav — circulo con la inicial del usuario */
.nav-account-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--accent-dark);
  background: var(--accent);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.nav-account-btn:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

.nav-account-initial {
  font-size: 13px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}

/* boton de logout — icono de salida, discreto */
.nav-logout-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.nav-logout-btn:hover {
  border-color: #c62828;
  color: #c62828;
  background: #fff1f2;
}

/* elementos nuevos del drawer — perfil editable, reviews, prefs */

.adr-section-label {
  font-size: 11px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin: 0 0 12px;
}

.adr-form-field {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px;
}

.adr-optional {
  font-size: 10px; font-weight: 600; color: var(--muted);
  text-transform: none; letter-spacing: 0;
}

.adr-input-readonly {
  background: var(--bg) !important;
  color: var(--muted) !important;
  cursor: default;
}

.adr-input-hint {
  font-size: 11px; color: var(--muted); font-weight: 500; margin: 0;
}

.adr-form-actions {
  display: flex; align-items: center; gap: 14px; margin-top: 4px;
}

.adr-hint-text {
  font-size: 12px; color: var(--muted); font-weight: 500;
  margin: 0 0 16px; line-height: 1.5;
}

.adr-btn-danger {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 10px; margin-top: 12px;
  background: #fff1f2; color: #c62828;
  border: 1.5px solid #fecdd3;
  font-size: 13px; font-weight: 800; cursor: pointer;
  transition: background 0.15s;
}
.adr-btn-danger:hover { background: #fecdd3; }

/* lista de reseñas */
.adr-reviews-list { display: flex; flex-direction: column; gap: 10px; }

.adr-review-card {
  background: white; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 6px;
}

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

.adr-review-product {
  font-size: 13px; font-weight: 800; color: var(--ink); margin: 0;
}

.adr-review-stars {
  font-size: 13px; color: #f59e0b; letter-spacing: 1px;
}

.adr-review-comment {
  font-size: 13px; color: var(--ink); font-weight: 500;
  margin: 0; font-style: italic; line-height: 1.5;
}

.adr-review-date {
  font-size: 11px; color: var(--muted); font-weight: 600; margin: 0;
}

.adr-section-label-mt { margin-top: 28px; }

/* textarea en el support form del drawer */
.adr-textarea {
  height: auto;
  min-height: 96px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.5;
}

/* divisor entre secciones del tab de security */
.adr-sec-divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

/* =====================================================
   PROFILE TAB — clean professional warm design
   ===================================================== */

.prof-skeleton {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
}
.prof-skeleton-line {
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--border) 25%, #f5ede8 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: prof-shimmer 1.4s infinite;
}
.prof-skeleton-wide { width: 100%; }
.prof-skeleton-med  { width: 55%; }
@keyframes prof-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.prof-loading { opacity: 0.45; pointer-events: none; transition: opacity 0.2s; }

.prof-form { display: flex; flex-direction: column; gap: 0; }

.prof-section-lbl {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin: 0 0 14px;
}

.prof-field-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prof-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prof-lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.prof-opt-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  background: var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  text-transform: none;
  letter-spacing: 0;
}

.prof-input {
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: white;
  font-family: inherit;
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
}
.prof-input:focus {
  border-color: #c8846b;
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 132, 107, 0.15);
}
.prof-input::placeholder { color: #c0b5b0; font-weight: 400; }

.prof-input-ro {
  background: var(--bg);
  color: var(--muted);
  cursor: default;
  border-color: transparent;
}
.prof-input-ro:focus {
  border-color: transparent;
  box-shadow: none;
}

.prof-sep {
  height: 1px;
  background: var(--border);
  margin: 22px 0 20px;
}

.prof-ro-hint {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin: 8px 0 0;
  line-height: 1.5;
}

.prof-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.prof-save-btn {
  padding: 11px 28px;
  border-radius: 10px;
  background: white;
  color: #c8705a;
  border: 1.5px solid #c8705a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.2px;
  transition: background 0.18s, color 0.18s, transform 0.12s;
}
.prof-save-btn:hover:not(:disabled) {
  background: #c8705a;
  color: white;
  transform: translateY(-1px);
}
.prof-save-btn:active:not(:disabled) { transform: translateY(0); }
.prof-save-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.prof-saved-msg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #166534;
}

.prof-error-msg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #be123c;
}


/* =====================================================
   ORDER CARDS — diseño limpio con progreso visual
   ===================================================== */

.ord-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ord-card:hover {
  border-color: #dba898;
  box-shadow: 0 3px 14px rgba(44,38,35,0.07);
}

/* cabecera: número, pill, total */
.ord-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ord-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.ord-total {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-left: auto;
}

/* status pills */
.ord-status {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid;
}
.adr-status-pending   { background:#fffbeb; color:#92400e; border-color:#fde68a; }
.adr-status-confirmed { background:#eff6ff; color:#1d4ed8; border-color:#bfdbfe; }
.adr-status-preparing { background:#faf5ff; color:#6b21a8; border-color:#e9d5ff; }
.adr-status-ready     { background:#f0fdf4; color:#166534; border-color:#bbf7d0; }
.adr-status-done      { background:#f0fdf4; color:#166534; border-color:#bbf7d0; }
.adr-status-cancelled { background:#fff1f2; color:#be123c; border-color:#fecdd3; }

/* barra de progreso con dots */
.ord-progress {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 8px;
}
.ord-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.ord-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: 1.5px solid var(--border);
  transition: background 0.2s, border-color 0.2s;
}
.ord-step-done .ord-step-dot {
  background: #c8705a;
  border-color: #c8705a;
}
.ord-step-lbl {
  font-size: 9px;
  font-weight: 700;
  color: #c4bab6;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.ord-step-done .ord-step-lbl {
  color: var(--ink);
}
.ord-step-line {
  flex: 1;
  height: 1.5px;
  background: var(--border);
  margin: 0 4px;
  margin-bottom: 13px;
  transition: background 0.2s;
}
.ord-step-line-done {
  background: #c8705a;
}

/* cancelled bar */
.ord-cancelled-bar {
  font-size: 11px;
  font-weight: 600;
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 7px;
  padding: 7px 12px;
  text-align: center;
}

/* meta: fecha y lugar */
.ord-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* lista de items */
.ord-items {
  list-style: none;
  padding: 10px 0 2px;
  margin: 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ord-items li {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
}
.ord-qty {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  flex-shrink: 0;
}

/* botón de reagendar */
.ord-reschedule-btn {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  font-family: inherit;
}
.ord-reschedule-btn:hover {
  border-color: #c8705a;
  color: #c8705a;
}

/* clase para ocultar imagen cuando falla la carga (onerror fallback) */
.img-err-hide { display: none !important; }

/* texto de "no reviews" en el hero — variante sin itálica */
.hero-review-empty {
  font-style: normal;
  color: var(--muted);
}

/* mensaje de "no hay productos" en la sección seasonal */
.seasonal-empty-msg {
  padding: 16px 0;
}

/* =====================================================
   TOAST NOTIFICATION SYSTEM — beautiful, on-brand
   ===================================================== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 360px;
  width: calc(100vw - 40px);
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  border-radius: 14px;
  padding: 14px 16px 16px;
  pointer-events: all;
  animation: toast-slide-in 0.3s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}
.toast::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  border-radius: 0 0 14px 14px;
  animation: toast-progress var(--toast-duration, 4s) linear forwards;
}
.toast.toast-success::after { background: #22c55e; }
.toast.toast-error::after   { background: #ef4444; }
.toast.toast-warning::after { background: #f59e0b; }
.toast.toast-info::after    { background: #c8705a; }

.toast.toast-out {
  animation: toast-slide-out 0.22s ease forwards;
}

.toast-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.toast-success .toast-icon { background: #f0fdf4; color: #16a34a; }
.toast-error   .toast-icon { background: #fef2f2; color: #dc2626; }
.toast-warning .toast-icon { background: #fffbeb; color: #d97706; }
.toast-info    .toast-icon { background: #fdf0ec; color: #c8705a; }

.toast-body { flex: 1; min-width: 0; padding-top: 2px; }
.toast-title {
  font-size: 13px; font-weight: 700;
  color: #1a1a1a; margin: 0 0 3px; line-height: 1.3;
}
.toast-msg {
  font-size: 12px; color: #666; font-weight: 400;
  margin: 0; line-height: 1.5;
  word-break: break-word;
}
.toast-close {
  background: none; border: none; cursor: pointer;
  color: #bbb; font-size: 18px; line-height: 1;
  padding: 0; flex-shrink: 0; margin-top: 1px;
  transition: color 0.15s;
  display: grid; place-items: center;
  width: 20px; height: 20px;
}
.toast-close:hover { color: #555; }

@keyframes toast-slide-in {
  from { opacity: 0; transform: translateX(calc(100% + 20px)); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toast-slide-out {
  from { opacity: 1; transform: translateX(0); max-height: 120px; margin-bottom: 0; }
  to   { opacity: 0; transform: translateX(calc(100% + 20px)); max-height: 0; margin-bottom: -10px; }
}
@keyframes toast-progress {
  from { width: 100%; }
  to   { width: 0%; }
}
/* product detail image placeholder when image loads */
.det-placeholder-shown {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  font-size: 64px;
}

/* =====================================================
   PAYMENT MODAL — compact, clean
   ===================================================== */
.pay-modal-content {
  max-width: 400px;
  width: 92vw;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
}
.pay-header {
  padding: 18px 18px 14px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.pay-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}
.pay-header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pay-header-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.pay-total-amount {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
}
.pay-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: white;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
  margin-top: -2px;
}
.pay-close-btn:hover {
  background: var(--border);
  color: var(--ink);
}
.pay-header-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
}
.pay-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}
.pay-option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.pay-option-card:hover { border-color: #c8705a; }
.pay-option-card.selected {
  border-color: #c8705a;
  background: #fdf8f5;
}
.pay-option-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: #c8705a;
  background: #fdf0ec;
}
.pay-option-icon-pickup { background: #f0fdf4; color: #16a34a; }
.pay-option-body { flex: 1; min-width: 0; }
.pay-option-name {
  font-size: 13px; font-weight: 700;
  color: var(--ink); margin: 0 0 2px;
}
.pay-option-desc {
  font-size: 11px; color: var(--muted);
  font-weight: 400; margin: 0;
}
.pay-option-check {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--border); flex-shrink: 0;
  transition: all 0.15s;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px;
}
.pay-option-card.selected .pay-option-check {
  border-color: #c8705a; background-color: #c8705a;
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='9' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.pay-ath-details {
  padding: 0 14px 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pay-ath-number-block {
  background: #fdf0ec;
  border: 1.5px solid #e9b5a3;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.pay-ath-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #c8705a;
}
.pay-ath-phone {
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 1px;
}
.pay-ath-amount-line {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.pay-ath-amount-line strong {
  color: var(--ink);
  font-weight: 800;
}
.pay-ref-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 2px;
}
.pay-ref-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pay-ref-hint {
  font-size: 10px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  opacity: 0.7;
}
.pay-ref-input {
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  background: white;
  font-family: inherit;
  width: 100%;
  transition: border-color 0.15s;
}
.pay-ref-input:focus {
  border-color: #c8705a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(200,112,90,0.12);
}
.pay-ref-input::placeholder { color: #bbb; font-weight: 400; }
.pay-confirm-btn {
  margin: 10px 14px 16px;
  width: calc(100% - 28px);
  padding: 13px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 10px;
  background: #c8705a;
  color: white;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, transform 0.1s;
}
.pay-confirm-btn:hover:not(:disabled) { background: #b5604b; transform: translateY(-1px); }
.pay-confirm-btn:active { transform: translateY(0); }
.pay-confirm-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }


/* =====================================================
   CONFIRM / PROMPT DIALOG — replaces native browser dialogs
   ===================================================== */
.dm-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: dialog-fade-in 0.15s ease forwards;
}
.dm-dialog-overlay.hidden { display: none; }

@keyframes dialog-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.dm-dialog {
  background: white;
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  animation: dialog-slide-in 0.18s cubic-bezier(0.32,0,0.15,1) forwards;
}

@keyframes dialog-slide-in {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.dm-dialog-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.3;
}

.dm-dialog-msg {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
  margin: 0 0 16px;
  line-height: 1.5;
}

.dm-dialog-input-wrap {
  margin-bottom: 16px;
}
.dm-dialog-input-wrap.hidden { display: none; }

.dm-dialog-input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: white;
  font-family: inherit;
  transition: border-color 0.15s;
}
.dm-dialog-input:focus {
  border-color: #c8705a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(200,112,90,0.12);
}

.dm-dialog-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.dm-dialog-btn-cancel {
  padding: 9px 18px;
  border-radius: 9px;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.dm-dialog-btn-cancel:hover { background: var(--bg); color: var(--ink); }

.dm-dialog-btn-ok {
  padding: 9px 20px;
  border-radius: 9px;
  border: none;
  background: #c8705a;
  color: white;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.dm-dialog-btn-ok:hover { background: #b5604b; }
.dm-dialog-btn-ok.danger { background: #dc2626; }
.dm-dialog-btn-ok.danger:hover { background: #b91c1c; }


/* =====================================================
   CUSTOMIZE MODAL — reference image upload
   ===================================================== */
/* área de upload de foto de referencia en el modal de personalización */
.ref-upload-area {
  position: relative;
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  background: var(--bg);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ref-upload-area:hover {
  border-color: #c8705a;
  background: #fdf8f5;
}
.ref-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.ref-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px;
  pointer-events: none;
}
.ref-upload-placeholder svg {
  color: #c8705a;
  opacity: 0.7;
}
.ref-upload-placeholder span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.ref-upload-placeholder small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  opacity: 0.7;
}
.ref-image-preview {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  display: block;
}
.ref-remove-btn {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(44,38,35,0.65);
  color: white;
  border: none;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: background 0.15s;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.ref-remove-btn:hover { background: rgba(44,38,35,0.9); }
.ref-upload-hint {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin: 4px 0 0;
}

/* =====================================================
   REVIEWS — carrusel en el hero
   ===================================================== */
.rev-carousel {
  width: 100%;
}

.rev-carousel-track {
  min-height: 120px;
}

.rev-carousel-card {
  animation: rev-fade-in 0.4s ease forwards;
}

@keyframes rev-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rev-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.rev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.rev-dot.active {
  background: #c8705a;
  transform: scale(1.2);
}

/* botones de acción en my orders */
.ord-action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.ord-cancel-btn {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  height: auto;
  border-radius: 8px;
  border: 1.5px solid #fca5a5;
  background: #fff;
  color: #dc2626;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}

.ord-cancel-btn:hover {
  background: #fef2f2;
  border-color: #dc2626;
}

/* badge de stock bajo en la tarjeta del producto */
.product-badge.low-stock {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f59e0b;
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* =====================================================
   MOBILE UI — diseño estilo iOS Settings + bottom sheets
   Invisible en desktop, activado solo en media queries
   Colores tomados del mockup: coral #c8705a, terracota suave,
   beige cream, cafe oscuro, grises warm.
   ===================================================== */

/* bottom nav base — escondido por defecto */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: white;
  border-top: 1px solid var(--border);
  z-index: 800;
  padding: 8px 8px 14px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0));
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -2px 16px rgba(44, 38, 35, 0.05);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 500;
  color: #BFA09A;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  min-width: 0;
  border-radius: 10px;
  transition: background 0.15s;
}

.bottom-nav-item.active {
  background: #fdf0ec;
  color: #c8705a;
}

.bottom-nav-item.active svg {
  stroke: #c8705a;
}

.bottom-nav-item svg {
  flex-shrink: 0;
}

.bottom-nav-cart {
  position: relative;
}

.bottom-nav-cart-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #c8705a;
  border-radius: 50%;
  margin-top: -18px;
  box-shadow: 0 4px 14px rgba(200, 112, 90, 0.35);
  flex-shrink: 0;
}

.bottom-nav-cart-wrap svg {
  stroke: white;
}

.bottom-nav-cart.active {
  background: transparent;
}

.bottom-nav-cart.active .bottom-nav-cart-wrap {
  background: #c8705a;
}

.bottom-nav-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 17px;
  height: 17px;
  background: white;
  color: #c8705a;
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 3px;
  border: 2px solid #c8705a;
}

.bottom-nav-badge.hidden {
  display: none;
}

/* escondidos por defecto, activos solo en movil */
.adr-menu-close {
  display: none;
}

.adr-sidebar-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}


/* =====================================================
   ACTIVAR en movil <=1024px
   ===================================================== */
@media (max-width: 1024px) {

  .nav {
    display: none !important;
  }

  .topbar-inner {
    padding: 10px 16px;
    justify-content: space-between;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    display: flex;
  }

  .container {
    padding-bottom: 80px;
  }

}


/* =====================================================
   MOVIL <=768px — rediseño profesional
   ===================================================== */
@media (max-width: 768px) {

  /* ── reset base ── */
  html, body {
    overflow-x: hidden;
    width: 100%;
    overscroll-behavior-y: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  /* iOS zoom fix — minimo 16px en inputs */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* ── container — padding lateral consistente ── */
  .container {
    padding: 0 16px 90px;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* ── TOPBAR — logo centrado ── */
  .topbar-inner {
    height: 52px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
    gap: 7px;
  }

  .brand-badge {
    width: 28px;
    height: 28px;
    font-size: 10px;
    background: #fdf0ec;
    border: 1.5px solid #f0c4b0;
    color: #c8705a;
  }

  .brand-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: var(--ink);
  }

  .nav {
    display: none !important;
  }

  /* ── TIPOGRAFIA ── */
  h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
  }

  h1 em {
    font-style: italic;
    color: #c8705a;
    font-weight: 500;
  }

  h2 {
    font-size: 22px;
    font-weight: 700;
  }

  /* ── HERO ── */
  .hero {
    display: flex;
    flex-direction: column;
    padding: 18px 0 24px;
    margin-top: 0;
    margin-bottom: 16px;
    text-align: left;
  }

  .hero-featured {
    display: none;
  }

  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fdf0ec;
    border: 1px solid #f0c4b0;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    color: #c8705a;
    font-weight: 500;
    letter-spacing: 0.2px;
    margin-bottom: 14px;
    text-transform: none;
  }

  .hero-description {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .hero-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .btn {
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
  }

  .hero-trust {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }

  .trust-pill {
    font-size: 11px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--muted);
    font-weight: 500;
  }

  .hero-reviews { margin-top: 0; }

  .hero-reviews-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
    margin-bottom: 10px;
  }

  .hero-review-card {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    background: white;
    border: 1px solid var(--border);
  }

  /* ── HOW IT WORKS — cards horizontales ── */
  .how-it-works {
    margin-bottom: 28px;
  }

  .hiw-header {
    text-align: center;
    margin-bottom: 14px;
  }

  .hiw-header h2 {
    font-size: 22px;
    margin-bottom: 4px;
  }

  .hiw-header p {
    font-size: 13px;
    color: var(--muted);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .step-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-align: left;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: white;
    box-shadow: none;
  }

  .step-card:hover { transform: none; }

  .step-number {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 16px;
    margin: 0;
    background: #fdf0ec;
    border: 1.5px solid #f0c4b0;
    color: #c8705a;
  }

  .step-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 2px;
  }

  .step-card p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
  }

  /* ── PRODUCTOS — 2 columnas estilo Preppy Kitchen ── */
  .products-section {
    margin-bottom: 28px;
  }

  .section-header {
    text-align: center;
    margin-bottom: 14px;
  }

  .section-header h2 { font-size: 22px; }

  .section-header p {
    font-size: 13px;
    color: var(--muted);
  }

  .category-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 6px;
    padding-bottom: 4px;
    margin-bottom: 14px;
  }

  /* webkit scrollbar hide */
  .category-tabs::-webkit-scrollbar { display: none; }

  .cat-tab,
  .category-tab {
    white-space: nowrap;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    flex-shrink: 0;
  }

  /* 2 columnas con imagen cuadrada — igual que Preppy Kitchen */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card {
    border-radius: 14px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: white;
  }

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

  /* imagen cuadrada perfecta — el truco del padding-bottom 100% */
  .product-img-wrap {
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background: var(--bg);
    border-radius: 0;
  }

  .product-img-wrap .product-img-inner,
  .product-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .product-img-wrap .product-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
  }

  .product-body {
    padding: 10px 10px 12px;
  }

  .product-body h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .product-body p {
    font-size: 11px;
    margin-bottom: 6px;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

  .product-price {
    font-size: 14px;
    font-weight: 700;
    color: #c8705a;
  }

  .price-from-text {
    font-size: 10px;
    color: var(--muted);
  }

  .product-actions {
    display: flex;
    gap: 4px;
  }

  .product-actions .btn-small {
    flex: 1;
    font-size: 11px;
    padding: 7px 4px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
  }

  .product-card:hover { transform: none; }

  /* ── SERVICES ── */
  .services-section { margin-bottom: 28px; }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-card {
    padding: 18px;
    border-radius: 16px;
    gap: 10px;
    text-align: left;
  }

  .service-card:hover { transform: none; }

  .service-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fdf0ec;
    border: 1px solid #f0c4b0;
    color: #c8705a;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }

  .service-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 4px;
  }

  .service-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
  }

  .service-card-cta {
    font-size: 13px;
    font-weight: 600;
    color: #c8705a;
    margin-top: 4px;
  }

  /* ── ABOUT ── */
  .about-section { margin-bottom: 32px; }

  .about-content {
    padding: 22px 20px;
    border-radius: 16px;
  }

  .about-inner { grid-template-columns: 1fr; }

  /* ── FOOTER ── */
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* ── MODALS — bottom sheets ── */
  .modal {
    align-items: flex-end;
  }

  .modal-content {
    width: 100vw;
    max-width: 100vw;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-sizing: border-box;
  }

  .modal-content::before {
    content: "";
    position: sticky;
    top: 0;
    display: block;
    width: 36px;
    height: 4px;
    margin: 8px auto 4px;
    background: var(--border);
    border-radius: 2px;
    z-index: 3;
  }

  .modal-large { max-height: 96vh; }

  .modal-close {
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .modal-header {
    padding: 4px 18px 0;
  }

  .modal-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 2px;
  }

  .modal-header p {
    font-size: 12px;
    color: var(--muted);
  }

  .modal-body { padding: 14px 18px; }

  .modal-footer {
    flex-direction: column-reverse;
    gap: 8px;
    padding: 12px 18px 16px;
    position: sticky;
    bottom: 0;
    background: white;
    border-top: 1px solid var(--border);
    z-index: 2;
  }

  .modal-footer .btn {
    width: 100%;
    padding: 12px;
    font-size: 13px;
    border-radius: 12px;
    font-weight: 600;
  }

  /* details modal */
  .det-modal-content {
    max-width: 100vw;
    border-radius: 20px 20px 0 0;
  }

  .det-layout { display: flex; flex-direction: column; }

  .det-image-col {
    min-height: 200px;
    max-height: 230px;
    border-bottom: 1px solid var(--border);
    border-right: none;
  }

  .det-img {
    height: 230px;
    width: 100%;
    object-fit: cover;
  }

  .det-info-col { padding: 16px 18px 18px; }

  .det-category-pill {
    font-size: 10px;
    padding: 3px 10px;
    background: #fdf0ec;
    border: 1px solid #f0c4b0;
    color: #c8705a;
  }

  .det-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
  }

  .det-desc {
    font-size: 13px;
    line-height: 1.5;
  }

  .det-divider { margin: 14px 0; }

  .det-price {
    font-size: 24px;
    font-weight: 700;
    color: #c8705a;
  }

  .det-actions { gap: 6px; }

  .det-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 13px;
    border-radius: 12px;
  }

  /* customize modal */
  .cust-modal-content {
    max-width: 100vw;
    border-radius: 20px 20px 0 0;
  }

  .cust-layout {
    display: flex;
    flex-direction: column;
  }

  .cust-image-col {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .cust-img {
    height: 180px;
    width: 100%;
    object-fit: cover;
  }

  .cust-price-overlay { padding: 12px 18px 14px; }

  .cust-price-value {
    font-size: 22px;
    font-weight: 700;
  }

  .cust-info-col { padding: 16px 18px 18px; }

  .cust-header { margin-bottom: 14px; }

  .cust-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 3px;
  }

  .cust-subtitle {
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
  }

  .cust-form { gap: 12px; }

  .cust-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cust-label { font-size: 12px; font-weight: 600; }

  .cust-select,
  .cust-input {
    padding: 10px 12px;
    border-radius: 10px;
    border-width: 1.5px;
  }

  .cust-actions {
    flex-direction: column-reverse;
    gap: 6px;
    padding-top: 4px;
  }

  .cust-actions .btn {
    width: 100%;
    padding: 12px;
    font-size: 13px;
    border-radius: 12px;
  }

  /* CART */
  .pickup-box-compact {
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 12px;
  }

  .pickup-compact-controls {
    flex-direction: column;
    gap: 8px;
  }

  .pickup-compact-controls select,
  .pickup-location-select,
  .pickup-time-select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
  }

  .pickup-field input[type="date"] {
    height: 42px;
    padding: 0 12px;
    border-radius: 10px;
  }

  .cart-items-list {
    gap: 8px;
    margin-bottom: 14px;
  }

  .cart-item {
    grid-template-columns: 54px 1fr auto auto;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
  }

  .cart-item-thumb {
    width: 54px;
    height: 54px;
    border-radius: 9px;
  }

  .cart-item-name {
    font-size: 13px;
    font-weight: 600;
  }

  .cart-item-unit { font-size: 11px; color: var(--muted); }

  .quantity-btn { width: 28px; height: 28px; font-size: 14px; }

  .quantity-value { min-width: 22px; font-size: 13px; font-weight: 700; }

  .cart-item-total {
    font-size: 13px;
    font-weight: 700;
    color: #c8705a;
  }

  .summary-row { font-size: 13px; margin-bottom: 6px; }

  .summary-row.total {
    font-size: 16px;
    font-weight: 800;
    padding-top: 10px;
  }

  /* ── ACCOUNT DRAWER ── */
  .account-drawer {
    width: 100vw;
    max-width: 100vw;
    flex-direction: column;
    overflow-x: hidden;
    background: #faf3ee;
  }

  .account-drawer:not(.panel-open) {
    bottom: auto;
    min-height: 0;
  }

  .adr-sidebar {
    width: 100%;
    flex: none;
    flex-direction: column;
    padding: 0;
    border-right: none;
    background: #faf3ee;
    overflow-y: auto;
  }

  .adr-sidebar-top {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 18px;
    gap: 10px;
    margin: 16px 16px 0;
    background: #fdf0ec;
    border: 1px solid #f0c4b0;
    border-radius: 20px;
    position: relative;
  }

  .adr-avatar {
    width: 54px;
    height: 54px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    background: #c8705a;
    color: white;
    border: none;
    flex-shrink: 0;
  }

  .adr-sidebar-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .adr-sidebar-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    margin: 0;
    color: var(--ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  .adr-sidebar-email {
    font-size: 12px;
    text-align: left;
    margin: 2px 0 0;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  .adr-menu-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.7);
    color: var(--muted);
    cursor: pointer;
  }

  .adr-nav {
    flex-direction: column;
    padding: 0;
    gap: 0;
    background: white;
    margin: 14px 16px 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
  }

  .adr-nav-item {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    background: white;
    text-transform: none;
    letter-spacing: 0;
    text-align: left;
    position: relative;
  }

  .adr-nav-item:last-child { border-bottom: none; }

  .adr-nav-item svg {
    flex-shrink: 0;
    color: #c8705a;
    background: #fdf0ec;
    border-radius: 8px;
    padding: 8px;
    width: 36px;
    height: 36px;
    box-sizing: content-box;
  }

  .adr-nav-item::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #BFA09A;
    border-bottom: 1.5px solid #BFA09A;
    transform: translateY(-70%) rotate(-45deg);
  }

  .account-drawer.panel-open .adr-sidebar { display: none; }

  .adr-sidebar-footer {
    display: block;
    margin: 14px 16px 20px;
  }

  .adr-stats-col {
    display: flex !important;
    flex-direction: row;
    gap: 8px;
    margin-bottom: 14px;
  }

  .adr-stat-row {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
  }

  .adr-stat-lbl {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    order: 2;
    margin-top: 3px;
  }

  .adr-stat-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 500;
    color: #c8705a;
    order: 1;
  }

  .adr-nav-logout {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    justify-content: flex-start;
    gap: 12px;
    background: white;
    color: #c62828;
    border: 1px solid var(--border);
    border-radius: 16px;
    font-weight: 500;
  }

  .adr-main {
    display: none;
    flex: 1;
    overflow: hidden;
    min-height: 0;
    background: white;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .account-drawer.panel-open .adr-main { display: flex; }

  .adr-close {
    position: sticky;
    top: 0;
    z-index: 3;
    width: 100%;
    height: 42px;
    padding: 0 16px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    background: white;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    flex-shrink: 0;
    cursor: pointer;
  }

  .adr-close svg { display: none; }

  .adr-close::before {
    content: "";
    width: 7px;
    height: 7px;
    border-left: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
    transform: rotate(45deg);
    flex-shrink: 0;
  }

  .adr-close::after { content: "Back"; }

  .adr-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 16px 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .adr-panel {
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .adr-panel * { max-width: 100%; box-sizing: border-box; }

  .adr-panel input,
  .adr-panel select,
  .adr-panel textarea,
  .adr-panel button,
  .adr-panel form {
    max-width: 100%;
    box-sizing: border-box;
  }

  .adr-panel-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 14px;
    color: var(--ink);
    text-transform: none;
    letter-spacing: 0;
  }

  /* forms en panels */
  .adr-form-field { margin-bottom: 10px; gap: 5px; }

  .adr-field-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: var(--muted);
  }

  .adr-input {
    height: 42px;
    font-size: 14px;
    padding: 0 12px;
    border-radius: 10px;
    border-width: 1.5px;
  }

  .adr-textarea {
    min-height: 90px;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 10px;
  }

  .adr-btn-primary {
    padding: 11px 18px;
    font-size: 13px;
    border-radius: 12px;
    background: #c8705a;
    color: white;
    border: none;
    font-weight: 700;
    cursor: pointer;
  }

  .adr-success-msg {
    font-size: 11px;
    padding: 7px 11px;
    border-radius: 8px;
  }

  /* security */
  .adr-security-card {
    padding: 14px 16px;
    gap: 12px;
    margin-bottom: 10px;
    border-radius: 14px;
    border: 1px solid var(--border);
  }

  .adr-security-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fdf0ec;
    border: none;
    color: #c8705a;
    display: grid;
    place-items: center;
  }

  .adr-security-title { font-size: 13px; font-weight: 700; }
  .adr-security-desc  { font-size: 11px; color: var(--muted); }
  .adr-security-action {
    font-size: 11px;
    padding: 7px 12px;
    border-radius: 8px;
    white-space: nowrap;
  }

  /* orders */
  .adr-orders-list { gap: 10px; }

  .ord-card {
    padding: 12px 14px;
    gap: 10px;
    border-radius: 14px;
    border: 1px solid var(--border);
  }

  .ord-card:hover { transform: none; box-shadow: none; }

  .ord-head { gap: 8px; flex-wrap: wrap; }

  .ord-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 13px;
    font-weight: 500;
  }

  .ord-total { font-size: 14px; font-weight: 700; color: #c8705a; }

  .ord-status {
    font-size: 9px;
    padding: 2px 8px;
    letter-spacing: 0.3px;
    font-weight: 600;
  }

  .ord-progress { padding: 8px 10px; border-radius: 8px; }

  .ord-step-dot { width: 7px; height: 7px; }

  .ord-step-lbl { font-size: 8px; }

  .ord-cancelled-bar {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 8px;
  }

  .ord-meta { font-size: 11px; gap: 4px; color: var(--muted); }

  .ord-items {
    padding: 8px 0 0;
    gap: 5px;
    list-style: none;
    margin: 0;
    border-top: 1px solid var(--border);
  }

  .ord-items li {
    font-size: 11px;
    gap: 6px;
    display: flex;
    align-items: center;
    color: var(--muted);
  }

  .ord-qty {
    font-size: 10px;
    padding: 1px 5px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 5px;
    font-weight: 700;
    color: var(--ink);
  }

  .ord-action-row {
    flex-direction: column;
    gap: 6px;
    margin-top: 2px;
  }

  .ord-reschedule-btn,
  .ord-cancel-btn {
    width: 100%;
    text-align: center;
    padding: 8px 12px;
    font-size: 11px;
    border-radius: 8px;
  }

  /* profile */
  .prof-section-lbl {
    font-size: 10px;
    margin: 0 0 10px;
    letter-spacing: 0.4px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--muted);
  }

  .prof-field-group { flex-direction: column; gap: 10px; }

  .prof-field { gap: 5px; }

  .prof-lbl { font-size: 12px; font-weight: 600; color: var(--ink); }

  .prof-input {
    height: 42px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    width: 100%;
    font-family: inherit;
    color: var(--ink);
    background: white;
  }

  .prof-sep {
    height: 1px;
    background: var(--border);
    margin: 16px 0 14px;
  }

  .prof-ro-hint { font-size: 11px; color: var(--muted); margin: 6px 0 0; }

  .prof-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
  }

  .prof-save-btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 13px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
  }

}


/* ── telefonos pequeños <=390px ── */
@media (max-width: 390px) {

  .container {
    padding: 0 12px 90px;
  }

  h1 { font-size: 25px; }

  .products-grid { gap: 8px; }

  .product-body { padding: 8px 8px 10px; }

  .product-body h3 { font-size: 12px; }

  .product-price { font-size: 13px; }

  .product-actions .btn-small {
    font-size: 10px;
    padding: 6px 3px;
  }

}