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

:root {
    --store-bg: #f7f8fa;
    --store-card: #ffffff;
    --store-text: #101828;
    --store-muted: #667085;
    --store-border: #e4e7ec;
    --store-green: #12b76a;
    --store-green-dark: #067647;
    --store-blue: #175cd3;
    --store-dark: #101828;
    --store-radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--store-bg);
    color: var(--store-text);
    font-family: 'Inter', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.store-container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(228, 231, 236, .9);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
}

.store-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.store-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.store-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background:
        linear-gradient(
            145deg,
            var(--store-blue),
            var(--store-green)
        );
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 9px 18px rgba(23, 92, 211, .18);
}

.store-brand strong,
.store-brand small {
    display: block;
}

.store-brand strong {
    font-size: .98rem;
}

.store-brand small {
    margin-top: 2px;
    color: var(--store-muted);
    font-size: .72rem;
}

.store-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--store-muted);
    font-size: .82rem;
    text-decoration: none;
}

.store-admin-link:hover {
    color: var(--store-text);
}

.store-hero {
    overflow: hidden;
    padding: 58px 0 52px;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(18, 183, 106, .13),
            transparent 31%
        ),
        radial-gradient(
            circle at 12% 30%,
            rgba(23, 92, 211, .12),
            transparent 31%
        ),
        linear-gradient(
            180deg,
            #ffffff,
            #f8fafc
        );
    border-bottom: 1px solid var(--store-border);
}

.store-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.store-hero-copy {
    width: min(920px, 100%);
}

.store-eyebrow {
    color: var(--store-blue);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.store-hero h1 {
    max-width: 700px;
    margin: 12px 0 14px;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.store-hero p {
    max-width: 690px;
    margin: 0;
    color: var(--store-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.store-search {
    max-width: 760px;
    min-height: 58px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
    padding: 7px 7px 7px 17px;
    border: 1px solid #d0d5dd;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(16, 24, 40, .06);
}

.store-search > i {
    color: #98a2b3;
}

.store-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--store-text);
    font: inherit;
}

.store-search button,
.store-empty a {
    border: 0;
    border-radius: 11px;
    background: var(--store-dark);
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
}

.store-search button {
    min-height: 44px;
    padding: 0 22px;
}

.store-main-section {
    padding-top: 40px;
    padding-bottom: 70px;
}

.store-section-head h2,
.store-products-head h2 {
    margin: 5px 0 0;
    letter-spacing: -.035em;
}

.department-chips {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    margin-top: 18px;
    padding-bottom: 5px;
    scrollbar-width: thin;
}

.department-chips a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--store-border);
    border-radius: 999px;
    background: #fff;
    color: #344054;
    font-size: .8rem;
    font-weight: 650;
    text-decoration: none;
}

.department-chips a:hover,
.department-chips a.active {
    border-color: var(--store-dark);
    background: var(--store-dark);
    color: #fff;
}

.department-chips small {
    display: grid;
    min-width: 21px;
    height: 21px;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(152, 162, 179, .13);
    font-size: .68rem;
}

.store-products-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 42px 0 20px;
}

.store-products-head p {
    margin: 5px 0 0;
    color: var(--store-muted);
    font-size: .78rem;
}

.clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--store-muted);
    font-size: .78rem;
    font-weight: 600;
    text-decoration: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.store-product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    background: var(--store-card);
    box-shadow: 0 7px 20px rgba(16, 24, 40, .035);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.store-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(16, 24, 40, .075);
}

.store-product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid #f2f4f7;
}

.store-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 17px;
}

.store-product-image-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #98a2b3;
    font-size: 2rem;
    background: #f9fafb;
}

.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #101828;
    color: #fff;
    font-size: .66rem;
    font-weight: 800;
}

.store-product-body {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 17px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    color: var(--store-muted);
    font-size: .69rem;
}

.product-meta a {
    overflow: hidden;
    color: var(--store-blue);
    font-weight: 700;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-meta span {
    flex: 0 0 auto;
}

.store-product-body h3 {
    margin: 10px 0 7px;
    font-size: .94rem;
    line-height: 1.38;
    letter-spacing: -.02em;
}

.product-brand {
    color: var(--store-muted);
    font-size: .72rem;
}

.product-description {
    display: -webkit-box;
    overflow: hidden;
    margin: 10px 0 0;
    color: var(--store-muted);
    font-size: .74rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
}

.product-price small,
.product-price strong {
    display: block;
}

.product-price small {
    color: var(--store-muted);
    font-size: .64rem;
}

.product-price strong {
    margin-top: 2px;
    font-size: 1rem;
}

.product-price .price-check {
    color: #344054;
    font-size: .78rem;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 39px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--store-green);
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.product-cta:hover {
    background: var(--store-green-dark);
}

.store-empty {
    padding: 58px 20px;
    border: 1px dashed #d0d5dd;
    border-radius: var(--store-radius);
    background: #fff;
    text-align: center;
}

.store-empty > div {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: #f2f4f7;
    color: #667085;
    font-size: 1.2rem;
}

.store-empty h3 {
    margin: 0;
}

.store-empty p {
    margin: 7px 0 18px;
    color: var(--store-muted);
    font-size: .82rem;
}

.store-empty a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 15px;
}

.store-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 32px;
}

.store-pagination > a,
.store-pagination > div a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid var(--store-border);
    border-radius: 9px;
    background: #fff;
    color: #344054;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
}

