/* Owner-selected semantic colors. Values are sanitized HEX from the plugin. */
:root{--page-bg:#fdfdfd;--header-bg:#fff;--footer-bg:#f7f6fa;--on-primary:#fff;--price-color:#3b2c55;--hero:#f8f6ff;--offers:#f2edfc;--details-bg:#f6f2fc;--details-text:#5430b6;--details-hover:#eee6fc;--whatsapp:#20745d;--on-whatsapp:#fff;--badge-bg:#f3eefc;--badge-text:#7853a5;--sale-bg:#fff0e5;--sale-text:#a65b20;--new-bg:#eaf6ef;--new-text:#2c7855}
body{background:var(--page-bg);color:var(--ink)}
.site-header{background:var(--header-bg);border-color:var(--line)}
.site-footer{background:var(--footer-bg);border-color:var(--line)}
.primary-navigation,.skip-link,.hero-search,.product-card,.trust-strip,.product-modal,.modal-bottom,.testimonial-card,.button-outline,.icon-button{background:var(--surface);color:var(--ink);border-color:var(--line)}
.primary-navigation{background:var(--header-bg)}
.catalog-first .hero{background:linear-gradient(180deg,var(--hero),var(--surface))}
.hero-search input::placeholder,.hero-search>.icon,.product-category,.feature-list,.catalog-footnote,.offer-copy p,.footer-contact .contact-pending,.footer-top nav a,.footer-contact>a,.footer-bottom,#modal-description,#modal-features,#modal-activation,#modal-order-status{color:var(--muted)}
.hero-search,.footer-bottom,.trust-strip,.modal-header,.modal-bottom,.modal-plan,.faq-item{border-color:var(--line)}
.button-primary,.search-submit,.category-chip.is-current,.step-number{background:var(--purple);color:var(--on-primary);border-color:var(--purple)}
.button-primary:hover,.search-submit:hover{background:var(--purple-dark)}
.category-chip{background:var(--surface);color:var(--muted)}
.category-chip .icon{color:var(--purple)}
.category-chip.is-current .icon{color:var(--on-primary)}
.category-chip:hover{background:var(--pale);border-color:var(--purple)}
.category-chip.is-current:hover{background:var(--purple-dark);color:var(--on-primary)}
.card-detail{background:var(--details-bg);color:var(--details-text);border-color:var(--line)}
.card-detail:hover{background:var(--details-hover);border-color:var(--purple)}
.product-price strong,.modal-price strong{color:var(--price-color)}
.product-price>span,.product-price del,.catalog-first .product-price del{color:var(--muted)}
.badge{background:var(--badge-bg);color:var(--badge-text)}
.badge-sale{background:var(--sale-bg);color:var(--sale-text)}
.badge-new{background:var(--new-bg);color:var(--new-text)}
.offers-panel{background:var(--offers);border-color:var(--line)}
.benefits-section,.empty-state{background:var(--pale);border-color:var(--line)}
.trust-item>span,.benefit-icon,.step-icon,.faq-toggle,.modal-close,.app-mark,.button-quiet:hover{background:var(--pale);color:var(--purple);border-color:var(--line)}
#modal-activation{background:var(--pale)}
.modal-plan:has(:checked){background:var(--pale);border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple)}
.whatsapp-order,.footer-contact .footer-whatsapp{background:var(--whatsapp);color:var(--on-whatsapp);border-color:var(--whatsapp)}
.whatsapp-order:not(:disabled):hover,.footer-contact .footer-whatsapp:hover{filter:brightness(.93)}
.whatsapp-order:disabled{background:var(--line);color:var(--muted);border-color:var(--line)}
.tag-red{background:#ffebee;color:#9c243a}.tag-pink{background:#fce7f3;color:#9d174d}.tag-teal{background:#ccfbf1;color:#115e59}.tag-yellow{background:#fef9c3;color:#713f12}.tag-black{background:#242237;color:#fff}
/* Horizontal logos retain aspect ratio; desktop width is owner controlled. */
.brand{min-width:0}.brand-logo{height:auto;max-height:72px;max-width:100%;object-fit:contain;border-radius:0;flex:0 1 auto}.brand-text{min-width:0}.brand-hidden{width:0}
.header-inner>.brand{max-width:38%}.footer-brand .brand{max-width:100%}
.category-chip .category-custom-icon{width:22px;height:22px;object-fit:contain;flex:none;border-radius:3px}
.catalog-first .card-banner{width:100%;aspect-ratio:16/7;border-radius:9px;overflow:hidden;margin-block-end:7px;background:var(--surface)}
.catalog-first .card-banner-image{display:block;width:100%;height:100%;object-fit:contain}
.catalog-first .card-banner[data-fit=cover] .card-banner-image{object-fit:cover}
.catalog-first .card-top:empty{display:none}.catalog-first .card-top:has(.badge):not(:has(.app-mark,.product-image)){justify-content:flex-start;margin-block-end:5px}
/* Alignment is independent of writing direction. Explicit owner choices win. */
[data-align=center]{text-align:center!important}[data-align=right]{text-align:right!important}[data-align=left]{text-align:left!important}
.card-body h3[data-align=center],.card-detail[data-align=center],.whatsapp-order[data-align=center]{justify-content:center!important}
.card-body h3[data-align=right],.card-detail[data-align=right],.whatsapp-order[data-align=right]{justify-content:right!important}
.card-body h3[data-align=left],.card-detail[data-align=left],.whatsapp-order[data-align=left]{justify-content:left!important}
.section-heading>h1[data-align],.section-heading>h2[data-align]{flex:1}
.modal-identity>div:last-child{flex:1;min-width:0}
body[data-align=center] .card-tags,body[data-align=center] .product-price,body[data-align=center] .feature-list{justify-content:center}
body[data-align=right] .card-tags,body[data-align=right] .product-price{justify-content:right}
body[data-align=left] .card-tags,body[data-align=left] .product-price{justify-content:left}
@media(max-width:767px){.header-inner>.brand{max-width:calc(100% - 110px)}.brand-logo{max-width:min(100%,180px);max-height:58px}.catalog-first .card-banner{border-radius:7px}.category-chip .category-custom-icon{width:19px;height:19px}}

.faq-question{flex:1}.trust-item>strong{flex:1}.modal-identity #modal-mark:empty{display:none}.brand:empty{display:none}
.whatsapp-order:hover:not(:disabled){background:var(--whatsapp)}
#catalog-status:not(.sr-only),.unavailable-label{color:var(--muted)}
.modal-gallery img{background:var(--surface)}
.catalog-first .product-card:has(.card-banner) .card-body h3:not(.sr-only){min-height:24px;display:block;margin-block:2px}

.hero h1 span[data-align=center],.hero h1 span[data-align=right],.hero h1 span[data-align=left]{display:block}
.footer-signature[data-align=center]{justify-content:center}.footer-signature[data-align=left]{justify-content:left}.footer-signature[data-align=right]{justify-content:right}
.brand-mark span{border-color:var(--on-primary)}
@media(hover:hover){.product-card:hover{border-color:var(--purple)}}
.button-primary,.category-chip.is-current{box-shadow:0 5px 14px color-mix(in srgb,var(--purple) 10%,transparent)}
.header-inner>.brand{flex-shrink:1}.brand-logo{min-width:0}
@media(max-width:767px){.header-inner{gap:10px}.header-inner>.brand{max-width:calc(100% - 108px)}}
