@media (max-width: 767.98px) {
  .market-favorites__inner {
    padding:
      calc(20px + env(safe-area-inset-top))
      10px
      calc(118px + env(safe-area-inset-bottom));
  }

  .market-favorites__header {
    display: none;
  }

  .market-favorites__content {
    margin-top: 0;
  }

  .market-favorites__tabs {
    position: sticky;
    top: calc(8px + env(safe-area-inset-top));
    z-index: 5;
    margin-bottom: 14px;
    pointer-events: none;
  }

  .market-favorites__tab {
    min-height: 38px;
    padding: 0 16px;
    font-size: 14px;
    pointer-events: auto;
  }

  .market-favorites__hero {
    grid-template-columns: 1fr;
  }

  .market-favorites__hero-count {
    width: 100%;
    grid-template-columns: auto auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
  }

  .market-favorites__products {
    grid-template-columns: none;
  }

  .market-favorites__pin-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .market-favorites__pin-card {
    border-radius: 24px;
    min-height: auto;
    padding: 7px 7px 12px;
  }

  .market-favorites__card-tools {
    left: 13px;
    top: 13px;
    gap: 5px;
  }

  .market-favorites__tool {
    width: 30px;
    height: 30px;
  }

  .market-favorites__tool svg {
    width: 15px;
    height: 15px;
  }

  .market-favorites__pin-visual,
  .market-favorites__pin-visual > img,
  .market-favorites__pin-placeholder {
    min-height: 0;
    height: auto;
  }

  .market-favorites__pin-visual {
    aspect-ratio: 4 / 5;
    border-radius: 20px;
  }

  .market-favorites__pin-visual > img,
  .market-favorites__pin-placeholder {
    height: 100%;
    border-radius: 18px;
  }

  .market-favorites__pin-visual .market-favorites__pin-preview {
    right: 10px;
    top: 10px;
    grid-template-columns: repeat(3, 20px);
    grid-template-rows: 20px;
    padding: 4px;
  }

  .market-favorites__pin-visual .market-favorites__pin-preview img,
  .market-favorites__pin-visual .market-favorites__pin-preview span {
    width: 20px;
    height: 20px;
  }

  .market-favorites__pin-copy h3 {
    font-size: clamp(13px, 4vw, 16px);
    letter-spacing: 0.04em;
  }

  .market-favorites__pin-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .market-favorites__pin-copy {
    margin-top: 10px;
  }

  .market-favorites__pin-cta {
    width: 100%;
    min-height: 32px;
    margin-top: 8px;
    padding: 0 10px;
    font-size: 10px;
  }

  .market-favorites__products {
    margin-top: 14px;
  }

  .market-favorites__product {
    grid-template-columns: 48px minmax(104px, 1fr);
    flex-basis: 82%;
    border-radius: 22px;
    padding: 8px;
  }

  .market-favorites__product-media {
    width: 48px;
    border-radius: 15px;
  }

  .market-favorites__product-title {
    margin-top: 5px;
    font-size: 13px;
  }

  .market-favorites__product-price {
    margin-top: 5px;
    font-size: 12px;
  }

  .market-favorites__product-actions {
    display: none;
  }

  .market-pin-modal__sheet {
    width: calc(100% - 20px);
    max-height: min(78vh, 680px);
    margin-bottom: calc(92px + env(safe-area-inset-bottom));
    border-radius: 30px;
    padding: 16px;
  }

  .market-pin-modal__create {
    grid-template-columns: 1fr;
  }

  .market-pin-modal__create button {
    width: 100%;
  }

  .market-pin-modal__pin-action {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .market-favorites__pin-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  #market-desktop-header {
    display: flex;
  }

  .market-mobile-bottom-nav {
    display: none !important;
  }

  #market-mobile-search {
    display: none !important;
  }

  body.market-mobile-search-open {
    overflow: auto;
  }

  #market-mobile-product {
    position: fixed;
    inset: 0;
    z-index: 98;
    display: block;
    background: #000000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  #market-mobile-product.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .market-mobile-product__inner {
    max-width: 620px;
    height: 100%;
    margin: 0 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 28px 24px 32px;
    -webkit-overflow-scrolling: touch;
  }

  .market-mobile-product__media {
    aspect-ratio: 0.95;
  }

  .market-mobile-product__title {
    font-size: 38px;
  }

  #market-desktop-product {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: block;
    background: #000000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  #market-desktop-product.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .market-desktop-product__inner {
    width: min(1720px, calc(100vw - 64px));
    height: 100%;
    margin: 0 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 30px 0 52px;
    -webkit-overflow-scrolling: touch;
  }

  .market-desktop-product__header {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 0 28px;
    background: linear-gradient(180deg, #000000 0%, #000000 72%, rgba(0, 0, 0, 0) 100%);
  }

  .market-desktop-product__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    border: 0;
    border-radius: 999px;
    background: #151619;
    padding: 10px 14px 10px 12px;
    color: #a3a6ad;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    transition: color 160ms ease, background 160ms ease;
  }

  .market-desktop-product__back:hover {
    background: #1b1c20;
    color: #f3f3f4;
  }

  .market-desktop-product__back svg {
    width: 16px;
    height: 16px;
    color: #6f737c;
  }

  .market-desktop-product__header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .market-desktop-product__icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #151619;
    color: #d8d9dd;
    transition: color 160ms ease, background 160ms ease;
  }

  .market-desktop-product__icon-button:hover {
    background: #1b1c20;
    color: #ffffff;
  }

  .market-desktop-product__icon-button svg {
    width: 18px;
    height: 18px;
  }

  .market-desktop-product__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: clamp(38px, 5vw, 92px);
    align-items: start;
  }

  .market-desktop-product__media {
    position: sticky;
    top: 86px;
    overflow: hidden;
    min-height: min(760px, calc(100vh - 132px));
    border-radius: 34px;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .market-desktop-product__image {
    width: 100%;
    max-height: calc(100vh - 132px);
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 34px;
  }

  .market-desktop-product__summary {
    position: sticky;
    top: 86px;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 24px;
    padding: 4px 0 32px;
  }

  .market-desktop-product__store-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
  }

  .market-desktop-product__store {
    color: #8d9098;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
  }

  .market-desktop-product__seller-meta {
    margin-top: 8px;
    color: #686c75;
    font-size: 12px;
    line-height: 1.35;
  }

  .market-desktop-product__badge {
    flex-shrink: 0;
    border-radius: 999px;
    background: #0f2116;
    color: #8ce6ad;
    padding: 8px 11px;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .market-desktop-product__hero-copy {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .market-desktop-product__title {
    color: #ffffff;
    font-size: clamp(42px, 4.3vw, 72px);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.065em;
  }

  .market-desktop-product__price {
    color: #f4f4f5;
    font-size: 30px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: -0.035em;
  }

  .market-desktop-product__lead,
  .market-desktop-product__text {
    color: #9da0a8;
    font-size: 15px;
    line-height: 1.65;
  }

  .market-desktop-product__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .market-desktop-product__primary,
  .market-desktop-product__secondary {
    min-height: 54px;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1;
  }

  .market-desktop-product__primary {
    background: #f4f4f5;
    color: #101010;
  }

  .market-desktop-product__primary.is-added {
    background: #d9ffe5;
  }

  .market-desktop-product__secondary {
    padding: 0 22px;
    background: #17181b;
    color: #f1f2f4;
  }

  .market-desktop-product__highlight-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
  }

  .market-desktop-product__highlight {
    border-radius: 999px;
    background: #101114;
    color: #d0d2d7;
    padding: 9px 13px;
    font-size: 12px;
    line-height: 1;
  }

  .market-desktop-product__section {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .market-desktop-product__section--boxed {
    border-radius: 26px;
    background: #0e0f11;
    padding: 20px;
  }

  .market-desktop-product__section-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: -0.025em;
  }

  .market-desktop-product__spec-grid,
  .market-desktop-product__feedback {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .market-desktop-product__spec-card,
  .market-desktop-product__feedback-card {
    min-width: 0;
    border-radius: 20px;
    background: #101114;
    padding: 16px;
  }

  .market-desktop-product__spec-label,
  .market-desktop-product__feedback-card span,
  .market-desktop-product__feedback-card small {
    display: block;
    color: #787c85;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .market-desktop-product__spec-value {
    margin-top: 10px;
    color: #f2f2f3;
    font-size: 14px;
    line-height: 1.35;
  }

  .market-desktop-product__text + .market-desktop-product__text {
    margin-top: -2px;
  }

  .market-desktop-product__feedback-card strong {
    display: block;
    margin: 10px 0 8px;
    color: #f4f4f5;
    font-size: 24px;
    line-height: 1;
  }

  .market-desktop-product__content--interior {
    display: block;
  }

  .market-desktop-product__content--interior .market-interior-detail {
    width: min(1240px, 100%);
    margin: 0 auto;
    gap: 44px;
  }

  .market-desktop-product__content--interior .market-interior-detail__stage {
    display: flex;
    min-height: min(760px, calc(100vh - 150px));
    align-items: center;
    justify-content: center;
    background: #050505;
  }

  .market-desktop-product__content--interior .market-interior-detail__image {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
  }

  .market-desktop-product__content--interior .market-interior-detail__section-title {
    font-size: 22px;
  }

  .market-desktop-product__content--interior .market-interior-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .market-desktop-product__content--interior .market-interior-product-card__button {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    padding: 12px;
  }

  .market-desktop-product__content--interior .market-interior-product-card__media {
    width: 110px;
    height: 110px;
  }

  .market-desktop-product__content--interior .market-interior-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  #market-cart {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: block;
    background: #000000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  #market-cart.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .market-cart__inner {
    max-width: 1040px;
    height: 100%;
    margin: 0 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 30px 24px 40px;
    -webkit-overflow-scrolling: touch;
  }

  #market-account {
    position: fixed;
    inset: 0;
    z-index: 99;
    display: block;
    background: #000000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  #market-account.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .market-account__inner {
    max-width: 1228px;
    height: 100%;
    margin: 0 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 30px 24px 40px;
    -webkit-overflow-scrolling: touch;
  }

  .market-account__content {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .market-account__auth-card {
    width: 100%;
    padding-top: min(10vh, 72px);
  }

}