.store-pagination > a {
    gap: 6px;
    padding: 0 12px;
}

.store-pagination > div {
    display: flex;
    gap: 6px;
}

.store-pagination > div a {
    min-width: 38px;
    padding: 0 8px;
}

.store-pagination a.active {
    border-color: var(--store-dark);
    background: var(--store-dark);
    color: #fff;
}

.store-pagination a.disabled {
    opacity: .42;
    pointer-events: none;
}

.store-footer {
    padding: 34px 0;
    border-top: 1px solid var(--store-border);
    background: #fff;
}

.store-footer .store-container {
    display: grid;
    grid-template-columns: 1fr minmax(300px, .9fr);
    gap: 30px;
    align-items: start;
}

.store-footer strong {
    font-size: .9rem;
}

.store-footer p {
    margin: 5px 0 0;
    color: var(--store-muted);
    font-size: .72rem;
    line-height: 1.6;
}

.affiliate-disclaimer {
    text-align: right;
}

@media (max-width: 1050px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .store-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

@media (max-width: 620px) {
    .store-container {
        width: min(100% - 24px, 1180px);
    }

    .store-header-inner {
        min-height: 68px;
    }

    .store-brand small,
    .store-admin-link span {
        display: none;
    }

    .store-admin-link {
        font-size: 0;
    }

    .store-admin-link i {
        font-size: 1.15rem;
    }

    .store-hero {
        padding: 38px 0 36px;
    }

    .store-hero h1 {
        font-size: 2.35rem;
    }

    .store-search {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 10px 12px;
    }

    .store-search button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .store-products-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .store-product-image {
        height: 250px;
    }

    .store-product-body {
        min-height: 275px;
    }

    .store-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .store-pagination > div {
        justify-content: center;
    }

    .store-pagination > a {
        width: 100%;
    }

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

    .affiliate-disclaimer {
        text-align: left;
    }
}


/* V34 - identidade e contatos configuráveis */
.store-brand-logo {
    width: auto;
    max-width: 176px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.store-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.store-footer-main {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr) !important;
}

.store-footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.store-footer-brand > img {
    width: auto;
    max-width: 150px;
    max-height: 54px;
    object-fit: contain;
}

.store-contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 16px;
}

.store-contact-list a,
.store-contact-list span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475467;
    font-size: .72rem;
    line-height: 1.5;
    text-decoration: none;
}

.store-contact-list a:hover {
    color: var(--store-blue);
}

.store-social-links {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.store-social-links a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--store-border);
    border-radius: 10px;
    background: #fff;
    color: #344054;
    text-decoration: none;
}

.store-social-links a:hover {
    border-color: #98a2b3;
    color: var(--store-blue);
}

@media (max-width: 620px) {
    .store-brand-logo {
        max-width: 138px;
        height: 40px;
    }

    .store-footer-main {
        grid-template-columns: 1fr !important;
    }

    .store-footer-brand {
        flex-direction: column;
    }
}


/* V35 - correção do cabeçalho com logo do site */
.store-header {
    overflow: hidden;
}

.store-header-inner {
    min-height: 88px;
    padding: 10px 0;
}

.store-brand {
    min-width: 0;
    max-width: min(100%, 720px);
}

.store-brand > span:last-child {
    min-width: 0;
}

.store-brand strong {
    font-size: 1.08rem;
    line-height: 1.15;
    word-break: break-word;
}

.store-brand small {
    max-width: 460px;
    font-size: .8rem;
    line-height: 1.35;
    word-break: break-word;
}

.store-brand-logo {
    width: 76px;
    min-width: 76px;
    max-width: 76px;
    height: 76px;
    padding: 8px;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .08);
    line-height: 0;
}

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

.store-brand-mark {
    width: 56px;
    min-width: 56px;
    height: 56px;
}

.store-hero {
    padding-top: 48px;
}

@media (max-width: 900px) {
    .store-header-inner {
        align-items: flex-start;
    }

    .store-admin-link {
        flex: 0 0 auto;
        padding-top: 8px;
    }
}

@media (max-width: 620px) {
    .store-header-inner {
        min-height: auto;
        gap: 12px;
        align-items: center;
    }

    .store-brand {
        gap: 10px;
        max-width: calc(100% - 44px);
    }

    .store-brand-logo {
        width: 56px;
        min-width: 56px;
        max-width: 56px;
        height: 56px;
        padding: 6px;
        border-radius: 14px;
    }

    .store-brand strong {
        font-size: .94rem;
    }

    .store-brand small {
        display: block;
        max-width: 190px;
        font-size: .7rem;
    }

    .store-admin-link span {
        display: none;
    }

    .store-admin-link {
        font-size: 0;
    }

    .store-admin-link i {
        font-size: 1.15rem;
    }
}


/* V44 - monitor de preços e ofertas */
.department-chips .offers-chip {
    border-color: #fdb022;
    background: #fffaeb;
    color: #b54708;
}

.department-chips .offers-chip:hover,
.department-chips .offers-chip.active {
    border-color: #dc6803;
    background: #dc6803;
    color: #fff;
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    max-width: calc(100% - 24px);
}

.product-badges .featured-badge {
    position: static;
    top: auto;
    left: auto;
}

.discount-badge {
    padding: 6px 9px;
    border-radius: 999px;
    background: #d92d20;
    color: #fff;
    font-size: .66rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(217, 45, 32, .18);
}

.product-old-price {
    color: #98a2b3 !important;
}

