/* =============================================== */
/*   CATÁLOGO PÚBLICO - Componentes compartidos    */
/*   Los colores se definen en cada tema           */
/*   (theme-minimal.css / theme-premium.css)       */
/* =============================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

[hidden] {
    display: none !important;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.2;
    margin: 0;
}

.container {
    width: 100%;
    max-width: var(--container, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 6px 16px var(--accent-shadow);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.28);
}

.btn-light {
    background: var(--surface-alt);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-sm {
    padding: 0.55rem 0.9rem;
    font-size: 0.88rem;
    border-radius: 10px;
}

.btn-icon {
    padding-left: 0;
    padding-right: 0;
    width: 40px;
    flex: 0 0 40px;
}

/* Botón de ícono del header (carrito, WhatsApp, menú) */
.icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    height: 42px;
    min-width: 42px;
    padding: 0 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
    border-color: var(--accent);
}

.icon-btn i {
    font-size: 1.05rem;
}

.icon-btn.is-whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: #fff;
}

.count-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--surface);
}

/* ---------- Búsqueda ---------- */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.search-box > i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    height: 46px;
    padding: 0 42px 0 42px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    outline: none;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.search-clear {
    position: absolute;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: var(--surface-alt);
    color: var(--text-muted);
    cursor: pointer;
}

/* ---------- Chips de categorías ---------- */
.chips {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px 0;
}

.chips::-webkit-scrollbar {
    display: none;
}

.chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 38px;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chip i {
    color: var(--accent);
    font-size: 0.85rem;
}

.chip:hover {
    border-color: var(--accent);
}

.chip-count {
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--surface-alt);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chip.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px var(--accent-shadow);
}

.chip.active i {
    color: #fff;
}

.chip.active .chip-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ---------- Secciones ---------- */
.section {
    padding: 1.75rem 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 700;
}

.section-subtitle {
    margin: 0.2rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.sort-select {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.sort-select i {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
}

.sort-select select {
    appearance: none;
    height: 40px;
    padding: 0 2.2rem 0 2.2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    font-size: 0.88rem;
    cursor: pointer;
    outline: none;
}

.sort-select select:focus {
    border-color: var(--accent);
}

/* ---------- Grid de productos ---------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    gap: 18px;
}

.p-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: cardIn 0.35s ease backwards;
}

.p-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.p-card.is-out .p-media img {
    filter: grayscale(0.8);
    opacity: 0.7;
}

.p-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: none;
    background: var(--surface-alt);
    cursor: pointer;
    overflow: hidden;
}

.p-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.4s ease;
}

.p-img.active {
    opacity: 1;
}

.p-card:hover .p-img.active {
    transform: scale(1.04);
}

.p-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    color: var(--accent);
    background: var(--accent-soft);
}

.p-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    z-index: 2;
}

.p-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.p-badge-featured {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.p-badge-limited {
    background: linear-gradient(135deg, #ef4444, #ec4899);
}

.p-badge-out {
    background: #6b7280;
}

.p-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 2;
}

.p-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.6);
    transition: width 0.3s ease, background 0.3s ease;
}

.p-dot.active {
    width: 16px;
    background: #fff;
}

.p-view-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.75);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.2s ease;
}

.p-card:hover .p-view-hint {
    opacity: 1;
    transform: none;
}

.p-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 12px 14px 14px;
}

.p-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--accent);
}

.p-name {
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-desc {
    margin: 4px 0 0;
    font-size: 0.83rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

.p-price {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--price, var(--text));
    white-space: nowrap;
}

.p-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border: none;
    border-radius: 10px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.2s ease;
}

.p-add:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.p-add.added {
    background: #22c55e;
}

.p-add:disabled {
    background: var(--surface-alt);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

/* ---------- Combos ---------- */
.combos-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(270px, 320px);
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.combo-card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.combo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.combo-discount {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #ec4899);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.combo-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.combo-desc {
    margin: 3px 0 0;
    font-size: 0.83rem;
    color: var(--text-muted);
}

.combo-list {
    list-style: none;
    margin: 12px 0;
    padding: 10px 0;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.87rem;
}

.combo-list li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.combo-list i {
    color: #22c55e;
    font-size: 0.75rem;
    margin-right: 4px;
}

.combo-list-price {
    color: var(--text-muted);
    white-space: nowrap;
}

.combo-pricing {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-bottom: 12px;
}

.combo-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.88rem;
}

.combo-price {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--price, var(--accent));
}

.combo-save {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--success, #16a34a);
    background: rgba(34, 197, 94, 0.12);
    padding: 2px 8px;
    border-radius: 999px;
}

