/*
 * MATE — design from reference screenshots
 * Dark theme, uppercase nav, card layouts, gold stars, list menu, light footer
 */
:root {
  --color-dark: #0d0d0d;
  --color-dark-card: #1a1a1a;
  --color-dark-muted: #2a2a2a;
  --color-light: #f5f0eb;
  --color-white: #ffffff;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.75);
  --color-gold: #e8c547;
  --color-green: #4a7c59;
  --color-lavender: #9b8bb4;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: var(--font-body);
  --container: min(1200px, 100% - 3rem);
  --radius: 8px;
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-dark);
}

body.theme-dark { background: var(--color-dark); }

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}
a:hover { opacity: 0.85; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.section-title--dark { color: #1a1a1a; }

.section-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.65;
}

/* ─── Header (dark, SURCH Cafe logo, uppercase nav, Cart) ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-header.menu-open.is-scrolled,
.site-header.menu-open {
  background: var(--color-dark);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-white);
}
.logo:hover { color: var(--color-white); }

.logo-img {
  height: 2rem;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo-text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-fallback { display: none; }
.logo-fallback.show { display: inline; }

@media (max-width: 480px) {
  .logo-text:not(.logo-fallback.show) { display: none; }
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-main a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
}

.nav-drawer-cart {
  display: none;
}

.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 0.25rem; }
.nav-arrow { font-size: 0.6rem; opacity: 0.8; }

.btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  cursor: pointer;
}
.cart-icon { flex-shrink: 0; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.25rem;
  font-size: 0.75rem;
  background: var(--color-white);
  color: var(--color-dark);
  border-radius: 50%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
}

@media (max-width: 768px) {
  .site-header {
    transition: none;
  }
  .nav-main, .btn-cart { display: none; }
  .menu-toggle { display: flex; }
  .nav-main.is-open {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 1.5rem;
    background-color: #1a1a1a;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 101;
    isolation: isolate;
  }
  .nav-main.is-open .nav-drawer-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 0;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius);
    cursor: pointer;
    width: 100%;
    justify-content: flex-start;
    padding-left: 0.75rem;
  }
  .nav-main.is-open .cart-count-drawer {
    margin-left: auto;
    margin-right: 0.5rem;
  }
  .menu-overlay {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .menu-overlay.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

/* ─── Hero (full viewport, overlay, label, title, CTA; bottom: subtitle + locations carousel) ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 5rem 0 2rem;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0d0b09;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-slide--1 { background-image: url("../assets/hero-adobe-web.jpg"); }
.hero-slide--2 { background-image: url("../assets/hero-adobe2-web.jpg"); }
.hero-slide--3 { background-image: url("../assets/hero-adobe3-web.jpg"); }
.hero-slide--4 { background-image: url("../assets/hero-adobe4-web.jpg"); }
.hero-slider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}

.hero-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  max-width: 42ch;
  line-height: 1.5;
}

.btn-hero {
  display: inline-block;
  width: fit-content;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  background: transparent;
  border: 1px solid var(--color-white);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.btn-hero:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.hero-bottom {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: flex-end;
  padding-top: 2rem;
}

.hero-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 36ch;
}

.hero-locations {
  min-width: 0;
  width: 26rem;
  max-width: 100%;
}
.hero-locations-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
  flex-shrink: 0;
}

.locations-carousel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 26rem;
}
.carousel-prev, .carousel-next {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.carousel-slides {
  min-width: 0;
  width: 22rem;
  flex: 0 0 22rem;
  min-height: 4.25rem;
  text-align: left;
}
.carousel-slides .carousel-current[hidden] { display: none !important; }
.carousel-current {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-start;
  text-align: left;
  min-height: 4.25rem;
}
.carousel-current strong { font-size: 0.95rem; }
.carousel-current span { font-size: 0.8rem; color: var(--color-text-muted); }

/* ─── Ubicaciones (grid de direcciones) ─── */
.section-locations { padding: 3rem 0; }
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.location-card {
  padding: 1.5rem;
  background: var(--color-dark-card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.location-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-white);
}
.location-address {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}
.location-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
}
.location-link:hover { opacity: 0.9; }
.location-link::after { content: " →"; }

