
:root {
  --black: #0A0A0A;
  --gold: #D3AB7D;
  --gold-dark: #BD9568;
  --beige: #F2E8D5;
  --white-smoke: #F7F7F7;
  --text-light: rgba(255,255,255,0.85);
  --text-soft: rgba(255,255,255,0.65);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white-smoke);
  color: var(--black);
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(211,171,125,0.25);
  padding: 0.6rem 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: white;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(211,171,125,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-mark img { width: 95%; }

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-text span {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.main-nav {
  display: flex;
  gap: 1rem;
  color: rgba(255,255,255,0.85);
  font-size: .85rem;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

.main-nav a::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:0;
  height:1px;
  background:var(--gold);
  transition:width .2s;
}

.main-nav a:hover::after { width:100%; }

.cart-summary {
  cursor: pointer;
  padding: .35rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  font-size: .8rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(0,0,0,0.6);
}

.count-badge {
  background: var(--gold);
  color: var(--black);
  border-radius: 999px;
  padding: .1rem .45rem;
  font-size: .7rem;
  font-weight: 600;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  padding: 5rem 8%;
  min-height: 85vh;
  background: radial-gradient(circle at top left, #3A2A1A 0%, #050505 50%, #000 100%);
  color: white;
  gap: 2.5rem;
}

.hero-content {
  display:flex;
  flex-direction:column;
  justify-content:center;
  max-width:550px;
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--text-soft);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 2.7rem;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.gold { color: var(--gold); }

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.3rem;
  max-width: 450px;
}

.hero-buttons {
  display:flex;
  gap:1rem;
  margin-bottom:.7rem;
}

.btn-primary,
.btn-outline,
.btn-product-add,
.btn-add-small,
.checkout-submit,
.btn-checkout {
  position:relative;
  overflow:hidden;
  border-radius:50px;
  cursor:pointer;
  font-weight:600;
  transition:transform .25s ease, background .25s ease;
}

.btn-primary {
  background: var(--gold);
  color: black;
  padding: 0.85rem 1.6rem;
  border:none;
}

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

.btn-outline {
  border:1px solid var(--text-light);
  background:transparent;
  color:white;
  padding:.85rem 1.6rem;
}

.btn-outline:hover { background: rgba(255,255,255,0.08); }

.hero-note {
  font-size:.8rem;
  color:var(--text-soft);
}

.hero-card {
  background: rgba(15,15,15,0.85);
  border:1px solid rgba(211,171,125,0.4);
  padding:1.3rem;
  border-radius:20px;
  align-self:center;
  max-width:500px;
  backdrop-filter: blur(8px);
}

.hero-card-header {
  display:flex;
  justify-content:space-between;
  color:var(--text-light);
  font-size:.85rem;
  margin-bottom:1rem;
}

.badge {
  padding:0.25rem .7rem;
  border-radius:20px;
  background:rgba(211,171,125,0.15);
  border:1px solid rgba(211,171,125,0.4);
  color:var(--gold);
  font-size:.7rem;
  text-transform:uppercase;
}

.hero-card-body {
  /*display:grid;*/
  grid-template-columns:10fr 1fr;
  gap:.8rem;
}

.hero-card-img {
  border-radius:15px;
  overflow:hidden;
  background:linear-gradient(135deg,#f5e6ce,#d3ab7d);
}

.hero-card-info h3 { margin:0; font-size:1.05rem;}
.price { color:var(--gold); font-weight:bold; margin:.3rem 0;}
.meta,.points { font-size:.75rem; color:var(--text-soft);}

/* HOME SECTIONS */

.home-title {
  font-family:"Playfair Display",serif;
  font-size:2rem;
  margin-bottom:.3rem;
  text-align:center;
}

.home-subtitle {
  color:#666;
  margin-bottom:2rem;
  font-size:1rem;
  text-align:center;
}

/* Collections */

.collections {
  padding:4rem 8%;
  background:var(--black);
  color:white;
}

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

.collection-card {
  position:relative;
  height:260px;
  border-radius:18px;
  overflow:hidden;
  cursor:pointer;
}

.collection-img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.collection-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,transparent,rgba(0,0,0,0.6));
}

.collection-info {
  position:absolute;
  bottom:20px;
  left:20px;
}

.collection-info h3 {
  margin:0;
  font-size:1.4rem;
  color:var(--gold);
}

.collection-info p {
  margin:0;
  font-size:.9rem;
  color:var(--text-light);
}

/* New arrivals */

.new-arrivals {
  padding:4rem 8%;
  background:var(--white-smoke);
}

.product-grid-home {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:1.5rem;
}

.product-home-card {
  background:white;
  border-radius:14px;
  padding:1rem;
  box-shadow:0 2px 10px rgba(0,0,0,0.06);
  cursor:pointer;
  text-align:left;
}

.product-home-img {
  width:100%;
  height:200px;
  border-radius:12px;
  object-fit:cover;
  margin-bottom:.8rem;
}

.product-home-name { font-size:1rem; font-weight:600;}
.product-home-price { font-size:1.1rem; font-weight:700; color:var(--gold);}

/* Categories */

.categories {
  padding:4rem 8%;
  background:white;
}

.category-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:2rem;
  margin-top:2rem;
}

