@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

/* =========================================================
   IMAGINARIA - ESTILOS GENERALES
   ========================================================= */

:root {
    --bg: #050c23;
    --panel: #0e1936;
    --muted: #aab6d3;
    --cyan: #1bdcf2;
    --pink: #ff32ba;
    --line: #354369;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    min-width: 0;
    background:
        radial-gradient(
            ellipse at 85% 12%,
            #172153 0,
            transparent 42%
        ),
        radial-gradient(
            ellipse at 0 65%,
            #260c3b 0,
            transparent 36%
        ),
        var(--bg);
    color: #fff;
    font-family: 'Outfit', Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img,
video {
    max-width: 100%;
}

.wrap {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================
   HEADER Y NAVEGACIÓN
   ========================================================= */

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #050b22e9;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #344069;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 78px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    font-size: 22px;
    font-weight: 800;
}

.brand img {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center 38%;
    border-radius: 12px;
}

.brand small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #b8c4e2;
}

.links {
    display: flex;
    align-items: center;
    gap: 23px;
    flex-wrap: wrap;
    font-size: 15px;
}

.links a {
    transition: color 0.2s ease;
}

.links a:hover {
    color: var(--cyan);
}

/* Menú hamburguesa */

.im-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.im-menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* =========================================================
   HERO - PORTADA PRINCIPAL
   ========================================================= */

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 32px;
    padding: 65px 0 70px;
}

.eyebrow {
    color: var(--cyan);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: clamp(42px, 5.6vw, 80px);
    line-height: 1.05;
    margin: 15px 0;
}

.gradient {
    background: linear-gradient(
        90deg,
        #ffca38,
        #ff4ba5,
        #9b59ff,
        #12dcf1
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.lead {
    font-size: 20px;
    color: #d4dcf0;
    line-height: 1.5;
}

/* =========================================================
   BOTONES
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 23px;
    border-radius: 99px;
    border: 1px solid #8d65ec;
    background: linear-gradient(
        105deg,
        #ff9b2e,
        #fa27a8,
        #7438f3
    );
    color: #fff;
    font-weight: 700;
    text-align: center;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(250, 39, 168, 0.2);
}

.btn.alt {
    background: #101c38;
    border-color: #29d5f0;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

/* =========================================================
   IMAGEN PRINCIPAL
   ========================================================= */

.hero-visual {
    position: relative;
    min-width: 0;
}

.hero-visual img {
    display: block;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 26px;
    border: 1px solid #5547ad;
    box-shadow: 0 0 60px #b32cba35;
}

.hero-visual::after {
    content: 'IMPRESIÓN 3D REAL';
    position: absolute;
    bottom: 18px;
    left: 18px;
    padding: 8px 15px;
    background: #060e27d9;
    border: 1px solid #4f6da8;
    border-radius: 50px;
    font-size: 12px;
    letter-spacing: 2px;
}

/* =========================================================
   SECCIONES
   ========================================================= */

.section {
    padding: 48px 0;
}

.section h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin: 0 0 8px;
}

.sub {
    color: var(--muted);
    margin: 0 0 26px;
}

/* =========================================================
   FILTROS Y BÚSQUEDA
   ========================================================= */

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 20px 0;
}

.chip {
    padding: 10px 17px;
    border: 1px solid #42527d;
    border-radius: 40px;
    background: #0c1833;
    color: #dfe8ff;
}

.chip.active,
.chip:hover {
    border-color: var(--pink);
    box-shadow: 0 0 16px #ec2bb659;
}

.search {
    width: min(100%, 360px);
    padding: 13px 16px;
    background: #0d1831;
    border: 1px solid #435580;
    border-radius: 12px;
    color: #fff;
}

/* =========================================================
   CATÁLOGO DE PRODUCTOS
   ========================================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product {
    min-width: 0;
    overflow: hidden;
    background: linear-gradient(
        160deg,
        #182242,
        #09142e
    );
    border: 1px solid #4b5985;
    border-radius: 20px;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.product:hover {
    transform: translateY(-5px);
    border-color: var(--pink);
}

.product img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #111c36;
}

.product .body {
    padding: 16px;
}

.product h3 {
    font-size: 18px;
    margin: 4px 0 9px;
}

.product p {
    color: var(--muted);
    font-size: 14px;
}

.tag {
    color: #35e9bb;
    font-size: 13px;
}

.tag.zero {
    color: #ffca78;
}

.price {
    font-size: 22px;
    font-weight: 800;
    color: var(--cyan);
    margin: 12px 0;
}

.product .btn {
    width: 100%;
    font-size: 14px;
}

/* =========================================================
   VIDEO - CÓMO LO HACEMOS
   ========================================================= */

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 26px;
    padding: 30px;
    border: 1px solid #6644ab;
    border-radius: 26px;
    background: linear-gradient(
        110deg,
        #142449,
        #231139
    );
}

