﻿@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --stimula-blue: #64B7D6;
    --stimula-yellow: #F4C33A;
    --stimula-pink: #F66C8D;
    --stimula-green: #9AD04B;
    --stimula-purple: #9A6AD6;
    --bg: #fffdf8;
    --surface: #ffffff;
    --ink: #2e2a40;
    --muted: #6e6884;
    --line: #d9eaf2;
    --brand: var(--stimula-blue);
    --brand-dark: #4ea5c6;
    --mint: var(--stimula-green);
    --sky: var(--stimula-blue);
    --lime: var(--stimula-green);
    --pink: var(--stimula-pink);
    --danger: #e45f84;
    --shadow: 0 14px 32px rgba(100, 183, 214, 0.18);
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Nunito", "Trebuchet MS", sans-serif;
    line-height: 1.55;
    background:
        radial-gradient(700px 280px at -8% -10%, rgba(244, 195, 58, 0.2) 0%, transparent 70%),
        radial-gradient(640px 240px at 108% 0%, rgba(100, 183, 214, 0.2) 0%, transparent 72%),
        linear-gradient(180deg, #fffef9 0%, #fafcff 40%, #ffffff 100%);
}

h1,
h2,
h3 {
    font-family: "Baloo 2", "Trebuchet MS", cursive;
    margin-top: 0;
    line-height: 1.26;
    letter-spacing: 0.01em;
}