.category-card { text-align:center; cursor:pointer;}

.category-circle {
  width:120px;
  height:120px;
  border-radius:999px;
  overflow:hidden;
  border:3px solid var(--gold);
  margin:0 auto 1rem;
}

.category-circle img {
  width:100%;
  height:100%;
  object-fit:cover;
}

.category-card span { font-size:1rem; font-weight:600;}

/* Why GlamUp */

.why-glamup {
  padding:4rem 8%;
  background:var(--beige);
}

.why-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:2rem;
  margin-top:2rem;
}

.why-card { padding:1.5rem; text-align:center;}
.why-icon { width:55px; margin-bottom:.7rem;}
.why-card h3 { margin-bottom:.4rem;}
.why-card p { font-size:.9rem; color:#444;}

/* Catalog page */

.catalog-page {
  padding:4rem 8%;
  background:white;
}

.catalog-header { text-align:center; margin-bottom:2.5rem;}

.catalog-title {
  font-family:"Playfair Display",serif;
  font-size:2.2rem;
  margin-bottom:.4rem;
}

.catalog-subtitle { color:#666; font-size:1rem;}

.catalog-filters {
  display:flex;
  gap:1.5rem;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:2.5rem;
}

.filter-group {
  display:flex;
  flex-direction:column;
  font-size:.9rem;
}

.filter-group label { margin-bottom:.3rem; color:#444;}

.filter-group select {
  padding:.5rem 1rem;
  border-radius:8px;
  border:1px solid #ccc;
  background:white;
}

/* Catalog grid */

.catalog-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  gap:1.5rem;
}

.catalog-card {
  background:white;
  border-radius:14px;
  padding:1rem;
  box-shadow:0 2px 12px rgba(0,0,0,0.06);
  cursor:pointer;
}

.catalog-img {
  width:100%;
  height:210px;
  border-radius:12px;
  object-fit:cover;
  margin-bottom:.8rem;
}

.catalog-name { font-size:1rem; font-weight:600;}
.catalog-meta { font-size:.85rem; color:#777; margin-top:.2rem;}
.catalog-price { font-size:1.2rem; font-weight:700; color:var(--gold); margin-top:.6rem;}

.btn-add-small {
  margin-top:.7rem;
  background:var(--black);
  color:white;
  padding:.5rem 1rem;
  border:none;
  font-size:.8rem;
}

/* Product page */

.product-page { padding:4rem 8%; background:var(--white-smoke);}

.breadcrumb {
  font-size:.9rem;
  margin-bottom:1.5rem;
  color:#555;
}

.breadcrumb a { color:var(--black); text-decoration:none;}
.breadcrumb span { color:#777;}

.product-content {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:3rem;
}

.product-gallery { display:flex; flex-direction:column; gap:1rem;}

.product-main-img {
 /* width:100%;
  height:480px;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 5px 16px rgba(0,0,0,0.1);*/
  overflow: hidden;              /* clave para pan */
  touch-action: none;            /* evita conflicto con scroll móvil */
  overscroll-behavior: contain;
  cursor: grab;
}

.product-main-img img { /*width:100%; height:100%; object-fit:contain;*/ 
  width: 100%;
  height: 100%;
  object-fit: contain;           /* MUY IMPORTANTE */
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 0 0;
  will-change: transform;}

  /* Cuando arrastras */
.product-main-img:active {
  cursor: grabbing;
}

.product-thumbs { display:flex; gap:.8rem;}

.product-thumbs img {
  width:85px;
  height:85px;
  border-radius:12px;
  object-fit:cover;
  cursor:pointer;
  opacity:.7;
  border:2px solid transparent;
}

.product-thumbs img.active {
  opacity:1;
  border-color:var(--gold);
}

.product-details { padding-right:1rem;}

.product-name {
  font-family:"Playfair Display",serif;
  font-size:2rem;
  margin-top:0;
}

.product-price {
  font-size:1.8rem;
  font-weight:700;
  color:var(--gold);
  margin:.3rem 0 1rem;
}

.product-description { font-size:1rem; color:#444; line-height:1.55; margin-bottom:2rem;}

.product-sizes p { font-weight:600; margin-bottom:.6rem;}

.sizes-wrapper { display:flex; gap:.7rem; flex-wrap:wrap;}

.size-option {
  padding:.55rem 1rem;
  border-radius:50px;
  border:1px solid #ccc;
  cursor:pointer;
  font-size:.9rem;
  background:white;
}

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



/* Fixed single-size pill (non-clickable) */
.size-option--fixed{
  cursor:default;
  pointer-events:none;
  box-shadow:0 6px 18px rgba(212,175,55,.18);
}
.btn-product-add {
  margin-top:2rem;
  background:var(--black);
  color:white;
  padding:1rem 2rem;
  border:none;
  font-size:1rem;
}

/* Product benefits */

.product-benefits { margin-top:2.5rem;}
.benefit-item {
  display:flex;
  align-items:center;
  gap:.7rem;
  margin-bottom:.8rem;
}
.benefit-item img { width:28px;}
.benefit-item span { font-size:.95rem; color:#333;}

/* Checkout */

.checkout-container {
  display:grid;
  grid-template-columns:1.2fr .9fr;
  gap:2rem;
  padding:4rem 8%;
}

.checkout-form-box {
  background:white;
  border-radius:16px;
  padding:2rem;
  box-shadow:0 4px 20px rgba(0,0,0,0.08);
}

.checkout-title {
  font-family:"Playfair Display",serif;
  font-size:2rem;
  margin:0 0 1rem;
}

.form-group { margin-bottom:1.4rem;}
.form-group label { display:block; font-weight:600; margin-bottom:.4rem;}
.form-group input,
.form-group textarea,
.form-group select {
  width:100%;
  padding:.8rem 1rem;
  border:1px solid #ccc;
  border-radius:12px;
  font-size:1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(211,171,125,0.25);
  outline:none;
}

.summary-box {
  background:var(--black);
  color:white;
  border-radius:16px;
  padding:2rem;
  box-shadow:0 4px 20px rgba(0,0,0,0.12);
}

.summary-title {
  font-family:"Playfair Display",serif;
  font-size:1.6rem;
  margin-bottom:1rem;
}

.summary-items {
  max-height:260px;
  overflow-y:auto;
  margin-bottom:1.5rem;
}

.summary-item {
  display:flex;
  justify-content:space-between;
  padding:.6rem 0;
  border-bottom:1px solid rgba(255,255,255,0.15);
}

.summary-item-qty { color:var(--gold);}
.summary-total {
  display:flex;
  justify-content:space-between;
  font-weight:700;
  font-size:1.3rem;
  margin-top:1rem;
}

.checkout-submit {
  background:var(--gold);
  color:black;
  padding:1rem 2rem;
  width:100%;
  border:none;
  font-size:1.2rem;
  margin-top:1.8rem;
}

.info-note { margin-top:1rem; font-size:.9rem; color:#555;}

/* CART SIDEBAR */

.cart-overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);
  backdrop-filter:blur(3px);
  opacity:0;
  pointer-events:none;
  transition:.35s ease;
  z-index:900;
}

.cart-overlay.visible {
  opacity:1;
  pointer-events:all;
}

.cart-sidebar {
  position:fixed;
  top:0;
  right:-400px;
  width:360px;
  height:100%;
  background:#0A0A0A;
  color:white;
  padding:1.5rem;
  box-shadow:-4px 0 20px rgba(0,0,0,0.3);
  transition:.35s ease;
  z-index:1000;
  display:flex;
  flex-direction:column;
}

.cart-sidebar.open { right:0;}

.cart-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:1.4rem;
}

.cart-header h2 {
  margin:0;
  font-family:"Playfair Display",serif;
  font-size:1.5rem;
}

.cart-close {
  background:transparent;
  border:none;
  cursor:pointer;
  color:var(--gold);
  font-size:1.4rem;
}

.cart-items {
  flex:1;
  overflow-y:auto;
  padding-right:.5rem;
}

.cart-item {
  display:grid;
  grid-template-columns:70px auto 60px;
  gap:.6rem;
  padding:.8rem 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.cart-item-img img {
  width:70px;
  height:70px;
  border-radius:8px;
  object-fit:cover;
}

.cart-item-info h4 { margin:0; font-size:.95rem;}
.cart-item-info p { margin:.3rem 0 0; font-size:.8rem; color:#bbb;}

.cart-item-qty {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.35rem;
}

.qty-btn {
  width:24px;
  height:24px;
  border-radius:6px;
  background:#222;
  color:white;
  border:none;
  cursor:pointer;
}

.qty-number { font-size:.9rem; font-weight:bold;}

.cart-summary-box {
  border-top:1px solid rgba(255,255,255,0.15);
  padding-top:1rem;
  margin-top:1rem;
}

.cart-total-row {
  display:flex;
  justify-content:space-between;
  font-size:1.2rem;
  margin-bottom:1rem;
}

.btn-checkout {
  background:var(--gold);
  color:black;
  width:100%;
  padding:.9rem 1.3rem;
  border:none;
}

/* Floating button */

.floating-cart-btn {
  position:fixed;
  right:25px;
  bottom:25px;
  padding:.8rem 1.2rem;
  background:var(--black);
  border:2px solid var(--gold);
  color:white;
  border-radius:50px;
  cursor:pointer;
  z-index:999;
  display:flex;
  align-items:center;
  gap:.5rem;
}

.floating-cart-btn span {
  background:var(--gold);
  color:black;
  padding:.2rem .5rem;
  border-radius:999px;
  font-size:.8rem;
  font-weight:bold;
}

/* Notification */

.cart-notification {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%) translateY(40px);
  background:rgba(10,10,10,0.95);
  border:1px solid var(--gold);
  color:white;
  padding:.9rem 1.4rem;
  border-radius:12px;
  display:flex;
  align-items:center;
  gap:.7rem;
  font-size:.95rem;
  opacity:0;
  pointer-events:none;
  z-index:2000;
  transition:all .45s ease;
  box-shadow:0 6px 20px rgba(0,0,0,0.45);
}

.cart-notification.show {
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

#notifIcon { color:var(--gold); font-size:1.2rem; font-weight:bold;}

/* Loader */

.loader-overlay {
  position:fixed;
  inset:0;
  background:#0A0A0A;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:99999;
  opacity:1;
  transition:opacity .8s ease;
}

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

.loader-logo {
  width:150px;
  height:auto;
  opacity:0;
  transform:scale(0.85);
  animation: loaderFade 2s ease forwards, loaderGlow 2.8s ease-in-out infinite;
}

@keyframes loaderFade {
  0% { opacity:0; transform:scale(.85);}
  100%{ opacity:1; transform:scale(1);}
}

@keyframes loaderGlow {
  0% { filter:drop-shadow(0 0 6px rgba(211,171,125,0.25));}
  50%{ filter:drop-shadow(0 0 22px rgba(211,171,125,0.55));}
  100%{ filter:drop-shadow(0 0 6px rgba(211,171,125,0.25));}
}

.loader-hidden { opacity:0; pointer-events:none;}

/* Footer */

.site-footer {
  padding:1rem 6%;
  font-size:.8rem;
  color:#777;
  text-align:center;
  border-top:1px solid #eee;
  background:white;
}

/* Reveal / stagger */

.reveal {
  opacity:0;
  transform:translateY(25px);
  transition:all .8s ease;
}

.reveal.visible {
  opacity:1;
  transform:translateY(0);
}

.stagger {
  opacity:0;
  transform:translateY(20px);
  transition:all .8s ease;
}

/* Tilt */

.tilt-card {
  transition:transform .25s ease, box-shadow .25s ease;
  transform-style:preserve-3d;
}

.tilt-card:hover {
  box-shadow:0 14px 28px rgba(0,0,0,0.22);
}

/* Buttons glow */

.btn-primary::after,
.btn-outline::after,
.btn-product-add::after,
.btn-add-small::after,
.checkout-submit::after,
.btn-checkout::after {
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(120deg,transparent,rgba(211,171,125,0.35),transparent);
  transition:.4s ease;
}

.btn-primary:hover::after,
.btn-outline:hover::after,
.btn-product-add:hover::after,
.btn-add-small:hover::after,
.checkout-submit:hover::after,
.btn-checkout:hover::after {
  left:100%;
}

/* Responsive */

@media (max-width:900px){
  .hero {
    grid-template-columns:1fr;
    text-align:center;
  }
  .hero-content { align-items:center;}
  .hero-buttons { justify-content:center;}
  .hero-card { margin:0 auto;}
  .collection-grid,
  .category-grid,
  .why-grid {
    grid-template-columns:repeat(2,1fr);
  }
  .product-content { grid-template-columns:1fr;}
  .product-main-img { height:350px;}
  .checkout-container { grid-template-columns:1fr;}
}

@media (max-width:580px){
  .collection-grid,
  .category-grid,
  .why-grid { grid-template-columns:1fr;}
  .hero-title { font-size:2.1rem;}
  .product-main-img { height:260px;}
  .site-header { padding:0.6rem 4%;}
}


/* --- FORCE VISIBILITY FIX --- */
.reveal, .stagger { 
  opacity: 1 !important; 
  transform: translateY(0) !important; 
}
.reveal.visible, .stagger.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


.improved-icons .why-card {
  background: white;
  border-radius: 18px;
  padding: 2rem 1.2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.improved-icons .why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}

.why-icon-box {
  width: 70px;
  height: 70px;
  background: rgba(211,171,125,0.15);
  border: 1px solid rgba(211,171,125,0.45);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
}

.why-icon-box img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 3px rgba(211,171,125,0.6));
}


/* ICONOS SVG DORADOS MIXTOS */
.icon-svg {
  width: 38px;
  height: 38px;
  stroke: var(--gold);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* Cada icono tiene un relleno suave premium */
.why-card:nth-child(1) .icon-svg use { fill: rgba(211,171,125,0.20); }
.why-card:nth-child(2) .icon-svg use { fill: rgba(211,171,125,0.23); }
.why-card:nth-child(3) .icon-svg use { fill: rgba(211,171,125,0.28); }
.why-card:nth-child(4) .icon-svg use { fill: rgba(211,171,125,0.22); }

/* Caja del icono */
.why-icon-box {
  width: 78px;
  height: 78px;
  background: rgba(211,171,125,0.12);
  border: 1px solid rgba(211,171,125,0.35);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(211,171,125,0.15);
}

/* HERO GLOW */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(45px);
  opacity: .55;
  pointer-events: none;
}

.hero::before {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(211,171,125,.9), transparent 65%);
  top: -60px;
  left: -40px;
}

.hero::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(120,88,44,.85), transparent 70%);
  bottom: -80px;
  right: -40px;
}

/* COLECCIONES PREMIUM */
.collections {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, #27221c 0%, #050505 45%, #000 100%);
}

.collections::before {
  content: "";
  position: absolute;
  inset: 15% 10%;
  border-radius: 32px;
  border: 1px solid rgba(211,171,125,0.35);
  pointer-events: none;
  opacity: .4;
}

.collection-card {
  position: relative;
  isolation: isolate;
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(211,171,125,0.4), transparent 60%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity .25s ease;
}

.collection-card:hover::before {
  opacity: 1;
}
/* === PRODUCTO PREMIUM === */

.premium-shadow img {
  box-shadow: 0 10px 40px rgba(0,0,0,0.20);
  border-radius: 18px;
}

.section-label {
  font-weight: 700;
  margin-bottom: .5rem;
  color: #333;
}

.product-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
}

