/* =============================================
   RAVE — Main Stylesheet
   Aesthetic: Editorial luxury / refined minimal
   ============================================= */

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

/* ---- TOKENS ---- */
:root {
  --black:   #000000;
  --white:   #111111;   /* reemplaza blanco */
  --cream:   #1a1a1a;
  --sand:    #2a2a2a;
  --blush:   #333333;
  --stone:   #777777;
  --warm:    #999999;
  --accent:  #c0c0c0;   /* cromado */
  --accent2: #8f8f8f;
  --text:    #e5e5e5;
  --text-m:  #b5b5b5;
  --text-l:  #888888;
  --border: rgba(255,255,255,0.08);

  --nav-h: 64px;
  --r: 4px;
  --r-lg: 12px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}
/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

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

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(250,249,247,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 32px;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--black);
  margin-right: auto;
}

.nav-links {
  display: flex; gap: 28px;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.04em;
}
.nav-links a {
  color: var(--text-m);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}
.nav-links a:hover::after, .nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cart {
  position: relative; padding: 8px;
  color: var(--text); transition: color var(--transition);
}
.nav-cart:hover { color: var(--accent); }

.cart-count {
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: white;
  font-size: 10px; width: 17px; height: 17px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 500;
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); z-index: 99;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  transform: translateY(-8px); opacity: 0;
  pointer-events: none;
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-menu.open {
  transform: translateY(0); opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-size: 18px; color: var(--text-m);
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: var(--r);
  font-family: var(--font-body); font-size: 13px;
  font-weight: 500; letter-spacing: 0.06em;
  transition: all var(--transition);
  cursor: pointer;
}
.btn--primary {
  background: var(--black); color: var(--white);
}
.btn--primary:hover {
  background: var(--accent); color: white;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--black); background: var(--cream);
}
.btn--small {
  padding: 9px 18px; font-size: 12px;
}
.btn--accent {
  background: var(--accent); color: white;
}
.btn--accent:hover { background: var(--accent2); transform: translateY(-1px); }

/* =============================================
   HERO (Home)
   ============================================= */
.page-home { padding-top: 0; }

.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-left: 80px; padding-right: 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero-shape {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
}
.hero-shape--1 {
  width: 500px; height: 500px;
  background: var(--blush);
  top: -100px; right: -100px;
}
.hero-shape--2 {
  width: 300px; height: 300px;
  background: var(--sand);
  bottom: 80px; left: 40px;
}

.hero-content {
  position: relative; z-index: 1;
  animation: fadeUp 0.8s ease both;
}
.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--warm);
  display: block; margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 300; line-height: 1.1;
  color: var(--black); margin-bottom: 20px;
}
.hero-title em {
  font-style: italic; color: var(--accent);
}
.hero-sub {
  font-size: 16px; color: var(--text-m);
  max-width: 380px; margin-bottom: 36px; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative; z-index: 1;
  height: 520px;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-card {
  position: absolute;
  width: 260px; height: 340px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0,0,0,0.12);
}
.hero-card:first-child { top: 40px; left: 20px; }
.hero-card--offset { bottom: 20px; right: 0; }

.hero-card__img {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end;
  padding: 20px;
  background-size: cover; background-position: center;
}
.hero-card__label {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  padding: 6px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
}

/* =============================================
   CATEGORIES GRID (Home)
   ============================================= */
.categories .container {
  max-width: none;
  padding-left: 24px;
  padding: 40px 0;
  margin-left: 35px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 300;
  margin-bottom: 40px;
  text-align: left;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
  padding-bottom: 40px;
}
.cat-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition);
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card__img {
  height: 280px;
  background: var(--sand);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}
