.hero-section {
    padding: 28px 0 18px;
}

.hero-card {
    min-height: 430px;
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 78% 35%,
            rgba(246, 196, 0, 0.45),
            transparent 28%
        ),
        linear-gradient(120deg, #090909 0%, #151515 52%, #2a2100 100%);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 52px;
    color: var(--white);
    position: relative;
}

.hero-card.has-background-image {
    background-color: #101010;
    background-image:
        linear-gradient(
            90deg,
            rgba(5, 5, 5, 0.96) 0%,
            rgba(8, 8, 8, 0.9) 48%,
            rgba(8, 8, 8, 0.38) 100%
        ),
        var(--hero-background-image);
    background-position: var(--hero-background-position, center center);
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-card.has-background-image .hero-content {
    position: relative;
    z-index: 1;
}

.hero-card.has-background-image .tool-card {
    display: none;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    background: rgba(246, 196, 0, 0.14);
    border: 1px solid rgba(246, 196, 0, 0.45);
    color: var(--yellow);
    padding: 8px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-content h1 strong {
    display: block;
    color: var(--yellow);
}

.hero-content p {
    font-size: 19px;
    line-height: 1.5;
    color: #e8e8e8;
    max-width: 620px;
}

.hero-features {
    display: flex;
    gap: 18px;
    margin: 28px 0;
}

.hero-features div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-features span {
    width: 42px;
    height: 42px;
    background: var(--yellow);
    color: var(--black);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.hero-features p {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    min-height: 340px;
}

.tool-card {
    position: absolute;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--yellow), #ffe36a);
    color: var(--black);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 6px solid rgba(255, 255, 255, 0.13);
}

.main-tool {
    width: 230px;
    height: 230px;
    border-radius: 40px;
    font-size: 104px;
    right: 70px;
    top: 45px;
    transform: rotate(-8deg);
}

.small-tool {
    width: 96px;
    height: 96px;
    border-radius: 26px;
    font-size: 42px;
}

.small-tool.one {
    right: 280px;
    top: 10px;
    transform: rotate(10deg);
}

.small-tool.two {
    right: 20px;
    bottom: 35px;
    transform: rotate(8deg);
}

.small-tool.three {
    right: 260px;
    bottom: 12px;
    transform: rotate(-10deg);
}

.categories-section,
.login-access-section {
    padding: 38px 0;
}

.login-access-card {
    background: linear-gradient(90deg, var(--yellow), #ffd83d);
    border-radius: 24px;
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow);
}

.login-access-card h2 {
    font-size: 34px;
    color: var(--black);
    margin-bottom: 10px;
}

.login-access-card p {
    color: #2b2b2b;
    line-height: 1.5;
    font-size: 17px;
}

.login-box {
    background: var(--white);
    border-radius: 22px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.login-icon {
    width: 70px;
    height: 70px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    font-size: 32px;
}

.login-box h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.login-box p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 15px;
}

.benefits-section {
    background: var(--yellow);
    padding: 26px 0;
    margin-top: 24px;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.benefit-item span {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.benefit-item h3 {
    font-size: 16px;
    margin-bottom: 3px;
}

.benefit-item p {
    font-size: 13px;
}

.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 24px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
}

.site-footer-credit {
    margin-top: 24px;
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.035);
    text-align: center;
}

.site-footer-credit p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.site-footer-credit a {
    color: var(--yellow);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.site-footer-credit a:hover,
.site-footer-credit a:focus-visible {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer-credit a:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 4px;
}

/* Announcement carousel */
.announcement-section {
    padding: 22px 0 0;
}

.announcement-carousel {
    position: relative;
    background: linear-gradient(90deg, var(--yellow), #ffdd45);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.announcement-slide {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 32px;
}

.announcement-slide.is-active {
    display: flex;
}

.announcement-content span {
    display: inline-block;
    background: var(--black);
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 7px 12px;
    margin-bottom: 10px;
}

.announcement-content h2 {
    font-size: 28px;
    color: var(--black);
    margin-bottom: 5px;
}

.announcement-content p {
    color: #242424;
    font-size: 16px;
}

.announcement-button {
    background: var(--black);
    color: var(--white);
    border-radius: 12px;
    padding: 13px 18px;
    font-weight: 900;
    white-space: nowrap;
}

.announcement-dots {
    position: absolute;
    right: 24px;
    bottom: 12px;
    display: flex;
    gap: 6px;
}

.announcement-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.28);
    cursor: pointer;
}

.announcement-dots button.is-active {
    background: var(--black);
}

/* Hero extra */
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.55);
    color: var(--white);
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 900;
    transition: 0.2s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn-outline.dark {
    color: var(--black);
    border-color: var(--black);
}

/* Rubros */
.rubros-section {
    padding: 44px 0;
}

.section-heading p {
    margin-top: 8px;
    color: var(--muted);
    max-width: 680px;
    line-height: 1.5;
}

.rubros-grid {
    display: grid;
    gap: 20px;
}

.rubros-grid.featured {
    grid-template-columns: repeat(3, 1fr);
}

.rubros-grid.catalog {
    grid-template-columns: repeat(2, 1fr);
}

.rubro-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
    transition: 0.2s ease;
}

.rubro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.12);
}