@media (max-width: 700px) {
  .locations-grid { grid-template-columns: 1fr; }
  .hero-bottom { grid-template-columns: 1fr; }
}

/* ─── Buttons (outline light for dark sections) ─── */
.btn-outline-light {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  background: transparent;
  border: 1px solid var(--color-white);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-outline-dark {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a1a1a;
  background: transparent;
  border: 1px solid #1a1a1a;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.btn-outline-dark:hover {
  background: #1a1a1a;
  color: var(--color-light);
}

/* ─── Section dark ─── */
.section { padding: 4rem 0; }
.section-dark { background: var(--color-dark); }

/* ─── Testimonials card (dark grey rounded card, gold stars) ─── */
.testimonials-card {
  background: var(--color-dark-card);
  border-radius: 12px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.testimonials-text .section-desc { margin-bottom: 0; }

.stats-row {
  display: flex;
  gap: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-white);
}

.stat-stars {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--color-gold);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .testimonials-card { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; }
}

/* ─── About: two large image cards ─── */
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-card {
  position: relative;
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.about-card--reusable {
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%),
    url("../assets/contact-bg-web.jpg") center / cover no-repeat #3d3528;
}
.about-card--sca {
  align-items: center;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.75) 100%),
    url("../assets/gesha999-web.jpg") center / cover no-repeat #2a2520;
}

.about-card-overlay {
  position: absolute;
  inset: 0;
}

.about-card-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  color: var(--color-white);
}

.about-card-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.about-card-content p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.about-card-content--center {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.sca-number {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  border: 4px solid var(--color-white);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-content--center p { margin: 0; font-size: 0.95rem; }

@media (max-width: 700px) {
  .about-cards { grid-template-columns: 1fr; }
}

/* ─── Pills block + Straight from Nature ─── */
.container-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.pills-block {
  background: var(--color-dark-muted);
  border-radius: 12px;
  padding: 2rem;
}

.pills-intro {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.pills-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pill {
  display: inline-block;
  width: fit-content;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  border-radius: 50px;
  border: 1px solid transparent;
}

.pill--green { background: var(--color-green); }
.pill--lavender { background: var(--color-lavender); }
.pill--outline {
  background: transparent;
  border-color: var(--color-white);
}

.nature-block {
  position: relative;
  min-height: 220px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a2e1b url("../assets/hero-adobe4-web.jpg") center / cover no-repeat;
}

.nature-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}
.nature-title {
  position: relative;
  z-index: 1;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
}

@media (max-width: 700px) {
  .container-split { grid-template-columns: 1fr; }
}

/* ─── Nature: headline + line + CTA, steps with white square number ─── */
.nature-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.nature-line {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  position: relative;
  padding-left: 4rem;
}

.step-num {
  position: absolute;
  left: 0;
  top: -0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  background: var(--color-white);
  border-radius: 4px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-white);
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

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

/* ─── Newsletter (bg image, overlay, underline input, Subscribe button) ─── */
.section-newsletter {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.newsletter-bg {
  position: absolute;
  inset: 0;
  background: #0d0b09 url("../assets/hero-adobe2-web.jpg") center / cover no-repeat;
}

.newsletter-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-input {
  width: 100%;
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  outline: none;
}
.newsletter-input::placeholder { color: var(--color-text-muted); }
.newsletter-input:focus { border-bottom-color: var(--color-white); }

.btn-newsletter {
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition);
}
.btn-newsletter:hover { opacity: 0.9; }

.form-message { margin-top: 0.5rem; font-size: 0.9rem; }

/* ─── Menu (header: title left, Explore Full Menu right; tabs; list rows with thumb, divider) ─── */
.menu-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.menu-intro { max-width: 55ch; }
.menu-intro .section-desc { margin-bottom: 0; }

.menu-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.menu-tab {
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.menu-tab:hover {
  border-color: var(--color-white);
}
.menu-tab.is-active {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

.menu-panel { display: none; }
.menu-panel.is-active { display: block; }

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.menu-row {
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.menu-row-link {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.menu-row-link:hover {
  opacity: 0.85;
}

.menu-thumb {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 6px;
  background: var(--color-dark-muted) url("../assets/gesha999-web.jpg") center / cover no-repeat;
  flex-shrink: 0;
}
.menu-info {
  min-width: 0;
}

.menu-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--color-white);
}

.menu-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.menu-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
}

@media (max-width: 600px) {
  .menu-row-link {
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0.5rem 0.75rem;
    align-items: start;
  }
  .menu-thumb {
    width: 60px;
    height: 60px;
    min-width: 60px;
    grid-row: 1 / -1;
  }
  .menu-info {
    grid-column: 2;
    grid-row: 1;
  }
  .menu-price {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
  }
}

/* ─── Shop category (hero + dark bar + product grid, ref: coffee-beans) ─── */
.shop-category {
  background: var(--color-dark);
}

.shop-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.shop-hero-bg {
  position: absolute;
  inset: 0;
  background: #0d0b09 url("../assets/gesha999-web.jpg") center / cover no-repeat;
}

.shop-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.shop-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.shop-hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.75rem;
}

.shop-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-white);
  margin: 0;
}

