/* --- RESET & BOX SIZING --- */
    *, ::before, ::after {
      box-sizing: border-box;
      border-width: 0;
      border-style: solid;
      border-color: #e2e8f0;
      -webkit-tap-highlight-color: transparent;
    }
    *:focus, *:focus-visible {
      outline: none;
    }    html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: inherit; }
    body {
      background-color: #ffffff !important;
      margin: 0;
      padding: 8px;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }
    button, input, select { font-family: inherit; font-size: 100%; margin: 0; padding: 0; line-height: inherit; color: inherit; }
    button, select { text-transform: none; }
    button, [type='button'] { -webkit-appearance: button; background-color: transparent; background-image: none; cursor: pointer; }
    input { background-color: transparent; }

    /* --- LAYOUT & DISPLAY --- */
    .block { display: block; }
    .inline { display: inline; }
    .flex { display: flex; }
    .grid { display: grid; }
    .hidden { display: none !important; }
    .flex-col { flex-direction: column; }
    .flex-wrap { flex-wrap: wrap; }
    .items-center { align-items: center; }
    .items-end { align-items: flex-end; }
    .justify-start { justify-content: flex-start; }
    .justify-end { justify-content: flex-end; }
    .justify-center { justify-content: center; }
    .justify-between { justify-content: space-between; }
    .justify-items-center { justify-items: center; }
    .shrink-0 { flex-shrink: 0; }
    .flex-1 { flex: 1 1 0%; }
    .grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .col-span-full { grid-column: 1 / -1; }

    /* --- TAMAÑOS Y ESPACIADOS --- */
    .w-full { width: 100%; }
    .h-full { height: 100%; }
    .w-3\.5 { width: 0.875rem; }
    .h-3\.5 { height: 0.875rem; }
    .w-4 { width: 1rem; }
    .h-4 { height: 1rem; }
    .w-5 { width: 1.25rem; }
    .h-5 { height: 1.25rem; }
    .w-14 { width: 3.5rem; }
    .h-20 { height: 5rem; }
    .w-\[80vw\] { width: 80vw; }
    .max-w-sm { max-width: 24rem; }
    .max-w-md { max-width: 28rem; }
    .max-w-4xl { max-width: 56rem; }
    .max-w-7xl { max-width: 80rem; }
    .min-w-0 { min-width: 0px; }
    .min-w-\[56px\] { min-width: 56px; }
    .max-w-\[76px\] { max-width: 76px; }
    .mx-auto { margin-left: auto; margin-right: auto; }
    .mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
    .mb-1 { margin-bottom: 0.25rem; }
    .mb-2 { margin-bottom: 0.5rem; }
    .mb-4 { margin-bottom: 1rem; }
    .mb-6 { margin-bottom: 1.5rem; }
    .mt-0\.5 { margin-top: 0.125rem; }
    .mt-1\.5 { margin-top: 0.375rem; }
    .mt-8 { margin-top: 2rem; }
    .p-1 { padding: 0.25rem; }
    .p-1\.5 { padding: 0.375rem; }
    .p-2 { padding: 0.5rem; }
    .p-2\.5 { padding: 0.625rem; }
    .p-3 { padding: 0.75rem; }
    .p-4 { padding: 1rem; }
    .p-5 { padding: 1.25rem; }
    .px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
    .px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
    .px-4 { padding-left: 1rem; padding-right: 1rem; }
    .py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
    .py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
    .py-12 { padding-top: 3rem; padding-bottom: 3rem; }
    .pl-1 { padding-left: 0.25rem; }
    .pl-8 { padding-left: 2rem; }
    .pt-1\.5 { padding-top: 0.375rem; }
    .pt-4 { padding-top: 1rem; }
    .pb-1\.5 { padding-bottom: 0.375rem; }
    .pb-3 { padding-bottom: 0.75rem; }
    .gap-2 { gap: 0.5rem; }
    .gap-3 { gap: 0.75rem; }
    .space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
    .space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
    .space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
    .space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
    .space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }

    /* --- POSICIONAMIENTO --- */
    .relative { position: relative; }
    .absolute { position: absolute; }
    .fixed { position: fixed; }
    .sticky { position: sticky; }
    .top-0 { top: 0px; }
    .bottom-0 { bottom: 0px; }
    .left-0 { left: 0px; }
    .right-0 { right: 0px; }
    .inset-0 { inset: 0px; }
    .top-full { top: 100%; }
    .left-2\.5 { left: 0.625rem; }
    .top-2\.5 { top: 0.625rem; }
    .bottom-1 { bottom: 0.25rem; }
    .right-1 { right: 0.25rem; }
    .bottom-20 { bottom: 6.75rem; }
    .right-4 { right: 1rem; }
    .-top-1\.5 { top: -0.375rem; }
    .-right-1\.5 { right: -0.375rem; }
    .z-30 { z-index: 30; }
    .z-40 { z-index: 40; }
    .z-50 { z-index: 50; }

    /* --- TIPOGRAFÍA --- */
    .text-xs { font-size: 0.75rem; line-height: 1rem; }
    .text-base { font-size: 1rem; line-height: 1.5rem; }
    .text-lg { font-size: 1.125rem; line-height: 1.75rem; }
    .text-\[9px\] { font-size: 9px; }
    .text-\[10px\] { font-size: 10px; }
    .text-\[11px\] { font-size: 11px; }
    .font-medium { font-weight: 500; }
    .font-semibold { font-weight: 600; }
    .font-bold { font-weight: 700; }
    .leading-none { line-height: 1; }
    .leading-tight { line-height: 1.25; }
    .leading-snug { line-height: 1.375; }
    .tracking-wide { letter-spacing: 0.025em; }
    .tracking-wider { letter-spacing: 0.05em; }
    .uppercase { text-transform: uppercase; }
    .text-center { text-align: center; }
    .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .underline { text-decoration-line: underline; }
    .italic { font-style: italic; }

    /* --- COLORES Y FONDOS --- */
    .text-white { color: #ffffff; }
    .text-slate-300 { color: #cbd5e1; }
    .text-slate-400 { color: #94a3b8; }
    .text-slate-500 { color: #64748b; }
    .text-slate-700 { color: #334155; }
    .text-slate-800 { color: #1e293b; }
    .text-slate-900 { color: #0f172a; }
    .text-emerald-700 { color: #047857; }
    .bg-white { background-color: #ffffff; }
    .bg-white\/85 { background-color: rgba(255, 255, 255, 0.85); }
    .bg-white\/95 { background-color: rgba(255, 255, 255, 0.95); }
    .bg-slate-50 { background-color: #f8fafc; }
    .bg-slate-50\/60 { background-color: rgba(248, 250, 252, 0.6); }
    .bg-slate-100 { background-color: #f1f5f9; }
    .bg-slate-900 { background-color: #0f172a; }
    .bg-slate-900\/30 { background-color: rgba(15, 23, 42, 0.3); }
    .bg-emerald-600 { background-color: #059669; }
    .fill-current { fill: currentColor; }

    /* --- BORDES Y SOMBRAS --- */
    .border { border-width: 1px; }
    .border-b { border-bottom-width: 1px; }
    .border-t { border-top-width: 1px; }
    .border-l { border-left-width: 1px; }
    .border-slate-100 { border-color: #f1f5f9; }
    .border-slate-200 { border-color: #e2e8f0; }
    .border-slate-200\/60 { border-color: rgba(226, 232, 240, 0.6); }
    .border-slate-300 { border-color: #cbd5e1; }
    .border-slate-400 { border-color: #94a3b8; }
    .border-slate-800 { border-color: #1e293b; }
    .rounded-md { border-radius: 0.375rem; }
    .rounded-lg { border-radius: 0.5rem; }
    .rounded-xl { border-radius: 0.75rem; }
    .rounded-full { border-radius: 9999px; }
    .shadow-xs, .shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
    .shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
    .shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
    .shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
    .backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
    .backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
    .opacity-0 { opacity: 0 !important; }
    .pointer-events-none { pointer-events: none !important; }
    .cursor-pointer { cursor: pointer; }
    .select-none { user-select: none; }
    .overflow-y-auto { overflow-y: auto; }
    .object-contain { object-fit: contain; }
    .drop-shadow-sm { filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05)); }
    .transform { transform: translateX(0); }
    .translate-x-full { transform: translateX(100%) !important; }
    .transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
    .transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
    .transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
    .transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
    .duration-150 { transition-duration: 150ms; }
    .duration-200 { transition-duration: 200ms; }
    .duration-300 { transition-duration: 300ms; }
    .ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }

    /* --- PSEUDO-CLASES --- */
    .hover\:scale-105:hover { transform: scale(1.05); }
    .active\:scale-125:active { transform: scale(1.25); }
    .hover\:text-slate-700:hover { color: #334155; }
    .hover\:text-slate-900:hover { color: #0f172a; }
    .hover\:text-emerald-900:hover { color: #064e3b; }
    .hover\:bg-white:hover { background-color: #ffffff; }
    .hover\:bg-slate-100:hover { background-color: #f1f5f9; }
    .hover\:bg-emerald-700:hover { background-color: #047857; }
    .hover\:border-slate-300:hover { border-color: #cbd5e1; }
    .hover\:border-slate-400:hover { border-color: #94a3b8; }
    .hover\:shadow-emerald-500\/30:hover { box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3); }
    .focus\:bg-white:focus { background-color: #ffffff; }
    .focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
    .focus\:border-slate-400:focus { border-color: #94a3b8; }

    /* --- MEDIA QUERIES --- */
    @media (min-width: 640px) {
      .sm\:inline { display: inline; }
      .sm\:max-w-md { max-width: 28rem; }
      .sm\:mx-0 { margin-left: 0px; margin-right: 0px; }
      .sm\:ml-1 { margin-left: 0.25rem; }
      .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }
      .sm\:py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
      .sm\:bottom-24 { bottom: 7.75rem; }
      .sm\:right-6 { right: 1.5rem; }
    }
    @media (min-width: 768px) {
      .md\:gap-8 { gap: 2rem; }
    }
    @media (min-width: 1024px) {
      .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }    @media (min-width: 640px) {
      body {
        padding: 20px;
      }
    }
    /* Buscador y filtros de la biblioteca */
    .library-toolbar {
      padding-top: 6px;
      padding-bottom: 6px;
      border: 0;
      box-shadow: none;
    }

    .library-toolbar > div > div:first-child {
      position: relative;
    }

    .library-toolbar > div > div:nth-child(2) { padding-top: 0; }

    .library-control {
      display: block;
      width: 100%;
      min-width: 0;
      min-height: 44px;
      border: 0;
      border-radius: 999px;
      color: #202124;
      transition: background-color 150ms ease-out, box-shadow 150ms ease-out, transform 120ms ease-out;
    }

    #search-input {
      min-height: 48px;
      padding: 8px 58px 8px 47px;
      background: #fff;
      box-shadow: 0 1px 3px #0000001f;
      font-size: 1rem;
      caret-color: #202124;
    }

    #search-input::placeholder {
      color: #505257;
      opacity: 1;
    }

    #search-input:focus {
      box-shadow: 0 2px 5px #00000024;
    }

    .library-search-icon {
      position: absolute;
      top: 50%;
      left: 19px;
      width: 18px;
      height: 18px;
      transform: translateY(-50%);
      color: #3c4043;
      pointer-events: none;
    }

    #fav-filter-btn {
      position: absolute;
      top: 50%;
      right: 7px;
      width: 44px;
      height: 44px;
      padding: 0;
      border: 0;
      border-radius: 50%;
      background: transparent;
      color: #202124;
      transform: translateY(-50%);
    }

    #fav-filter-btn svg {
      width: 20px;
      height: 20px;
    }

    #fav-filter-btn.bg-slate-100 { background: #e4e4e4; }

    #search-tips {
      padding: 16px;
      border-color: #ededed;
      border-radius: 20px;
      color: #202124;
      font-size: 13px;
      box-shadow: 0 8px 24px #0000001a, 0 1px 4px #0000000d;
    }

    #search-tips > div:first-child {
      padding-bottom: 10px;
      margin-bottom: 10px;
      border-color: #ededed;
    }

    #search-tips > div:first-child > span {
      color: #202124;
      font-size: 13px;
      letter-spacing: normal;
      text-transform: none;
    }

    #close-search-tips {
      display: grid;
      width: 36px;
      height: 36px;
      padding: 0;
      place-items: center;
      border-radius: 50%;
      color: #3c4043;
      font-size: 20px;
      font-weight: 400;
    }

    #close-search-tips:hover { background: #f2f2f2; }
    #search-tips .space-y-2 > div { padding: 5px 0; }
    #search-tips .space-y-2 > div > span:first-child { color: #202124; }
    #search-tips .space-y-2 > div > span + span {
      margin-top: 4px;
      color: #505257;
      font-size: 13px;
      line-height: 1.7;
    }

    #search-tips .search-pill {
      padding: 0;
      background: transparent;
      color: #202124;
      font-weight: 700;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    #search-tips .search-pill:hover { color: #555; }

    .library-filter {
      position: relative;
      min-width: 0;
    }

    .library-filter::after {
      content: '';
      position: absolute;
      top: 50%;
      right: 16px;
      width: 0;
      height: 0;
      border: 4px solid transparent;
      border-top-color: #3c4043;
      transform: translateY(-25%);
      pointer-events: none;
    }

    .library-filter select {
      appearance: none;
      height: 44px;
      padding: 0 36px 0 12px;
      background: #fff;
      box-shadow: 0 1px 3px #0000001f;
      font-size: 0.875rem;
      font-weight: 500;
      line-height: normal;
      text-align: center;
      text-align-last: center;
      cursor: pointer;
    }

    @media (hover: hover) {
      .library-filter select:hover { background: #f7f7f7; }
      #fav-filter-btn:hover { background: #ededed; }
    }

    .library-filter select:active { background: #efefef; transform: scale(0.98); }
    #fav-filter-btn:active { background: #dedede; }

    @supports (appearance: base-select) and selector(::picker(select)) {
      .library-filter select, .library-filter select::picker(select) {
        appearance: base-select;
      }

      .library-filter select {
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .library-filter select::picker-icon { display: none; }

      .library-filter select::picker(select) {
        margin-top: 6px;
        padding: 5px;
        border: 1px solid #e6e6e6;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 5px 18px #0000001c;
      }

      .library-filter option {
        padding: 10px 12px;
        border-radius: 10px;
        color: #202124;
        background: #fff;
      }

      .library-filter option:hover, .library-filter option:focus-visible {
        background: #f0f0f0;
      }

      .library-filter option:checked { font-weight: 600; }
      .library-filter option::checkmark { margin-right: 8px; }
    }

    .library-control:focus-visible, #fav-filter-btn:focus-visible, #search-tips button:focus-visible {
      outline: 2px solid #3c4043;
      outline-offset: 2px;
    }

    @media (prefers-reduced-motion: no-preference) {
      #search-tips:not(.hidden) { animation: search-tips-open 180ms cubic-bezier(0.16, 1, 0.3, 1); }

      @keyframes search-tips-open {
        from { opacity: 0.82; }
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .library-control { transition: none; }
    }

    @media (forced-colors: active) {
      .library-filter::after { display: none; }
      .library-filter select { appearance: auto; padding-right: 11px; }
      .library-control:focus-visible, #fav-filter-btn:focus-visible, #search-tips button:focus-visible {
        outline-color: Highlight;
      }
    }

    /* Guardar en el registro */
    .fav-card-btn {
      width: 44px;
      height: 44px;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 0;
      border-radius: 8px;
      background: transparent;
      color: #5f6368;
    }
    .fav-card-btn:focus-visible, #drawer-fav-btn:focus-visible, .bundle-perfume:focus-visible, .bundle-slide-next:focus-visible {
      outline: 2px solid #3c4043;
      outline-offset: 2px;
    }
    .fav-card-btn svg { width: 18px; height: 18px; }
    .perfume-image-download-button {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex-shrink: 0;
      gap: 3px;
      border-radius: 6px;
      touch-action: manipulation;
    }
    .perfume-image-download-button:focus-visible {
      outline: 2px solid #94a3b8;
      outline-offset: 2px;
    }
    .perfume-image-download-preview {
      position: relative;
      display: flex;
      width: 3.5rem;
      height: 5rem;
      align-items: center;
      justify-content: center;
    }
    /* Ocultar barra lateral de scroll sin bloquear desplazamiento */
    html, body {
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    ::-webkit-scrollbar {
      display: none;
    }

    .stories-section { margin: 8px 4px 24px; }
    .stories-section[hidden] { display: none !important; }
    .stories-title { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin: 0 0 10px; color: #3c4043; font-size: 13px; font-weight: 600; line-height: 1.35; }
    .stories-divider { color: #9aa0a6; font-weight: 400; }
    .stories-rating { display: inline-flex; align-items: center; gap: 4px; color: #3c4043; font-variant-numeric: tabular-nums; }
    .stories-stars { display: block; width: 68px; height: 14px; fill: #f5b800; }
    .stories-rail {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      overscroll-behavior-x: contain;
      padding: 2px 2px 6px;
      margin: 0;
      list-style: none;
      scrollbar-width: none;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
    }
    .stories-rail::-webkit-scrollbar { display: none; }
    .stories-rail > li { flex: 0 0 72px; min-width: 0; }
    .story-button {
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: center;
      padding: 0;
      border: 0;
      border-radius: 8px;
      color: #3c4043;
      background: transparent;
      text-align: center;
      cursor: pointer;
      touch-action: manipulation;
    }
    .story-button:focus-visible { outline: 2px solid #202124; outline-offset: 3px; }
    .story-frame {
      display: block;
      width: 66px;
      height: 66px;
      flex: 0 0 66px;
      padding: 2px;
      border-radius: 50%;
      background: conic-gradient(from 15deg, #f9ce34, #ee2a7b, #8b2bd5, #f9ce34);
    }
    .story-preview {
      position: relative;
      display: block;
      width: 100%;
      height: 100%;
      overflow: hidden;
      border: 1px solid #fff;
      border-radius: 50%;
      background: #e8e8e8;
    }
    .story-preview img, .story-preview video { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
    .story-preview img.story-preview-image, .story-preview video.story-preview-video { transform: scale(1.51); }
    .story-preview-play {
      position: absolute;
      inset: 0;
      z-index: 2;
      display: grid;
      place-items: center;
      pointer-events: none;
    }
    .story-preview-play::before {
      content: "";
      width: 0;
      height: 0;
      margin-left: 2px;
      border-top: 6px solid transparent;
      border-bottom: 6px solid transparent;
      border-left: 9px solid #fff;
      filter: drop-shadow(0 1px 2px #0008);
    }
    .story-viewer:not([open]) { display: none; }
    .story-viewer {
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      height: 100dvh;
      max-width: none;
      max-height: none;
      margin: 0;
      padding: 0;
      overflow: visible;
      border: 0;
      background: transparent;
    }
    .story-viewer[open] { display: grid; place-items: center; overscroll-behavior: contain; }
    .story-viewer::backdrop {
      overflow: hidden;
      background: rgba(14, 17, 22, .3);
      -webkit-backdrop-filter: blur(2px);
      backdrop-filter: blur(2px);
      overscroll-behavior: contain;
    }
    .story-viewer-shell {
      position: relative;
      width: min(65vw, 728px);
      max-height: 90vh;
      max-height: 90dvh;
      overflow: visible;
      background: transparent;
    }
    .story-viewer-header {
      position: absolute;
      z-index: 2;
      top: -48px;
      right: 0;
      left: 0;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 12px;
      color: #fff;
    }
    .story-viewer-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
    .story-viewer-close {
      display: grid;
      width: 44px;
      height: 44px;
      flex: 0 0 44px;
      place-items: center;
      padding: 0;
      border: 0;
      border-radius: 0;
      color: #fff;
      background: transparent;
      line-height: 1;
      cursor: pointer;
      text-shadow: 0 1px 6px rgba(0, 0, 0, .9);
    }
    .story-viewer-close svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
    .story-viewer-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
    .story-viewer-media { display: grid; width: 100%; height: auto; place-items: center; }
    .story-viewer-media img, .story-viewer-media video { display: block; width: auto; height: auto; max-width: 65vw; max-height: 90vh; max-height: 90dvh; object-fit: contain; border-radius: 8px; box-shadow: 0 12px 36px rgba(0, 0, 0, .22); }
    .story-viewer-nav {
      position: absolute;
      z-index: 2;
      top: 50%;
      display: grid;
      width: 44px;
      height: 44px;
      place-items: center;
      padding: 0;
      transform: translateY(-50%);
      border: 0;
      border-radius: 0;
      color: #fff;
      background: transparent;
      filter: drop-shadow(0 1px 5px rgba(0, 0, 0, .8));
      cursor: pointer;
    }
    .story-viewer-nav::before { content: ""; width: 10px; height: 10px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; }
    .story-viewer-prev { left: -52px; }
    .story-viewer-prev::before { transform: rotate(-45deg); }
    .story-viewer-next { right: -52px; }
    .story-viewer-next::before { transform: rotate(135deg); }
    .story-viewer-nav:disabled { opacity: .32; cursor: default; }
    .story-viewer :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
    @media (max-width: 360px) {
      .story-viewer-nav { width: 36px; }
      .story-viewer-prev { left: -42px; }
      .story-viewer-next { right: -42px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .stories-rail { scroll-behavior: auto; }
      .story-button, .story-preview img, .story-preview video { transition: none; }
    }

    .bundles-section { margin: 0 4px; }
    .bundles-heading {
      --bundles-motion-duration: 12s;
      display: flex;
      margin: 0 0 20px;
      border-radius: 999px;
      overflow: hidden;
      background: #fff;
      color: #202124;
      box-shadow: 0 1px 4px #0000001f;
    }
    .bundles-title {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      margin: 0;
      font-size: 15px;
      font-weight: 600;
      line-height: 44px;
      letter-spacing: 0.01em;
      text-align: center;
    }
    .bundles-title [aria-hidden="true"] { display: none; }
    .bundles-motion {
      display: none;
      flex: 0 0 44px;
      place-items: center;
      border-inline-start: 1px solid #475569;
    }
    .bundles-motion:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
    .bundles-motion:hover { background: #1e293b; }
    .bundles-motion::before {
      content: "";
      width: 10px;
      height: 12px;
      border-inline: 2px solid currentColor;
    }
    .bundles-heading[data-motion="paused"] .bundles-motion::before {
      width: 0;
      height: 0;
      border: 6px solid transparent;
      border-right: 0;
      border-left: 9px solid currentColor;
    }
    @media screen and (prefers-reduced-motion: no-preference) {
      .bundles-heading[data-motion] .bundles-title-track {
        display: flex;
        width: 200%;
        animation: bundles-title-scroll var(--bundles-motion-duration) linear infinite;
      }
      .bundles-heading[data-motion="paused"] .bundles-title-track { animation-play-state: paused; }
      .bundles-heading[data-motion] .bundles-title-group {
        display: flex;
        flex: 0 0 50%;
        justify-content: space-around;
      }
      .bundles-heading[data-motion] .bundles-title-group > span { display: block; }
      .bundles-heading[data-motion] .bundles-title-group > :last-child { display: none; }
      @media (min-width: 640px) {
        .bundles-heading { --bundles-motion-duration: 20s; }
        .bundles-heading[data-motion] .bundles-title-group > :last-child { display: block; }
      }
      @media (min-width: 1280px) {
        .bundles-heading { --bundles-motion-duration: 28s; }
      }
    }
    @keyframes bundles-title-scroll {
      to { transform: translateX(-50%); }
    }
    .bundles-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .bundle-card { display: flex; flex-direction: column; gap: 10px; }
    .bundle-name { margin: 0; color: #202124; font-size: 15px; font-weight: 600; letter-spacing: 0; }
    .bundle-perfumes { display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; cursor: grab; user-select: none; }
    .bundle-perfumes::-webkit-scrollbar { display: none; }
    .bundle-perfumes.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
    .bundle-slider { position: relative; }
    .bundle-slide-next { position: absolute; top: 50%; right: 2px; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px; background: rgba(255,255,255,.96); color: #202124; box-shadow: 0 2px 8px rgba(0,0,0,.14); line-height: 0; cursor: pointer; z-index: 1; }
    .bundle-next-icon { display: block; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
    .bundle-slide-next[hidden] { display: none; }
    .bundle-perfume { flex: 0 0 calc((100% - 30px) / 3.2); min-width: calc((100% - 30px) / 3.2); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 0 4px; border: 0; color: #3c4043; background: transparent; text-align: center; font-size: 11px; line-height: 1.35; cursor: pointer; scroll-snap-align: start; }
    .bundle-perfume img { width: 100%; height: 120px; padding: 10px; border-radius: 12px; background: #f7f7f7; object-fit: contain; pointer-events: none; transition: background-color 160ms ease-out; }
    .bundle-perfume-name { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-weight: 500; }
    @media (hover: hover) { .bundle-perfume:hover img { background: #efefef; } }
    @media (prefers-reduced-motion: reduce) { .bundle-perfume img { transition: none; } }
    #perfume-drawer { background: #fff; }
    #perfume-drawer > div:first-child { background: #fff; }
    #drawer-content h3 { font-size: 15px; line-height: 1.3; }
    #drawer-content .text-\[10px\] { font-size: 11px; }
    #drawer-fav-btn { min-width: 44px; min-height: 44px; border: 0; border-radius: 8px; background: transparent; color: #3c4043; }
    .site-footer { position: static; background: #fff; }
    a[href^="https://wa.me/"] {
      right: max(20px, env(safe-area-inset-right));
      bottom: max(20px, env(safe-area-inset-bottom));
      width: 58px;
      height: 58px;
      padding: 0;
      justify-content: center;
      border: 0;
      border-radius: 50%;
      background: transparent !important;
      color: #008b61;
      box-shadow: none !important;
      transition: transform 160ms ease-out;
    }

    a[href^="https://wa.me/"] svg {
      width: 46px;
      height: 46px;
      background: radial-gradient(circle closest-side, #fff 64%, transparent 65%);
    }

    a[href^="https://wa.me/"] span { display: none; }

    a[href^="https://wa.me/"]:focus-visible {
      outline: 2px solid #202124;
      outline-offset: 3px;
    }

    a[href^="https://wa.me/"]:active { transform: scale(0.96); }

    @media (hover: hover) {
      a[href^="https://wa.me/"]:hover {
        background: transparent;
        box-shadow: none;
        transform: scale(1.05);
      }
    }

    @media (prefers-reduced-motion: no-preference) {
      a[href^="https://wa.me/"] svg { animation: whatsapp-float 4s ease-in-out infinite; }
      @keyframes whatsapp-float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-3px); }
      }
    }

    @media (prefers-reduced-motion: reduce) {
      a[href^="https://wa.me/"] { transition: none; }
    }

    @media (min-width: 640px) {
      a[href^="https://wa.me/"] {
        right: max(30px, env(safe-area-inset-right));
        bottom: max(30px, env(safe-area-inset-bottom));
      }
    }

    #initial-loading-screen {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: grid;
      place-items: center;
      margin: 0;
      background: #fff;
      color: #3c4043;
      font-size: 14px;
      opacity: 1;
      transition: opacity 260ms ease-out;
    }
    #initial-loading-screen.is-hiding {
      opacity: 0;
      pointer-events: none;
    }
    @media (prefers-reduced-motion: reduce) {
      #initial-loading-screen { transition: none; }
    }

    /* Impresión limpia / PDF */
    @media print {
      header, select, input { display: none !important; }
      body { background: #ffffff !important; padding: 0 !important; margin: 0 !important; }
      * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    }