.rubro-card.is-featured {
    border: 2px solid rgba(246, 196, 0, 0.65);
}

.rubro-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.rubro-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--yellow);
    display: grid;
    place-items: center;
    font-size: 30px;
}

.rubro-card h3 {
    font-size: 22px;
    margin-bottom: 7px;
}

.rubro-card p {
    color: var(--muted);
    line-height: 1.45;
}

.rubro-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.rubro-items span {
    background: var(--gray);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 700;
}

.rubro-brands {
    background: #fafafa;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 18px;
}

.rubro-brands strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.rubro-brands p {
    font-size: 14px;
}

.rubro-cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    border-radius: 12px;
    padding: 13px 16px;
    font-weight: 900;
}

/* Brands */
.brands-section {
    padding: 48px 0;
    background: var(--gray);
}

.section-heading.centered {
    justify-content: center;
    text-align: center;
}

.section-heading.centered p {
    margin-left: auto;
    margin-right: auto;
}

.brands-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.brands-grid span {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

/* About */
.about-section {
    padding: 56px 0;
}

.about-card {
    background: linear-gradient(135deg, var(--black), #262626);
    color: var(--white);
    border-radius: 26px;
    padding: 42px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 34px;
    align-items: center;
    box-shadow: var(--shadow);
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 14px;
}

.about-content p {
    color: #e7e7e7;
    line-height: 1.6;
    margin-bottom: 14px;
    font-size: 17px;
}

.about-content .btn-dark {
    background: var(--yellow);
    color: var(--black);
    margin-top: 10px;
}

.about-highlight {
    display: grid;
    gap: 14px;
}

.about-highlight div {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 18px;
}

.about-highlight strong {
    display: block;
    color: var(--yellow);
    font-size: 18px;
    margin-bottom: 5px;
}

.about-highlight span {
    color: #dedede;
}

/* Location */
.location-section {
    padding: 54px 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 24px;
}

.contact-card,
.map-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    padding: 32px;
}

.contact-card h2 {
    font-size: 32px;
    margin-bottom: 18px;
}

.contact-card ul {
    list-style: none;
    display: grid;
    gap: 13px;
    margin-bottom: 24px;
}

.contact-card li {
    color: var(--muted);
    line-height: 1.45;
}

.contact-card strong {
    color: var(--black);
}

.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.map-card {
    min-height: 420px;
    background: var(--gray);
}

/* WhatsApp floating */
.whatsapp-floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: white;
    border-radius: 999px;
    padding: 14px 18px;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.whatsapp-floating:hover {
    transform: translateY(-3px);
}

/* Rubro detail page */
.rubro-detail-hero {
    padding: 36px 0 24px;
}

.rubro-detail-card {
    background:
        radial-gradient(
            circle at 82% 30%,
            rgba(246, 196, 0, 0.45),
            transparent 26%
        ),
        linear-gradient(120deg, var(--black), #252525);
    color: var(--white);
    border-radius: 28px;
    padding: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    align-items: center;
    gap: 40px;
    box-shadow: var(--shadow);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--yellow);
    font-weight: 900;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.2;
    transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
    color: var(--white);
    transform: translateX(-3px);
}

.back-link .back-icon {
    width: 28px;
    height: 28px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    flex: 0 0 28px;
}

.back-link .back-icon svg {
    width: 7px;
    height: 12px;
    fill: currentColor;
}

.subrubro-hero-card .back-link,
.product-detail-section .back-link {
    color: #8a6d00;
}

.subrubro-hero-card .back-link:hover,
.product-detail-section .back-link:hover {
    color: var(--black);
}

.rubro-detail-content {
    min-width: 0;
}

.rubro-detail-card h1 {
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.05;
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}

.rubro-detail-card h1 span {
    margin-right: 12px;
}

.rubro-detail-card p {
    max-width: 760px;
    color: #e8e8e8;
    font-size: 19px;
    line-height: 1.5;
}

.rubro-detail-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.rubro-detail-visual {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 280px;
    border-radius: 30px;
    background: var(--yellow);
    color: var(--black);
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.rubro-detail-visual span {
    font-size: 96px;
}

.rubro-detail-visual.has-image {
    padding: 14px;
    background: #f7f7f7;
}

.rubro-detail-visual img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: contain;
}

.rubro-detail-section {
    padding: 36px 0;
}

.rubro-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-box {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.detail-box h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.detail-tags,
.detail-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-tags span {
    background: var(--yellow);
    color: var(--black);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
}

.detail-brands span {
    background: var(--gray);
    border: 1px solid var(--gray-2);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 800;
}

.rubro-contact-strip {
    padding: 28px 0 58px;
}

.rubro-contact-card {
    background: linear-gradient(90deg, var(--yellow), #ffdd45);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow);
}

.rubro-contact-card h2 {
    font-size: 30px;
    margin-bottom: 8px;
}

.rubro-contact-card p {
    color: #282828;
}

.rubro-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rubro-cta.secondary {
    background: var(--yellow);
    color: var(--black);
}

/* Catalog search */
.catalog-tools {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 26px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.catalog-search {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gray);
    border-radius: 16px;
    padding: 6px 16px;
    border: 2px solid transparent;
    transition: 0.2s ease;
}

.catalog-search:focus-within {
    border-color: var(--yellow);
    background: var(--white);
}

.catalog-search span {
    font-size: 22px;
}

.catalog-search input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
}

.catalog-search input::placeholder {
    color: #777;
}

.catalog-help {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.catalog-empty {
    display: none;
    text-align: center;
    background: var(--gray);
    border-radius: 22px;
    padding: 34px;
    margin-top: 24px;
}

.catalog-empty.is-visible {
    display: block;
}

.catalog-empty h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.catalog-empty p {
    color: var(--muted);
    margin-bottom: 18px;
}
/* Rubro card images */
.rubro-card {
    padding: 0;
    overflow: hidden;
}

.rubro-body {
    padding: 22px;
}

.rubro-media {
    position: relative;
    height: 190px;
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(246, 196, 0, 0.55),
            transparent 30%
        ),
        linear-gradient(135deg, #171717, #2a2a2a);
    overflow: hidden;
}

.rubro-card.is-featured .rubro-media {
    height: 210px;
}

.rubro-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rubro-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05),
        rgba(0, 0, 0, 0.32)
    );
}

