
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body { font-family: 'Montserrat', sans-serif; color: #373934; background: #fff; overflow-x: hidden; }
    img { display: block; max-width: 100%; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }

    :root {
      --gold-dark: #c9a227; --gold-mid: #d4aa2e; --gold-light: #e8d48b;
      --gold-gradient: linear-gradient(135deg, #c9a227, #e8d48b, #c9a227);
      --charcoal: #393737; --silver: #C4CBCA; --pink-soft: #FADFE9;
      --cream: #F0E9E9; --white: #FFFFFF;
    }

    .gold-divider { height: 1px; background: linear-gradient(90deg, transparent, #c9a227, #e8d48b, #c9a227, transparent); border: none; margin: 0; }

    .fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
    .fade-in.visible { opacity: 1; transform: translateY(0); }

    /* ─── BOTONES ─── */
    .btn-primary {
      background: linear-gradient(135deg, #c9a227, #e8d48b, #c9a227);
      background-size: 200% auto; color: #fff;
      padding: 16px 40px; font-family: 'Montserrat', sans-serif;
      font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em;
      text-transform: uppercase; border: none; border-radius: 4px;
      cursor: pointer; transition: background-position 0.4s, transform 0.2s, box-shadow 0.2s;
      display: inline-flex; align-items: center; gap: 10px;
      box-shadow: 0 4px 18px rgba(201,162,39,0.32);
      width: 100%;
      justify-content: center;
    }
    .btn-primary:hover { background-position: right center; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,0.42); }
    .btn-outline {
      background: transparent; color: var(--charcoal);
      padding: 14px 40px; font-family: 'Montserrat', sans-serif;
      font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em;
      text-transform: uppercase; border: 1.5px solid var(--charcoal); border-radius: 4px;
      cursor: pointer; transition: all 0.22s;
      display: inline-flex; align-items: center; gap: 10px;
      width: 100%; justify-content: center; margin-top: 10px;
    }
    .btn-outline:hover { background: var(--charcoal); color: #fff; }

    /* ─── BREADCRUMB ─── */
    .breadcrumb-bar {
      background: var(--cream); border-bottom: 1px solid rgba(196,203,202,0.4);
      padding: 12px 48px;
    }
    .breadcrumb {
      max-width: 1280px; margin: 0 auto;
      display: flex; align-items: center; gap: 8px;
      font-family: 'Montserrat', sans-serif; font-size: 0.7rem;
      font-weight: 500; color: #999; letter-spacing: 0.04em;
    }
    .breadcrumb a { color: #999; transition: color 0.2s; }
    .breadcrumb a:hover { color: var(--gold-dark); }
    .breadcrumb .sep { color: #ccc; font-size: 0.6rem; }
    .breadcrumb .current { color: var(--charcoal); font-weight: 600; }

    /* ─── PRODUCT LAYOUT ─── */
    .product-section { padding: 52px 48px 80px; }
    .product-inner {
      max-width: 1280px; margin: 0 auto;
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 64px; align-items: start;
    }
    @media (max-width: 960px) {
      .product-inner { grid-template-columns: 1fr; gap: 40px; }
      .product-section { padding: 32px 20px 60px; }
      .breadcrumb-bar { padding: 12px 20px; }
    }

    /* ─── GALLERY ─── */
    .gallery-col { position: sticky; top: 88px; }
    .gallery-main {
      width: 100%; aspect-ratio: 3/4;
      background: var(--cream); border-radius: 10px; overflow: hidden;
      position: relative; cursor: zoom-in;
    }
    .gallery-main img {
      width: 100%; height: 100%; object-fit: cover;
      transition: transform 0.4s ease;
    }
    .gallery-main:hover img { transform: scale(1.04); }

    /* Zoom badge */
    .gallery-zoom-hint {
      position: absolute; bottom: 14px; right: 14px;
      background: rgba(57,55,55,0.65); color: rgba(255,255,255,0.9);
      font-family: 'Montserrat', sans-serif; font-size: 0.62rem;
      font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
      padding: 6px 12px; border-radius: 20px; backdrop-filter: blur(4px);
      display: flex; align-items: center; gap: 6px; pointer-events: none;
    }

    .gallery-thumbs {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 10px; margin-top: 12px;
    }
    .gallery-thumbs.two-cols { grid-template-columns: repeat(2, 1fr); }

    .thumb {
      aspect-ratio: 1/1; border-radius: 6px; overflow: hidden;
      border: 2px solid transparent; cursor: pointer;
      transition: border-color 0.2s, opacity 0.2s; background: var(--cream);
    }
    .thumb img { width: 100%; height: 100%; object-fit: cover; }
    .thumb:hover { border-color: rgba(201,162,39,0.5); }
    .thumb.active { border-color: var(--gold-dark); }
    
    /* ─── RIBBON AGOTADO ─── */
   .agotado-ribbon {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-20deg);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 10px 0;
    width: 150%;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    white-space: nowrap;
    }

    /* ─── PERSONAL SHOPPER BANNER ─── */
    .ps-banner {
      background: linear-gradient(135deg, var(--charcoal) 0%, #2a2828 100%);
      border-radius: 8px; padding: 18px 22px;
      display: flex; align-items: center; gap: 16px; margin-top: 18px;
      border-left: 3px solid var(--gold-dark);
    }
    .ps-banner-icon {
      width: 40px; height: 40px; border-radius: 50%;
      background: rgba(201,162,39,0.18); flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .ps-banner-icon svg { width: 18px; height: 18px; stroke: var(--gold-light); fill: none; stroke-width: 1.8; }
    .ps-banner-text { flex: 1; }
    .ps-banner-text p:first-child {
      font-family: 'Montserrat', sans-serif; font-size: 0.72rem;
      font-weight: 700; color: var(--gold-light);
      letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 3px;
    }
    .ps-banner-text p:last-child {
      font-family: 'Montserrat', sans-serif; font-size: 0.82rem;
      color: rgba(255,255,255,0.72); line-height: 1.4;
    }
    .ps-banner-btn {
      background: var(--gold-gradient); color: var(--charcoal);
      font-family: 'Montserrat', sans-serif; font-size: 0.68rem;
      font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
      padding: 9px 18px; border-radius: 4px; border: none; cursor: pointer;
      white-space: nowrap; flex-shrink: 0; transition: transform 0.2s, box-shadow 0.2s;
    }
    .ps-banner-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(201,162,39,0.35); }

    @media (max-width: 960px) {
  .gallery-col {
    position: static;
    top: auto;
  }
}

@media (max-width: 600px) {
  .ps-banner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .ps-banner-btn {
    width: 100%;
  }
}
    
    /* ─── PRODUCT INFO ─── */
    .info-col { display: flex; flex-direction: column; gap: 0; }

    .product-category {
      font-family: 'Montserrat', sans-serif; font-size: 0.65rem;
      font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase;
      color: var(--gold-dark); margin-bottom: 10px;
    }
    .product-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      font-weight: 700; color: var(--charcoal); line-height: 1.15;
      margin-bottom: 16px;
    }

    /* Precio */
    .price-row {
      display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px;
    }
    .price-main {
      font-family: 'Montserrat', sans-serif; font-size: 1.8rem;
      font-weight: 700; color: var(--charcoal);
    }
    .price-old {
      font-family: 'Montserrat', sans-serif; font-size: 1.1rem;
      font-weight: 400; color: #aaa; text-decoration: line-through;
    }
    .price-badge {
      font-family: 'Montserrat', sans-serif; font-size: 0.68rem; font-weight: 700;
      letter-spacing: 0.06em; color: #fff;
      background: #d94f4f; padding: 4px 10px; border-radius: 20px;
    }

    /* Valoración visual */
    .rating-row {
      display: flex; align-items: center; gap: 6px; margin-bottom: 22px;
    }
    .stars { display: flex; gap: 2px; }
    .star { width: 13px; height: 13px; fill: var(--gold-dark); }
    .rating-count {
      font-family: 'Montserrat', sans-serif; font-size: 0.72rem;
      color: #999; font-weight: 500;
    }

    /* Descripción como Lorena */
    .lorena-text {
      font-family: 'Playfair Display', serif; font-size: 1.02rem;
      line-height: 1.85; color: #555; margin-bottom: 24px;
      padding: 20px; background: var(--cream); border-radius: 8px;
      border-left: 3px solid rgba(201,162,39,0.4);
      font-style: italic;
    }

    /* SEO text */
    .seo-text {
      font-family: 'Montserrat', sans-serif; font-size: 0.88rem;
      line-height: 1.85; color: #666; margin-bottom: 28px;
    }

    /* ─── FIELD DIVIDER ─── */
    .field-divider {
      height: 1px; background: linear-gradient(90deg, rgba(196,203,202,0.5), transparent);
      margin: 20px 0;
    }

    /* ─── LABEL SUPERIOR ─── */
    .option-label {
      font-family: 'Montserrat', sans-serif; font-size: 0.65rem;
      font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--charcoal); margin-bottom: 10px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .option-label a {
      font-weight: 500; font-size: 0.65rem; color: var(--gold-dark);
      text-decoration: underline; text-underline-offset: 3px; letter-spacing: 0;
    }

    /* ─── COLORES DISPONIBLES ─── */
    .color-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
    .color-swatch {
      width: 32px; height: 32px; border-radius: 50%;
      border: 2px solid transparent; cursor: pointer; position: relative;
      transition: transform 0.15s, border-color 0.15s;
    }
    .color-swatch:hover { transform: scale(1.12); }
    .color-swatch.selected { border-color: var(--charcoal); }
    .color-swatch.selected::after {
      content: ''; 
      position: absolute; 
      inset: 0; /* Cambiado de 3px a 0 para que quede justo en el borde */
      border-radius: 50%;
      border: 2px solid var(--gold-dark); /* Cambiado de blanco a tu dorado oscuro */
    }
        .color-swatch.agotada {
        cursor: not-allowed;
       
        position: relative;
    }
    .color-swatch.agotada::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
        width: 2px;
        height: 80%;
        background: rgba(255,255,255,0.8);
        border-radius: 2px;
        z-index: 2;
    }
    }
    .color-name {
      font-family: 'Montserrat', sans-serif; font-size: 0.72rem;
      color: #888; margin-top: 6px; min-height: 16px;
    }

    /* ─── TALLAS ─── */
    .size-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
    .size-btn {
      min-width: 52px; height: 52px; padding: 0 10px;
      border: 1.5px solid #ddd; border-radius: 6px;
      font-family: 'Montserrat', sans-serif; font-size: 0.82rem; font-weight: 700;
      color: var(--charcoal); background: #fff; cursor: pointer;
      transition: all 0.15s;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 1px; line-height: 1;
    }
    .size-btn .size-num {
      font-size: 0.58rem; font-weight: 500; color: #aaa; letter-spacing: 0.02em;
    }
    .size-btn:hover { border-color: var(--gold-dark); }
    .size-btn:hover .size-num { color: var(--gold-dark); }
    .size-btn.selected { border-color: var(--charcoal); background: var(--charcoal); color: #fff; }
    .size-btn.selected .size-num { color: rgba(255,255,255,0.6); }
    .size-btn.agotada { color: #ccc; border-color: #eee; background: #fafafa; cursor: not-allowed; }
    .size-btn.agotada span { text-decoration: line-through; }
    .size-btn.agotada .size-num { color: #ddd; text-decoration: none; }
    
    
    /* Guía de tallas modal */
    .size-guide-modal {
      display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
      z-index: 9999; align-items: center; justify-content: center; padding: 20px;
    }
    .size-guide-modal.open { display: flex; }
    .size-guide-box {
      background: #fff; border-radius: 12px; padding: 36px;
      max-width: 580px; width: 100%; max-height: 90vh; overflow-y: auto;
      position: relative;
    }
    .size-guide-close {
      position: absolute; top: 16px; right: 20px;
      background: none; border: none; font-size: 1.4rem; cursor: pointer;
      color: #888; line-height: 1;
    }
    .size-guide-title {
      font-family: 'Playfair Display', serif; font-size: 1.4rem;
      font-weight: 700; color: var(--charcoal); margin-bottom: 20px;
    }
    .size-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
    .size-table th {
      font-family: 'Montserrat', sans-serif; font-weight: 700;
      font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
      color: #fff; background: var(--charcoal); padding: 10px 14px; text-align: center;
    }
    .size-table td {
      font-family: 'Montserrat', sans-serif; font-size: 0.84rem;
      padding: 10px 14px; text-align: center; border-bottom: 1px solid #f0eeee;
    }
    .size-table tr:nth-child(even) td { background: var(--cream); }
    .size-table td:first-child { font-weight: 700; color: var(--charcoal); }
    .size-fit-note {
      font-family: 'Montserrat', sans-serif; font-size: 0.78rem;
      color: #888; margin-top: 16px; line-height: 1.6;
      padding: 12px 16px; background: rgba(201,162,39,0.07); border-radius: 6px;
    }

    /* Indicador de tallaje */
    .fit-indicator {
      display: flex; align-items: center; gap: 10px; margin-top: 8px;
    }
    .fit-bar {
      flex: 1; height: 6px; background: #eee; border-radius: 3px; position: relative;
    }
    .fit-bar-fill {
      position: absolute; top: 0; height: 100%; border-radius: 3px;
      background: linear-gradient(90deg, #c9a227, #e8d48b);
    }
    .fit-labels {
      display: flex; justify-content: space-between;
      font-family: 'Montserrat', sans-serif; font-size: 0.6rem;
      color: #aaa; margin-top: 4px; letter-spacing: 0.06em;
    }
    .fit-text {
      font-family: 'Montserrat', sans-serif; font-size: 0.72rem;
      color: #777; min-width: 90px; font-weight: 600;
    }

    /* ─── FICHA TÉCNICA ─── */
    .tech-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
    @media (max-width: 480px) { .tech-list { grid-template-columns: 1fr; } }
    .tech-item {
      display: flex; align-items: flex-start; gap: 10px;
      padding: 11px 0; border-bottom: 1px solid #f4f2f2;
    }
    .tech-item:nth-child(odd) { padding-right: 16px; }
    .tech-item:nth-child(even) { padding-left: 16px; border-left: 1px solid #f4f2f2; }
    .tech-icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; stroke: var(--gold-dark); fill: none; stroke-width: 1.8; }
    .tech-key {
      font-family: 'Montserrat', sans-serif; font-size: 0.65rem;
      font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
      color: #aaa; margin-bottom: 2px;
    }
    .tech-val {
      font-family: 'Montserrat', sans-serif; font-size: 0.82rem;
      color: var(--charcoal); font-weight: 500;
    }

    /* Cuidados */
    .care-icons { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
    .care-icon-wrap {
      display: flex; flex-direction: column; align-items: center; gap: 4px;
    }
    .care-circle {
      width: 38px; height: 38px; border: 1.5px solid #ddd; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.9rem; background: #fafafa;
    }
    .care-label {
      font-family: 'Montserrat', sans-serif; font-size: 0.58rem;
      color: #aaa; text-align: center; max-width: 50px; line-height: 1.3;
    }

    /* ─── BUY BOX ─── */
    .buy-box { margin-top: 28px; }
    .qty-row {
      display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
    }
    .qty-label {
      font-family: 'Montserrat', sans-serif; font-size: 0.65rem;
      font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
      color: var(--charcoal); min-width: 60px;
    }
    .qty-control {
      display: flex; align-items: center; border: 1.5px solid #ddd; border-radius: 6px; overflow: hidden;
    }
    .qty-btn {
      width: 38px; height: 38px; background: #fafafa;
      border: none; cursor: pointer; font-size: 1.2rem; color: var(--charcoal);
      display: flex; align-items: center; justify-content: center;
      transition: background 0.15s;
    }
    .qty-btn:hover { background: var(--cream); }
    .qty-num {
      width: 44px; height: 38px; text-align: center; border: none;
      font-family: 'Montserrat', sans-serif; font-size: 0.9rem; font-weight: 600;
      color: var(--charcoal); background: #fff; outline: none;
    }

    .stock-label {
      font-family: 'Montserrat', sans-serif; font-size: 0.7rem; font-weight: 600;
      display: flex; align-items: center; gap: 6px; margin-bottom: 14px;
    }
    .stock-dot { width: 7px; height: 7px; border-radius: 50%; }
    .stock-ok .stock-dot { background: #4caf50; }
    .stock-ok { color: #4caf50; }
    .stock-low .stock-dot { background: #ff9800; }
    .stock-low { color: #ff9800; }

    /* ─── ACCORDION ─── */
    .accordion { margin-top: 28px; border-top: 1px solid #eeecec; }
    .accordion-item { border-bottom: 1px solid #eeecec; }
    .accordion-trigger {
      width: 100%; background: none; border: none; cursor: pointer;
      padding: 16px 0; display: flex; align-items: center; justify-content: space-between;
      font-family: 'Montserrat', sans-serif; font-size: 0.75rem; font-weight: 700;
      letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal);
      text-align: left;
    }
    .accordion-arrow {
      width: 16px; height: 16px; stroke: var(--gold-dark); fill: none;
      stroke-width: 2; transition: transform 0.25s;
    }
    .accordion-item.open .accordion-arrow { transform: rotate(180deg); }
    .accordion-body {
      max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
    }
    .accordion-item.open .accordion-body { max-height: 600px; }
    .accordion-content {
      padding: 0 0 20px;
      font-family: 'Montserrat', sans-serif; font-size: 0.86rem;
      line-height: 1.8; color: #666;
    }

    /* ─── RELATED CAROUSEL ─── */
    .related-section { padding: 60px 48px 80px; background: #fafafa; }
    @media (max-width: 700px) { .related-section { padding: 48px 20px 60px; } }
    .related-inner { max-width: 1280px; margin: 0 auto; }
    .related-header {
      text-align: center; margin-bottom: 40px;
    }
    .section-eyebrow {
      font-family: 'Montserrat', sans-serif; font-size: 0.65rem; font-weight: 700;
      letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-dark);
      margin-bottom: 10px;
    }
    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.8rem, 3.5vw, 2.6rem);
      font-weight: 700; color: var(--charcoal);
      position: relative; display: inline-block;
    }
    .section-title::after {
      content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
      width: 50px; height: 2px; background: var(--gold-gradient);
    }

    .carousel-wrapper { position: relative; }
    .carousel-track {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    @media (max-width: 1024px) { .carousel-track { grid-template-columns: repeat(3, 1fr); } }
    @media (max-width: 700px)  {
      .carousel-track { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
      .carousel-track::-webkit-scrollbar { height: 3px; }
      .carousel-track::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 2px; }
    }

    .product-card {
      background: #fff; border: 1px solid #f0eeee; border-radius: 10px;
      overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
      cursor: pointer; flex-shrink: 0;
    }
    @media (max-width: 700px) { .product-card { min-width: 200px; scroll-snap-align: start; } }
    .product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(57,55,55,0.1); }
    .card-img {
      width: 100%; aspect-ratio: 3/4;
      background: var(--cream); overflow: hidden;
      position: relative;
    }
    .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
    .product-card:hover .card-img img { transform: scale(1.05); }
    .card-badge {
      position: absolute; top: 10px; left: 10px;
      background: var(--charcoal); color: rgba(255,255,255,0.92);
      font-family: 'Montserrat', sans-serif; font-size: 0.6rem; font-weight: 700;
      letter-spacing: 0.08em; text-transform: uppercase;
      padding: 4px 10px; border-radius: 3px;
    }
    .card-body { padding: 14px 16px 18px; }
    .card-cat {
      font-family: 'Montserrat', sans-serif; font-size: 0.62rem; font-weight: 700;
      letter-spacing: 0.2em; text-transform: uppercase; color: #aaa; margin-bottom: 5px;
    }
    .card-name {
      font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600;
      color: var(--charcoal); line-height: 1.3; margin-bottom: 8px;
    }
    .card-price {
      font-family: 'Montserrat', sans-serif; font-size: 0.92rem; font-weight: 700;
      color: var(--charcoal);
    }
    .card-price-old {
      font-size: 0.78rem; color: #bbb; text-decoration: line-through; margin-right: 6px; font-weight: 400;
    }

    /* Navegación carrusel desktop */
    .carousel-nav {
      display: flex; justify-content: center; gap: 10px; margin-top: 32px;
    }
    .carousel-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: #ddd; border: none; cursor: pointer;
      transition: background 0.2s, transform 0.2s;
    }
    .carousel-dot.active { background: var(--gold-dark); transform: scale(1.4); }
    
    
    
    
 