.product-main-img {
  height: 460px;
}

.product-thumbs {
  display: flex;
  gap: .8rem;
  margin-top: .8rem;
}

.product-thumbs img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  opacity: .7;
  border: 2px solid transparent;
  transition: .2s ease;
}

.product-thumbs img.active {
  opacity: 1;
  border-color: var(--gold);
}

.premium-benefits {
  margin-top: 2.4rem;
  background: white;
  padding: 1.4rem 1.3rem;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(211,171,125,0.22);
}

.premium-benefits .benefit-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: .8rem;
}

.premium-benefits .benefit-item span {
  font-size: .95rem;
  color: #333;
  font-weight: 500;
}

.icon-svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
  stroke-width: 1.6;
}


/* ===== GlamUp Editorial Style ===== */

.section-soft {
  padding: 5rem 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(27,27,27,0.96) 0%,
    rgba(27,27,27,0.88) 100%
  );
}

.section-inner {
  max-width: 1050px;
  margin: 0 auto;
}

.editorial-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.editorial-subtitle {
  font-size: 1.25rem;
  color: #ddd;
  max-width: 720px;
  line-height: 1.8;
}

.divider-gold {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 2.5rem 0;
  opacity: 0.7;
}

/* Cards más elegantes */
.glass-card {
  background: rgba(255,255,255,0.04);
  border-radius: 22px;
  padding: 2.2rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(211,171,125,0.18);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* === IMAGE PAN / ZOOM === */
.image-viewport {
  position: relative;
  overflow: hidden;
  cursor: grab;
}

.draggable-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* CLAVE: ver la imagen completa */
  transform-origin: 0 0;
  user-select: none;
  transition: transform 0.05s linear;
}