.rubro-media-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.rubro-media-placeholder span {
    font-size: 86px;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.35));
}

.rubro-media-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--yellow);
    color: var(--black);
    display: grid;
    place-items: center;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.rubro-top {
    margin-bottom: 16px;
}

/* Private access */
.private-login-section,
.private-dashboard-section {
    padding: 54px 0;
}

.private-login-card {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 34px;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(246, 196, 0, 0.38),
            transparent 26%
        ),
        linear-gradient(120deg, var(--black), #252525);
    color: var(--white);
    border-radius: 28px;
    padding: 44px;
    box-shadow: var(--shadow);
}

.private-login-info h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1;
    margin-bottom: 18px;
}

.private-login-info p {
    color: #e5e5e5;
    font-size: 18px;
    line-height: 1.6;
    max-width: 650px;
}

.private-login-note {
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 18px;
}

.private-login-note strong {
    display: block;
    color: var(--yellow);
    margin-bottom: 5px;
}

.private-login-note span {
    color: #dddddd;
}

.private-login-form {
    background: var(--white);
    color: var(--black);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

.private-login-form h2 {
    font-size: 30px;
    margin-bottom: 22px;
}

.private-login-form label {
    display: grid;
    gap: 8px;
    font-weight: 900;
    margin-bottom: 18px;
}

.private-login-form input {
    width: 100%;
    border: 1px solid var(--gray-2);
    background: var(--gray);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 16px;
    outline: none;
}

.private-login-form input:focus {
    border-color: var(--yellow);
    background: var(--white);
}

.private-login-form button,
.logout-button {
    width: 100%;
    border: none;
    background: var(--yellow);
    color: var(--black);
    border-radius: 14px;
    padding: 15px 18px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
}

.form-error {
    background: #ffe1e1;
    color: #991b1b;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 18px;
    font-weight: 800;
}

.form-success {
    background: #e7f8ee;
    color: #176b38;
    border: 1px solid #b9e5c9;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.45;
}

.private-auth-links {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    text-align: center;
}

.private-auth-links a {
    color: #252525;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.private-auth-links a:hover,
.private-auth-links a:focus-visible {
    color: #8a6900;
}

.dashboard-header {
    background: linear-gradient(90deg, var(--yellow), #ffdd45);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

.dashboard-header h1 {
    font-size: 42px;
    margin-bottom: 8px;
}

.dashboard-header p {
    color: #2b2b2b;
    max-width: 720px;
    line-height: 1.5;
}

.logout-button {
    width: auto;
    background: var(--black);
    color: var(--white);
    white-space: nowrap;
}

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

.dashboard-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.dashboard-card span {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: var(--yellow);
    display: grid;
    place-items: center;
    font-size: 30px;
    margin-bottom: 18px;
}

.dashboard-card h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.dashboard-card p {
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 12px;
}

.dashboard-card small {
    display: block;
    color: var(--black);
    font-weight: 800;
}

/* Announcement carousel with images */
.announcement-slide.has-image {
    position: relative;
    min-height: 260px;
    padding: 0;
    background: var(--black);
}

.announcement-slide.image-only {
    min-height: 310px;
}

.announcement-image {
    width: 100%;
    height: 100%;
    min-height: inherit;
    background: var(--black);
}

.announcement-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.announcement-image-cover img {
    object-fit: cover;
    object-position: center;
}

.announcement-image-center img {
    object-fit: cover;
    object-position: center;
}

.announcement-image-left img {
    object-fit: cover;
    object-position: left center;
}

.announcement-image-right img {
    object-fit: cover;
    object-position: right center;
}

.announcement-image-contain {
    display: grid;
    place-items: center;
    background: var(--black);
}

.announcement-image-contain img {
    object-fit: contain;
    object-position: center;
    background: var(--black);
}

.announcement-slide.has-image:not(.image-only) .announcement-image {
    position: absolute;
    inset: 0;
}

.announcement-slide.has-image:not(.image-only) .announcement-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.82),
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.08)
    );
}

.announcement-slide.has-image:not(.image-only) .announcement-content {
    position: relative;
    z-index: 2;
    padding: 30px 34px;
    max-width: 620px;
}

