.shop-body {
    background: #dfe6ee;
    min-height: 100vh;
    min-height: 100dvh;
}


.shop-top {
    position: relative;
    z-index: 2;
    padding: 0 1rem .25rem;
    padding-top: env(safe-area-inset-top, 0px);
}

.shop-top__bar {
    max-width: 1020px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: .55rem;
}

.shop-top__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.shop-top__logo {
    width: clamp(88px, 18vw, 130px);
    height: auto;
    display: block;
    object-fit: contain;
}

.shop-top__nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .35rem;
}

.shop-top__actions {
    display: none;
    align-items: center;
    gap: .35rem;
}

.shop-top__nav-btn {
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    min-height: 42px;
    padding: .45rem .7rem;
    font-size: .82rem;
    font-weight: 600;
}

.shop-top__link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .7rem;
    border-radius: 8px;
    font-size: .86rem;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: background .15s, color .15s;
}

.shop-top__link:hover {
    transform: none;
    color: #146c43;
    background: rgba(255, 255, 255, 0.55);
}

.shop-top__link.is-active {
    color: #146c43;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

.shop-top__cart-icon {
    flex-shrink: 0;
    display: block;
}

.shop-top__link--cart {
    position: relative;
    gap: .4rem;
}

.shop-top__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 .25rem;
    border-radius: 999px;
    background: #146c43;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
}

.shop-top__link.is-active .shop-top__badge {
    background: #146c43;
    color: #fff;
}

.shop-top__intro {
    max-width: 1020px;
    margin: .55rem auto 0;
    padding: .1rem .15rem .35rem;
    text-align: left;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.shop-top__intro h1 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 650;
    color: #1e293b;
    letter-spacing: .01em;
    line-height: 1.25;
}

.shop-top__intro p {
    margin: .2rem 0 0;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.35;
    max-width: 36rem;
}

.shop-main {
    position: relative;
    z-index: 2;
    padding: 0 1rem 2.5rem;
    transition: opacity .18s ease;
}

.shop-main.is-loading {
    opacity: .45;
    pointer-events: none;
}

.shop-container {
    max-width: 1020px;
    margin: 0 auto;
}

.shop-container--narrow {
    max-width: 560px;
}

.shop-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}


.shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-bottom: 1.15rem;
    padding: .65rem;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.shop-filters-mobile {
    display: none;
}

.shop-cat-trigger {
    appearance: none;
    border: 1px solid rgba(148, 163, 184, 0.28);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .95rem 1.05rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(241,245,249,0.92));
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    text-align: left;
    color: inherit;
    font: inherit;
}

.shop-cat-trigger__eyebrow {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #94a3b8;
    margin-bottom: .15rem;
}

.shop-cat-trigger__name {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #146c43;
}

.shop-cat-trigger__chevron {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(20, 108, 67, 0.1);
    color: #146c43;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .2s ease;
}

.shop-cat-trigger[aria-expanded="true"] .shop-cat-trigger__chevron {
    transform: rotate(180deg);
}

.shop-filters-mobile__count {
    margin: .5rem 0 0;
    text-align: center;
    font-size: .78rem;
    color: #94a3b8;
}

.shop-cat-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.shop-cat-sheet-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.shop-cat-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 71;
    max-height: min(78vh, 560px);
    background: #fff;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -16px 50px rgba(15, 23, 42, 0.22);
    transform: translateY(110%);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
    display: flex;
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.shop-cat-sheet.is-open {
    transform: translateY(0);
}

.shop-cat-sheet__handle {
    width: 42px;
    height: 4px;
    border-radius: 99px;
    background: #cbd5e1;
    margin: .65rem auto .15rem;
}

.shop-cat-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .55rem 1rem .75rem;
    border-bottom: 1px solid #f1f5f9;
}

.shop-cat-sheet__head h2 {
    margin: 0;
    font-size: 1.05rem;
    color: #1e293b;
}