@media (max-width: 1023.98px) {

  #market-desktop-header {
    display: none !important;
  }

  #market-desktop-product {
    display: none !important;
  }

  #market-mobile-search {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: block;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    background: #000000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 180ms ease, transform 180ms ease;
    overflow: hidden;
  }

  #market-mobile-search.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .market-mobile-search__inner {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding:
      calc(14px + env(safe-area-inset-top))
      var(--page-margin)
      calc(120px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  #market-mobile-product {
    position: fixed;
    inset: 0;
    z-index: 96;
    display: block;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    background: #000000;
    opacity: 0;
    pointer-events: none;
    transform: translateX(16px);
    transition: opacity 180ms ease, transform 180ms ease;
    overflow: hidden;
  }

  #market-mobile-product.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .market-mobile-product__inner {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding:
      calc(14px + env(safe-area-inset-top))
      var(--page-margin)
      calc(122px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  #market-cart {
    position: fixed;
    inset: 0;
    z-index: 97;
    display: block;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    background: #000000;
    opacity: 0;
    pointer-events: none;
    transform: translateX(16px);
    transition: opacity 180ms ease, transform 180ms ease;
    overflow: hidden;
  }

  #market-cart.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .market-cart__inner {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding:
      calc(14px + env(safe-area-inset-top))
      var(--page-margin)
      calc(238px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  .market-cart__header {
    display: none;
  }

  .market-cart__back {
    display: none;
  }

  .market-cart__heading {
    display: none;
  }

  .market-cart__content {
    margin-top: 0;
  }

  .market-cart__content--empty {
    min-height: calc(100svh - 158px - env(safe-area-inset-bottom));
  }

  .market-cart__title {
    font-size: 30px;
  }

  .market-cart__item {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    border-radius: 26px;
  }

  .market-cart__item-media {
    width: 92px;
    border-radius: 20px;
  }

  .market-cart__item-title {
    font-size: 18px;
  }

  .market-cart__quantity {
    min-width: 108px;
    min-height: 38px;
  }

  .market-cart__item-bottom {
    gap: 10px;
  }

  .market-cart__quantity-button {
    width: 26px;
    height: 26px;
    font-size: 20px;
  }

  .market-cart__item-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-width: 0;
  }

  .market-cart__summary {
    position: fixed;
    left: var(--page-margin);
    right: var(--page-margin);
    bottom: calc(112px + env(safe-area-inset-bottom));
    flex-wrap: wrap;
    border-radius: 28px;
    margin-top: 14px;
    padding: 16px;
    z-index: 2;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
  }

  .market-cart__summary-total {
    font-size: 24px;
  }

  .market-cart__pay-all {
    width: 100%;
  }

  #market-account {
    position: fixed;
    inset: 0;
    z-index: 97;
    display: block;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    background: #000000;
    opacity: 0;
    pointer-events: none;
    transform: translateX(16px);
    transition: opacity 180ms ease, transform 180ms ease;
    overflow: hidden;
  }

  #market-account.market-account--auth::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.58) 58%, rgba(0, 0, 0, 0.88) 100%),
      radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.12), transparent 34%);
    pointer-events: none;
  }

  #market-account.market-account--auth .market-account__auth-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.86;
    pointer-events: none;
  }

  #market-account.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .market-account__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding:
      calc(14px + env(safe-area-inset-top))
      var(--page-margin)
      calc(122px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  .market-account__header {
    display: none;
  }

  .market-account__content {
    margin-top: 0;
  }

  .market-account__dashboard-header {
    gap: 14px;
    padding: 8px 0 20px;
  }

  .market-account__identity {
    gap: 12px;
  }

  .market-account__dashboard .market-account__profile-avatar {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }

  .market-account__identity-copy h1 {
    display: -webkit-box;
    overflow: hidden;
    max-width: min(54vw, 280px);
    font-size: 22px;
    line-height: 1.04;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .market-account__identity-copy > span {
    font-size: 9px;
  }

  .market-account__identity-copy p {
    max-width: min(54vw, 280px);
    font-size: 11px;
  }

  .market-account__round-action {
    width: 38px;
    height: 38px;
  }

  .market-account__header-actions .market-account__round-action:first-child {
    display: none;
  }

  .market-account__order-card {
    border-radius: 24px;
    padding: 17px;
  }

  .market-account__order-main {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    margin-top: 19px;
  }

  .market-account__order-products {
    min-width: 62px;
    padding-left: 10px;
  }

  .market-account__order-products img,
  .market-account__order-products > span {
    width: 43px;
    height: 43px;
    margin-left: -10px;
    border-width: 2px;
    border-radius: 14px;
  }

  .market-account__order-products img:nth-child(n + 3) {
    display: none;
  }

  .market-account__order-copy h2 {
    font-size: 17px;
    white-space: normal;
  }

  .market-account__order-copy p {
    font-size: 12px;
  }

  .market-account__order-open {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin-top: 3px;
    font-size: 12px;
  }

  .market-account__order-progress {
    margin-top: 18px;
  }

  .market-account__quick-actions {
    gap: 7px;
    margin-top: 9px;
  }

  .market-account__quick-action {
    min-height: 92px;
    border-radius: 20px;
    padding: 11px;
  }

  .market-account__quick-icon {
    width: 32px;
    height: 32px;
    border-radius: 12px;
  }

  .market-account__quick-icon svg {
    width: 17px;
    height: 17px;
  }

  .market-account__quick-action strong {
    margin-top: 12px;
    font-size: 11px;
  }

  .market-account__quick-action small {
    top: 12px;
    right: 10px;
    min-width: 19px;
    padding: 4px 6px;
    font-size: 9px;
  }

  .market-account__dashboard-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 9px;
  }

  .market-account__dashboard-side {
    gap: 9px;
  }

  .market-account__menu-panel,
  .market-account__delivery-card {
    border-radius: 23px;
  }

  .market-account__menu-panel {
    padding: 16px;
  }

  .market-account__panel-heading {
    padding-bottom: 14px;
  }

  .market-account__panel-heading strong {
    font-size: 16px;
  }

  .market-account__menu-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 66px;
    gap: 11px;
    padding: 9px 0;
  }

  .market-account__menu-icon {
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }

  .market-account__menu-copy strong {
    font-size: 13px;
  }

  .market-account__menu-copy span {
    font-size: 10px;
  }

  .market-account__menu-meta {
    display: none;
  }

  .market-account__delivery-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 15px;
  }

  .market-account__delivery-card > button {
    grid-column: 2;
    justify-self: start;
    padding: 0;
  }

  #market-account.market-account--auth .market-account__content {
    min-height: 100%;
  }

  .market-account__auth-card--login {
    display: flex;
    min-height: calc(100dvh - 168px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    flex-direction: column;
    gap: 0;
    padding-top: 0;
  }

  .market-account__auth-card--login .market-account__auth-copy {
    padding-top: clamp(34px, 9vh, 76px);
    text-align: center;
  }

  .market-account__auth-card--login .market-account__auth-copy h2 {
    margin: 0 auto;
    text-align: center;
  }

  .market-account__auth-card--login .market-account__social-login {
    margin-top: auto;
  }

  .market-account__social-button {
    width: 64px;
    height: 64px;
  }

  .market-account__social-buttons {
    gap: 16px;
  }

  .market-account__auth-card--login .market-account__phone-panel {
    margin-top: 14px;
  }

  .market-account__auth-card--login > .market-account__secondary {
    align-self: center;
    margin-top: 16px;
    text-align: center;
  }

  .market-account__otp-card {
    width: 100%;
  }

  .input-otp {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .input-otp__group {
    gap: 6px;
  }

  .input-otp__slot {
    width: 34px;
    height: 38px;
    border-radius: 11px;
  }

  .market-account__profile-head {
    min-height: 286px;
    padding: 28px 0 6px;
  }

  .market-account__profile-avatar {
    width: 88px;
    height: 88px;
    font-size: 32px;
  }

  .market-account__profile-actions {
    width: 100%;
  }

  .market-account__edit,
  .market-account__logout {
    flex: 1;
  }

  .market-account__profile-tabs {
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
  }

  .market-account__profile-tabs::-webkit-scrollbar {
    display: none;
  }

  .market-account__block-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .market-account__section-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .market-account__section-side {
    grid-column: 2;
    justify-content: space-between;
    width: 100%;
  }

  .market-account__section-detail {
    max-width: none;
    padding-top: 16px;
  }

  .market-account__detail-hero {
    grid-template-columns: 1fr;
    align-items: start;
    padding-right: 54px;
  }

  .market-account__detail-icon {
    width: 56px;
    height: 56px;
    border-radius: 20px;
  }

  .market-account__detail-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .market-account__detail-status {
    justify-self: start;
  }

  .market-account__contact-copy strong {
    white-space: normal;
  }

  .market-account__auth-card {
    max-width: none;
    padding-top: 22px;
  }

  .market-account__auth-card--login {
    padding-top: 0;
  }

  .market-account__form-grid {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  #cookiePolicyRoot {
    left: var(--page-margin);
    right: var(--page-margin);
    bottom: calc(108px + env(safe-area-inset-bottom));
  }

  .cookies {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    border-radius: 22px;
    padding: 18px;
  }

  .cookies__text {
    font-size: 13px;
  }

  .cookies__text br {
    display: none;
  }

  .cookies__btn {
    width: 100%;
  }
}
