:root {
    --bg: #ffffff;
    --text: #232323;
    --muted: #6f6f6f;
    --border: #e7e7e7;
    --accent: #c18b54;
    --radius: 14px;
    --shadow: 0 18px 45px rgba(0,0,0,.14);
  }
  
  * { box-sizing: border-box; }
  
  body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
  }
  
  .container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
  }
  
  /* HEADER */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    border-bottom: 1px solid var(--border);
    left: 0;
    right: 0;
  }
  
  .header-inner {
    height: 120px;           /* header más alto para logo grande */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
  
  /* LOGO GRANDE */
  .logo img {
    max-width: 150px;
    height: 150px;            /* logo grande */
    width: auto;
    object-fit: contain;
    display: block;
  }

  /* NAV DESKTOP */
  .nav {
    display: flex;
    /* en desktop el nav se ve dentro del header como barra normal */
  }
  
  .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  
  .nav-link {
    text-decoration: none;
    color: var(--muted);
    padding: 10px 12px;
    border-radius: 12px;
    transition: background .15s ease, color .15s ease;
  }
  
  .nav-link:hover,
  .nav-link:focus-visible {
    background: #f4f4f4;
    color: var(--text);
    outline: none;
  }
  
  .nav-link.cta {
    background: var(--accent);
    color: #fff;
    padding: 10px 16px;
  }
  
  .nav-link.cta:hover,
  .nav-link.cta:focus-visible {
    background: #cc9a67;
    color: #fff;
  }
  
  /* BOTÓN HAMBURGUESA (oculto en desktop) */
  .nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  
  .nav-toggle .bar {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    display: block;
  }
  
  /* OVERLAY: por defecto no molesta */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
    z-index: 150;
  }

  /* ===== MOBILE ===== */
  @media (max-width: 900px) {
  
    /* oculta la barra horizontal (desktop) y usamos panel desplegable */
    .nav-list {
      flex-direction: column;
      align-items: stretch;
      gap: 10px;
    }
  
    .nav-toggle {
      display: inline-flex;
      flex-direction: column;
    }
  
    /* Panel desplegable fijo */
    .nav {
      position: fixed;
      left: 0;
      right: 0;
      top: 120px;                 /* igual a header-inner height */
      background: #fff;
      border-top: 1px solid var(--border);
      box-shadow: var(--shadow);
      z-index: 180;
  
      /* CERRADO */
      max-height: 0;
      overflow: hidden;
      transition: max-height .35s ease;
    }
  
    .nav-link {
      text-align: center;
      padding: 14px 16px;
      font-size: 1.08rem;
    }
  
    /* ABIERTO */
    .site-header.is-open .nav {
      max-height: 70vh;           /* despliegue */
    }
  
    .site-header.is-open .nav-overlay {
      opacity: 1;
      pointer-events: auto;
    }
  }
  
  /* Opcional: en desktop que el nav quede a la derecha */
  @media (min-width: 901px) {
    .header-inner {
      position: relative;
    }
    .site-header .nav {
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
    }
  }

  /* =========================
   PRODUCT DETAIL (pd)
   ========================= */