.shop-cat-sheet__close {
    appearance: none;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.shop-cat-sheet__list {
    overflow-y: auto;
    padding: .65rem .75rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    -webkit-overflow-scrolling: touch;
}

.shop-cat-option {
    appearance: none;
    border: 1px solid #eef2f7;
    background: #fff;
    border-radius: 14px;
    padding: .8rem .85rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: background .15s, border-color .15s, transform .12s;
}

.shop-cat-option:active {
    transform: scale(.985);
}

.shop-cat-option__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, #e8f5ef, #d9efe4);
    color: #146c43;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shop-cat-option__icon svg {
    display: block;
}

.shop-cat-option__text {
    min-width: 0;
    flex: 1;
}

.shop-cat-option__text strong {
    display: block;
    font-size: .95rem;
    color: #1e293b;
}

.shop-cat-option__text small {
    display: block;
    margin-top: .12rem;
    color: #94a3b8;
    font-size: .75rem;
}

.shop-cat-option__check {
    opacity: 0;
    color: #146c43;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shop-cat-option__check svg {
    display: block;
}

.shop-cat-option.is-active {
    border-color: rgba(20, 108, 67, 0.35);
    background: rgba(20, 108, 67, 0.07);
}

.shop-cat-option.is-active .shop-cat-option__check {
    opacity: 1;
}

.shop-results {
    transition: opacity .2s ease, transform .2s ease;
}

.shop-results.is-loading {
    opacity: .45;
    transform: translateY(4px);
    pointer-events: none;
}

body.shop-cat-open {
    overflow: hidden;
}

.shop-filter {
    padding: .45rem .9rem;
    border-radius: 999px;
    background: transparent;
    border: none;
    color: #64748b;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 500;
    transition: background .15s, color .15s;
}

.shop-filter:hover {
    color: #146c43;
    background: rgba(20, 108, 67, 0.08);
}

.shop-filter.is-active {
    background: #146c43;
    color: #fff;
    box-shadow: 0 4px 12px rgba(20, 108, 67, 0.25);
}


.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.shop-product {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}

.shop-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.shop-product__img {
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #eef2f7, #e2e8f0);
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.shop-product__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s ease;
}

.shop-product:hover .shop-product__img img {
    transform: scale(1.04);
}

.shop-product__body {
    padding: .9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    flex: 1;
}

.shop-product__cat {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94a3b8;
    font-weight: 600;
}

.shop-product h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
}

.shop-product h2 a {
    color: inherit;
    text-decoration: none;
}

.shop-product h2 a:hover {
    color: #146c43;
}

.shop-product__actions {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
}

.shop-link-btn--sm {
    padding: .45rem .65rem;
    font-size: .78rem;
}

.shop-product__desc {
    margin: 0;
    font-size: .82rem;
    color: #64748b;
    line-height: 1.5;
    flex: 1;
}

.shop-product__foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .55rem;
    margin-top: auto;
    padding-top: .75rem;
    border-top: 1px solid #f1f5f9;
}

.shop-product__price {
    color: #146c43;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.2;
}

.shop-add-btn {
    appearance: none;
    border: none;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .01em;
    padding: .65rem 1rem;
    border-radius: 12px;
    background: #146c43;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    transition: background .15s, transform .12s;
    white-space: nowrap;
}

.shop-add-btn__icon {
    flex-shrink: 0;
    display: block;
}

.shop-add-btn:hover {
    background: #0d5234;
}

.shop-add-btn:active {
    transform: scale(.98);
}

.shop-add-btn:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

.shop-add-btn--card {
    width: 100%;
    min-height: 42px;
    padding: .7rem .75rem;
}

.shop-add-btn--block {
    width: 100%;
    padding: .85rem 1.1rem;
    font-size: .95rem;
    margin-top: .5rem;
    border-radius: 12px;
}

.shop-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem .85rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    color: #475569;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
}

.shop-link-btn:hover {
    border-color: #146c43;
    color: #146c43;
}

.shop-empty {
    text-align: center;
    color: #64748b;
    padding: 2rem 1.25rem;
}

.shop-empty.shop-panel p {
    margin: 0 0 1rem;
}


.shop-cart {
    overflow: hidden;
    margin-bottom: 1rem;
}

.shop-cart__row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: .65rem;
    align-items: center;
    padding: .85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.shop-cart__info strong {
    display: block;
    color: #1e293b;
    font-size: .92rem;
}

.shop-cart__info span {
    display: block;
    font-size: .78rem;
    color: #64748b;
    margin-top: .15rem;
}