.announcement-slide.has-image:not(.image-only) .announcement-content h2 {
    color: var(--white);
}

.announcement-slide.has-image:not(.image-only) .announcement-content p {
    color: #e5e5e5;
}

.announcement-slide.has-image:not(.image-only) .announcement-button {
    position: relative;
    z-index: 2;
    margin-right: 32px;
}

.announcement-full-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.announcement-carousel .announcement-dots {
    z-index: 5;
}

.announcement-slide.image-only .announcement-dots {
    bottom: 14px;
}

/* Fixed height sliding carousel */
.announcement-carousel.is-slider {
    height: clamp(260px, 24vw, 360px);
    overflow: hidden;
    position: relative;
}

.announcement-track {
    height: 100%;
    display: flex;
    transition: transform 0.65s ease-in-out;
    will-change: transform;
}

.announcement-carousel.is-slider .announcement-slide {
    display: flex !important;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-height: 0;
    align-items: center;
    justify-content: space-between;
}

.announcement-carousel.is-slider .announcement-slide.has-image,
.announcement-carousel.is-slider .announcement-slide.image-only {
    min-height: 0;
}

.announcement-carousel.is-slider .announcement-image {
    height: 100%;
    min-height: 0;
}

.announcement-carousel.is-slider .announcement-image img {
    height: 100%;
}

.announcement-carousel.is-slider .announcement-slide.no-image {
    background: linear-gradient(90deg, var(--yellow), #ffdd45);
    padding: 24px 32px;
}

.announcement-carousel.is-slider .announcement-slide.image-only {
    background: var(--black);
}

.announcement-carousel.is-slider
    .announcement-slide.image-only
    .announcement-image {
    width: 100%;
}

.announcement-carousel.is-slider
    .announcement-slide.image-only
    .announcement-image
    img {
    width: 100%;
    height: 100%;
}

.announcement-carousel.is-slider .announcement-image-contain img {
    object-fit: contain;
}

.announcement-carousel.is-slider .announcement-slide.is-temporary .announcement-image {
    background: var(--black);
}

.announcement-carousel.is-slider .announcement-slide.is-temporary .announcement-image img {
    object-fit: contain !important;
    object-position: center !important;
}

.announcement-carousel.is-slider.has-controls .announcement-slide.is-temporary .announcement-image {
    box-sizing: border-box;
    padding: 0 58px 42px;
}

.announcement-carousel.is-slider .announcement-image-cover img {
    object-fit: cover;
}

.announcement-temporary-badge {
    position: absolute;
    top: 14px;
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(8, 8, 8, .82);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    pointer-events: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.72);
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: 0.2s ease;
}

.carousel-arrow:hover {
    background: var(--black);
}

.carousel-prev {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

.announcement-carousel.is-slider .announcement-dots {
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 7;
    display: flex;
    gap: 8px;
    padding: 0;
}

.announcement-carousel.is-slider .announcement-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    transition: 0.25s ease;
}

.announcement-carousel.is-slider .announcement-dots button.is-active {
    width: 28px;
}

.announcement-carousel.is-slider .announcement-full-link {
    z-index: 4;
}

/* Admin banners */
.admin-banners-section,
.admin-banner-form-section {
    padding: 54px 0;
}

.admin-page-header {
    background: linear-gradient(90deg, var(--yellow), #ffdd45);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 28px;
}

.admin-page-header h1 {
    font-size: 42px;
    margin-bottom: 8px;
}

.admin-page-header p {
    color: #2c2c2c;
    max-width: 720px;
    line-height: 1.5;
}

.back-link.dark {
    color: var(--black);
    margin-bottom: 14px;
}

.admin-success {
    background: #dcfce7;
    color: #166534;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 900;
    margin-bottom: 22px;
}

.admin-banners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.admin-banner-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.admin-banner-preview {
    position: relative;
    height: 210px;
    background: var(--black);
}

.admin-banner-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--black);
}

.admin-banner-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 70px;
    background: linear-gradient(135deg, var(--black), #2d2d2d);
}

.status-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
}

.status-badge.active {
    background: #22c55e;
    color: white;
}

.status-badge.inactive {
    background: #ef4444;
    color: white;
}

.admin-banner-body {
    padding: 24px;
}

.banner-type {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 12px;
}

.admin-banner-body h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.admin-banner-body p {
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 16px;
}

.admin-banner-body ul {
    list-style: none;
    display: grid;
    gap: 7px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 18px;
}

.admin-banner-body strong {
    color: var(--black);
}

.admin-banner-actions {
    display: flex;
    gap: 10px;
}

.admin-banner-actions a,
.admin-banner-actions button,
.dashboard-link {
    border: none;
    background: var(--black);
    color: var(--white);
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 900;
    cursor: pointer;
    font-size: 14px;
}

.admin-banner-actions button {
    background: #991b1b;
}

.dashboard-link {
    display: inline-flex;
    margin-top: 14px;
    background: var(--black);
}

/* Banner form */
.admin-banner-form {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
}

.form-fields {
    display: grid;
    gap: 18px;
}

.admin-banner-form label {
    display: grid;
    gap: 8px;
    font-weight: 900;
}