.cat-card:hover .cat-card__img { transform: scale(1.03); }
.cat-card__img--1 { background: linear-gradient(135deg, #141413 0%, #d4bfab 100%); }
.cat-card__img--2 { background: linear-gradient(135deg, #141413 0%, #d4bfab 100%); }
.cat-card__img--3 { background: linear-gradient(135deg, #141413 0%, #d4bfab 100%); }
.cat-card__img--4 { background: linear-gradient(135deg, #141413 0%, #d4bfab 100%); }
.cat-card__info {
  padding: 16px; background: var(--white);
  display: flex; justify-content: space-between; align-items: center;
}
.cat-card__name { font-weight: 500; font-size: 14px; }
.cat-card__count { font-size: 12px; color: var(--text-l); }

/* =============================================
   STRIP (Home)
   ============================================= */
.strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.strip-inner {
  display: flex; gap: 40px;
  justify-content: space-between; flex-wrap: wrap;
}
.strip-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-m); font-size: 13px; font-weight: 400;
}

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 48px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.page-eyebrow {
  display: block; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--warm); margin-bottom: 12px;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300; color: var(--black);
}

/* =============================================
   SHOP — SECTION TABS
   ============================================= */
.sticky-tabs {
  position: sticky; top: var(--nav-h);
  background: rgba(250,249,247,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.tabs-scroll {
  display: flex; gap: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.tab-btn {
  padding: 16px 24px;
  font-size: 13px; font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-m);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--transition);
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--text);
  border-bottom-color: var(--accent);
  font-weight: 500;
}

/* =============================================
   SHOP — PRODUCTS GRID
   ============================================= */
.shop-main { padding: 48px 24px; }

.product-section { margin-bottom: 64px; }
.product-section.hidden { display: none; }

.section-head {
  margin-bottom: 32px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 300;
  margin-bottom: 6px;
}
.section-desc { font-size: 14px; color: var(--text-m); }

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

/* PRODUCT CARD */
.product-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fadeUp 0.4s ease both;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.product-card__img {
  height: 280px;
  background: var(--sand);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-card__img-placeholder {
  font-family: var(--font-display);
  font-size: 1.2rem; color: var(--warm);
  font-style: italic;
}
.product-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--black); color: white;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.08em; padding: 4px 10px;
  border-radius: 20px;
}
.product-card__badge--sale { background: var(--accent); }
.product-card__body { padding: 16px; }
.product-card__cat {
  font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-l);
  margin-bottom: 4px;
}
.product-card__name {
  font-size: 14px; font-weight: 500; margin-bottom: 8px;
  color: var(--text);
}
.product-card__footer {
  display: flex; align-items: center;
  justify-content: space-between;
}
.product-card__price {
  font-weight: 500; font-size: 14px;
}
.product-card__price-old {
  font-size: 12px; color: var(--text-l);
  text-decoration: line-through; margin-left: 6px;
}
.product-card__add {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--black); color: white;
  font-size: 20px; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.product-card__add:hover { background: var(--accent); transform: scale(1.1); }

/* LIST VIEW */
.products-list { grid-template-columns: 1fr; }
.products-list .product-card {
  display: flex; flex-direction: row;
}
.products-list .product-card__img { width: 160px; height: 160px; flex-shrink: 0; }
.products-list .product-card__body { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* =============================================
   FILTERS BAR
   ============================================= */
.filters-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky; top: var(--nav-h); z-index: 50;
}
.filters-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.filters-left { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 7px 16px; border-radius: 20px;
  font-size: 13px; border: 1px solid var(--border);
  color: var(--text-m); transition: all var(--transition);
}
.filter-chip:hover, .filter-chip.active {
  background: var(--black); color: white; border-color: var(--black);
}
.filters-right { display: flex; align-items: center; gap: 12px; }

.sort-select {
  padding: 7px 12px; border-radius: var(--r);
  border: 1px solid var(--border);
  font-family: var(--font-body); font-size: 13px;
  color: var(--text); background: var(--white);
  cursor: pointer;
}
.view-toggle { display: flex; gap: 4px; }
.view-btn {
  padding: 7px; border-radius: var(--r);
  color: var(--text-l);
  transition: all var(--transition);
}
.view-btn.active, .view-btn:hover {
  background: var(--cream); color: var(--text);
}

.results-bar {
  margin-bottom: 24px;
  font-size: 13px; color: var(--text-m);
}

/* =============================================
   PRODUCT MODAL
   ============================================= */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.product-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 201;
  background: var(--white);
  border-radius: var(--r-lg);
  width: 90%; max-width: 700px;
  max-height: 90vh; overflow-y: auto;
  opacity: 0; pointer-events: none;
  transition: all var(--transition);
}
.product-modal.open {
  opacity: 1; pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream);
  font-size: 14px; color: var(--text);
  z-index: 1;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--sand); }