.feature video {
    display: block;
    width: 100%;
    max-height: 360px;
    border-radius: 18px;
    background: #000;
}

/* =========================================================
   DETALLE DE PRODUCTO
   ========================================================= */

.detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px 0;
}

.detail-main {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #121d38;
    border-radius: 20px;
}

.detail h1 {
    font-size: 44px;
}

.thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.thumbs button {
    padding: 0;
    border: 2px solid #43557d;
    border-radius: 10px;
    background: none;
    overflow: hidden;
}

.thumbs img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* =========================================================
   FOOTER - PIE DE PÁGINA
   ========================================================= */

.footer {
    margin-top: 45px;
    padding: 40px 0;
    border-top: 1px solid #37436b;
    color: #bac6e3;
}

.footer strong {
    color: #fff;
}

.footer p {
    line-height: 1.6;
}

/* =========================================================
   AVISOS Y UTILIDADES
   ========================================================= */

.notice {
    padding: 16px;
    background: #111d3c;
    border: 1px solid #455680;
    border-radius: 14px;
    color: #cad5ed;
}

.hide {
    display: none !important;
}

.small {
    font-size: 13px;
    color: var(--muted);
}

/* =========================================================
   ADMINISTRADOR
   ========================================================= */

.adminbox {
    width: calc(100% - 32px);
    max-width: 900px;
    margin: 35px auto;
    padding: 25px;
    background: #101a36;
    border: 1px solid #4a5c85;
    border-radius: 20px;
}

.adminbox input,
.adminbox select,
.adminbox textarea {
    width: 100%;
    padding: 12px;
    margin: 5px 0 16px;
    border: 1px solid #4c5e85;
    border-radius: 10px;
    background: #08142e;
    color: #fff;
}

.adminbox label {
    display: block;
    font-weight: 600;
}

.adminbox table {
    width: 100%;
    border-collapse: collapse;
}

.adminbox td,
.adminbox th {
    padding: 12px;
    border-bottom: 1px solid #34446a;
    text-align: left;
}

.adminbox img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
}

/* =========================================================
   RESPONSIVE - TABLETS
   ========================================================= */