.product-old-price span {
    text-decoration: line-through;
}

.product-sale-price {
    color: #b42318;
}

.product-price-monitor {
    margin-top: 3px !important;
    color: #067647 !important;
    font-size: .58rem !important;
    font-weight: 650;
}


/* ==========================================================
   V48 - 10 templates visuais
   ========================================================== */
body.store-theme-modern {
    --store-bg: #f7f8fa;
    --store-card: #ffffff;
    --store-text: #101828;
    --store-muted: #667085;
    --store-border: #e4e7ec;
    --store-green: #12b76a;
    --store-green-dark: #067647;
    --store-blue: #175cd3;
    --store-dark: #101828;
    --store-radius: 18px;
}

body.store-theme-atelier {
    --store-bg: #f7f2eb;
    --store-card: #fffdf9;
    --store-text: #3d2a1f;
    --store-muted: #7a6558;
    --store-border: #e5d7c7;
    --store-green: #997950;
    --store-green-dark: #765a38;
    --store-blue: #7a4b2b;
    --store-dark: #3d2a1f;
    --store-radius: 24px;
}

body.store-theme-industrial {
    --store-bg: #eef0f2;
    --store-card: #ffffff;
    --store-text: #111827;
    --store-muted: #5f6876;
    --store-border: #d3d7dd;
    --store-green: #f59e0b;
    --store-green-dark: #d97706;
    --store-blue: #263746;
    --store-dark: #111827;
    --store-radius: 8px;
}

body.store-theme-colorlab {
    --store-bg: #f7f3ff;
    --store-card: #ffffff;
    --store-text: #20153a;
    --store-muted: #716783;
    --store-border: #e8def8;
    --store-green: #06b6d4;
    --store-green-dark: #0891b2;
    --store-blue: #7c3aed;
    --store-dark: #3b1c69;
    --store-radius: 22px;
}

body.store-theme-minimal {
    --store-bg: #ffffff;
    --store-card: #ffffff;
    --store-text: #111827;
    --store-muted: #6b7280;
    --store-border: #e5e7eb;
    --store-green: #111827;
    --store-green-dark: #000000;
    --store-blue: #334155;
    --store-dark: #111827;
    --store-radius: 6px;
}

body.store-theme-premium {
    --store-bg: #151515;
    --store-card: #202020;
    --store-text: #f5f2eb;
    --store-muted: #b5aea2;
    --store-border: #39352f;
    --store-green: #c8a96b;
    --store-green-dark: #a98b53;
    --store-blue: #d4b777;
    --store-dark: #0e0e0e;
    --store-radius: 18px;
}

body.store-theme-marketplace {
    --store-bg: #f4f7fb;
    --store-card: #ffffff;
    --store-text: #172033;
    --store-muted: #68758a;
    --store-border: #dbe3ef;
    --store-green: #16a34a;
    --store-green-dark: #15803d;
    --store-blue: #2563eb;
    --store-dark: #1d4ed8;
    --store-radius: 14px;
}

body.store-theme-magazine {
    --store-bg: #f3f1ed;
    --store-card: #fbfaf8;
    --store-text: #2f3e46;
    --store-muted: #68756f;
    --store-border: #d8dbd5;
    --store-green: #52796f;
    --store-green-dark: #354f52;
    --store-blue: #52796f;
    --store-dark: #2f3e46;
    --store-radius: 2px;
}

body.store-theme-contractor {
    --store-bg: #eef2f6;
    --store-card: #ffffff;
    --store-text: #0f2744;
    --store-muted: #5e6f82;
    --store-border: #d5dde6;
    --store-green: #f97316;
    --store-green-dark: #ea580c;
    --store-blue: #0f4c81;
    --store-dark: #0f2744;
    --store-radius: 10px;
}

body.store-theme-vibrant {
    --store-bg: #fff8ed;
    --store-card: #ffffff;
    --store-text: #292524;
    --store-muted: #78716c;
    --store-border: #fed7aa;
    --store-green: #ef4444;
    --store-green-dark: #dc2626;
    --store-blue: #3b82f6;
    --store-dark: #7c2d12;
    --store-radius: 20px;
}

body.store-theme-premium .store-header {
    border-bottom-color: #39352f;
    background: rgba(20, 20, 20, .94);
}

body.store-theme-premium .store-brand small,
body.store-theme-premium .store-admin-link,
body.store-theme-premium .clear-filters {
    color: #b5aea2;
}

body.store-theme-premium .store-hero {
    border-bottom-color: #39352f;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(200, 169, 107, .18),
            transparent 33%
        ),
        linear-gradient(180deg, #191919, #101010);
}

body.store-theme-premium .store-search,
body.store-theme-premium .store-hero-stats > div,
body.store-theme-premium .department-chips a {
    border-color: #39352f;
    background: #202020;
    color: #f5f2eb;
}

body.store-theme-premium .store-search input {
    color: #f5f2eb;
}

body.store-theme-premium .store-product-image {
    background: #f8f8f8;
}

body.store-theme-premium .store-footer {
    border-top-color: #39352f;
    background: #0f0f0f;
}

body.store-theme-colorlab .store-hero {
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(124, 58, 237, .18),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(6, 182, 212, .17),
            transparent 34%
        ),
        linear-gradient(180deg, #fff, #f7f3ff);
}