.admin-banner-form input,
.admin-banner-form textarea,
.admin-banner-form select {
    width: 100%;
    border: 1px solid var(--gray-2);
    background: var(--gray);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    outline: none;
    font-family: inherit;
}

.admin-banner-form input:focus,
.admin-banner-form textarea:focus,
.admin-banner-form select:focus {
    border-color: var(--yellow);
    background: var(--white);
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.checkbox-group {
    display: grid;
    gap: 10px;
    background: var(--gray);
    border-radius: 16px;
    padding: 16px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.admin-banner-form button[type="submit"] {
    border: none;
    background: var(--yellow);
    color: var(--black);
    border-radius: 14px;
    padding: 15px 18px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
}

.form-image-box {
    background: var(--gray);
    border-radius: 22px;
    padding: 22px;
}

.image-preview {
    height: 240px;
    border-radius: 18px;
    background: var(--black);
    margin: 16px 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--white);
    font-weight: 900;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.form-image-box p {
    color: var(--muted);
    line-height: 1.45;
    font-size: 14px;
}

/* Admin rubros */
.admin-rubros-section,
.admin-rubro-form-section {
    padding: 54px 0;
}

.admin-rubros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.admin-rubro-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.admin-rubro-preview {
    position: relative;
    height: 180px;
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(246, 196, 0, 0.45),
            transparent 30%
        ),
        linear-gradient(135deg, var(--black), #2d2d2d);
    display: grid;
    place-items: center;
    font-size: 70px;
}

.admin-rubro-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-rubro-body {
    padding: 22px;
}

.admin-rubro-body h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.admin-rubro-body p {
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 16px;
}

.admin-rubro-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.admin-rubro-meta span {
    background: var(--gray);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 900;
}

.admin-rubro-body a {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 900;
}

.admin-rubro-form {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
}

/* Featured product showcase */
.featured-products-section {
    padding: 48px 0;
    background: #fafafa;
}

.showcase-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.showcase-product-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
    transition: 0.2s ease;
}

.showcase-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.14);
}

.showcase-product-media {
    height: 190px;
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(246, 196, 0, 0.45),
            transparent 30%
        ),
        linear-gradient(135deg, var(--black), #2d2d2d);
    display: grid;
    place-items: center;
    font-size: 74px;
}

.showcase-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-product-body {
    padding: 22px;
}

.showcase-product-body h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.product-brand {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 12px;
}

.showcase-product-body p {
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 18px;
}

.showcase-product-body a {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 900;
}

/* Admin products */
.admin-products-section,
.admin-product-form-section {
    padding: 54px 0;
}

.admin-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.admin-product-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.admin-product-preview {
    position: relative;
    height: 190px;
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(246, 196, 0, 0.45),
            transparent 30%
        ),
        linear-gradient(135deg, var(--black), #2d2d2d);
    display: grid;
    place-items: center;
    font-size: 70px;
}

.admin-product-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-product-body {
    padding: 22px;
}

.admin-product-body h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.admin-product-body strong {
    display: block;
    margin-bottom: 10px;
}

.admin-product-body p {
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 16px;
}

/* Business settings */
.admin-business-form-section {
    padding: 54px 0;
}

.admin-business-form {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.business-preview-card {
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(246, 196, 0, 0.38),
            transparent 30%
        ),
        linear-gradient(135deg, var(--black), #2a2a2a);
    color: var(--white);
    border-radius: 24px;
    padding: 28px;
    align-self: start;
}

.business-preview-card h2 {
    font-size: 32px;
    margin-bottom: 18px;
}

.business-preview-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.business-preview-card li {
    color: #e4e4e4;
    line-height: 1.45;
}

.business-preview-card strong {
    color: var(--yellow);
}

.business-preview-card .btn-dark {
    background: var(--yellow);
    color: var(--black);
}

/* Search page */
.search-page-section {
    padding: 42px 0 64px;
}

.search-hero-card {
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(246, 196, 0, 0.42),
            transparent 28%
        ),
        linear-gradient(120deg, var(--black), #252525);
    color: var(--white);
    border-radius: 28px;
    padding: 44px;
    box-shadow: var(--shadow);
    margin-bottom: 32px;
}

.search-hero-card h1 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    margin-bottom: 16px;
}

.search-hero-card p {
    color: #e6e6e6;
    font-size: 18px;
    line-height: 1.55;
    max-width: 780px;
    margin-bottom: 24px;
}

.search-page-form {
    display: flex;
    gap: 12px;
    background: var(--white);
    border-radius: 18px;
    padding: 8px;
    max-width: 760px;
}

.search-page-form input {
    width: 100%;
    border: none;
    outline: none;
    padding: 0 16px;
    font-size: 17px;
    font-weight: 700;
}

.search-page-form button {
    border: none;
    border-radius: 14px;
    background: var(--yellow);
    color: var(--black);
    padding: 15px 24px;
    font-weight: 900;
    cursor: pointer;
}