.shop-bar {
  background: #000;
  padding: 2rem 0;
}

.shop-bar .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.shop-bar-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 0.5rem;
}

.shop-bar-title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
}

.section-shop {
  padding: 3rem 0 4rem;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.shop-filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.shop-filter-select {
  padding: 0.4rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-white);
  background: var(--color-dark-muted);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  cursor: pointer;
}
.shop-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.shop-sort-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.shop-sort-options {
  display: flex;
  gap: 0.25rem;
}
.shop-sort-btn {
  padding: 0.4rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.shop-sort-btn:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}
.shop-sort-btn.is-active {
  color: var(--color-dark);
  background: var(--color-white);
  border-color: var(--color-white);
}
.shop-results-count {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card-shop {
  background: var(--color-dark-muted);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card-shop:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.product-card-shop-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.product-card-shop-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-dark) url("../assets/gesha999-web.jpg") center / cover no-repeat;
}

.product-card-shop-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0;
  padding: 1rem 1rem 0.25rem;
}

.product-card-shop-notes {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0;
  padding: 0 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-shop-price {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  padding: 0 1rem;
}

.product-card-shop-price strong {
  color: var(--color-white);
  font-weight: 600;
}

.product-card-shop-link .btn-quick-view {
  margin: 1rem 1rem 1.25rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  display: inline-block;
  width: fit-content;
  transition: background var(--transition), border-color var(--transition);
}

.product-card-shop-link:hover .btn-quick-view {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .shop-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .shop-hero {
    min-height: 320px;
    padding: 2.5rem 0;
  }
}

/* ─── Product detail page (ref: rome-espresso) ─── */
.page-producto {
  padding-bottom: 0;
  padding-top: 5rem;
}

.product-detail {
  padding: 3rem 0 4rem;
  background: var(--color-dark);
  transition: opacity 0.2s ease;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-detail-media {
  position: sticky;
  top: 1.5rem;
}

.product-detail-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--color-dark-muted) url("../assets/gesha999-web.jpg") center / cover no-repeat;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-detail-title {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.product-detail-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

.product-detail-wait {
  opacity: 0;
}

.product-detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
}

.product-detail-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.product-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.product-detail-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-size-option {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.product-size-option:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.product-size-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-size-option:has(input:checked) {
  background: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

/* Una sola “botón”: cantidad [− N +] + Comprar, sin cambiar tamaño */
.product-detail-qty {
  flex: 0 0 auto;
}

.product-qty-input {
  width: 4rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-white);
  background: var(--color-dark-muted);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  -moz-appearance: textfield;
}

.product-qty-input::-webkit-outer-spin-button,
.product-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-product-buy {
  width: 100%;
  max-width: 280px;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition);
}

.btn-product-buy:hover {
  opacity: 0.9;
}

.product-detail-description {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-detail-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-white);
  margin: 0 0 0.75rem;
}

.product-detail-long {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.product-detail-long p {
  margin: 0 0 0.75rem;
}

.product-detail-long p:last-child {
  margin-bottom: 0;
}

.product-detail-specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 2rem;
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
}

.product-detail-specs dt {
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0;
}

.product-detail-specs dd {
  margin: 0;
  color: var(--color-white);
}

.section-related {
  padding-top: 2rem;
}