body.store-theme-vibrant .store-hero {
    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(239, 68, 68, .15),
            transparent 30%
        ),
        radial-gradient(
            circle at 88% 22%,
            rgba(59, 130, 246, .16),
            transparent 32%
        ),
        linear-gradient(180deg, #fff, #fff8ed);
}

body.store-theme-industrial .store-header,
body.store-theme-contractor .store-header {
    background: rgba(15, 39, 68, .96);
}

body.store-theme-industrial .store-brand strong,
body.store-theme-industrial .store-admin-link,
body.store-theme-contractor .store-brand strong,
body.store-theme-contractor .store-admin-link {
    color: #fff;
}

body.store-theme-industrial .store-brand small,
body.store-theme-contractor .store-brand small {
    color: rgba(255, 255, 255, .68);
}

body.store-theme-magazine .store-hero h1,
body.store-theme-atelier .store-hero h1,
body.store-theme-magazine .policy-hero h1,
body.store-theme-atelier .policy-hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 600;
}

body.store-theme-minimal .store-product-card,
body.store-theme-minimal .store-hero-stats > div {
    box-shadow: none;
}

/* Aviso superior */
.store-announcement {
    font-size: .75rem;
    font-weight: 650;
}

.store-announcement .store-container {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.store-announcement a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
    text-decoration: none;
}

.store-announcement-info {
    background: #eff8ff;
    color: #175cd3;
}

.store-announcement-promo {
    background: #ecfdf3;
    color: #067647;
}

.store-announcement-warning {
    background: #fffaeb;
    color: #b54708;
}

.store-announcement-dark {
    background: #101828;
    color: #fff;
}

/* Banners */
.store-campaign-section {
    padding: 28px 0 0;
}

.store-campaign-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 340px), 1fr)
    );
    gap: 16px;
}

.store-campaign-card {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: calc(var(--store-radius) + 2px);
    background: #111827;
    color: #fff;
    box-shadow: 0 14px 30px rgba(16, 24, 40, .08);
}

.store-campaign-card picture,
.store-campaign-card picture img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.store-campaign-card picture img {
    object-fit: cover;
    transition: transform .35s ease;
}

.store-campaign-card:hover picture img {
    transform: scale(1.025);
}

.store-campaign-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 15, 27, .86),
            rgba(8, 15, 27, .46) 62%,
            rgba(8, 15, 27, .08)
        );
}

.store-campaign-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    min-height: 260px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 28px;
}

.store-campaign-content strong {
    max-width: 430px;
    font-size: clamp(1.25rem, 2.2vw, 2rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.store-campaign-content p {
    max-width: 440px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: .78rem;
    line-height: 1.55;
}

.store-campaign-content a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    padding: 0 13px;
    border-radius: 10px;
    background: #fff;
    color: #101828;
    font-size: .72rem;
    font-weight: 800;
    text-decoration: none;
}

/* Cookies */
.cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 500;
    width: min(980px, calc(100% - 32px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 16px;
    border: 1px solid rgba(208, 213, 221, .88);
    border-radius: 16px;
    background: rgba(255, 255, 255, .97);
    color: #101828;
    box-shadow: 0 24px 60px rgba(16, 24, 40, .18);
    transform: translateX(-50%);
    backdrop-filter: blur(16px);
}

.cookie-consent[hidden],
.cookie-preferences-backdrop[hidden] {
    display: none !important;
}

.cookie-consent-copy strong {
    display: block;
    font-size: .82rem;
}

.cookie-consent-copy p {
    max-width: 600px;
    margin: 4px 0 0;
    color: #667085;
    font-size: .68rem;
    line-height: 1.45;
}

.cookie-consent-copy a {
    color: #175cd3;
    font-weight: 700;
}

.cookie-consent-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 7px;
}

.cookie-btn {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 9px;
    cursor: pointer;
    font: inherit;
    font-size: .67rem;
    font-weight: 750;
}

.cookie-btn-light {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
}

.cookie-btn-primary {
    border: 1px solid #101828;
    background: #101828;
    color: #fff;
}

.cookie-preferences-backdrop {
    position: fixed;
    inset: 0;
    z-index: 550;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(16, 24, 40, .56);
}

.cookie-preferences {
    width: min(560px, 100%);
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    color: #101828;
    box-shadow: 0 30px 80px rgba(16, 24, 40, .25);
}

.cookie-preferences-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 18px;
    border-bottom: 1px solid #eaecf0;
}

.cookie-preferences-head small,
.cookie-preferences-head strong {
    display: block;
}

.cookie-preferences-head small {
    color: #667085;
    font-size: .61rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.cookie-preferences-head strong {
    margin-top: 2px;
    font-size: .9rem;
}

.cookie-preferences-head button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: #f2f4f7;
    cursor: pointer;
}

.cookie-preference-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 18px;
    border-bottom: 1px solid #f2f4f7;
}

.cookie-preference-row strong,
.cookie-preference-row small {
    display: block;
}

.cookie-preference-row strong {
    font-size: .76rem;
}

.cookie-preference-row small {
    max-width: 390px;
    margin-top: 2px;
    color: #667085;
    font-size: .65rem;
    line-height: 1.4;
}

.cookie-preference-row input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: #101828;
}

.cookie-required-pill {
    flex: 0 0 auto;
    padding: 5px 7px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #067647;
    font-size: .6rem;
    font-weight: 750;
}

.cookie-preferences-note {
    margin: 14px 18px 0;
    padding: 10px;
    border: 1px solid #d1e9ff;
    border-radius: 10px;
    background: #eff8ff;
    color: #475467;
    font-size: .64rem;
    line-height: 1.45;
}

