:root {
    --rapid-red: #e22b25;
    --rapid-red-dark: #b81613;
    --rapid-orange: #ff4a12;
    --rapid-yellow: #ffd21e;
    --rapid-ink: #171717;
    --rapid-blue: #001b6f;
    --rapid-muted: #6b7280;
    --rapid-border: #e5e7eb;
    --rapid-bg: #f7f8fb;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--rapid-bg);
    color: var(--rapid-ink);
}

.site-top {
    background: #fff;
    color: #fff;
    border-bottom: 1px solid var(--rapid-border);
}

.site-top .container {
    padding-bottom: .65rem !important;
    padding-top: .65rem !important;
}

.brand {
    color: var(--rapid-red);
    font-size: 1.55rem;
    font-weight: 850;
    text-decoration: none;
    letter-spacing: .2px;
}

.brand-logo img {
    width: 156px;
    height: 62px;
    object-fit: cover;
    object-position: center 26%;
    border: 2px solid var(--rapid-red);
    border-radius: 8px;
    background: #fff;
}

.admin-brand img {
    width: 96px;
    height: 42px;
    object-fit: cover;
    object-position: center 26%;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 6px;
    background: #fff;
}

.search-box {
    display: flex;
    gap: .5rem;
}

.search-box .form-control,
.search-box .btn,
.site-top .btn-rapid {
    min-height: 38px;
    padding-bottom: .38rem;
    padding-top: .38rem;
}

.category-strip {
    background: var(--rapid-red);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.chip {
    flex: 0 0 auto;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    padding: .45rem .9rem;
    text-decoration: none;
    background: rgba(255, 255, 255, .14);
}

.chip.active,
.chip:hover {
    background: #fff;
    color: var(--rapid-red);
}

.hero {
    background: linear-gradient(135deg, #fff 0%, #fff1f0 100%);
    border-bottom: 1px solid var(--rapid-border);
}

.promo-hero {
    background: #fff;
    border-bottom: 1px solid var(--rapid-border);
}

.promo-slide {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .22) 42%, rgba(255, 255, 255, .06) 74%), var(--hero-bg);
    background-position: center;
    background-size: cover;
    min-height: 430px;
    position: relative;
}

.promo-slide.no-image {
    background:
        radial-gradient(circle at 82% 20%, rgba(226, 43, 37, .18), transparent 34%),
        linear-gradient(135deg, #fff 0%, #fff1f0 52%, #ffe5e2 100%);
}

.promo-content-wrap {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 430px;
    position: relative;
    z-index: 2;
}

.promo-content {
    margin: 0 auto;
    max-width: 1100px;
    padding: 2.4rem 0;
    text-align: center;
    width: min(100%, 1100px);
}

.promo-logo {
    background: #fff;
    border: 3px solid var(--rapid-red);
    border-radius: 8px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, .11);
    display: block;
    height: 96px;
    margin: 0 auto 1.15rem;
    object-fit: cover;
    object-position: center 24%;
    width: min(430px, 100%);
}

.promo-content h1 {
    color: #0b1220;
    font-size: clamp(2rem, 4.25vw, 3.75rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.08;
    margin-bottom: 1rem;
    -webkit-text-stroke: .55px rgba(255, 255, 255, .95);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, .95),
        0 2px 8px rgba(255, 255, 255, .78),
        0 3px 14px rgba(0, 0, 0, .28);
}

.promo-content p {
    color: #263143;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.55;
    margin: 0 auto 1.35rem;
    max-width: 920px;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, .95),
        0 2px 8px rgba(255, 255, 255, .72),
        0 2px 10px rgba(0, 0, 0, .18);
}

.promo-hero .carousel-indicators {
    margin-bottom: .7rem;
}

.promo-hero .carousel-indicators [data-bs-target] {
    background-color: var(--rapid-red);
    border-radius: 999px;
    height: 9px;
    width: 34px;
}

.promo-hero .carousel-control-prev,
.promo-hero .carousel-control-next {
    width: 5%;
}

.hero-panel {
    background: var(--rapid-red);
    color: #fff;
    border-radius: 8px;
    padding: 2rem;
    min-height: 220px;
}

.hero-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #fff;
    color: var(--rapid-red);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.btn-rapid {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--rapid-orange);
    --bs-btn-border-color: var(--rapid-orange);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--rapid-red-dark);
    --bs-btn-hover-border-color: var(--rapid-red-dark);
    font-weight: 800;
}

.badge-rapid {
    background: var(--rapid-red);
    color: #fff;
}

.badge-soft-danger {
    background: #fff1f0;
    color: var(--rapid-red);
    border: 1px solid #ffd0cc;
}

.section-title {
    color: var(--rapid-red);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    text-transform: uppercase;
}

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

.catalog-layout {
    align-items: start;
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 1.25rem;
}

.catalog-sidebar {
    background: #fff;
    border: 1px solid var(--rapid-border);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .05);
    overflow: hidden;
    position: sticky;
    top: 1rem;
}

.sidebar-title {
    align-items: center;
    background: var(--rapid-red);
    color: #fff;
    display: flex;
    font-size: 1.05rem;
    font-weight: 900;
    justify-content: space-between;
    padding: 1rem;
}

.category-menu {
    display: grid;
}

.category-item,
.category-dropdown summary {
    align-items: center;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #eef0f4;
    color: var(--rapid-blue);
    cursor: pointer;
    display: flex;
    font-size: 1rem;
    font-weight: 800;
    justify-content: space-between;
    list-style: none;
    padding: .9rem 1rem;
    text-decoration: none;
}