.section-related .section-title {
  margin-bottom: 1.5rem;
}

.product-grid--related {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-detail-media {
    position: static;
  }

  .product-detail-img {
    max-width: 400px;
  }

  .product-grid--related {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .product-detail-form {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-product-buy {
    max-width: none;
  }

  .product-grid--related {
    grid-template-columns: 1fr;
  }
}

/* ─── Careers (hero with bg, overlay) ─── */
.section-careers {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.careers-bg {
  position: absolute;
  inset: 0;
  background: #0d0b09 url("../assets/hero-adobe3-web.jpg") center / cover no-repeat;
}

.careers-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.careers-inner {
  position: relative;
  z-index: 1;
}

/* ─── Journal ─── */
.journal-featured {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.journal-featured time {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.35rem;
}

.journal-featured h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-white);
}

.journal-featured p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.link-arrow {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
}
.link-arrow:hover { opacity: 0.85; }

.journal-list-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.75rem;
}

.journal-link {
  display: block;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--transition);
}
.journal-link:hover { color: var(--color-white); }

/* ─── Blog page ─── */
.page-blog {
  padding-top: 0;
  padding-bottom: 3rem;
}
.blog-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4rem;
  text-align: center;
}
.blog-hero-bg {
  position: absolute;
  inset: 0;
  background: #0d0b09 url("../assets/hero-adobe2-web.jpg") center / cover no-repeat;
}
.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.blog-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.blog-hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.5rem;
}
.blog-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 0.75rem;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}
.blog-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 42ch;
  margin: 0 auto;
  line-height: 1.5;
}
.blog-section {
  padding-top: 1rem;
  padding-bottom: 3rem;
}
.blog-list-heading {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}
.blog-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.blog-card-list li {
  display: flex;
}
.blog-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
  color: inherit;
  text-decoration: none;
}
.blog-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 0.5rem;
  flex-shrink: 0;
  line-height: 1.3;
}
.blog-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 0.75rem;
  flex: 1;
}
.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 2px;
  flex-shrink: 0;
  margin-top: auto;
}
.blog-articles {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.blog-article {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.blog-article:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.blog-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 1rem;
  scroll-margin-top: 5rem;
}
.blog-article p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 1rem;
}
.blog-article p:last-child {
  margin-bottom: 0;
}
.blog-article strong {
  color: rgba(255, 255, 255, 0.9);
}

/* ─── Article page (single post) ─── */
.page-articulo {
  padding-top: 5.5rem; /* clear fixed header */
  padding-bottom: 0;
}
.articulo {
  padding-bottom: 2rem;
}
.articulo-back {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}
.articulo-back a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.articulo-back a:hover {
  color: var(--color-white);
}
.articulo-header {
  margin-bottom: 1.5rem;
}
.articulo-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  line-height: 1.25;
}
.articulo-body {
  max-width: 42rem;
}
.articulo-body p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0 0 1.25rem;
}
.articulo-body p:last-child {
  margin-bottom: 0;
}
.articulo-body strong {
  color: rgba(255, 255, 255, 0.9);
}
.articulo-otros {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}
.articulo-otros-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}

/* ─── Contact (light section) ─── */
.section-light {
  background: var(--color-light);
  color: #1a1a1a;
}

.section-contact .section-desc { color: #4a4a4a; }
.section-contact .btn-outline-dark { margin-top: 0.5rem; }

/* ─── Get in touch (ref: 5 images + CTA) ─── */
.section-getintouch {
  background: var(--color-light);
  color: #1a1a1a;
}

.getintouch-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.getintouch-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--color-dark-muted);
  border-radius: var(--radius);
}

.getintouch-cta .section-title {
  margin-bottom: 0.75rem;
}

.getintouch-cta .btn-outline-dark {
  margin-top: 0;
}

@media (max-width: 768px) {
  .getintouch-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .getintouch-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Footer (light, multi-column) ─── */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--color-light);
  color: #1a1a1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
  margin-bottom: 2rem;
  align-items: start;
}

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

.footer-col a {
  font-size: 0.9rem;
  color: #1a1a1a;
}
.footer-col a:hover { opacity: 0.7; }

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: #6b6b6b;
  text-align: center;
}

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