.cookie-preferences-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 18px;
}

.cookie-preferences-actions a {
    color: #175cd3;
    font-size: .66rem;
    font-weight: 700;
}

.cookie-modal-open {
    overflow: hidden;
}

.store-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0;
}

.store-legal-links a,
.store-legal-links button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--store-muted);
    cursor: pointer;
    font: inherit;
    font-size: .67rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Política */
.policy-page {
    min-height: calc(100vh - 90px);
    padding: 50px 0 80px;
}

.policy-container {
    max-width: 920px;
}

.policy-hero {
    padding: 26px 0 20px;
}

.policy-hero > span {
    color: var(--store-blue);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.policy-hero h1 {
    margin: 8px 0 10px;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: -.05em;
}

.policy-hero p {
    max-width: 700px;
    margin: 0;
    color: var(--store-muted);
    line-height: 1.6;
}

.policy-hero small {
    display: block;
    margin-top: 12px;
    color: var(--store-muted);
    font-size: .68rem;
}

.policy-card {
    margin-top: 14px;
    padding: 24px;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    background: var(--store-card);
    color: var(--store-text);
}

.policy-card h2 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.policy-card p {
    margin: 0;
    color: var(--store-muted);
    font-size: .78rem;
    line-height: 1.7;
}

.policy-card a {
    color: var(--store-blue);
    font-weight: 700;
}

.policy-table-wrap {
    overflow-x: auto;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .72rem;
}

.policy-table th,
.policy-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--store-border);
    color: var(--store-muted);
    text-align: left;
    vertical-align: top;
}

