﻿* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: #ffffff;
            color: #000000;
            line-height: 1.4;
            min-height: 100dvh;
        }

        img {
            -webkit-user-drag: none;
            user-select: none;
            -webkit-user-select: none;
        }

        /* layout principal */
        .app-container {
            display: flex;
            flex-direction: column;
            min-height: 100dvh;
        }

        /* header*/
        .main-header {
            background: #185aff;
            color: #ffffff;
            padding: 1rem 2rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: none;
            position: relative;
            overflow: visible;
        }

        .title-area {
            order: 1;
            text-align: left;
            position: relative;
            z-index: 3;
        }

        .social-area {
            order: 2;
            display: flex;
            gap: 0.5rem;
        }

        .social-area a {
            color: #ffffff;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
        }

        .social-area a:hover {
            opacity: 0.8;
        }

        .social-welcome-message {
            display: grid;
            justify-items: center;
            gap: 0.4rem;
        }

        .social-welcome-copy {
            display: grid;
            justify-items: center;
            gap: 0.22rem;
            text-align: center;
        }

        .social-welcome-points {
            font-size: 0.86rem;
            font-weight: 700;
            color: #173f99;
        }

        .social-welcome-points-btn {
            border: 1px solid #2d63d9;
            background: #ffffff;
            color: #1d4fa9;
            border-radius: 999px;
            padding: 0.18rem 0.68rem;
            font-size: 0.78rem;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s ease, color 0.2s ease;
        }

        .social-welcome-points-btn:hover {
            background: #1d4fa9;
            color: #ffffff;
        }

        .social-welcome-photo {
            width: 54px;
            height: 54px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #c9dafc;
            background: #ffffff;
            box-shadow: 0 6px 14px rgba(15, 31, 58, 0.12);
        }

        .logo-area {
            order: 3;
            position: relative;
            z-index: 3;
        }

        .header-workers {
            position: absolute;
            left: 50%;
            bottom: 0;
            transform: translateX(-50%);
            display: flex;
            justify-content: center;
            align-items: flex-start;
            pointer-events: none;
            width: min(42vw, 460px);
            height: 66px;
            overflow: hidden;
            z-index: 1;
        }

        .header-workers img {
            display: block;
            max-height: 150px;
            width: auto;
            max-width: 100%;
            object-fit: cover;
            object-position: center top;
        }

        .title-area h1 {
            font-size: 2.2rem;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .title-area p {
            font-size: 1rem;
            opacity: 0.85;
            margin-top: 6px;
        }

        .store-badge {
            background: #ffffff;
            padding: 0.4rem 1rem;
            border-radius: 40px;
            font-size: 0.8rem;
            font-weight: 600;
            color: #000000;
        }

        /* lauout principal */
        .content-row {
            display: flex;
            flex-direction: column;
            flex: 1;
            gap: 0rem;
        }

        /* CATEGORIAS barra horizontal debajo del header */
        .categories-bar {
            width: 100%;
            background: #ffffff;
            border-right: none;
            border-bottom: 1px solid #000000;
            padding: 0.5rem 1rem;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            margin: 0;
        }

        .main-content {
            display: flex;
            flex: 1;
        }

        .social-section {
            width: 100%;
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            padding: 0.28rem 0.55rem;
            background: #ececec;
            border-radius: 0;
            border: 1px solid #dddddd;
            margin: 0.1rem 0 0.4rem;
            overflow-x: auto;
        }

        .social-section a {
            color: #1243bd;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.84rem;
            font-weight: 500;
            line-height: 1;
            padding: 0.28rem 0.56rem;
            border-radius: 4px;
            border: 1px solid rgba(18, 67, 189, 0.25);
            background: #ffffff;
            transition: background 0.2s ease, color 0.2s ease;
            white-space: nowrap;
        }

        .social-section a:hover {
            background: #f2f5ff;
            color: #0e328f;
        }

        .instructions-link-container {
            margin-top: 0.32rem;
            margin-bottom: 0.55rem;
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .instructions-link {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            text-decoration: none;
            color: #185aff;
            font-weight: 700;
            font-size: 0.85rem;
            padding: 0.35rem 0.75rem;
            border-radius: 999px;
            border: 1px solid rgba(24, 90, 255, 0.2);
            background: #f6f9ff;
            appearance: none;
            -webkit-appearance: none;
            font-family: inherit;
            cursor: pointer;
        }

        .instructions-link:hover {
            background: #eaf1ff;
        }

        .price-scanner-toggle {
            display: inline-flex;
            align-items: center;
            border: 1px solid #c7cfde;
            background: #ffffff;
            color: #1d2f52;
            text-decoration: none;
            border-radius: 0;
            padding: 0.52rem 0.9rem;
            font-size: 0.84rem;
            font-weight: 700;
            cursor: pointer;
        }

        .price-scanner-toggle:hover {
            background: #f4f6fb;
        }

        .scanner-entry-wrap {
            width: 100%;
            display: flex;
            justify-content: center;
            margin: 0.55rem 0 0.7rem;
        }

        .scanner-password-overlay {
            position: fixed;
            inset: 0;
            z-index: 1650;
            background: rgba(7, 20, 50, 0.66);
            display: none;
            place-items: center;
            padding: 1rem;
        }

        .scanner-password-overlay.show {
            display: grid;
        }

        .scanner-password-modal {
            width: min(520px, 96vw);
            background: #ffffff;
            border: 1px solid #c7cfde;
            box-shadow: none;
            border-radius: 0;
            padding: 1rem;
            display: grid;
            gap: 0.62rem;
        }

        .scanner-password-title {
            margin: 0;
            color: #11388d;
            font-size: 1.08rem;
            font-weight: 800;
            text-align: center;
        }

        .scanner-password-subtitle {
            margin: 0;
            font-size: 0.86rem;
            color: #586d97;
            text-align: center;
        }

        .scanner-special-access-warning {
            margin: 0;
            font-size: 0.84rem;
            font-weight: 700;
            color: #b22525;
            text-align: center;
            justify-self: center;
            max-width: 96%;
        }

        .scanner-special-access-icon {
            text-align: center;
            color: #b22525;
            font-size: 1.1rem;
            line-height: 1;
        }

        .scanner-password-controls {
            display: grid;
            gap: 0.5rem;
        }

        .scanner-password-controls input {
            width: 100%;
            border: 1px solid #c7cfde;
            border-radius: 0;
            padding: 0.72rem 0.8rem;
            font-size: 0.95rem;
            outline: none;
        }

        .scanner-password-actions {
            display: flex;
            gap: 0.42rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .scanner-password-actions button {
            border: 1px solid #c7cfde;
            background: #ffffff;
            color: #1d2f52;
            border-radius: 0;
            padding: 0.64rem 0.9rem;
            font-size: 0.86rem;
            font-weight: 700;
            cursor: pointer;
        }

        .scanner-password-actions .scanner-password-cancel {
            border-color: #c7cfde;
            background: #ffffff;
            color: #1d2f52;
        }

        .scanner-password-keyboard-toggle {
            align-self: center;
            border: none !important;
            background: transparent !important;
            color: #1d2f52 !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            padding: 0 !important;
            font-size: 0.82rem !important;
            font-weight: 600 !important;
            text-decoration: underline;
            text-underline-offset: 0.16rem;
            cursor: pointer;
        }

        .scanner-password-keyboard-toggle:hover {
            color: #1243bd !important;
        }

        .scanner-password-keyboard-toggle.scanner-special-access-desktop-only {
            display: inline-block;
        }

        .scanner-password-error {
            min-height: 1.1rem;
            text-align: center;
            color: #b22525;
            font-size: 0.8rem;
            font-weight: 700;
        }

        .scanner-password-virtual-keyboard {
            width: 100%;
            display: none;
            grid-template-columns: repeat(10, minmax(0, 1fr));
            gap: 0.28rem;
            margin-top: 0.06rem;
            padding: 0.45rem;
            border: 1px solid #aeb5c0;
            background: #d9dde4;
            border-radius: 0;
        }

        .scanner-password-virtual-keyboard.show {
            display: grid;
        }

        .scanner-password-vk-key {
            border: 1px solid #b0b7c2;
            background: #eceff4;
            color: #1c2a43;
            border-radius: 0;
            padding: 0.38rem 0.2rem;
            font-size: 0.76rem;
            font-weight: 700;
            text-align: center;
            cursor: pointer;
            user-select: none;
        }

        .scanner-password-vk-key.action {
            background: #c6ccd6;
            color: #172338;
        }

        .scanner-only-screen {
            position: fixed;
            inset: 0;
            z-index: 1600;
            display: none;
            place-items: center;
            background: linear-gradient(160deg, #e7eefc 0%, #f6f9ff 45%, #fff1e1 100%);
            padding: 0;
            overflow: hidden;
        }

        .scanner-only-screen.show {
            display: grid;
        }

        .scanner-only-card {
            width: 100vw;
            height: 100vh;
            border: none;
            border-radius: 0;
            background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,249,255,0.98) 100%);
            padding: 0;
            box-shadow: none;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .scanner-brand {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            max-width: 540px;
            margin: 0 auto;
        }

        .scanner-brand img {
            height: 134px;
            width: auto;
            max-width: min(92vw, 460px);
        }

        .scanner-hero {
            position: relative;
            min-height: 154px;
            padding: 0.8rem 2rem 0.72rem;
            background: linear-gradient(135deg, #0e3da6 0%, #185aff 60%, #4b88ff 100%);
            color: #ffffff;
            box-shadow: 0 10px 24px rgba(12, 49, 138, 0.18);
        }

        .scanner-hero::after {
            content: "";
            position: absolute;
            inset: auto 0 0 0;
            height: 1px;
            background: rgba(255, 255, 255, 0.18);
        }

        .scanner-hero-top {
            display: grid;
            grid-template-columns: minmax(160px, 210px) minmax(340px, 520px) minmax(160px, 210px);
            align-items: center;
            gap: 0.75rem;
            width: min(980px, 100%);
            margin: 0 auto;
        }

        .scanner-hero-promo {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 88px;
            padding: 0.2rem 0.35rem;
            gap: 0.28rem;
        }

        .scanner-hero-promo img {
            width: 100%;
            max-width: 180px;
            max-height: 70px;
            object-fit: contain;
        }

        .scanner-hero-promo-text {
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1.2;
            text-align: center;
            color: #eaf1ff;
            max-width: 200px;
        }

        .scanner-hero-promo-key {
            display: block;
            font-size: 0.82rem;
            font-weight: 800;
            letter-spacing: 0.02em;
            color: #111111;
        }

        .scanner-hero-promo-cashea img {
            animation: scannerCasheaPulse 2.8s ease-in-out infinite;
            transform-origin: center;
        }

        .scanner-hero-promo-delivery img {
            animation: scannerDeliveryRide 4.5s ease-in-out infinite;
            transform-origin: center;
        }

        @keyframes scannerCasheaPulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.04);
            }
        }

        @keyframes scannerDeliveryRide {
            0%, 8% {
                transform: translateX(-3px) translateY(0) rotate(1.5deg);
            }
            16% {
                transform: translateX(4px) translateY(0) rotate(0deg);
            }
            22.7% {
                transform: translateX(9px) translateY(-6px) rotate(-8deg);
            }
            32% {
                transform: translateX(10px) translateY(-7px) rotate(-9deg);
            }
            41.3% {
                transform: translateX(9px) translateY(-5px) rotate(-7deg);
            }
            49.3% {
                transform: translateX(10px) translateY(-6px) rotate(-8deg);
            }
            56% {
                transform: translateX(9px) translateY(-5px) rotate(-7deg);
            }
            60.5% {
                transform: translateX(6px) translateY(1px) rotate(-1deg);
            }
            63.5% {
                transform: translateX(5px) translateY(-2px) rotate(-3deg);
            }
            66.7% {
                transform: translateX(0) translateY(0) rotate(0deg);
            }
            74% {
                transform: translateX(-2px) translateY(0) rotate(1deg);
            }
            82% {
                transform: translateX(-3px) translateY(0) rotate(1.5deg);
            }
            90% {
                transform: translateX(-2px) translateY(0) rotate(1deg);
            }
            100% {
                transform: translateX(-3px) translateY(0) rotate(1.5deg);
            }
        }

        .scanner-main-area {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
            position: relative;
            background:
                linear-gradient(rgba(247, 251, 255, 0.78), rgba(247, 251, 255, 0.78)),
                url('elementos/background.png') center/cover no-repeat;
        }

        .scanner-body {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 1.75rem 1.1rem 0.45rem;
            gap: 0.5rem;
            min-height: 0;
            overflow: hidden;
            position: relative;
            z-index: 2;
        }

        .scanner-intro {
            width: min(760px, 100%);
            text-align: center;
            margin-top: 0.95rem;
        }

        .scanner-intro-head {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
        }

        .scanner-mode-toggle-wrap {
            position: absolute;
            top: 0.5rem;
            right: 1rem;
            z-index: 6;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.2rem;
            min-width: 0;
        }

        .scanner-mode-hint {
            color: #667ca8;
            font-size: 0.62rem;
            font-weight: 500;
            line-height: 1.1;
            white-space: nowrap;
            opacity: 0.9;
        }

        .scanner-intro-title {
            font-size: clamp(1.35rem, 2.3vw, 2rem);
            font-weight: 800;
            color: #143d9d;
            letter-spacing: -0.02em;
            line-height: 1.05;
            text-align: center;
        }

        .scanner-intro-subtitle {
            margin-top: 0.25rem;
            color: #4b628f;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .scanner-intro-icon {
            margin-top: 0.42rem;
            color: #1a4ab5;
            font-size: 1.25rem;
            line-height: 1;
        }

        .scanner-mode-toggle {
            border: 1px solid #d8e2f5;
            background: rgba(255, 255, 255, 0.72);
            color: #5670a8;
            border-radius: 999px;
            padding: 0.42rem 0.74rem;
            font-size: 0.74rem;
            font-weight: 700;
            line-height: 1;
            cursor: pointer;
            text-transform: none;
            letter-spacing: 0.01em;
        }

        .scanner-mode-toggle.is-active {
            border-color: #e6c7b6;
            background: rgba(255, 244, 237, 0.88);
            color: #9a5a39;
        }

        .scanner-categories-marquee {
            width: 100%;
            margin: 0;
            border-top: 1px solid #d9e5ff;
            border-bottom: 1px solid #d9e5ff;
            border-left: none;
            border-right: none;
            border-radius: 0;
            background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
            overflow: hidden;
            pointer-events: none;
            user-select: none;
        }

        .scanner-categories-track {
            display: inline-flex;
            align-items: center;
            gap: 0.38rem;
            padding: 0.44rem 0.55rem;
            white-space: nowrap;
            min-width: max-content;
            animation: scannerCategoriesSlide 56s linear infinite;
        }

        .scanner-categories-chip {
            display: inline-flex;
            align-items: center;
            padding: 0.16rem 0.42rem;
            border: 1px solid #d4e0f8;
            background: #ffffff;
            border-radius: 0;
            color: #2e4e8d;
            font-size: 0.74rem;
            font-weight: 700;
            line-height: 1.1;
            text-transform: uppercase;
        }

        @keyframes scannerCategoriesSlide {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); }
        }

        .scanner-only-hint {
            margin: 0;
            font-size: 0.88rem;
            color: #486089;
            text-align: center;
            font-weight: 500;
        }

        .scanner-section {
            display: none;
        }

        .scanner-section.show {
            display: block;
        }

        .scanner-top {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0;
        }

        .scanner-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: #173f99;
        }

        .scanner-close {
            position: absolute;
            top: 0.45rem;
            right: 0.7rem;
            border: 1px solid rgba(255, 255, 255, 0.35);
            background: rgba(255, 255, 255, 0.12);
            color: #ffffff;
            border-radius: 999px;
            width: 36px;
            height: 36px;
            cursor: pointer;
            font-weight: 700;
            font-size: 1rem;
        }

        .scanner-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .scanner-controls {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            justify-content: center;
            width: min(760px, 100%);
            background: #ffffff;
            border: 1px solid #d9e2f8;
            border-radius: 14px;
            padding: 0.5rem;
            box-shadow: 0 12px 26px rgba(12, 36, 92, 0.08);
        }

        .scanner-controls input {
            flex: 1;
            min-width: 320px;
            border: 1px solid #c7d1ea;
            border-radius: 10px;
            padding: 0.72rem 0.85rem;
            font-size: 0.95rem;
            outline: none;
        }

        .scanner-controls button {
            border: 1px solid #2e63da;
            background: #185aff;
            color: #ffffff;
            border-radius: 10px;
            padding: 0.72rem 1rem;
            font-size: 0.9rem;
            font-weight: 700;
            cursor: pointer;
        }

        .scanner-keyboard-toggle {
            border-color: #9fb3e8 !important;
            background: #f4f7ff !important;
            color: #2a4e9d !important;
            border-radius: 0 !important;
            box-shadow: none !important;
        }

        .scanner-camera-panel {
            display: none;
            width: min(500px, 100%);
            margin: 0.1rem auto 0.35rem;
            gap: 0.45rem;
            flex-direction: column;
            align-items: center;
        }

        .scanner-camera-panel.show {
            display: flex;
        }

        .scanner-use-camera-btn {
            border: 1px solid #9fb3e8 !important;
            background: #f4f7ff !important;
            color: #2a4e9d !important;
        }

        .scanner-camera-frame {
            width: 100%;
            aspect-ratio: 16 / 9;
            max-height: 340px;
            position: relative;
            border: 1px solid #d2ddf6;
            border-radius: 14px;
            background: #0c1221;
            overflow: hidden;
        }

        .scanner-camera-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            background: #0c1221;
        }

        .scanner-scan-guide {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 72%;
            height: 38%;
            transform: translate(-50%, -50%);
            border: 3px solid #d73232;
            border-radius: 10px;
            box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.18);
            pointer-events: none;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .scanner-camera-frame.success .scanner-scan-guide {
            border-color: #2bbf4f;
            box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.1);
        }

        .scanner-camera-buttons {
            width: 100%;
            display: flex;
            gap: 0.4rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .scanner-camera-zoom-controls {
            position: absolute;
            top: 0.55rem;
            right: 0.55rem;
            display: flex;
            gap: 0.36rem;
            z-index: 3;
        }

        .scanner-camera-btn {
            border: 1px solid #2e63da;
            background: #185aff;
            color: #ffffff;
            border-radius: 10px;
            padding: 0.66rem 0.85rem;
            font-size: 0.86rem;
            font-weight: 700;
            cursor: pointer;
            min-width: 148px;
        }

        .scanner-camera-btn.stop {
            border-color: #b23a3a;
            background: #d94c4c;
        }

        .scanner-camera-zoom-btn {
            width: 2.05rem;
            height: 2.05rem;
            border: 1px solid #d8d8d8;
            background: #ffffff;
            color: #1f1f1f;
            border-radius: 6px;
            font-size: 1.15rem;
            font-weight: 700;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
        }

        .scanner-camera-zoom-btn:disabled {
            opacity: 0.55;
            cursor: not-allowed;
        }

        .scanner-camera-btn:disabled {
            opacity: 0.55;
            cursor: not-allowed;
        }

        .scanner-detected-code {
            width: 100%;
            border: 1px solid #c7d1ea;
            border-radius: 10px;
            padding: 0.66rem 0.8rem;
            font-size: 0.9rem;
            text-align: center;
            color: #173f99;
            background: #f8fbff;
            font-weight: 700;
        }

        .scanner-camera-message {
            width: 100%;
            min-height: 1rem;
            text-align: center;
            font-size: 0.78rem;
            color: #26488f;
            font-weight: 600;
        }

        .scanner-camera-message.error {
            color: #b32626;
        }

        .scanner-virtual-keyboard {
            width: min(760px, 100%);
            display: none;
            grid-template-columns: repeat(10, minmax(0, 1fr));
            gap: 0.35rem;
            margin: 0.08rem auto 0.22rem;
            padding: 0.55rem;
            border: 1px solid #aeb5c0;
            background: #d9dde4;
            border-radius: 0;
        }

        .scanner-virtual-keyboard.show {
            display: grid;
        }

        .scanner-keyboard-suggestions {
            width: min(760px, 100%);
            margin: 0.15rem auto 0.25rem;
            padding: 0.5rem;
            border: 1px solid #d0d9eb;
            border-radius: 12px;
            background: #ffffff;
            box-shadow: 0 10px 22px rgba(12, 36, 92, 0.08);
            max-height: 250px;
            overflow: auto;
            display: none;
            gap: 0.4rem;
        }

        .scanner-keyboard-suggestions.show {
            display: grid;
        }

        .scanner-keyboard-suggestion-item {
            width: 100%;
            border: 1px solid #d8e2f7;
            border-radius: 10px;
            background: #f8fbff;
            color: #163b8f;
            padding: 0.55rem 0.6rem;
            text-align: left;
            cursor: pointer;
            display: grid;
            gap: 0.15rem;
        }

        .scanner-keyboard-suggestion-item .scanner-suggestion-price {
            font-size: 0.82rem;
        }

        .scanner-keyboard-suggestion-item:hover,
        .scanner-keyboard-suggestion-item:focus-visible {
            border-color: #6a8de0;
            background: #eef4ff;
            outline: none;
        }

        .scanner-keyboard-suggestion-item strong {
            font-size: 0.88rem;
            color: #122c6a;
            line-height: 1.25;
        }

        .scanner-keyboard-suggestion-item span {
            font-size: 0.76rem;
            color: #455a87;
            line-height: 1.2;
        }

        .scanner-vk-key {
            border: 1px solid #b0b7c2;
            background: #eceff4;
            color: #1c2a43;
            border-radius: 0;
            min-height: 42px;
            padding: 0.48rem 0.24rem;
            font-size: 0.86rem;
            font-weight: 700;
            text-align: center;
            cursor: pointer;
            user-select: none;
        }

        .scanner-vk-key.action {
            background: #c6ccd6;
            color: #172338;
        }

        @media (min-width: 769px) {
            #scannerSearchBtn {
                display: none;
            }

            #scannerUseCameraBtn {
                display: none;
            }

            .scanner-result.keyboard-open-hide {
                display: none;
            }

            .scanner-camera-panel {
                display: none !important;
            }

            .back-to-list-btn-mobile {
                display: none !important;
            }
        }

        @media (max-width: 768px) {
            .scanner-result.mobile-camera-hide {
                display: none;
            }

            .scanner-desktop-illustration,
            .scanner-desktop-app-callout {
                display: none !important;
            }
        }

        .scanner-result {
            margin: 0.2rem auto 0;
            border: 1px solid #d7e3ff;
            border-radius: 18px;
            background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
            padding: 0.75rem 0.85rem;
            font-size: 0.95rem;
            color: #2e3d59;
            width: min(760px, 100%);
            flex: 0 0 auto;
            display: flex;
            justify-content: center;
            align-items: stretch;
            min-height: 230px;
            max-height: 330px;
            box-shadow: 0 16px 32px rgba(12, 36, 92, 0.08);
            overflow: auto;
        }

        .scanner-result-card {
            display: grid;
            grid-template-columns: 190px minmax(0, 1fr);
            gap: 0.8rem;
            align-items: stretch;
            width: min(640px, 100%);
            margin: 0 auto;
        }

        .scanner-result-media {
            width: 100%;
            min-height: 180px;
            border-radius: 14px;
            background: #ffffff;
            border: 1px solid #d6e0f5;
            display: grid;
            place-items: center;
            overflow: hidden;
            padding: 0.55rem;
        }

        .scanner-rate {
            margin-top: 0;
            text-align: center;
            font-size: 0.9rem;
            color: #173f99;
            font-weight: 700;
            border-top: none;
            padding: 0;
            background: transparent;
            flex: 0 0 auto;
            position: absolute;
            left: 50%;
            bottom: 0.4rem;
            transform: translateX(-50%);
            display: flex;
            justify-content: center;
            align-items: center;
            width: max-content;
        }

        .scanner-footer-bar {
            position: relative;
            width: 100%;
            min-height: 1.15rem;
            padding: 0 0 0.4rem;
            flex: 0 0 auto;
        }

        .scanner-rate-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 0.75rem;
            padding: 0 1rem 0.4rem;
            background: transparent;
            color: #7a7f89;
            border-top: none;
            flex: 0 0 auto;
            width: 100%;
            box-sizing: border-box;
        }

        .scanner-desktop-tip,
        .scanner-desktop-app-callout {
            text-align: center;
            color: #ff8a00;
            font-size: clamp(0.82rem, 0.6vw, 0.92rem);
            font-weight: 800;
            padding: 0;
            margin: 0;
            line-height: 1.2;
            flex: 0 0 auto;
            max-width: min(66vw, 620px);
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
        }

        .scanner-desktop-app-callout {
            margin-bottom: 0;
            line-height: 1;
            color: #000000;
        }

        .scanner-desktop-copy {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            row-gap: 0;
            margin: 0;
        }

        .scanner-desktop-illustration {
            width: clamp(64px, 5.8vw, 88px);
            height: auto;
            object-fit: contain;
            flex: 0 0 auto;
        }

        .scanner-desktop-info {
            width: min(760px, 100%);
            margin: clamp(0.38rem, 1.5vh, 0.96rem) auto clamp(0.24rem, 0.9vh, 0.55rem);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: clamp(0.55rem, 1.4vw, 1rem);
            position: relative;
            z-index: 2;
        }

        @media (min-width: 769px) and (max-width: 1120px) {
            .scanner-desktop-info {
                width: min(680px, 100%);
                gap: clamp(0.38rem, 1vw, 0.72rem);
                margin: clamp(0.28rem, 1vh, 0.72rem) auto clamp(0.18rem, 0.7vh, 0.42rem);
            }

            .scanner-desktop-tip,
            .scanner-desktop-app-callout {
                font-size: clamp(0.72rem, 0.95vw, 0.82rem);
                max-width: min(50vw, 420px);
                line-height: 1.18;
            }

            .scanner-desktop-illustration {
                width: clamp(56px, 5vw, 74px);
            }

            .scanner-qr-placeholder {
                width: clamp(64px, 6.6vw, 88px);
                height: clamp(64px, 6.6vw, 88px);
                font-size: clamp(0.54rem, 0.6vw, 0.64rem);
            }
        }

        .scanner-qr-placeholder {
            width: clamp(76px, 7.8vw, 102px);
            height: clamp(76px, 7.8vw, 102px);
            margin: 0;
            border: 1px dashed #b5bfd6;
            background: rgba(255, 255, 255, 0.35);
            color: #6a748a;
            font-size: clamp(0.62rem, 0.55vw, 0.72rem);
            font-weight: 700;
            text-align: center;
            display: grid;
            place-items: center;
            line-height: 1.2;
            padding: 0.24rem;
            transform: none;
        }

        @media (min-width: 769px) and (max-height: 860px) {
            .scanner-body {
                padding-top: 1.02rem;
                gap: 0.38rem;
            }

            .scanner-intro {
                margin-top: 0.34rem;
            }

            .scanner-intro-subtitle {
                margin-top: 0.16rem;
            }

            .scanner-intro-icon {
                margin-top: 0.2rem;
            }

            .scanner-desktop-info {
                margin-top: clamp(0.5rem, 2vh, 1rem);
                gap: clamp(0.48rem, 1.2vw, 0.82rem);
            }

            .scanner-desktop-tip,
            .scanner-desktop-app-callout {
                font-size: clamp(0.76rem, 1.45vh, 0.88rem);
                max-width: min(60vw, 540px);
                line-height: 1.24;
            }

            .scanner-desktop-app-callout {
                line-height: 1;
            }

            .scanner-qr-placeholder {
                width: clamp(68px, 10.8vh, 94px);
                height: clamp(68px, 10.8vh, 94px);
                font-size: clamp(0.56rem, 1.05vh, 0.68rem);
                padding: clamp(0.16rem, 0.35vh, 0.24rem);
            }
        }

        @media (min-width: 769px) and (max-height: 760px) {
            .scanner-body {
                padding-top: 0.78rem;
                gap: 0.28rem;
            }

            .scanner-intro {
                margin-top: 0.16rem;
            }
        }

        .scanner-rate-content {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.42rem;
        }

        .scanner-rate-email {
            position: static;
            font-size: 0.72rem;
            font-weight: 600;
            color: #7a7f89;
            line-height: 1;
            white-space: nowrap;
        }

        .scanner-rate-copyright {
            position: static;
            font-size: 0.72rem;
            font-weight: 600;
            color: #7a7f89;
            line-height: 1;
            white-space: nowrap;
        }

        .scanner-rate-icon {
            width: 18px;
            height: 18px;
            object-fit: contain;
            flex: 0 0 auto;
        }

        .scanner-promos {
            width: min(760px, 100%);
            margin: 0.25rem auto 0.55rem;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.5rem;
            padding: 0 1rem;
        }

        .scanner-promo-card {
            border: 1px solid #d7e3ff;
            background: #ffffff;
            border-radius: 12px;
            padding: 0.38rem 0.45rem 0.45rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.22rem;
            min-height: 108px;
            text-align: center;
            box-shadow: 0 8px 18px rgba(12, 36, 92, 0.08);
        }

        .scanner-promo-card img {
            max-width: 100%;
            max-height: 62px;
            object-fit: contain;
        }

        .scanner-promo-title {
            font-size: 0.8rem;
            font-weight: 800;
            color: #173f99;
            line-height: 1.1;
        }

        .scanner-promo-desc {
            font-size: 0.74rem;
            color: #4a5d86;
            line-height: 1.2;
            font-weight: 600;
        }

        .scanner-result-media img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .scanner-result-name {
            font-weight: 800;
            color: #133777;
            margin-bottom: 0.2rem;
            font-size: 1.4rem;
        }

        .scanner-result-details {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 0.35rem;
        }

        .scanner-result-meta {
            font-size: 0.9rem;
            color: #4a5d86;
            line-height: 1.4;
        }

        .scanner-price {
            margin-top: 0.25rem;
            display: grid;
            gap: 0.35rem;
        }

        .scanner-price-usd,
        .scanner-price-bs {
            display: grid;
            gap: 0.08rem;
            padding: 0.35rem 0.45rem;
            border: 1px solid #dce6fb;
            border-radius: 10px;
            background: #ffffff;
        }

        .scanner-price-usd small,
        .scanner-price-bs small {
            font-size: 0.7rem;
            font-weight: 700;
            color: #5f739d;
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }

        .scanner-price-usd strong,
        .scanner-price-bs strong {
            font-size: clamp(1.35rem, 2.4vw, 1.9rem);
            font-weight: 800;
            line-height: 1.05;
        }

        .scanner-price-usd strong {
            color: #c2410c;
            letter-spacing: -0.02em;
        }

        .scanner-price-bs strong {
            color: #2450b5;
        }

        .scanner-empty-state {
            width: min(860px, 100%);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 1rem;
            color: #4a5d86;
            gap: 0.6rem;
            margin: auto;
        }

        .scanner-empty-state strong {
            font-size: 1.1rem;
            color: #173f99;
        }

        .scanner-empty-state-idle {
            width: min(460px, 100%);
            padding: 0.9rem 1rem;
            border: 1px solid #d7e3ff;
            border-radius: 18px;
            background: #ffffff;
            box-shadow: 0 10px 22px rgba(12, 36, 92, 0.08);
            gap: 0.35rem;
        }

        .scanner-empty-state-idle strong {
            font-size: 1.08rem;
            line-height: 1.2;
        }

        .scanner-empty-state-idle div {
            font-size: 0.78rem;
            line-height: 1.35;
            color: #61749a;
        }

        .scanner-suggestions {
            width: min(860px, 100%);
            display: grid;
            gap: 0.5rem;
            margin-top: 0.35rem;
            max-height: 100%;
            overflow: auto;
        }

        .scanner-suggestions-wrap {
            width: min(860px, 100%);
            display: grid;
            gap: 0.45rem;
            justify-items: center;
        }

        .scanner-suggestions-wrap[hidden] {
            display: none !important;
        }

        .scanner-suggestions-toggle {
            border: 1px solid #2d69d8;
            background: #edf4ff;
            color: #1748a8;
            border-radius: 999px;
            padding: 0.55rem 1rem;
            font-size: 0.88rem;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
        }

        .scanner-suggestions-toggle:hover {
            background: #dceaff;
            border-color: #225bc3;
            color: #123d92;
        }

        .scanner-suggestion-item .scanner-suggestion-head,
        .scanner-keyboard-suggestion-item .scanner-suggestion-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 0.75rem;
            width: 100%;
        }

        .scanner-suggestion-item .scanner-suggestion-price,
        .scanner-keyboard-suggestion-item .scanner-suggestion-price {
            display: block;
            flex: 0 0 auto;
            font-size: 0.9rem;
            font-weight: 800;
            color: #9a3412;
            text-align: right;
            line-height: 1.15;
            margin-left: auto;
        }

        .scanner-suggestion-item {
            border: 1px solid #d7e3ff;
            background: #ffffff;
            border-radius: 18px;
            padding: 0.7rem 0.85rem;
            text-align: left;
            cursor: pointer;
            transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
        }

        .scanner-suggestion-item:hover {
            transform: translateY(-1px);
            border-color: #8fb0ff;
            box-shadow: 0 8px 18px rgba(18, 67, 189, 0.12);
        }

        .scanner-suggestion-item strong {
            display: block;
            color: #173f99;
            font-size: 0.92rem;
            margin-bottom: 0.15rem;
        }

        .scanner-suggestion-item span {
            display: block;
            color: #4a5d86;
            font-size: 0.8rem;
        }

        .scanner-result.scanner-result-budget {
            justify-content: flex-start;
            align-items: flex-start;
            min-height: 220px;
            background: #ffffff;
            border: 1px solid #e3e7ef;
            border-radius: 8px;
            padding: 0.65rem;
        }

        .scanner-budget-wrap {
            width: min(720px, 100%);
            margin: 0 auto;
            display: grid;
            gap: 0.52rem;
        }

        .scanner-budget-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.55rem;
        }

        .scanner-budget-title {
            font-size: 0.96rem;
            font-weight: 700;
            color: #2a3448;
        }

        .scanner-budget-count {
            font-size: 0.76rem;
            color: #63708a;
            font-weight: 600;
        }

        .scanner-budget-list {
            display: grid;
            gap: 0.38rem;
            max-height: 180px;
            overflow-y: auto;
            padding-right: 0.12rem;
        }

        .scanner-budget-item {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto auto auto;
            gap: 0.4rem;
            align-items: center;
            border: 1px solid #dfe4ec;
            border-radius: 6px;
            background: #fafbfd;
            padding: 0.45rem 0.52rem;
        }

        .scanner-budget-main {
            min-width: 0;
            display: grid;
            gap: 0.1rem;
        }

        .scanner-budget-main strong {
            color: #2c3a52;
            font-size: 0.82rem;
            line-height: 1.2;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .scanner-budget-main span {
            color: #6b7892;
            font-size: 0.72rem;
            font-weight: 600;
        }

        .scanner-budget-qty {
            display: inline-flex;
            align-items: center;
            gap: 0.22rem;
            border: 1px solid #d8dee9;
            border-radius: 6px;
            padding: 0.14rem 0.18rem;
            background: #f7f8fa;
        }

        .scanner-budget-qty button {
            width: 22px;
            height: 22px;
            border: 1px solid #cfd6e2;
            background: #ffffff;
            color: #2f3e58;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.8rem;
            font-weight: 700;
            line-height: 1;
        }

        .scanner-budget-qty span {
            min-width: 18px;
            text-align: center;
            font-size: 0.78rem;
            font-weight: 700;
            color: #33445f;
        }

        .scanner-budget-subtotal {
            text-align: right;
            display: grid;
            gap: 0.02rem;
        }

        .scanner-budget-controls-row {
            display: contents;
        }

        .scanner-budget-subtotal strong {
            color: #2f3e58;
            font-size: 0.84rem;
            font-weight: 700;
            line-height: 1.1;
        }

        .scanner-budget-subtotal small {
            color: #6b7892;
            font-size: 0.7rem;
            font-weight: 600;
            line-height: 1.1;
        }

        .scanner-budget-remove {
            border: 1px solid #d8dee9;
            background: #ffffff;
            color: #6d2d2d;
            border-radius: 6px;
            width: 28px;
            height: 28px;
            font-size: 0.76rem;
            font-weight: 700;
            cursor: pointer;
        }

        .scanner-budget-summary {
            border: 1px solid #dfe4ec;
            border-radius: 6px;
            background: #fafbfd;
            padding: 0.45rem 0.52rem;
            display: grid;
            gap: 0.2rem;
        }

        .scanner-budget-total-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.78rem;
            color: #66748e;
            font-weight: 600;
        }

        .scanner-budget-total-row strong {
            color: #2f3e58;
            font-size: 0.9rem;
        }

        .scanner-budget-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 0.08rem;
        }

        .scanner-budget-copy {
            display: none;
            border: 1px solid #cfd6e2;
            background: #ffffff;
            color: #2f3e58;
            border-radius: 6px;
            width: 32px;
            height: 32px;
            padding: 0;
            font-size: 0.74rem;
            font-weight: 700;
            cursor: pointer;
        }

        .scanner-budget-clear {
            border: 1px solid #cfd6e2;
            background: #ffffff;
            color: #2f3e58;
            border-radius: 6px;
            padding: 0.34rem 0.6rem;
            font-size: 0.74rem;
            font-weight: 700;
            cursor: pointer;
        }

        .sidebar-categories h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: #000000;
            border-left: 4px solid #FFEC00;
            padding-left: 12px;
            margin-bottom: 1rem;
        }

        .categories-list {
            list-style: none;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            gap: 0.75rem;
            margin: 0;
            padding: 0;
            overflow-x: auto;
            scroll-behavior: smooth;
            flex: 1;
            justify-content: flex-start;
            min-width: 0;
        }

        .categories-list li {
            white-space: nowrap;
            flex: 0 0 auto;
            cursor: pointer;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            transition: background 0.3s;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .categories-list li::after {
            content: "\f078";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-left: 0.1rem;
            font-size: 0.8rem;
            opacity: 0.85;
            transition: transform 0.22s ease, opacity 0.22s ease;
        }

        .categories-list li:hover {
            background: #f0f0f0;
        }

        .categories-list li.active {
            background: #185aff;
            color: #ffffff;
        }

        .categories-list li.active {
            background: #ffffff;
            color: #002FA4;
            font-weight: 700;
            transform: none;
        }

        .categories-list li.active::after {
            content: "\f077";
            opacity: 1;
        }

        .categories-list li.view-all-btn::after {
            content: "";
        }

        .subcategory-panel {
            display: flex;
            gap: 0.45rem;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            position: relative;
            margin-top: 0;
            padding: 0 2.1rem 0 0.55rem;
            border-radius: 14px;
            background: linear-gradient(135deg, #1a4fd6 0%, #2f6fff 100%);
            border: 1px solid #0e2f7a;
            max-height: 0;
            opacity: 0;
            transform: translateY(-8px) scale(0.98);
            overflow: hidden;
            pointer-events: none;
            transition: max-height 0.3s ease, opacity 0.22s ease, transform 0.22s ease, margin-top 0.22s ease, padding 0.22s ease;
        }

        .subcategory-panel.show {
            max-height: 260px;
            opacity: 1;
            transform: translateY(0) scale(1);
            margin-top: 0.45rem;
            padding: 0.58rem 2.1rem 0.58rem 0.58rem;
            pointer-events: auto;
        }

        .subcategory-panel.hiding {
            max-height: 0;
            opacity: 0;
            transform: translateY(-8px) scale(0.98);
            margin-top: 0;
            padding-top: 0;
            padding-bottom: 0;
            pointer-events: none;
        }

        .subcategory-close-btn {
            position: absolute;
            top: 50%;
            right: 0.5rem;
            transform: translateY(-50%);
            width: 22px;
            height: 22px;
            border: 1px solid rgba(255, 255, 255, 0.55);
            border-radius: 999px;
            background: transparent;
            color: #ffffff;
            font-size: 1rem;
            font-weight: 500;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: opacity 0.18s ease;
        }

        .subcategory-close-btn:hover {
            opacity: 0.75;
        }

        .subcategory-chip {
            border: 1px solid #d7e3ff;
            background: #ffffff;
            color: #1243bd;
            border-radius: 999px;
            padding: 0.38rem 0.74rem;
            font-size: 0.78rem;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(18, 67, 189, 0.12);
            transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
        }

        .subcategory-chip:hover {
            background: #f7faff;
            color: #1243bd;
            border-color: #b7ccff;
            transform: translateY(-1px);
            box-shadow: 0 5px 10px rgba(18, 67, 189, 0.18);
        }

        .subcategory-chip.active {
            background: #1243bd;
            color: #ffffff;
            border-color: #1243bd;
            box-shadow: 0 6px 12px rgba(18, 67, 189, 0.28);
        }

        /* zona de productos */
        .products-area {
            flex: 1;
            padding: 0.5rem 2rem;
            background: #ffffff;
        }

        .category-warning {
            position: relative;
            margin: 0.2rem auto 0.6rem;
            max-width: 980px;
            background: #fff4d6;
            border: 1px solid #f2cf74;
            color: #6c4b00;
            border-radius: 12px;
            padding: 0.65rem 2.05rem 0.65rem 0.9rem;
            font-size: 0.88rem;
            line-height: 1.45;
            text-align: center;
            font-weight: 600;
        }

        .category-warning-dramatic {
            position: relative;
            margin: -0.25rem auto 0.7rem;
            max-width: 860px;
            width: min(94%, 860px);
            background: #f6e3e3;
            border: 1px solid #d7b0b0;
            color: #6f3e3e;
            border-radius: 12px;
            padding: 0.72rem 2.05rem 0.72rem 0.9rem;
            font-size: 0.87rem;
            line-height: 1.45;
            text-align: center;
            font-weight: 600;
        }

        .app-download-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(8, 21, 52, 0.48);
            z-index: 1690;
            display: none;
        }

        .app-download-backdrop.show {
            display: block;
        }

        .app-download-banner {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: min(520px, calc(100vw - 1.2rem));
            max-width: 520px;
            border: 1px solid #c9d9ff;
            border-radius: 0;
            background: #f4f8ff;
            color: #153a86;
            padding: 0.65rem 2rem 0.65rem 0.85rem;
            display: none;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            z-index: 1700;
        }

        .app-download-banner.show {
            display: flex;
        }

        .app-download-banner-media {
            width: 78px;
            height: auto;
            object-fit: contain;
            flex: 0 0 auto;
            border-radius: 8px;
            border: 1px solid #d4e1ff;
            background: #ffffff;
            padding: 0.15rem;
        }

        .app-download-banner-copy {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
            flex: 1;
            min-width: 0;
        }

        .app-download-banner-title {
            margin: 0;
            font-size: 0.95rem;
            font-weight: 800;
            line-height: 1.2;
        }

        .app-download-banner-desc {
            margin: 0;
            font-size: 0.82rem;
            color: #3b5180;
            line-height: 1.35;
        }

        .app-download-banner-link {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            width: fit-content;
            align-self: flex-end;
            margin-top: 0.2rem;
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 700;
            color: #1243bd;
            border: 1px solid #b9ccfb;
            background: #ffffff;
            border-radius: 999px;
            padding: 0.3rem 0.65rem;
            cursor: pointer;
        }

        .app-download-banner-link:hover {
            background: #eef4ff;
        }

        .app-download-banner-link.is-disabled,
        .app-download-banner-link:disabled {
            color: #7a8397;
            border-color: #d6dbe6;
            background: #f1f3f7;
            cursor: not-allowed;
            pointer-events: none;
        }

        .dismiss-message-btn {
            position: absolute;
            top: 0.4rem;
            right: 0.45rem;
            border: none;
            background: transparent;
            color: inherit;
            font-size: 1rem;
            font-weight: 700;
            line-height: 1;
            cursor: pointer;
            opacity: 0.75;
            padding: 0.1rem 0.2rem;
        }

        .dismiss-message-btn:hover {
            opacity: 1;
        }

        .search-bar {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 0.2rem;
            background: transparent;
            padding: 0;
            border-radius: 0;
            box-shadow: none;
        }

        .search-box {
            display: flex;
            align-items: center;
            gap: 6px;
            background: #ffffff;
            padding: 0.4rem 1rem;
            border-radius: 40px;
            flex: 1;
            max-width: 820px;
            border: 2px solid #002FA4;
            box-shadow: 0 0 0 0 #002FA4;
            transition: box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .search-box input {
            border: none;
            background: #ffffff;
            padding: 0.75rem 0;
            font-size: 1rem;
            width: 100%;
            outline: none;
            font-weight: 400;
        }

        .pagination-controls {
            display: flex;
            gap: 0;
            flex-wrap: wrap;
            justify-content: center;
            margin: 0.9rem 0 1rem;
        }

        .brand-carousel-segment {
            display: grid;
            grid-template-columns: 30px minmax(0, 1fr) 30px;
            align-items: center;
            gap: 0.18rem;
            margin: 0.2rem auto 0.55rem;
            padding: 0.2rem 0.42rem;
            width: min(920px, calc(100% - 1.2rem));
            border: 1px solid #d9e4f6;
            border-radius: 10px;
            background: #f8fbff;
        }

        .brand-carousel-arrow {
            width: 28px;
            height: 28px;
            border: none;
            border-radius: 999px;
            background: transparent;
            color: #90a2c9;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease, color 0.2s ease;
        }

        .brand-carousel-arrow:hover {
            background: transparent;
            color: #90a2c9;
        }

        .brand-carousel-arrow:disabled {
            opacity: 0.35;
            cursor: default;
            pointer-events: none;
        }

        .brand-carousel-track {
            display: flex;
            justify-content: center;
            gap: 0.55rem;
            align-items: center;
            flex-wrap: nowrap;
        }

        .brand-carousel-item {
            border: 0;
            background: transparent;
            padding: 0.06rem;
            border-radius: 6px;
            cursor: pointer;
            width: 98px;
            min-width: 98px;
            display: grid;
            gap: 0.08rem;
            justify-items: center;
            transition: none;
        }

        .brand-carousel-item.is-active {
            background: transparent;
        }

        .brand-carousel-logo-wrap {
            width: 88px;
            aspect-ratio: 1 / 1;
            border-radius: 6px;
            border: 1px solid #e6edf8;
            background: #ffffff;
            box-shadow: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            padding: 0.24rem;
        }

        .brand-carousel-item.is-active .brand-carousel-logo-wrap {
            border-color: #97b5f2;
            box-shadow: none;
        }

        .brand-carousel-logo {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }

        .brand-carousel-name {
            font-size: 0.67rem;
            font-weight: 600;
            letter-spacing: 0.01em;
            color: #23457f;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            width: 100%;
        }

        .brand-carousel-item.is-active .brand-carousel-name {
            color: #113a97;
            font-weight: 700;
        }

        .pagination-button-row {
            display: flex;
            gap: 0;
            flex-wrap: wrap;
            justify-content: center;
            width: 100%;
        }

        .pagination-controls button:not(.cart-icon) {
            border: 1px solid #002FA4;
            background: rgba(250, 129, 37, 0.719);
            color: #002FA4;
            border-radius: 0;
            padding: 0.35rem 0.65rem;
            cursor: pointer;
            min-width: 34px;
            font-weight: 600;
            margin-left: -1px;
        }

        .pagination-controls button:not(.cart-icon):first-child {
            margin-left: 0;
        }

        .pagination-controls button:not(.cart-icon):first-child {
            border-top-left-radius: 8px;
            border-bottom-left-radius: 8px;
        }

        .pagination-controls button:not(.cart-icon):last-of-type {
            border-top-right-radius: 8px;
            border-bottom-right-radius: 8px;
        }

        .pagination-controls .cart-icon {
            margin-left: 0.5rem;
        }

        #paginationBottom {
            row-gap: 0.55rem;
        }

        #paginationBottom .cart-icon {
            margin-left: 0;
        }

        @media (min-width: 769px) {
            #paginationBottom {
                justify-content: center;
                align-items: center;
                padding-right: 0;
                min-height: auto;
            }

            #paginationBottom .cart-icon {
                margin: 0.15rem auto 0;
                margin-left: auto;
                margin-right: auto;
                width: auto;
                min-width: 112px;
                height: 54px;
                padding: 0 1rem;
                border-radius: 12px;
                justify-content: center;
                flex-direction: row;
                gap: 0.45rem;
                flex: 0 0 auto;
            }

            #paginationBottom .cart-icon i {
                font-size: 1.2rem;
                line-height: 1;
            }

            #paginationBottom .cart-icon:hover {
                transform: scale(1.08);
            }
        }

        .pagination-controls button:not(.cart-icon).active,
        .pagination-controls button:not(.cart-icon):hover {
            background: rgba(250, 129, 37, 0.856);
            border-color: #002FA4;
            color: #002FA4;
        }

        .pagination-controls button:not(.cart-icon)[disabled] {
            opacity: 0.45;
            cursor: not-allowed;
        }

        .search-box {
            display: flex;
            align-items: center;
            gap: 1px;
            background: #ffffff;
            padding: 0.4rem 1rem;
            border-radius: 40px;
            flex: 1;
            max-width: 620px;
            position: relative;
            border: 2px solid #002FA4;
            box-shadow: 0 0 0 0 #002FA4;
            transition: box-shadow 0.2s ease, border-color 0.2s ease;
        }

        .search-box:hover {
            border-color: #002FA4;
            box-shadow: 0 0 0 0 #002FA4;
        }

        .search-box:focus-within {
            border-color: #002FA4;
            box-shadow: 0 0 0 0 #002FA4;
        }

        .search-box i {
            color: #000000;
        }

        .search-box input {
            border: none;
            background: #ffffff;
            padding: 0.6rem 0;
            font-size: 0.9rem;
            width: 100%;
            outline: none;
            font-weight: 400;
        }

        .search-suggestions {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            right: 0;
            z-index: 160;
            background: #ffffff;
            border: 1px solid #d8e2f5;
            border-radius: 16px;
            box-shadow: 0 12px 24px rgba(10, 33, 88, 0.16);
            max-height: 320px;
            overflow-y: auto;
            padding: 0.35rem;
        }

        .search-suggestion-item {
            width: 100%;
            border: 1px solid transparent;
            background: #ffffff;
            border-radius: 12px;
            text-align: left;
            display: grid;
            gap: 0.08rem;
            padding: 0.5rem 0.6rem;
            cursor: pointer;
            transition: background 0.16s ease, border-color 0.16s ease;
        }

        .search-suggestion-item:hover,
        .search-suggestion-item:focus-visible {
            background: #f4f8ff;
            border-color: #b8cefb;
            outline: none;
        }

        .search-suggestion-code {
            color: #0f3a95;
            font-size: 0.8rem;
            font-weight: 800;
            line-height: 1.15;
        }

        .search-suggestion-name {
            color: #33466f;
            font-size: 0.75rem;
            line-height: 1.2;
        }

        .active-filters-text {
            margin: 0.15rem 0 0.45rem;
            font-size: 0.8rem;
            color: #3d4f78;
            text-align: center;
            display: none;
        }

        .clear-filter-btn {
            border: 1px solid #b8c2d8;
            background: #f5f7fb;
            color: #1e2b4a;
            border-radius: 0;
            height: 34px;
            padding: 0 0.55rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.15s ease, border-color 0.15s ease;
            flex: 0 0 auto;
            align-self: center;
            font-size: 0.78rem;
            font-weight: 600;
            white-space: nowrap;
        }

        .clear-filter-btn:hover {
            background: #e9eef8;
            border-color: #9fb0d4;
        }

        .clear-filter-btn-mobile {
            display: none;
        }

        .cart-icon {
            background: #1243bd;
            padding: 0.5rem 1rem;
            border-radius: 40px;
            color: #ffffff;
            text-decoration: none;
            border: none;
            appearance: none;
            -webkit-appearance: none;
            font-family: inherit;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
        }

        .cart-icon:hover {
            transform: scale(1.08);
            box-shadow: 0 10px 18px rgba(18, 67, 189, 0.24);
        }

        .cart-icon i {
            font-size: 1.2rem;
        }

        #openCartBtn,
        #openCartBtn:hover,
        #openCartBtn:active,
        #openCartBtn:focus,
        #openCartBtn:focus-visible {
            border: none;
            outline: none;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            gap: 1.8rem;
        }

        .product-card {
            background: #ffefcc;
            border-radius: 24px;
            overflow: hidden;
            transition: all 0.25s ease;
            box-shadow: 0 5px 12px rgba(0,0,0,0.05);
            border: 1px solid #eef2f6;
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 25px -12px rgba(0,0,0,0.15);
            border-color: #000000;
        }

        .product-img-placeholder {
            background: #ffffff;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #000000;
            font-size: 2.8rem;
            cursor: pointer;
            position: relative;
        }

        .product-favorite-btn {
            position: absolute;
            left: 10px;
            bottom: 10px;
            width: 34px;
            height: 34px;
            border: none;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.96);
            color: #2158c9;
            box-shadow: 0 4px 10px rgba(15, 31, 58, 0.16);
            cursor: pointer;
            z-index: 2;
        }

        .product-favorite-btn.is-active {
            background: #2158c9;
            color: #ffffff;
        }

        .product-favorite-btn i {
            font-size: 0.95rem;
            pointer-events: none;
        }

        .product-img-placeholder:hover {
            opacity: 0.95;
        }

        .product-detail-view {
            position: fixed;
            inset: 0;
            z-index: 1500;
            background: rgba(255, 255, 255, 0.98);
            display: grid;
            place-items: center;
            padding: 1rem;
            overflow: hidden;
        }

        .product-detail-view.hidden {
            display: none;
        }

        .detail-card {
            width: min(1020px, 95vw);
            max-height: calc(100vh - 2rem);
            margin: auto;
            background: #ffffff;
            border-radius: 0;
            border: 2px solid #1243bd;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
            overflow-y: auto;
            animation: fadeIn 0.3s ease;
        }

        .detail-header {
            display: flex;
            justify-content: flex-end;
            padding: 1rem 1.5rem 0 1.5rem;
        }

        .back-to-list-btn {
            background: transparent;
            border: 1px solid #002FA4;
            color: #002FA4;
            border-radius: 999px;
            padding: 0.65rem 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s ease, transform 0.2s ease;
        }

        .detail-footer {
            margin-top: 0.05rem;
            display: flex;
            justify-content: center;
        }

        .back-to-list-btn:hover {
            background: #F0F4FF;
            transform: translateY(-1px);
        }

        .detail-content {
            display: flex;
            gap: 2rem;
            padding: 1.5rem 2rem 2rem;
            align-items: stretch;
        }

        .detail-image-wrap {
            flex: 1;
            min-width: 0;
            position: relative;
        }

        .detail-favorite-btn {
            position: static;
            width: auto;
            height: auto;
            min-height: 38px;
            margin-top: 0.75rem;
            padding: 0.55rem 0.9rem;
            border-radius: 999px;
            justify-self: flex-start;
            gap: 0.45rem;
            font-weight: 700;
        }

        .detail-favorite-btn span {
            display: inline;
            font-size: 0.86rem;
            line-height: 1;
        }

        .detail-image {
            flex: 1;
            min-height: 420px;
            border-radius: 0;
            background-color: #ffffff;
            background-image:
                linear-gradient(#d4dce7, #d4dce7),
                linear-gradient(#d4dce7, #d4dce7),
                linear-gradient(#d4dce7, #d4dce7),
                linear-gradient(#d4dce7, #d4dce7),
                linear-gradient(#d4dce7, #d4dce7),
                linear-gradient(#d4dce7, #d4dce7),
                linear-gradient(#d4dce7, #d4dce7),
                linear-gradient(#d4dce7, #d4dce7);
            background-size:
                14px 2px,
                2px 14px,
                14px 2px,
                2px 14px,
                14px 2px,
                2px 14px,
                14px 2px,
                2px 14px;
            background-position:
                left 10px top 10px,
                left 10px top 10px,
                right 10px top 10px,
                right 10px top 10px,
                left 10px bottom 10px,
                left 10px bottom 10px,
                right 10px bottom 10px,
                right 10px bottom 10px;
            background-repeat: no-repeat;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        .detail-image img {
            max-width: 400px;
            max-height: 400px;
            width: auto;
            height: auto;
            object-fit: contain;
            object-position: center;
            display: block;
            margin: auto;
            transform-origin: center center;
        }

        @media (min-width: 901px) {
            .detail-image-wrap {
                display: flex;
                align-items: stretch;
            }

            .detail-image {
                width: 100%;
                flex: 1 1 auto;
                min-height: 0;
                height: auto;
            }
        }

        .detail-image-expand-btn {
            display: none;
            position: static;
            border: 1px solid #1243bd;
            background: #f5f8ff;
            color: #1243bd;
            border-radius: 999px;
            align-items: center;
            justify-content: center;
            gap: 0;
            width: 2rem;
            height: 2rem;
            min-width: 2rem;
            padding: 0;
            font-size: 0.82rem;
            font-weight: 700;
            line-height: 1;
            cursor: pointer;
            box-shadow: none;
            align-self: center;
            margin: 0;
            flex: 0 0 auto;
            touch-action: manipulation;
            -webkit-tap-highlight-color: transparent;
        }

        .detail-image-expand-btn i {
            line-height: 1;
        }

        .detail-image-expand-btn:hover {
            background: #eaf1ff;
            color: #0e328f;
        }

        .detail-image-modal {
            --detail-image-modal-pad: 0.9rem;
            border: none;
            padding: var(--detail-image-modal-pad);
            background: transparent;
            width: min(96vw, 820px);
            max-width: 96vw;
            max-height: 92dvh;
            overflow: visible;
            box-sizing: border-box;
        }

        .detail-image-modal[open] {
            margin: 0;
            inset: 0;
            width: 100vw;
            max-width: 100vw;
            height: 100dvh;
            max-height: 100dvh;
            padding: var(--detail-image-modal-pad);
            display: grid;
            place-items: center;
        }

        .detail-image-modal::backdrop {
            background: rgba(8, 15, 34, 0.9);
        }

        .detail-image-modal img {
            display: block;
            max-width: calc(100vw - (var(--detail-image-modal-pad) * 2));
            max-height: calc(100dvh - (var(--detail-image-modal-pad) * 2));
            width: auto;
            height: auto;
            object-fit: contain;
            margin: 0 auto;
            justify-self: center;
            align-self: center;
        }

        .detail-image-modal-close {
            position: fixed;
            top: 0.5rem;
            right: 0.6rem;
            width: 2.1rem;
            height: 2.1rem;
            border: 1px solid rgba(255, 255, 255, 0.65);
            background: rgba(255, 255, 255, 0.12);
            color: #ffffff;
            border-radius: 999px;
            font-size: 1.2rem;
            line-height: 1;
            cursor: pointer;
            z-index: 2201;
        }

        .back-to-list-btn-mobile {
            display: inline-flex;
            align-items: center;
            gap: 0.32rem;
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            z-index: 12;
            width: auto;
            justify-content: center;
            padding: 0.42rem 0.66rem;
            font-size: 0.72rem;
            background: rgba(255, 255, 255, 0.98);
            border-color: #1243bd;
            box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14);
        }

        img[data-image-state] {
            transition: opacity 0.2s ease, transform 0.2s ease;
        }

        img[data-image-state="placeholder"],
        img[data-image-state="fallback"] {
            opacity: 0.48;
            transform: scale(0.78);
            transform-origin: center;
        }

        img[data-image-state="loaded"] {
            opacity: 1;
            transform: none;
        }

        .detail-info {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .detail-info h2 {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            color: #001F7A;
        }

        .detail-info p {
            color: #333333;
            line-height: 1.65;
            margin-bottom: 1rem;
        }

        .detail-specs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1.2rem;
        }

        .detail-specs div {
            background: #F8FCFF;
            border-radius: 18px;
            padding: 0.9rem 1rem;
            font-size: 0.95rem;
            color: #000000;
        }

        .detail-price {
            font-size: 2rem;
            font-weight: 800;
            color: #FF7000;
        }

        .detail-add-btn {
            background: #fa8125;
            color: #000000;
            border: none;
            padding: 1rem 1.4rem;
            border-radius: 36px;
            font-weight: 700;
            width: fit-content;
            cursor: pointer;
            transition: background 0.2s ease, transform 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
        }

        .detail-actions {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.55rem;
            flex-wrap: wrap;
        }

        .detail-actions .detail-add-btn,
        .detail-actions .detail-consult-btn,
        .detail-actions .detail-buy-now-btn {
            height: 44px;
            min-width: 190px;
            justify-content: center;
        }

        .detail-consult-btn {
            border-radius: 36px;
            font-size: 0.9rem;
            font-weight: 800;
            padding: 0 1rem;
            width: auto;
            min-width: 190px;
            line-height: 1;
            text-align: center;
            justify-content: center;
            align-items: center;
            gap: 0.42rem;
        }

        .detail-consult-btn i {
            font-size: 1rem;
            line-height: 1;
        }

        .detail-buy-now-btn {
            border-radius: 36px;
            font-size: 1rem;
            font-weight: 800;
            padding: 0 1rem;
            width: auto;
            min-width: 190px;
            line-height: normal;
            text-align: center;
            justify-content: center;
            align-items: center;
            gap: 0.42rem;
        }

        .detail-buy-now-btn i {
            font-size: 1rem;
            line-height: 1;
        }


        .detail-price-row-centered {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            width: 100%;
        }

        .detail-price-row-centered .quantity-control {
            align-self: center;
            margin-left: auto;
            margin-right: auto;
        }

        .detail-add-btn:hover {
            background: #FFEC00;
        }

        @media (max-width: 900px) {
            .detail-content {
                flex-direction: column;
            }

            .detail-info {
                align-items: center;
            }

            .detail-info .quantity-control {
                align-self: center;
            }

            .detail-price {
                width: 100%;
                text-align: center;
            }

            .detail-actions {
                width: 100%;
                justify-content: center;
            }

            .detail-image {
                min-height: 300px;
            }
        }

        .product-info {
            padding: 1rem 1rem 1.2rem;
            text-align: center;
            display: flex;
            flex-direction: column;
            flex: 1;
            align-items: center;
        }

        .product-code {
            font-size: 0.75rem;
            font-weight: 600;
            color: #000000;
            background: #ffffff;
            display: inline-block;
            padding: 0.2rem 0.6rem;
            border-radius: 20px;
            border: 1px solid #cfd8e6;
            width: fit-content;
            max-width: 100%;
            overflow-wrap: anywhere;
            margin-bottom: 0.6rem;
            margin-left: auto;
            margin-right: auto;
        }

        .detail-code-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.35rem;
            flex-wrap: wrap;
            margin-bottom: 0.35rem;
        }

        .detail-code-row .product-code {
            margin-bottom: 0;
            margin-left: 0;
            margin-right: 0;
            text-align: center;
        }

        .product-title {
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 0.4rem;
            color: #000000;
            line-height: 1.3;
        }

        .product-desc {
            font-size: 0.8rem;
            color: #000000;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            flex-wrap: wrap;
            width: 100%;
        }

        .badge-pack {
            background: #ffffff;
            padding: 0.2rem 0.5rem;
            border-radius: 16px;
            font-size: 0.7rem;
            font-weight: 500;
        }

        .product-price {
            position: absolute;
            top: 10px;
            right: 2px;
            font-size: 0.94rem;
            font-weight: 700;
            color: #FF0000;
            background: #ffffff;
            padding: 0.26rem 0.52rem;
            border-radius: 20px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .product-price-bs {
            position: absolute;
            left: 10px;
            top: 10px;
            font-size: 0.64rem;
            font-weight: 700;
            color: rgba(31, 78, 180, 0.82);
            background: rgba(255, 255, 255, 0.72);
            padding: 0.22rem 0.46rem;
            border-radius: 14px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .badge-brand {
            background: #f3f6fb;
            color: #35528f;
            border: 1px solid rgba(53, 82, 143, 0.18);
            padding: 0.16rem 0.42rem;
            border-radius: 0;
            font-size: 0.66rem;
            font-weight: 700;
            text-transform: uppercase;
        }

        .stock-badge {
            position: absolute;
            right: 4px;
            bottom: 10px;
            font-size: 0.72rem;
            font-weight: 700;
            color: #ffffff;
            padding: 0.28rem 0.55rem;
            border-radius: 14px;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
            text-align: center;
            opacity: 1;
        }

        .stock-available {
            background: rgba(46, 175, 83, 0.85);
        }

        .stock-out {
            background: rgba(217, 48, 37, 0.85);
        }

        .stock-check {
            background: #f39c12;
            color: #000000;
            font-size: 0.66rem;
            padding: 0.22rem 0.45rem;
        }

        .product-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
            gap: 0.6rem;
            width: 100%;
            min-width: 0;
        }

        .card-actions {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.35rem;
            min-width: 0;
            width: min(110px, 100%);
            margin-left: auto;
            flex: 0 1 auto;
        }

        .quantity-control {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #ffffff;
            border-radius: 32px;
            padding: 0.2rem 0.5rem;
            margin-left: 0;
            margin-right: auto;
            flex: 0 0 auto;
        }

        .qty-btn {
            background: #ffffff;
            border: none;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            font-weight: bold;
            font-size: 1.2rem;
            cursor: pointer;
            transition: 0.1s;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            color: #000000;
        }

        .qty-btn:active {
            transform: scale(0.96);
        }

        #detailDecrBtn,
        #detailIncrBtn {
            background: #ffffff;
            color: #1243bd;
            border: 1px solid #1243bd;
            width: 32px;
            height: 32px;
            font-size: 1.05rem;
            box-shadow: none;
        }

        #detailDecrBtn:hover,
        #detailIncrBtn:hover {
            background: #f2f5ff;
            color: #0e328f;
            transform: none;
        }

        .qty-value {
            font-weight: 600;
            min-width: 24px;
            text-align: center;
            font-size: 0.9rem;
        }

        .add-cart-btn {
            background: #fa8125;
            border: none;
            color: #000000;
            padding: 0 1rem;
            border-radius: 32px;
            font-weight: 500;
            font-size: 0.75rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            cursor: pointer;
            transition: 0.2s;
            height: 28px;
            min-width: 0;
            width: 100%;
            max-width: 110px;
            box-sizing: border-box;
        }

        .add-cart-btn:hover {
            background: #FFEC00;
            color: #000000;
        }

        .add-cart-btn:disabled {
            background: #dddddd;
            color: #777777;
            cursor: not-allowed;
        }

        .consult-btn {
            background: #25D366;
            border: none;
            color: #ffffff;
            padding: 0 0.85rem;
            border-radius: 24px;
            font-weight: 600;
            font-size: 0.72rem;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            height: 28px;
            min-width: 0;
            width: 100%;
            max-width: 110px;
            box-sizing: border-box;
        }

        .detail-add-btn:disabled {
            background: #dddddd;
            color: #777777;
            cursor: not-allowed;
            transform: none;
        }

        .consult-btn:hover {
            background: #1fa955;
        }

        .buy-now-btn {
            background: #25D366;
            border: none;
            color: #ffffff;
            padding: 0 0.75rem;
            border-radius: 24px;
            font-weight: 700;
            font-size: 0.68rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            cursor: pointer;
            transition: 0.2s;
            height: 28px;
            min-width: 0;
            width: 100%;
            max-width: 110px;
            box-sizing: border-box;
        }

        .buy-now-btn:hover {
            background: #1fa955;
        }

        .buy-now-btn:disabled {
            background: #dddddd;
            color: #777777;
            cursor: not-allowed;
        }

        .realizar-pedido-btn {
            background: #2ecc71;
            color: #ffffff;
            border: none;
            border-radius: 40px;
            padding: 1rem 1.2rem;
            font-weight: 700;
            cursor: pointer;
            width: 100%;
            transition: background 0.2s ease, transform 0.2s ease;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .realizar-pedido-btn:hover {
            background: #27ae60;
            transform: translateY(-1px);
        }

        .realizar-pedido-btn:disabled {
            background: #cccccc;
            cursor: not-allowed;
            transform: none;
        }

        .pedido-modal-card {
            background: white;
            max-width: 500px;
            width: 90%;
            padding: 2rem;
            border-radius: 20px;
            position: relative;
        }

        .pedido-modal-close {
            position: absolute;
            top: 0.65rem;
            right: 0.75rem;
            border: none;
            background: transparent;
            color: #344054;
            font-size: 1.45rem;
            line-height: 1;
            cursor: pointer;
            padding: 0.15rem 0.25rem;
        }

        .pedido-modal-title {
            text-align: center;
            font-size: 1.5rem;
            margin-bottom: 0.75rem;
        }

        .pedido-modal-or {
            text-align: center;
            font-size: 1rem;
            font-weight: 700;
            color: #4a4a4a;
            margin-bottom: 1rem;
        }

        .pedido-copy-btn {
            background: #007bff;
            color: white;
            padding: 0.8rem;
            border: none;
            border-radius: 10px;
            width: 100%;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .pedido-copy-help {
            font-size: 0.9rem;
            color: #333;
            margin-bottom: 1rem;
            text-align: center;
        }

        .pedido-form-field {
            width: 100%;
            margin-bottom: 1rem;
            padding: 0.8rem;
            border: 1px solid #cfd6e2;
            border-radius: 0;
            background: #ffffff;
            color: #1f2d4d;
            box-sizing: border-box;
            appearance: none;
            -webkit-appearance: none;
            box-shadow: inset 0 -1px 0 rgba(207, 214, 226, 0.32);
        }

        textarea.pedido-form-field {
            resize: none;
            overflow-y: auto;
        }

        .pedido-form-field:focus {
            outline: none;
            border-color: #7aa2ff;
            box-shadow: 0 0 0 3px rgba(24, 90, 255, 0.12);
        }

        .pedido-whatsapp-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            padding: 0.95rem 1rem;
            border: 1px solid #0f8a4e;
            border-radius: 12px;
            width: 100%;
            font-weight: 700;
            font-size: 1rem;
            font-family: inherit;
            line-height: 1.2;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            cursor: pointer;
            background: #1dbf73;
            color: #ffffff;
            margin-bottom: 1rem;
            transition: background-color 0.2s ease, transform 0.2s ease;
        }

        .pedido-whatsapp-btn i {
            font-size: 1.35rem;
        }

        .pedido-whatsapp-btn:hover {
            transform: none;
            background: #1dbf73;
        }

        .pedido-whatsapp-btn:focus-visible {
            outline: 2px solid rgba(29, 191, 115, 0.35);
            outline-offset: 2px;
        }

        .pedido-whatsapp-btn:active {
            transform: translateY(0);
            background: #14965a;
        }

        .pedido-divider {
            margin: 0.75rem 0;
            text-align: center;
            font-size: 0.9rem;
            font-weight: 700;
            color: #5a5a5a;
        }

        .pedido-alt-btn {
            background: #f2f4f7;
            color: #344054;
            padding: 0.8rem;
            border: 1px solid #d0d5dd;
            border-radius: 10px;
            width: 100%;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
        }

        #completarViaWebBtn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            background: #1f2937;
            color: #f8fafc;
            padding: 0.95rem 1rem;
            border: 1px solid #111827;
            border-radius: 12px;
            width: 100%;
            font-weight: 700;
            font-size: 1rem;
            font-family: inherit;
            line-height: 1.2;
            text-transform: uppercase;
            letter-spacing: 0.02em;
            cursor: pointer;
            margin-bottom: 0.15rem;
            transition: background-color 0.2s ease, transform 0.2s ease;
        }

        #completarViaWebBtn i {
            font-size: 1.35rem;
        }

        #completarViaWebBtn:hover {
            transform: none;
            background: #1f2937;
        }

        #completarViaWebBtn:focus-visible {
            outline: 2px solid rgba(31, 41, 55, 0.35);
            outline-offset: 2px;
        }

        #completarViaWebBtn:active {
            transform: translateY(0);
            background: #18202c;
        }

        .pedido-alt-help {
            margin-top: 0.6rem;
            margin-bottom: 0;
            text-align: center;
            font-size: 0.82rem;
            color: #666;
        }

        .pedido-confirm-modal {
            background: white;
            max-width: 420px;
            width: 90%;
            padding: 1.75rem;
            border-radius: 20px;
            text-align: center;
        }

        .pedido-confirm-title {
            margin: 0 0 0.85rem;
            font-size: 1.3rem;
            color: #173f99;
        }

        .pedido-confirm-copy {
            margin: 0 0 1.2rem;
            color: #4a4a4a;
            line-height: 1.45;
        }

        .pedido-confirm-actions {
            display: grid;
            gap: 0.75rem;
        }

        .pedido-confirm-yes,
        .pedido-confirm-no {
            width: 100%;
            border-radius: 10px;
            padding: 0.85rem 1rem;
            cursor: pointer;
            font-weight: 700;
        }

        .pedido-confirm-yes {
            border: none;
            background: #185aff;
            color: #ffffff;
        }

        .pedido-confirm-no {
            border: 1px solid #d0d5dd;
            background: #f7f8fa;
            color: #344054;
        }

        .loyalty-points-modal {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.58);
            z-index: 2300;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
        }

        .loyalty-points-modal[hidden] {
            display: none !important;
        }

        .loyalty-points-card {
            width: min(500px, 100%);
            background: #ffffff;
            border: 1px solid #d7e3fb;
            border-radius: 20px;
            box-shadow: 0 18px 40px rgba(10, 30, 70, 0.22);
            padding: 1.4rem 1.15rem 1rem;
            position: relative;
            color: #1c315f;
            display: grid;
            gap: 0.7rem;
            text-align: center;
        }

        .loyalty-points-card h3 {
            margin: 0;
            font-size: 1.35rem;
            color: #173f99;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .loyalty-points-card h3 i {
            font-size: 1rem;
            color: #185aff;
        }

        .loyalty-points-help {
            margin: 0;
            font-size: 0.86rem;
            color: #667085;
            max-width: 30ch;
            justify-self: center;
            line-height: 1.45;
        }

        .loyalty-points-grid {
            display: grid;
            gap: 0.55rem;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            border-top: 1px solid #e6edf8;
            padding-top: 0.8rem;
            font-size: 0.9rem;
            text-align: left;
        }

        .loyalty-points-grid > div {
            padding: 0.8rem 0.85rem;
            border-radius: 14px;
            background: #f7faff;
            border: 1px solid #dce7f9;
            display: grid;
            gap: 0.18rem;
        }

        .loyalty-points-grid strong {
            color: #274b8c;
            font-size: 0.78rem;
            letter-spacing: 0.02em;
        }

        .loyalty-points-grid span {
            font-size: 0.98rem;
            font-weight: 700;
            color: #101828;
        }

        .loyalty-points-close {
            position: absolute;
            right: 0.75rem;
            top: 0.7rem;
            border: none;
            background: transparent;
            color: #475467;
            font-size: 1.45rem;
            line-height: 1;
            cursor: pointer;
            padding: 0.2rem 0.3rem;
        }

        .loyalty-points-close:hover {
            color: #173f99;
        }

        .loyalty-points-footer-note {
            margin-top: 0.15rem;
            color: #185aff;
            font-size: 0.88rem;
            font-weight: 700;
            user-select: none;
        }

        @media (max-width: 560px) {
            .loyalty-points-card {
                padding: 1rem 1rem 0.95rem;
                border-radius: 20px;
            }

            .loyalty-points-grid {
                grid-template-columns: minmax(0, 1fr);
            }
        }

        .promo-product-card {
            min-height: 100%;
            background: rgba(215, 230, 255, 0.78);
            border: 1px solid rgba(120, 162, 230, 0.35);
        }

        .promo-product-card .product-img-placeholder {
            background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
            height: 220px;
            padding: 1rem;
            cursor: default;
        }

        .promo-product-card .product-img-placeholder img {
            max-width: 100%;
            max-height: 165px;
            object-fit: contain;
        }

        .promo-product-app-card .product-img-placeholder {
            height: 220px;
            padding: 0.7rem;
        }

        .promo-product-app-card .product-img-placeholder img {
            max-height: 165px;
        }

        .promo-product-card .product-info {
            gap: 0.2rem;
        }

        .promo-product-card .product-title {
            min-height: 0;
            margin-bottom: 0.15rem;
        }

        .promo-product-card .product-desc {
            margin-bottom: 0.55rem;
            font-size: 0.78rem;
            line-height: 1.35;
        }

        .promo-product-chip {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 28px;
            padding: 0.3rem 0.75rem;
            border: 1px solid #cfd8e6;
            background: #ffffff;
            color: #1243bd;
            font-size: 0.72rem;
            font-weight: 700;
            text-transform: uppercase;
        }

        .promo-product-wa-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 108px;
            height: 34px;
            border: 1px solid #25d366;
            background: #25d366;
            color: #ffffff;
            text-decoration: none;
            font-size: 1.05rem;
            border-radius: 999px;
        }

        .promo-product-wa-btn:hover {
            background: #1fb657;
            border-color: #1fb657;
        }

        .promo-product-app-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 128px;
            height: 34px;
            border: 1px solid #1243bd;
            background: #1243bd;
            color: #ffffff;
            text-decoration: none;
            font-size: 0.76rem;
            font-weight: 700;
            border-radius: 999px;
            padding: 0 0.9rem;
            cursor: pointer;
        }

        .promo-product-app-btn:hover {
            background: #0e328f;
            border-color: #0e328f;
        }

        .promo-product-app-btn.is-disabled {
            border-color: #d6dbe6;
            background: #f1f3f7;
            color: #7a8397;
            cursor: not-allowed;
            pointer-events: none;
        }

        /* carrito funcional?? */
        .cart-sidebar {
            position: fixed;
            top: 0;
            right: -380px;
            width: 360px;
            height: 100vh;
            background: #ffffff;
            box-shadow: -5px 0 20px #000000;
            z-index: 1000;
            transition: right 0.3s ease;
            display: flex;
            flex-direction: column;
            font-family: 'Inter', sans-serif;
        }

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

        .cart-header {
            background: #ffffff;
            color: #000000;
            padding: 1.2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

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

        .cart-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px solid #edf2f7;
            font-size: 0.85rem;
        }

        .cart-item-meta {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            margin-top: 0.1rem;
        }

        .cart-total {
            padding: 0.75rem 1rem 0.45rem;
            border-top: 2px solid #FFEC00;
            font-weight: 700;
            display: flex;
            justify-content: flex-start;
            text-align: left;
        }

        .cart-total #cartTotalAmount {
            display: block;
            width: 100%;
        }

        .cart-qty-inline {
            display: inline-flex;
            align-items: center;
            gap: 0.22rem;
            margin: 0.1rem 0 0.22rem;
            font-size: 0.8rem;
            color: #2a3f72;
        }

        .cart-qty-inline i {
            font-size: 0.7rem;
            color: #7687ab;
        }

        .cart-qty-input {
            width: 38px;
            height: 24px;
            border: 1px solid #d6dce8;
            background: #ffffff;
            color: #1f2d4d;
            padding: 0.1rem 0.2rem;
            border-radius: 0;
            text-align: center;
            font-weight: 700;
            font-size: 0.74rem;
            appearance: textfield;
            -moz-appearance: textfield;
        }

        .cart-qty-input::-webkit-outer-spin-button,
        .cart-qty-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .cart-qty-input:focus {
            outline: none;
            border-color: #9aa8c4;
            box-shadow: none;
        }

        .remove-item-btn {
            background: rgba(182, 62, 62, 0.16);
            border: 1px solid rgba(144, 43, 43, 0.5);
            color: #7a2222;
            opacity: 1;
            padding: 0.14rem 0.38rem;
            border-radius: 0;
            cursor: pointer;
            font-size: 0.62rem;
            margin-top: 0;
            line-height: 1.1;
            transition: background 0.2s ease, transform 0.2s ease;
        }

        .remove-item-btn:hover {
            background: #f5f7fb;
            transform: none;
        }

        .close-cart {
            background: #ffffff;
            border: none;
            color: #000000;
            font-size: 1.4rem;
            cursor: pointer;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.65);
            visibility: hidden;
            z-index: 999;
            backdrop-filter: blur(2px);
        }

        .overlay.active {
            visibility: visible;
        }

        .profile-overlay {
            position: fixed;
            inset: 0;
            background: rgba(255, 255, 255, 0.65);
            visibility: hidden;
            z-index: 998;
            backdrop-filter: blur(2px);
        }

        .profile-overlay.active {
            visibility: visible;
        }

        .profile-sidebar {
            position: fixed;
            top: 0;
            left: -390px;
            width: 370px;
            max-width: 92vw;
            height: 100vh;
            background: linear-gradient(180deg, #f7faff 0%, #ffffff 24%);
            box-shadow: 8px 0 28px rgba(10, 33, 88, 0.18);
            z-index: 1001;
            transition: left 0.3s ease;
            display: flex;
            flex-direction: column;
            border-right: 1px solid #d9e4fb;
        }

        .profile-sidebar.open {
            left: 0;
        }

        .profile-sidebar-header {
            padding: 1rem 1rem 0.95rem;
            border-bottom: 1px solid #dce7ff;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 1.02rem;
            background: linear-gradient(130deg, #f0f6ff 0%, #ffffff 100%);
        }

        .profile-sidebar-header-title {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            min-width: 0;
            color: #123d97;
            font-size: 1.1rem;
            font-weight: 800;
        }

        .profile-sidebar-header-icon {
            font-size: 1.3rem;
            color: #1243bd;
            line-height: 1;
        }

        .profile-sidebar-body {
            padding: 0.9rem 0.95rem 1rem;
            overflow-y: auto;
            flex: 1;
        }

        .profile-auth-cta {
            border: none;
            background: transparent;
            border-radius: 0;
            padding: 0.15rem 0;
            text-align: center;
            margin-bottom: 0.75rem;
        }

        .profile-auth-cta p {
            margin: 0 0 0.45rem;
            color: #4a6293;
            font-size: 0.83rem;
        }

        .profile-user-card {
            display: flex;
            align-items: center;
            gap: 0.7rem;
            padding: 0.2rem 0;
            margin-bottom: 0.7rem;
            border: none;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
        }

        .profile-user-photo-link {
            position: relative;
            display: inline-flex;
            width: 56px;
            height: 56px;
            flex: 0 0 56px;
            text-decoration: none;
        }

        .profile-user-photo {
            width: 56px;
            height: 56px;
            overflow: hidden;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #b8d0ff;
            background: #ffffff;
            display: block;
        }

        .profile-user-photo-edit-indicator {
            position: absolute;
            right: -4px;
            bottom: -2px;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background-color: #1f62da;
            border: 2px solid #ffffff;
            box-shadow: 0 2px 6px rgba(15, 31, 58, 0.14);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 1 1 3 3L7 19l-4 1 1-4 12.5-12.5Z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: 12px 12px;
            pointer-events: none;
        }

        .cart-footer-actions {
            position: sticky;
            bottom: 0;
            background: #ffffff;
            box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.08);
            padding-bottom: env(safe-area-inset-bottom, 0px);
            z-index: 2;
        }

        .cart-checkout-wrap {
            padding: 0.5rem 1rem 0.8rem;
        }

        .profile-user-copy {
            display: grid;
            gap: 0.15rem;
            min-width: 0;
        }

        .profile-user-copy strong {
            color: #123c95;
            font-size: 0.96rem;
        }

        .profile-user-copy span {
            color: #58709a;
            font-size: 0.78rem;
            word-break: break-word;
        }

        .header-auth-links {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            padding: 0.3rem 0.55rem;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.85);
            border: 1px solid rgba(18, 67, 189, 0.25);
        }

        .header-auth-links a {
            color: #1754cd;
            font-size: 0.85rem;
            font-weight: 700;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .main-login-profile-links {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
        }

        .header-auth-separator {
            color: #7f93bb;
            font-size: 0.76rem;
        }

        .header-auth-links a:hover {
            color: #0e3a98;
            text-decoration: underline;
        }

        .profile-sidebar-form {
            display: grid;
            gap: 0.48rem;
            border: none;
            background: transparent;
            border-radius: 0;
            padding: 0;
            box-shadow: none;
        }

        .profile-sidebar-help {
            margin-top: 0;
            margin-bottom: 0.18rem;
            color: #60739a;
            font-size: 0.78rem;
        }

        .profile-sidebar-form label {
            font-size: 0.8rem;
            font-weight: 700;
            color: #2e4f88;
            line-height: 1.1;
        }

        .profile-sidebar-form h4 {
            margin: 0.45rem 0 0.2rem;
            font-size: 0.92rem;
            color: #153f9a;
            text-transform: uppercase;
            letter-spacing: 0.02em;
        }

        .profile-sidebar-form .pedido-form-field {
            margin-bottom: 0;
            border: 1px solid #cfdcf5;
            border-radius: 10px;
            box-shadow: none;
            padding: 0.68rem 0.76rem;
        }

        .profile-sidebar-form textarea.pedido-form-field {
            min-height: 72px;
        }

        .profile-sidebar-phone-field {
            display: grid;
            gap: 0.28rem;
        }

        .profile-sidebar-id-field {
            display: grid;
            gap: 0.28rem;
        }

        .profile-sidebar-phone-field span {
            font-size: 0.82rem;
            color: #456194;
            font-weight: 700;
        }

        .profile-sidebar-id-field span {
            font-size: 0.82rem;
            color: #456194;
            font-weight: 700;
        }

        .profile-sidebar-phone-row {
            display: grid;
            grid-template-columns: 96px minmax(0, 1fr);
            gap: 0.38rem;
            align-items: stretch;
        }

        .profile-sidebar-id-row {
            display: grid;
            grid-template-columns: 96px minmax(0, 1fr);
            gap: 0.38rem;
            align-items: stretch;
        }

        .profile-sidebar-phone-row .pedido-form-field {
            margin-bottom: 0;
        }

        .profile-sidebar-id-row .pedido-form-field {
            margin-bottom: 0;
        }

        #profileIdNumberSidebar:disabled {
            background: #e7ebf0;
            color: #657181;
            border-color: #c5ced8;
            cursor: not-allowed;
        }

        #profilePhonePrefixSidebar {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            padding-right: 1.8rem;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23284b8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.55rem center;
            background-size: 0.9rem;
        }

        #profileIdPrefixSidebar {
            appearance: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            padding-right: 1.8rem;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23284b8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.55rem center;
            background-size: 0.9rem;
        }

        .profile-sidebar-gender-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.9rem;
            margin: 0.28rem 0 0.5rem;
            white-space: nowrap;
            padding: 0.15rem 0;
            border: none;
            border-radius: 0;
            background: transparent;
        }

        .profile-sidebar-gender-check {
            display: inline-flex;
            align-items: center;
            gap: 0.32rem;
            font-size: 0.97rem;
            color: #2f4876;
            white-space: nowrap;
        }

        .profile-sidebar-gender-check input[type="checkbox"] {
            width: 1.1em;
            height: 1.1em;
            margin: 0;
            accent-color: #1976d2;
        }

        .profile-sidebar-gender-check span {
            line-height: 1;
        }

        .profile-addresses-wrap {
            display: grid;
            gap: 0.42rem;
        }

        .profile-address-row {
            display: flex;
            gap: 0.3rem;
            align-items: stretch;
            border: none;
            border-radius: 0;
            background: transparent;
            padding: 0;
        }

        .profile-address-input-wrap {
            display: grid;
            gap: 0.22rem;
            flex: 1;
        }

        .profile-address-heading {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.45rem;
        }

        .profile-address-label {
            font-size: 0.78rem;
            color: #35578f;
            font-weight: 700;
        }

        .profile-address-row textarea {
            flex: 1;
            min-height: 64px;
        }

        .profile-address-remove {
            min-width: auto;
            height: auto;
            border: none;
            background: transparent;
            color: #64789f;
            cursor: pointer;
            border-radius: 0;
            font-size: 0.74rem;
            font-weight: 700;
            padding: 0;
            align-self: auto;
            text-decoration: underline;
            text-underline-offset: 2px;
            transition: color 0.2s ease;
        }

        .profile-address-remove:hover {
            color: #35578f;
        }

        .profile-add-address-btn {
            margin-top: 0.2rem;
            border-radius: 10px;
            border-color: #cfdcf5;
            background: #f7faff;
            color: #1f458f;
            font-weight: 700;
        }

        .profile-save-btn {
            margin-top: 0.45rem;
            border-radius: 12px;
            background: linear-gradient(135deg, #185aff 0%, #1243bd 100%);
            color: #ffffff;
            border: 1px solid #1243bd;
            box-shadow: 0 8px 16px rgba(18, 67, 189, 0.22);
        .pedido-recaptcha-wrap {
            margin-top: 0.9rem;
            display: grid;
            justify-items: center;
            gap: 0.55rem;
            width: 100%;
        }

        .pedido-recaptcha-wrap .g-recaptcha {
            margin: 0 auto;
        }
            font-size: 0.88rem;
            letter-spacing: 0.01em;
        }

        .profile-save-btn:hover {
            background: linear-gradient(135deg, #1652ec 0%, #103a9f 100%);
            transform: translateY(-1px);
        }

        #profileContinueBtn {
            border-radius: 10px;
            border-color: #24924d;
            background: linear-gradient(135deg, #34b15c 0%, #228444 100%);
            color: #ffffff;
            font-weight: 700;
            margin-top: 0.05rem;
            box-shadow: 0 8px 16px rgba(34, 132, 68, 0.18);
        }

        #profileContinueBtn:hover {
            background: linear-gradient(135deg, #2ea252 0%, #1d713a 100%);
        }

        .profile-sidebar-status {
            margin-top: 0.36rem;
            min-height: 1.1rem;
            font-weight: 700;
        }

        .profile-orders-list {
            display: grid;
            gap: 0.45rem;
        }

        .profile-sidebar-details {
            border: none;
            border-radius: 0;
            background: transparent;
            padding: 0;
            margin-top: 0.8rem;
        }

        .profile-sidebar-details summary {
            cursor: pointer;
            list-style: none;
            font-weight: 800;
            color: #153f9a;
            padding: 0.7rem 0;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 0.45rem;
            text-align: left;
            width: 100%;
        }

        .profile-sidebar-details summary::after {
            content: "▾";
            margin-left: auto;
            color: #f08a21;
            font-size: 0.88rem;
            line-height: 1;
            transition: transform 0.18s ease;
        }

        .profile-sidebar-details[open] summary::after {
            transform: rotate(180deg);
        }

        .profile-sidebar-details summary::-webkit-details-marker {
            display: none;
        }

        .profile-sidebar-details summary i {
            color: #1e63df;
            font-size: 0.92rem;
        }

        .profile-sidebar-details > :not(summary) {
            margin-top: 0.2rem;
        }

        .profile-sidebar-form h4 {
            color: #f08a21;
        }

        .profile-section-placeholder {
            border: 1px solid #dfe6f5;
            background: #f8fbff;
            padding: 0.7rem;
            font-size: 0.8rem;
            color: #45608f;
            text-align: center;
        }

        .profile-favorites-list {
            display: grid;
            gap: 0.45rem;
        }

        .profile-favorite-item {
            border: 1px solid #dfe6f5;
            background: #f8fbff;
            padding: 0.55rem;
            display: grid;
            gap: 0.18rem;
        }

        .profile-favorite-item strong {
            color: #f08a21;
            font-size: 0.84rem;
        }

        .profile-favorite-item span {
            color: #4c618d;
            font-size: 0.76rem;
        }

        .profile-favorite-open-btn {
            justify-self: flex-start;
            margin-top: 0.2rem;
            border: 1px solid #c7d8fb;
            background: #ffffff;
            color: #1f58cb;
            border-radius: 999px;
            padding: 0.45rem 0.8rem;
            font-size: 0.76rem;
            font-weight: 700;
            cursor: pointer;
        }

        .profile-favorite-actions {
            display: flex;
            align-items: center;
            gap: 0.45rem;
            margin-top: 0.2rem;
        }

        .profile-favorite-remove-btn {
            margin-left: auto;
            border: none;
            background: transparent;
            color: #b03a3a;
            border-radius: 0;
            padding: 0.2rem 0;
            font-size: 0.76rem;
            font-weight: 600;
            text-decoration: underline;
            cursor: pointer;
        }

        .profile-order-item {
            border: 1px solid #dfe6f5;
            background: #f8fbff;
            padding: 0.5rem;
            font-size: 0.78rem;
        }

        .profile-order-item strong {
            display: block;
            margin-bottom: 0.2rem;
            color: #133a90;
        }

        @media (max-width: 600px) {
            .profile-sidebar {
                width: 100%;
                max-width: 100%;
                left: -100%;
            }

            .profile-sidebar-header {
                padding-left: 0.9rem;
                padding-right: 0.9rem;
            }

            .profile-sidebar-body {
                padding-left: 0.85rem;
                padding-right: 0.85rem;
            }

            .profile-sidebar-gender-row {
                gap: 0.6rem;
                margin: 0.25rem 0 0.45rem;
            }

            .profile-sidebar-phone-row {
                grid-template-columns: 88px minmax(0, 1fr);
            }

            .profile-sidebar-id-row {
                grid-template-columns: 88px minmax(0, 1fr);
            }
        }

        .pedido-address-select-wrap {
            display: grid;
            gap: 0.3rem;
            margin-top: 0.15rem;
        }

        .pedido-address-select-wrap label {
            font-size: 0.82rem;
            color: #456194;
            font-weight: 700;
        }

        .cart-sidebar {
            position: fixed;
            top: 0;
            right: -380px;
            width: 360px;
            height: 100vh;
            background: rgba(255, 255, 255, 0.96);
            box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
            z-index: 1000;
            transition: right 0.3s ease;
            display: flex;
            flex-direction: column;
            font-family: 'Inter', sans-serif;
        }

        .welcome-screen {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('/elementos/bienvenida.png') center/cover no-repeat;
            z-index: 1200;
            animation: fadeIn 0.5s ease forwards;
        }

        .welcome-screen.fade-out {
            animation: fadeOut 0.5s ease forwards;
        }

        .app-container {
            opacity: 0;
            transform: scale(0.97);
            transition: opacity 0.4s ease, transform 0.4s ease;
        }

        .app-container.show-page {
            opacity: 1;
            transform: scale(1);
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.97); }
            to { opacity: 1; transform: scale(1); }
        }

        @keyframes fadeOut {
            from { opacity: 1; transform: scale(1); }
            to { opacity: 0; transform: scale(0.97); visibility: hidden; }
        }