.category-dropdown summary::-webkit-details-marker {
    display: none;
}

.category-item:hover,
.category-item.active,
.category-dropdown summary:hover,
.category-dropdown summary.active {
    background: #fff1f0;
    color: var(--rapid-red);
}

.category-dropdown a {
    background: #f8fafc;
    border-bottom: 1px solid #eef0f4;
    color: #334155;
    display: block;
    font-weight: 700;
    padding: .75rem 1rem .75rem 1.35rem;
    text-decoration: none;
}

.category-dropdown a:hover {
    color: var(--rapid-red);
}

.sidebar-contact {
    background: #fff8f7;
    padding: 1rem;
}

.sidebar-contact span {
    color: #64748b;
    display: block;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.sidebar-contact a {
    color: var(--rapid-red);
    font-weight: 900;
    text-decoration: none;
}

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

.product-card {
    background: #fff;
    border: 1px solid var(--rapid-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .05);
}

.product-photo {
    aspect-ratio: 4 / 3;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--rapid-muted);
    text-decoration: none;
    position: relative;
    padding: 1rem;
}

.product-photo img,
.detail-photo img,
.admin-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-content {
    padding: 1.15rem;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.product-content h3 {
    color: var(--rapid-blue);
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.25;
    min-height: 3.25rem;
}

.product-content p {
    color: var(--rapid-muted);
    min-height: 1.5rem;
}

.product-cat {
    color: var(--rapid-red);
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-badge {
    position: absolute;
    top: .85rem;
    left: .85rem;
    background: #075dff;
    color: #fff;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 850;
    padding: .35rem .8rem;
}

.discount-badge {
    position: absolute;
    top: .85rem;
    right: .85rem;
    background: var(--rapid-orange);
    color: #fff;
    border-radius: 999px;
    font-weight: 900;
    padding: .35rem .75rem;
}

.discount-badge.detail {
    top: 1rem;
    right: 1rem;
}

.price {
    font-size: 1.1rem;
    font-weight: 850;
    margin: auto 0 1rem;
}

.price-row {
    align-items: center;
    border-top: 1px solid #eef0f4;
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding-top: .8rem;
}

.price-row span {
    color: #64748b;
    font-size: .9rem;
}

.price-row strong {
    color: var(--rapid-blue);
    font-size: 1.05rem;
    font-weight: 900;
}

.price-row.old {
    border-top: 0;
    padding-top: .2rem;
}

.price-row.old del {
    color: var(--rapid-red);
    font-size: .9rem;
}

.installment-box {
    background: #f8fbff;
    border: 1px solid #dce6f2;
    border-radius: 8px;
    display: grid;
    gap: .45rem;
    margin-top: .75rem;
    padding: .65rem;
}

.installment-title {
    align-items: center;
    color: var(--rapid-blue);
    display: flex;
    gap: .45rem;
    font-size: .88rem;
    line-height: 1.1;
}

.installment-title span {
    align-items: center;
    background: #fff;
    border: 1px solid #dce6f2;
    border-radius: 999px;
    color: var(--rapid-orange);
    display: inline-flex;
    font-weight: 900;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.installment-title strong {
    font-weight: 900;
}

.installment-control {
    appearance: auto;
    background: #fff;
    border: 1px solid #ccd8ea;
    border-radius: 7px;
    color: #075dff;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 900;
    min-height: 40px;
    outline: none;
    padding: .45rem .55rem;
    width: 100%;
}

.installment-control:focus {
    border-color: #075dff;
    box-shadow: 0 0 0 .2rem rgba(7, 93, 255, .12);
}

.price.big {
    font-size: 2rem;
    margin: .5rem 0;
}

.product-detail-page {
    padding-bottom: .9rem;
    padding-top: .75rem;
}

.back-link {
    align-items: center;
    background: #fff;
    border: 1px solid var(--rapid-border);
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .06);
    color: var(--rapid-blue);
    display: inline-flex;
    font-weight: 850;
    gap: .55rem;
    margin-bottom: 1rem;
    padding: .55rem .95rem .55rem .6rem;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}

.product-detail-page .back-link {
    font-size: .95rem;
    margin-bottom: .45rem;
    padding: .34rem .72rem .34rem .45rem;
}

.product-detail-page .back-link span {
    font-size: 1rem;
    height: 24px;
    width: 24px;
}

.back-link span {
    align-items: center;
    background: #fff1f0;
    border-radius: 999px;
    color: var(--rapid-red);
    display: inline-flex;
    font-size: 1.35rem;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    line-height: 1;
    width: 30px;
}

.product-detail-page .back-link span {
    font-size: 1rem;
    height: 24px;
    width: 24px;
}

.back-link:hover {
    border-color: #ffc8c4;
    box-shadow: 0 16px 34px rgba(226, 43, 37, .12);
    color: var(--rapid-red);
    transform: translateX(-2px);
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    gap: 1.5rem;
}

.compact-detail {
    align-items: stretch;
    gap: .85rem;
}

.detail-gallery {
    display: grid;
    gap: .85rem;
    grid-template-columns: 86px minmax(0, 1fr);
}

.compact-detail .detail-gallery {
    gap: .55rem;
    grid-template-columns: 62px minmax(0, 1fr);
    height: 100%;
}

.detail-thumbs {
    display: grid;
    gap: .75rem;
    align-content: start;
}

.compact-detail .detail-thumbs {
    gap: .42rem;
}

.detail-thumbs button {
    background: #fff;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    height: 82px;
    overflow: hidden;
    padding: .2rem;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
    width: 82px;
}

.compact-detail .detail-thumbs button {
    height: 58px;
    width: 58px;
}

.detail-thumbs button:hover,
.detail-thumbs button.active {
    border-color: var(--rapid-red);
    box-shadow: 0 10px 24px rgba(226, 43, 37, .13);
    transform: translateY(-1px);
}

.detail-thumbs img {
    border-radius: 6px;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.detail-photo,
.detail-info,
.admin-panel,
.metric,
.empty-state {
    background: #fff;
    border: 1px solid var(--rapid-border);
    border-radius: 8px;
}

.detail-photo {
    box-sizing: border-box;
    min-height: 420px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 1rem;
    position: relative;
}

.compact-detail .detail-photo {
    height: 100%;
    min-height: 0;
    padding: .55rem;
}

.compact-detail .detail-photo img {
    display: block;
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: contain;
    width: 100%;
}

.detail-info {
    padding: 1.5rem;
}

.compact-detail .detail-info {
    align-self: stretch;
    padding: .85rem 1rem;
}

.compact-detail .detail-info .product-cat {
    font-size: .72rem;
    margin-bottom: .25rem;
}

.compact-detail .detail-info h1 {
    font-size: clamp(1.45rem, 2.45vw, 2.05rem);
    line-height: 1.05;
    margin-bottom: .35rem;
}

.compact-detail .price.big {
    font-size: 1.42rem;
    line-height: 1.05;
    margin: .12rem 0 .28rem;
}

.compact-detail .detail-info p {
    line-height: 1.25;
}

.detail-price-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem .65rem;
    margin-bottom: .45rem;
}

.compact-detail .detail-price-meta p {
    font-size: .9rem;
}

.compact-detail .badge-soft-danger {
    font-size: .74rem;
    padding: .28rem .45rem;
}

.spec-box {
    display: grid;
    gap: .5rem;
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
}

.compact-detail .spec-box {
    gap: .28rem;
    margin-top: .5rem;
    padding: .55rem .7rem;
}

.detail-installments {
    border: 1px solid #dce6f2;
    border-radius: 8px;
    margin: 1rem 0;
    overflow: hidden;
}

.compact-detail .detail-installments {
    margin: .5rem 0;
}

.detail-installments h2 {
    background: #f8fbff;
    color: var(--rapid-blue);
    font-size: 1rem;
    font-weight: 850;
    margin: 0;
    padding: .8rem 1rem;
}

.compact-detail .detail-installments h2 {
    font-size: .82rem;
    padding: .42rem .62rem;
}

.detail-installments div {
    align-items: center;
    border-top: 1px solid #e8edf5;
    display: flex;
    justify-content: space-between;
    padding: .75rem 1rem;
}

.compact-detail .detail-installments div {
    font-size: .9rem;
    padding: .38rem .62rem;
}

.detail-installments strong {
    color: var(--rapid-red);
}

.compact-detail .btn-lg {
    font-size: .92rem;
    margin-top: .55rem !important;
    padding: .48rem .85rem;
}

.compact-detail .detail-description {
    font-size: .92rem;
    margin: .5rem 0 0;
}

.site-footer {
    background: #111;
    color: #fff;
}

.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #111 0%, #2b2b2b 60%, var(--rapid-red) 60%);
}

.auth-card {
    width: min(420px, calc(100% - 2rem));
}

.admin-body {
    background: #f3f4f6;
}

.admin-nav {
    background: var(--rapid-red);
}

.admin-nav .nav-link,
.admin-nav .navbar-text,
.admin-nav .btn,
.admin-nav .navbar-brand {
    color: #fff;
}

.admin-nav .btn {
    border-color: #fff;
}

.admin-nav .btn:hover {
    background: #fff;
    color: var(--rapid-red);
}

.admin-panel {
    padding: 1rem;
}

.admin-products-panel {
    padding: .9rem 1rem;
}

.admin-product-filter {
    align-items: end;
    background: #f8fafc;
    border: 1px solid var(--rapid-border);
    border-radius: 8px;
    display: grid;
    gap: .55rem;
    grid-template-columns: minmax(230px, 1.7fr) repeat(5, minmax(130px, 1fr)) auto;
    margin-bottom: .65rem;
    padding: .65rem;
}

.admin-product-filter .form-label {
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: .18rem;
}

.admin-product-filter .form-control,
.admin-product-filter .form-select {
    font-size: .9rem;
    min-height: 34px;
    padding: .28rem .55rem;
}

.admin-product-filter .filter-actions {
    display: flex;
    gap: .35rem;
}

.admin-product-filter .btn {
    min-height: 34px;
    padding: .3rem .65rem;
}

.admin-filter-summary {
    color: var(--rapid-muted);
    font-size: .86rem;
    margin-bottom: .35rem;
}

.admin-filter-summary strong {
    color: var(--rapid-ink);
}

.banner-admin-layout {
    margin-top: -.8rem;
}

.banner-form-panel,
.banner-list-panel {
    padding: .85rem 1rem;
}

.banner-form-panel h1,
.banner-list-panel h2 {
    font-weight: 850;
    line-height: 1.05;
}

.banner-form-panel h1 {
    font-size: 1.25rem;
}

.banner-list-panel h2 {
    font-size: 1.2rem;
}

.banner-form-grid {
    --bs-gutter-x: .55rem;
    --bs-gutter-y: .42rem;
}

.banner-form-grid .form-label {
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: .18rem;
}

.banner-form-grid .form-control {
    font-size: .94rem;
    min-height: 34px;
    padding: .26rem .55rem;
}

.banner-form-grid input[type="file"].form-control {
    padding-bottom: .18rem;
    padding-top: .18rem;
}

.banner-subtitle-field {
    min-height: 58px;
}

.banner-form-grid .form-text {
    font-size: .75rem;
    line-height: 1.15;
    margin-top: .12rem;
}

.banner-form-footer {
    align-items: center;
    border-top: 1px solid var(--rapid-border);
    display: flex;
    gap: .6rem;
    justify-content: space-between;
    margin-top: .15rem;
    padding-top: .5rem;
}

.banner-form-footer .form-check {
    align-items: center;
    display: flex;
    gap: .45rem;
    margin: 0;
    min-height: 0;
}

.banner-form-footer .form-check-input {
    margin: 0;
}

.banner-form-actions {
    display: flex;
    gap: .4rem;
}

.banner-form-actions .btn {
    padding: .34rem .7rem;
}

.banner-table {
    margin-bottom: 0;
}

.banner-table th,
.banner-table td {
    padding: .45rem .55rem;
}

.banner-table strong {
    display: block;
    font-size: .95rem;
    line-height: 1.15;
}

.banner-table .small {
    font-size: .78rem;
    line-height: 1.2;
}

.banner-actions-cell {
    min-width: 150px;
    white-space: nowrap;
}

.banner-actions-cell form {
    display: inline-block !important;
    margin-left: .25rem;
}

.banner-actions-cell .btn {
    padding: .25rem .5rem;
}

.product-form-panel {
    margin-top: -.8rem;
    padding: .85rem 1.1rem .95rem;
}

.product-form-panel h1 {
    font-size: 1.45rem;
    font-weight: 850;
    line-height: 1.05;
}

.product-form-grid {
    --bs-gutter-x: .65rem;
    --bs-gutter-y: .42rem;
}

.product-form-grid .form-section-title {
    margin-top: .28rem;
}

.product-form-grid .form-label {
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: .18rem;
}

.product-form-grid .form-control,
.product-form-grid .form-select {
    font-size: .95rem;
    min-height: 34px;
    padding: .26rem .55rem;
}

.product-form-grid input[type="file"].form-control {
    padding-bottom: .18rem;
    padding-top: .18rem;
}

.product-form-grid .product-description-field {
    min-height: 62px;
}

.product-form-grid .form-text {
    font-size: .75rem;
    line-height: 1.15;
    margin-top: .12rem;
}

.product-section-inline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .6rem;
}