.policy-table th {
    color: var(--store-text);
    font-size: .64rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

@media (max-width: 760px) {
    .store-announcement .store-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
        padding: 8px 0;
        text-align: left;
    }

    .store-campaign-card,
    .store-campaign-content {
        min-height: 310px;
    }

    .store-campaign-content {
        padding: 22px;
    }

    .cookie-consent {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cookie-consent-actions .cookie-btn-primary {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .cookie-consent {
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 13px;
    }

    .cookie-consent-actions {
        grid-template-columns: 1fr;
    }

    .cookie-consent-actions .cookie-btn-primary {
        grid-column: auto;
    }

    .cookie-preference-row {
        align-items: flex-start;
    }
}


/* ==========================================================
   V51 - Overrides para paleta personalizada
   ========================================================== */
body[class*="store-theme-"] {
    background: var(--store-bg);
    color: var(--store-text);
}

body.store-theme-premium .store-header {
    border-bottom-color: var(--store-border);
    background: color-mix(in srgb, var(--store-bg) 88%, #000 12%);
}

body.store-theme-premium .store-brand small,
body.store-theme-premium .store-admin-link,
body.store-theme-premium .clear-filters {
    color: var(--store-muted);
}

body.store-theme-premium .store-hero {
    border-bottom-color: var(--store-border);
    background:
        radial-gradient(
            circle at 82% 18%,
            color-mix(in srgb, var(--store-blue) 24%, transparent),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--store-bg) 92%, #fff 8%),
            var(--store-bg)
        );
}

body.store-theme-premium .store-search,
body.store-theme-premium .store-hero-stats > div,
body.store-theme-premium .department-chips a {
    border-color: var(--store-border);
    background: var(--store-card);
    color: var(--store-text);
}

body.store-theme-premium .store-search input {
    color: var(--store-text);
}

body.store-theme-premium .store-footer {
    border-top-color: var(--store-border);
    background: color-mix(in srgb, var(--store-bg) 90%, #000 10%);
}

body.store-theme-colorlab .store-hero,
body.store-theme-vibrant .store-hero {
    background:
        radial-gradient(
            circle at 10% 15%,
            color-mix(in srgb, var(--store-blue) 20%, transparent),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 20%,
            color-mix(in srgb, var(--store-green) 18%, transparent),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            var(--store-card),
            var(--store-bg)
        );
}

body.store-theme-industrial .store-header,
body.store-theme-contractor .store-header {
    background: color-mix(in srgb, var(--store-blue) 92%, #000 8%);
}

body.store-theme-industrial .store-brand strong,
body.store-theme-industrial .store-admin-link,
body.store-theme-contractor .store-brand strong,
body.store-theme-contractor .store-admin-link {
    color: #fff;
}

body.store-theme-industrial .store-brand small,
body.store-theme-contractor .store-brand small {
    color: rgba(255, 255, 255, .72);
}


/* ==========================================================
   V53 - Página de produto / SEO
   ========================================================== */
.store-product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-title-link {
    color: inherit;
    text-decoration: none;
}

.product-title-link:hover {
    color: var(--store-blue);
}

.product-detail-page {
    min-height: 70vh;
    padding: 28px 0 70px;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
    color: var(--store-muted);
    font-size: .68rem;
}

.product-breadcrumb a {
    color: var(--store-muted);
    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: var(--store-blue);
}

.product-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--store-border);
    border-radius: calc(var(--store-radius) + 4px);
    background: var(--store-card);
    box-shadow: 0 18px 45px rgba(16, 24, 40, .06);
}

.product-detail-media {
    min-height: 520px;
    display: grid;
    place-items: center;
    padding: 34px;
    background: #fff;
}

.product-detail-media img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: contain;
}

.product-detail-content {
    min-width: 0;
    padding: 42px;
    border-left: 1px solid var(--store-border);
}

.product-detail-content h1 {
    margin: 10px 0 10px;
    color: var(--store-text);
    font-size: clamp(1.55rem, 3vw, 2.5rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.product-detail-brand {
    margin: 0;
    color: var(--store-muted);
    font-size: .76rem;
}

.product-detail-discount {
    display: inline-flex;
    margin-top: 18px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #067647;
    font-size: .68rem;
    font-weight: 800;
}

.product-detail-price {
    margin-top: 18px;
}

.product-detail-price del,
.product-detail-price strong,
.product-detail-price small {
    display: block;
}

.product-detail-price del {
    color: var(--store-muted);
    font-size: .78rem;
}

.product-detail-price strong {
    margin-top: 2px;
    color: var(--store-text);
    font-size: 2rem;
    letter-spacing: -.04em;
}

.product-detail-price small {
    margin-top: 4px;
    color: var(--store-muted);
    font-size: .67rem;
}

.product-detail-description {
    max-height: 180px;
    overflow: auto;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--store-border);
    color: var(--store-muted);
    font-size: .77rem;
    line-height: 1.65;
}

.product-detail-cta {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 0 18px;
    border-radius: 12px;
    background: var(--store-green);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.product-detail-cta:hover {
    background: var(--store-green-dark);
    color: #fff;
}

.product-detail-affiliate {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 15px;
    color: var(--store-muted);
    font-size: .63rem;
    line-height: 1.45;
}

.product-related {
    margin-top: 42px;
}

.product-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.product-related-card {
    min-width: 0;
    overflow: hidden;
    padding: 10px;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    background: var(--store-card);
    color: var(--store-text);
    text-decoration: none;
}

.product-related-card > div {
    height: 150px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fff;
}

.product-related-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-related-card strong {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 10px;
    font-size: .7rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-related-card span {
    display: block;
    margin-top: 7px;
    color: var(--store-green-dark);
    font-size: .78rem;
    font-weight: 800;
}

@media (max-width: 900px) {
    .product-detail-card {
        grid-template-columns: 1fr;
    }

    .product-detail-media {
        min-height: 360px;
    }

    .product-detail-content {
        padding: 26px;
        border-top: 1px solid var(--store-border);
        border-left: 0;
    }

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

@media (max-width: 520px) {
    .product-detail-page {
        padding-top: 18px;
    }

    .product-detail-media {
        min-height: 300px;
        padding: 22px;
    }

    .product-detail-content {
        padding: 20px;
    }

    .product-related-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-related-card > div {
        height: 120px;
    }
}


/* ==========================================================
   V54 - Blocos automáticos multi-marketplace
   ========================================================== */
.store-home-sections {
    padding: 12px 0 0;
}

.store-home-section {
    padding: 30px 0 6px;
}

.store-home-section + .store-home-section {
    border-top: 1px solid var(--store-border);
}

.store-home-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 15px;
}

.store-home-section-head h2 {
    margin: 4px 0 0;
    color: var(--store-text);
    font-size: clamp(1.2rem, 2.3vw, 1.7rem);
    letter-spacing: -.035em;
}

.store-home-section-head p {
    max-width: 660px;
    margin: 5px 0 0;
    color: var(--store-muted);
    font-size: .72rem;
    line-height: 1.5;
}

.store-home-section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    color: var(--store-blue);
    font-size: .69rem;
    font-weight: 800;
    text-decoration: none;
}

.store-home-carousel {
    position: relative;
}

.store-home-product-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.store-home-product-grid::-webkit-scrollbar {
    display: none;
}

.store-home-product-card {
    flex: 0 0 calc((100% - 36px) / 4);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.store-home-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 12;
    width: 46px;
    height: 64px;
    display: grid;
    place-items: center;
    border: 1px solid var(--store-border);
    border-radius: 14px;
    background: color-mix(
        in srgb,
        var(--store-card) 96%,
        transparent
    );
    color: var(--store-text);
    box-shadow: 0 12px 30px rgba(16, 24, 40, .12);
    transform: translateY(-50%);
    cursor: pointer;
    transition:
        transform .18s ease,
        opacity .18s ease,
        box-shadow .18s ease;
}

.store-home-carousel-arrow:hover {
    box-shadow: 0 15px 34px rgba(16, 24, 40, .18);
}

.store-home-carousel-arrow:active {
    transform: translateY(-50%) scale(.96);
}

.store-home-carousel-arrow[hidden] {
    display: none !important;
}

.store-home-carousel-arrow-prev {
    left: -23px;
}

.store-home-carousel-arrow-next {
    right: -23px;
}

.store-home-carousel-arrow i {
    font-size: 1.35rem;
}

.store-home-product-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--store-border);
    border-radius: var(--store-radius);
    background: var(--store-card);
    box-shadow: 0 8px 20px rgba(16, 24, 40, .035);
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.store-home-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(16, 24, 40, .07);
}

.store-home-product-image {
    position: relative;
    height: 190px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 12px;
    background: #fff;
    text-decoration: none;
}

.store-home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .2s ease;
}

.store-home-product-card:hover
.store-home-product-image img {
    transform: scale(1.025);
}

.store-home-product-image > span {
    color: #98a2b3;
    font-size: 1.5rem;
}

.store-home-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 7px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #067647;
    font-size: .6rem;
    font-weight: 850;
}