/* ─── Cart panel (ref: Your Cart popup, dark theme) ─── */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 299;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  z-index: 300;
  background: var(--color-dark-card);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius) 0 0 var(--radius);
}
.cart-panel.is-open,
.cart-panel[aria-hidden="false"] { transform: translateX(0); }

.cart-panel-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cart-panel-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
}
.cart-close {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color var(--transition);
}
.cart-close:hover { color: var(--color-white); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}
.cart-empty {
  padding: 2rem 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}
.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--color-dark-muted) url("../assets/gesha999-web.jpg") center / cover no-repeat;
  display: block;
}
.cart-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.cart-item-name {
  font-weight: 600;
  color: var(--color-white);
}
.cart-item-size {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.cart-item-price {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.35rem;
}
.cart-item-qty .qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--color-white);
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}
.cart-item-qty .qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}
.cart-qty-input {
  width: 2.5rem;
  padding: 0.25rem;
  font-size: 0.9rem;
  text-align: center;
  font-family: var(--font-body);
  color: var(--color-white);
  background: var(--color-dark-muted);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  -moz-appearance: textfield;
}
.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item-sub {
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
}

.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cart-subtotal {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--color-text-muted);
}
.cart-subtotal strong { color: var(--color-white); }
.btn-cart-checkout {
  display: block;
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition);
}
.btn-cart-checkout:hover { opacity: 0.9; color: var(--color-dark); }

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--color-white);
  color: var(--color-dark);
  border-radius: 50%;
}
.cart-count[data-count="0"],
.cart-count:empty { display: none; }

/* ─── Checkout page (mismo estilo que el resto del sitio) ─── */
/* ----- Contact page ----- */
.page-contact {
  padding-top: 5rem;
  padding-bottom: 4rem;
  background: var(--color-dark);
  min-height: 100vh;
}

.contact-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}
.contact-hero-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}
.contact-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 0.75rem;
}
.contact-hero-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 36ch;
  margin: 0 auto;
}

.section-contact-page {
  padding-top: 1rem;
  padding-bottom: 4rem;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.contact-info-title,
.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 1.25rem;
}
.contact-addresses {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-address-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 0.25rem;
}
.contact-address-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}
.contact-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-link:hover {
  opacity: 0.85;
}
.contact-channels {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-channel {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.contact-channel-label {
  flex-shrink: 0;
  min-width: 5.5rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.contact-channel-value {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-channel-value:hover {
  opacity: 0.85;
}

.contact-form-wrap {
  background: var(--color-dark-muted);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}
.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-white);
  background: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.contact-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%23999'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.25rem;
}
.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
}
.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--color-text-muted);
}
.contact-textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form-message {
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin: 0;
}
.contact-form-message--success {
  color: #81c784;
}
.contact-form-message--error {
  color: #e57373;
}
.contact-form-message[hidden] {
  display: none;
}
.btn-contact-submit {
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-contact-submit:hover {
  opacity: 0.9;
}
.btn-contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-hero { padding: 2rem 0 1.5rem; }
}

.contact-file {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  background: var(--color-dark);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  cursor: pointer;
}
.contact-file::file-selector-button {
  padding: 0.35rem 0.75rem;
  margin-right: 1rem;
  font-size: 0.85rem;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

.career-file-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 2.75rem;
}
.career-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  z-index: 1;
}
.career-file-label {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-dark);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition);
}
.career-file-label:hover {
  opacity: 0.9;
}
.career-file-name {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ─── Career page ─── */
.page-career {
  padding-top: 0;
  padding-bottom: 4rem;
  background: var(--color-dark);
}
.career-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4rem;
  text-align: center;
}
.career-hero-bg {
  position: absolute;
  inset: 0;
  background: #0d0b09 url("../assets/hero-adobe4-web.jpg") center / cover no-repeat;
}
.career-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.career-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}
.career-hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.5rem;
}
.career-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 0.75rem;
}
.career-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}
.section-vacancies {
  padding-top: 3rem;
  padding-bottom: 2rem;
}
.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.vacancy-card {
  background: var(--color-dark-muted);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition);
}
.vacancy-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.vacancy-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 0.5rem;
}
.vacancy-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}
.section-career-form {
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.career-form-wrap {
  max-width: 900px;
  margin: 2rem auto 0;
  background: var(--color-dark-muted);
  border-radius: var(--radius);
  padding: 2rem;
}
.career-form--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}
.career-form--grid .career-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.career-field--full {
  grid-column: 1 / -1;
}
.career-form-actions {
  gap: 0.75rem;
}
@media (max-width: 600px) {
  .career-form--grid {
    grid-template-columns: 1fr;
  }
}
.career-form-message {
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin: 0;
}
.career-form-message--success { color: #81c784; }
.career-form-message--error { color: #e57373; }
.career-form-message[hidden] { display: none; }

.page-checkout {
  padding-top: 5rem;
  padding-bottom: 4rem;
  background: var(--color-dark);
  min-height: 100vh;
}

.page-checkout .container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.checkout-title {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  margin: 0 0 2rem;
  grid-column: 1 / -1;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.checkout-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.checkout-input,
.checkout-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-white);
  background: var(--color-dark-muted);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}
.checkout-input:focus,
.checkout-textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
}
.checkout-input::placeholder,
.checkout-textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.checkout-textarea { resize: vertical; min-height: 88px; }