a {
    color: var(--sky);
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.site-ribbon {
    background: linear-gradient(90deg, var(--stimula-blue) 0%, var(--stimula-purple) 54%, var(--stimula-green) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.83rem;
}

.ribbon-content {
    min-height: 38px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #f0e6d7;
    backdrop-filter: blur(8px);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

.brand {
    color: var(--ink);
    text-decoration: none;
    display: grid;
    gap: 0.22rem;
    line-height: 1;
}

.brand-logo {
    width: clamp(152px, 22vw, 220px);
    height: auto;
    display: block;
}

.brand span {
    font-size: 0.82rem;
    color: var(--muted);
    margin-top: 0.04rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 800;
    border-radius: 999px;
    padding: 0.52rem 0.82rem;
}

.site-nav a:hover {
    background: #eef8fc;
}

.cart-link {
    background: #fff9e5;
    border: 1px solid #f4dc87;
}

.cart-link span {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 0.3rem;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
}

.menu-toggle {
    display: none;
}

.main-content {
    min-height: 70vh;
    padding: 1.5rem 0 2.8rem;
    display: grid;
    gap: 1.35rem;
}

.site-footer {
    margin-top: 2.2rem;
    background:
        radial-gradient(380px 140px at 10% 0%, rgba(244, 195, 58, 0.12) 0%, transparent 80%),
        radial-gradient(440px 160px at 88% 0%, rgba(154, 106, 214, 0.12) 0%, transparent 80%),
        linear-gradient(180deg, #f8fdff 0%, #eef8ff 100%);
    border-top: 1px solid #d8ebf5;
    color: #36435f;
}

.footer-shell {
    position: relative;
}

.footer-shell::before {
    content: "";
    display: block;
    height: 5px;
    background: linear-gradient(90deg, var(--stimula-blue) 0%, var(--stimula-yellow) 34%, var(--stimula-pink) 66%, var(--stimula-green) 100%);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    padding: 1.8rem 0 1.15rem;
}

.footer-brand-col {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #d7e9f4;
    border-radius: 18px;
    padding: 1rem;
}

.footer-logo {
    width: clamp(150px, 20vw, 210px);
    height: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-brand-col p {
    margin: 0;
    color: #556481;
    font-weight: 700;
    line-height: 1.58;
}

.footer-badges {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-badges span {
    font-size: 0.75rem;
    font-weight: 800;
    color: #2c5870;
    border-radius: 999px;
    padding: 0.34rem 0.62rem;
    background: #e8f6fd;
    border: 1px solid #c9e7f5;
}

.footer-col h3 {
    margin: 0 0 0.62rem;
    font-size: 1.04rem;
    color: #27324d;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.48rem;
}

.footer-list li {
    color: #5a6780;
    font-weight: 700;
}

.footer-list a {
    color: #2f5e7a;
    text-decoration: none;
    font-weight: 800;
}

.footer-list a:hover {
    color: var(--stimula-blue);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #d8e9f3;
    padding: 0.9rem 0 1.15rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.55rem 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: #64718c;
    font-weight: 700;
}

.floating-contact {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 70;
    display: grid;
    gap: 0.5rem;
    justify-items: end;
    align-items: end;
}

.whatsapp-float,
.instagram-float {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: #fff;
    border-radius: 999px;
    padding: 0.7rem 1rem 0.7rem 0.78rem;
    font-weight: 800;
    width: fit-content;
    max-width: none;
}

.whatsapp-float {
    background: linear-gradient(180deg, #24d366 0%, #12b554 100%);
    box-shadow: 0 12px 26px rgba(18, 181, 84, 0.3);
}

.instagram-float {
    background: linear-gradient(180deg, #f66c8d 0%, #9a6ad6 100%);
    box-shadow: 0 12px 26px rgba(154, 106, 214, 0.28);
}

.whatsapp-float:hover,
.instagram-float:hover {
    transform: translateY(-1px);
}

.whatsapp-icon,
.instagram-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    font-weight: 900;
}

.whatsapp-icon img,
.instagram-icon img {
    width: 17px;
    height: 17px;
    color: #fff;
}

.cookie-banner {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    max-width: 840px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #efddc8;
    border-radius: 16px;
    box-shadow: 0 16px 30px rgba(79, 63, 35, 0.2);
    padding: 0.9rem;
    display: grid;
    gap: 0.75rem;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner p {
    margin: 0;
    color: #5f556f;
    line-height: 1.55;
}

.cookie-copy {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.65rem;
    align-items: start;
}

.cookie-icon {
    width: 22px;
    height: 22px;
    color: #a06a2a;
    margin-top: 0.1rem;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
}

body.cookie-open .floating-contact {
    bottom: 145px;
}

.alert {
    border-radius: 14px;
    padding: 0.9rem 1rem;
    font-weight: 800;
    border: 2px solid transparent;
}

.alert.success {
    background: #eff9df;
    color: #345117;
    border-color: #cde99b;
}

.alert.error {
    background: #ffeef3;
    color: #ab2e52;
    border-color: #f5b1c4;
}

.hero {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 1.1rem;
}

.hero.small {
    grid-template-columns: 1fr;
}

.hero-shop .hero-text,
.hero-shop .hero-card {
    border-radius: 24px;
    border: 1px solid #d9eaf2;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-shop .hero-text {
    padding: 1.35rem;
    display: grid;
    align-content: start;
    gap: 0.95rem;
    background:
        radial-gradient(180px 90px at 90% 0%, rgba(244, 195, 58, 0.3) 0%, transparent 75%),
        linear-gradient(145deg, #fafdff 0%, #ffffff 100%);
}

.hero-shop .hero-text h1 {
    margin: 0;
    line-height: 1.18;
    font-size: clamp(2rem, 3.4vw, 3rem);
}

.hero-shop .hero-text p {
    margin: 0;
    line-height: 1.65;
}

.hero-shop .hero-text::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -46px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(154, 106, 214, 0.14);
}

.hero-shop .hero-highlight {
    padding: 1.3rem;
    background:
        radial-gradient(130px 120px at 5% 5%, rgba(100, 183, 214, 0.25) 0%, transparent 70%),
        linear-gradient(150deg, #ffffff 0%, #f6fff0 100%);
}

.tag {
    display: inline-block;
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6f49b2;
    font-weight: 900;
}

.bubble-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.62rem;
}

.bubble-list li {
    width: fit-content;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #f5dc8e;
    padding: 0.42rem 0.82rem;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.35;
}

.toy-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.toy-badges span {
    border-radius: 10px;
    padding: 0.44rem 0.62rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
}

.toy-badges span:nth-child(1) { background: var(--mint); }
.toy-badges span:nth-child(2) { background: var(--stimula-blue); }
.toy-badges span:nth-child(3) { background: var(--stimula-pink); }
.toy-badges span:nth-child(4) { background: var(--stimula-yellow); color: #5b4b14; }

.hero-offers {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.62rem;
}

.hero-offer-item a {
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid #d9eaf2;
    background: #fff;
    padding: 0.62rem 0.68rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.58rem;
}

.hero-offer-item a:hover {
    border-color: #b9ddec;
    transform: translateY(-1px);
}

.hero-offer-name {
    color: #2e2a40;
    font-weight: 800;
    line-height: 1.35;
}

.hero-offer-price {
    text-align: right;
    display: grid;
    gap: 0.08rem;
}

.hero-offer-price small {
    color: #8090a7;
    font-size: 0.74rem;
    text-decoration: line-through;
}

.hero-offer-price strong {
    color: #2394b8;
    font-size: 1rem;
    line-height: 1.1;
}

.vitrine-home {
    display: grid;
    gap: 0.95rem;
}

.vitrine-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
}

.vitrine-main-card {
    border: 1px solid #dcecf4;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.vitrine-main-media {
    position: relative;
}

.vitrine-main-media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.promo-pill {
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 999px;
    padding: 0.4rem 0.72rem;
    background: rgba(246, 108, 141, 0.92);
    color: #fff;
    font-size: 0.77rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.vitrine-main-body {
    padding: 1rem;
    display: grid;
    gap: 0.72rem;
}

.vitrine-main-body h3 {
    margin: 0;
    font-size: clamp(1.4rem, 2.1vw, 2rem);
    line-height: 1.2;
}

.vitrine-main-body p {
    margin: 0;
    color: #5f6b83;
}

.vitrine-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.price-stack {
    display: grid;
    gap: 0.05rem;
}

.price-stack small {
    color: #6f7f97;
    font-size: 0.85rem;
    font-weight: 700;
}

.price-stack strong {
    color: #2394b8;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    line-height: 1.1;
}

.discount-tag {
    border-radius: 999px;
    background: #e7f8f1;
    color: #1f8a54;
    border: 1px solid #b6e7cb;
    padding: 0.34rem 0.58rem;
    font-size: 0.82rem;
    font-weight: 900;
}

.vitrine-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.58rem;
}

.quick-add-form {
    margin: 0;
}

.quick-add-form .btn {
    width: auto;
}

.vitrine-side-grid {
    display: grid;
    gap: 0.82rem;
}

.promo-item-card {
    border: 1px solid #dcecf4;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-item-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.promo-item-link {
    display: grid;
    grid-template-columns: 102px 1fr;
    text-decoration: none;
    color: inherit;
    position: relative;
    min-height: 122px;
}

.promo-item-media img,
.promo-item-media .placeholder {
    width: 100%;
    height: 100%;
    min-height: 122px;
    object-fit: cover;
}

.promo-item-media .placeholder {
    font-size: 0.74rem;
    line-height: 1.2;
    padding: 0.2rem;
    text-align: center;
}

.promo-item-body {
    padding: 0.75rem 0.78rem;
    display: grid;
    align-content: start;
    gap: 0.42rem;
}

.promo-item-body h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
}

.promo-item-price {
    display: grid;
    gap: 0.05rem;
}

.promo-item-price small {
    color: #6f7f97;
    font-size: 0.74rem;
    font-weight: 700;
}

.promo-item-price strong {
    color: #2394b8;
    font-size: 1.08rem;
    line-height: 1.1;
}

.promo-item-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 999px;
    background: #9ad04b;
    color: #224b0f;
    border: 1px solid #8cc43d;
    padding: 0.2rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 900;
}

.promo-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.promo-strip article {
    border: 1px solid #dcecf4;
    border-radius: 16px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
    padding: 0.92rem;
}

.promo-benefit {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.72rem;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    border: 1px solid transparent;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.benefit-blue {
    color: #2394b8;
    background: #eaf7fc;
    border-color: #bfe5f3;
}

.benefit-purple {
    color: #7a56b7;
    background: #f2ebff;
    border-color: #dac8fb;
}

.benefit-pink {
    color: #d95279;
    background: #ffeaf0;
    border-color: #f9c7d6;
}

.benefit-green {
    color: #3d8f2d;
    background: #eefadf;
    border-color: #cdeca7;
}

.promo-strip h3 {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.2;
}

.promo-strip p {
    margin: 0.26rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.instagram-home {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 0.95rem;
}

.instagram-main-card,
.instagram-feed-placeholder {
    border: 1px solid #dcecf4;
    border-radius: 18px;
    background: #fff;
    padding: 1rem;
}

.instagram-main-card {
    background:
        radial-gradient(140px 100px at 96% 4%, rgba(246, 108, 141, 0.22) 0%, transparent 70%),
        radial-gradient(170px 120px at 8% 94%, rgba(154, 106, 214, 0.2) 0%, transparent 72%),
        #fff;
}

.instagram-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.instagram-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid #f2c6d4;
    background: #fff4f7;
    color: #7f3f8b;
    padding: 0.3rem 0.72rem;
    font-size: 0.8rem;
    font-weight: 900;
}

.instagram-badge img {
    width: 17px;
    height: 17px;
}

.instagram-handle {
    color: #6e46ac;
    text-decoration: none;
    font-weight: 900;
}

.instagram-handle:hover {
    text-decoration: underline;
}

.instagram-main-card h2 {
    margin: 0.75rem 0 0;
    font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.instagram-main-card p {
    margin: 0.58rem 0 0;
    color: #55637d;
}

.instagram-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.instagram-feed-placeholder h3 {
    margin: 0;
    font-size: 1.2rem;
}

.instagram-feed-placeholder p {
    margin: 0.42rem 0 0;
    color: #55637d;
}

.instagram-feed-placeholder ul {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.42rem;
    color: #44546f;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.2rem;
}

.btn {
    border: 0;
    border-radius: 14px;
    padding: 0.68rem 1rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-sm {
    padding: 0.48rem 0.72rem;
}

.btn-lg {
    padding: 0.86rem 1.2rem;
    font-size: 1.02rem;
}

.btn-primary {
    background: linear-gradient(180deg, var(--stimula-blue) 0%, var(--brand-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 0 rgba(64, 149, 182, 0.24);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #79c4df 0%, #57accd 100%);
}

.btn-ghost {
    background: #fff;
    color: #5f4ea2;
    border: 2px solid #c9b1ee;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-soft {
    opacity: 0.88;
}

.section-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
}

.section-title-row h2 {
    font-size: 1.9rem;
}

.muted {
    color: var(--muted);
}

.catalog-head {
    background: #fff;
    border: 1px solid #dcecf4;
    border-radius: 18px;
    padding: 1.2rem;
}

.playful-filter {
    border: 1px solid #dcecf4;
    border-radius: 16px;
    background: #fff;
    padding: 1rem;
}

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

.card {
    background: var(--surface);
    border: 1px solid #dcecf4;
    border-radius: 18px;
    overflow: hidden;
}

.card-body {
    padding: 1.08rem;
    display: grid;
    gap: 0.82rem;
}

.product-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.product-grid .product-card:nth-child(3n + 1) { border-top: 6px solid var(--stimula-blue); }
.product-grid .product-card:nth-child(3n + 2) { border-top: 6px solid var(--stimula-yellow); }
.product-grid .product-card:nth-child(3n + 3) { border-top: 6px solid var(--stimula-pink); }

.product-card img,
.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.placeholder {
    height: 220px;
    background:
        repeating-linear-gradient(
            45deg,
            #f0f8fc,
            #f0f8fc 12px,
            #e2f0f8 12px,
            #e2f0f8 24px
        );
    display: grid;
    place-items: center;
    color: #997f62;
    font-weight: 800;
}

.chip {
    width: fit-content;
    margin: 0;
    border-radius: 999px;
    font-size: 0.8rem;
    padding: 0.32rem 0.72rem;
    background: #eef8fc;
    color: #2f7390;
    font-weight: 800;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.blog-card {
    border-top: 6px solid var(--stimula-purple);
}

.filter-form,
.inline-form,
.form-grid {
    display: grid;
    gap: 0.95rem;
}

.filter-form {
    grid-template-columns: 1fr 240px auto;
    align-items: end;
}

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

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cadfeb;
    border-radius: 12px;
    padding: 0.72rem 0.78rem;
    background: #fff;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: #d65252;
    background: #fff6f6;
}

.field-error {
    color: #b13d3d;
    font-size: 0.82rem;
    font-weight: 700;
}

.payment-methods {
    display: grid;
    gap: 0.8rem;
    border: 1px solid #cadfeb;
    border-radius: 12px;
    padding: 0.9rem;
    background: #fff;
    margin-bottom: 0.95rem;
}

.payment-methods.is-invalid {
    border-color: #d65252;
    background: #fff6f6;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 700;
    border: 1px solid #d9e8f2;
    border-radius: 12px;
    padding: 0.72rem;
    cursor: pointer;
    background: #fffdfa;
    min-height: 78px;
}

.payment-option input[type="radio"] {
    width: auto;
    margin-top: 0;
    flex: 0 0 auto;
}

.payment-option:has(input[type="radio"]:checked) {
    border-color: #1f9f8f;
    box-shadow: 0 0 0 3px rgba(31, 159, 143, 0.15);
    background: #f2fffc;
}

.payment-option input[type="radio"]:checked + .payment-option-content {
    background: #f2fffc;
    border-radius: 10px;
}

.payment-option-content {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.payment-option-content img {
    width: 44px;
    height: 44px;
}

.payment-option-text {
    display: grid;
    gap: 0.18rem;
}

.payment-option-text strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.2;
}

.payment-option-text small {
    font-size: 0.82rem;
    color: #6a6675;
    font-weight: 600;
    line-height: 1.35;
}

.card-payment-fields {
    border: 1px solid #d9e8f2;
    border-radius: 14px;
    padding: 0.9rem;
    background: #f9fcff;
    display: grid;
    gap: 0.7rem;
    margin-bottom: 0.95rem;
}

.card-payment-fields[hidden] {
    display: none !important;
}

.card-payment-fields h3 {
    margin: 0;
    font-size: 1.05rem;
}

.card-payment-fields .muted {
    margin: 0;
    font-size: 0.88rem;
}

@media (max-width: 560px) {
    .payment-option {
        min-height: 70px;
        padding: 0.65rem;
    }

    .payment-option-content {
        gap: 0.5rem;
    }

    .payment-option-content img {
        width: 38px;
        height: 38px;
    }

    .payment-option-text strong {
        font-size: 0.94rem;
    }

    .payment-option-text small {
        font-size: 0.78rem;
    }
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #dcecf4;
    border-radius: 12px;
    overflow: hidden;
}

.table th,
.table td {
    border-bottom: 1px solid #e8f1f6;
    padding: 0.8rem 0.6rem;
    text-align: left;
}

.cart-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
}

.cart-actions .btn-lg {
    margin-left: auto;
}

.summary-card,
.form-card,
.empty-state,
.success-state,
.article,
.product-detail {
    background: #fff;
    border: 1px solid #dcecf4;
    border-radius: 18px;
    padding: 1.2rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.2rem;
}

.order-timeline h2 {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    line-height: 1.15;
}

.order-timeline {
    padding: 1rem 1.2rem 1.15rem;
}

.order-timeline-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    padding-top: 0.1rem;
}

.order-timeline-grid::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    top: 17px;
    height: 4px;
    border-radius: 999px;
    background: #e5eef5;
    z-index: 0;
}

.order-step {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 0.34rem;
    color: #6a7890;
}

.order-step strong {
    font-size: 1rem;
    color: #39495f;
}

.order-step small {
    font-weight: 700;
    margin-top: 0.08rem;
}

.order-step-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid #d2e0ec;
    background: #fff;
    box-shadow: 0 0 0 4px #fff;
}

.order-step.is-done .order-step-dot {
    background: #9ad04b;
    border-color: #7bb52f;
}

.order-step.is-current .order-step-dot {
    background: #64b7d6;
    border-color: #2c97bc;
}

.order-step.is-error .order-step-dot {
    background: #f66c8d;
    border-color: #d74469;
}

.order-step.is-done strong,
.order-step.is-current strong,
.order-step.is-error strong {
    color: #26233d;
}

body.checkout-loading-open {
    overflow: hidden;
}

.checkout-loading {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: 1rem;
    background:
        radial-gradient(560px 300px at 12% 0%, rgba(100, 183, 214, 0.3) 0%, rgba(100, 183, 214, 0) 72%),
        radial-gradient(520px 260px at 92% 0%, rgba(246, 108, 141, 0.25) 0%, rgba(246, 108, 141, 0) 72%),
        rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(4px);
}

.checkout-loading[hidden] {
    display: none !important;
}

.checkout-loading-card {
    width: min(440px, 92vw);
    border-radius: 22px;
    border: 1px solid #d7e9f4;
    background: #fff;
    box-shadow: 0 18px 34px rgba(55, 89, 117, 0.2);
    padding: 1.2rem 1.15rem 1rem;
    text-align: center;
    display: grid;
    gap: 0.7rem;
}

.checkout-loading-card h3 {
    margin: 0;
    color: #2e2a40;
    font-size: clamp(1.3rem, 2.6vw, 1.8rem);
    line-height: 1.2;
}

.checkout-loading-card p {
    margin: 0;
    color: #5b6780;
    font-weight: 700;
}

.checkout-loading-orbit {
    width: 84px;
    height: 84px;
    margin: 0 auto 0.2rem;
    position: relative;
    animation: checkoutSpin 4.2s linear infinite;
}

.checkout-loading-orbit span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}

.checkout-loading-orbit span:nth-child(1) {
    background: var(--stimula-blue);
    margin-top: -32px;
}

.checkout-loading-orbit span:nth-child(2) {
    background: var(--stimula-yellow);
    margin-left: 30px;
    margin-top: -9px;
}

.checkout-loading-orbit span:nth-child(3) {
    background: var(--stimula-pink);
    margin-left: 19px;
    margin-top: 24px;
}

.checkout-loading-orbit span:nth-child(4) {
    background: var(--stimula-green);
    margin-left: -19px;
    margin-top: 24px;
}

.checkout-loading-orbit span:nth-child(5) {
    background: var(--stimula-purple);
    margin-left: -30px;
    margin-top: -9px;
}

.summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.product-gallery {
    display: grid;
    gap: 0.62rem;
}

.product-gallery-main {
    border: 1px solid #dcecf4;
    border-radius: 14px;
    overflow: hidden;
    background: #f7fbff;
    position: relative;
}

.product-gallery-main img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    display: block;
    transition: transform 0.18s ease;
    transform-origin: center center;
}

.product-gallery-main.is-zoomable {
    cursor: zoom-in;
}

.product-gallery-main.is-zoomed img {
    transform: scale(1.85);
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
}

.product-gallery-thumb {
    border: 2px solid #dcecf4;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: #fff;
    cursor: pointer;
}

.product-gallery-thumb img {
    width: 100%;
    height: 82px;
    object-fit: cover;
    display: block;
}

.product-gallery-thumb.is-active {
    border-color: var(--stimula-blue);
    box-shadow: 0 0 0 2px rgba(100, 183, 214, 0.2);
}

.product-video {
    border: 1px solid #dcecf4;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.youtube-lite {
    width: 100%;
    border: 0;
    background: #0e0e0e;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.youtube-lite img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    opacity: 0.9;
}

.youtube-lite-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    padding: 0.48rem 0.85rem;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2c3a;
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}

.product-video iframe {
    width: 100%;
    height: 240px;
    border: 0;
    display: block;
}

.article .lead {
    font-size: 1.1rem;
    color: var(--muted);
}

.article-body {
    line-height: 1.8;
    white-space: pre-line;
}

.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full {
    grid-column: 1 / -1;
}

.main-content > * {
    animation: riseIn 0.35s ease both;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkoutSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vitrine-grid {
        grid-template-columns: 1fr;
    }

    .vitrine-main-media img {
        height: 260px;
    }

    .vitrine-side-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .instagram-home {
        grid-template-columns: 1fr;
    }

    .product-gallery-main img {
        height: 340px;
    }

    .youtube-lite img,
    .product-video iframe {
        height: 220px;
    }

    .product-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .promo-item-link {
        grid-template-columns: 1fr;
    }

    .promo-item-media img,
    .promo-item-media .placeholder {
        min-height: 142px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .checkout-grid,
    .hero,
    .product-detail {
        grid-template-columns: 1fr;
    }

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

    .order-timeline-grid::before {
        display: none;
    }

    .order-timeline {
        padding: 1rem;
    }

    .promo-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .ribbon-content {
        font-size: 0.74rem;
        gap: 0.6rem;
        padding: 0.45rem 0;
    }

    .menu-toggle {
        display: inline-block;
        border: 1px solid #efddc7;
        background: #fff;
        border-radius: 10px;
        padding: 0.45rem 0.62rem;
        font-weight: 800;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 4vw;
        right: 4vw;
        top: 108px;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border: 1px solid #efddc7;
        border-radius: 14px;
        padding: 0.8rem;
        box-shadow: var(--shadow);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a {
        padding: 0.64rem 0.7rem;
    }

    .brand-logo {
        width: 148px;
    }

    .brand span {
        font-size: 0.76rem;
        max-width: 180px;
    }

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

    .promo-strip {
        grid-template-columns: 1fr;
    }

    .vitrine-side-grid {
        grid-template-columns: 1fr;
    }

    .product-gallery-main img {
        height: 290px;
    }

    .youtube-lite img,
    .product-video iframe {
        height: 200px;
    }

    .product-gallery-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vitrine-main-media img {
        height: 230px;
    }

    .hero-offer-item a {
        grid-template-columns: 1fr;
    }

    .hero-offer-price {
        text-align: left;
    }

    .filter-form,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .table {
        display: block;
        overflow-x: auto;
    }

    .cart-actions .btn-lg {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .floating-contact {
        right: 12px;
        bottom: 12px;
    }

    .whatsapp-float,
    .instagram-float {
        padding: 0.64rem 0.84rem 0.64rem 0.72rem;
        font-size: 0.92rem;
    }

    .whatsapp-float span:last-child,
    .instagram-float span:last-child {
        display: none;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 0.8rem;
    }

    .cookie-actions {
        justify-content: stretch;
    }

    .cookie-actions .btn {
        flex: 1;
        text-align: center;
    }

    .cookie-copy {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    body.cookie-open .floating-contact {
        bottom: 170px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-top: 1.25rem;
    }

    .footer-brand-col {
        border-radius: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (hover: none), (pointer: coarse) {
    .product-gallery-main.is-zoomable {
        cursor: default;
    }

    .product-gallery-main.is-zoomed img {
        transform: none;
    }
}