.combo-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.combo-actions .btn-primary {
    flex: 1;
}

/* ---------- Pasos para comprar ---------- */
.how-to-buy {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    counter-reset: step;
}

.how-to-buy li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.87rem;
    color: var(--text-muted);
}

.how-to-buy strong {
    color: var(--text);
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ---------- Estados vacíos ---------- */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

.empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.5rem;
}

.empty-state h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.empty-state p {
    margin: 0 auto 1.25rem;
    max-width: 420px;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.empty-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---------- Banda de contacto ---------- */
.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-lg, 20px);
    background: var(--accent-gradient);
    color: #fff;
    margin: 1rem 0 2rem;
    box-shadow: 0 12px 30px var(--accent-shadow);
}

.cta-band h2 {
    font-size: 1.3rem;
}

.cta-band p {
    margin: 0.25rem 0 0;
    opacity: 0.9;
    font-size: 0.92rem;
}

.cta-band .btn {
    background: #fff;
    color: #128c4a;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 600;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-inner a:hover {
    color: var(--accent);
}

/* ---------- Vista rápida ---------- */
.qv-modal {
    position: fixed;
    inset: 0;
    z-index: 5500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    pointer-events: none;
}

.qv-modal.active {
    visibility: visible;
    pointer-events: auto;
}

.qv-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.qv-modal.active .qv-backdrop {
    opacity: 1;
}

.qv-dialog {
    position: relative;
    width: 100%;
    max-width: 820px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface);
    color: var(--text);
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition: all 0.25s ease;
}

.qv-modal.active .qv-dialog {
    transform: none;
    opacity: 1;
}

.qv-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.qv-media {
    position: relative;
    min-height: 300px;
    background: var(--surface-alt);
}

.qv-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.qv-img.active {
    opacity: 1;
}

.qv-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.qv-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: width 0.3s ease;
}

.qv-dot.active {
    width: 20px;
    background: #fff;
}

.qv-info {
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qv-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.qv-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.qv-price {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--price, var(--accent));
}

.qv-stock {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: var(--success, #16a34a);
}

.qv-stock i {
    font-size: 0.5rem;
    vertical-align: middle;
    margin-right: 3px;
}

.qv-stock.stock-limited {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger, #dc2626);
}

.qv-stock.stock-out {
    background: var(--surface-alt);
    color: var(--text-muted);
}

.qv-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.qv-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

/* ---------- Popup promocional ---------- */
.promo-popup {
    position: fixed;
    inset: 0;
    z-index: 5800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.promo-popup.closing {
    animation: fadeOut 0.25s ease forwards;
}

.promo-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
}

.promo-content {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.promo-content img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.promo-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #111;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .qv-dialog {
        grid-template-columns: 1fr;
        border-radius: 20px;
    }

    .qv-media {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .qv-info {
        padding: 18px;
    }

    .qv-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 14px;
    }

    .section {
        padding: 1.25rem 0;
    }

    .section-title {
        font-size: 1.15rem;
    }

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

    .p-body {
        padding: 10px;
    }

    .p-name {
        font-size: 0.9rem;
    }

    .p-desc {
        font-size: 0.78rem;
        -webkit-line-clamp: 1;
    }

    .p-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-top: 8px;
    }

    .p-price {
        font-size: 1.02rem;
    }

    .p-add {
        width: 100%;
        height: 36px;
    }

    .p-view-hint {
        display: none;
    }

    .p-badge {
        font-size: 0.62rem;
        padding: 2px 7px;
    }

    .combos-row {
        grid-auto-columns: 82%;
    }

    .cta-band {
        padding: 1.25rem;
        text-align: center;
        justify-content: center;
    }

    .cta-band .btn {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* Pasos compactos en móvil: 3 columnas con ícono arriba */
@media (max-width: 560px) {
    .how-to-buy {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .how-to-buy li {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 4px;
        padding: 8px 4px;
        border-radius: 14px;
        font-size: 0.72rem;
        line-height: 1.25;
    }
}

/* ---------- Modo claro / oscuro ---------- */
body,
.p-card,
.combo-card,
.chip,
.icon-btn,
.search-box input,
.sort-select select {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.theme-toggle i {
    transition: transform 0.4s ease;
}

.theme-toggle:hover i {
    transform: rotate(-25deg);
}

:root[data-theme="dark"] .theme-toggle i {
    color: #facc15;
}

:root[data-theme="dark"] .cart-toast {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

:root[data-theme="dark"] .p-media,
:root[data-theme="dark"] .qv-media {
    background: var(--surface-alt);
}