.product-section-inline .form-section-title {
    margin-bottom: 0;
}

.product-publish-row {
    align-items: center;
    border-top: 1px solid var(--rapid-border);
    display: flex;
    flex-wrap: wrap;
    gap: .45rem 1.2rem;
    margin-top: .2rem;
    padding-top: .55rem;
}

.product-publish-row .form-section-title {
    margin: 0;
}

.product-publish-row .form-check {
    align-items: center;
    display: flex;
    gap: .45rem;
    margin: 0;
    min-height: 0;
}

.product-publish-row .form-check-input {
    margin: 0;
}

.product-form-actions {
    display: flex;
    gap: .45rem;
    margin-left: auto;
}

.product-form-actions .btn {
    padding: .34rem .75rem;
}

.form-section-title {
    border-left: 4px solid var(--rapid-red);
    color: var(--rapid-red);
    font-size: .93rem;
    font-weight: 900;
    line-height: 1.1;
    margin: .38rem 0 .08rem;
    padding-left: .55rem;
    text-transform: uppercase;
}

.metric {
    padding: 1.25rem;
}

.metric span {
    color: var(--rapid-muted);
    display: block;
    font-weight: 700;
}

.metric strong {
    display: block;
    font-size: 2rem;
}

.admin-thumb {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: #f1f2f4;
    overflow: hidden;
}

