* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


.top-bar-links a {
    text-decoration: none;
    color: #111;
    margin-left: 15px;
}

.top-bar-links a:hover {
    opacity: 0.7;
}

/* Barra de navegación principal */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    height: 60px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-nike svg {
    width: 60px;
    height: 60px;
}

/* Menú de navegación */
.main-nav>nav {
    height: 100%;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    height: 100%;
    align-items: center;
}

.nav-item {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item:hover>a::after,
.nav-item:focus-within>a::after {
    content: "";
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: -6px;
    height: 2px;
    background-color: #111;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
    display: flex;
}

.nav-item>a {
    position: relative;
    text-decoration: none;
    color: #111;
    font-weight: 600;
    font-size: 16px;
    padding: 0 5px;
}

/* Mega menu (El panel oculto) */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    justify-content: center;
    box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.menu-column {
    padding: 0 40px;
    /* Aumentamos el espacio entre columnas */
    width: 260px;
    /* Un poco más ancho para que el texto no se amontone */
    text-align: left;
}

.menu-column h4 {
    font-size: 16px;
    margin-bottom: 20px;
    /* Más espacio bajo el título */
    font-weight: 600;
    color: #111;
}

.menu-column ul {
    list-style: none;
}

.menu-column ul li {
    margin-bottom: 6px;
}

.menu-column ul li a {
    text-decoration: none;
    color: #757575;
    font-size: 14px;
    line-height: 1.4;
    /* Ajustamos el interlineado */
    display: block;
}

.menu-column ul li a:hover {
    color: #111;
}



.nav-item:hover~.overlay {
    display: block;
}

/* Buscador y acciones (Corazón y bolsa) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-container {
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

.search-container input {
    background: transparent;
    border: none;
    outline: none;
    margin-left: 10px;
    width: 140px;
}


.sub-header-msg a {
    color: #111;
    font-weight: 600;
}


/* Ajuste específico para el logo para que no ocupe demasiado espacio lateral */
.banner-item.logo {
    flex: 0.5;
}

.banner-item.date {
    text-align: left;
    font-weight: 400;
}

.banner-item.text-extra {
    text-align: right;
    font-weight: 400;
}

/* Responsivo simple */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        gap: 15px;
    }

    .banner-item.date,
    .banner-item.text-extra {
        text-align: center;
    }
}

/* Sección hero principal */
.hero-section {
    width: 100%;
    height: 80vh;
    /* Ocupa el 80% de la altura de la pantalla */
    position: relative;
    overflow: hidden;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido centrado sobre la imagen */
.hero-content {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    width: 90%;
}


.hero-content h1 {
    font-size: 60px;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 500;
}

/* Botones */
.btn-primary {
    background-color: white;
    color: black;
    padding: 8px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    opacity: 0.8;
}

/* Contenedor principal del Footer */
.main-footer {
    background-color: #fff;
    padding: 40px 48px 20px 48px;
    border-top: 1px solid #e5e5e5;
}

/* Alineación de columnas superiores */
.footer-top {
    display: flex;
    justify-content: flex-start;
    gap: 100px;
    /* Espaciado entre columnas */
    margin-bottom: 60px;
    position: relative;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 20px;
    color: #111;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #757575;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: #111;
}

/* Selector de ubicación (esquina derecha) */
.footer-location {
    position: absolute;
    right: 0;
    font-size: 12px;
    font-weight: 700;
}

.footer-location a {
    text-decoration: none;
    color: #111;
}

/* Sección Legal Inferior */
.footer-bottom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    padding-top: 20px;
}

.footer-copyright {
    font-size: 11px;
    color: #111;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal a {
    text-decoration: none;
    color: #757575;
    font-size: 11px;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #111;
}

.footer-location i,
.footer-legal i {
    font-size: 14px;
    margin-right: 5px;
}

/* =========================================================
   Catalogo dinamico
   ========================================================= */

.catalog-page {
    width: 100%;
    max-width: 1600px;
    min-height: 70vh;
    margin: 0 auto;
    padding: 42px 48px 80px;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 32px;
}

.catalog-eyebrow {
    margin-bottom: 5px;
    color: #757575;
    font-size: 14px;
}

.catalog-header h1 {
    color: #111;
    font-size: 30px;
    font-weight: 600;
}

.catalog-count {
    color: #757575;
    font-size: 16px;
}

.catalog-status {
    margin-bottom: 24px;
    color: #757575;
    font-size: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 16px;
}

.product-card {
    min-width: 0;
    background-color: #fff;
}

