/* Shared SINTA palette for the public product catalog and theme library. */

/* Product catalog */
.site-page-content:has(.catalog-heading) {
    border: 1px solid rgba(234, 239, 157, .18);
    border-radius: 24px;
    box-shadow: 0 22px 52px rgba(10, 53, 23, .2);
}

.catalog-heading h1,
.catalog-empty-state h2,
.catalog-card-title { color: #fff; }
.catalog-heading p,
.catalog-empty-state,
.catalog-card-code { color: rgba(234, 239, 157, .72); }
.catalog-eyebrow { color: #c1d95c; }
.catalog-result-count {
    color: #173f20;
    background: #c1d95c;
}

.catalog-filter-panel {
    border-color: rgba(234, 239, 157, .24);
    background: rgba(16, 85, 43, .62);
    box-shadow: inset 0 1px rgba(255, 255, 255, .06);
}
.catalog-filter-panel label { color: #eaeF9d; }
.catalog-filter-panel .form-control,
.catalog-filter-panel .form-select {
    border-color: rgba(234, 239, 157, .32);
    color: #21472a;
    background-color: #f8fbdc;
}
.catalog-filter-panel .form-control:focus,
.catalog-filter-panel .form-select:focus {
    border-color: #c1d95c;
    box-shadow: 0 0 0 .2rem rgba(193, 217, 92, .24);
}
.catalog-filter-actions .btn-primary,
.catalog-card-actions .btn-success {
    border-color: #c1d95c;
    color: #173f20;
    background: linear-gradient(135deg, #eaeF9d, #c1d95c);
}
.catalog-filter-actions .btn-outline-secondary,
.catalog-card-actions .btn-outline-primary {
    border-color: rgba(234, 239, 157, .55);
    color: #eaeF9d;
    background: transparent;
}
.catalog-filter-actions .btn-outline-secondary:hover,
.catalog-card-actions .btn-outline-primary:hover {
    border-color: #eaeF9d;
    color: #173f20;
    background: #eaeF9d;
}

.catalog-card {
    border-color: rgba(234, 239, 157, .23);
    background: linear-gradient(145deg, #1f6533, #14502c);
    box-shadow: 0 14px 28px rgba(0, 42, 18, .2), inset 0 1px rgba(255,255,255,.05);
}
.catalog-card:hover {
    border-color: rgba(234, 239, 157, .5);
    box-shadow: 0 22px 38px rgba(0, 42, 18, .32), inset 0 1px rgba(255,255,255,.09);
}
.catalog-card-image { background: #336a29; }
.catalog-featured-badge {
    color: #1c4723;
    background: #eaeF9d;
}
.catalog-card-taxonomy span {
    color: #eaeF9d;
    background: rgba(234, 239, 157, .12);
}
.catalog-card-title:hover { color: #c1d95c; }
.catalog-card-price strong { color: #eaeF9d; }
.catalog-card-price del { color: rgba(255,255,255,.52); }
.catalog-stock.is-available { color: #c1d95c; }
.catalog-stock.is-empty { color: #ffd2c9; }
.catalog-empty-state {
    border-color: rgba(234, 239, 157, .38);
    background: rgba(16, 85, 43, .54);
}

/* Theme gallery */
.theme-library-page { background: #336a29; }
.theme-library-hero {
    color: #eaeF9d;
    background:
        radial-gradient(circle at 78% 18%, rgba(193, 217, 92, .24), transparent 27%),
        radial-gradient(circle at 15% 98%, rgba(128, 177, 85, .32), transparent 32%),
        linear-gradient(135deg, #336a29, #498428 55%, #336a29);
}
.theme-library-kicker,
.theme-library-heading span,
.theme-library-process > div > span,
.theme-library-process b { color: #c1d95c; }
.theme-library-hero p,
.theme-library-heading > p,
.theme-library-card p { color: rgba(234, 239, 157, .76); }
.theme-library-trust span {
    border-color: rgba(234, 239, 157, .24);
    color: #eaeF9d;
    background: rgba(17, 85, 43, .32);
}
.theme-browser { border-color: rgba(234, 239, 157, .34); }
.theme-browser-content { background: linear-gradient(135deg, #336a29, #498428); }
.theme-browser-content i,
.theme-browser-content em { background: #c1d95c; }
.theme-browser-content i { color: #173f20; }
.theme-float-card { color: #244d28; background: #eaeF9d; }
.theme-float-card i { color: #498428; }

.theme-library-content { background: #336a29; }
.theme-library-heading h2,
.theme-library-card h2 { color: #fff; }
.theme-library-card {
    border-color: rgba(234, 239, 157, .24);
    background: linear-gradient(145deg, #1f6533, #14502c);
    box-shadow: 0 14px 31px rgba(0, 42, 18, .22), inset 0 1px rgba(255,255,255,.05);
}
.theme-library-card:hover {
    border-color: rgba(234, 239, 157, .52);
    box-shadow: 0 23px 42px rgba(0, 42, 18, .34), inset 0 1px rgba(255,255,255,.08);
}
.theme-library-card-body > span { color: #c1d95c; }
.theme-library-card-body a { color: #eaeF9d; }
.theme-library-card-body .theme-library-consult {
    color: #173f20;
    background: linear-gradient(135deg, #eaeF9d, #c1d95c);
}
.theme-library-process {
    color: rgba(234, 239, 157, .78);
    background: linear-gradient(110deg, #245f2e, #336a29 55%, #245f2e);
}
.theme-library-process article { border-top-color: rgba(234, 239, 157, .23); }
.theme-library-process h2 { color: #fff; }
.theme-library-process p { color: rgba(234, 239, 157, .72); }

@media (max-width: 680px) {
    .site-page-content:has(.catalog-heading) { border-radius: 16px; }
}

/* The catalog originally loaded an emerald/blue stylesheet.  These final
   declarations deliberately replace that legacy palette with SINTA green. */
.site-main:has(.catalog-heading) { background: #336a29 !important; }
.catalog-heading {
    border-color: rgba(234, 239, 157, .2) !important;
    background-image:
        linear-gradient(rgba(234, 239, 157, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(234, 239, 157, .055) 1px, transparent 1px),
        radial-gradient(circle at 82% 22%, rgba(193, 217, 92, .25), transparent 27%),
        linear-gradient(135deg, #336a29, #498428 60%, #336a29) !important;
}
.catalog-heading:after {
    border-color: rgba(234, 239, 157, .2) !important;
    box-shadow: 0 0 0 50px rgba(234, 239, 157, .04), 0 0 0 102px rgba(234, 239, 157, .025) !important;
}
.catalog-eyebrow { color: #c1d95c !important; }
.catalog-eyebrow:before { background: #c1d95c !important; box-shadow: 0 0 0 5px rgba(193, 217, 92, .15) !important; }
.catalog-heading p { color: rgba(234, 239, 157, .78) !important; }
.catalog-result-count { color: #173f20 !important; border-color: #c1d95c !important; background: #c1d95c !important; }

.catalog-filter-panel {
    border-color: rgba(234, 239, 157, .24) !important;
    background: rgba(16, 85, 43, .94) !important;
}
.catalog-filter-panel label { color: #eaeF9d !important; }
.catalog-filter-panel .form-control,
.catalog-filter-panel .form-select { color: #21472a !important; border-color: rgba(234, 239, 157, .36) !important; background: #f8fbdc !important; }
.catalog-filter-panel .form-control::placeholder { color: #658261 !important; }
.catalog-filter-panel .btn-primary,
.catalog-card-actions .btn-success { color: #173f20 !important; background: linear-gradient(135deg, #eaeF9d, #c1d95c) !important; }
.catalog-filter-panel .btn-outline-secondary,
.catalog-card-actions .btn-outline-primary { color: #eaeF9d !important; border-color: rgba(234, 239, 157, .55) !important; background: rgba(255,255,255,.045) !important; }

.catalog-card { border-color: rgba(234, 239, 157, .23) !important; background: linear-gradient(145deg, #1f6533, #14502c) !important; }
.catalog-card:hover { border-color: rgba(234, 239, 157, .55) !important; }
.catalog-card-image { background: #336a29 !important; }
.catalog-featured-badge { color: #173f20 !important; background: #eaeF9d !important; }
.catalog-card-body { background: linear-gradient(180deg, rgba(31, 101, 51, .82), rgba(20, 80, 44, .98)) !important; }
.catalog-card-taxonomy span { color: #eaeF9d !important; border-color: rgba(234, 239, 157, .17) !important; background: rgba(234, 239, 157, .1) !important; }
.catalog-card-title { color: #fff !important; }
.catalog-card-title:hover { color: #c1d95c !important; }
.catalog-card-code { color: rgba(234, 239, 157, .68) !important; }
.catalog-card-price strong { color: #eaeF9d !important; }
.catalog-stock.is-available { color: #c1d95c !important; }
.catalog-empty-state { color: rgba(234, 239, 157, .76) !important; border-color: rgba(234, 239, 157, .34) !important; background: rgba(16, 85, 43, .75) !important; }

/* Product detail: the same SINTA green system as the catalog above. */
.site-main:has(.product-detail-hero) { background: #336a29 !important; }
.product-detail-hero {
    border-color: rgba(234, 239, 157, .2) !important;
    background-image:
        linear-gradient(rgba(234, 239, 157, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(234, 239, 157, .055) 1px, transparent 1px),
        radial-gradient(circle at 82% 22%, rgba(193, 217, 92, .25), transparent 27%),
        linear-gradient(135deg, #336a29, #498428 60%, #336a29) !important;
}
.product-detail-hero:after {
    border-color: rgba(234, 239, 157, .2) !important;
    box-shadow: 0 0 0 56px rgba(234, 239, 157, .04), 0 0 0 112px rgba(234, 239, 157, .025) !important;
}
.product-breadcrumb .breadcrumb-item,
.product-breadcrumb .breadcrumb-item.active,
.product-detail-hero p { color: rgba(234, 239, 157, .78) !important; }
.product-breadcrumb a,
.product-detail-kicker { color: #c1d95c !important; }
.product-detail-kicker:before { background: #c1d95c !important; box-shadow: 0 0 0 5px rgba(193, 217, 92, .15) !important; }

.product-detail-shell { background: transparent; }
.product-gallery-main {
    border-color: rgba(234, 239, 157, .28) !important;
    background: linear-gradient(145deg, #eaeF9d, #c1d95c) !important;
}
.product-gallery-thumbnails { border-color: rgba(234, 239, 157, .24) !important; background: rgba(16, 85, 43, .68) !important; }
.product-gallery-thumbnail { background: #336a29 !important; }
.product-gallery-thumbnail:hover,
.product-gallery-thumbnail:focus-visible,
.product-gallery-thumbnail.is-active {
    border-color: #c1d95c !important;
    box-shadow: 0 0 0 3px rgba(193, 217, 92, .18) !important;
}
.product-information {
    border-color: rgba(234, 239, 157, .24) !important;
    background: linear-gradient(145deg, #1f6533, #14502c) !important;
}
.product-code { color: #eaeF9d !important; border-color: rgba(234, 239, 157, .2) !important; background: rgba(234, 239, 157, .1) !important; }
.product-price-block { border-color: rgba(234, 239, 157, .2) !important; }
.product-final-price { color: #eaeF9d !important; }
.product-original-price { color: rgba(234, 239, 157, .58) !important; }
.product-discount { color: #173f20 !important; background: #c1d95c !important; }
.product-add-cart-form label { color: #eaeF9d !important; }
.product-add-cart-form .form-control {
    color: #21472a !important;
    border-color: rgba(234, 239, 157, .36) !important;
    background: #f8fbdc !important;
}
.product-actions .btn-success,
.product-description .btn-primary {
    border-color: #c1d95c !important;
    color: #173f20 !important;
    background: linear-gradient(135deg, #eaeF9d, #c1d95c) !important;
}
.product-actions .btn-outline-secondary,
.product-actions .btn-outline-danger {
    color: #eaeF9d !important;
    border-color: rgba(234, 239, 157, .55) !important;
    background: rgba(255,255,255,.045) !important;
}

.product-description {
    color: rgba(234, 239, 157, .82) !important;
    border-color: rgba(234, 239, 157, .22) !important;
    background: linear-gradient(145deg, rgba(31, 101, 51, .96), rgba(20, 80, 44, .98)) !important;
}
.product-description h2,
.product-description-content,
.product-description-content h1,
.product-description-content h2,
.product-description-content h3,
.product-description strong { color: #fff !important; }
.product-description-content,
.product-description .text-muted { color: rgba(234, 239, 157, .78) !important; }
.product-description-content a,
.product-description a { color: #eaeF9d !important; }
.product-description .border,
.product-description .border-top { border-color: rgba(234, 239, 157, .2) !important; }
.product-description .form-control,
.product-description .form-select,
.product-description textarea {
    color: #21472a !important;
    border-color: rgba(234, 239, 157, .36) !important;
    background: #f8fbdc !important;
}