.search-message,
.search-summary {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 20px;
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.search-summary h2 {
    font-size: 28px;
    margin-bottom: 6px;
}

.search-summary p,
.search-message {
    color: var(--muted);
    font-weight: 800;
}

.search-results-block {
    margin-top: 34px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.search-result-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 24px;
    padding: 24px;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 18px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.search-result-icon {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    background: var(--yellow);
    display: grid;
    place-items: center;
    font-size: 36px;
}

.search-result-card > div > span {
    display: inline-block;
    background: var(--gray);
    color: var(--black);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 10px;
}

.search-result-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.search-result-card p {
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 14px;
}

.search-result-card strong {
    display: block;
    margin-bottom: 10px;
}

.search-result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
}

.search-result-tags small {
    background: var(--yellow);
    color: var(--black);
    border-radius: 999px;
    padding: 6px 9px;
    font-weight: 900;
}

.search-result-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.search-result-actions a {
    background: var(--black);
    color: var(--white);
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 900;
}

.search-result-actions a.secondary {
    background: var(--yellow);
    color: var(--black);
}

.search-result-card.product {
    grid-template-columns: 150px 1fr;
}

.search-result-media {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(246, 196, 0, 0.45),
            transparent 30%
        ),
        linear-gradient(135deg, var(--black), #2d2d2d);
    display: grid;
    place-items: center;
    font-size: 58px;
}

.search-result-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Admin backups */
.admin-backups-section {
    padding: 54px 0;
}

.backup-main-card {
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(246, 196, 0, 0.38),
            transparent 30%
        ),
        linear-gradient(135deg, var(--black), #2a2a2a);
    color: var(--white);
    border-radius: 26px;
    padding: 34px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
}

.backup-main-card h2 {
    font-size: 34px;
    margin-bottom: 10px;
}

.backup-main-card p {
    color: #e5e5e5;
    line-height: 1.5;
    max-width: 720px;
}

.backup-main-card button {
    border: none;
    border-radius: 16px;
    background: var(--yellow);
    color: var(--black);
    padding: 16px 22px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.backup-files-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.backup-file-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 22px;
    padding: 22px;
    display: flex;
    gap: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.backup-file-card > span {
    font-size: 26px;
}

.backup-file-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.backup-file-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.backup-file-card small {
    display: inline-block;
    font-weight: 900;
    border-radius: 999px;
    padding: 6px 9px;
}

.backup-file-card small.ok {
    background: #dcfce7;
    color: #166534;
}

.backup-file-card small.warning {
    background: #fef3c7;
    color: #92400e;
}

.backup-note {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.backup-note h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.backup-note p {
    color: var(--muted);
    line-height: 1.5;
}

/* Trust bar */
.trust-bar-section {
    padding: 26px 0 52px;
    background: var(--white);
}

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

.trust-item {
    background: #fafafa;
    border: 1px solid var(--gray-2);
    border-radius: 22px;
    padding: 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transition: 0.2s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
}

.trust-item span {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 16px;
    background: var(--yellow);
    display: grid;
    place-items: center;
    font-size: 24px;
}

.trust-item h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.trust-item p {
    color: var(--muted);
    line-height: 1.45;
    font-size: 14px;
}

/* Final consultation */
.final-consultation-section {
    padding: 54px 0;
    background: #fafafa;
}

.final-consultation-card {
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(246, 196, 0, 0.42),
            transparent 28%
        ),
        linear-gradient(135deg, var(--black), #262626);
    color: var(--white);
    border-radius: 30px;
    padding: 44px;
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow);
}

.final-consultation-card h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.02;
    margin-bottom: 14px;
}

.final-consultation-card p {
    color: #e7e7e7;
    line-height: 1.55;
    font-size: 18px;
    max-width: 760px;
}

.final-consultation-actions {
    display: grid;
    gap: 14px;
}

.final-consultation-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.btn-outline.light {
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--white);
}

.btn-outline.light:hover {
    background: var(--white);
    color: var(--black);
}

/* Brand logos section */
.brands-section {
    padding: 58px 0;
    background: var(--white);
}

.brand-groups-grid {
    display: grid;
    gap: 24px;
}

.brand-group-card {
    background: #fafafa;
    border: 1px solid var(--gray-2);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
}

.brand-group-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-end;
    margin-bottom: 22px;
}

.brand-group-header h3 {
    font-size: 28px;
    margin-bottom: 6px;
}

.brand-group-header p {
    color: var(--muted);
    line-height: 1.45;
    max-width: 760px;
}

.brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.brand-logo-card {
    min-height: 96px;
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 20px;
    padding: 18px;
    display: grid;
    place-items: center;
    transition: 0.2s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.brand-logo-card:hover {
    transform: translateY(-4px);
    border-color: var(--yellow);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.11);
}

.brand-logo-card img {
    width: 100%;
    max-width: 150px;
    max-height: 58px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: 0.2s ease;
}

.brand-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-logo-card strong {
    color: var(--black);
    font-size: 17px;
    text-align: center;
    font-weight: 900;
}

/* Sub-rubros públicos */
.subrubros-section,
.subrubro-products-section {
    padding: 54px 0;
    background: #fafafa;
}

.subrubros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.subrubro-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
    transition: 0.2s ease;
    min-width: 0;
}

.subrubro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.14);
}

