:root {
    --primary: #6d28d9;
    --primary-dark: #4c1d95;
    --secondary: #06b6d4;
    --accent: #f97316;
    --success: #16a34a;
    --dark: #111827;
    --muted: #64748b;
    --soft: #f6f7fb;
    --white: #ffffff;
    --border: #e7e9f2;
    --shadow: 0 20px 50px rgba(31, 41, 55, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--dark);
    background: var(--white);
    font-family: "Source Sans 3", sans-serif;
}

body.menu-open {
    overflow: hidden;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.store-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.page-loader {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.loader-logo {
    display: grid;
    width: 72px;
    height: 72px;
    overflow: hidden;
    place-items: center;
    color: #fff;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 15px 35px rgba(109, 40, 217, 0.28);
    font-size: 32px;
    font-weight: 700;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loader-bar {
    width: 110px;
    height: 4px;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 10px;
    background: #e5e7eb;
}

.loader-bar::after {
    display: block;
    width: 45%;
    height: 100%;
    content: "";
    border-radius: inherit;
    background: var(--primary);
    animation: loading 0.8s infinite alternate ease-in-out;
}

@keyframes loading {
    from { transform: translateX(-10%); }
    to { transform: translateX(145%); }
}

.store-header {
    position: sticky;
    z-index: 1000;
    top: 0;
}

.top-message {
    color: #fff;
    background: var(--dark);
    font-size: 14px;
}

.top-message .store-shell {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
}

.top-message a {
    color: #fff;
}

.top-message i {
    margin-right: 6px;
    color: #a78bfa;
}

.store-navbar {
    height: auto;
    color: var(--dark);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 25px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(15px);
}

.navbar-content {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
}

.store-brand {
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    gap: 11px;
}

.store-brand img {
    display: block;
    width: auto;
    height: 56px;
    max-width: 260px;
    flex-shrink: 0;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
}

.brand-symbol {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    font-size: 22px;
    font-weight: 700;
}

.brand-name {
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.desktop-menu {
    display: flex;
    margin: 0;
    align-items: center;
    gap: 5px;
}

.desktop-menu li {
    list-style: none;
}

.desktop-menu a {
    display: inline-flex;
    height: 43px;
    padding: 0 15px;
    align-items: center;
    color: #374151;
    border-radius: 12px;
    font-weight: 600;
    line-height: 43px;
}

.desktop-menu a:hover {
    color: var(--primary);
    background: #f5f3ff;
}

.desktop-menu .login-button {
    margin-left: 8px;
    color: #fff;
    background: var(--primary);
    gap: 8px;
}

.desktop-menu .login-button:hover {
    color: #fff;
    background: var(--primary-dark);
}

.cart-button {
    position: relative;
    display: grid;
    width: 43px;
    height: 43px;
    padding: 0;
    place-items: center;
    color: var(--dark);
    border: 0;
    border-radius: 13px;
    background: #f1f5f9;
    font-size: 19px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    place-items: center;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    background: var(--accent);
    font-size: 10px;
    font-weight: 700;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--dark);
    border: 0;
    border-radius: 13px;
    background: #f1f5f9;
    font-size: 25px;
}

.mobile-menu {
    position: fixed;
    z-index: 1300;
    top: 0;
    right: 0;
    width: min(330px, 88%);
    height: 100%;
    padding: 20px;
    background: #fff;
    box-shadow: -20px 0 50px rgba(15, 23, 42, 0.2);
    transform: translateX(105%);
    transition: transform 0.25s ease;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 18px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    font-size: 21px;
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
}

.mobile-menu > a {
    display: flex;
    margin-bottom: 8px;
    padding: 13px 15px;
    align-items: center;
    color: #374151;
    border-radius: 12px;
    gap: 12px;
    font-weight: 600;
}

.mobile-menu > a:hover {
    color: var(--primary);
    background: #f5f3ff;
}

.mobile-overlay {
    position: fixed;
    z-index: 1200;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(15, 23, 42, 0.55);
    transition: 0.25s;
}

.mobile-overlay.is-visible {
    visibility: visible;
    opacity: 1;
}

.hero-slider {
    position: relative;
    min-height: 590px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    visibility: hidden;
    inset: 0;
    min-height: 590px;
    opacity: 0;
    transition: opacity 0.55s ease, visibility 0.55s;
}

.hero-slide.is-active {
    visibility: visible;
    opacity: 1;
}

.hero-purple {
    color: #fff;
    background:
        radial-gradient(circle at 85% 25%, rgba(34, 211, 238, 0.4), transparent 28%),
        linear-gradient(135deg, #4c1d95, #7c3aed 55%, #2563eb);
}

.hero-blue {
    color: #fff;
    background:
        radial-gradient(circle at 80% 50%, rgba(255,255,255,.18), transparent 25%),
        linear-gradient(135deg, #0f172a, #075985, #0891b2);
}

.hero-orange {
    color: #fff;
    background:
        radial-gradient(circle at 80% 30%, rgba(254, 240, 138, 0.25), transparent 28%),
        linear-gradient(135deg, #7c2d12, #ea580c, #f59e0b);
}

.hero-content {
    display: grid;
    min-height: 590px;
    align-items: center;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-tag {
    display: inline-flex;
    padding: 8px 14px;
    align-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 100px;
    background: rgba(255,255,255,.13);
    gap: 8px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-copy h1,
.hero-copy h2 {
    max-width: 680px;
    margin: 22px 0 18px;
    color: #fff;
    font-size: clamp(42px, 5.5vw, 72px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -2px;
}

.hero-copy p {
    max-width: 600px;
    margin-bottom: 30px;
    color: rgba(255,255,255,.84);
    font-size: 19px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.primary-action,
.secondary-action {
    display: inline-flex;
    min-height: 52px;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    gap: 10px;
    font-weight: 700;
}

.primary-action {
    color: var(--dark);
    background: #fff;
    box-shadow: 0 12px 25px rgba(0,0,0,.16);
}

.secondary-action {
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.1);
}

.hero-illustration {
    position: relative;
    min-height: 390px;
}

.hero-main-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 245px;
    height: 245px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 70px;
    background: rgba(255,255,255,.13);
    box-shadow: 0 35px 80px rgba(15,23,42,.25);
    transform: translate(-50%, -50%) rotate(-8deg);
    backdrop-filter: blur(15px);
}

.hero-main-icon i {
    font-size: 105px;
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    padding: 15px 18px;
    align-items: center;
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--shadow);
    gap: 11px;
    color: var(--dark);
    font-weight: 700;
}

.floating-card i {
    color: var(--primary);
    font-size: 24px;
}

.card-one {
    top: 35px;
    left: 10px;
}

.card-two {
    right: 0;
    bottom: 35px;
}

.payment-showcase {
    display: grid;
    gap: 15px;
}

.payment-showcase span {
    display: flex;
    padding: 20px 24px;
    align-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    gap: 15px;
    font-size: 18px;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.payment-showcase i {
    font-size: 28px;
}

.slider-arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    display: grid;
    width: 45px;
    height: 45px;
    padding: 0;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    background: rgba(15,23,42,.18);
    transform: translateY(-50%);
}

.slider-previous {
    left: 24px;
}

.slider-next {
    right: 24px;
}

.slider-dots {
    position: absolute;
    z-index: 10;
    bottom: 24px;
    left: 50%;
    display: flex;
    transform: translateX(-50%);
    gap: 8px;
}

.slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 30px;
    background: rgba(255,255,255,.5);
    transition: 0.25s;
}

.slider-dot.is-active {
    width: 30px;
    background: #fff;
}

.benefits-section {
    position: relative;
    z-index: 5;
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.benefits-grid {
    display: grid;
    padding: 24px 0;
    grid-template-columns: repeat(4, 1fr);
}

.benefits-grid > div {
    display: flex;
    padding: 10px 20px;
    align-items: center;
    border-right: 1px solid var(--border);
    gap: 13px;
}

.benefits-grid > div:last-child {
    border-right: 0;
}

.benefits-grid i {
    color: var(--primary);
    font-size: 28px;
}

.benefits-grid span {
    display: flex;
    flex-direction: column;
    color: var(--muted);
    font-size: 13px;
}

.benefits-grid strong {
    color: var(--dark);
    font-size: 15px;
}

.content-section {
    padding: 90px 0;
}

.section-heading {
    max-width: 640px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading > span {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 8px 0 12px;
    color: var(--dark);
    font-size: clamp(32px, 4vw, 45px);
    font-weight: 700;
    letter-spacing: -1px;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.category-grid {
    display: grid;
    margin-top: 42px;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-card {
    display: flex;
    padding: 25px 20px;
    align-items: center;
    color: var(--dark);
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    flex-direction: column;
    transition: 0.25s;
}

.category-card > span {
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 15px;
    place-items: center;
    color: var(--primary);
    border-radius: 18px;
    background: #f3e8ff;
    font-size: 28px;
}

.category-card strong {
    font-size: 18px;
}

.category-card small {
    margin-top: 4px;
    color: var(--muted);
}

.category-card:hover,
.category-card.is-active {
    border-color: transparent;
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.category-card.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
}

.category-card.is-active > span {
    color: #fff;
    background: rgba(255,255,255,.17);
}

.category-card.is-active small {
    color: rgba(255,255,255,.75);
}

.products-section {
    background: var(--soft);
}

.products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.product-search {
    display: flex;
    width: min(360px, 100%);
    height: 52px;
    margin: 0;
    padding: 0 17px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(15,23,42,.05);
    gap: 10px;
}

.product-search i {
    color: var(--muted);
    font-size: 18px;
}

.product-search input[type="search"] {
    height: 100%;
    margin: 0;
    color: var(--dark);
    border: 0 !important;
    box-shadow: none !important;
}

.product-grid {
    display: grid;
    margin-top: 42px;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15,23,42,.06);
    transition: 0.3s;
}

.product-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-8px);
}

.product-card.is-hidden {
    display: none;
}

.product-visual {
    position: relative;
    display: grid;
    height: 220px;
    place-items: center;
    color: #fff;
}

.product-visual > i {
    font-size: 78px;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,.15));
}

.visual-1 {
    background: linear-gradient(135deg, #4c1d95, #8b5cf6);
}

.visual-2 {
    background: linear-gradient(135deg, #0369a1, #22d3ee);
}

.visual-3 {
    background: linear-gradient(135deg, #c2410c, #fb923c);
}

.visual-4 {
    background: linear-gradient(135deg, #166534, #4ade80);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 11px;
    border-radius: 20px;
    background: rgba(255,255,255,.9);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
}

.favorite-button {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    color: var(--dark);
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    font-size: 18px;
}

.favorite-button.is-favorite {
    color: #e11d48;
}

.product-information {
    padding: 23px;
}

.product-information > small {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

.product-information h3 {
    margin: 7px 0 8px;
    color: var(--dark);
    font-size: 22px;
    font-weight: 700;
}

.product-information p {
    min-height: 48px;
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.product-footer {
    display: flex;
    margin-top: 22px;
    padding-top: 18px;
    align-items: flex-end;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    gap: 12px;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.product-price span {
    color: var(--muted);
    font-size: 12px;
}

.product-price strong {
    color: var(--dark);
    font-size: 21px;
}

.product-actions {
    display: flex;
    gap: 7px;
}

.preview-button,
.add-cart-button {
    height: 43px;
    border: 0;
    border-radius: 12px;
}

.preview-button {
    width: 43px;
    color: var(--primary);
    background: #f3e8ff;
}

.add-cart-button {
    padding: 0 15px;
    color: #fff;
    background: var(--primary);
    font-weight: 700;
}

.empty-products {
    padding: 60px 20px;
    color: var(--muted);
    text-align: center;
}

.empty-products i {
    font-size: 50px;
}

.empty-products h3 {
    color: var(--dark);
}

.purchase-section {
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(124,58,237,.5), transparent 30%),
        #111827;
}

.light-heading h2 {
    color: #fff;
}

.light-heading > span {
    color: #c4b5fd;
}

.steps-grid {
    display: grid;
    margin-top: 45px;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.steps-grid article {
    position: relative;
    padding: 32px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    background: rgba(255,255,255,.06);
}

.steps-grid article > span {
    position: absolute;
    top: 10px;
    right: 18px;
    color: rgba(255,255,255,.08);
    font-size: 72px;
    font-weight: 700;
}

.steps-grid i {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #fff;
    border-radius: 17px;
    background: var(--primary);
    font-size: 25px;
}

.steps-grid h3 {
    margin: 20px 0 8px;
    color: #fff;
    font-size: 23px;
}

.steps-grid p {
    margin: 0;
    color: #aeb8c8;
    line-height: 1.6;
}

.store-footer {
    color: #cbd5e1;
    background: #080d18;
}

.footer-grid {
    display: grid;
    padding: 65px 0;
    grid-template-columns: 2fr 1fr 1.3fr;
    gap: 60px;
}

.footer-brand {
    color: #fff;
    font-size: 27px;
    font-weight: 700;
}

.footer-grid p {
    max-width: 480px;
    line-height: 1.7;
}

.footer-grid h3 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 17px;
}

.footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-grid a {
    color: #cbd5e1;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
}

.floating-whatsapp {
    position: fixed;
    z-index: 900;
    right: 25px;
    bottom: 25px;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #fff;
    border-radius: 20px;
    background: #22c55e;
    box-shadow: 0 15px 30px rgba(34,197,94,.35);
    font-size: 27px;
    transition: 0.2s;
}

.floating-whatsapp:hover {
    color: #fff;
    transform: translateY(-4px);
}

.compris-alert {
    border-radius: 25px !important;
}

.swal-confirm,
.swal-cancel {
    margin: 5px;
    padding: 11px 20px;
    border: 0;
    border-radius: 12px;
    font-weight: 700;
}

.swal-confirm {
    color: #fff;
    background: var(--primary);
}

.swal-cancel {
    color: var(--dark);
    background: #e5e7eb;
}

.preview-price {
    color: var(--primary);
    font-size: 22px;
}

/*
|--------------------------------------------------------------------------
| Imágenes reales de categorías y productos
|--------------------------------------------------------------------------
*/

.category-card .category-image,
.product-visual .product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card .category-image {
    border-radius: inherit;
}

.product-badge,
.favorite-button {
    z-index: 2;
}

.product-visual .product-placeholder {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
}

.old-price {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 0.78rem;
    text-decoration: line-through;
}

/*
|--------------------------------------------------------------------------
| Vista previa del producto
|--------------------------------------------------------------------------
*/

.compris-preview-alert {
    width: min(520px, calc(100% - 28px)) !important;
    padding: 28px !important;
}

.compris-preview-image {
    display: block;
    width: 100%;
    max-height: 300px;
    margin: 0 0 20px;
    object-fit: cover;
    border-radius: 20px;
    background: #f1f5f9;
}

.compris-preview-description {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

/*
|--------------------------------------------------------------------------
| Carrito de compras
|--------------------------------------------------------------------------
*/

.compris-cart-alert {
    width: min(760px, calc(100% - 30px)) !important;
    padding: 30px !important;
}

.compris-cart-container {
    margin: 5px 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.compris-cart-list {
    display: flex;
    max-height: 410px;
    padding: 5px 7px 5px 3px;
    overflow-x: hidden;
    overflow-y: auto;
    flex-direction: column;
    gap: 12px;
    scrollbar-color: #c4b5fd #f1f5f9;
    scrollbar-width: thin;
}

.compris-cart-list::-webkit-scrollbar {
    width: 7px;
}

.compris-cart-list::-webkit-scrollbar-track {
    border-radius: 20px;
    background: #f1f5f9;
}

.compris-cart-list::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: #c4b5fd;
}

.compris-cart-item {
    display: grid;
    padding: 12px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    grid-template-columns: 72px minmax(0, 1fr) auto 40px;
    gap: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.compris-cart-item:hover {
    border-color: #c4b5fd;
    transform: translateY(-2px);
}

.compris-cart-image {
    display: grid;
    width: 72px;
    height: 72px;
    overflow: hidden;
    place-items: center;
    color: #fff;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    font-size: 28px;
}

.compris-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.compris-cart-information {
    min-width: 0;
    text-align: left;
}

.compris-cart-information strong {
    display: block;
    overflow: hidden;
    color: var(--dark);
    font-size: 16px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compris-cart-information span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.compris-cart-price {
    color: var(--primary);
    font-size: 17px;
    white-space: nowrap;
}

.cart-remove-button {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    color: #dc2626;
    border: 0;
    border-radius: 12px;
    background: #fee2e2;
    font-size: 17px;
    transition: 0.2s ease;
}

.cart-remove-button:hover {
    color: #fff;
    background: #dc2626;
    transform: scale(1.05);
}

.compris-cart-summary {
    display: flex;
    margin-top: 18px;
    padding: 18px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd6fe;
    border-radius: 18px;
    background: linear-gradient(135deg, #faf5ff, #eff6ff);
    gap: 18px;
}

.compris-cart-totals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}

.compris-cart-totals > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.compris-cart-totals span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.compris-cart-totals strong {
    color: var(--dark);
    font-size: 20px;
}

.cart-clear-button {
    display: inline-flex;
    min-height: 42px;
    padding: 0 15px;
    align-items: center;
    justify-content: center;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    gap: 7px;
    white-space: nowrap;
    transition: 0.2s ease;
}

.cart-clear-button:hover {
    color: #fff;
    border-color: #dc2626;
    background: #dc2626;
}

.compris-empty-cart {
    padding: 30px 15px 22px;
    text-align: center;
}

.compris-empty-cart > i {
    display: grid;
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    place-items: center;
    color: var(--primary);
    border-radius: 26px;
    background: #f3e8ff;
    font-size: 38px;
}

.compris-empty-cart h3 {
    margin: 0 0 6px;
    color: var(--dark);
    font-size: 22px;
}

.compris-empty-cart p {
    margin: 0;
    color: var(--muted);
}

.compris-cart-actions {
    margin-top: 20px !important;
}

.swal-confirm,
.swal-cancel {
    min-height: 44px;
}

.swal-confirm:hover {
    color: #fff;
    background: var(--primary-dark);
}

.swal-cancel:hover {
    color: var(--dark);
    background: #cbd5e1;
}

.swal-danger {
    color: #fff;
    background: #dc2626;
}

.swal-danger:hover {
    color: #fff;
    background: #b91c1c;
}

@media (max-width: 992px) {
    .desktop-menu {
        display: none;
    }

    .mobile-menu-button {
        display: grid;
        place-items: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-illustration,
    .payment-showcase {
        display: none;
    }

    .benefits-grid,
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid > div:nth-child(2) {
        border-right: 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .store-shell {
        width: min(100% - 28px, 1180px);
    }

    .top-message .store-shell {
        justify-content: center;
    }

    .top-message a {
        display: none;
    }

    .navbar-content {
        min-height: 65px;
    }

    .store-brand img {
        width: auto;
        height: 46px;
        max-width: 210px;
    }

    .brand-name {
        max-width: 170px;
        overflow: hidden;
        font-size: 20px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-slider,
    .hero-slide,
    .hero-content {
        min-height: 600px;
    }

    .hero-copy {
        padding: 45px 10px 80px;
        text-align: center;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: 43px;
        letter-spacing: -1px;
    }

    .hero-copy p {
        font-size: 17px;
    }

    .hero-actions {
        justify-content: center;
    }

    .slider-arrow {
        top: auto;
        bottom: 16px;
    }

    .slider-previous {
        left: 18px;
    }

    .slider-next {
        right: 18px;
    }

    .benefits-grid,
    .category-grid,
    .product-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid > div {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .products-header {
        align-items: stretch;
        flex-direction: column;
    }

    .product-search {
        width: 100%;
    }

    .product-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .product-actions {
        width: 100%;
    }

    .add-cart-button {
        flex: 1;
    }

    .content-section {
        padding: 65px 0;
    }

    .footer-grid {
        gap: 35px;
    }

    .compris-cart-alert {
        width: calc(100% - 16px) !important;
        padding: 22px 14px !important;
        border-radius: 20px !important;
    }

    .compris-cart-alert .swal2-title {
        padding: 0 5px;
        font-size: 24px;
    }

    .compris-cart-list {
        max-height: 360px;
        padding-right: 4px;
    }

    .compris-cart-item {
        padding: 10px;
        grid-template-columns: 58px minmax(0, 1fr) 36px;
        gap: 10px;
    }

    .compris-cart-image {
        width: 58px;
        height: 58px;
        border-radius: 13px;
        font-size: 23px;
    }

    .compris-cart-information strong {
        font-size: 15px;
    }

    .compris-cart-price {
        grid-column: 2;
        font-size: 16px;
        text-align: left;
    }

    .cart-remove-button {
        width: 36px;
        height: 36px;
        grid-column: 3;
        grid-row: 1 / span 2;
    }

    .compris-cart-summary {
        padding: 15px;
        align-items: stretch;
        flex-direction: column;
    }

    .compris-cart-totals {
        justify-content: space-between;
    }

    .cart-clear-button {
        width: 100%;
    }

    .compris-cart-actions {
        width: 100%;
        margin-top: 15px !important;
        flex-direction: column-reverse;
        gap: 8px;
    }

    .compris-cart-actions .swal-confirm,
    .compris-cart-actions .swal-cancel {
        width: 100%;
        margin: 0;
    }

    .compris-preview-alert {
        width: calc(100% - 16px) !important;
        padding: 20px 15px !important;
    }

    .compris-preview-image {
        max-height: 230px;
        border-radius: 16px;
    }
}
