:root {
    --productos-bg: #181825;
    --productos-main: rgba(31, 34, 44, 0.98);
    --productos-panel: rgba(255, 255, 255, 0.04);
    --productos-card: rgba(255, 255, 255, 0.03);
    --productos-border: rgba(255, 255, 255, 0.08);
    --productos-text: #f5f4fb;
    --productos-muted: #a9abc0;
    --productos-shadow: 0 24px 44px rgba(9, 9, 18, 0.34);
    --productos-accent: #FF6709;
    --productos-accent-soft: rgba(255, 103, 9, 0.12);
    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: var(--meseros-font-family);
    color: var(--productos-text);
    background:
        radial-gradient(circle at top left, rgba(255, 103, 9, 0.08), transparent 20rem),
        radial-gradient(circle at bottom right, rgba(255, 103, 9, 0.05), transparent 24rem),
        var(--productos-bg);
}

.productos-shell {
    min-height: 100vh;
    display: flex;
    gap: 1.4rem;
    padding: 1rem;
}

.productos-main {
    flex: 1;
    min-width: 0;
    padding: 1.25rem;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(35, 35, 52, 0.98), rgba(28, 28, 41, 0.98));
    box-shadow: var(--productos-shadow);
}

.productos-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 1.2rem;
    min-height: calc(100vh - 4.5rem);
}

.productos-sidebar,
.productos-content {
    min-width: 0;
}

.productos-sidebar {
    padding: 0.25rem 0;
}

.productos-sidebar-head {
    padding: 0 0.3rem 1rem;
}

.productos-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8e90ac;
}

.productos-title {
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    font-weight: 800;
}

.productos-category-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: calc(100vh - 12rem);
    overflow: auto;
    padding-right: 0.35rem;
    margin-bottom: 1rem;
}

.category-item {
    width: 100%;
    min-height: 58px;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--productos-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    color: inherit;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.category-item:hover,
.category-item:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 103, 9, 0.3);
    transform: translateY(-1px);
}

.category-item.is-active {
    background: rgba(255, 103, 9, 0.07);
    border-color: rgba(255, 103, 9, 0.55);
    box-shadow: 0 16px 28px rgba(255, 103, 9, 0.08);
}

.category-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--productos-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.category-name {
    min-width: 0;
    font-size: 0.93rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-count {
    min-width: 30px;
    height: 24px;
    padding: 0 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--productos-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.73rem;
    font-weight: 700;
}

.category-item.is-active .category-count {
    background: var(--productos-accent);
    color: #fff;
}

.productos-content {
    padding: 0.1rem 0 0;
}

.productos-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.productos-section-title {
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    font-weight: 800;
}

.productos-toolbar-actions,
.productos-view-tools,
.productos-view-switch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.productos-toolbar-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.productos-search {
    min-width: 250px;
    min-height: 48px;
    padding: 0.35rem 0.95rem;
    border-radius: 14px;
    border: 1px solid var(--productos-border);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.productos-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--productos-text);
    font-size: 0.92rem;
}

.productos-search input::placeholder {
    color: var(--productos-muted);
}

.productos-search-icon,
.productos-search-icon svg,
.view-btn svg,
.filter-btn svg,
.product-more-btn svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.productos-search-icon svg,
.view-btn svg,
.filter-btn svg,
.product-more-btn svg {
    width: 18px;
    height: 18px;
}

.productos-search:focus-within {
    border-color: rgba(255, 103, 9, 0.35);
    box-shadow: 0 0 0 3px rgba(255, 103, 9, 0.12);
}

.productos-primary-btn {
    min-height: 48px;
    padding: 0.72rem 1.05rem;
    border-radius: 14px;
    border: 0;
    background: #FF6709;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 12px 22px rgba(255, 103, 9, 0.2);
}

.productos-primary-btn:hover,
.productos-primary-btn:focus {
    color: #fff;
    background: #ff7a22;
}

.productos-primary-btn-block {
    width: 100%;
    justify-content: center;
}

.btn-icon {
    width: 18px;
    height: 18px;
    margin-right: 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.95rem;
    line-height: 1;
}

.productos-content-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.productos-group-title {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 800;
}

.productos-view-switch {
    padding: 0.3rem;
    border-radius: 14px;
    border: 1px solid var(--productos-border);
    background: rgba(255, 255, 255, 0.04);
}

.view-btn,
.filter-btn,
.product-more-btn {
    border: 1px solid var(--productos-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--productos-text);
}