.admin-banner-thumb {
    background: #f1f2f4;
    border-radius: 8px;
    height: 48px;
    overflow: hidden;
    width: 96px;
}

.admin-banner-thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.admin-gallery-grid {
    display: grid;
    gap: .55rem;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
}

.admin-gallery-item {
    background: #fff;
    border: 1px solid var(--rapid-border);
    border-radius: 8px;
    padding: .45rem;
}

.admin-gallery-item img {
    background: #f8fafc;
    border-radius: 7px;
    height: 92px;
    margin-bottom: .42rem;
    object-fit: contain;
    width: 100%;
}

.admin-gallery-item .btn {
    padding: .26rem .45rem;
}

.product-gallery-admin {
    border-top: 1px solid var(--rapid-border);
    margin-top: .7rem;
    padding-top: .55rem;
}

.empty-state {
    padding: 2rem;
    text-align: center;
    color: var(--rapid-muted);
}

.location-section {
    background: #fff;
    border: 1px solid var(--rapid-border);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .05);
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    overflow: hidden;
}

.location-copy {
    padding: 1.5rem;
}

.location-copy h2 {
    color: var(--rapid-blue);
    font-weight: 900;
}

.location-map {
    min-height: 320px;
}

.location-map iframe {
    border: 0;
    display: block;
    height: 100%;
    min-height: 320px;
    width: 100%;
}

.site-footer a {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--rapid-yellow);
}

.about-page {
    display: grid;
    gap: 1rem;
}

.about-hero-card,
.about-info-card,
.about-dev-card,
.error-card {
    background: #fff;
    border: 1px solid var(--rapid-border);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .05);
}