.subrubro-card a {
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.subrubro-media {
    width: 100%;
    aspect-ratio: 8 / 5;
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(246, 196, 0, 0.45),
            transparent 30%
        ),
        linear-gradient(135deg, var(--black), #2d2d2d);
    display: grid;
    place-items: center;
    font-size: 72px;
    overflow: hidden;
    flex: none;
}

.subrubro-media.has-image {
    padding: 12px;
    background: #f3f4f6;
}

.subrubro-media img {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: contain;
}

.subrubro-body {
    padding: 22px;
    background: var(--white);
    display: flex;
    flex: 1;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.subrubro-body h3 {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.subrubro-body p {
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 16px;
    flex: 1;
}

.subrubro-body strong {
    display: inline-flex;
    align-self: flex-start;
    background: var(--black);
    color: var(--white);
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 14px;
}

/* Search brand results */
.search-result-card.brand {
    grid-template-columns: 150px 1fr;
}

.search-result-brand-logo {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--gray-2);
    display: grid;
    place-items: center;
    padding: 18px;
    font-size: 54px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.search-result-brand-logo img {
    width: 100%;
    max-width: 130px;
    max-height: 70px;
    object-fit: contain;
}
/* Catálogo visual por sub-rubro */
.subrubro-hero-section {
    padding: 54px 0 28px;
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(246, 196, 0, 0.24),
            transparent 32%
        ),
        linear-gradient(135deg, #111, #262626);
}

.subrubro-hero-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 32px;
    padding: 36px 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 40px;
    align-items: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.subrubro-hero-content h1 {
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin: 0 0 18px;
    overflow-wrap: anywhere;
}

.subrubro-hero-content h1 span {
    display: inline-block;
    margin-right: 8px;
}

.subrubro-hero-content p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
    max-width: 820px;
}

.subrubro-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.subrubro-hero-side {
    display: grid;
}

.subrubro-hero-visual {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 190px;
    max-height: 260px;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 65% 25%,
            rgba(255, 255, 255, 0.4),
            transparent 28%
        ),
        var(--yellow);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.subrubro-hero-visual span {
    font-size: 86px;
}

.subrubro-hero-visual.has-image {
    padding: 12px;
    background: #f3f4f6;
}

.subrubro-hero-visual img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: contain;
}

.subrubro-search-card {
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 26px;
    display: grid;
    grid-template-columns: 1fr minmax(280px, 460px);
    gap: 20px;
    align-items: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.subrubro-search-card strong {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.subrubro-search-card p {
    color: var(--muted);
}

.subrubro-search-card input {
    width: 100%;
    border: 1px solid var(--gray-2);
    border-radius: 16px;
    padding: 15px 16px;
    font-size: 16px;
    font-weight: 800;
    outline: none;
}

.subrubro-search-card input:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 4px rgba(246, 196, 0, 0.22);
}

.showcase-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.product-showcase-card {
    min-width: 0;
    height: 100%;
    background: var(--white);
    border: 1px solid var(--gray-2);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
}

.product-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.14);
}

.product-showcase-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(246, 196, 0, 0.45),
            transparent 30%
        ),
        linear-gradient(135deg, var(--black), #2d2d2d);
    display: grid;
    place-items: center;
    font-size: 74px;
}

.product-showcase-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
    border-radius: 14px;
    object-fit: contain;
    object-position: center;
}

.product-showcase-media.has-image {
    padding: 12px;
    background: #f3f4f6;
}

.product-showcase-media em {
    position: absolute;
    left: 14px;
    top: 14px;
    max-width: calc(100% - 28px);
    background: rgba(11, 11, 11, 0.86);
    color: var(--white);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.product-showcase-body {
    min-width: 0;
    min-height: 250px;
    flex: 1 1 auto;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.product-showcase-category {
    display: inline-flex;
    width: fit-content;
    background: rgba(246, 196, 0, 0.22);
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--black);
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 10px;
}

.product-showcase-body h3 {
    font-size: 23px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.product-showcase-body p {
    color: var(--muted);
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.product-whatsapp-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #25d366;
    color: var(--white);
    border-radius: 15px;
    padding: 13px 14px;
    font-weight: 950;
    text-align: center;
}

.catalog-empty {
    display: none;
}

.catalog-empty.is-visible {
    display: block;
}

/* =========================================
   Ficha pública de producto
========================================= */

.product-detail-section {
    padding: 54px 0;
    background:
        radial-gradient(
            circle at 84% 10%,
            rgba(246, 196, 0, 0.22),
            transparent 32%
        ),
        #f6f6f6;
}

.product-detail-card {
    margin-top: 22px;
    background: var(--white);
    border-radius: 34px;
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(320px, 520px) 1fr;
    gap: 38px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.13);
}

.product-detail-gallery {
    display: grid;
    gap: 16px;
    align-content: start;
}

.product-detail-image {
    min-height: 480px;
    border-radius: 28px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(246, 196, 0, 0.45),
            transparent 30%
        ),
        linear-gradient(135deg, var(--black), #2d2d2d);
    display: grid;
    place-items: center;
    font-size: 110px;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    object-fit: contain;
}

.product-detail-image.has-image {
    padding: 16px;
    background: #f3f4f6;
}

.product-detail-note {
    background: #fafafa;
    border: 1px solid var(--gray-2);
    border-radius: 22px;
    padding: 18px;
}

.product-detail-note strong {
    display: block;
    margin-bottom: 4px;
}

.product-detail-note p {
    color: var(--muted);
    line-height: 1.45;
}

.product-detail-content {
    padding: 14px 8px;
}

.product-detail-content h1 {
    font-size: clamp(36px, 5vw, 66px);
    line-height: 0.95;
    letter-spacing: -2px;
    margin: 14px 0 20px;
}

.product-detail-brand {
    display: inline-grid;
    gap: 4px;
    background: rgba(246, 196, 0, 0.22);
    border-radius: 18px;
    padding: 13px 16px;
    margin-bottom: 20px;
}

.product-detail-brand span,
.product-detail-info-grid span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.product-detail-brand strong {
    font-size: 18px;
}

.product-detail-description {
    color: var(--text);
    font-size: 19px;
    line-height: 1.6;
    max-width: 760px;
}

.product-detail-info-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.product-detail-info-grid div {
    background: #fafafa;
    border: 1px solid var(--gray-2);
    border-radius: 20px;
    padding: 18px;
}

.product-detail-info-grid strong {
    display: block;
    margin-top: 6px;
    font-size: 17px;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.product-detail-help {
    margin-top: 24px;
    border-left: 5px solid var(--yellow);
    background: #fff9d8;
    border-radius: 18px;
    padding: 18px;
}

.product-detail-help strong {
    display: block;
    margin-bottom: 5px;
}

.product-detail-help p {
    color: var(--muted);
    line-height: 1.45;
}

.related-products-section {
    padding: 54px 0;
    background: var(--white);
}

.product-showcase-media-link {
    display: block;
    width: 100%;
    height: 230px;
    min-height: 230px;
    max-height: 230px;
    flex: 0 0 230px;
    overflow: hidden;
    color: inherit;
}

.product-showcase-body h3 a {
    color: var(--black);
}

.product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: auto;
}

.product-detail-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--black);
    color: var(--white);
    border-radius: 15px;
    padding: 13px 14px;
    font-weight: 950;
    text-align: center;
}

