/* Compact catalog composition. Product discovery takes priority over promotion. */
.catalog-first .hero{padding-block:22px 18px;background:linear-gradient(180deg,#f8f6ff,#fff)}
.catalog-first .hero-layout{grid-template-columns:1.3fr 1fr;gap:32px}
.catalog-first .hero h1{font-size:30px;letter-spacing:-.4px;line-height:1.5;margin-block-end:4px}
.catalog-first .hero-description{font-size:15px}
.catalog-first .hero-search{margin:0;max-width:none;padding:5px 12px 5px 5px}
.catalog-first .section-categories{padding-block:0 8px}
.catalog-first .category-grid{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;padding:7px 3px 9px;scrollbar-width:thin;scrollbar-color:#d6c9ee transparent}
.catalog-first .category-chip{flex:none;flex-direction:row;min-height:44px;padding:8px 15px;gap:7px;font-size:14px;border-radius:12px}
.catalog-first .category-chip .icon{width:19px;height:19px}
.catalog-first .section-products{padding-block:4px 28px;scroll-margin-top:8px}
.catalog-first .section-products .section-heading{display:flex;align-items:center;margin-block-end:12px;gap:10px}
.catalog-first .section-products h2{font-size:25px}
.catalog-first .section-products .text-link{font-size:14px;gap:8px}
.catalog-first .section-products .text-link .icon{width:17px;height:17px}
.catalog-first .product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.catalog-first .product-card{padding:16px;border-radius:16px;box-shadow:0 3px 15px #29233804}
.catalog-first .card-top{align-items:center;margin-block-end:8px;gap:6px}
.catalog-first .app-mark,.catalog-first .product-image{width:42px;height:42px;border-radius:12px}
.catalog-first .app-mark .icon{width:24px;height:24px}
.catalog-first .badge{font-size:11px;padding:2px 7px;white-space:nowrap}
.catalog-first .card-body h3{font-size:20px;line-height:1.4;margin:0;letter-spacing:0;min-height:28px}
.catalog-first .card-bottom{flex-direction:column;align-items:stretch;gap:10px;border:0;padding-block-start:6px;margin-block-start:auto}
.catalog-first .product-price{flex-direction:row;align-items:center;gap:5px;flex-wrap:wrap;min-height:29px}
.catalog-first .product-price strong{font-size:19px}
.catalog-first .product-price>span{font-size:12px}
.catalog-first .card-detail{font-size:14px;min-height:44px;padding:7px 10px;border-radius:9px;justify-content:space-between}
.catalog-first .catalog-footnote{margin-block-start:16px;font-size:13px}
.catalog-first .offers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.no-script-details{padding-block:16px;font-size:14px}
html:not(.js) .catalog-first .card-detail{display:none}
/* Native dialog handles inert background, focus trapping and Escape. */
.product-modal{padding:0;border:1px solid var(--line);border-radius:24px;background:#fff;color:var(--ink);width:min(620px,calc(100% - 40px));max-height:min(800px,90dvh);overflow:hidden;box-shadow:0 28px 100px #21163933}
.product-modal[open]{display:flex;flex-direction:column}
.product-modal::backdrop{background:#19132b88;backdrop-filter:blur(3px)}
.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 24px;border-block-end:1px solid var(--line);flex:none;font-size:15px;color:var(--muted)}
.modal-close{border:0;background:#f5f2fa;min-width:44px;min-height:44px}
.modal-content{padding:24px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
.modal-identity{display:flex;align-items:center;gap:16px;margin-block-end:20px}
#modal-mark{display:flex;flex-direction:column;align-items:center;gap:8px}
.modal-identity h2{font-size:27px;letter-spacing:0}
.modal-identity .kicker{margin-block-end:3px;font-size:13px}
#modal-description{white-space:pre-line;color:#625c70;font-size:16px}
.modal-features{margin-block:22px}
.modal-features h3,.product-modal legend{font-size:18px;font-weight:700}
#modal-features{padding-inline-start:22px;color:#625c70;margin-block:8px}
#modal-features li::marker{color:var(--purple)}
.product-modal fieldset{padding:0;margin:22px 0 0;border:0;min-width:0}
.product-modal legend{margin-block-end:12px}
#modal-plans{display:grid;gap:10px}
.modal-plan{display:flex;align-items:center;gap:10px;min-height:66px;padding:12px;border:1px solid var(--line);border-radius:12px;cursor:pointer}
.modal-plan:has(:checked){border-color:var(--purple);background:var(--pale);box-shadow:inset 0 0 0 1px var(--purple)}
.modal-plan input{width:18px;height:18px;accent-color:var(--purple);flex:none;margin:0}
.modal-plan>span{flex:1;min-width:0;line-height:1.5}
.modal-plan strong{font-size:16px;display:block}
.modal-plan small{font-size:13px;color:var(--muted)}
.modal-plan>bdi{font-size:16px;white-space:nowrap;font-weight:700}
#modal-activation{font-size:14px;color:var(--muted);padding:12px;background:#f7f6fa;border-radius:10px;margin-block-start:16px}
.modal-bottom{padding:16px 24px;border-block-start:1px solid var(--line);background:#fff;flex:none}
.modal-price{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.modal-price>span{font-size:13px;color:var(--muted)}
.modal-price strong{font-size:25px;direction:ltr;unicode-bidi:isolate;color:var(--purple-dark)}
.modal-price del{font-size:15px;direction:ltr;unicode-bidi:isolate;color:var(--muted)}
#modal-order-status{font-size:13px;color:#6c5b7e;margin-block-start:5px}
@media(max-width:1099px){
 .catalog-first .hero h1{font-size:25px}
 .catalog-first .hero-layout{gap:20px}
 .catalog-first .card-body h3{font-size:18px}
}
@media(max-width:899px){.catalog-first .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-first .hero-layout{grid-template-columns:1fr 1fr}}
@media(max-width:767px){
 .catalog-first .hero{padding-block:14px 8px}
 .catalog-first .hero-layout{display:block}
 .catalog-first .hero-copy{text-align:start}
 .catalog-first .hero h1{font-size:22px;line-height:1.35;letter-spacing:0;margin-block-end:0}
 .catalog-first .hero-description{display:none}
 .catalog-first .hero-search{margin-block-start:10px;gap:8px;border-radius:11px}
 .catalog-first .section-categories{padding-block:0}
 .catalog-first .category-grid{gap:7px;padding-block:5px 8px}
 .catalog-first .category-chip{font-size:13px;padding:7px 11px;min-height:44px;border-radius:10px}
 .catalog-first .category-chip .icon{width:17px;height:17px}
 .catalog-first .section-products{padding-block:0 22px}
 .catalog-first .section-products .section-heading{margin-block-end:6px;min-height:38px}
 .catalog-first .section-products h2{font-size:22px}
 .catalog-first .section-products .text-link{font-size:13px}
 .catalog-first .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .catalog-first .product-card{padding:11px;border-radius:13px}
 .catalog-first .card-top{margin-block-end:5px}
 .catalog-first .app-mark,.catalog-first .product-image{width:34px;height:34px;border-radius:10px}
 .catalog-first .app-mark .icon{width:21px;height:21px}
 .catalog-first .badge{font-size:10px;padding:1px 6px;border-radius:5px}
 .catalog-first .card-body h3{font-size:16px;line-height:1.3;min-height:42px;display:flex;align-items:center}
 .catalog-first .card-bottom{padding-block-start:2px;gap:6px}
 .catalog-first .product-price{gap:4px;min-height:25px}
 .catalog-first .product-price>span{font-size:11px}
 .catalog-first .product-price strong{font-size:17px}
 .catalog-first .card-detail{font-size:13px;padding:6px 9px;min-height:44px;gap:3px}
 .catalog-first .card-detail .icon{width:15px;height:15px}
 .catalog-first .offers-panel{padding:20px 12px}
 .catalog-first .offers-grid{gap:9px}
 .product-modal{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
 .modal-header{padding:10px 18px;padding-block-start:max(10px,env(safe-area-inset-top))}
 .modal-content{padding:20px 18px;flex:1}
 .modal-identity h2{font-size:24px}
 .modal-bottom{padding:14px 18px;padding-block-end:max(14px,env(safe-area-inset-bottom))}
}
@media(max-width:359px){
 .catalog-first .hero h1{font-size:21px}
 .catalog-first .product-card{padding:9px}
 .catalog-first .card-body h3{font-size:15px;min-height:39px}
 .catalog-first .product-price strong{font-size:16px}
 .catalog-first .card-detail{font-size:12px;padding-inline:7px}
 .modal-plan{padding:10px;gap:7px}
 .modal-plan strong,.modal-plan>bdi{font-size:14px}
}
/* Owner-controlled card presentation and taxonomy labels. */
.catalog-first .product-grid{grid-template-columns:repeat(var(--catalog-desktop-columns,4),minmax(0,1fr))}
.catalog-first .card-body h3[dir=ltr]{text-align:left}.catalog-first .card-body h3[dir=rtl]{text-align:right}
.catalog-first .card-body h3[dir=auto]{unicode-bidi:plaintext}
.card-tags{display:flex;gap:4px;margin-block:5px 1px;min-width:0}
.product-tag{display:inline-block;padding:1px 6px;font-size:11px;line-height:1.7;border-radius:5px;background:#f1ecfc;color:#563392;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tag-blue{background:#eaf1ff;color:#2456a0}.tag-green{background:#e8f4ed;color:#23613f}.tag-orange{background:#fff1df;color:#855018}.tag-neutral{background:#efedf2;color:#5b5465}
.unavailable-label{font-size:11px;color:#874828}.catalog-first .product-price del{font-size:11px;color:#6e647a}
.catalog-first .product-description{font-size:13px;min-height:0;margin-block:5px;line-height:1.7}
.catalog-first .feature-list{margin-block:5px 8px}
#load-more{margin:24px auto 0;display:flex}#catalog-empty{margin-block:20px}
#catalog-status:not(.sr-only){font-size:14px;padding-block:8px;color:#6c5b7e}
#clear-search{min-width:38px;min-height:44px;border:0;background:transparent;padding:4px}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.testimonial-card{margin:0;padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}
.testimonial-card blockquote{margin:0 0 16px}.testimonial-card figcaption{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.testimonial-card img{width:40px;height:40px;border-radius:50%;object-fit:cover}.testimonial-card figcaption>span{color:#775315}
html:not(.js) .catalog-first .card-detail{display:flex}
@media(min-width:768px) and (max-width:899px){.catalog-first .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.catalog-first .product-grid{grid-template-columns:repeat(var(--catalog-mobile-columns,2),minmax(0,1fr))}.testimonial-grid{grid-template-columns:1fr}}
.whatsapp-order{width:100%;background:#19734d;color:#fff;gap:10px;margin-block-start:10px;border:0;min-height:46px}.whatsapp-order:hover:not(:disabled){background:#105637}.whatsapp-order:disabled{background:#e6e3ec;color:#62596f;cursor:not-allowed}
#modal-description{white-space:pre-line}.modal-gallery{display:flex;gap:12px;overflow-x:auto;margin-block:16px;overscroll-behavior-inline:contain}.modal-gallery img{object-fit:contain;width:220px;height:170px;flex:none;border-radius:12px;background:#f8f7fb}
#modal-mark img{width:64px;height:64px;object-fit:contain;border-radius:12px}#modal-tags{flex-wrap:wrap}
.modal-features h3{margin:0}.catalog-first .section-products>.hero-search{margin-block:10px 18px}
html:not(.js) #load-more,html:not(.js) #reset-filters{display:none}
.product-grid[aria-busy=true]{opacity:.65;transition:opacity .15s}
.product-page{max-width:850px}.single-product-header{display:flex;align-items:center;gap:20px;margin-block:24px}.single-product-header h1{margin:0;font-size:34px}.product-page h2{font-size:24px;margin-block:26px 10px}.single-order-form{margin-block:26px}.single-order-form fieldset{border:0;padding:0;margin:0}.single-order-form legend{font-size:24px;font-weight:700;margin-block-end:12px}.single-order-form .modal-plan{margin-block:10px}.single-order-form>p{margin-block:18px}.single-order-form .whatsapp-order{max-width:400px}.product-page>article>div p{margin-block:12px}
html{scrollbar-gutter:stable}
.catalog-first .section-products h1{font-size:25px;line-height:1.4;letter-spacing:-.5px}
@media(max-width:767px){.catalog-first .section-products h1{font-size:22px}}
#modal-tags .product-tag{white-space:normal;text-overflow:clip}