@media (max-width: 900px) {

    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero,
    .feature,
    .detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .nav {
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .hero {
        padding: 45px 0;
    }
}

/* =========================================================
   RESPONSIVE - MENÚ MÓVIL
   ========================================================= */

@media (max-width: 768px) {

    .nav {
        position: relative;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .im-menu-toggle {
        display: inline-flex;
    }

    .top .links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 1000;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        background: #0b1433;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 14px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    }

    .top .links.im-menu-open {
        display: flex;
    }

    .top .links a {
        display: block;
        padding: 13px 15px;
        border-radius: 9px;
        color: #fff;
        white-space: normal;
    }

    .top .links a:hover,
    .top .links a:focus-visible {
        background: rgba(255, 255, 255, 0.08);
        color: var(--cyan);
    }
}

/* =========================================================
   RESPONSIVE - CELULARES
   ========================================================= */

@media (max-width: 560px) {

    .wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand {
        gap: 9px;
        font-size: 19px;
    }

    .brand img {
        width: 46px;
        height: 46px;
    }

    .brand small {
        font-size: 10px;
    }

    .hero {
        gap: 25px;
        padding: 35px 0;
    }

    .hero h1 {
        font-size: clamp(36px, 9vw, 52px);
    }

    .lead {
        font-size: 17px;
    }

    .hero-visual::after {
        left: 10px;
        bottom: 10px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .section {
        padding: 35px 0;
    }

    .grid {
        gap: 11px;
    }

    .product img {
        height: 150px;
    }

    .product .body {
        padding: 11px;
    }

    .product h3 {
        font-size: 15px;
    }

    .product .btn {
        padding: 10px 6px;
        font-size: 12px;
    }

    .feature {
        padding: 18px;
        gap: 18px;
    }

    .detail {
        gap: 22px;
        padding: 30px 0;
    }

    .detail h1 {
        font-size: 32px;
    }

    .footer {
        padding: 30px 0;
    }

    .im-footer-logo img {
        width: 125px;
    }

    .adminbox {
        padding: 14px;
        overflow-x: auto;
    }
}

/* =========================================================
   RESPONSIVE - CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 360px) {

    .brand {
        font-size: 15px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .brand small {
        font-size: 9px;
    }

    .product img {
        height: 130px;
    }

    .product h3 {
        font-size: 14px;
    }

    .im-menu-toggle {
        width: 40px;
        height: 40px;
    }
}

/* =========================================================
   IMAGINARIA - PORTADA Y CATÁLOGO PREMIUM
   Compatible con index.php, header.php y main.js actuales.
   ========================================================= */

.im-home { width: 100%; min-width: 0; }
.im-home .im-hero {
    width: 100%;
    padding: 62px 0 68px;
    background: radial-gradient(ellipse at 88% 35%, rgba(119, 59, 242, .14), transparent 55%);
}
.im-home .im-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(28px, 4vw, 58px);
}
.im-home .im-hero-content, .im-home .im-hero-image { min-width: 0; }
.im-home .im-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 1px solid rgba(27, 220, 242, .28);
    border-radius: 999px;
    background: rgba(27, 220, 242, .06);
    color: var(--cyan);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}
.im-home .im-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35e9bb;
    box-shadow: 0 0 12px #35e9bb;
}
.im-home .im-hero h1 {
    max-width: 640px;
    margin: 22px 0;
    font-size: clamp(40px, 4.6vw, 66px);
    line-height: 1.09;
    font-weight: 800;
    letter-spacing: -1.7px;
    overflow-wrap: break-word;
}
.im-home .im-hero h1 .gradient { display: block; margin-top: 5px; }
.im-home .im-hero-content > p {
    max-width: 520px;
    margin: 0;
    color: #c2cee8;
    font-size: 17px;
    line-height: 1.7;
}
.im-home .im-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 27px 0 22px; }
.im-home .im-hero .btn { min-height: 46px; padding: 12px 20px; font-size: 14px; }
.im-home .im-hero-info { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.im-home .im-hero-info span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(130, 153, 214, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
    color: #afbee0;
    font-size: 11px;
}
.im-home .im-hero-image {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(144, 109, 255, .45);
    border-radius: 24px;
    background: #101a38;
    box-shadow: 0 25px 65px rgba(0, 0, 0, .25);
}
.im-home .im-hero-image > img {
    display: block;
    width: 100%;
    height: 420px;
    max-height: none;
    object-fit: cover;
    object-position: center;
}
.im-home .im-hero-image-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(5, 12, 35, .88);
    color: #fff;
    font-size: 12px;
    backdrop-filter: blur(10px);
}
.im-home .im-hero-placeholder {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    text-align: center;
}
.im-home .im-hero-placeholder strong { font-size: 30px; letter-spacing: 2px; }
.im-home .im-hero-placeholder span { color: #b6c5e7; }

/* Catálogo */
.im-home .im-catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.im-home .im-catalog-heading > div:first-child { min-width: 0; }
.im-home .im-catalog-count {
    flex-shrink: 0;
    padding: 10px 15px;
    border: 1px solid #42517a;
    border-radius: 999px;
    background: #101b37;
    color: #c4d1ed;
    font-size: 13px;
}
.im-home .im-catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; }
.im-home .im-search-box { position: relative; width: min(100%, 470px); }
.im-home .im-search-box svg {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    color: #8ea3cd;
    pointer-events: none;
}
.im-home .im-search-box .search { width: 100%; padding: 14px 16px 14px 47px; border-radius: 13px; }
.im-home .im-catalog-note { color: #93a5c9; font-size: 12px; }
.im-home .chips { margin: 21px 0; }
.im-home .im-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 23px; }
.im-home .im-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #4b5985;
    border-radius: 18px;
    background: #101a35;
}
.im-home .im-product-image { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #15213c; }
.im-home .im-product-card .im-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.im-home .im-product-card:hover .im-product-image img { transform: scale(1.045); }
.im-home .im-product-badge {
    position: absolute;
    top: 11px;
    left: 11px;
    max-width: calc(100% - 22px);
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: rgba(6, 13, 33, .85);
    color: #fff;
    font-size: 11px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.im-home .im-product-noimage { display: grid; place-items: center; height: 100%; color: #94a6c8; font-size: 13px; }
.im-home .im-product-card .body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.im-home .im-product-card h3 { margin: 0 0 12px; font-size: 16px; line-height: 1.4; }
.im-home .im-product-card h3 a:hover { color: var(--cyan); }
.im-home .im-product-stock { margin-bottom: 14px; font-size: 12px; }
.im-home .im-product-stock .available { color: #37e7b8; }
.im-home .im-product-stock .unavailable { color: #ffca78; }
.im-home .im-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid #29385b;
}
.im-home .im-product-card .price { margin: 0; font-size: 21px; }
.im-home .im-price-consult { font-size: 13px; }
.im-home .im-product-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: 1px solid #5651a6;
    border-radius: 11px;
    background: #20204c;
    color: #fff;
    font-size: 22px;
}
.im-home .im-product-arrow:hover { background: #7438f3; }
.im-home .im-process-video { min-width: 0; }
.im-home .im-process-video video { display: block; width: 100%; border-radius: 16px; }

/* Pantallas medianas */
@media (max-width: 1100px) {
    .im-home .im-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .im-home .im-hero-layout { gap: 30px; }
    .im-home .im-hero h1 { font-size: clamp(38px, 4.8vw, 56px); }
}
@media (max-width: 900px) {
    .im-home .im-hero { padding: 42px 0; }
    .im-home .im-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .im-home .im-hero-image > img { height: 350px; }
    .im-home .im-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .im-home .im-hero { padding: 32px 0 28px; }
    .im-home .im-hero h1 { font-size: clamp(34px, 9vw, 46px); letter-spacing: -1px; }
    .im-home .im-hero-content > p { font-size: 15px; }
    .im-home .im-hero .actions { margin: 22px 0; gap: 10px; }
    .im-home .im-hero .btn { font-size: 12px; padding: 11px 15px; }
    .im-home .im-hero-info span { padding: 7px 10px; font-size: 10px; }
    .im-home .im-hero-image { border-radius: 18px; }
    .im-home .im-hero-image > img { height: 260px; }
    .im-home .im-hero-image-label { left: 10px; bottom: 10px; font-size: 10px; }
    .im-home .im-catalog-heading { align-items: flex-start; flex-direction: column; }
    .im-home .im-catalog-toolbar { margin-top: 10px; }
    .im-home .im-catalog-note { display: none; }
    .im-home .im-product-grid { gap: 11px; }
    .im-home .im-product-card .body { padding: 11px; }
    .im-home .im-product-card h3 { font-size: 14px; }
    .im-home .im-product-card .price { font-size: 17px; }
    .im-home .im-product-badge { top: 8px; left: 8px; padding: 6px 8px; font-size: 10px; }
    .im-home .im-product-arrow { width: 31px; height: 31px; }
}
@media (max-width: 360px) {
    .im-home .im-product-grid { grid-template-columns: minmax(0, 1fr); }
}


/* ==========================================
   IMAGINARIA - CHECKOUT PREMIUM
   ========================================== */

/* Título principal */
body:has(#imCheckoutForm) h1 {
    color: #ffffff !important;
    font-weight: 900 !important;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .25);
}

/* Subtítulo */
body:has(#imCheckoutForm) main > p {
    color: #dbe4ff !important;
}

/* Botón confirmar pedido */
#imCheckoutSubmit {
    background: linear-gradient(
        135deg,
        #ff8a00,
        #ff4d35
    ) !important;

    color: #ffffff !important;
    border: 0 !important;
    border-radius: 14px !important;
    padding: 17px 30px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 25px rgba(255, 105, 30, .3);
}

/* Estado deshabilitado */
#imCheckoutSubmit:disabled {
    background: #d97736 !important;
    color: #ffffff !important;
    opacity: .75 !important;
    box-shadow: none;
    cursor: not-allowed;
}

/* Efecto al pasar el mouse */
#imCheckoutSubmit:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* ==========================================
   IMAGINARIA - CARRITO LATERAL DERECHO
   ========================================== */

#imOpenCart {
    position: fixed !important;
    top: 50% !important;
    right: 20px !important;
    bottom: auto !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    z-index: 1000;
    white-space: nowrap;
}