.product-card__link {
    display: block;
    color: #111;
    text-decoration: none;
}

.product-card__image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.product-card:hover .product-card__image {
    transform: scale(1.015);
}

.product-card__information {
    padding-top: 14px;
}

.product-card__badge {
    margin-bottom: 5px;
    color: #d43f21;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.product-card__badge[hidden] {
    display: none;
}

.product-card__name {
    margin: 0 0 4px;
    color: #111;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.product-card__description {
    margin: 0;
    color: #757575;
    font-size: 16px;
    line-height: 1.4;
}

.product-card__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
    color: #111;
    font-size: 16px;
    font-weight: 500;
}

.product-card__old-price {
    color: #757575;
    font-weight: 400;
}

.product-card__price--offer {
    color: #d43f21;
}

.catalog-empty {
    grid-column: 1 / -1;
    padding: 70px 20px;
    color: #757575;
    font-size: 18px;
    text-align: center;
    background-color: #f7f7f7;
}

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

@media (max-width: 600px) {
    .catalog-page {
        padding: 28px 20px 60px;
    }

    .catalog-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.search-container {
    margin: 0;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #111;
    font-size: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.search-container:focus-within {
    background-color: #e5e5e5;
    box-shadow: 0 0 0 2px #111;
}

.search-container input[type="search"] {
    color: #111;
    font-size: 14px;
}

.search-container input[type="search"]::placeholder {
    color: #757575;
}

.search-wrapper {
    position: relative;
}

.search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 2000;
    width: 390px;
    max-height: 480px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.search-results[hidden] {
    display: none;
}

.search-result-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #eeeeee;
}

.search-result-item:hover,
.search-result-item:focus {
    background-color: #f5f5f5;
    outline: none;
}

.search-result-image {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: cover;
    background-color: #f5f5f5;
    border-radius: 6px;
}

.search-result-information {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.search-result-name {
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-price {
    color: #757575;
    font-size: 13px;
}

.search-results-message {
    padding: 22px 16px;
    color: #757575;
    font-size: 14px;
    text-align: center;
}

.search-results-all {
    display: block;
    padding: 14px;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.search-results-all:hover {
    background-color: #f5f5f5;
}

@media (max-width: 600px) {
    .search-results {
        position: fixed;
        top: 70px;
        right: 16px;
        left: 16px;
        width: auto;
    }
}

/* =========================================================
   Vista de detalle del producto
   ========================================================= */

.product-view-page {
    width: 100%;
    max-width: 1600px;
    min-height: 70vh;
    margin: 0 auto;
    padding: 28px 48px 90px;
    color: #111;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    overflow: hidden;
    color: #757575;
    font-size: 13px;
    white-space: nowrap;
}

.product-breadcrumb a {
    flex: 0 0 auto;
    color: #525252;
    text-decoration: none;
}

.product-breadcrumb a:hover {
    color: #111;
    text-decoration: underline;
}

.product-breadcrumb [aria-current="page"] {
    overflow: hidden;
    color: #111;
    text-overflow: ellipsis;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.75fr);
    align-items: start;
    gap: clamp(34px, 4vw, 68px);
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.product-gallery__item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-gallery__item:only-child {
    grid-column: 1 / -1;
}

.product-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-information {
    position: sticky;
    top: 88px;
    min-width: 0;
    padding: 8px 0 20px;
}

.product-badge {
    margin: 0 0 8px;
    color: #d43f21;
    font-size: 16px;
    font-weight: 600;
}

.product-information h1 {
    margin: 0;
    color: #111;
    font-size: clamp(30px, 2.4vw, 42px);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.product-short-description {
    margin: 13px 0 0;
    color: #575757;
    font-size: 16px;
    line-height: 1.55;
}

.product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 12px;
    margin: 25px 0 0;
}

.product-price__current {
    color: #111;
    font-size: 20px;
    font-weight: 600;
}

.product-price__current--offer {
    color: #d43f21;
}

.product-price__previous {
    color: #757575;
    font-size: 16px;
}

.product-price__discount {
    width: 100%;
    color: #15803d;
    font-size: 14px;
    font-weight: 600;
}

.product-availability {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 22px 0 26px;
    color: #404040;
    font-size: 14px;
}

.product-availability span {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    background-color: #16a34a;
    border-radius: 50%;
}

.product-disclosure {
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

.product-disclosure summary {
    padding: 19px 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.product-disclosure p {
    padding: 0 0 22px;
    color: #525252;
    font-size: 15px;
    line-height: 1.65;
}

.product-categories {
    padding: 24px 0 5px;
}

.product-categories h2 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
}

.product-categories__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-categories__list a {
    padding: 8px 13px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    background-color: #f5f5f5;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.product-categories__list a:hover {
    color: #fff;
    background-color: #111;
}

.product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 30px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    transition: opacity 0.2s ease;
}

.product-button:hover {
    opacity: 0.75;
}

.product-button--dark {
    color: #fff;
    background-color: #111;
}

.product-information>.product-button {
    width: 100%;
}

.product-state-page {
    display: grid;
    min-height: 65vh;
    padding: 60px 24px;
    place-items: center;
    background-color: #f7f7f7;
}

.product-state-card {
    width: min(100%, 620px);
    padding: clamp(34px, 7vw, 68px);
    text-align: center;
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.product-state-code {
    margin-bottom: 8px;
    color: #757575;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-state-card h1 {
    margin-bottom: 14px;
    font-size: clamp(30px, 6vw, 44px);
    line-height: 1.1;
}

.product-state-card>p:not(.product-state-code) {
    color: #575757;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 1050px) {
    .product-detail {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
        gap: 34px;
    }
}

@media (max-width: 820px) {
    .product-view-page {
        padding-right: 24px;
        padding-left: 24px;
    }

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

    .product-information {
        position: static;
        max-width: 680px;
    }
}

@media (max-width: 600px) {
    .product-view-page {
        padding: 20px 0 60px;
    }

    .product-breadcrumb {
        margin: 0 20px 20px;
    }

    .product-detail {
        gap: 28px;
    }

    .product-gallery {
        display: flex;
        gap: 8px;
        padding: 0 20px 12px;
        overflow-x: auto;
        scroll-padding-left: 20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .product-gallery__item,
    .product-gallery__item:only-child {
        width: 88%;
        flex: 0 0 88%;
        scroll-snap-align: start;
    }

    .product-gallery__item:only-child {
        width: calc(100% - 40px);
        flex-basis: calc(100% - 40px);
    }

    .product-information {
        padding: 0 20px;
    }

    .product-information h1 {
        font-size: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .product-categories__list a,
    .product-button {
        transition: none;
    }
}

/* =========================================================
   Favoritos y bolsa con localstorage
   ========================================================= */

[hidden] {
    display: none !important;
}

/* Íconos y contadores del encabezado */
.nav-icon-link {
    position: relative;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: #111;
    font-size: 20px;
    text-decoration: none;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.nav-icon-link:hover {
    background-color: #f1f1f1;
}

.nav-icon-count {
    position: absolute;
    top: -2px;
    right: -3px;
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    background-color: #d43f21;
    border: 2px solid #fff;
    border-radius: 999px;
}

/* Botones de producto.php */
.product-local-actions {
    display: grid;
    gap: 11px;
    margin-top: 30px;
}

.product-action-button {
    display: inline-flex;
    width: 100%;
    min-height: 54px;
    padding: 12px 24px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #111;
    border-radius: 999px;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease;
}

.product-action-button:hover {
    opacity: 0.76;
}

.product-action-button--dark {
    color: #fff;
    background-color: #111;
}

.product-action-button--dark.is-confirmed {
    background-color: #15803d;
    border-color: #15803d;
}

.product-action-button--outline {
    color: #111;
    background-color: #fff;
}

.product-action-button--outline.is-active i {
    color: #d43f21;
}

.product-action-message {
    min-height: 20px;
    margin: 1px 0 0;
    color: #111;
    font-size: 13px;
    text-align: center;
}

.product-action-message.is-error,
.local-status.is-error {
    color: #b91c1c;
}

.product-button--light {
    color: #111;
    background-color: #f2f2f2;
}

/* Páginas de favoritos y bolsa */
.local-page {
    width: 100%;
    max-width: 1500px;
    min-height: 70vh;
    margin: 0 auto;
    padding: 52px 48px 90px;
    color: #111;
}

.local-page__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e5e5e5;
}

.local-page__eyebrow {
    margin-bottom: 6px;
    color: #757575;
    font-size: 14px;
}

.local-page__header h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.local-page__count {
    margin-top: 8px;
    color: #757575;
    font-size: 15px;
}

.local-clear-button {
    padding: 10px 18px;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    background-color: #fff;
    border: 1px solid #cfcfcf;
    border-radius: 999px;
    cursor: pointer;
}

.local-clear-button:hover {
    background-color: #f5f5f5;
}

.local-status {
    min-height: 22px;
    margin: 18px 0;
    color: #15803d;
    font-size: 14px;
}

/* Favoritos */
.local-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 18px;
}

.local-card {
    min-width: 0;
    background-color: #fff;
}

.local-card__image-link {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #f5f5f5;
}

.local-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.local-card:hover .local-card__image {
    transform: scale(1.015);
}

.local-card__body {
    padding-top: 15px;
}

.local-card__title {
    margin: 0 0 5px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.local-card__title a {
    color: #111;
    text-decoration: none;
}

.local-card__description {
    min-height: 22px;
    color: #757575;
    font-size: 15px;
    line-height: 1.45;
}

.local-card__price {
    margin-top: 10px;
    color: #111;
    font-size: 16px;
    font-weight: 600;
}

.local-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 16px;
}

.local-card__button {
    display: inline-flex;
    min-height: 44px;
    padding: 9px 12px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #111;
    border-radius: 999px;
    cursor: pointer;
}

.local-card__button--dark {
    color: #fff;
    background-color: #111;
}

.local-card__button--light {
    color: #111;
    background-color: #fff;
}

.local-card__button:hover {
    opacity: 0.75;
}

/* Estado vacío */
.local-empty {
    max-width: 650px;
    margin: 70px auto 0;
    padding: clamp(38px, 8vw, 70px);
    text-align: center;
    background-color: #f7f7f7;
    border-radius: 18px;
}

.local-empty>i {
    margin-bottom: 20px;
    color: #111;
    font-size: 42px;
}

.local-empty h2 {
    margin-bottom: 10px;
    font-size: 28px;
}

.local-empty p {
    color: #686868;
    font-size: 16px;
    line-height: 1.6;
}

.local-empty .product-button {
    margin-top: 25px;
}

/* Bolsa de compras */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 50px;
}

.cart-list {
    border-top: 1px solid #dedede;
}

.cart-item {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    gap: 22px;
    padding: 24px 0;
    border-bottom: 1px solid #dedede;
}

.cart-item__image-link {
    display: block;
    width: 170px;
    height: 170px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.cart-item__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__name {
    margin: 2px 0 6px;
    font-size: 19px;
    font-weight: 600;
}

.cart-item__name a {
    color: #111;
    text-decoration: none;
}

.cart-item__name a:hover {
    text-decoration: underline;
}

.cart-item__description {
    color: #757575;
    font-size: 15px;
    line-height: 1.45;
}

.cart-item__unit-price {
    margin-top: 8px;
    color: #525252;
    font-size: 14px;
}

.cart-item__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
}

.quantity-control {
    display: inline-flex;
    height: 38px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d1d1d1;
    border-radius: 999px;
}

.quantity-control__button {
    width: 38px;
    height: 100%;
    color: #111;
    font-size: 20px;
    background-color: #fff;
    border: none;
    cursor: pointer;
}

.quantity-control__button:hover:not(:disabled) {
    background-color: #f1f1f1;
}

.quantity-control__button:disabled {
    color: #b5b5b5;
    cursor: not-allowed;
}

.quantity-control__value {
    min-width: 34px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.cart-remove-button {
    padding: 4px 0;
    color: #575757;
    font-size: 14px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #757575;
    cursor: pointer;
}

.cart-remove-button:hover {
    color: #111;
}

.cart-item__total {
    padding-top: 4px;
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
}

.cart-summary {
    position: sticky;
    top: 88px;
    padding: 28px;
    background-color: #f7f7f7;
    border-radius: 16px;
}

.cart-summary h2 {
    margin: 0 0 24px;
    font-size: 24px;
}

.cart-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
    color: #404040;
    font-size: 15px;
}

.cart-summary__row--total {
    margin-top: 13px;
    padding-top: 19px;
    color: #111;
    font-size: 18px;
    border-top: 1px solid #d1d1d1;
}

.demo-checkout-button {
    width: 100%;
    min-height: 52px;
    margin-top: 24px;
    padding: 12px 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    background-color: #111;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.demo-checkout-button:hover {
    opacity: 0.78;
}

.cart-summary__notice {
    margin-top: 16px;
    color: #686868;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

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

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 650px) {
    .local-page {
        padding: 32px 20px 65px;
    }

    .local-page__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .local-products-grid {
        grid-template-columns: 1fr;
    }

    .local-card__actions {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 15px;
    }

    .cart-item__image-link {
        width: 105px;
        height: 105px;
    }

    .cart-item__total {
        grid-column: 2;
        padding-top: 0;
    }

    .cart-item__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        margin-top: 18px;
    }
}