.store-home-product-body {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    padding: 12px;
    border-top: 1px solid var(--store-border);
}

.store-home-product-meta {
    min-height: 20px;
}

.store-home-product-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 4px 6px;
    border-radius: 999px;
    background: color-mix(
        in srgb,
        var(--store-blue) 9%,
        var(--store-card)
    );
    color: var(--store-blue);
    font-size: .56rem;
    font-weight: 750;
}

.store-home-product-body h3 {
    margin: 9px 0 8px;
    font-size: .74rem;
    line-height: 1.4;
}

.store-home-product-body h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--store-text);
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.store-home-product-body h3 a:hover {
    color: var(--store-blue);
}

.store-home-price {
    margin-top: auto;
}

.store-home-price del,
.store-home-price strong {
    display: block;
}

.store-home-price del {
    color: var(--store-muted);
    font-size: .62rem;
}

.store-home-price strong {
    margin-top: 1px;
    color: var(--store-text);
    font-size: .9rem;
    letter-spacing: -.02em;
}

.store-home-offer-button {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    border-radius: 9px;
    background: var(--store-green);
    color: #fff;
    font-size: .64rem;
    font-weight: 800;
    text-decoration: none;
}

.store-home-offer-button:hover {
    background: var(--store-green-dark);
    color: #fff;
}

@media (max-width: 1050px) {
    .store-home-product-card {
        flex-basis: calc((100% - 24px) / 3);
    }
}

@media (max-width: 760px) {
    .store-home-section {
        padding-top: 24px;
    }

    .store-home-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .store-home-product-card {
        flex-basis: calc((100% - 12px) / 2);
    }

    .store-home-carousel-arrow {
        width: 40px;
        height: 54px;
    }

    .store-home-carousel-arrow-prev {
        left: -12px;
    }

    .store-home-carousel-arrow-next {
        right: -12px;
    }

    .store-home-product-image {
        height: 165px;
    }
}

@media (max-width: 420px) {
    .store-home-product-grid {
        gap: 8px;
    }

    .store-home-product-card {
        flex-basis: 100%;
    }

    .store-home-carousel-arrow {
        width: 36px;
        height: 50px;
    }

    .store-home-product-image {
        height: 145px;
    }

    .store-home-product-body {
        min-height: 180px;
        padding: 10px;
    }
}

/* ==========================================================
   V56 - Subdepartamentos
   ========================================================== */
.department-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    color: var(--store-muted);
    font-size: .64rem;
}

.department-breadcrumb a {
    color: var(--store-muted);
    font-weight: 650;
    text-decoration: none;
}

.department-breadcrumb a:hover,
.department-breadcrumb a.active {
    color: var(--store-blue);
}

.department-breadcrumb i {
    font-size: .52rem;
}

.subdepartment-panel {
    margin-top: 14px;
    padding: 13px;
    border: 1px solid var(--store-border);
    border-radius: calc(var(--store-radius) - 2px);
    background: var(--store-card);
}

.subdepartment-panel-head {
    margin-bottom: 9px;
    color: var(--store-muted);
    font-size: .61rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.subdepartment-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.subdepartment-chips a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid var(--store-border);
    border-radius: 999px;
    background: var(--store-bg);
    color: var(--store-text);
    font-size: .64rem;
    font-weight: 700;
    text-decoration: none;
}

.subdepartment-chips a:hover,
.subdepartment-chips a.active {
    border-color: var(--store-blue);
    color: var(--store-blue);
}

.subdepartment-chips small {
    min-width: 20px;
    padding: 2px 5px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--store-blue) 10%, var(--store-card));
    color: var(--store-blue);
    font-size: .55rem;
    text-align: center;
}


/* ==========================================================
   V59 - Atualização AJAX do catálogo
   ========================================================== */
.store-catalog-region {
    position: relative;
}

.store-catalog-region.is-loading {
    min-height: 240px;
}

.store-catalog-region.is-loading::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 30;
    border-radius: 16px;
    background: rgba(247, 248, 250, .68);
    backdrop-filter: blur(1.5px);
}

.store-catalog-region.is-loading::after {
    content: "";
    position: absolute;
    top: 72px;
    left: 50%;
    z-index: 31;
    width: 34px;
    height: 34px;
    margin-left: -17px;
    border: 3px solid rgba(102, 112, 133, .2);
    border-top-color: var(--store-blue);
    border-radius: 50%;
    animation: storeCatalogSpin .7s linear infinite;
}

@keyframes storeCatalogSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-catalog-region.is-loading::after {
        animation-duration: 1.4s;
    }
}


/* ==========================================================
   V64 - Navegação de departamentos sem salto visual
   ========================================================== */
[data-products-anchor] {
    scroll-margin-top: 22px;
}

.store-catalog-region {
    overflow-anchor: none;
}


/* ==========================================================
   V79 - Categorias múltiplas na página de produto
   ========================================================== */
.product-meta .product-meta-category {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.product-meta .product-meta-category:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ==========================================================
   V80 - Footer público reorganizado + Afiliado SaaS
   ========================================================== */
.store-footer {
    padding: 0;
    border-top: 1px solid var(--store-border);
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfcfe 100%
        );
}

.store-footer .store-container.store-footer-main {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(180px, .55fr)
        minmax(230px, .72fr);
    gap: 42px;
    align-items: start;
    padding-top: 40px;
    padding-bottom: 22px;
}

.store-footer-identity {
    min-width: 0;
}