.welcome-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/elementos/bienvenida.png') center/cover no-repeat;
    z-index: 1200;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.92);
    color: #000000;
    width: min(520px, 90vw);
    max-width: 520px;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* LOGO CENTRADO */
.welcome-card img {
    display: block;
    margin: 0 auto 1rem auto;
    width: 150px;
    height: auto;
}

.welcome-card h2 {
    margin-bottom: 0.75rem;
    color: #002FA4;
    font-size: 2rem;
}

.welcome-card p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* CATEGORIAS CENTRADO */
.welcome-categories {
    list-style: none;
    padding: 0;
    margin: 0 auto 1rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    max-width: 600px;
}

.welcome-categories li {
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ESTILO ICONOS */
.welcome-categories li i {
    font-size: 1rem;
}

.continue-btn {
    background: #FF7000;
    color: #ffffff;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    padding: 0.65rem 1.2rem;
    cursor: pointer;
    font-weight: 700;
    margin-top: 0.5rem;
    width: fit-content;
    align-self: center;
}

.continue-btn:hover {
    background: #E66A00;
}

        .welcome-actions {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.75rem;
            margin-top: 0.5rem;
        }

        .welcome-actions .continue-btn {
            margin-top: 0;
        }

        .welcome-actions .price-scanner-toggle {
            justify-content: center;
            min-width: min(100%, 250px);
        }

/* DIRECCION AL FINAL */
.direccion-footer {
    font-size: 0.9rem;
    color: #555;
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 0.9rem;
    margin-top: 1rem;
    line-height: 1.4;
}

.welcome-scroll-hint {
    display: none;
}

        @media (min-width: 769px) {
            .welcome-screen {
                padding: 0.9rem;
                overflow-y: auto;
            }

            .welcome-card {
                width: min(520px, 90vw);
                max-width: 520px;
                max-height: calc(100dvh - 1.8rem);
                padding: 1.25rem 1.2rem 1.1rem;
            }

            .welcome-card img {
                width: clamp(110px, 12vw, 145px);
                margin: 0 auto 0.7rem;
            }

            .welcome-card h2 {
                font-size: clamp(1.4rem, 2.2vw, 1.9rem);
                margin-bottom: 0.5rem;
                line-height: 1.15;
            }

            .welcome-card p {
                font-size: 0.95rem;
                margin-bottom: 0.65rem;
                line-height: 1.35;
            }

            .welcome-categories {
                gap: 7px;
                margin: 0 auto 0.6rem;
                max-height: min(36dvh, 300px);
                overflow-y: auto;
                padding: 0.45rem 0.5rem;
                border: 1px solid #cdd8ef;
                border-radius: 0;
                background: rgba(247, 250, 255, 0.94);
                scrollbar-gutter: stable;
                scrollbar-width: auto;
                scrollbar-color: #3569d9 #d7e3ff;
            }

            .welcome-categories::-webkit-scrollbar {
                width: 9px;
            }

            .welcome-categories::-webkit-scrollbar-track {
                background: #d7e3ff;
                border-radius: 999px;
            }

            .welcome-categories::-webkit-scrollbar-thumb {
                background: #3569d9;
                border-radius: 999px;
                border: 2px solid #d7e3ff;
            }

            .welcome-scroll-hint {
                display: block;
                font-size: 0.72rem;
                color: #1d3f8f;
                font-weight: 700;
                margin: -0.04rem 0 0.5rem;
                letter-spacing: 0.01em;
            }

            .direccion-footer {
                margin-top: 0.68rem;
                padding-top: 0.62rem;
                font-size: 0.84rem;
                line-height: 1.3;
            }
        }

        @media (min-width: 769px) and (min-height: 900px) {
            .welcome-categories {
                max-height: none;
                overflow-y: visible;
            }

            .welcome-scroll-hint {
                display: none;
            }
        }
        .empty-cart-msg {
            text-align: center;
            color: #000000;
            margin-top: 2rem;
        }

        .toast-msg {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background: #ffffff;
            color: #000000;
            padding: 0.6rem 1.2rem;
            border-radius: 40px;
            font-size: 0.85rem;
            z-index: 1705;
            opacity: 0;
            transition: opacity 0.2s;
            pointer-events: none;
        }

        .overlay-instructions {
            position: fixed;
            inset: 0;
            z-index: 1400;
            background: rgba(0, 0, 0, 0.5);
            display: none;
        }

        .instructions-modal {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 1500;
            background: #ffffff;
            padding: 2rem;
            border-radius: 12px;
            max-width: 600px;
            max-height: 80vh;
            overflow-y: auto;
            display: none;
        }

        .instructions-modal h2 {
            margin-bottom: 1rem;
            color: #185aff;
        }

        .instructions-modal p {
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .close-instructions {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 1.5rem;
            cursor: pointer;
            color: #000000;
        }

        /* tablets */
        @media (min-width: 769px) and (max-width: 1024px) {
            .main-header {
                padding: 0.9rem 1.1rem;
            }

            .title-area h1 {
                font-size: 1.75rem;
            }

            .products-area {
                padding: 0.85rem 1.1rem;
            }

            .products-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 1rem;
            }

            .detail-content {
                gap: 1.2rem;
                padding: 1.2rem;
            }
        }

        /* celulares */
        @media (max-width: 768px) {
            .welcome-screen {
                align-items: center;
                justify-content: center;
                padding: 0.6rem;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
            }

            .welcome-card {
                width: min(94vw, 460px);
                max-height: calc(100dvh - 1.2rem);
                padding: 0.75rem 0.72rem 0.85rem;
                border-radius: 14px;
                gap: 0.25rem;
                margin: auto;
            }

            .welcome-card img {
                width: clamp(84px, 24vw, 108px);
                margin: 0 auto 0.5rem;
            }

            .welcome-card h2 {
                font-size: clamp(1.02rem, 4.7vw, 1.25rem);
                margin-bottom: 0.42rem;
                line-height: 1.15;
            }

            .welcome-card p {
                font-size: 0.83rem;
                margin-bottom: 0.5rem;
                line-height: 1.3;
            }

            .welcome-categories {
                gap: 6px;
                margin: 0 auto 0.55rem;
                max-height: min(34dvh, 210px);
                overflow-y: auto;
                padding: 0.42rem 0.5rem;
                border: 1px solid #c6d4f2;
                border-radius: 0;
                background: rgba(244, 248, 255, 0.95);
                scrollbar-gutter: stable;
                scrollbar-width: auto;
                scrollbar-color: #3569d9 #d7e3ff;
            }

            .welcome-categories::-webkit-scrollbar {
                width: 9px;
            }

            .welcome-categories::-webkit-scrollbar-track {
                background: #d7e3ff;
                border-radius: 999px;
            }

            .welcome-categories::-webkit-scrollbar-thumb {
                background: #3569d9;
                border-radius: 999px;
                border: 2px solid #d7e3ff;
            }

            .welcome-scroll-hint {
                font-size: 0.73rem;
                color: #1d3f8f;
                font-weight: 700;
                margin: -0.06rem 0 0.52rem;
                letter-spacing: 0.01em;
            }

            .welcome-categories li {
                font-size: 0.66rem;
                padding: 4px 8px;
                gap: 4px;
            }

            .welcome-categories li i {
                font-size: 0.82rem;
            }

            .continue-btn {
                margin-top: 0.2rem;
                padding: 0.52rem 1rem;
                font-size: 0.86rem;
            }

            .direccion-footer {
                font-size: 0.76rem;
                margin-top: 0.62rem;
                padding-top: 0.55rem;
                line-height: 1.26;
            }

            .main-header {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 0.4rem;
                padding: 2.6rem 0.85rem 0.8rem;
                justify-content: center;
            }

            .header-auth-links {
                position: fixed;
                top: env(safe-area-inset-top,0);
                left: 0;
                right: 0;
                width: 100vw;
                padding-top: 0 !important;
                margin-top: 0 !important;
                padding-bottom: 0;
                margin-bottom: 0;
                border: none;
                background: transparent;
                z-index: 100;
                box-sizing: border-box;
            }

            .main-login-profile-links {
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 0.5rem;
            }

            .header-auth-links a {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                min-height: 32px;
                padding: 0.35rem 0.7rem;
                border-radius: 0 0 14px 14px;
                background: rgba(255, 255, 255, 0.9);
                border: 1px solid rgba(18, 67, 189, 0.18);
                box-shadow: 0 6px 16px rgba(12, 36, 92, 0.08);
            }

            .header-auth-separator {
                display: none;
            }

            .header-workers {
                display: flex;
                position: absolute;
                left: 50%;
                bottom: 0;
                transform: translateX(-50%);
                width: min(64vw, 240px);
                height: 46px;
                overflow: hidden;
                justify-content: center;
                align-items: flex-start;
                opacity: 0.24;
                z-index: 1;
            }

            .header-workers img {
                max-height: 96px;
                max-width: 100%;
                object-fit: cover;
                object-position: center top;
            }

            .logo-area {
                order: 1;
                position: static;
                width: 100%;
            }

            .title-area {
                order: 2;
                width: 100%;
                text-align: center;
            }

            .title-area h1 {
                display: none;
            }

            .title-area p {
                font-size: 0.82rem;
                margin-top: 0;
                font-weight: 600;
            }

            .logo-area img {
                height: 56px !important;
            }

            .products-area {
                padding: 0.75rem;
            }

            .category-warning {
                margin: 0.1rem 0 0.55rem;
                font-size: 0.76rem;
                line-height: 1.35;
                padding: 0.55rem 0.6rem;
                border-radius: 10px;
            }

            .app-download-banner {
                border-radius: 0;
                width: min(460px, calc(100vw - 0.9rem));
                padding: 0.5rem 1.85rem 0.5rem 0.55rem;
                gap: 0.55rem;
            }

            .app-download-banner-media {
                width: 60px;
            }

            .app-download-banner-title {
                font-size: 0.84rem;
            }

            .app-download-banner-desc {
                font-size: 0.73rem;
            }

            .app-download-banner-link {
                font-size: 0.72rem;
                padding: 0.24rem 0.5rem;
            }

            .search-bar {
                flex-direction: column;
                align-items: stretch;
                gap: 0.45rem;
                border-radius: 0;
                padding: 0;
                background: transparent;
                box-shadow: none;
                margin-bottom: 0.5rem;
            }

            .search-box {
                width: 100%;
                max-width: 100%;
                border-radius: 14px;
                padding: 0.3rem 0.7rem;
            }

            .search-box input {
                font-size: 0.86rem;
                padding: 0.48rem 0;
            }

            .clear-filter-btn {
                display: none;
            }

            .instructions-link-container {
                justify-content: center;
                align-items: center;
                gap: 0.5rem;
                flex-wrap: wrap;
            }

            .price-scanner-toggle {
                font-size: 0.76rem;
                padding: 0.3rem 0.62rem;
            }

            .scanner-entry-wrap .price-scanner-toggle {
                width: min(92vw, 340px);
                justify-content: center;
            }

            .scanner-only-screen {
                overflow-y: auto;
                align-items: flex-start;
                -webkit-overflow-scrolling: touch;
            }

            .scanner-only-screen.show {
                display: block;
            }

            .scanner-only-card {
                width: 100vw;
                min-height: 100dvh;
                height: auto;
                border-radius: 0;
                padding: 0;
                overflow-y: visible;
            }

            .scanner-main-area {
                order: 4;
                background: #f7fbff;
                flex: 1 0 auto;
            }

            .scanner-hero {
                min-height: 112px;
                padding: 0.6rem 0.95rem 0.55rem;
            }

            .scanner-hero-top {
                display: flex;
                justify-content: center;
                align-items: center;
            }

            .scanner-hero-promo {
                display: none;
            }

            .scanner-brand img {
                height: 96px;
                width: auto;
                max-width: min(86vw, 310px);
            }

            .scanner-close {
                width: 38px;
                height: 38px;
                top: 0.55rem;
                right: 0.55rem;
            }

            .scanner-intro {
                margin-top: 0.65rem;
            }

            .scanner-intro-head {
                gap: 0.4rem;
            }

            .scanner-mode-toggle-wrap {
                position: static;
                top: auto;
                right: auto;
                order: 99;
                margin-top: auto;
                align-self: center;
                gap: 0.25rem;
            }

            .scanner-intro-title {
                font-size: 1.12rem;
            }

            .scanner-mode-toggle {
                font-size: 0.6rem;
                padding: 0.32rem 0.5rem;
            }

            .scanner-mode-hint {
                font-size: 0.58rem;
            }

            .scanner-intro-subtitle {
                font-size: 0.76rem;
            }

            .scanner-intro-icon {
                margin-top: 0.32rem;
                font-size: 1.02rem;
            }

            .scanner-body {
                padding: 0.6rem 0.6rem 0.45rem;
                overflow: visible;
            }

            .scanner-categories-marquee {
                width: 100%;
                margin: 0;
                border-radius: 0;
                order: 2;
            }

            .scanner-rate {
                order: 3;
                font-size: 0.76rem;
                position: static;
                left: auto;
                bottom: auto;
                transform: none;
                padding: 0.3rem 0.6rem 0.18rem;
                min-height: 0;
                width: auto;
            }

            .scanner-footer-bar {
                display: contents;
                position: static;
                width: auto;
                min-height: 0;
                padding: 0;
            }

            .scanner-rate-meta {
                order: 5;
                padding: 0.08rem 0.5rem 0.32rem;
                min-height: 0;
                background: transparent;
                border-top: none;
                width: auto;
            }

            .scanner-categories-track {
                gap: 0.3rem;
                padding: 0.36rem 0.34rem;
                animation-duration: 46s;
            }

            .scanner-categories-chip {
                font-size: 0.62rem;
                padding: 0.15rem 0.38rem;
            }

            .scanner-title {
                font-size: 0.96rem;
            }

            .scanner-controls {
                flex-direction: column;
                border-radius: 18px;
                padding: 0.45rem;
            }

            .scanner-camera-frame {
                border-radius: 16px;
            }

            .scanner-camera-buttons {
                flex-direction: column;
            }

            .scanner-camera-zoom-controls {
                top: 0.45rem;
                right: 0.45rem;
                gap: 0.3rem;
            }

            .scanner-camera-btn {
                width: 100%;
                min-width: 0;
                font-size: 0.9rem;
                padding: 0.74rem 0.9rem;
            }

            .scanner-camera-zoom-btn {
                width: 1.95rem;
                height: 1.95rem;
                font-size: 1.06rem;
            }

            .scanner-password-modal {
                width: min(96vw, 520px);
                padding: 0.8rem;
                justify-items: center;
            }

            .scanner-special-access-warning {
                text-align: center;
                max-width: min(92vw, 430px);
                margin-left: auto;
                margin-right: auto;
            }

            .scanner-password-actions {
                flex-direction: column;
            }

            .scanner-password-actions button {
                width: 100%;
                padding: 0.72rem 0.9rem;
            }

            .scanner-password-keyboard-toggle {
                display: inline-block !important;
            }

            .scanner-password-keyboard-toggle.scanner-special-access-desktop-only {
                display: none !important;
            }

            .scanner-password-virtual-keyboard {
                width: 100%;
                grid-template-columns: repeat(6, minmax(0, 1fr));
                gap: 0.24rem;
                margin: 0.05rem auto 0.16rem;
                padding: 0.4rem;
                border-radius: 0;
            }

            .scanner-password-vk-key {
                font-size: 0.72rem;
                padding: 0.34rem 0.15rem;
            }

            .scanner-controls input {
                min-width: 0;
                width: 100%;
                padding: 0.75rem;
                font-size: 0.92rem;
            }

            .scanner-controls button {
                width: 100%;
                padding: 0.75rem 0.9rem;
                font-size: 0.9rem;
            }

            .scanner-keyboard-toggle {
                display: none !important;
            }

            .scanner-virtual-keyboard {
                width: 100%;
                grid-template-columns: repeat(6, minmax(0, 1fr));
                gap: 0.35rem;
                margin: 0.05rem auto 0.16rem;
                padding: 0.55rem;
                border-radius: 0;
            }

            .scanner-vk-key {
                min-height: 50px;
                font-size: 0.94rem;
                padding: 0.58rem 0.22rem;
            }

            .scanner-result-card {
                grid-template-columns: 1fr;
            }

            .scanner-result-media {
                margin: 0 auto;
                width: 100%;
                min-height: 130px;
                max-width: 170px;
            }

            .scanner-result {
                width: 100%;
                min-height: auto;
                max-height: none;
                border-radius: 22px;
                padding: 0.7rem;
                overflow: visible;
            }

            .scanner-result.scanner-result-list {
                min-height: 200px;
                max-height: none;
                overflow: visible;
            }

            .scanner-controls.mobile-camera-active {
                padding: 0;
                border: none;
                background: transparent;
                box-shadow: none;
                gap: 0;
            }

            .scanner-controls.mobile-camera-active input,
            .scanner-controls.mobile-camera-active #scannerSearchBtn,
            .scanner-controls.mobile-camera-active #scannerKeyboardToggle {
                display: none !important;
            }

            .scanner-controls.mobile-camera-active #scannerUseCameraBtn {
                width: 100%;
            }

            .scanner-result.scanner-result-product {
                max-height: min(56vh, 420px);
                overflow: auto;
                -webkit-overflow-scrolling: touch;
            }

            .scanner-result-card {
                width: min(420px, 100%);
            }

            .scanner-result-name {
                font-size: 1rem;
                text-align: center;
            }

            .scanner-result.scanner-result-budget {
                max-height: min(58vh, 450px);
                overflow: auto;
            }

            .scanner-budget-item {
                grid-template-columns: minmax(0, 1fr);
                gap: 0.3rem;
            }

            .scanner-budget-main strong {
                font-size: 0.8rem;
            }

            .scanner-budget-main span {
                font-size: 0.68rem;
            }

            .scanner-budget-controls-row {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 0.4rem;
            }

            .scanner-budget-subtotal {
                text-align: left;
            }

            .scanner-budget-list {
                max-height: 220px;
            }

            .scanner-budget-actions {
                justify-content: flex-end;
                gap: 0.38rem;
            }

            .scanner-budget-copy {
                display: inline-flex;
                align-items: center;
                justify-content: center;
            }

            .scanner-result-details {
                text-align: center;
            }

            .scanner-result-meta {
                font-size: 0.8rem;
                line-height: 1.32;
            }

            .scanner-price {
                gap: 0.28rem;
            }

            .scanner-price-usd strong,
            .scanner-price-bs strong {
                font-size: clamp(1.22rem, 6.8vw, 1.65rem);
            }

            .scanner-desktop-tip {
                display: none;
            }

            .scanner-desktop-info {
                display: none;
            }

            .scanner-qr-placeholder {
                display: none;
            }

            .scanner-rate-icon {
                width: 15px;
                height: 15px;
            }

            .scanner-promos {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                width: 100%;
                margin: 0.16rem auto 0.38rem;
                padding: 0 0.3rem;
                gap: 0.3rem;
            }

            .scanner-promo-card {
                min-height: 78px;
                padding: 0.24rem 0.22rem 0.28rem;
            }

            .scanner-promo-card img {
                max-height: 38px;
            }

            .scanner-promo-title {
                font-size: 0.6rem;
            }

            .scanner-promo-desc {
                font-size: 0.56rem;
                line-height: 1.12;
            }

            .scanner-suggestions {
                gap: 0.4rem;
            }

            .clear-filter-btn-mobile {
                display: inline-flex;
                height: 34px;
                padding: 0 0.55rem;
                border: 1px solid #b8c2d8;
                background: #f5f7fb;
                color: #1e2b4a;
                border-radius: 0;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                font-size: 0.78rem;
                font-weight: 600;
                white-space: nowrap;
                flex: 0 0 auto;
            }

            .clear-filter-btn-mobile:hover {
                background: #e9eef8;
                border-color: #9fb0d4;
            }

            .cart-icon {
                width: 100%;
                justify-content: center;
                border-radius: 14px;
                padding: 0.6rem;
                font-size: 0.85rem;
            }

            .categories-bar {
                padding: 0.5rem 0.55rem;
            }

            .categories-list {
                gap: 0.45rem;
                scroll-snap-type: x proximity;
            }

            .categories-list li {
                padding: 0.38rem 0.68rem;
                font-size: 0.72rem;
                border-radius: 999px;
                scroll-snap-align: start;
            }

            .subcategory-panel {
                margin-top: 0;
                padding-top: 0;
                padding-bottom: 0;
            }

            .subcategory-panel.show {
                margin-top: 0.34rem;
                padding: 0.4rem 1.9rem 0.4rem 0.4rem;
                gap: 0.32rem;
                justify-content: center;
            }

            .subcategory-close-btn {
                top: 50%;
                right: 0.34rem;
                width: 20px;
                height: 20px;
                transform: translateY(-50%);
                font-size: 0.92rem;
            }

            .subcategory-chip {
                font-size: 0.68rem;
                padding: 0.28rem 0.52rem;
            }

            .social-section {
                justify-content: center;
                gap: 0.35rem;
                padding: 0.26rem 0.35rem;
            }

            .social-section a {
                font-size: 0.71rem;
                padding: 0.24rem 0.46rem;
            }

            .products-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 0.55rem;
            }

            .product-card {
                border-radius: 12px;
            }

            .product-img-placeholder {
                height: 118px;
            }

            .product-img-placeholder img {
                max-width: 100%;
                max-height: 96px;
            }

            .product-price {
                font-size: 0.82rem;
                padding: 0.2rem 0.44rem;
                top: 6px;
                right: 1px;
            }

            .product-price-bs {
                left: 6px;
                top: 6px;
                font-size: 0.62rem;
                padding: 0.2rem 0.38rem;
            }

            .stock-badge {
                right: 2px;
                bottom: 6px;
                font-size: 0.62rem;
                padding: 0.2rem 0.36rem;
                max-width: 58%;
                line-height: 1.08;
                white-space: normal;
            }

            .stock-check {
                font-size: 0.54rem;
                padding: 0.16rem 0.28rem;
                max-width: 62%;
                letter-spacing: 0;
                white-space: normal;
            }

            .product-info {
                padding: 0.42rem;
            }

            .product-code {
                font-size: 0.58rem;
                margin-bottom: 0.26rem;
                padding: 0.16rem 0.45rem;
            }

            .product-title {
                font-size: 0.72rem;
                margin-bottom: 0.2rem;
                min-height: 2.2em;
            }

            .badge-pack {
                font-size: 0.62rem;
            }

            .product-footer {
                justify-content: space-between;
                align-items: center;
                gap: 0.28rem;
            }

            .quantity-control {
                gap: 3px;
                padding: 0.08rem 0.22rem;
                margin-left: 0;
                margin-right: auto;
            }

            .qty-btn {
                width: 26px;
                height: 26px;
                font-size: 0.82rem;
            }

            .qty-value {
                min-width: 16px;
                font-size: 0.72rem;
            }

            .card-actions {
                min-width: 82px;
                margin-left: auto;
                align-items: flex-end;
            }

            .add-cart-btn,
            .consult-btn,
            .buy-now-btn {
                width: 82px;
                min-width: 82px;
                height: 26px;
                font-size: 0.58rem;
                padding: 0 0.25rem;
            }

            .pagination-controls {
                gap: 0;
                margin: 0.7rem 0 0.85rem;
            }

            .brand-carousel-segment {
                grid-template-columns: 30px minmax(0, 1fr) 30px;
                gap: 0.12rem;
                margin: 0.15rem 0 0.58rem;
                padding: 0.14rem 0.28rem;
                border-radius: 8px;
                width: min(100%, calc(100% - 0.8rem));
            }

            .brand-carousel-arrow {
                width: 24px;
                height: 24px;
            }

            .brand-carousel-track {
                gap: 0.28rem;
            }

            .brand-carousel-item {
                width: 80px;
                min-width: 80px;
            }

            .brand-carousel-logo-wrap {
                width: 72px;
                border-radius: 6px;
            }

            .brand-carousel-name {
                font-size: 0.6rem;
            }

        }

        .legal-notice-banner {
            position: fixed !important;
            inset: auto !important;
            top: 50vh !important;
            left: 50% !important;
            transform: translate(-50%, -50%) !important;
            margin: 0 !important;
            width: min(560px, calc(100vw - 1.2rem));
            max-width: 560px;
            padding: 0.95rem 1rem 0.9rem;
            gap: 0.7rem;
            flex-direction: column;
            align-items: stretch;
            max-height: calc(100dvh - 1.2rem);
            overflow: auto;
            overscroll-behavior: contain;
            box-shadow: 0 18px 46px rgba(8, 21, 52, 0.24);
        }

        #legalNoticeBackdrop {
            pointer-events: none;
        }

        .legal-notice-copy {
            display: grid;
            gap: 0.55rem;
            width: 100%;
            padding-right: 0;
        }

        .legal-notice-title {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.45rem;
            text-align: center;
            width: 100%;
        }

        .legal-notice-title i {
            color: #1f6fdd;
            font-size: 1rem;
        }

        .legal-notice-copy .app-download-banner-desc {
            display: grid;
            gap: 0.45rem;
            color: #35508d;
            line-height: 1.45;
            text-align: left;
        }

        .legal-notice-copy .app-download-banner-desc p {
            margin: 0;
        }

        .legal-notice-remember {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            font-size: 0.82rem;
            color: #35508d;
            user-select: none;
            width: fit-content;
        }

        .legal-notice-remember input[type="checkbox"] {
            width: 15px;
            height: 15px;
            accent-color: #1f6fdd;
            cursor: pointer;
        }

        .legal-notice-actions {
            display: flex;
            justify-content: center;
        }

        .legal-notice-accept {
            min-width: 158px;
            padding: 0.24rem 0.56rem;
            font-size: 0.74rem;
            color: #ffffff;
            border-color: #27984c;
            background: #31b35d;
            text-align: center;
        }

        .legal-notice-accept:hover {
            background: #2aa252;
            border-color: #228846;
            color: #ffffff;
        }

        @media (max-width: 768px) {

            #paginationBottom {
                row-gap: 0.5rem;
            }

            .pagination-controls button:not(.cart-icon) {
                min-width: clamp(30px, 8vw, 42px);
                font-size: clamp(0.62rem, 2.3vw, 0.74rem);
                padding: 0.3rem 0.34rem;
                border-radius: 0;
                margin-left: -1px;
                line-height: 1.1;
            }

            .pagination-controls button:not(.cart-icon).active,
            .pagination-controls button:not(.cart-icon):hover {
                background: rgba(250, 129, 37, 0.52);
                border-color: #002FA4;
                color: #002FA4;
            }

            .pagination-controls button:not(.cart-icon):first-child {
                border-top-left-radius: 7px;
                border-bottom-left-radius: 7px;
            }

            .pagination-controls button:not(.cart-icon):last-of-type {
                border-top-right-radius: 7px;
                border-bottom-right-radius: 7px;
            }

            .cart-sidebar {
                width: min(92vw, 360px);
                right: -92vw;
            }

            .product-detail-view {
                height: 100dvh;
                max-height: 100dvh;
                padding: 0.2rem;
                overflow: hidden;
            }

            .detail-card {
                width: 100%;
                height: calc(100dvh - 0.4rem);
                max-height: calc(100dvh - 0.4rem);
                border-radius: 16px;
                display: flex;
                flex-direction: column;
                overflow: hidden;
            }

            .detail-content {
                flex: 1 1 auto;
                overflow-y: auto;
                padding: 0.45rem;
                gap: 0.38rem;
            }

            .detail-image-wrap {
                width: 100%;
                max-height: min(24dvh, 170px);
                min-height: clamp(92px, 16dvh, 130px);
                overflow: hidden;
                flex: 0 0 auto;
            }

            .detail-image {
                height: min(24dvh, 170px);
                min-height: clamp(92px, 16dvh, 130px);
                max-height: min(24dvh, 170px);
                overflow: hidden;
                width: 100%;
            }

            .detail-image img {
                width: auto;
                height: auto;
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
                object-position: center;
                display: block;
                margin: auto;
                transform: none !important;
            }

            .detail-info {
                gap: 0.55rem;
                position: relative;
                z-index: 1;
            }

            .detail-code-row {
                position: relative;
                z-index: 2;
            }

            .detail-info h2 {
                font-size: 1.15rem;
                margin-bottom: 0.2rem;
                width: 100%;
                text-align: center;
            }

            .detail-specs {
                grid-template-columns: 1fr;
                gap: 0.32rem;
                margin-bottom: 0.35rem;
            }

            .detail-specs div {
                padding: 0.62rem 0.72rem;
                font-size: 0.84rem;
            }

            .detail-price {
                width: 100%;
                text-align: center;
                font-size: 1.55rem;
                line-height: 1.1;
                margin: 0.1rem 0;
            }

            .detail-add-btn,
            .back-to-list-btn {
                width: 100%;
                justify-content: center;
                padding: 0.82rem 1rem;
            }

            .detail-actions {
                width: 100%;
                gap: 0.45rem;
            }

            .detail-actions .detail-add-btn,
            .detail-actions .detail-consult-btn,
            .detail-actions .detail-buy-now-btn {
                flex: 0 0 160px;
                min-width: 160px;
                width: 160px;
            }

            .detail-actions .detail-consult-btn {
                flex: 0 0 160px;
                width: 160px;
                min-width: 160px;
            }

            .detail-actions .detail-buy-now-btn {
                flex: 0 0 160px;
                width: 160px;
                min-width: 160px;
            }

            .detail-footer {
                display: flex;
            }

            .back-to-list-btn {
                font-size: 0.77rem;
                padding: 0.72rem 0.82rem;
            }

            .back-to-list-btn-mobile {
                display: none !important;
            }

            .detail-image-expand-btn {
                display: inline-flex;
            }

            .instructions-modal {
                width: min(92vw, 620px);
                max-height: 85vh;
                padding: 1rem;
            }

            #clienteModal > div {
                width: 94% !important;
                padding: 1.35rem 1rem !important;
            }

            #clienteModal p {
                margin-bottom: 1.2rem !important;
            }

            #pedidoForm {
                margin-top: 0.4rem;
            }

            #pedidoForm input[type="text"] {
                margin-top: 0.2rem;
            }

            .welcome-card {
                width: 92vw;
                padding: 1rem;
            }

            .promo-product-card .product-img-placeholder {
                height: 132px;
                padding: 0.75rem;
            }

            .promo-product-card .product-img-placeholder img {
                max-height: 102px;
            }

            .promo-product-app-card .product-img-placeholder {
                height: 132px;
                padding: 0.55rem;
            }

            .promo-product-app-card .product-img-placeholder img {
                max-height: 102px;
            }

            .promo-product-card .product-desc {
                font-size: 0.7rem;
                margin-bottom: 0.4rem;
            }

            .welcome-card h2 {
                font-size: 1.25rem;
            }

            .welcome-categories li {
                font-size: 0.68rem;
                padding: 4px 8px;
            }

            footer {
                font-size: 0.62rem;
                padding: 0.75rem;
            }
        }

        @media (max-width: 768px) and (max-height: 700px) {
            .welcome-screen {
                padding: 0.45rem;
            }

            .welcome-card {
                max-height: calc(100dvh - 0.9rem);
                padding: 0.62rem 0.6rem 0.7rem;
            }

            .welcome-card img {
                width: clamp(74px, 20vw, 92px);
                margin-bottom: 0.36rem;
            }

            .welcome-card h2 {
                font-size: clamp(0.95rem, 4.2vw, 1.12rem);
                margin-bottom: 0.3rem;
            }

            .welcome-card p {
                font-size: 0.78rem;
                margin-bottom: 0.4rem;
            }

            .welcome-categories {
                gap: 5px;
                max-height: min(31dvh, 170px);
                margin-bottom: 0.42rem;
            }

            .welcome-scroll-hint {
                font-size: 0.67rem;
                margin-bottom: 0.4rem;
            }

            .welcome-categories li {
                font-size: 0.62rem;
                padding: 3px 7px;
            }

            .continue-btn {
                padding: 0.48rem 0.9rem;
                font-size: 0.8rem;
            }

            .direccion-footer {
                font-size: 0.71rem;
                margin-top: 0.5rem;
                padding-top: 0.45rem;
            }

            .detail-image-wrap {
                width: 100%;
                max-height: min(18dvh, 120px);
                min-height: clamp(72px, 12dvh, 96px);
                overflow: hidden;
                flex: 0 0 auto;
            }

            .detail-image {
                width: 100%;
                height: min(18dvh, 120px);
                min-height: clamp(72px, 12dvh, 96px);
                max-height: min(18dvh, 120px);
                overflow: hidden;
            }

            .detail-image img {
                width: auto;
                height: auto;
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
                object-position: center;
                display: block;
                margin: auto;
                transform: none !important;
            }

            .detail-code-row {
                position: relative;
                z-index: 2;
            }
        }

        @media (max-width: 540px) {
            .products-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 0.52rem;
            }

            .product-img-placeholder {
                height: 148px;
            }

            .promo-product-card .product-img-placeholder {
                height: 170px;
            }

            .promo-product-app-card .product-img-placeholder {
                height: 170px;
            }

            .promo-product-app-card .product-img-placeholder img {
                max-height: 132px;
            }

            .product-img-placeholder img {
                max-height: 128px;
            }

            .product-info {
                padding: 0.5rem;
            }

            .product-title {
                font-size: 0.8rem;
                min-height: 0;
            }

            .product-detail-view {
                padding: 0.25rem;
            }

            .detail-content {
                padding: 0.48rem;
                gap: 0.42rem;
            }

            .detail-image-wrap {
                width: 100%;
                max-height: min(18dvh, 120px);
                min-height: clamp(72px, 12dvh, 96px);
            }

            .detail-image {
                height: min(18dvh, 120px);
                min-height: clamp(72px, 12dvh, 96px);
                max-height: min(18dvh, 120px);
                overflow: hidden;
            }

            .detail-image img {
                width: auto;
                height: auto;
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
                object-position: center;
                transform: none !important;
            }

            .detail-info h2 {
                font-size: 1rem;
            }

            .detail-price {
                font-size: 1.4rem;
            }

            .product-footer {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }

            .quantity-control,
            .card-actions {
                width: auto;
            }

            .quantity-control {
                width: max-content;
                margin-left: 0;
                margin-right: 0;
                gap: 2px;
                padding: 0.08rem 0.22rem;
            }

            .qty-btn {
                width: 22px;
                height: 22px;
                font-size: 0.76rem;
            }

            .qty-value {
                min-width: 12px;
                font-size: 0.66rem;
            }

            .card-actions {
                gap: 0.3rem;
                min-width: 0;
                margin-left: auto;
                align-items: flex-end;
            }

            .add-cart-btn,
            .consult-btn,
            .buy-now-btn {
                width: 70px;
                min-width: 70px;
                height: 24px;
                font-size: 0.54rem;
                padding: 0 0.2rem;
            }

            .stock-badge {
                font-size: 0.58rem;
                padding: 0.16rem 0.3rem;
                max-width: 62%;
                line-height: 1.02;
            }

            .stock-check {
                font-size: 0.5rem;
                padding: 0.14rem 0.24rem;
                max-width: 66%;
            }
        }

        footer {
            text-align: center;
            padding: 1rem;
            font-size: 0.7rem;
            color: #000000;
            border-top: 1px solid #e2edf2;
            background: #ffffff;
        }

        .site-footer {
            text-align: left;
            border-top: 1px solid #cf8a46;
            background: #ef7f00;
            padding: 0.5rem 0.9rem 0.65rem;
            color: #fffaf3;
        }

        .footer-scanner-entry {
            margin: 0.3rem 0 0.55rem;
        }

        .footer-scanner-entry .price-scanner-toggle {
            border-color: rgba(95, 103, 112, 0.42);
            background: linear-gradient(180deg, #eef1f4 0%, #d8dde3 100%);
            color: #4d5560;
            font-size: 0.72rem;
            padding: 0.42rem 0.72rem;
        }

        .footer-scanner-entry .price-scanner-toggle:hover {
            background: linear-gradient(180deg, #eef1f4 0%, #d8dde3 100%);
            color: #4d5560;
            border-color: rgba(95, 103, 112, 0.42);
        }

        .site-footer-accordion {
            width: min(1100px, 100%);
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            column-gap: 1rem;
            gap: 0.18rem;
        }

        .site-footer-section {
            border-bottom: 1px solid rgba(255, 247, 234, 0.24);
        }

        .site-footer-section summary {
            list-style: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem;
            padding: 0.46rem 0;
            margin: 0;
            color: #fffdf7;
            font-size: 0.77rem;
            font-weight: 800;
            line-height: 1.2;
        }

        .site-footer-summary-label {
            display: inline-flex;
            align-items: center;
            gap: 0.34rem;
        }

        .site-footer-summary-label i {
            font-size: 0.76rem;
            color: #2a3138;
        }

        .site-footer-section summary::-webkit-details-marker {
            display: none;
        }

        .site-footer-section summary::after {
            content: '+';
            font-size: 0.95rem;
            font-weight: 700;
            line-height: 1;
            color: rgba(255, 253, 247, 0.92);
            flex: 0 0 auto;
        }

        .site-footer-section[open] summary::after {
            content: '-';
        }

        .site-footer-panel {
            padding: 0 0 0.42rem;
        }

        .site-footer-panel p {
            margin: 0 0 0.18rem;
            font-size: 0.66rem;
            line-height: 1.25;
            color: #fff7ee;
        }

        .site-footer-panel p:last-child {
            margin-bottom: 0;
        }

        .site-footer-panel a {
            color: inherit;
            text-decoration: none;
        }

        .site-footer-panel a:hover {
            text-decoration: underline;
        }

        .site-footer-panel i {
            margin-right: 0.2rem;
            color: #fffdf8;
        }

        .site-footer-policy-group {
            margin: 0 0 0.34rem;
        }

        .site-footer-policy-group h5,
        .site-footer-returns h5 {
            margin: 0 0 0.18rem;
            color: #fffdf7;
            font-size: 0.66rem;
            line-height: 1.2;
            text-transform: uppercase;
            letter-spacing: 0.02em;
        }

        .site-footer-policy-group p,
        .site-footer-returns p {
            margin: 0;
            font-size: 0.64rem;
            line-height: 1.22;
            color: #fff5e8;
        }

        .site-footer-returns {
            border-top: 1px dashed rgba(255, 247, 234, 0.28);
            padding-top: 0.32rem;
        }

        .site-footer-returns p {
            margin: 0 0 0.26rem;
        }

        .site-footer-returns-list {
            margin: 0;
            padding-left: 1rem;
            display: grid;
            gap: 0.18rem;
        }

        .site-footer-returns-list li {
            color: #fff5e8;
            font-size: 0.63rem;
            line-height: 1.2;
        }

        .site-footer-note {
            width: min(1100px, 100%);
            margin: 0.42rem auto 0;
            border-top: 1px dashed rgba(255, 247, 234, 0.28);
            padding-top: 0.34rem;
            text-align: center;
            color: #2a3138;
            font-size: 0.64rem;
            font-weight: 700;
            position: relative;
            min-height: 1.6rem;
        }

        .site-footer-note-main {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.55rem;
            flex-wrap: wrap;
            max-width: calc(100% - 14rem);
            margin: 0 auto;
        }

        .site-footer-note-text {
            display: inline-flex;
            align-items: center;
            gap: 0.28rem;
        }

        .site-footer-note-copyright {
            display: inline-block;
            margin-top: 0;
            font-size: 0.62rem;
            font-weight: 700;
            color: #4a5159;
        }

        .site-footer-note-email {
            position: static;
            display: block;
            width: 100%;
            margin-top: 0.28rem;
            font-size: 0.62rem;
            font-weight: 700;
            color: #7a8089;
            text-align: center;
            white-space: normal;
        }

        .help-contact-captcha-wrap {
            display: none;
            gap: 0.35rem;
            justify-items: center;
            width: 100%;
            margin-top: 0.12rem;
        }

        .help-contact-captcha-wrap.is-visible {
            display: grid;
        }

        .help-contact-captcha-note {
            margin: 0;
            font-size: 0.74rem;
            line-height: 1.3;
            color: #5d5147;
            text-align: center;
        }

        @media (max-width: 768px) {
            .search-suggestions {
                border-radius: 12px;
                max-height: 260px;
            }

            .site-footer {
                padding: 0.42rem 0.55rem 0.58rem;
            }

            .site-footer-accordion {
                grid-template-columns: 1fr;
                column-gap: 0;
            }

            .footer-scanner-entry .price-scanner-toggle {
                font-size: 0.68rem;
                padding: 0.38rem 0.62rem;
            }

            .site-footer-section summary {
                font-size: 0.72rem;
                padding: 0.42rem 0;
            }

            .site-footer-panel p,
            .site-footer-note {
                font-size: 0.63rem;
            }

            .site-footer-note-main {
                display: grid;
                gap: 0.18rem;
                max-width: 100%;
            }

            .site-footer-note-email {
                position: static;
                display: block;
                margin-top: 0.2rem;
                font-size: 0.54rem;
                text-align: center;
                color: #8a919c;
            }

            .site-footer-note-copyright {
                font-size: 0.56rem;
            }

            .help-contact-captcha-note {
                font-size: 0.68rem;
                text-align: center;
            }

            .scanner-rate-email,
            .scanner-rate-copyright {
                display: block;
                font-size: 0.56rem;
                font-weight: 500;
                color: rgba(122, 127, 137, 0.86);
                line-height: 1;
            }

            .scanner-rate-email {
                text-align: left;
            }

            .scanner-rate-copyright {
                text-align: right;
            }

            .site-footer-policy-group h5,
            .site-footer-returns h5 {
                font-size: 0.66rem;
            }

            .site-footer-policy-group p,
            .site-footer-returns p,
            .site-footer-returns-list li {
                font-size: 0.6rem;
            }
        }