.about-hero-card {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 320px;
    overflow: hidden;
    padding: 1.5rem;
}

.about-copy h1 {
    color: var(--rapid-blue);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: .7rem;
}

.about-copy p {
    color: var(--rapid-muted);
    font-size: 1.05rem;
    max-width: 760px;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1rem;
}

.about-logo-card {
    align-items: center;
    background: #fff8f7;
    border: 1px solid #ffd0cc;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.about-logo-card img {
    border: 2px solid var(--rapid-red);
    border-radius: 8px;
    max-height: 150px;
    object-fit: cover;
    object-position: center 26%;
    width: 100%;
}

.about-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-info-card {
    padding: 1.15rem;
}

.about-info-card h2,
.about-dev-card h2 {
    color: var(--rapid-blue);
    font-size: 1.25rem;
    font-weight: 900;
}

.about-info-card ul {
    display: grid;
    gap: .45rem;
    list-style: none;
    margin: .8rem 0 0;
    padding: 0;
}

.about-info-card a {
    color: var(--rapid-red);
    font-weight: 800;
}

.about-dev-card {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 170px;
    padding: 1.15rem;
}

.about-dev-card p {
    color: var(--rapid-muted);
    margin-bottom: 0;
}

.about-dev-card img {
    background: #fff;
    border: 1px solid var(--rapid-border);
    border-radius: 8px;
    max-height: 150px;
    object-fit: contain;
    padding: .5rem;
    width: 100%;
}

.error-page {
    display: grid;
    min-height: 55vh;
    place-items: center;
}

.error-card {
    max-width: 640px;
    padding: 2rem;
    text-align: center;
}

.error-card img {
    border: 2px solid var(--rapid-red);
    border-radius: 8px;
    height: 82px;
    object-fit: cover;
    object-position: center 26%;
    width: 190px;
}