.store-footer-title {
    display: block;
    margin-bottom: 13px;
    color: #667085;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.store-footer-links-list {
    display: grid;
    justify-items: start;
    gap: 10px;
}

.store-footer-links-list a,
.store-footer-links-list button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #475467;
    font-family: inherit;
    font-size: .72rem;
    text-decoration: none;
    cursor: pointer;
}

.store-footer-links-list a:hover,
.store-footer-links-list button:hover {
    color: var(--store-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.store-footer-technology {
    min-width: 0;
}

.store-footer-saas {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 13px;
    background: #fff;
    color: #101828;
    text-decoration: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.store-footer-saas:hover {
    border-color: #b2ccff;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .07);
    transform: translateY(-1px);
}

.store-footer-saas-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background:
        linear-gradient(
            135deg,
            #12b76a,
            #2e90fa
        );
    color: #fff;
}

.store-footer-saas small,
.store-footer-saas strong {
    display: block;
}

.store-footer-saas small {
    color: #98a2b3;
    font-size: .58rem;
}

.store-footer-saas strong {
    margin-top: 2px;
    color: #101828;
    font-size: .76rem;
}

.store-footer-saas strong i {
    margin-left: 4px;
    font-size: .62rem;
}

.store-footer-tech-description {
    margin: 9px 0 0 !important;
    color: #667085;
    font-size: .65rem !important;
    line-height: 1.55 !important;
}

.store-footer-disclaimer-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    margin-top: 2px;
    padding: 18px 22px;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    color: #667085;
    text-align: center;
}

.store-footer-disclaimer-row > i {
    margin-top: 2px;
    color: #98a2b3;
}

.store-footer-disclaimer-row .affiliate-disclaimer {
    max-width: 900px;
    margin: 0;
    color: #667085;
    font-size: .66rem;
    line-height: 1.6;
    text-align: center;
}

.store-footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #98a2b3;
    font-size: .62rem;
}

.store-footer-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #667085;
    font-weight: 700;
    text-decoration: none;
}

.store-footer-bottom a:hover {
    color: var(--store-blue);
}

@media (max-width: 900px) {
    .store-footer .store-container.store-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .store-footer-identity {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .store-footer .store-container.store-footer-main {
        grid-template-columns: 1fr !important;
        gap: 26px;
        padding-top: 30px;
    }

    .store-footer-identity,
    .store-footer-links-column,
    .store-footer-technology,
    .store-footer-disclaimer-row,
    .store-footer-bottom {
        grid-column: 1;
    }

    .store-footer-disclaimer-row {
        padding-right: 0;
        padding-left: 0;
        text-align: left;
    }

    .store-footer-disclaimer-row .affiliate-disclaimer {
        text-align: left;
    }

    .store-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}


/* ==========================================================
   V81 - Footer compacto + logo global do Afiliado SaaS
   ========================================================== */

/*
 * Sobrescreve a regra antiga da V34 que usava duas colunas com
 * !important. Mantemos as três áreas na mesma linha no desktop.
 */
.store-footer .store-container.store-footer-main {
    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(160px, .46fr)
        minmax(240px, .62fr) !important;
    gap: 28px !important;
    padding-top: 24px;
    padding-bottom: 16px;
}

.store-footer-brand {
    gap: 11px;
}

.store-footer-brand > img {
    max-width: 118px;
    max-height: 48px;
}

.store-footer-brand p {
    max-width: 650px;
    margin-top: 4px;
    font-size: .68rem;
    line-height: 1.48;
}

.store-contact-list {
    margin-top: 11px;
    gap: 6px 12px;
}

.store-social-links {
    margin-top: 10px;
}

.store-footer-title {
    margin-bottom: 9px;
}

.store-footer-links-list {
    gap: 7px;
}

.store-footer-saas {
    gap: 9px;
    padding: 9px 10px;
    border-radius: 11px;
}

.store-footer-saas-icon,
.store-footer-saas-logo {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
}

.store-footer-saas-logo {
    border: 1px solid #e4e7ec;
    background: #fff;
}

.store-footer-saas-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.store-footer-tech-description {
    margin-top: 7px !important;
    font-size: .62rem !important;
}

.store-footer-copyright {
    margin-top: 13px;
    color: #98a2b3;
    font-size: .59rem;
}

.store-footer-disclaimer-row {
    margin-top: 0;
    padding: 12px 18px;
}

.store-footer-disclaimer-row .affiliate-disclaimer {
    font-size: .62rem;
    line-height: 1.5;
}

/*
 * A antiga linha inferior foi removida na V81.
 */
.store-footer-bottom {
    display: none !important;
}

@media (max-width: 900px) {
    .store-footer .store-container.store-footer-main {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(180px, .6fr) !important;
        gap: 24px !important;
    }

    .store-footer-identity {
        grid-column: 1 / -1;
    }

    .store-footer-links-column {
        grid-column: 1;
    }

    .store-footer-technology {
        grid-column: 2;
    }

    .store-footer-disclaimer-row {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .store-footer .store-container.store-footer-main {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding-top: 24px;
        padding-bottom: 12px;
    }

    .store-footer-identity,
    .store-footer-links-column,
    .store-footer-technology,
    .store-footer-disclaimer-row {
        grid-column: 1;
    }

    .store-footer-brand > img {
        max-width: 100px;
        max-height: 44px;
    }

    .store-footer-disclaimer-row {
        padding: 11px 0;
    }
}