.checkout-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.checkout-legend {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  padding: 0;
}
.checkout-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-white);
  cursor: pointer;
  margin-bottom: 0.4rem;
}
.checkout-radio input {
  margin: 0;
  accent-color: var(--color-gold);
}

.checkout-error {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #e57373;
  margin: 0;
}
.checkout-error[hidden] { display: none; }

.checkout-summary {
  background: var(--color-dark-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.checkout-summary h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}
.checkout-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.checkout-summary-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.checkout-summary-item:last-child { border-bottom: none; }
.checkout-summary-item-name {
  color: var(--color-white);
  font-weight: 500;
  min-width: 0;
}
.checkout-summary-item-qty {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.checkout-qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--color-white);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, border-color 0.2s;
}
.checkout-qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}
.checkout-summary-qty-input {
  width: 2.5rem;
  padding: 0.25rem;
  font-size: 0.9rem;
  text-align: center;
  font-family: var(--font-body);
  color: var(--color-white);
  background: var(--color-dark-muted);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  -moz-appearance: textfield;
}
.checkout-summary-qty-input::-webkit-outer-spin-button,
.checkout-summary-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.checkout-summary-item-sub {
  font-weight: 600;
  color: var(--color-white);
  min-width: 4.5rem;
  text-align: right;
}
.checkout-summary-remove {
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.checkout-summary-remove:hover {
  color: #e57373;
  border-color: rgba(229, 115, 115, 0.5);
  background: rgba(229, 115, 115, 0.08);
}
@media (max-width: 520px) {
  .checkout-summary-item {
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
  }
  .checkout-summary-item-qty { grid-column: 1; }
  .checkout-summary-item-sub { grid-column: 1; text-align: left; }
  .checkout-summary-remove { grid-column: 2; grid-row: 1 / 4; align-self: center; }
}
.checkout-summary-total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
}

.btn-checkout-submit {
  width: 100%;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition);
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}
.btn-checkout-submit:hover { opacity: 0.9; color: var(--color-dark); }