.image-viewport:active {
  cursor: grabbing;
}


/* Pan / Zoom: evita el scroll/zoom raro en mobile */
.product-main-img {
  touch-action: none;              /* clave para pointer/touch */
  overscroll-behavior: contain;    /* evita que “arrastre” la página */
}

.product-main-img img {
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 0 0;
  will-change: transform;
}


/* Premium badge: LAST SIZE (above product name) */
.last-size-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(212,175,55,.55);
  background: rgba(212,175,55,.12);
  color:#d4af37;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:10px;
}

/* Fixed single-size line */
.size-fixed{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.size-fixed-label{ opacity:.75; font-weight:600; }
.size-fixed-value{ font-weight:800; letter-spacing:.02em; }



.one-left-badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255, 59, 48, .55);
  background: rgba(255, 59, 48, .12);
  color:#ff3b30;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:10px;
}

/* Catalog filters meta (count + clear button) */
.catalog-filters__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
  flex-wrap:wrap;
}
.catalog-count{
  font-weight:600;
  letter-spacing:.2px;
  opacity:.9;
}
.btn-clear-filters{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
  font-weight:600;
}
.btn-clear-filters:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.26);
}
.btn-clear-filters:active{
  transform:translateY(0px);
}

/* Fix ancho select tallas */
#filter-size{
  max-width:160px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* En mobile ocupa todo el ancho */
