:root {
  --orange: #e89a1b;
  --orange-dark: #cf8210;
  --page: #f4f4f4;
  --white: #fff;
  --ink: #101010;
  --muted: #777;
  --card: #dddddd;
  --line: #e4e4e4;
  --site-width: 1160px;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); font-family: TildaSans, Arial, sans-serif; font-size: 16px; font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.store-header { position: relative; z-index: 5; padding: 15px 0; background: var(--white); box-shadow: 0 15px 30px -10px rgba(0, 11, 48, .2); }
.header-main { display: grid; grid-template-columns: 115px 142px minmax(260px, 1fr) 147px; align-items: center; column-gap: 15px; width: min(var(--site-width), calc(100% - 40px)); min-height: 45px; margin: 0 auto; }
.brand-logo { display: inline-flex; align-items: center; width: 100px; margin-right: 15px; }
.brand-logo img { display: block; width: 100%; max-width: 100px; height: auto; object-fit: contain; }
.shop-button { display: flex; align-items: center; justify-content: center; gap: 10px; height: 45px; border: 0; border-radius: 5px; padding: 12px 24px; color: #fff; background: var(--orange); font-size: 16px; font-weight: 500; line-height: 21px; }
.shop-button:hover, .orange-button:hover, .load-more:hover, .all-products:hover { background: var(--orange-dark); }
.bag-icon, .mini-bag { position: relative; display: inline-block; width: 17px; height: 18px; border: 1.5px solid currentColor; border-radius: 1px; }
.bag-icon::before, .mini-bag::before { position: absolute; top: -7px; left: 3px; width: 8px; height: 8px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 8px 8px 0 0; content: ''; }
.mini-bag { width: 14px; height: 14px; border-color: #fff; }
.mini-bag::before { top: -5px; left: 2px; width: 7px; height: 6px; border-color: #fff; }
.search-form { display: flex; align-items: stretch; height: 45px; border: 0; background: #fff; }
.search-form input { min-width: 0; height: 45px; flex: 1; border: 1px solid #cdcdcd; border-radius: 5px 0 0 5px; padding: 0 44px 0 20px; outline: 0; color: var(--ink); font-size: 16px; font-weight: 400; }
.search-form button { display: grid; place-items: center; flex: 0 0 57px; height: 45px; border: 0; border-radius: 0 5px 5px 0; padding: 12px 18px; color: #fff; background: var(--orange); }
.search-icon { display: block; width: 22px; height: 22px; }
.header-icons { display: flex; align-items: center; justify-content: flex-end; margin-left: 15px; }
.header-icons button { position: relative; display: grid; place-items: center; width: 44px; height: 32px; border: 0; padding: 0 10px 2px; color: #000; background: transparent; }
.header-icons svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.account-float svg, .account-avatar svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.header-counter { position: absolute; right: 3px; bottom: -2px; min-width: 14px; height: 14px; border-radius: 30px; padding: 0 3px; color: #fff; background: red; font-family: Arial, sans-serif; font-size: 10px; font-weight: 600; line-height: 14px; text-align: center; }
.header-counter[hidden] { display: none; }
.header-icons button:hover { color: var(--orange-dark); }
.header-icons button.is-active { color: #e33; }
.header-icons .mobile-menu-button { display: none; }
.store-nav { display: flex; justify-content: flex-start; width: min(var(--site-width), calc(100% - 40px)); margin: 25px auto 0; padding: 0; font-size: 16px; font-weight: 400; line-height: 1.4; }
.store-nav a { padding: 0 15px; white-space: nowrap; }
.store-nav a:first-child { padding-left: 0; }
.store-nav a:last-child { padding-right: 0; }
.store-nav a:hover { color: var(--orange-dark); }
.account-float { position: absolute; top: 50px; right: 48px; display: grid; place-items: center; width: 82px; height: 82px; border: 0; border-radius: 50%; color: #111; background: #fff; box-shadow: 0 2px 13px rgba(0, 0, 0, .16); }
.account-dropdown { position: fixed; z-index: 45; width: 265px; overflow: hidden; border-radius: 3px; background: #fff; box-shadow: 0 3px 14px rgba(0, 0, 0, .18); }
.account-dropdown[hidden] { display: none; }
.account-dropdown-head { display: flex; align-items: flex-start; justify-content: space-between; min-height: 70px; padding: 20px 18px 14px 22px; border-bottom: 1px solid #d8d8d8; }
.account-dropdown-name { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; line-height: 1.2; }
.account-dropdown-edit { display: block; color: #9a9a9a; font-size: 11px; font-weight: 300; line-height: 1.2; }
.account-dropdown-logout { border: 0; padding: 0; color: #999; background: transparent; font-size: 21px; font-weight: 300; line-height: 1; }
.account-dropdown-links { display: grid; gap: 0; padding: 20px 0 18px; }
.account-dropdown-links a { display: block; padding: 0 22px; color: #444; font-size: 13px; font-weight: 300; line-height: 2.45; }
.account-dropdown-links a:hover { color: var(--orange-dark); background: #fafafa; }
.account-dropdown-guest { padding: 22px; }
.account-dropdown-guest-title { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.account-dropdown-guest-text { margin: 0 0 18px; color: #8d8d8d; font-size: 12px; font-weight: 300; line-height: 1.35; }
.account-dropdown-actions { display: grid; gap: 8px; }
.account-dropdown-actions button { width: 100%; min-height: 34px; border-radius: 4px; padding: 7px 12px; font-size: 12px; font-weight: 500; }
.account-login-button { border: 0; color: #fff; background: var(--orange); }
.account-register-button { border: 1px solid var(--orange); color: #111; background: #fff; }
.account-dropdown-actions button:hover { background: var(--orange-dark); color: #fff; }
.account-dropdown-guest[hidden], .account-dropdown-user[hidden] { display: none; }

.gallery-section { overflow: hidden; padding: 4px 0 0; background: var(--page); }
.gallery-section h1 { margin: 0; padding: 0 20px 90px; text-align: center; font-size: 42px; font-weight: 600; line-height: 1.23; }
.gallery-window { position: relative; display: grid; grid-template-columns: 467px 956px 467px; align-items: center; gap: 111px; width: 2112px; margin-left: 50%; transform: translateX(-50%); touch-action: pan-y; }
.gallery-side, .gallery-center { height: 611px; overflow: hidden; border-radius: 30px; background: #e1e1e1; }
.gallery-side { opacity: .38; }
.gallery-side img, .gallery-center img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-center { box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.gallery-arrow { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; padding: 0 0 5px; color: #111; background: rgba(232, 232, 232, 1); font-family: Arial, sans-serif; font-size: 38px; font-weight: 300; line-height: 1; transform: translateY(-50%); }
.gallery-arrow:hover { background: #d0d0d0; }
.gallery-arrow-left { left: calc(50% - 533px); }
.gallery-arrow-right { right: calc(50% - 533px); }
.gallery-dots { display: flex; justify-content: center; gap: 11px; padding: 28px 0 28px; }
.gallery-dot { width: 9px; height: 9px; border: 0; border-radius: 50%; padding: 0; background: #c9c9c9; }
.gallery-dot.is-active { background: #111; }

.catalog-section { width: min(1290px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 68px; }
.category-slider { position: relative; }
.home-category-slider { margin-bottom: 86px; }
.category-row { display: flex; gap: 10px; overflow-x: auto; padding: 0; cursor: grab; overscroll-behavior-inline: contain; scroll-behavior: smooth; scrollbar-width: none; touch-action: pan-x; }
.category-row.is-dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }
.category-row::-webkit-scrollbar { display: none; }
.category-scroll-button { position: absolute; z-index: 4; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; padding: 0 0 3px; color: #111; background: rgba(255, 255, 255, .96); box-shadow: 0 2px 10px rgba(0, 0, 0, .18); font-family: Arial, sans-serif; font-size: 28px; line-height: 1; opacity: 0; pointer-events: none; transform: translateY(-50%); transition: opacity .18s, background-color .18s; }
.category-scroll-button:hover { background: #eee; }
.category-scroll-left { left: 0; }
.category-scroll-right { right: 0; }
.category-slider:hover .category-scroll-button.can-scroll,
.category-slider:focus-within .category-scroll-button.can-scroll { opacity: 1; pointer-events: auto; }
.category-button { flex: 0 0 auto; border: 0; border-radius: 999px; padding: 12px 16px; color: #111; background: #d2d2d2; font-size: 30px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.category-button:hover, .category-button.is-active { background: #bdbdbd; }
.home-category-slider .category-button { padding: 17px 18px; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.catalog-empty { grid-column: 1 / -1; margin: 40px 0; text-align: center; font-size: 20px; font-weight: 300; }
.product-card { position: relative; overflow: hidden; border-radius: 10px; background: var(--card); box-shadow: 0 2px 3px rgba(0, 11, 48, .25); transition: background-color .2s, box-shadow .2s; }
.product-card:hover { background: #b4b4b4; box-shadow: 0 5px 15px -2px rgba(0, 0, 0, .07); }
.product-image-wrap { position: relative; height: 0; overflow: hidden; padding-bottom: 133%; background: #bbb; }
.product-image-wrap > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hit-mark { position: absolute; top: 11px; left: 11px; display: grid; place-items: center; min-width: 50px; height: 50px; padding: 0 8px; border-radius: 50%; color: #fff; background: #ff604c; font-size: 12px; }
.favorite-button { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 49px; height: 49px; border: 0; border-radius: 50%; color: #111; background: #fff; font-size: 31px; line-height: 1; }
.favorite-button.is-favorite { color: #e33; }
.product-info { padding: 6px 15px; }
.product-title { min-height: 19px; margin: 0; font-size: 16px; font-weight: 600; line-height: 1.2; }
.price-line { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 15px; }
.price { font-size: 16px; font-weight: 600; }
.old-price { color: #b8b8b8; font-size: 14px; text-decoration: line-through; }
.card-buy { display: inline-flex; align-items: center; justify-content: center; gap: 1ch; height: unset; border: 0; border-radius: 12px; padding: calc((35px - 1em * 1.4) / 2) 15px; color: #fff; background: var(--orange); font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.card-buy:hover { background: var(--orange-dark); }
.card-buy span { flex: 0 0 auto; }
.mini-cart-icon { display: block; width: 1.4em; height: 1.4em; flex: 0 0 auto; object-fit: contain; }
.catalog-section .product-info { padding: 10px 15px 14px; }
.catalog-section .price-line { margin: 18px 0 20px; }
.catalog-section .card-buy { padding-left: 24px; padding-right: 24px; }
.load-more, .all-products { display: block; margin: 56px auto 0; border: 0; border-radius: 5px; padding: 12px 18px; color: #fff; background: var(--orange); font-size: 14px; font-weight: 600; text-align: center; }
.all-products { width: 180px; margin-top: 32px; padding: 18px 12px; }

.custom-design { min-height: 580px; padding: 118px 20px 92px; text-align: center; background: var(--page); }
.custom-design h2 { margin: 0 0 30px; font-size: 53px; font-weight: 600; line-height: 1.17; }
.custom-design p { margin: 0 0 76px; font-size: 26px; line-height: 1.45; }
.custom-buttons { position: relative; display: flex; justify-content: center; gap: 20px; }
.custom-buttons .orange-button { min-width: 220px; }
.custom-buttons .outline-button { min-width: 245px; }
.cta-arrow { position: absolute; top: -30px; right: calc(50% + 255px); width: 42px; height: 76px; fill: #ffe100; }
.orange-button, .outline-button { display: inline-flex; align-items: center; justify-content: center; min-height: 68px; border-radius: 999px; padding: 0 70px; font-size: 16px; font-weight: 600; transition: background .2s, transform .2s; }
.orange-button { border: 0; color: #fff; background: var(--orange); }
.outline-button { border: 3px solid var(--orange); color: #111; background: transparent; }
.outline-button:hover { color: #fff; background: var(--orange); }
.mission-section { width: min(880px, calc(100% - 40px)); margin: 0 auto; padding: 35px 0 15px; text-align: center; }
.mission-section h2 { margin: 0 0 35px; font-size: 26px; font-weight: 700; line-height: 1.23; }
.mission-section p { margin: 0; font-size: 26px; font-weight: 300; line-height: 1.45; }
.contacts-section { width: min(880px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 14px; text-align: center; }
.contacts-section h2 { margin: 0 auto 45px; font-size: 48px; font-weight: 600; line-height: 1.23; }
.contacts-section > p { margin: 0 auto; font-size: 26px; font-weight: 300; line-height: 1.45; }
.social-links { display: flex; justify-content: center; gap: 8px; margin: 30px 0 0; }
.social-links a { display: grid; place-items: center; width: 30px; height: 30px; color: #000; }
.social-links svg { display: block; width: 30px; height: 30px; fill: currentColor; }
.social-links a:hover { color: var(--orange-dark); }
.contact-details-band { width: 100%; padding: 5px 20px 0; background: #fff; }
.contact-columns { display: grid; grid-template-columns: repeat(2, 620px); justify-content: center; gap: 40px; width: min(1280px, 100%); margin: 0 auto; text-align: left; }
.contact-columns h3 { margin: 0 0 14px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.contact-columns p { margin: 0; color: #777; font-size: 20px; font-weight: 300; line-height: 1.55; }
.store-footer { width: min(880px, calc(100% - 40px)); margin: 19px auto 0; padding: 0 0 14px; text-align: center; color: #689dd3; font-size: 16px; font-weight: 300; line-height: 1.55; }
.store-footer a:hover { color: var(--orange-dark); }

.shared-cart-overlay { position: fixed; z-index: 1000; inset: 0; background: rgba(0, 0, 0, .16); }
.shared-cart-overlay[hidden] { display: none; }
.shared-cart-drawer { position: absolute; top: 0; right: 0; display: flex; width: min(560px, 100%); height: 100%; flex-direction: column; overflow: hidden; color: #111; background: #fff; box-shadow: -5px 0 18px rgba(0, 0, 0, .12); }
.shared-cart-head { position: relative; flex: 0 0 auto; margin: 0 40px; padding: 41px 0 23px; border-bottom: 1px solid #d4d4d4; }
.shared-cart-head h2 { margin: 0; font-size: 23px; font-weight: 600; line-height: 1.25; }
.shared-cart-close { position: absolute; top: 18px; right: -10px; width: 46px; height: 46px; border: 0; padding: 0; color: #111; background: transparent; font-family: Arial, sans-serif; font-size: 46px; font-weight: 200; line-height: 1; cursor: pointer; }
.shared-cart-content { min-height: 0; flex: 1 1 auto; overflow-y: auto; padding: 35px 40px 25px; }
.shared-cart-empty { margin: 18px 0; color: #777; font-size: 16px; font-weight: 300; }
.shared-cart-items { display: grid; gap: 0; }
.shared-cart-item { display: grid; grid-template-columns: 72px minmax(100px, 1fr) auto auto 24px; align-items: center; gap: 18px; min-height: 106px; padding: 0 0 33px; }
.shared-cart-item-image { width: 72px; height: 72px; overflow: hidden; border-radius: 5px; background: #f2f2f2; }
.shared-cart-item-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shared-cart-item-name { margin: 0 0 5px; font-size: 16px; font-weight: 600; line-height: 1.25; }
.shared-cart-item-sku { margin: 0; color: #777; font-size: 11px; font-weight: 300; line-height: 1.25; }
.shared-cart-quantity { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.shared-cart-quantity button, .shared-cart-remove { display: grid; place-items: center; width: 19px; height: 19px; border: 1px solid #cfcfcf; border-radius: 50%; padding: 0; color: #aaa; background: #fff; font-family: Arial, sans-serif; font-size: 15px; font-weight: 300; line-height: 1; cursor: pointer; }
.shared-cart-remove { font-size: 19px; }
.shared-cart-item-price { min-width: 76px; font-size: 14px; text-align: right; white-space: nowrap; }
.shared-cart-summary { display: flex; justify-content: flex-end; margin-top: 0; padding: 17px 0 49px; border-top: 1px solid #d4d4d4; font-size: 14px; font-weight: 600; }
.shared-cart-checkout { width: 100%; min-height: 61px; border: 0; padding: 17px 25px; color: #fff; background: #000; font-size: 15px; font-weight: 600; cursor: pointer; }
.shared-cart-checkout:hover { background: #222; }
body.shared-cart-open { overflow: hidden; }

.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .48); }
.modal-backdrop[hidden] { display: none; }
.modal { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 34px; border-radius: 14px; background: var(--page); box-shadow: 0 15px 60px rgba(0, 0, 0, .25); }
.modal h2 { margin: 0 0 25px; font-size: 34px; }
.modal-close { position: absolute; top: 10px; right: 16px; border: 0; padding: 0; background: transparent; font-size: 34px; }
.cart-items { display: grid; gap: 10px; margin: 10px 0 20px; }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #d5d5d5; font-size: 14px; }
.cart-row button { border: 0; color: #888; background: transparent; font-size: 12px; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 18px; font-size: 18px; }
.full-width { width: 100%; }
form { display: grid; gap: 13px; }
label { display: grid; gap: 6px; color: #555; font-size: 13px; }
input, textarea { width: 100%; border: 1px solid #cfcfcf; border-radius: 7px; padding: 12px; outline: 0; background: #fff; }
input:focus, textarea:focus { border-color: var(--orange); }
.form-status { min-height: 20px; margin: 0; color: #777; font-size: 13px; }
.account-modal { text-align: center; }
.account-avatar { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.cookie-banner { position: fixed; z-index: 50; right: 20px; bottom: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 13px 18px; max-width: 600px; padding: 13px 16px; border-radius: 5px; color: #555; background: #ebebeb; box-shadow: 0 2px 8px rgba(0, 0, 0, .13); font-size: 13px; line-height: 1.4; }
.cookie-banner[hidden] { display: none; }
.cookie-actions { display: flex; align-items: center; gap: 13px; white-space: nowrap; }
.cookie-actions a:hover { color: var(--orange-dark); }
.cookie-banner button { border: 1px solid #999; border-radius: 5px; padding: 8px 12px; color: #555; background: transparent; font-size: 12px; }

.auth-overlay { position: fixed; z-index: 1200; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 24px; background: rgba(0, 0, 0, .5); }
.auth-overlay[hidden] { display: none; }
.auth-dialog { position: relative; width: min(532px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; border-radius: 14px; padding: 62px 38px 54px; background: #fff; box-shadow: 0 18px 70px rgba(0, 0, 0, .2); text-align: center; }
.auth-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border: 0; padding: 0; color: #777; background: transparent; font-family: Arial, sans-serif; font-size: 39px; font-weight: 200; line-height: 1; }
.auth-logo { width: 152px; margin: 0 auto 52px; }
.auth-logo img { display: block; width: 100%; height: auto; }
.auth-dialog h2 { margin: 0 0 46px; font-size: 31px; font-weight: 600; line-height: 1.2; }
.auth-form { display: grid; gap: 30px; text-align: left; }
.auth-form label { gap: 9px; color: #777; font-size: 16px; font-weight: 300; line-height: 1.3; }
.auth-form label[hidden] { display: none; }
.auth-form input { height: 65px; border: 1px solid #d4d4d4; border-radius: 5px; padding: 0 16px; color: #111; background: #fff; font-size: 17px; font-weight: 300; }
.auth-form input::placeholder { color: #c9c9c9; }
.auth-form input:focus { border-color: #777; box-shadow: 0 0 0 1px #777; }
.auth-status { min-height: 19px; margin: -13px 0 -12px; color: #777; font-size: 13px; line-height: 1.4; text-align: center; }
.auth-status[data-kind="error"] { color: #b3261e; }
.auth-status[data-kind="success"] { color: #287d3c; }
.auth-submit { justify-self: center; width: min(224px, 100%); min-height: 57px; border: 0; border-radius: 999px; padding: 13px 24px; color: #fff; background: #171717; font-size: 17px; font-weight: 400; }
.auth-submit:hover { background: #333; }
.auth-submit:disabled { cursor: wait; opacity: .65; }
.auth-links { display: flex; justify-content: center; gap: 28px; margin-top: 45px; }
.auth-links button { border: 0; padding: 0; color: #777; background: transparent; font-size: 16px; font-weight: 300; line-height: 1.35; }
.auth-links button:hover { color: #111; }
body.auth-modal-open { overflow: hidden; }

@media (max-width: 1100px) {
  .account-float { right: 22px; }
  .category-button { font-size: 20px; }
  .contact-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shared-cart-head { margin: 0 20px; padding-top: 31px; }
  .shared-cart-content { padding: 25px 20px 20px; }
  .shared-cart-item { grid-template-columns: 60px minmax(80px, 1fr) 24px; gap: 11px; padding-bottom: 28px; }
  .shared-cart-item-image { width: 60px; height: 60px; }
  .shared-cart-quantity { grid-column: 2; justify-content: flex-start; }
  .shared-cart-item-price { grid-column: 2; min-width: 0; text-align: left; }
  .shared-cart-remove { grid-column: 3; grid-row: 1; }
  .shared-cart-summary { padding-bottom: 30px; }
  .store-header { padding: 8px 0 14px; }
  .header-main { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: 82px 52px; gap: 8px 10px; width: calc(100% - 24px); min-height: 142px; }
  .brand-logo { grid-column: 1; grid-row: 1; width: 64px; margin: 0; }
  .brand-logo img { width: 64px; max-width: 64px; height: 64px; }
  .shop-button { grid-column: 1; grid-row: 2; width: 64px; height: 52px; min-height: 52px; padding: 0; }
  .shop-button-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .search-form { grid-column: 2; grid-row: 2; display: flex; height: 52px; }
  .search-form input { height: 52px; border-radius: 5px; padding: 0 18px; font-size: 16px; }
  .search-form button { display: none; }
  .header-icons { grid-column: 2; grid-row: 1; justify-content: flex-end; align-self: center; gap: 0; min-width: 0; margin: 0; }
  .header-icons button { width: 44px; height: 48px; padding: 8px; }
  .header-icons svg { width: 28px; height: 28px; }
  .header-icons .mobile-menu-button { display: grid; }
  .store-nav { display: none; width: 100%; margin: 10px 0 -14px; padding: 8px 20px 18px; background: #fff; font-size: 15px; line-height: 1.35; }
  .store-header.menu-open .store-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .store-nav a, .store-nav a:first-child, .store-nav a:last-child { padding: 11px 8px; white-space: normal; }
  .account-float { display: none; }
  .gallery-section { padding-top: 10px; }
  .gallery-section h1 { padding: 0 18px 35px; font-size: 29px; line-height: 1.25; }
  .gallery-window { grid-template-columns: 1fr; min-width: 0; width: 100%; margin: 0; transform: none; padding: 0; }
  .gallery-side { display: none; }
  .gallery-center { width: 100%; height: auto; aspect-ratio: 956 / 611; border-radius: 0 0 30px 30px; }
  .gallery-arrow { width: 42px; height: 42px; font-size: 32px; }
  .gallery-arrow-left { left: 8px; }
  .gallery-arrow-right { right: 8px; }
  .gallery-dots { gap: 10px; padding: 26px 12px 25px; }
  .catalog-section { width: calc(100% - 40px); }
  .home-category-slider { margin-bottom: 35px; }
  .category-button { padding: 10px 14px; font-size: 17px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-card { display: flex; min-width: 0; flex-direction: column; }
  .product-info { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: column; padding: 9px 10px 12px; }
  .product-title { font-size: 14px; }
  .price-line { flex-wrap: wrap; margin: 13px 0 14px; }
  .card-buy, .catalog-section .card-buy { width: 100%; min-width: 0; min-height: 50px; margin-top: auto; padding: 7px 5px; gap: 7px; border-radius: 11px; font-size: 11px; line-height: 1.3; text-align: center; white-space: normal; }
  .mini-cart-icon { width: 18px; height: 18px; }
  .hit-mark { top: 8px; left: 8px; min-width: 44px; height: 44px; font-size: 11px; }
  .favorite-button { top: 8px; right: 8px; width: 48px; height: 48px; font-size: 30px; }
  .custom-design { min-height: 390px; padding: 70px 20px; }
  .custom-design h2 { font-size: 30px; }
  .custom-design p { margin-bottom: 48px; font-size: 20px; }
  .custom-buttons, .contact-columns { grid-template-columns: 1fr; display: grid; gap: 12px; }
  .cta-arrow { display: none; }
  .orange-button, .outline-button { width: 100%; padding: 0 20px; }
  .mission-section p, .contacts-section > p { font-size: 19px; }
  .contacts-section h2 { font-size: 38px; }
  .contact-columns { text-align: center; }
  .cookie-banner { right: 12px; bottom: 12px; left: 12px; grid-template-columns: 1fr; gap: 9px; max-width: none; padding: 11px 13px; font-size: 12px; }
  .cookie-actions { justify-content: space-between; gap: 14px; }
  .cookie-banner button { padding: 7px 12px; }
  .auth-overlay { align-items: center; padding: 16px; }
  .auth-dialog { max-height: calc(100vh - 32px); padding: 54px 38px 46px; }
  .auth-logo { width: 142px; margin-bottom: 48px; }
  .auth-dialog h2 { margin-bottom: 45px; font-size: 29px; }
  .auth-form { gap: 28px; }
  .auth-form input { height: 64px; }
  .auth-links { justify-content: space-between; gap: 16px; margin-top: 44px; }
  .auth-links button { font-size: 15px; }
}

@media (max-width: 380px) {
  .header-main { grid-template-columns: 58px minmax(0, 1fr); column-gap: 6px; width: calc(100% - 16px); }
  .brand-logo, .brand-logo img { width: 58px; max-width: 58px; }
  .shop-button { width: 58px; }
  .header-icons button { width: 40px; padding: 7px; }
  .header-icons svg { width: 26px; height: 26px; }
  .catalog-section { width: calc(100% - 24px); }
  .product-info { padding-right: 8px; padding-left: 8px; }
  .card-buy, .catalog-section .card-buy { font-size: 10px; }
  .auth-overlay { padding: 10px; }
  .auth-dialog { max-height: calc(100vh - 20px); padding: 48px 26px 38px; }
  .auth-close { top: 10px; right: 10px; }
  .auth-logo { width: 126px; margin-bottom: 38px; }
  .auth-dialog h2 { margin-bottom: 34px; font-size: 27px; }
  .auth-form { gap: 22px; }
  .auth-form label { font-size: 15px; }
  .auth-form input { height: 58px; font-size: 16px; }
  .auth-links { flex-direction: column; gap: 13px; margin-top: 34px; }
}