/* No ocultar el carrito al llegar al footer */
body.im-footer-visible #imOpenCart {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Ajuste para celulares */
@media (max-width: 560px) {
    #imOpenCart {
        right: 10px !important;
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
}

/* =========================================
   IMAGINARIA - MINIATURAS DEL CARRITO
========================================= */

.im-cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.im-cart-thumb {
    display: block;
    width: 65px;
    height: 65px;
    min-width: 65px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e1e8e2;
    border-radius: 12px;
    padding: 4px;
    box-sizing: border-box;
}

.im-cart-product-info {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.im-cart-product-info strong {
    display: block;
    font-size: 14px;
    line-height: 1.4;
}

.im-cart-product-info small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

.im-cart-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #829086;
    font-size: 10px;
    background: #f3f6f3;
}

.im-cart-line {
    align-items: center;
    gap: 10px;
}

@media (max-width: 480px) {

    .im-cart-thumb {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }

    .im-cart-product {
        gap: 8px;
    }

    .im-cart-product-info strong {
        font-size: 13px;
    }

    .im-cart-line {
        flex-wrap: wrap;
    }

    .im-cart-controls {
        margin-left: auto;
    }
}

/* IMAGINARIA - OCULTAR TITULO DE LA LEYENDA */

.im-filament-notice strong {
    display: none !important;
}

.im-filament-notice {
    padding: 8px 10px;
    margin: 10px 0 4px;
}

.im-filament-notice p {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
}