.view-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.view-btn.is-active {
    color: #fff;
    background: #FF6709;
    border-color: transparent;
}

.view-btn svg path,
.view-btn svg rect,
.filter-btn svg path {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.filter-btn {
    min-height: 42px;
    padding: 0.65rem 0.95rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.9rem;
    font-weight: 700;
}

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

.product-card {
    min-width: 0;
    min-height: 222px;
    padding: 0.85rem;
    border-radius: 18px;
    border: 1px solid var(--productos-border);
    background: var(--productos-card);
    box-shadow: 0 16px 24px rgba(7, 8, 12, 0.12);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 103, 9, 0.28);
    box-shadow: 0 18px 30px rgba(255, 103, 9, 0.08);
}

.product-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.product-check {
    position: relative;
    margin: 0;
}

.product-check input {
    position: absolute;
    opacity: 0;
    inset: 0;
}

.product-check span {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    display: block;
    background: transparent;
    position: relative;
}

.product-check input:checked + span {
    background: #FF6709;
    border-color: #FF6709;
}

.product-check span::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1.5px;
    width: 5px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    opacity: 0;
}

.product-check input:checked + span::after {
    opacity: 1;
}

.product-menu-wrap {
    position: relative;
}

.product-more-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.product-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    min-width: 132px;
    padding: 0.35rem;
    border-radius: 12px;
    border: 1px solid var(--productos-border);
    background: rgba(31, 34, 44, 0.98);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.22);
    z-index: 10;
}

.product-dropdown-menu button {
    width: 100%;
    min-height: 36px;
    padding: 0.5rem 0.7rem;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--productos-text);
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-dropdown-menu button:hover,
.product-dropdown-menu button:focus {
    background: rgba(255, 255, 255, 0.06);
}

.product-image-wrap {
    width: 78px;
    height: 78px;
    margin: 0 auto 0.85rem;
    border-radius: 999px;
    padding: 3px;
    background: linear-gradient(135deg, rgba(255, 103, 9, 0.55), rgba(255, 255, 255, 0.16));
}

.product-image {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    background: #fff;
}

.product-copy {
    min-width: 0;
}

.product-tag {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--productos-muted);
    font-size: 0.78rem;
}

.product-name {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
}

.product-card-action {
    width: 100%;
    min-height: 42px;
    margin-top: 0.8rem;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 103, 9, 0.12);
    color: #FF6709;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.add-product-card {
    border: 1.5px dashed rgba(255, 103, 9, 0.45);
    background: rgba(255, 103, 9, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.85rem;
}

.add-product-card h4 {
    max-width: 170px;
    margin: 0;
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.35;
}

.add-dish-button {
    width: 54px;
    height: 54px;
    margin: 0 auto;
    border: 0;
    border-radius: 16px;
    background: #FF6709;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 22px rgba(255, 103, 9, 0.18);
}

.add-dish-button span {
    font-size: 2rem;
    line-height: 1;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-1px);
}

.productos-pagination-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.1rem;
}

.productos-pagination {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--productos-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--productos-text);
    font-size: 0.9rem;
    font-weight: 700;
}

.pagination-btn.is-active {
    background: #FF6709;
    color: #fff;
    border-color: transparent;
}

.pagination-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.productos-modal {
    display: none;
    padding: 1rem !important;
    background: rgba(12, 14, 18, 0.52);
}

.productos-modal.is-open {
    display: block;
}

.productos-modal.fade {
    opacity: 0;
    transition: opacity 0.18s ease;
}

.productos-modal.fade.show,
.productos-modal.is-open {
    opacity: 1;
}

.productos-modal .modal-dialog {
    max-width: 560px;
    margin: 1.75rem auto;
    pointer-events: none;
}

.productos-modal .modal-content {
    pointer-events: auto;
}

.productos-modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #f7f5f1;
    color: #222432;
}

.productos-modal-header {
    padding: 1.4rem 1.6rem 0.6rem;
    border-bottom: 0;
}

.productos-modal-title {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
}

.productos-modal-close {
    background: transparent;
    border: 0;
    color: #88818f;
    font-size: 2rem;
    line-height: 1;
}

.productos-modal-body {
    padding: 0 1.6rem 1.6rem;
}

.productos-modal-form {
    display: grid;
    gap: 1rem;
}