/* ─── Order success modal (ventana que se puede cerrar → Tienda) ─── */
.order-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.order-success-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.order-success-modal {
  position: fixed;
  inset: 0;
  z-index: 401;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.order-success-modal.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.order-success-modal-inner {
  background: var(--color-dark-card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

.order-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--color-green);
  color: var(--color-white);
  font-size: 1.5rem;
  line-height: 3.5rem;
  font-weight: 700;
  font-family: var(--font-body);
}

.order-success-title {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.5rem;
}

.order-success-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.order-success-number {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
}
.order-success-number strong {
  color: var(--color-white);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.btn-order-success-close {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition);
  box-sizing: border-box;
}
.btn-order-success-close:hover {
  opacity: 0.9;
  color: var(--color-dark);
}

/* ─── Delete confirm modal (en la página, sin alert del navegador) ─── */
.delete-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 410;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.delete-confirm-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.delete-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 411;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.delete-confirm-modal.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.delete-confirm-inner {
  background: var(--color-dark-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 380px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

.delete-confirm-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.5rem;
}

.delete-confirm-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.delete-confirm-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.btn-delete-cancel {
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-delete-cancel:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-delete-confirm {
  padding: 0.6rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
  background: #e57373;
  border: 1px solid #e57373;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}
.btn-delete-confirm:hover {
  opacity: 0.9;
  background: #ef5350;
  border-color: #ef5350;
}

@media (max-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .checkout-summary { margin-bottom: 0; }
}

/* ─── Auth modal (Entrar) ─── */
.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.auth-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 351;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.auth-modal.is-open,
.auth-modal[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.auth-modal-inner {
  position: relative;
  background: var(--color-dark-card);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 380px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

.auth-modal-title {
  margin: 0 2.5rem 1.25rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
}

.auth-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.auth-modal-close:hover {
  color: var(--color-white);
}

.auth-providers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition), background var(--transition);
  box-sizing: border-box;
}
.btn-auth:hover {
  opacity: 0.92;
  background: #eee;
}
.btn-auth-google {
  background: var(--color-white);
}
.btn-auth-email {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-auth-email:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
}

.auth-email-form {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-email-form input {
  display: block;
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-sizing: border-box;
}
.auth-email-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.auth-form-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0.75rem 0 0;
}
.btn-auth-submit {
  flex: 1;
}
.btn-auth-link {
  padding: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--transition);
}
.btn-auth-link:hover {
  color: var(--color-gold);
}
.auth-message {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.auth-message.is-error { color: #ef5350; }
.auth-message.is-success { color: var(--color-green); }

.auth-success { margin-top: 0.5rem; }
.auth-success-text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-text);
}
.auth-success .btn-auth { margin-bottom: 0.5rem; }
.auth-success .btn-auth-link { display: block; margin-top: 0.5rem; }

.auth-modal.auth-modal--success .auth-providers,
.auth-modal.auth-modal--success .auth-email-form {
  display: none !important;
}

/* ─── Profile page ─── */
.page-profile { padding: 0 0 4rem; }
.profile-hero {
  background: linear-gradient(180deg, var(--color-dark-card) 0%, var(--color-dark) 100%);
  padding: 3.5rem 0 1.25rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.profile-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.5rem;
}
.profile-hero-welcome {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin: 0;
}
.profile-content { max-width: min(1000px, 100%); width: 100%; }
.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.75rem;
}
.profile-form-row--full { grid-column: 1 / -1; }
@media (max-width: 600px) {
  .profile-form-grid { grid-template-columns: 1fr; }
}
.profile-card {
  background: var(--color-dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.profile-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-white);
  margin: 0 0 0.25rem;
}
.profile-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}
.profile-form-row { margin-bottom: 0.85rem; }
.profile-card .checkout-fieldset { margin-bottom: 0.85rem; }
.profile-card .checkout-legend { margin-bottom: 0.35rem; }
.profile-form-row .checkout-input,
.profile-form-row .checkout-textarea { width: 100%; max-width: 100%; }
.profile-form-message { margin: 0.75rem 0 0; font-size: 0.9rem; }
.profile-form-message.is-success { color: var(--color-green); }
.profile-form-message.is-error { color: #ef5350; }
.btn-profile-save {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 1rem auto 0;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-gold);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity var(--transition), transform 0.15s ease;
}
.btn-profile-save:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}
.profile-orders-section.profile-card { margin-top: 0; }
.profile-orders-list { display: flex; flex-direction: column; gap: 0.75rem; }
.profile-orders-loading,
.profile-orders-empty { margin: 0; font-size: 0.95rem; color: var(--color-text-muted); }
.profile-order-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}
.profile-order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.profile-order-date { font-size: 0.85rem; color: var(--color-text-muted); }
.profile-order-total { font-weight: 600; color: var(--color-gold); }
.profile-order-items { font-size: 0.9rem; color: var(--color-text); line-height: 1.5; }
.profile-order-comment { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--color-text-muted); font-style: italic; }
.profile-footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.btn-profile-outline {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-gold);
  background: transparent;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity var(--transition), background var(--transition);
}
.btn-profile-outline:hover { opacity: 0.9; background: rgba(232, 197, 71, 0.1); }
.profile-logout { font-size: 0.9rem; padding: 0.5rem 0; }