.shop-cart__qty {
    display: flex;
    align-items: center;
    gap: .3rem;
}

.shop-qty-btn {
    width: 1.85rem;
    height: 1.85rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    color: #475569;
    font-size: 1rem;
    line-height: 1;
}

.shop-qty-btn:hover {
    border-color: #146c43;
    color: #146c43;
}

.shop-qty-input {
    width: 2.6rem;
    text-align: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: .3rem;
    font-size: .88rem;
}

.shop-cart__line {
    font-weight: 700;
    color: #146c43;
    white-space: nowrap;
}

.shop-cart__remove {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.35rem;
    cursor: pointer;
    line-height: 1;
    padding: .2rem;
}

.shop-cart__remove:hover {
    color: #b91c1c;
}

.shop-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    font-size: 1.05rem;
    background: rgba(20, 108, 67, 0.06);
}

.shop-cart__total strong {
    color: #146c43;
    font-size: 1.15rem;
}

.shop-checkout {
    padding: 1.15rem 1rem 1.25rem;
}

.shop-checkout h2 {
    margin: 0 0 .25rem;
    font-size: 1.08rem;
    color: #1e293b;
}

.shop-checkout__hint {
    margin: 0 0 1rem;
    font-size: .84rem;
    color: #64748b;
}

.shop-error {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: .75rem .85rem;
    margin-bottom: .85rem;
    font-size: .88rem;
}

.shop-success {
    text-align: center;
    padding: 2rem 1.25rem;
}

.shop-success__no {
    font-size: .95rem;
    color: #475569;
}

.shop-success__total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #146c43;
    margin: 1.25rem 0;
}

.shop-success__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin-top: .5rem;
}

.shop-toast {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    background: #146c43;
    color: #fff;
    padding: .7rem 1.15rem;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 500;
    z-index: 50;
    box-shadow: 0 10px 30px rgba(20, 108, 67, 0.35);
}

.shop-to-top {
    position: fixed;
    right: 1.1rem;
    bottom: 1.5rem;
    z-index: 55;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 14px;
    background: #146c43;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(20, 108, 67, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.shop-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.shop-to-top:hover {
    background: #0d5234;
}

.shop-to-top[hidden] {
    display: none !important;
}

.shop-to-top:not([hidden]) {
    display: inline-flex;
}


.shop-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(7, 12, 20, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1rem 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s;
}

.shop-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.shop-lightbox[hidden] {
    display: none !important;
}

.shop-lightbox:not([hidden]) {
    display: flex;
}

.shop-lightbox__img {
    max-width: min(1100px, 100%);
    max-height: min(82vh, 100%);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    user-select: none;
    -webkit-user-drag: none;
}

.shop-lightbox__close {
    appearance: none;
    position: absolute;
    top: max(.7rem, env(safe-area-inset-top, 0px));
    right: max(.7rem, env(safe-area-inset-right, 0px));
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.shop-lightbox__nav {
    appearance: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.shop-lightbox__nav--prev { left: max(.5rem, env(safe-area-inset-left, 0px)); }
.shop-lightbox__nav--next { right: max(.5rem, env(safe-area-inset-right, 0px)); }

.shop-lightbox__nav[hidden] {
    display: none !important;
}

.shop-lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: max(.85rem, env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: .85rem;
    font-weight: 600;
}

body.shop-lightbox-open {
    overflow: hidden;
}

.shop-footer {
    position: relative;
    z-index: 2;
}

.public-shop-link {
    display: inline-block;
    margin-top: .85rem;
    font-size: .88rem;
    color: #146c43;
    text-decoration: none;
    font-weight: 600;
}

.public-shop-link:hover {
    text-decoration: underline;
}


.shop-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .85rem;
    padding: .55rem .85rem .55rem .65rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    color: #146c43;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    transition: background .15s, border-color .15s, transform .12s;
}

.shop-back svg {
    flex-shrink: 0;
}

.shop-back span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-back:hover {
    background: #fff;
    border-color: rgba(20, 108, 67, 0.35);
}

.shop-back:active {
    transform: scale(.98);
}

.shop-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .5rem;
    font-size: .82rem;
    color: #64748b;
    margin-bottom: 1rem;
    padding: .5rem .75rem;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    width: fit-content;
    max-width: 100%;
}