.modal-inner {
  display: grid; grid-template-columns: 1fr 1fr;
}
.modal-img {
  height: 400px; background: var(--sand);
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  display: flex; align-items: center; justify-content: center;
}
.modal-img-placeholder {
  font-family: var(--font-display);
  font-size: 1.4rem; color: var(--warm);
  font-style: italic;
}
.modal-info {
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.modal-cat {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-l);
}
.modal-name {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 400; line-height: 1.2;
}
.modal-price {
  font-size: 1.3rem; font-weight: 500;
  color: var(--text);
}
.modal-price span {
  font-size: 14px; color: var(--text-l);
  text-decoration: line-through; margin-left: 8px;
  font-weight: 400;
}
.modal-desc { font-size: 14px; color: var(--text-m); line-height: 1.7; }
.modal-sizes h4 { font-size: 13px; margin-bottom: 10px; }
.sizes-group { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  padding: 7px 14px; border-radius: var(--r);
  border: 1px solid var(--border);
  font-size: 13px; color: var(--text-m);
  transition: all var(--transition);
}
.size-btn:hover, .size-btn.selected {
  border-color: var(--black);
  background: var(--black); color: white;
}
.modal-actions { display: flex; gap: 10px; margin-top: 8px; }

/* =============================================
   CART DRAWER
   ============================================= */
.cart-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.3);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: -420px; bottom: 0;
  width: 100%; max-width: 420px;
  background: var(--white); z-index: 301;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
  transition: right var(--transition);
}
.cart-drawer.open { right: 0; }

.cart-drawer__head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-drawer__head h3 {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 400;
}
.cart-drawer__head button {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream); font-size: 13px;
  transition: background var(--transition);
}
.cart-drawer__head button:hover { background: var(--sand); }

.cart-drawer__body {
  flex: 1; overflow-y: auto; padding: 20px 24px;
}
.cart-empty { text-align: center; color: var(--text-l); font-size: 14px; padding: 40px 0; }

