/* Holmo style module: 06-checkout.css */
        .btn-hero-order {
            width: 100%;
            margin-top: 10px;
            padding: 14px;
            background: #000000;
            color: #ffffff;
            border: 1px solid #000000;
            border-radius: 3px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            transition: opacity 0.2s ease, transform 0.18s ease;
        }
        .btn-hero-order:active {
            transform: scale(0.98);
        }
        .btn-hero-order:disabled {
            background: #d4d0c8;
            border-color: #d4d0c8;
            color: #8c8880;
            cursor: not-allowed;
        }

        .sticky-action-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            max-width: 480px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-top: 1px solid var(--border-color);
            padding: 10px 14px calc(10px + var(--safe-bottom)) 14px;
            z-index: 50;
            display: flex;
            gap: 10px;
            align-items: center;
            transition: transform 0.25s ease, opacity 0.25s ease;
        }
        .sticky-action-bar.sticky-hidden {
            transform: translateY(110%);
            opacity: 0;
            pointer-events: none;
        }
        .sticky-info {
            min-width: 125px;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .sticky-bottles-preview {
            display: flex;
            align-items: center;
            gap: 3px;
            height: 20px;
        }
        .sticky-mini-bottle {
            width: 16px;
            height: 22px;
            display: inline-block;
        }
        .sticky-tag {
            font-size: 8.5px;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.8px;
            font-weight: 700;
            display: block;
        }
        .sticky-val {
            font-size: 15px;
            font-weight: 800;
            line-height: 1;
        }
        .btn-checkout {
            flex: 1;
            padding: 14px;
            background: var(--text-main);
            color: #ffffff;
            border: none;
            border-radius: 3px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .btn-checkout:disabled {
            background: #d4d0c8;
            color: #8c8880;
            cursor: not-allowed;
        }

        /* ----------------------------------
           MODAL DRAWER PEDIDO / WHATSAPP
           ---------------------------------- */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.55);
            z-index: 90;
            display: none;
            backdrop-filter: blur(4px);
        }
        .modal-overlay.active {
            display: block;
        }
        .drawer-box {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            max-width: 480px;
            margin: 0 auto;
            background: #ffffff;
            border-radius: 16px 16px 0 0;
            padding: 20px 18px calc(24px + var(--safe-bottom)) 18px;
            max-height: 88vh;
            overflow-y: auto;
            animation: slideSheet 0.28s ease-out;
        }
        @keyframes slideSheet {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }

        .drawer-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 14px;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-light);
        }
        .drawer-top h3 {
            font-family: var(--font-title);
            font-size: 20px;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        .close-btn {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
        }

        .summary-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 16px;
        }
        .summary-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--bg-color);
            padding: 8px 10px;
            border-radius: 4px;
            border: 1px solid var(--border-light);
            gap: 8px;
        }
        .summary-item-left {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
            min-width: 0;
        }
        .summary-bottle-mini {
            width: 24px;
            height: 38px;
            min-width: 24px;
        }
        /* Contenedor acotado para cortar el texto hacia abajo mucho antes manteniendo el tamaño de letra */
        .summary-item-info {
            max-width: 110px;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }
        .summary-item-title {
            font-size: 11px;
            font-weight: 700;
            line-height: 1.25;
            white-space: normal;
            word-break: break-word;
        }
        .summary-item-sub {
            font-size: 9.5px;
            color: var(--text-muted);
            line-height: 1.25;
            margin-top: 2px;
            white-space: normal;
            word-break: break-word;
        }
        .summary-item-right {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
            position: relative;
        }
        .summary-add-button {
            width: 24px;
            height: 24px;
            border: 1px solid var(--border-color);
            border-radius: 50%;
            background: #ffffff;
            color: var(--text-main);
            font-size: 17px;
            line-height: 1;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .summary-add-button:active {
            transform: scale(0.92);
        }
        .summary-quantity-controls {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }
        .summary-quantity-button {
            width: 22px;
            height: 22px;
            border: 1px solid var(--border-color);
            border-radius: 50%;
            background: #ffffff;
            color: var(--text-main);
            font-size: 15px;
            line-height: 1;
            cursor: pointer;
        }
        .summary-quantity-button:disabled {
            opacity: 0.35;
            cursor: not-allowed;
        }
        /* Tríada de frascos sin cajas, bordes ni flechas: centro principal y dos laterales a los pies */
        .bottle-cluster {
            width: 50px;
            height: 38px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            cursor: pointer;
            border: none;
            background: transparent;
            padding: 0;
            outline: none;
            -webkit-tap-highlight-color: transparent;
            transition: transform 0.15s ease;
        }
        .bottle-cluster:active {
            transform: scale(0.95);
        }
        .bottle-cluster-main {
            height: 35px;
            width: auto;
            object-fit: contain;
            display: block;
            pointer-events: none;
            z-index: 2;
            filter: drop-shadow(0 3px 6px rgba(0,0,0,0.22));
            transition: transform 0.2s ease;
        }
        .bottle-cluster-flank {
            position: absolute;
            bottom: 0;
            height: 19px;
            width: auto;
            object-fit: contain;
            display: block;
            pointer-events: none;
            z-index: 1;
            opacity: 0.85;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
            transition: transform 0.2s ease, opacity 0.2s ease;
        }
        .bottle-cluster-flank.flank-left {
            left: 2px;
        }
        .bottle-cluster-flank.flank-right {
            right: 2px;
        }
        /* Menú flotante superpuesto al tocar (sin mover alturas ni alterar el layout) */
        .bottle-selector-popover {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 5px 8px 6px 8px;
            display: none;
            flex-direction: column;
            align-items: center;
            box-shadow: 0 6px 18px rgba(0,0,0,0.2);
            z-index: 60;
            min-width: 138px;
        }
        .bottle-selector-popover.open {
            display: flex;
            animation: popoverFade 0.16s ease-out;
        }
        @keyframes popoverFade {
            from { opacity: 0; transform: translateY(-50%) scale(0.94); }
            to { opacity: 1; transform: translateY(-50%) scale(1); }
        }
        .bottle-popover-title {
            font-size: 8px;
            font-weight: 700;
            letter-spacing: 0.4px;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-bottom: 5px;
            white-space: nowrap;
            text-align: center;
        }
        .bottle-popover-grid {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .bottle-popover-opt {
            background: var(--bg-color);
            border: 1.5px solid transparent;
            border-radius: 4px;
            padding: 3px 4px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s ease;
        }
        .bottle-popover-opt:active {
            transform: scale(0.92);
        }
        .bottle-popover-opt.active {
            border-color: #000000;
            background: #ffffff;
            box-shadow: 0 2px 6px rgba(0,0,0,0.12);
        }
        .bottle-popover-opt img {
            height: 28px;
            width: auto;
            object-fit: contain;
            display: block;
        }
        /* Lista de Regalos Gratuitos */
        .gifts-card {
            background: #fbf9f4;
            border: 1px dashed #b89758;
            border-radius: 4px;
            padding: 10px 12px;
            margin-bottom: 12px;
        }
        .gifts-title {
            font-size: 10px;
            font-weight: 700;
            color: #785a18;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .gift-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 10.5px;
            margin-top: 4px;
        }
        .gift-tag-free {
            background: #2d6a4f;
            color: #ffffff;
            font-size: 8.5px;
            font-weight: 700;
            padding: 2px 6px;
            border-radius: 2px;
            letter-spacing: 0.5px;
        }

        /* Desglose de Totales y Ahorro */
        .checkout-breakdown {
            background: #fdfdfd;
            border: 1px solid var(--border-light);
            border-radius: 4px;
            padding: 12px;
            margin-bottom: 12px;
        }
        .breakdown-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 11px;
            margin-bottom: 5px;
            color: var(--text-muted);
        }
        .breakdown-row.highlight {
            color: var(--text-main);
            font-weight: 700;
        }
        .price-strike {
            text-decoration: line-through;
            color: #999999;
            margin-right: 5px;
        }
        .breakdown-total {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            border-top: 1px solid var(--border-light);
            padding-top: 8px;
            margin-top: 6px;
        }/* Tarjeta de Upsell con Botón Dinámico */
        .upsell-card {
            background: #ffffff;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            padding: 10px 12px;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            transition: all 0.2s ease;
        }
        .upsell-card.active {
            background: #f4f9f5;
            border-color: var(--accent-green);
        }
        .upsell-info {
            font-size: 10px;
            line-height: 1.35;
        }
        .upsell-info strong {
            display: block;
            font-size: 11px;
            color: var(--text-main);
        }
        .btn-upsell-action {
            background: var(--bg-color);
            border: 1px solid var(--border-color);
            color: var(--text-main);
            padding: 6px 10px;
            font-size: 9.5px;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            border-radius: 3px;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.18s ease;
        }
        .upsell-card.active .btn-upsell-action {
            background: var(--accent-green);
            border-color: var(--accent-green);
            color: #ffffff;
        }

        .form-grid {
            display: grid;
            gap: 10px;
        }
        .form-grid input, .form-grid select {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--border-light);
            background: #ffffff;
            border-radius: 4px;
            font-family: var(--font-body);
            font-size: 13px;
            outline: none;
            transition: border-color 0.2s ease, background-color 0.2s ease;
        }
        .form-grid input:focus, .form-grid select:focus {
            border-color: var(--text-main);
        }
        .form-grid input.input-error {
              border-color: #dc2626 !important;
              background-color: #fff8f8 !important;
          }
          .order-consent {
              display: flex;
              align-items: flex-start;
              gap: 8px;
              color: var(--text-muted);
              font-size: 10px;
              line-height: 1.4;
              text-align: left;
          }
          .order-consent input {
              width: 15px;
              height: 15px;
              flex: 0 0 auto;
              margin: 0;
              accent-color: var(--accent-green);
          }
          .form-error-hint {
            display: none;
            color: #dc2626;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            text-align: center;
        }

        /* Buscador Rápido de 300+ Referencias */
        .search-screen {
            position: fixed;
            inset: 0;
            background: #ffffff;
            z-index: 100;
            display: none;
            flex-direction: column;
            max-width: 480px;
            margin: 0 auto;
        }
        .search-screen.active {
            display: flex;
        }
        .search-head {
            padding: 14px;
            display: flex;
            gap: 10px;
            border-bottom: 1px solid var(--border-light);
        }
        .search-head input {
            flex: 1;
            padding: 10px 14px;
            border: 1px solid var(--border-color);
            border-radius: 4px;
            font-size: 14px;
            outline: none;
        }
        .search-list {
            flex: 1;
            overflow-y: auto;
            padding: 14px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .search-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px;
            border: 1px solid var(--border-light);
            border-radius: 4px;
        }

        /* Toast Feedback */
        .toast {
            position: fixed;
            top: 60px;
            left: 50%;
            transform: translateX(-50%) translateY(-20px);
            background: #12110f;
            color: #ffffff;
            padding: 9px 18px;
            border-radius: 8px;
            font-size: 10.5px;
            letter-spacing: 0.8px;
            text-transform: uppercase;
            font-weight: 600;
            line-height: 1.4;
            text-align: center;
            opacity: 0;
            pointer-events: none;
            transition: all 0.25s ease;
            z-index: 120;
            white-space: normal;
            max-width: 88%;
        }
        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