.error-code {
    color: var(--rapid-red);
    display: block;
    font-size: clamp(3rem, 9vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-top: 1rem;
}

.error-card h1 {
    color: var(--rapid-blue);
    font-weight: 900;
}

.error-card p {
    color: var(--rapid-muted);
    font-size: 1.05rem;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
    margin-top: 1rem;
}

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

    .catalog-layout {
        grid-template-columns: 245px minmax(0, 1fr);
    }

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

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

    .admin-product-filter .filter-search,
    .admin-product-filter .filter-actions {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .product-grid,
    .product-detail,
    .detail-gallery,
    .catalog-layout,
    .location-section {
        grid-template-columns: 1fr;
    }

    .detail-thumbs {
        display: flex;
        overflow-x: auto;
        padding-bottom: .2rem;
    }

    .compact-detail .detail-gallery {
        grid-template-columns: 1fr;
        height: auto;
    }

    .compact-detail .detail-photo {
        order: 1;
    }

    .compact-detail .detail-thumbs {
        order: 2;
    }

    .compact-detail .detail-photo {
        height: auto;
        min-height: 280px;
    }

    .compact-detail .detail-photo img {
        height: auto;
        max-height: 320px;
        max-width: 100%;
        width: auto;
    }

    .search-box {
        flex-direction: column;
    }

    .catalog-sidebar {
        position: static;
    }

    .catalog-filter {
        width: 100%;
    }

    .catalog-filter .form-control {
        min-width: 0;
    }

    .about-hero-card,
    .about-grid,
    .about-dev-card {
        grid-template-columns: 1fr;
    }

    .about-hero-card,
    .about-info-card,
    .about-dev-card,
    .error-card {
        padding: 1rem;
    }

    .about-logo-card img {
        max-height: 120px;
    }

    .about-dev-card img {
        max-width: 180px;
    }

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

    .admin-product-filter .filter-search,
    .admin-product-filter .filter-actions {
        grid-column: auto;
    }

    .admin-product-filter .filter-actions .btn {
        flex: 1;
    }

    .promo-slide,
    .promo-content-wrap {
        min-height: 390px;
    }

    .promo-slide {
        background-image: linear-gradient(180deg, rgba(255, 255, 255, .36) 0%, rgba(255, 255, 255, .22) 64%, rgba(255, 255, 255, .10) 100%), var(--hero-bg);
    }

    .promo-logo {
        height: 78px;
        width: min(330px, 100%);
    }

    .promo-content {
        text-align: left;
    }

    .promo-logo,
    .promo-content p {
        margin-left: 0;
        margin-right: 0;
    }

    .product-form-panel {
        margin-top: 0;
        padding: .85rem;
    }

    .product-publish-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-form-actions {
        margin-left: 0;
        width: 100%;
    }

    .product-form-actions .btn {
        flex: 1;
    }

    .banner-admin-layout {
        margin-top: 0;
    }

    .banner-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .banner-form-actions {
        width: 100%;
    }

    .banner-form-actions .btn {
        flex: 1;
    }
}

@media (max-width: 520px) {
    .product-grid,
    .catalog-products .product-grid {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .catalog-products {
        min-width: 0;
    }

    .section-title {
        font-size: 1.55rem;
        line-height: 1.05;
    }

    .product-photo {
        aspect-ratio: auto;
        height: clamp(320px, 88vw, 390px);
        max-height: none;
        overflow: hidden;
        padding: 1rem .75rem 1.25rem;
    }

    .product-photo img {
        display: block;
        height: 100% !important;
        max-height: 100% !important;
        max-width: 100%;
        object-fit: scale-down !important;
        width: auto !important;
    }

    .product-photo > span:not(.product-badge):not(.discount-badge) {
        font-size: 1rem;
    }

    .product-content {
        padding: 1rem .85rem .9rem;
    }

    .product-content h3 {
        display: block;
        font-size: 1.08rem;
        line-height: 1.18;
        margin: .15rem 0 .45rem;
        min-height: 0;
        position: relative;
        z-index: 1;
    }

    .product-content p {
        margin-bottom: .55rem;
        min-height: 0;
    }

    .product-badge,
    .discount-badge {
        font-size: .72rem;
        padding: .3rem .65rem;
        top: .65rem;
    }

    .product-badge {
        left: .65rem;
    }

    .discount-badge {
        right: .65rem;
    }

    .price-row {
        padding-top: .55rem;
    }

    .price-row strong {
        font-size: 1rem;
        text-align: right;
        white-space: nowrap;
    }

    .price-row.old del {
        white-space: nowrap;
    }

    .installment-box {
        margin-top: .55rem;
        padding: .55rem;
    }

    .installment-title {
        font-size: .82rem;
    }

    .installment-control {
        font-size: .88rem;
        min-height: 36px;
        padding: .35rem .45rem;
    }

    .product-content .btn {
        margin-top: .75rem !important;
        padding: .55rem .75rem;
    }

    .brand-logo img {
        width: 142px;
        height: 62px;
    }
}

@media (max-width: 390px) {
    .product-photo {
        height: 330px;
    }

    .product-content h3 {
        font-size: 1rem;
    }

    .price-row strong {
        font-size: .95rem;
    }
}

/* =========================================================
   HORARIO DE ATENCIÓN - VISTA CLIENTE
========================================================= */
.business-hours-section {
    background: #fff;
    border: 1px solid var(--rapid-border);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .05);
    display: grid;
    grid-template-columns: minmax(270px, .58fr) minmax(0, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    overflow: hidden;
    padding: 1rem;
}

.business-hours-copy {
    background: linear-gradient(135deg, #fff8f7 0%, #ffffff 100%);
    border: 1px solid #ffd0cc;
    border-radius: 8px;
    padding: 1.25rem;
}

.business-hours-copy h2 {
    color: var(--rapid-blue);
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    font-weight: 950;
    line-height: 1.05;
    margin-bottom: .5rem;
}

.hours-general-note {
    background: #fff;
    border: 1px solid #ffd0cc;
    border-radius: 999px;
    color: var(--rapid-red);
    display: inline-flex;
    font-size: .9rem;
    font-weight: 900;
    padding: .45rem .85rem;
}

.business-hours-card {
    display: grid;
    gap: .55rem;
}

.business-hours-row {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e7edf5;
    border-radius: 8px;
    display: grid;
    grid-template-columns: minmax(120px, .9fr) minmax(130px, auto);
    gap: .25rem .75rem;
    padding: .72rem .9rem;
}

.business-hours-row strong {
    color: var(--rapid-blue);
    font-weight: 950;
}

.business-hours-row span {
    color: var(--rapid-red);
    font-weight: 900;
    text-align: right;
}

.business-hours-row small {
    color: #64748b;
    display: block;
    font-size: .78rem;
    font-weight: 700;
    grid-column: 1 / -1;
}

.business-hours-row.closed {
    background: #fff;
}

.business-hours-row.closed span {
    color: #6b7280;
}

/* =========================================================
   HORARIO DE ATENCIÓN - PANEL ADMIN
========================================================= */
.hours-admin-panel {
    padding: 1rem 1.05rem;
}

.hours-admin-header {
    align-items: center;
    border-bottom: 1px solid var(--rapid-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: .85rem;
    padding-bottom: .75rem;
}

.hours-admin-header h1 {
    font-size: 1.45rem;
    font-weight: 900;
    margin: 0;
}

.hours-admin-header p {
    color: var(--rapid-muted);
    margin: .15rem 0 0;
}

.hours-admin-form .form-label {
    font-size: .82rem;
    font-weight: 850;
    margin-bottom: .22rem;
}

.hours-admin-form .form-control {
    min-height: 36px;
    padding: .36rem .58rem;
}

.hours-note-box {
    background: #fff8f7;
    border: 1px solid #ffd0cc;
    border-radius: 8px;
    margin-bottom: .75rem;
    padding: .72rem;
}

.hours-note-box .form-text {
    font-size: .76rem;
    margin-top: .22rem;
}

.hours-editor-list {
    display: grid;
    gap: .5rem;
}

.hours-editor-row {
    align-items: end;
    background: #fff;
    border: 1px solid var(--rapid-border);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 170px 120px 120px minmax(180px, 1fr);
    gap: .6rem;
    padding: .6rem .7rem;
}

.hours-editor-day {
    align-self: center;
}

.hours-editor-day strong {
    color: var(--rapid-blue);
    display: block;
    font-size: .98rem;
    font-weight: 950;
    margin-bottom: .25rem;
}

.hours-editor-day .form-check {
    align-items: center;
    display: flex;
    gap: .45rem;
    margin: 0;
    min-height: 0;
}

.hours-editor-day .form-check-input {
    margin: 0;
}

.hours-editor-day .form-check-label {
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
}

.hours-admin-actions {
    align-items: center;
    border-top: 1px solid var(--rapid-border);
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
    margin-top: .75rem;
    padding-top: .75rem;
}

.hours-admin-actions .btn {
    padding: .42rem .85rem;
}

@media (max-width: 992px) {
    .business-hours-section,
    .hours-editor-row {
        grid-template-columns: 1fr;
    }

    .business-hours-row {
        grid-template-columns: 1fr auto;
    }

    .hours-admin-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .business-hours-section {
        margin-top: 1rem;
        padding: .75rem;
    }

    .business-hours-copy {
        padding: 1rem;
    }

    .business-hours-row {
        align-items: start;
        grid-template-columns: 1fr;
        padding: .65rem .75rem;
    }

    .business-hours-row span {
        text-align: left;
    }

    .hours-general-note {
        border-radius: 8px;
        width: 100%;
    }

    .hours-admin-panel {
        padding: .85rem;
    }

    .hours-admin-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hours-admin-actions .btn {
        width: 100%;
    }
}

/* =========================================================
   AJUSTE FINAL HORARIO - ADMIN COMPACTO Y CLIENTE EN CARD
========================================================= */
.hours-admin-compact {
    margin-top: .45rem;
    padding: .85rem 1rem;
}

.hours-admin-compact .hours-admin-header {
    align-items: center;
    border-bottom: 1px solid var(--rapid-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: .65rem;
    padding-bottom: .55rem;
}

.hours-admin-compact .hours-admin-header h1 {
    font-size: 1.35rem;
    line-height: 1;
}

.hours-admin-compact .hours-admin-header p {
    font-size: .82rem;
    margin-top: .22rem;
}

.hours-admin-topbar {
    align-items: end;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: .75rem;
    margin-bottom: .65rem;
}

.hours-admin-compact .hours-note-box {
    margin: 0;
    padding: .55rem .65rem;
}

.hours-admin-compact .hours-note-box .form-label,
.hours-admin-compact .hours-editor-field .form-label {
    font-size: .72rem;
    font-weight: 900;
    margin-bottom: .12rem;
}

.hours-admin-compact .hours-note-box .form-text {
    font-size: .68rem;
    margin-top: .15rem;
}

.hours-admin-compact .form-control {
    border-radius: 7px;
    font-size: .86rem;
    min-height: 32px;
    padding: .25rem .5rem;
}

.hours-editor-table {
    border: 1px solid var(--rapid-border);
    border-radius: 9px;
    overflow: hidden;
}

.hours-editor-head {
    background: #f8fafc;
    border-bottom: 1px solid var(--rapid-border);
    color: #64748b;
    display: grid;
    font-size: .72rem;
    font-weight: 950;
    gap: .45rem;
    grid-template-columns: 130px 100px 105px 105px minmax(170px, 1fr);
    padding: .38rem .55rem;
    text-transform: uppercase;
}

.hours-admin-compact .hours-editor-list {
    gap: 0;
}

.hours-admin-compact .hours-editor-row {
    align-items: center;
    border: 0;
    border-bottom: 1px solid var(--rapid-border);
    border-radius: 0;
    display: grid;
    gap: .45rem;
    grid-template-columns: 130px 100px 105px 105px minmax(170px, 1fr);
    padding: .42rem .55rem;
}

.hours-admin-compact .hours-editor-row:last-child {
    border-bottom: 0;
}

.hours-admin-compact .hours-editor-day strong {
    font-size: .86rem;
    margin: 0;
}

.hours-editor-switch .form-check {
    align-items: center;
    display: inline-flex;
    gap: .38rem;
    margin: 0;
    min-height: 0;
    padding-left: 0;
}

.hours-editor-switch .form-check-input {
    height: 1rem;
    margin: 0;
    width: 1.85rem;
}

.hours-editor-switch .form-check-label {
    color: #64748b;
    font-size: .78rem;
    font-weight: 850;
}

.hours-admin-compact .hours-editor-field .form-label {
    display: none;
}

.hours-admin-compact .hours-admin-actions {
    border-top: 0;
    margin: 0;
    padding: 0;
}

.hours-admin-actions-top {
    justify-content: flex-end;
}

.hours-admin-actions-bottom {
    display: none;
}

.hours-admin-compact .hours-admin-actions .btn {
    min-height: 34px;
    padding: .35rem .72rem;
}

/* Vista cliente: card compacta y más elegante */
.business-hours-section {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    margin-top: 1.2rem;
    overflow: visible;
    padding: 0;
}

.business-hours-shell {
    background: #ffffff;
    border: 1px solid var(--rapid-border);
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, .06);
    display: grid;
    grid-template-columns: minmax(245px, .55fr) minmax(0, 1fr);
    overflow: hidden;
}

.business-hours-copy {
    background:
        radial-gradient(circle at 0 0, rgba(235, 38, 34, .10), transparent 38%),
        linear-gradient(135deg, #fff8f7 0%, #ffffff 100%);
    border: 0;
    border-right: 1px solid #ffe0dc;
    border-radius: 0;
    padding: 1rem 1.1rem;
}

.business-hours-copy h2 {
    font-size: clamp(1.32rem, 2vw, 1.75rem);
    margin-bottom: .35rem;
}

.business-hours-copy p {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.45;
    margin: 0 0 .55rem;
}

.hours-general-note {
    background: #fff;
    border: 1px solid #ffd0cc;
    border-radius: 999px;
    color: var(--rapid-red);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 950;
    margin-bottom: .65rem;
    padding: .32rem .62rem;
}

.business-hours-copy .btn {
    min-height: 34px;
    padding: .36rem .72rem;
}

.business-hours-card {
    align-content: start;
    display: grid;
    gap: .45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: .9rem;
}

.business-hours-row {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e7edf5;
    border-radius: 10px;
    display: grid;
    gap: .1rem .45rem;
    grid-template-columns: minmax(82px, .78fr) minmax(90px, auto);
    min-height: 45px;
    padding: .45rem .58rem;
}

.business-hours-row strong {
    color: var(--rapid-blue);
    font-size: .9rem;
    font-weight: 950;
}

.business-hours-row span {
    color: var(--rapid-red);
    font-size: .86rem;
    font-weight: 950;
    text-align: right;
    white-space: nowrap;
}

.business-hours-row small {
    color: #64748b;
    font-size: .72rem;
    font-weight: 750;
    grid-column: 1 / -1;
    line-height: 1.2;
}

.business-hours-row.closed {
    background: #ffffff;
    opacity: .82;
}

.business-hours-row.closed span {
    color: #6b7280;
}

@media (max-width: 992px) {
    .hours-admin-compact .hours-admin-header,
    .hours-admin-topbar {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .hours-admin-actions-top {
        justify-content: flex-start;
    }

    .business-hours-shell {
        grid-template-columns: 1fr;
    }

    .business-hours-copy {
        border-bottom: 1px solid #ffe0dc;
        border-right: 0;
    }
}

@media (max-width: 760px) {
    .hours-editor-head {
        display: none;
    }

    .hours-admin-compact .hours-editor-row {
        border-bottom: 1px solid var(--rapid-border);
        gap: .45rem;
        grid-template-columns: 1fr 1fr;
        padding: .58rem;
    }

    .hours-admin-compact .hours-editor-day,
    .hours-editor-switch,
    .hours-editor-note {
        grid-column: 1 / -1;
    }

    .hours-admin-compact .hours-editor-field .form-label {
        display: block;
    }

    .hours-admin-actions-top {
        display: none;
    }

    .hours-admin-actions-bottom {
        border-top: 1px solid var(--rapid-border);
        display: flex;
        justify-content: flex-end;
        margin-top: .65rem;
        padding-top: .65rem;
    }

    .business-hours-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .hours-admin-compact {
        padding: .75rem;
    }

    .hours-admin-compact .hours-admin-header h1 {
        font-size: 1.18rem;
    }

    .hours-admin-actions-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .business-hours-section {
        margin-top: 1rem;
    }

    .business-hours-shell {
        border-radius: 12px;
    }

    .business-hours-copy,
    .business-hours-card {
        padding: .8rem;
    }

    .hours-general-note {
        border-radius: 9px;
        width: 100%;
    }

    .business-hours-row {
        grid-template-columns: 1fr auto;
        padding: .5rem .6rem;
    }
}

.catalog-seo-links .seo-mini-card {
    border: 1px solid #fee2e2;
    border-radius: 14px;
    background: #fff7f7;
    padding: 1rem;
}

.catalog-seo-links h2 {
    color: var(--rapid-blue);
    font-size: 1.05rem;
    font-weight: 950;
    margin-bottom: .35rem;
}

.catalog-seo-links p {
    color: #475569;
    font-size: .92rem;
    margin-bottom: .75rem;
}

.seo-link-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.seo-link-cloud a {
    border: 1px solid #fecaca;
    border-radius: 999px;
    background: #ffffff;
    color: #dc2626;
    font-size: .82rem;
    font-weight: 850;
    padding: .35rem .65rem;
    text-decoration: none;
}

.seo-link-cloud a:hover {
    border-color: #ef4444;
    background: #ef4444;
    color: #ffffff;
}

.backup-panel {
    margin: 0 auto;
    max-width: 980px;
}

.backup-panel-head {
    align-items: flex-start;
    border-bottom: 1px solid var(--rapid-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.backup-panel h1 {
    font-size: 1.55rem;
    font-weight: 950;
    margin-bottom: .2rem;
}

.backup-panel p {
    color: #475569;
    margin-bottom: 0;
}

.backup-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.backup-box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    padding: 1rem;
}

.backup-box strong {
    display: block;
    font-size: 1rem;
    margin-bottom: .5rem;
}

.backup-box ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.backup-warning {
    background: #fff7ed;
    border-color: #fed7aa;
}

@media (max-width: 760px) {
    .backup-panel-head,
    .backup-grid {
        grid-template-columns: 1fr;
    }

    .backup-panel-head {
        display: block;
    }
}


/* Banner cliente: menos difuminado y texto mas legible */
.promo-slide {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .22) 42%, rgba(255, 255, 255, .06) 74%), var(--hero-bg);
}

.promo-content h1 {
    -webkit-text-stroke: 1.15px rgba(255, 255, 255, .98);
    paint-order: stroke fill;
    text-shadow:
        1px 0 0 rgba(255, 255, 255, .95),
        -1px 0 0 rgba(255, 255, 255, .95),
        0 1px 0 rgba(255, 255, 255, .95),
        0 -1px 0 rgba(255, 255, 255, .95),
        0 3px 12px rgba(0, 0, 0, .28);
}

.promo-content p {
    -webkit-text-stroke: .45px rgba(255, 255, 255, .9);
    paint-order: stroke fill;
    text-shadow:
        1px 0 0 rgba(255, 255, 255, .85),
        -1px 0 0 rgba(255, 255, 255, .85),
        0 1px 0 rgba(255, 255, 255, .85),
        0 -1px 0 rgba(255, 255, 255, .85),
        0 2px 9px rgba(0, 0, 0, .20);
}

@media (max-width: 767.98px) {
    .promo-slide {
        background-image: linear-gradient(180deg, rgba(255, 255, 255, .36) 0%, rgba(255, 255, 255, .22) 64%, rgba(255, 255, 255, .10) 100%), var(--hero-bg);
    }
}