.cart-item {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item__img {
  width: 64px; height: 80px; border-radius: var(--r);
  background: var(--sand); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--warm);
}
.cart-item__info { flex: 1; }
.cart-item__name { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.cart-item__meta { font-size: 12px; color: var(--text-l); margin-bottom: 8px; }
.cart-item__actions {
  color: #fff;
  display: flex; align-items: center; gap: 10px;
}
/* Botones de cantidad (+ y -) y número */
.cart-item__actions button {
    color: var(--text) !important;
    background: transparent;
    border: 1px solid var(--border);
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.cart-item__actions button:hover {
    background: var(--sand);
    border-color: var(--accent);
}

.cart-item__actions span {
    color: #fff !important; /* El número de cantidad */
    font-weight: 600;
}

/* El botón "Eliminar" */
.cart-item__remove, 
.cart-item__actions button:last-child {
    color:  #fff !important;
    font-size: 12px;
    text-decoration: underline;
}
/* La X del Carrito y del Modal */
.cart-drawer__head button, 
.modal-close {
    color: #ffffff !important;      /* Color de la X */
    background: #222 !important;    /* Fondo circular oscuro para que resalte */
    border: 1px solid #333 !important;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
}

/* Efecto al pasar el mouse por encima */
.cart-drawer__head button:hover, 
.modal-close:hover {
    background: var(--accent) !important; /* Cambia a cromo/plata al hacer hover */
    color: #000 !important;               /* La X se pone negra sobre el fondo cromo */
    transform: rotate(90deg);             /* Un toque sutil de rotación */
}

.cart-item__actions button:last-child:hover {
    color: #ff5555 !important; /* Un rojo suave al pasar el mouse */
    background: transparent;
    border-color: transparent;
}
.qty-btn {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 14px; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.qty-btn:hover { background: var(--cream); }
.qty-num { font-size: 13px; font-weight: 500; min-width: 20px; text-align: center; }
.cart-item__price { font-size: 14px; font-weight: 500; }
.cart-item__remove {
  color: var(--text-l); font-size: 12px;
  transition: color var(--transition);
}
.cart-item__remove:hover { color: #e55; }

.cart-drawer__foot {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 16px;
}
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
}
.cart-total span:first-child { font-size: 14px; color: var(--text-m); }
.cart-total span:last-child { font-size: 1.2rem; font-weight: 600; }

/* =============================================
   INFO PAGES (Información, Envíos, Medidas)
   ============================================= */
.page-info body, .info-main { background: var(--white); }
.info-main {
  padding: 60px 24px;
  max-width: 900px; margin: 0 auto;
}
.info-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
}
.info-tab {
  padding: 12px 22px;
  font-size: 13px; font-weight: 400;
  color: var(--text-m);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--transition);
}
.info-tab:hover { color: var(--text); }
.info-tab.active {
  color: var(--text); border-bottom-color: var(--accent);
  font-weight: 500;
}

.info-section { animation: fadeUp 0.4s ease both; }
.info-section.hidden { display: none; }
.info-content h2 {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 300;
  margin-bottom: 16px;
}
.info-lead {
  font-size: 16px; color: var(--text-m);
  line-height: 1.8; margin-bottom: 36px;
  max-width: 640px;
}
.info-h2 {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 300;
  margin-bottom: 28px;
}
.info-blocks {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.info-block {
  padding: 24px; background: var(--cream);
  border-radius: var(--r-lg);
}
.info-block h3 {
  font-size: 14px; font-weight: 600;
  margin-bottom: 10px; color: var(--text);
}
.info-block p { font-size: 14px; color: var(--text-m); line-height: 1.7; }

/* TERMS ACCORDION */
.terms-list { display: flex; flex-direction: column; gap: 1px; }
.terms-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.terms-item summary {
  padding: 18px 20px; cursor: pointer;
  font-size: 14px; font-weight: 500;
  list-style: none; user-select: none;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition);
}
.terms-item summary:hover { background: var(--cream); }
.terms-item summary::-webkit-details-marker { display: none; }
.terms-item summary::after {
  content: '+'; font-size: 18px; color: var(--text-l);
  transition: transform var(--transition);
}
.terms-item[open] summary::after { transform: rotate(45deg); }
.terms-item[open] summary { background: var(--cream); }
.terms-item p {
  padding: 0 20px 18px; font-size: 14px;
  color: var(--text-m); line-height: 1.75;
}

/* CONTACT */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-card {
  display: flex; gap: 16px; align-items: center;
  padding: 20px; border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.contact-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(193,123,74,0.12);
  transform: translateY(-2px);
}
.contact-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon--wa { background: #e7f5ee; color: #25D366; }
.contact-icon--ig { background: #fce4ec; color: #E1306C; }
.contact-icon--mail { background: #e3f0ff; color: #2196F3; }
.contact-card strong { font-size: 14px; display: block; margin-bottom: 2px; }
.contact-card p { font-size: 13px; color: var(--text-m); }

/* =============================================
   SHIPPING PAGE
   ============================================= */
.shipping-section { margin-bottom: 56px; }

.shipping-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 8px;
}
.shipping-card {
  padding: 28px; border-radius: var(--r-lg);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 16px;
  position: relative; transition: all var(--transition);
}
.shipping-card:hover { border-color: var(--stone); box-shadow: 0 4px 20px rgba(255, 255, 255, 0.06); }
.shipping-card--featured {
  background: var(--black); color: var(--white);
  border-color: var(--black);
}
.shipping-card--featured .shipping-icon { color: var(--accent); }
.shipping-card--featured .shipping-info p { color: rgba(255, 255, 255, 0.7); }
.shipping-card--featured .price-note { color: rgba(255, 255, 255, 0.5); }
.shipping-badge {
  position: absolute; top: -10px; left: 20px;
  background: var(--accent); color: rgb(0, 0, 0);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.1em; padding: 4px 12px;
  border-radius: 20px;
}
.shipping-icon { color: var(--warm); }
.shipping-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.shipping-info p { font-size: 13px; color: var(--text-m); line-height: 1.6; }
.shipping-price { margin-top: 8px; }
.price-tag { font-size: 18px; font-weight: 600; font-family: var(--font-display); }
.price-note { display: block; font-size: 12px; color: var(--text-l); margin-top: 2px; }

.process-steps {
  display: flex; flex-direction: column; gap: 0;
  border: 1px solid var(--border); border-radius: var(--r-lg);
  overflow: hidden;
}
.process-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.process-step:last-child { border-bottom: none; }
.process-step:hover { background: var(--cream); }
.step-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 300; color: var(--stone);
  line-height: 1; flex-shrink: 0; width: 40px;
}
.step-content h3 { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.step-content p { font-size: 14px; color: var(--text-m); line-height: 1.7; }

/* =============================================
   MEDIDAS PAGE
   ============================================= */
.measure-how-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-bottom: 8px;
}
.measure-how {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--cream);
  border-radius: var(--r-lg);
}
.measure-how__icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--black); color: white;
  font-family: var(--font-display); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.measure-how strong { font-size: 14px; display: block; margin-bottom: 4px; }