.shop-breadcrumb a {
    color: #146c43;
    text-decoration: none;
    font-weight: 500;
}

.shop-breadcrumb a:hover {
    text-decoration: underline;
}

.shop-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.25rem;
    overflow: hidden;
}

.shop-detail__main {
    appearance: none;
    border: none;
    padding: 0;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: #eef2f7;
    cursor: zoom-in;
    position: relative;
    font: inherit;
    color: inherit;
}

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

.shop-detail__zoom {
    position: absolute;
    right: .65rem;
    bottom: .65rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.55);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.shop-detail__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .65rem;
    position: relative;
    z-index: 2;
}

.shop-detail__thumb {
    appearance: none;
    border: 2px solid transparent;
    padding: 0;
    width: 72px;
    height: 54px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    position: relative;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.shop-detail__thumb.is-active {
    border-color: #146c43;
}

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

.shop-detail__title {
    margin: .25rem 0 .65rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 600;
    color: #1e293b;
    line-height: 1.25;
}

.shop-detail__lead {
    margin: 0 0 .85rem;
    color: #475569;
    font-size: .95rem;
    line-height: 1.55;
}

.shop-detail__price {
    margin: 0 0 1rem;
    font-size: 1.45rem;
    font-weight: 700;
    color: #146c43;
}

.shop-detail__actions {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin-bottom: 1.25rem;
}

.shop-detail__cart-link {
    text-align: center;
}

.shop-detail__desc {
    margin: 0 0 1.15rem;
}

.shop-detail__desc h2 {
    margin: 0 0 .65rem;
    font-size: 1rem;
    color: #334155;
}

.shop-detail__desc-body {
    color: #475569;
    font-size: .92rem;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .shop-detail {
        grid-template-columns: 1fr;
        gap: 1.15rem;
        padding: 1.1rem;
    }
}

@media (max-width: 640px) {
    .shop-top {
        padding: 0 .7rem .15rem;
        padding-top: 0;
        position: relative;
        z-index: auto;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    
    .shop-top__bar {
        position: sticky;
        top: 0;
        z-index: 20;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: .4rem;
        margin: 0 -.7rem;
        padding: .45rem .7rem;
        padding-top: max(.45rem, env(safe-area-inset-top, 0px));
        background: rgba(223, 230, 238, 0.96);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 1px 0 rgba(148, 163, 184, 0.18);
    }

    .shop-top__logo {
        width: clamp(72px, 22vw, 96px);
    }

    .shop-top__nav--desktop {
        display: none;
    }

    .shop-top__actions {
        display: inline-flex;
        flex-shrink: 0;
    }

    .shop-top__nav-btn {
        padding: .4rem .55rem;
        font-size: .72rem;
        min-height: 40px;
        border-radius: 10px;
        max-width: 42vw;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }

    .shop-top__cart-quick {
        position: relative;
        padding: .45rem .55rem;
        min-width: 42px;
        min-height: 42px;
        justify-content: center;
        background: rgba(255, 255, 255, 0.72);
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
    }

    .shop-top__cart-quick .shop-top__badge {
        position: absolute;
        top: 2px;
        right: 2px;
        min-width: 1.05rem;
        height: 1.05rem;
        font-size: .62rem;
        margin: 0;
    }

    .shop-top__intro {
        margin-top: .4rem;
        padding: 0 0 .15rem;
    }

    .shop-top__intro h1 {
        font-size: 1.05rem;
    }

    
    .shop-top__intro p {
        display: none;
    }

    .shop-main {
        padding: 0 .7rem 5.5rem;
    }

    .shop-filters--desktop {
        display: none;
    }

    .shop-filters-mobile {
        display: block;
        margin-bottom: .95rem;
    }

    .shop-filters {
        border-radius: 14px;
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: .45rem;
        gap: .35rem;
        margin-bottom: .9rem;
    }

    .shop-filters::-webkit-scrollbar {
        display: none;
    }

    .shop-filter {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: .4rem .75rem;
        font-size: .8rem;
    }

    .shop-grid {
        grid-template-columns: 1fr 1fr;
        gap: .65rem;
    }

    .shop-product {
        border-radius: 14px;
    }

    .shop-product__img {
        aspect-ratio: 1 / 1;
    }

    .shop-product__body {
        padding: .65rem .7rem .8rem;
        gap: .3rem;
    }

    .shop-product h2 {
        font-size: .88rem;
    }

    .shop-product__desc {
        display: none;
    }

    .shop-product__cat {
        font-size: .62rem;
    }

    .shop-product__foot {
        gap: .45rem;
        margin-top: auto;
        padding-top: .55rem;
    }

    .shop-product__price {
        font-size: .98rem;
    }

    .shop-add-btn--card {
        min-height: 40px;
        padding: .6rem .5rem;
        font-size: .78rem;
        border-radius: 10px;
    }

    .shop-add-btn {
        width: 100%;
        justify-content: center;
    }

    .shop-back {
        width: fit-content;
        max-width: 100%;
        justify-content: flex-start;
        min-height: 42px;
        margin-bottom: .7rem;
        font-size: .86rem;
        border-radius: 12px;
        padding: .5rem .75rem .5rem .55rem;
    }

    .shop-breadcrumb {
        width: 100%;
        border-radius: 12px;
        font-size: .75rem;
        gap: .25rem .35rem;
        padding: .45rem .6rem;
        margin-bottom: .75rem;
    }

    .shop-detail {
        grid-template-columns: 1fr;
        padding: .85rem;
        border-radius: 14px;
        gap: 1rem;
    }

    .shop-detail__main {
        aspect-ratio: 1 / 1;
        border-radius: 12px;
    }

    .shop-detail__thumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: .15rem;
    }

    .shop-detail__thumbs::-webkit-scrollbar {
        display: none;
    }

    .shop-detail__thumb {
        flex: 0 0 auto;
        width: 64px;
        height: 48px;
    }

    .shop-detail__title {
        font-size: 1.2rem;
    }

    .shop-detail__lead {
        font-size: .88rem;
    }

    .shop-detail__price {
        font-size: 1.3rem;
    }

    .shop-detail__actions {
        position: sticky;
        bottom: 0;
        z-index: 5;
        margin: 0 -.85rem -.85rem;
        padding: .75rem .85rem calc(.75rem + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #eef2f7;
        box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.06);
    }

    .shop-detail__desc {
        margin-bottom: 1rem;
        position: relative;
        z-index: 1;
    }

    .shop-add-btn--block {
        min-height: 48px;
        font-size: .95rem;
    }

    .shop-cart__row {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "info line"
            "qty remove";
        gap: .5rem;
        padding: .85rem .85rem;
    }

    .shop-cart__info { grid-area: info; }
    .shop-cart__line { grid-area: line; text-align: right; }
    .shop-cart__qty { grid-area: qty; }
    .shop-cart__remove {
        grid-area: remove;
        justify-self: end;
        min-width: 40px;
        min-height: 40px;
    }

    .shop-qty-btn {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 1.1rem;
    }

    .shop-qty-input {
        width: 2.8rem;
        padding: .4rem;
        font-size: .95rem;
    }

    .shop-checkout {
        padding: 1rem .85rem 1.15rem;
    }

    .shop-checkout h2 {
        font-size: 1rem;
    }

    .shop-container--narrow .form-grid {
        grid-template-columns: 1fr;
    }

    .shop-toast {
        left: .75rem;
        right: .75rem;
        bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
        transform: none;
        text-align: center;
        border-radius: 14px;
        max-width: none;
    }

    .shop-to-top {
        right: .85rem;
        bottom: calc(5.2rem + env(safe-area-inset-bottom, 0px));
        width: 44px;
        height: 44px;
    }

    .shop-lightbox {
        padding: 3.2rem .35rem 2.4rem;
    }

    .shop-lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 1.55rem;
    }

    .shop-lightbox__img {
        max-height: 78vh;
        border-radius: 8px;
    }

    .shop-panel {
        border-radius: 14px;
    }

    .shop-empty {
        padding: 1.5rem 1rem;
    }
}

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

@media (min-width: 641px) {
    .shop-top__actions,
    .shop-filters-mobile,
    .shop-cat-sheet,
    .shop-cat-sheet-backdrop {
        display: none !important;
    }
}
