/* Shared storefront navigation, mobile cards and shop panels. */
.mobile-search-toggle, .mobile-menu-toggle, .mobile-panel-close, .mobile-service-icons { display: none; }
.mc-header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu { border: 0; }
@keyframes mobile-menu-enter {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
@keyframes mobile-search-enter {
  from { opacity: 0; transform: translateX(-5px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 1200px) {
  .shop-page .utility-bar { display: none; }
  .shop-page .main-nav { height: 72px; }
  .shop-page .main-nav > .container { gap: 12px; }
  .shop-page .nav-left { display: flex; min-width: 0; margin-right: auto; }
  .shop-page .logo-img { width: 190px; height: auto; filter: none; }
  .shop-page .nav-right { gap: 0; flex-shrink: 0; }
  .shop-page .nav-links, .shop-page .nav-icons > a, .shop-page #userProfileWrapper { display: none !important; }
  .shop-page .nav-icons { gap: 2px; padding: 0; border: 0; position: static; align-items: center; }
  .shop-page .nav-icons > .icon-btn { width: 44px; height: 44px; flex-shrink: 0; }
  .shop-page .mobile-search-toggle, .shop-page .mobile-menu-toggle { display: flex; }
  .shop-page .mobile-search-toggle { order: -3; }
  .shop-page .likes-toggle-btn { order: -2; }
  .shop-page .cart-toggle-btn { order: -1; }
  .mobile-menu-toggle svg { width: 24px; height: 24px; }
  .shop-page .cart-count, .shop-page .likes-count { top: 0; right: 0; border-radius: 25%; font-size: 9px; }
  .shop-page .nav-center { display: none; position: relative; grid-column: 1; grid-row: 1; z-index: 2; min-width: 0; width: 100%; margin: 0; max-width: none; padding: 0; background: #fff; border: 0; border-radius: 0; box-shadow: none; }
  .shop-page .nav-center.is-open { display: flex; animation: mobile-search-enter .2s ease-out; }
  .shop-page .main-nav:has(.nav-center.is-open) { background: #fff; }
  .shop-page .main-nav:has(.nav-center.is-open)::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, #e9e9ec, #d4d4d9 50%, #e9e9ec); }
  .shop-page .main-nav:has(.nav-center.is-open) > .container { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
  .shop-page .main-nav:has(.nav-center.is-open) .nav-left { grid-column: 1; grid-row: 1; visibility: hidden; }
  .shop-page .main-nav:has(.nav-center.is-open) .nav-right { grid-column: 2; grid-row: 1; }
  .shop-page .mobile-search-toggle[aria-expanded="true"] { background: #f5f5f6; border-radius: 50%; box-shadow: inset 0 0 0 1px #ededf0; }
  .shop-page .nav-center.is-open .search-input {
    appearance: none;
    -webkit-appearance: none;
    min-width: 0;
    min-height: 38px;
    height: 38px;
    padding: 8px 12px;
    border: 1px solid #e2e2e7;
    background: linear-gradient(180deg, #fafafb, #f4f4f6);
    border-radius: 12px;
    color: #26262b;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    box-shadow: inset 0 1px 0 #fff, 0 2px 5px #14142005;
    transform: none;
    text-overflow: ellipsis;
    transition: border-color .18s ease, box-shadow .18s ease;
  }
  .shop-page .nav-center.is-open .search-input::placeholder { color: #93939c; font-size: 12px; font-weight: 400; opacity: 1; }
  .shop-page .nav-center.is-open .search-input:focus { outline: none; border-color: #bdbdc6; box-shadow: 0 0 0 2px #23233306, inset 0 1px 0 #fff; }
  .shop-page .nav-center.is-open .search-icon { display: none; }
  .shop-page .search-input { font-size: 16px; min-height: 46px; }
  .shop-page .mini-cart-dropdown, .shop-page #miniLikes { top: calc(100% + 12px); right: 16px; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 100px); border-radius: 18px; overflow: auto; }
  .shop-page .mc-items-scroll { max-height: 45dvh; }
  .shop-page .mc-header, .shop-page .mc-footer { padding: 18px; }
  .mobile-menu { width: min(380px, 84vw); max-width: calc(100% - 32px); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0 16px max(24px, env(safe-area-inset-bottom)); background: #fff; color: #171719; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #e4e4e7 transparent; box-shadow: -12px 0 40px #0002; }
  .mobile-menu[open] { animation: mobile-menu-enter .24s ease-out; }
  .mobile-menu::backdrop { background: #101114a3; }
  .mobile-menu-heading { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 82px; padding-top: env(safe-area-inset-top); margin-bottom: 8px; background: #fffffff5; }
  .mobile-menu-heading a { display: flex; min-width: 0; }
  .mobile-menu-heading img { width: min(170px, 100%); height: auto; }
  .mobile-menu-heading .icon-btn { flex-shrink: 0; width: 44px; height: 44px; background: transparent; border-radius: 50%; }
  .mobile-menu svg { width: 23px; height: 23px; flex-shrink: 0; }
  .mobile-account-card { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px 12px; border-radius: 16px; background: #f4f4f5; color: #171719; text-decoration: none; }
  .mobile-account-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; color: #161618; font-size: 13px; font-weight: 600; }
  .mobile-account-avatar svg { width: 27px; height: 27px; }
  .mobile-account-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 5px; }
  #mobileAccountName { font-size: 13px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
  #mobileAccountLinkText { color: #67676d; font-size: 11px; line-height: 1.4; }
  .mobile-menu .mobile-account-chevron { width: 13px; height: 13px; }
  .mobile-menu > nav { margin-top: 10px; padding-top: 10px; border-top: 1px solid #ebebee; }
  .mobile-menu-group { margin: 0; }
  .mobile-menu-group + .mobile-menu-group { border: 0; padding: 0; margin: 0; }
  .mobile-menu-group-title { display: none; }
  .mobile-menu-link { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 10px; margin: 0; border-radius: 12px; color: #252529; font-size: 12px; font-weight: 400; line-height: 1.45; transition: background .18s ease; }
  .mobile-menu-link:hover, .mobile-menu-link.is-current { background: #f6f6f7; color: #111; }
  .mobile-menu-link.is-current { font-weight: 500; }
  .mobile-menu-link-icon { display: grid; place-items: center; width: 28px; height: 30px; flex-shrink: 0; color: #161618; }
  .mobile-menu-link:hover .mobile-menu-link-icon, .mobile-menu-link.is-current .mobile-menu-link-icon { color: #111; }
  .mobile-menu .mobile-menu-chevron { width: 12px; height: 12px; margin-left: auto; color: #a0a0a8; }
  .mobile-menu-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 16px; margin-top: 12px; border-top: 1px solid #ededf0; }
  .mobile-menu-shortcuts a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; border-radius: 12px; background: #f7f7f8; font-size: 11px; }
  .mobile-menu-shortcuts a:hover { background: #f5f5f7; }
  .mobile-menu-contacts { display: flex; flex-direction: column; gap: 0; margin: 16px 0; padding-top: 12px; border-top: 1px solid #ededf0; }
  .mobile-menu-contacts a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px; font-size: 11px; font-weight: 400; }
  .mobile-menu-review-count { display: inline-flex; align-items: center; justify-content: center; min-width: 23px; height: 21px; padding: 0 6px; border-radius: 7px; background: #eeeef1; color: #64646c; font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .mobile-menu-contacts svg { color: #161618; width: 23px; height: 23px; }
  .mobile-menu-contacts small { display: none; }
  .mobile-menu-socials { padding: 0 10px 18px; }
  .mobile-menu-socials a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #229ed9; font-size: 11px; }
  .mobile-menu-socials a:hover { color: #1686bb; }
  .mobile-menu-socials img { width: 20px; height: 20px; object-fit: contain; }
  .mobile-menu-logout { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; margin: 0 0 18px; border-radius: 14px; background: #f9eded; color: #b4474e; font-size: 12px; }
  .mobile-menu-logout:hover { background: #f3dfe0; color: #a33840; }
  .mobile-menu [hidden] { display: none; }
  .mobile-menu-signature { padding-top: 14px; border-top: 1px solid #ededf0; color: #9b9ba1; font-size: 9px; text-align: center; }
  .shop-page:has(.mobile-menu[open]) { overflow: hidden; }
}
@media (max-width: 767px) {
  .shop-page { --mobile-gutter: 16px; --text-sec: #74747c; background: #fff; }
  .shop-page .container { padding-inline: var(--mobile-gutter); }
  .shop-page .main-nav { height: 68px; background: rgba(255,255,255,.96); border-bottom: 0; box-shadow: none; }
  .shop-page .main-nav > .container { gap: 0; }
  .shop-page .logo-img { width: clamp(134px, 39vw, 185px); }
  .shop-page .nav-icons { gap: 0; }
  .shop-page .nav-icons > .icon-btn { width: 40px; height: 44px; }
  .shop-page .nav-icon-img { width: 21px; height: 21px; }
  .shop-page:has(> #miniLikes.active) .likes-toggle-btn,
  .shop-page:has(> #miniCart.active) .cart-toggle-btn { border-radius: 12px; background: #f1f1f3; }

}
@media (max-width: 767px) {
  :is(.shop-page, .compare-page) .card-wrapper { height: auto; min-width: 0; flex: 0 0 calc((100% - 12px) / 2); scroll-snap-align: start; z-index: 1; }
  :is(.shop-page, .compare-page) .card-wrapper:hover, :is(.shop-page, .compare-page) .card-wrapper:focus-within { z-index: 300; }
  :is(.shop-page, .compare-page) .products-error { flex: 0 0 100%; padding: 24px 12px; font-size: 13px; line-height: 1.5; }
  :is(.shop-page, .compare-page) .product-card, :is(.shop-page, .compare-page) .product-card:hover { position: relative; height: 100%; border: 1px solid #eeeef1; border-radius: 13px; box-shadow: none; overflow: visible; }
  :is(.shop-page, .compare-page) .card-visible-part { height: 100%; padding: 10px; gap: 8px; }
  :is(.shop-page, .compare-page) .image-area { height: clamp(120px, 33vw, 225px); margin: 0; }
  :is(.shop-page, .compare-page) .product-card:hover .product-img { transform: none; }
  :is(.shop-page, .compare-page) .product-img { width: 100%; max-width: 100%; }
  :is(.shop-page, .compare-page) .badges { top: 0; left: 0; max-width: 70%; flex-wrap: wrap; }
  :is(.shop-page, .compare-page) .badge { font-size: 7px; padding: 3px 5px; }
  :is(.shop-page, .compare-page) .card-actions { top: 0; right: 0; gap: 5px; }
  :is(.shop-page, .compare-page) .action-btn { width: 30px; height: 30px; border-color: #ededf0; background: #ffffffea; }
  :is(.shop-page, .compare-page) .action-btn,
  :is(.shop-page, .compare-page) .action-btn:hover { transform: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  :is(.shop-page, .compare-page) .like-btn .heart-icon {
    width: 16px;
    height: 16px;
    color: #202024;
    fill: transparent;
    transition: color .18s ease, fill .18s ease;
  }
  :is(.shop-page, .compare-page) .like-btn.liked,
  :is(.shop-page, .compare-page) .like-btn.liked:hover {
    border-color: #d4d4d8;
    background: #e2e2e6;
    transform: none;
  }
  :is(.shop-page, .compare-page) .like-btn.liked .heart-icon { color: #202024; fill: transparent; }
  :is(.shop-page, .compare-page) .like-btn:active { background: #d8d8dc; }
  :is(.shop-page, .compare-page) .compare-btn.is-compared:not(.cp-card-remove),
  :is(.shop-page, .compare-page) .compare-btn.is-compared:not(.cp-card-remove):hover { transform: none; }
  :is(.shop-page, .compare-page) .middle-block { justify-content: flex-start; gap: 9px; }
  :is(.shop-page, .compare-page) .product-name { font-size: 11px; line-height: 1.35; height: auto; min-height: 30px; margin: 0; -webkit-line-clamp: 3; overflow-wrap: anywhere; }
  :is(.shop-page, .compare-page) .compact-specs { margin: 0; gap: 7px 6px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  :is(.shop-page, .compare-page) .spec-item { font-size: 8px; gap: 4px; }
  :is(.shop-page, .compare-page) .spec-icon { width: 10px; height: 10px; }
  :is(.shop-page, .compare-page) .service-row { justify-content: flex-start; margin: auto 0 0; padding-top: 2px; }
  :is(.shop-page, .compare-page) .service-row > .service-icons { display: none; }
  :is(.shop-page, .compare-page) .service-icons { display: flex; gap: 6px; }
  :is(.shop-page, .compare-page) .srv-icon-wrap { cursor: default; }
  :is(.shop-page, .compare-page) .srv-icon { width: 17px; height: 17px; fill: #85858b; }
  :is(.shop-page, .compare-page) .srv-icon-wrap:focus-visible { outline: 2px solid #777; outline-offset: 3px; border-radius: 3px; }
  :is(.shop-page, .compare-page) .tooltip-box { bottom: 29px; z-index: 1000; max-width: 150px; padding: 6px 8px; white-space: normal; text-align: center; line-height: 1.35; }
  :is(.shop-page, .compare-page) .srv-icon-wrap:focus .tooltip-box { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  :is(.shop-page, .compare-page) .srv-icon-wrap:last-child:focus .tooltip-box { transform: translateY(0); }
  :is(.shop-page, .compare-page) .rating-box { font-size: 10px; }
  :is(.shop-page, .compare-page) .card-footer { height: auto; margin: 0; padding: 0; border: 0; flex-direction: column; align-items: stretch; gap: 8px; }
  :is(.shop-page, .compare-page) .price-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 3px 7px;
    min-height: 31px;
  }
  :is(.shop-page, .compare-page) .price-block .old-price-row { grid-column: 1 / -1; margin: 0; }
  :is(.shop-page, .compare-page) .mobile-service-icons { display: flex; grid-column: 2; align-self: center; }
  :is(.shop-page, .compare-page) .mobile-service-icons .srv-icon { width: 19px; height: 19px; }
  :is(.shop-page, .compare-page) .current-price { font-size: 16px; font-weight: 700; }
  :is(.shop-page, .compare-page) .old-price { font-size: 10px; }
  :is(.shop-page, .compare-page) .buy-btn { width: 100%; min-height: 38px; padding: 0 5px; gap: 6px; border-radius: 9px; font-size: 10px; }
  :is(.shop-page, .compare-page) .buy-btn:hover { transform: none; }
  :is(.shop-page, .compare-page) .buy-btn svg { width: 17px; height: 17px; }

}
@media (max-width: 767px) {
  .shop-page .main-footer { padding: 32px 0 24px; border: 0; }
  .shop-page .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; margin-bottom: 28px; }
  .shop-page .brand-col { grid-column: 1 / -1; padding: 0; gap: 12px; align-items: flex-start; text-align: left; }
  .shop-page .footer-logo { margin: 0; }
  .shop-page .footer-logo img { width: 170px; }
  .shop-page .footer-desc { max-width: 360px; font-size: 12px; }
  .shop-page .social-links { margin: 0; }
  .shop-page .footer-col { text-align: left; min-width: 0; }
  .shop-page .footer-col:last-child { grid-column: 1 / -1; }
  .shop-page .footer-col h4 { margin-bottom: 12px; }
  .shop-page .footer-links-list { gap: 0; }
  .shop-page .footer-link { min-height: 36px; font-size: 12px; line-height: 1.5; }
  .shop-page .contact-val { font-size: 13px; overflow-wrap: anywhere; }
  .shop-page .contact-row svg { flex-shrink: 0; }
  .shop-page .footer-bottom { padding-top: 20px; align-items: flex-start; flex-direction: column; gap: 14px; font-size: 10px; }
  .shop-page .legal-links { flex-wrap: wrap; gap: 12px; padding-right: 35px; }

  .shop-page:has(> .mini-cart-dropdown.active) { overflow: hidden; }
  .shop-page:has(> .mini-cart-dropdown.active)::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 2990;
    background: rgba(8, 8, 10, .46);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  .shop-page > .mini-cart-dropdown,
  .shop-page > #miniLikes {
    position: fixed;
    inset: auto 0 0;
    z-index: 3000;
    width: 100%;
    max-width: none;
    height: auto;
    max-height: min(82dvh, 720px);
    margin: 0;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(100% + 24px));
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .18s ease, visibility .28s;
  }
  .shop-page > .mini-cart-dropdown.active,
  .shop-page > #miniLikes.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .shop-page > .mini-cart-dropdown::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    z-index: 4;
    width: 36px;
    height: 4px;
    border-radius: 5px;
    background: #d7d7dc;
    transform: translateX(-50%);
  }
  .shop-page > .mini-cart-dropdown .mc-header {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    min-height: 68px;
    padding: 20px 16px 12px;
    border-bottom: 1px solid #ededf0;
    background: #fff;
  }
  .shop-page .mc-title-main { font-size: 18px; letter-spacing: -.03em; }
  .shop-page .mc-header-actions { gap: 8px; }
  .shop-page .mobile-panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #f2f2f4;
    color: #333336;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
  }
  .shop-page .mc-clear-btn {
    min-height: 34px;
    padding: 0 10px;
    font-size: 10px;
  }
  .shop-page > .mini-cart-dropdown .mc-items-scroll,
  .shop-page > #miniLikes .mc-items-scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    padding: 0 16px 8px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .shop-page .mc-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0;
  }
  .shop-page .mc-img-wrap { width: 76px; height: 76px; border-radius: 14px; }
  .shop-page .mc-info { min-width: 0; }
  .shop-page .mc-item-title { margin-bottom: 4px; font-size: 12px; line-height: 1.35; }
  .shop-page .mc-specs {
    display: -webkit-box;
    margin-bottom: 8px;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .shop-page .mc-bottom-row { gap: 10px; margin-top: 9px; }
  .shop-page .mc-qty { border-radius: 9px; }
  .shop-page .qty-btn { width: 30px; height: 30px; font-size: 16px; }
  .shop-page .qty-val { width: 26px; font-size: 11px; }
  .shop-page .mc-price-wrap { gap: 8px; }
  .shop-page .mc-price { font-size: 14px; }
  .shop-page .mc-remove-btn {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
    background: #f3f3f5;
    color: #77777d;
    font-size: 14px;
  }
  .shop-page .ml-product-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 10px;
  }
  .shop-page .ml-product-meta { gap: 5px; }
  .shop-page .ml-product-actions { width: 100%; margin: 0; gap: 8px; }
  .shop-page .ml-compare-btn { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; }
  .shop-page .ml-cart-btn { width: auto; height: 40px; flex: 1 1 auto; border-radius: 10px; font-size: 11px; }
  .shop-page > .mini-cart-dropdown .mc-footer,
  .shop-page > #miniLikes .ml-footer {
    position: relative;
    flex: 0 0 auto;
    padding: 14px 16px max(16px, env(safe-area-inset-bottom));
    border-top: 1px solid #ededf0;
    background: #fff;
  }
  .shop-page .mc-total-row { margin-bottom: 12px; }
  .shop-page .mc-total-label { font-size: 13px; }
  .shop-page .mc-total-sum { font-size: 19px; }
  .shop-page .mc-footer-btns { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; }
  .shop-page .mc-btn-cart-page,
  .shop-page .mc-btn-primary,
  .shop-page .ml-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 11px;
    font-size: 11px;
    font-family: inherit;
    line-height: 1.15;
    text-align: center;
    transform: none;
  }
  .shop-page #miniLikes .ml-footer { padding-top: 12px; }
  .shop-page #miniLikes .ml-view-all-btn { width: 100%; }
  .shop-page .ml-empty { padding: 46px 18px; font-size: 12px; }

  .shop-page .epc-chat-widget { bottom: max(14px, env(safe-area-inset-bottom)); right: 14px; }
  .shop-page .epc-chat-toggle { width: 46px; height: 46px; }
  .shop-page .epc-chat-window { width: min(360px, calc(100vw - 28px)); right: 0; bottom: 60px; max-height: calc(100dvh - 105px); }
  .shop-page .epc-chat-tooltip { right: 0; bottom: 60px; max-width: calc(100vw - 28px); font-size: 12px; white-space: normal; }
  .shop-page .epc-chat-input { min-width: 0; font-size: 16px; }
}



/* Homepage phone navigation: four destinations, with the cart in the header. */
.mobile-bottom-nav, .mobile-tab-label { display: none; }
@media (max-width: 1200px) {
  .shop-page .main-nav > .container > .mobile-menu-toggle { flex: 0 0 44px; }
  .shop-page .main-nav:has(.nav-center.is-open) > .container { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .shop-page .main-nav:has(.nav-center.is-open) .mobile-menu-toggle { grid-column: 1; grid-row: 1; }
  .shop-page .main-nav:has(.nav-center.is-open) .nav-left,
  .shop-page .main-nav:has(.nav-center.is-open) .nav-center { grid-column: 2; grid-row: 1; }
  .shop-page .main-nav:has(.nav-center.is-open) .nav-right { grid-column: 3; grid-row: 1; }
  .shop-page .mobile-menu { margin: 0 auto 0 0; box-shadow: 12px 0 40px #0002; }
}
@media (max-width: 767px) {
  .shop-page { --bottom-nav-height: calc(64px + env(safe-area-inset-bottom, 0px)); padding-bottom: var(--bottom-nav-height); }
  .shop-page .main-nav > .container { display: grid; grid-template-columns: 80px minmax(0, 1fr) 80px; }
  .shop-page .main-nav > .container > .mobile-menu-toggle { width: 40px; height: 44px; grid-column: 1; grid-row: 1; }
  .shop-page .nav-left { grid-column: 2; grid-row: 1; justify-content: center; margin: 0; }
  .shop-page .logo-img { width: min(100%, 156px); }
  .shop-page .nav-right { grid-column: 3; grid-row: 1; justify-self: end; }
  .shop-page .nav-icons > .icon-btn { width: 40px; }
  .shop-page .cart-count { border-radius: 25%; }
  .shop-page .mobile-bottom-nav {
    position: fixed; inset: auto 0 0; z-index: 1100;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: var(--bottom-nav-height);
    padding: 0 max(8px, env(safe-area-inset-right)) env(safe-area-inset-bottom, 0px) max(8px, env(safe-area-inset-left));
    background: #fff; border-top: 1px solid #ededf0; box-shadow: 0 -3px 16px #00000004;
  }
  .shop-page .mobile-bottom-nav > * {
    display: flex; position: relative; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; width: 100%; min-width: 0; height: 64px; padding: 8px 0;
    order: 0; border: 0; border-radius: 0; background: transparent; color: #74747c;
    font-family: inherit; font-size: 10px; font-weight: 400; line-height: 1.2; text-decoration: none;
  }
  .shop-page .mobile-bottom-nav svg, .shop-page .mobile-bottom-nav img { width: 22px; height: 22px; }
  .shop-page .mobile-bottom-nav img { opacity: .65; }
  .shop-page .mobile-bottom-nav [aria-current="page"] { color: #111; font-weight: 600; }
  .shop-page .mobile-bottom-nav .mobile-tab-label { display: block; }
  .shop-page .mobile-bottom-nav .likes-count { top: 5px; right: calc(50% - 22px); }
  .shop-page .mobile-bottom-nav > *:focus-visible { outline: 2px solid #111; outline-offset: -4px; }
  .shop-page .epc-chat-widget { bottom: calc(var(--bottom-nav-height) + 14px); }
  .shop-page .epc-chat-window { max-height: calc(100dvh - var(--bottom-nav-height) - 105px); }
}

@media (prefers-reduced-motion: reduce) { .shop-page *, .shop-page *::before, .shop-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media (max-width: 359px) {
  .shop-page { --mobile-gutter: 12px; }
}