.measure-how p { font-size: 13px; color: var(--text-m); line-height: 1.6; }

.size-section { animation: fadeUp 0.4s ease both; }
.size-section.hidden { display: none; }

.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--border); }
.size-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
.size-table th {
  padding: 14px 16px;
  background: var(--black); color: white;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center;
}
.size-table th:first-child { text-align: left; }
.size-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: center; color: var(--text-m);
}
.size-table td:first-child { text-align: left; }
.size-table tr:last-child td { border-bottom: none; }
.size-table tr:nth-child(even) td { background: var(--cream); }
.measure-label { font-weight: 500; color: var(--text) !important; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--black); color: rgba(255,255,255,0.7);
  padding: 48px 0 0;
}
.footer-inner {
  display: flex; gap: 48px; justify-content: space-between;
  flex-wrap: wrap; padding-bottom: 48px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem; color: white;
  font-weight: 600; letter-spacing: 0.18em;
  display: block; margin-bottom: 12px;
}
.footer p { font-size: 14px; line-height: 1.7; }
.footer-links, .footer-social {
  display: flex; flex-direction: column; gap: 10px;
}
.footer-links a, .footer-social a {
  font-size: 13px; transition: color var(--transition);
}
.footer-links a:hover, .footer-social a:hover { color: white; }
.footer-social p { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.footer-copy {
  text-align: center; font-size: 12px;
  padding: 16px; border-top: 1px solid rgba(255,255,255,0.08);
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 24px 60px;
    min-height: auto;
  }
  .hero-visual { display: none; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .info-blocks { grid-template-columns: 1fr; }
  .shipping-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .measure-how-grid { grid-template-columns: 1fr; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-img { height: 240px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .nav { padding: 0 20px; }
  .hero-title { font-size: 2.6rem; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .strip-inner { gap: 20px; }
  .strip-item { font-size: 12px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card__img { height: 200px; }
  .cart-drawer { max-width: 100%; }
  .footer-inner { gap: 32px; }
}
/* =====================================
   ELYSIANVINTAGE DARK CHROME FIX
===================================== */

:root{
  --black:#000;
  --white:#0d0d0d;
  --cream:#111;
  --sand:#1a1a1a;
  --blush:#222;
  --stone:#666;
  --warm:#999;
  --accent:#c0c0c0;
  --accent2:#8e8e8e;
  --text:#f1f1f1;
  --text-m:#b8b8b8;
  --text-l:#7d7d7d;
  --border:rgba(255,255,255,.08);
}

/* fondo general */
body{
  background:#000;
  color:#f1f1f1;
}

/* nav */
.nav{
  background:rgba(0,0,0,.92)!important;
  border-bottom:1px solid #222;
}

.nav-logo{
  color:#c0c0c0!important;
}

.nav-links a:hover{
  color:#fff;
}

/* hero */
.hero-title{
  color:#fff!important;
}

.hero-title em{
  color:#c0c0c0!important;
}

.hero-sub{
  color:#aaa!important;
}

.hero-card__label{
  background:#111!important;
  color:#c0c0c0!important;
  border:1px solid #333;
}

/* botones */
.btn--primary{
  background:#c0c0c0!important;
  color:#000!important;
}

.btn--ghost{
  border:1px solid #444!important;
  color:#fff!important;
}

/* categorías */
.categories{
  background:#050505!important;
}

.cat-card{
  border:1px solid #1e1e1e;
}

.cat-card__info{
  background:#111!important;
}

/* cards productos */
.product-card,
.info-block,
.shipping-card,
.contact-card,
.terms-item,
.cart-drawer{
  background:#111!important;
  border:1px solid #222!important;
}

/* footer */
.footer{
  background:#050505!important;
}

.footer-logo{
  color:#c0c0c0!important;
}

/* tablas */
.size-table th{
  background:#111!important;
}

.size-table tr:nth-child(even) td{
  background:#111!important;
}

/* ==================================================
   COLECCIONES (ropa-secciones.html)
   MANTENER MISMOS COLORES DEL SITIO
   Solo reemplaza esta parte en tu CSS
================================================== */

/* PAGE SHOP */
.page-shop{
  background: var(--white);
  color: var(--text);
}

/* HEADER */
.page-header{
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.page-eyebrow{
  color: var(--warm);
}

.page-title{
  color: var(--text);
}

/* TABS */
.sticky-tabs{
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.tab-btn{
  color: var(--text-m);
}

.tab-btn:hover{
  color: var(--text);
}

.tab-btn.active{
  color: var(--text);
  border-bottom: 2px solid var(--accent);
}

/* SECTION HEAD */
.section-head h2{
  color: var(--text);
}

.section-desc{
  color: var(--text-m);
}

/* PRODUCT GRID */
.products-grid{
  gap: 24px;
}

/* PRODUCT CARD */
.product-card{
  background: var(--cream);
  border: 1px solid var(--border);
}

.product-card:hover{
  border-color: var(--accent);
}

.product-card__img{
  background: var(--sand);
}

.product-card__name{
  color: var(--text);
}

.product-card__cat{
  color: var(--text-l);
}

.product-card__price{
  color: var(--text);
}

.product-card__add{
  background: var(--accent);
  color: var(--black);
}

.product-card__add:hover{
  background: var(--accent2);
}

/* MODAL */
.product-modal{
  background: var(--white);
  border: 1px solid var(--border);
}

.modal-name{
  color: var(--text);
}

.modal-price{
  color: var(--text);
}

/* FOOTER */
.footer{
  background: var(--black);
}

.footer-logo{
  color: var(--text);
}

.footer-links a:hover{
  color: var(--accent);
}
/* =============================================
   PRODUCT PAGE (producto.html)
   ============================================= */

.product-page {
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 60px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* IMAGEN */
.product-image {
  height: 500px;
  border-radius: var(--r-lg);
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--warm);
}

/* INFO */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-category {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-l);
}

.product-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.2;
}

.product-price {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text);
}

.product-price span {
  font-size: 14px;
  color: var(--text-l);
  text-decoration: line-through;
  margin-left: 10px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-m);
  line-height: 1.7;
  max-width: 420px;
}

/* TALLAS */
.product-sizes {
  margin-top: 10px;
}

.product-sizes h4 {
  font-size: 13px;
  margin-bottom: 10px;
}

.size-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.size-option {
  padding: 8px 16px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-m);
  transition: all var(--transition);
}

.size-option:hover,
.size-option.active {
  background: var(--accent);
  color: var(--black);
  border-color: var(--accent);
}

/* BOTÓN */
.product-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-actions .btn {
  flex: 1;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-image {
    height: 300px;
  }

  .product-title {
    font-size: 2rem;
  }
}
.product-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #000;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}

/* ❌ NO HOVER ZOOM */

/* ================= LIGHTBOX ================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  cursor: grab;
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox img:active {
  cursor: grabbing;
}
/* =========================================
   APARTADO DE MEDIDAS (PRODUCT PAGE)
   ========================================= */

.product-measurements {
    margin-bottom: 30px;
    padding: 20px;
    background: #111111; /* Fondo ligeramente más claro que el negro puro */
    border: 1px solid #333333; /* Borde sutil */
    border-radius: 2px;
    transition: all 0.3s ease;
}

.product-measurements h4 {
    margin-top: 0;
    margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888888; /* Color tenue para el título */
}

.product-measurements p {
    white-space: pre-line;
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #ffffff; /* Texto de medidas en blanco para lectura clara */
}

/* Ajustes adicionales para que combine con tu captura */
.product-info .product-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #fff;
}

.product-info .product-price {
    font-size: 22px;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 25px;
    color: #fff;
}

.product-info .product-desc {
    color: #bbbbbb;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Botones estilo Elysian */
.btn--primary {
    background: #e0e0e0;
    color: #000;
    border: none;
    padding: 15px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid #333;
    padding: 15px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}
/* Contenedor de los textos */
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px; /* Espacio pequeño entre nombre, talla y precio */
  padding: 12px;
}

/* Nombre de la prenda */
.product-card__name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

/* Talla con color opaco */
.product-card__size {
  font-size: 0.85rem;
  color: #888; /* Color grisáceo/opaco */
  font-weight: 400;
}

/* Fila del precio y botón */
.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.product-card__price {
  font-weight: 600;
  color: #fff;
}

.product-card__price {
  font-weight: 600;
  color: #fff;
}


.page-shop #allProductsGrid {
  grid-template-columns: repeat(6, 1fr) !important;
}