.productos-modal-form label {
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.productos-input {
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(34, 36, 50, 0.12);
    background: #fff;
}

.form-hint {
    display: block;
    margin-top: 0.45rem;
    color: #978f9b;
}

.type-note {
    padding: 1rem;
    border-radius: 16px;
    background: #eceae6;
    color: #5f5b67;
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.9rem;
}

.type-note-badge {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #34363e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex: 0 0 auto;
}

.productos-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.productos-btn {
    min-height: 48px;
    border-radius: 14px;
    font-weight: 700;
}

.productos-btn-muted {
    background: #fff;
    color: #433d4d;
    border: 1px solid rgba(67, 61, 77, 0.14);
}

.productos-btn-primary {
    background: #FF6709;
    color: #fff;
    border: 0;
}

.carrito-modal .modal-dialog {
    max-width: 760px;
}

.carrito-modal-content {
    border-radius: 34px;
    background: #fbfaf7;
    overflow: hidden;
}

.carrito-modal-media {
    position: relative;
    height: 260px;
    background: linear-gradient(180deg, #fffaf0, #f7f3ea);
}

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

.carrito-modal-header {
    padding-top: 1.6rem;
    padding-bottom: 0.25rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.carrito-modal-head-copy {
    min-width: 0;
}

.carrito-modal-title {
    text-align: left;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.02;
}

.carrito-modal-subtitle {
    margin: 0.4rem 0 0;
    color: #71707a;
    font-size: 1.1rem;
    font-weight: 500;
}

.carrito-favorite-btn {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 18px;
    background: rgba(233, 84, 92, 0.08);
    color: #dd4c57;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.carrito-modal-actions-head {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
}

.carrito-favorite-btn svg {
    width: 28px;
    height: 28px;
}

.carrito-favorite-btn.is-active {
    background: rgba(233, 84, 92, 0.14);
    color: #d93d4a;
}

.carrito-modal-close {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(31, 35, 48, 0.06);
    color: #7c7984;
    font-size: 1.9rem;
}

.carrito-modal-body {
    display: grid;
    gap: 1.4rem;
    padding-bottom: 2rem;
}

.carrito-modal-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.carrito-qty-box,
.carrito-price-pill {
    min-height: 82px;
    padding: 0 1rem;
    border-radius: 24px;
    background: #f1f1ef;
}

.carrito-qty-box {
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.carrito-price-pill {
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #267a4d;
    font-size: 2.1rem;
    font-weight: 800;
}

.carrito-qty-btn {
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5d6a6f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.carrito-qty-btn svg {
    width: 30px;
    height: 30px;
}

.carrito-qty-btn.is-add {
    background: #2f8458;
    color: #ffffff;
    box-shadow: 0 14px 20px rgba(47, 132, 88, 0.18);
}

.carrito-qty-value {
    min-width: 2ch;
    text-align: center;
    color: #1e2330;
    font-size: 2.1rem;
    font-weight: 800;
}

.carrito-divider {
    height: 1px;
    background: rgba(31, 35, 48, 0.12);
}

.carrito-group {
    display: grid;
}

.carrito-group-title {
    margin: 0 0 0.7rem;
    color: #1d2430;
    font-size: 1.65rem;
    font-weight: 800;
}

.carrito-choice {
    min-height: 86px;
    padding: 0 0.85rem;
    border: 0;
    border-top: 1px solid rgba(31, 35, 48, 0.09);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    background: transparent;
    color: #1b2230;
    text-align: left;
}

.carrito-choice:last-child {
    border-bottom: 1px solid rgba(31, 35, 48, 0.09);
}

.carrito-choice-control {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 2px solid #d8d8de;
    background: #ffffff;
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.carrito-choice-control svg {
    width: 20px;
    height: 20px;
}

.carrito-choice.is-selected .carrito-choice-control {
    border-color: #2f8458;
    background: #2f8458;
    color: #ffffff;
}

.carrito-choice.is-radio .carrito-choice-control {
    border-radius: 999px;
}

.carrito-choice.is-radio.is-selected .carrito-choice-control {
    background: #ffffff;
    color: transparent;
    box-shadow: inset 0 0 0 10px #2f8458;
}

.carrito-choice-label {
    font-size: 1.2rem;
    font-weight: 600;
}

.carrito-choice-price {
    font-size: 1.15rem;
    font-weight: 700;
}

.carrito-note {
    display: grid;
    gap: 0.8rem;
}

.carrito-note-toggle {
    padding: 0;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    background: transparent;
    color: #293141;
    font-size: 1.05rem;
    font-weight: 700;
}

.carrito-note-toggle-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #f1f1ef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.carrito-note-toggle-icon svg {
    width: 18px;
    height: 18px;
}

.carrito-note-input {
    min-height: 110px;
    resize: none;
    padding-top: 0.9rem;
}

.carrito-submit-btn {
    min-height: 78px;
    border-radius: 20px;
    background: #2f8458;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    box-shadow: 0 18px 28px rgba(47, 132, 88, 0.18);
}

body.theme-light {
    --productos-bg: #f3ede4;
    --productos-main: rgba(255, 255, 255, 0.98);
    --productos-panel: rgba(37, 39, 54, 0.04);
    --productos-card: rgba(255, 255, 255, 0.92);
    --productos-border: rgba(37, 39, 54, 0.08);
    --productos-text: #252736;
    --productos-muted: #6f7581;
    color-scheme: light;
}

body.theme-light .productos-main {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 238, 0.98));
}

body.theme-light .category-item,
body.theme-light .productos-search,
body.theme-light .productos-view-switch,
body.theme-light .view-btn,
body.theme-light .filter-btn,
body.theme-light .product-more-btn {
    background: rgba(37, 39, 54, 0.04);
}

body.theme-light .product-card {
    background: rgba(255, 255, 255, 0.9);
}

body.theme-light .category-icon,
body.theme-light .category-count {
    background: rgba(37, 39, 54, 0.08);
}

body.theme-light .product-check span {
    border-color: rgba(37, 39, 54, 0.28);
}

body.theme-light .product-dropdown-menu {
    background: rgba(255, 255, 255, 0.98);
}

body.theme-light .pagination-btn,
body.theme-light .product-more-btn,
body.theme-light .filter-btn,
body.theme-light .view-btn {
    background: rgba(37, 39, 54, 0.04);
}

body.theme-light .carrito-modal-content {
    background: #fbfaf7;
}

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

@media (max-width: 1199.98px) {
    .productos-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .productos-category-list {
        max-height: none;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .productos-toolbar,
    .productos-content-head {
        flex-direction: column;
        align-items: stretch;
    }

    .productos-toolbar-actions,
    .productos-view-tools {
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    .productos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .carrito-modal .modal-dialog {
        max-width: 680px;
    }

    .carrito-modal-media {
        height: 220px;
    }

    .carrito-choice {
        min-height: 78px;
    }
}

@media (max-width: 767.98px) {
    .productos-shell {
        flex-direction: column;
    }

    .productos-main {
        padding: 1rem;
        border-radius: 24px;
    }

    .productos-category-list {
        grid-template-columns: 1fr;
    }

    .productos-toolbar-actions,
    .productos-search,
    .productos-primary-btn,
    .filter-btn {
        width: 100%;
    }

    .productos-view-tools {
        flex-wrap: wrap;
    }

    .productos-pagination-wrap {
        justify-content: center;
    }

    .productos-modal-actions {
        grid-template-columns: 1fr;
    }

    .carrito-modal {
        padding: 0.35rem !important;
    }

    .carrito-modal .modal-dialog {
        max-width: none;
        margin: 0.4rem auto;
    }

    .carrito-modal-content {
        border-radius: 28px;
    }

    .carrito-modal-media {
        height: 180px;
    }

    .carrito-modal-header,
    .carrito-modal-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .carrito-modal-header {
        padding-top: 1.05rem;
    }

    .carrito-modal-title {
        font-size: 1.8rem;
    }

    .carrito-modal-subtitle {
        font-size: 1rem;
    }

    .carrito-favorite-btn {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .carrito-modal-close {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .carrito-favorite-btn svg {
        width: 24px;
        height: 24px;
    }

    .carrito-qty-box,
    .carrito-price-pill {
        min-height: 72px;
        border-radius: 20px;
    }

    .carrito-qty-box {
        min-width: 0;
        flex: 1 1 100%;
    }

    .carrito-price-pill {
        min-width: 0;
        width: 100%;
        justify-content: flex-start;
        padding: 0 1.2rem;
        font-size: 1.8rem;
    }

    .carrito-qty-btn {
        width: 50px;
        height: 50px;
    }

    .carrito-qty-value {
        font-size: 1.9rem;
    }

    .carrito-group-title {
        font-size: 1.35rem;
    }

    .carrito-choice {
        min-height: 72px;
        padding: 0 0.3rem;
        gap: 0.75rem;
    }

    .carrito-choice-control {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .carrito-choice-label,
    .carrito-choice-price {
        font-size: 1rem;
    }

    .carrito-submit-btn {
        min-height: 64px;
        font-size: 1.12rem;
    }
}

@media (max-width: 575.98px) {
    .productos-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        min-height: 208px;
    }
}
