:root {
  --mobile-header-h: 56px;
  --mobile-tab-h: 56px;
  --mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
  --mobile-page-pad: 20px;
}

@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
  }
  body {
    padding-bottom: calc(var(--mobile-tab-h) + env(safe-area-inset-bottom, 0px));
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
  }
  #app {
    overflow-x: clip;
    max-width: 100%;
  }
  main {
    min-height: calc(100dvh - var(--mobile-header-h) - var(--mobile-tab-h));
    overflow-x: clip;
    max-width: 100%;
  }
  .container,
  section.block.container,
  section.container,
  .footer .container {
    padding-left: var(--mobile-page-pad) !important;
    padding-right: var(--mobile-page-pad) !important;
    max-width: 100%;
    box-sizing: border-box;
  }
  button,
  .btn,
  a.icon-btn,
  .mobile-bottombar a,
  .mobile-bottombar button {
    touch-action: manipulation;
  }
  .breadcrumbs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    margin-bottom: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }
  .breadcrumbs a, .breadcrumbs span {
    flex-shrink: 0;
    font-size: 12px;
  }
  .breadcrumbs .current {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .block {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .section-head {
    margin-bottom: 16px;
  }
  .section-head h2 {
    font-size: 24px;
  }
}
@media (max-width: 768px) {
  .header {
    background: oklch(17% 0.006 60deg / 0.92);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    z-index: 300;
  }
  .header .container {
    grid-template-columns: auto 1fr;
    height: var(--mobile-header-h);
    gap: 12px;
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: var(--mobile-page-pad) !important;
    padding-right: var(--mobile-page-pad) !important;
  }
  .logo {
    font-size: 18px;
    flex-shrink: 0;
  }
  .logo .mark {
    width: 32px;
    height: 32px;
  }
  .logo > span:not(.mark) {
    display: none;
  }
  .megamenu-wrap,
  .header-actions {
    display: none !important;
  }
  .search {
    flex: 1;
    min-width: 0;
    width: 100%;
  }
  .search input {
    width: 100%;
    height: 40px;
    font-size: 14px;
    padding-left: 36px;
    padding-right: 12px;
    border-radius: 20px;
    background: var(--bg-2);
    border: 1px solid transparent;
  }
  .search input:focus {
    border-color: var(--acc);
    background: var(--bg-1);
  }
  .search .search-icon {
    left: 11px;
  }
  .search .search-submit {
    display: none;
  }
  .search .suggest {
    left: 0;
    right: 0;
    width: 100%;
    border-radius: var(--radius-lg);
    max-height: 70dvh;
    overflow-y: auto;
  }
}
@media (max-width: 768px) {
  .mobile-bottombar {
    display: flex !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    min-height: var(--mobile-tab-h);
    padding: 0 6px env(safe-area-inset-bottom, 0px);
    background: var(--bg-0);
    border-top: 1px solid var(--line-strong);
    box-shadow: 0 -4px 24px oklch(0% 0 0deg / 0.35);
    align-items: center;
    justify-content: space-around;
  }
  .tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    height: var(--mobile-tab-h);
    padding: 4px 2px;
    color: var(--fg-1);
    border: none;
    background: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .tab-item__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: var(--fg-1);
    transition: background 0.15s, color 0.15s;
  }
  .tab-item__icon svg {
    display: block;
    flex-shrink: 0;
  }
  .tab-item__badge {
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--acc);
    color: oklch(14% 0.006 60deg);
    font-family: var(--ff-ui);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-0);
    box-sizing: border-box;
    box-shadow: 0 1px 4px oklch(0% 0 0deg / 0.3);
    pointer-events: none;
  }
  .tab-item__label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--fg-1);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
  }
  .tab-item.is-active .tab-item__icon {
    background: oklch(74% 0.105 55deg / 0.16);
    color: var(--acc);
  }
  .tab-item.is-active .tab-item__label {
    color: var(--acc);
    font-weight: 700;
  }
  .tab-item:active .tab-item__icon {
    opacity: 0.75;
  }
}
@media (max-width: 768px) {
  .product-card {
    border-radius: var(--radius-lg);
  }
  .product-card:hover {
    transform: none;
    box-shadow: none;
  }
  .product-card:active {
    transform: scale(0.98);
    transition: transform 0.1s;
  }
  .product-card .media .quick-actions {
    opacity: 1;
    transform: none;
  }
  .product-card .quick-actions .qa {
    width: 36px;
    height: 36px;
  }
  .product-card .body {
    padding: 10px 12px 12px;
    gap: 6px;
  }
  .product-card .name {
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-card .specs {
    display: none;
  }
  .product-card .rating .count {
    display: none;
  }
  .product-card .price-row .price {
    font-size: 15px;
  }
  .product-card .actions .add-to-cart {
    min-height: 40px;
    font-size: 13px;
  }
  .product-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 8px var(--mobile-page-pad) 0;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
  }
  .hero-slides {
    border-radius: var(--radius-lg);
    height: clamp(520px, 72vh, 600px);
    overflow: hidden;
  }
  .hero-slide {
    align-items: stretch;
    min-height: 0;
  }
  .hero-slide .hero-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    height: 100%;
    padding: 24px 20px 68px !important;
    box-sizing: border-box;
    gap: 0;
  }
  .hero-slide .content {
    max-width: none;
  }
  .hero-slide .stat-row {
    display: none;
  }
  .hero-slide .eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .hero-slide h1 {
    font-size: 26px;
    line-height: 1.08;
    margin-bottom: 12px;
  }
  .hero-slide p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: none;
  }
  .hero-slide .cta-row {
    flex-direction: column;
    gap: 8px;
  }
  .hero-slide .cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-slide .cta-row .btn-lg {
    padding: 13px 20px;
    font-size: 14px;
  }
  .hero-controls {
    padding-left: 20px !important;
    padding-right: 20px !important;
    bottom: 16px;
  }
  .hero-rail {
    margin-top: 16px;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .hero-rail a {
    padding: 12px 14px;
    font-size: 12px;
  }
  section.block {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .section-head {
    gap: 12px;
  }
  .section-head .chip-row {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    margin: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .section-head .chip-row::-webkit-scrollbar {
    display: none;
  }
  .section-head .chip-row .chip {
    flex-shrink: 0;
  }
  .quick-cats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .quick-cat {
    padding: 14px;
    min-height: 100px;
  }
  .quick-cat h3 {
    font-size: 15px;
  }
  .quick-cat .visual {
    width: 80px;
    height: 100px;
    opacity: 0.5;
  }
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .promo {
    padding: 20px;
  }
  .scroller {
    gap: 10px;
    margin-left: calc(-1 * var(--mobile-page-pad));
    margin-right: calc(-1 * var(--mobile-page-pad));
    padding-left: var(--mobile-page-pad);
    padding-right: var(--mobile-page-pad);
    scroll-padding-left: var(--mobile-page-pad);
    scroll-padding-right: var(--mobile-page-pad);
  }
  .scroller > * {
    flex: 0 0 168px;
    width: 168px;
    min-width: 168px;
    max-width: 168px;
  }
  .scroller .product-card {
    width: 100%;
    min-width: 0;
    max-width: none;
  }
  .block:has(> .trust-strip) {
    padding-top: 16px;
    padding-bottom: 16px;
    overflow: visible;
  }
  .trust-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--mobile-page-pad);
    scroll-padding-right: var(--mobile-page-pad);
    margin-left: calc(-1 * var(--mobile-page-pad));
    margin-right: calc(-1 * var(--mobile-page-pad));
    padding: 2px var(--mobile-page-pad) 6px;
    background: transparent;
    border: none;
    border-radius: 0;
    scrollbar-width: none;
  }
  .trust-strip::-webkit-scrollbar {
    display: none;
  }
  .trust-cell {
    flex: 0 0 188px;
    width: 188px;
    min-width: 188px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-lg);
    background: var(--bg-2);
    transition: border-color 0.15s, background 0.15s;
  }
  .trust-cell:hover {
    background: var(--bg-2);
  }
  .trust-cell:last-child {
    border-bottom: 1px solid var(--line) !important;
  }
  .trust-cell .ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: oklch(74% 0.105 55deg / 0.12);
    color: var(--acc);
  }
  .trust-cell h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }
  .trust-cell p {
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 1.45;
    color: var(--fg-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .subscribe {
    border-radius: var(--radius-lg);
    padding: 24px 20px;
  }
  .subscribe .field {
    flex-direction: column;
  }
  .subscribe .field input, .subscribe .field button {
    width: 100%;
  }
  .brand-grid {
    gap: 10px;
  }
  .articles-grid {
    gap: 10px;
  }
  .seo-text {
    padding: 0 0 24px;
  }
  .footer {
    padding-top: 32px;
    padding-bottom: calc(16px + var(--mobile-safe-bottom));
  }
  .footer .footer-top {
    gap: 24px;
  }
  .footer .footer-col.hide-mid {
    display: none;
  }
}
@media (max-width: 768px) {
  .catalog-page {
    padding-top: 8px;
  }
  .catalog-header h1 {
    font-size: 24px;
  }
  .catalog-header .catalog-desc {
    font-size: 13px;
  }
  .catalog-toolbar {
    position: sticky;
    top: calc(var(--mobile-header-h) + env(safe-area-inset-top, 0px));
    z-index: 30;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 0 0 12px;
    padding: 10px 0;
    background: oklch(17% 0.006 60deg / 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .catalog-toolbar::-webkit-scrollbar {
    display: none;
  }
  .mobile-filter-btn {
    display: inline-flex;
    flex-shrink: 0;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 20px;
    font-weight: 600;
    background: var(--bg-2);
  }
  .active-filters {
    flex-shrink: 0;
    max-width: none;
    display: none;
  }
  .toolbar-right {
    flex-shrink: 0;
    margin-left: 0;
    width: auto;
  }
  .view-toggle {
    display: none;
  }
  .sort-select {
    min-height: 40px;
    border-radius: 20px;
    padding: 0 12px;
    max-width: 160px;
  }
  .catalog-seo {
    display: none;
  }
  .filter-drawer {
    z-index: 10050;
  }
  .filter-drawer .filter-drawer-panel {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
    padding: 12px 20px calc(16px + var(--mobile-safe-bottom));
    overflow: hidden;
    animation: sheetUp 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .filter-drawer .filter-drawer-panel .filter-drawer-head,
  .filter-drawer .filter-drawer-panel .sheet-handle {
    flex-shrink: 0;
  }
  .filter-drawer .filter-drawer-panel > .btn-primary {
    flex-shrink: 0;
    width: 100%;
    margin-top: 12px;
    min-height: 52px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
  }
  .filter-drawer .catalog-filters {
    display: block;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: none;
    padding: 0;
    background: transparent;
    scrollbar-width: thin;
  }
}
@keyframes sheetUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .product-page {
    padding-bottom: calc(72px + var(--mobile-tab-h) + var(--mobile-safe-bottom));
  }
  .product-top {
    gap: 16px;
    margin-bottom: 20px;
  }
  .product-gallery .gallery-main {
    min-height: 360px;
    border-radius: var(--radius-lg);
    max-width: 100%;
  }
  .product-gallery .door-illust-xl {
    width: 220px;
    height: 360px;
  }
  .product-gallery .gallery-thumbs {
    padding: 0 4px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .product-gallery .gallery-thumbs::-webkit-scrollbar {
    display: none;
  }
  .product-gallery .gallery-thumbs button {
    flex-shrink: 0;
  }
  .product-buybox h1 {
    font-size: 22px;
    line-height: 1.25;
  }
  .product-buybox .buybox-meta {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
  }
  .product-buybox .buybox-pricing .price {
    font-size: 28px;
  }
  .product-buybox .buybox-delivery {
    font-size: 13px;
  }
  .product-buybox .buybox-actions {
    display: none;
  }
  .product-buybox .buybox-icons {
    flex-wrap: wrap;
    gap: 8px;
  }
  .product-buybox .buybox-icons button {
    flex: 1 1 calc(50% - 4px);
    min-height: 44px;
    justify-content: center;
    padding: 10px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    font-size: 12px;
  }
  .product-tabs .tabs-nav {
    margin: 0;
    padding: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    -webkit-overflow-scrolling: touch;
  }
  .product-tabs .tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .product-tabs .tabs-nav button {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 12px 14px;
    font-size: 13px;
  }
  .product-trust {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .product-trust .trust-mini {
    padding: 12px;
    font-size: 11px;
  }
  .product-trust .trust-mini b {
    font-size: 12px;
  }
  .mobile-buybar {
    display: flex;
    align-items: center;
    gap: 12px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--mobile-tab-h) + var(--mobile-safe-bottom));
    z-index: 150;
    padding: 10px var(--mobile-page-pad);
    background: oklch(14% 0.006 60deg / 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 24px oklch(0% 0 0deg / 0.3);
  }
  .mobile-buybar__price {
    flex-shrink: 0;
    line-height: 1.2;
  }
  .mobile-buybar__price b {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--fg-0);
  }
  .mobile-buybar__price s {
    font-size: 12px;
    color: var(--fg-2);
  }
  .mobile-buybar__btn {
    flex: 1;
    min-height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
  }
  .mobile-buybar__btn.in-cart {
    background: var(--bg-3);
    color: var(--fg-0);
    border: 1px solid var(--line-strong);
  }
}
@media (min-width: 769px) {
  .mobile-buybar {
    display: none;
  }
}
@media (max-width: 768px) {
  .door-constructor .dc-workspace {
    gap: 12px;
  }
  .door-constructor .dc-nav {
    gap: 6px;
    padding-bottom: 8px;
  }
  .door-constructor .dc-nav-item {
    min-width: 140px;
    padding: 10px 12px;
    font-size: 12px;
  }
  .door-constructor .dc-preview-stage {
    min-height: 280px;
  }
  .door-constructor .dc-buybar {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .door-constructor .dc-buybar .dc-buybar-price {
    text-align: center;
  }
  .door-constructor .dc-buybar .btn {
    width: 100%;
    min-height: 48px;
  }
}
.sheet-handle {
  display: none;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--line-strong);
  margin: 0 auto 16px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .sheet-handle {
    display: block;
  }
  .side-panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    max-width: 100% !important;
    max-height: 94dvh;
    border-left: none;
    border-radius: 20px 20px 0 0;
    animation: sheetUp 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    padding-bottom: var(--mobile-safe-bottom);
  }
  .panel-head {
    padding: 8px 20px 16px;
    flex-shrink: 0;
  }
  .panel-head h3 {
    font-size: 17px;
  }
  .panel-list {
    padding: 12px 16px;
    -webkit-overflow-scrolling: touch;
  }
  .panel-footer {
    padding: 16px;
    padding-bottom: calc(16px + var(--mobile-safe-bottom));
    border-top: 1px solid var(--line);
    background: var(--bg-1);
    flex-shrink: 0;
  }
  .panel-footer .btn-lg {
    min-height: 52px;
    border-radius: 14px;
    font-size: 16px;
  }
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
    overflow: hidden;
    z-index: 10050;
  }
  .modal {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: 94dvh;
    margin: 0;
    border-radius: 20px 20px 0 0;
    grid-template-columns: 1fr;
    overflow-x: hidden;
    overflow-y: auto;
    animation: sheetUp 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .modal .modal-media {
    min-height: 200px;
    padding: 24px 20px 16px;
  }
  .modal .modal-media .door-illust-lg {
    width: 140px;
    max-height: 260px;
  }
  .modal .modal-body {
    min-width: 0;
    overflow-x: hidden;
    padding: 8px 20px 24px;
    padding-bottom: calc(24px + var(--mobile-safe-bottom));
  }
  .modal .modal-body h2 {
    font-size: 22px;
    overflow-wrap: anywhere;
  }
  .modal .modal-body .rating-row {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .modal .modal-body .specs-list {
    grid-template-columns: 1fr;
  }
  .modal .modal-body .options-row {
    flex-direction: column;
    gap: 16px;
  }
  .modal .modal-body .options-row .opt {
    width: 100%;
    min-width: 0;
  }
  .modal .modal-body .swatches {
    flex-wrap: wrap;
  }
  .modal .modal-body .sizes {
    flex-wrap: wrap;
  }
  .modal .modal-body .pricing .price {
    font-size: 28px;
  }
  .modal .modal-body .actions-row {
    flex-direction: column;
  }
  .modal .modal-body .actions-row .btn {
    width: 100%;
    justify-content: center;
    flex: none !important;
  }
  .modal .modal-body .modal-quick-actions {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .modal-sm {
    max-width: 100%;
  }
  .auth-modal {
    padding: 8px 20px 20px !important;
  }
  .hero-rail,
  .hero,
  .promo-grid,
  .block,
  .catalog-page,
  .product-page,
  .checkout-page,
  .account-page,
  table,
  .compare-table-wrap {
    max-width: 100%;
  }
  .hero-rail,
  .scroller,
  .trust-strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .toast {
    z-index: 10001;
    bottom: calc(var(--mobile-tab-h) + var(--mobile-safe-bottom) + 16px);
    left: var(--mobile-page-pad);
    right: var(--mobile-page-pad);
    transform: none;
    width: auto;
    max-width: none;
    border-radius: 14px;
    font-size: 13px;
    padding: 12px 16px;
    box-shadow: 0 8px 32px oklch(0% 0 0deg / 0.4);
  }
  @keyframes toastIn {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (max-width: 768px) {
  .checkout-page {
    padding-top: 8px;
  }
  .checkout-head h1 {
    font-size: 24px;
  }
  .checkout-head p {
    font-size: 13px;
  }
  .checkout-steps {
    display: none;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .checkout-aside {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(var(--mobile-tab-h) + var(--mobile-safe-bottom));
    z-index: 40;
    margin: 0;
    padding: 0;
  }
  .checkout-summary {
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 12px var(--mobile-page-pad);
    background: oklch(14% 0.006 60deg / 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 24px oklch(0% 0 0deg / 0.3);
  }
  .checkout-summary > h3,
  .checkout-summary .checkout-summary-scroll,
  .checkout-summary .checkout-calc-row,
  .checkout-summary .checkout-calc-hint,
  .checkout-summary .checkout-legal {
    display: none;
  }
  .checkout-summary .checkout-calc {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
  }
  .checkout-summary .checkout-calc-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0;
    border: none;
    font-size: 14px;
  }
  .checkout-summary .checkout-calc-total b {
    font-size: 20px;
  }
  .checkout-summary .checkout-submit {
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
  }
  .checkout-main {
    padding-bottom: calc(140px + var(--mobile-tab-h) + var(--mobile-safe-bottom));
  }
  .checkout-grid--2 {
    grid-template-columns: 1fr;
  }
  .checkout-success-card {
    margin: 20px 0;
    padding: 24px 20px;
  }
  .account-page {
    padding: 12px 0 24px;
  }
  .account-head h1 {
    font-size: 24px;
  }
  .account-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 12px;
  }
  .account-sidebar {
    position: static;
    padding: 12px;
    border-radius: var(--radius-lg);
  }
  .account-user {
    display: none;
  }
  .account-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .account-nav::-webkit-scrollbar {
    display: none;
  }
  .account-nav__item {
    flex-shrink: 0;
    padding: 10px 14px;
    border-radius: 20px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    font-size: 13px;
    white-space: nowrap;
  }
  .account-nav__item span:not(.account-nav__badge) {
    display: inline;
  }
  .account-nav__item.is-active {
    background: var(--acc);
    color: oklch(16% 0.006 60deg);
    border-color: var(--acc);
    font-weight: 700;
  }
  .account-nav__badge {
    margin-left: 6px;
    background: oklch(16% 0.006 60deg / 0.2);
    color: inherit;
  }
  .account-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .account-stat {
    padding: 12px;
    gap: 8px;
  }
  .account-stat b {
    font-size: 17px;
  }
  .account-grid {
    grid-template-columns: 1fr;
  }
  .account-favorites {
    grid-template-columns: repeat(2, 1fr);
  }
  .account-order__items li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .account-order__qty,
  .account-order__price {
    padding-left: 46px;
    font-size: 12px;
  }
}
@media (max-width: 768px) {
  .info-page,
  .journal-page,
  .article-page {
    padding-top: 12px;
  }
  .info-page h1,
  .journal-page h1,
  .article-page h1 {
    font-size: 26px;
  }
  .journal-grid {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=mobile.css.map */