@media (max-width: 900px) {
  .page-shop #allProductsGrid { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 640px) {
  .page-shop #allProductsGrid { grid-template-columns: repeat(2, 1fr) !important; }
}
.page-shop .shop-main {
  max-width: none;
  padding: 48px 24px;
}
.page-shop #grid-hoodie,
.page-shop #grid-crewnecks,
.page-shop #grid-jackets,
.page-shop #grid-tees,
.page-shop #grid-longsleeve,
.page-shop #grid-shorts,
.page-shop #grid-pants,
.page-shop #grid-accesorios {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.nav {
  position: relative;
}

.nav-logo img {
  height: 50px;
}
.nav-links {
  margin-left: auto;
}
/* 1. Definir la fuente */
@font-face {
    font-family: 'Simila';
    /* Asegúrate de que el archivo Simila.ttf esté en tu carpeta de fuentes */
    src: url('assets/StussyScript-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 2. Aplicarla al texto de la marca en el nav: */
.nav-brand-text {
    font-family: 'Simila', cursive; 
    font-size: 32px; /* Tamaño ajustado para resaltar el estilo graffiti */
    color: #fff;
    text-decoration: none !important;
}

/* Y al título del Hero: */
.hero-title {
    font-family: 'Simila', cursive;
    font-size: 4rem; /* Tamaño grande para el impacto visual del slogan */
    line-height: 1.2;
}