.product-card-actions .product-whatsapp-button {
    width: 100%;
}

.product-cart-button,
.product-detail-cart-button {
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 950;
}

.product-cart-button {
    grid-column: 1 / -1;
    min-height: 46px;
    border-radius: 15px;
    background: var(--yellow);
    color: var(--black);
}

.product-cart-button.is-added,
.product-detail-cart-button.is-added {
    background: #14783e;
    color: #fff;
}

.product-detail-cart-button {
    min-height: 48px;
}

.product-showcase-measures {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 12px;
}

.product-showcase-measures span {
    border: 1px solid #ead77c;
    border-radius: 999px;
    padding: 5px 8px;
    background: #fff9d8;
    color: #5a4b00;
    font-size: 12px;
    font-weight: 900;
}

.product-card-variant-picker {
    display: grid;
    gap: 6px;
    margin: 10px 0 12px;
}

.product-card-variant-picker > span,
.product-detail-variant-picker > label,
.product-detail-variant-picker > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.product-card-variant-picker select,
.product-detail-variant-picker select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d9c34f;
    border-radius: 13px;
    background: #fffdf1;
    color: var(--black);
    padding: 9px 38px 9px 11px;
    font: inherit;
    font-weight: 850;
}

.product-card-variant-single {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 10px 0 12px;
    border: 1px solid #ead77c;
    border-radius: 13px;
    background: #fff9d8;
    padding: 8px 10px;
}

.product-card-variant-single span {
    color: #4d4100;
    font-weight: 950;
}

.product-card-variant-single small {
    color: var(--muted);
    font-weight: 800;
}

.product-detail-variant-picker {
    display: grid;
    gap: 9px;
    margin: 4px 0 22px;
    max-width: 680px;
}

.product-detail-variant-picker select {
    min-height: 52px;
    border-radius: 16px;
    font-size: 16px;
}

.product-detail-variant-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    border: 1px solid var(--gray-2);
    border-radius: 16px;
    background: #fafafa;
    padding: 13px 15px;
}

.product-detail-variant-summary div {
    display: grid;
    gap: 3px;
}

.product-detail-variant-summary span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.product-detail-variant-summary strong {
    font-size: 15px;
}

.product-detail-variant-summary p {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.product-detail-variant-single {
    border: 1px solid #ead77c;
    border-radius: 16px;
    background: #fff9d8;
    padding: 14px 16px;
}

.product-detail-variant-single > strong {
    color: #4d4100;
    font-size: 18px;
}

.product-detail-variant-single small {
    color: var(--muted);
    font-weight: 750;
}

.product-variant-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.product-variant-thumbnails button {
    min-width: 0;
    display: grid;
    gap: 6px;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 8px;
    background: #fff;
    color: var(--black);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.product-variant-thumbnails button.is-selected {
    border-color: var(--yellow-dark);
    background: #fff9d8;
}

.product-variant-thumbnails img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 9px;
    object-fit: contain;
    background: #f3f4f6;
}

.product-variant-thumbnails span {
    overflow: hidden;
    color: #4d4100;
    font-size: 11px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-detail-measures {
    display: grid;
    gap: 10px;
    margin: 4px 0 22px;
}

.product-detail-measures > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.product-detail-measures > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-detail-measures strong {
    border: 1px solid #ead77c;
    border-radius: 999px;
    padding: 8px 11px;
    background: #fff9d8;
    color: #4d4100;
    font-size: 14px;
}