.pd{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 60px;
    color: #111;
  }
  
  .pd-breadcrumbs{
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-size: .92rem;
    color: #6b6b6b;
    margin-bottom: 14px;
  }
  .pd-breadcrumbs a{ color: #6b6b6b; text-decoration: none; }
  .pd-breadcrumbs a:hover{ text-decoration: underline; }
  .pd-breadcrumbs strong{ color: #111; }
  
  .pd-grid{
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
    align-items: start;
  }
  
  /* --- Gallery --- */
  .pd-gallery{
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .pd-main{
    position: relative;
    height: 520px;
    border: 1px solid #e7e7e7;
    border-radius: 18px;
    background: #fafafa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pd-main img{
    width: 100%;
    height: 100%;
    object-fit: contain; /* CLAVE */
    display: block;
    background: #fafafa;
  }
  
  .pd-tag{
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: #c18b54;
    color: #fff;
    font-weight: 800;
    font-size: .9rem;
    padding: 8px 12px;
    border-radius: 999px;
  }
  
  .pd-thumbs{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  
  .pd-thumb{
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    padding: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  .pd-thumb img{
    width: 100%;
    height: 82px;
    object-fit: contain; /* completas */
    display: block;
    background: #fff;
  }
  .pd-thumb.is-active{
    border-color: #c18b54;
    box-shadow: 0 0 0 2px rgba(193,139,84,.22);
  }
  
  /* --- Buybox --- */
  .pd-buybox{
    border: 1px solid #e7e7e7;
    border-radius: 18px;
    padding: 18px;
    background: #fff;
    position: sticky;
    top: 16px;
  }
  
  .pd-brand{
    font-weight: 800;
    letter-spacing: .02em;
    color: #c18b54;
    margin-bottom: 6px;
  }
  .pd-title{
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.2;
  }
  .pd-seller{
    color: #5c5c5c;
    font-size: .95rem;
    margin-bottom: 14px;
  }
  
  .pd-price{ margin: 10px 0 14px; }
  .pd-price-main{
    font-size: 1.9rem;
    font-weight: 900;
  }
  .pd-price-sub{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
  }
  .pd-price-old{
    color: #8a8a8a;
    text-decoration: line-through;
  }
  .pd-price-off{
    background: #111;
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    padding: 4px 10px;
    border-radius: 999px;
  }
  
  .pd-qty{
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
    align-items: center;
    margin: 12px 0 12px;
  }
  .pd-qty-btn{
    height: 44px;
    border-radius: 12px;
    border: 1px solid #e7e7e7;
    background: #fff;
    cursor: pointer;
    font-size: 1.2rem;
  }
  .pd-qty-input{
    height: 44px;
    border-radius: 12px;
    border: 1px solid #e7e7e7;
    padding: 0 12px;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }
  
  .pd-cta{
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 14px;
    background: #111;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
  }
  .pd-cta:hover{ filter: brightness(1.05); }
  
  .pd-delivery{
    margin: 14px 0 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid #efefef;
    background: #fcfcfc;
  }
  .pd-delivery-row{
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 8px 0;
  }
  .pd-dot{
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #c18b54;
    margin-top: 6px;
  }
  .pd-muted{ color: #6b6b6b; font-size: .95rem; }
  
  .pd-bullets{
    margin: 10px 0 0;
    padding-left: 18px;
    color: #3e3e3e;
  }
  .pd-bullets li{ margin: 6px 0; }
  
  /* --- Tabs --- */
  .pd-tabs{ margin-top: 26px; }
  .pd-tabs-head{
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #e7e7e7;
  }
  .pd-tab{
    border: none;
    background: transparent;
    padding: 12px 8px;
    font-weight: 800;
    cursor: pointer;
    color: #6b6b6b;
  }
  .pd-tab.is-active{
    color: #111;
    border-bottom: 3px solid #c18b54;
  }
  .pd-panel{ display: none; padding: 16px 0; }
  .pd-panel.is-active{ display: block; }
  .pd-specs{
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
  }
  .pd-specs > div{
    border: 1px solid #efefef;
    border-radius: 14px;
    padding: 12px;
    background: #fff;
  }
  
  /* --- Related --- */
  .pd-related{ margin-top: 26px; }
  .pd-related-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
  }
  .pd-related-head h2{
    margin: 0;
    font-size: 1.2rem;
  }
  .pd-related-controls{ display: flex; gap: 8px; }
  
  .pd-arrow{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #e7e7e7;
    background: #fff;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
  }
  
  .pd-related-track{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 260px);
    gap: 14px;
    overflow: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .pd-card{
    scroll-snap-align: start;
    border: 1px solid #e7e7e7;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
  }
  .pd-card-img{
    height: 160px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .pd-card-img img{
    width: 100%;
    height: 100%;
    object-fit: contain; /* 🔑 nunca se corta */
    display: block;
  }
  

  .pd-card-body{ padding: 12px; }
  .pd-card-body h3{ margin: 0 0 6px; font-size: 1rem; }
  .pd-card-price{ font-weight: 900; margin: 0 0 10px; }
  .pd-card-btn{
    display: inline-block;
    padding: 10px 12px;
    border-radius: 12px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
  }
  
  /* --- Responsive --- */
  @media (max-width: 900px){
    .pd-grid{ grid-template-columns: 1fr; }
    .pd-buybox{ position: static; }
    .pd-main{ height: 340px; }
    .pd-thumb img{ height: 68px; }
    .pd-specs{ grid-template-columns: 1fr; }
  }

  .footer-premium{
    background: #0f1115;
    color: rgba(255,255,255,.86);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 58px 0 18px;
  }
  
  .footer-premium__container{
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 38px;
    align-items: start;
  }
  
  .footer-premium__logo{
    margin: 0 0 10px;
    font-size: 1.4rem;
    letter-spacing: .2px;
  }
  
  .footer-premium__desc{
    margin: 0 0 16px;
    color: rgba(255,255,255,.65);
    line-height: 1.6;
    max-width: 42ch;
  }
  
  .footer-premium__col h4{
    margin: 0 0 14px;
    font-size: 1.05rem;
    color: rgba(255,255,255,.9);
  }
  
  /* Links */
  .footer-premium__links{
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .footer-link{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(255,255,255,.68);
    transition: color .18s ease, transform .18s ease;
  }
  
  .footer-link:hover{
    color: #c18b54;
    transform: translateX(2px);
  }
  
  .footer-premium .icon{
    display: inline-flex;
    color: rgba(255,255,255,.75);
  }
  
  /* WhatsApp pill */
  .footer-premium__wa{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.88);
    width: fit-content;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
  }
  
  .footer-premium__wa:hover{
    transform: translateY(-2px);
    background: rgba(255,255,255,.09);
    border-color: rgba(193,139,84,.35);
  }
  
  /* Bottom line */
  .footer-premium__bottom{
    width: min(1200px, calc(100% - 40px));
    margin: 34px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.55);
    font-size: .92rem;
    display: flex;
    justify-content: center;
    text-align: center;
  }
  
  /* Responsive */
  @media (max-width: 900px){
    .footer-premium__container{
      grid-template-columns: 1fr;
      gap: 26px;
    }
    .footer-premium__bottom{
      justify-content: flex-start;
      text-align: left;
    }
  }

  .whatsapp-float{
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(0,0,0,.3);
    z-index: 999;
    transition: transform .2s ease;
  }
  
  .whatsapp-float:hover{
    transform: scale(1.05);
  }
  