@media (max-width:768px){
  #filter-size{
    max-width:100%;
    width:100%;
  }
}

/* Icon-only clear filters button */
.btn-clear-icon{
  width:40px;
  height:40px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  line-height:1;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.06);
  cursor:pointer;
  transition:transform .12s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.btn-clear-icon:hover{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.35);
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}
.btn-clear-icon:active{
  transform:translateY(0);
  box-shadow:none;
}

/* Catalog tabs (Marcas / GlamUp Styles) */
.catalog-tabs{
  display:flex;
  gap:10px;
  align-items:center;
  margin:10px 0 14px;
  flex-wrap:wrap;
}
.catalog-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  text-decoration:none;
  font-weight:700;
  letter-spacing:.2px;
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
}
.catalog-tab:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.26);
}
.catalog-tab--active{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.34);
}


/* ===== Index image polish ===== */
.hero-card-img {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(249,228,187,.85), rgba(211,171,125,.55));
}

.hero-card-img::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at top, rgba(0,0,0,.05), rgba(0,0,0,.35));
  pointer-events:none;
}

.hero-card-img img{
  width:100%;
  height:100%;
  display:block;
  object-fit: cover;
  transform: scale(1.02);
}

.collection-img{
  filter: contrast(1.05) saturate(1.05);
  transform: scale(1.02);
}
.collection-card:hover .collection-img{
  transform: scale(1.06);
  transition: transform .35s ease;
}

.category-circle img{
  object-position: center;
  filter: contrast(1.05) saturate(1.05);
}

.floating-cart-btn .icon-cart{
  width: 22px;
  height: 22px;
  stroke: var(--gold);
}
.category-circle{
width:220px;
height:220px;
border-radius:50%;
overflow:hidden;
border:3px solid #d3ab7d;
}

.category-circle img{
width:100%;
height:100%;
object-fit:cover;
}

.collection-card{
display:block;
text-decoration:none;
color:inherit;
}




/* Título */
.collection-info h3{
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 20px;
  line-height: 1.1;
  color: #d3ab7d;
  text-shadow: 0 2px 10px rgba(0,0,0,0.65);
}

/* Subtexto */
.collection-info p{
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  text-decoration: none;
}

/* Por si el navegador lo trata como link */
.collection-card, .collection-card *{
  text-decoration: none !important;
}