/* VOLTAR: a calm, tactile storefront built around product photography. */
:root { --store-border: #303033; --store-highlight: #f4f4f5; --store-muted: #b1b1b8; --store-ease: cubic-bezier(.22,1,.36,1); }
html { scrollbar-gutter: stable; }
body { -webkit-font-smoothing: antialiased; }
body.dialog-open { position: fixed; width: 100%; overflow: hidden; }
button, a, input, textarea, select { touch-action: manipulation; }
a:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid white; outline-offset: 4px; }
button:disabled { cursor: default; }
.topline { min-height: 46px; margin-bottom: 24px; }
.brand-word { color: #fff; }
.home-banner { border-color: #45454a; box-shadow: 0 12px 48px #0005; }
.screen-heading { text-wrap: balance; }
.product-grid { align-items: stretch; gap: 16px 11px; }
.product-card { display: flex; flex-direction: column; border: 1px solid #45454a; border-radius: 20px; background: linear-gradient(180deg, #262629 0%, #1b1b1e 54%, #121214 100%); box-shadow: 0 8px 26px #0005; }
.product-card .card-open { flex: 1; display: flex; flex-direction: column; width: 100%; }
.product-card .product-photo { width: 100%; aspect-ratio: 1 / 1.08; background: radial-gradient(circle at 50% 40%, #303034, #101012 72%); }
.product-card .product-photo img { object-fit: contain; }
.product-card .product-photo::after { position: absolute; inset: auto 0 0; height: 27%; content: ''; background: linear-gradient(transparent, #09090ba6); pointer-events: none; }
.card-order-badge { position: absolute; z-index: 2; left: 10px; bottom: 10px; padding: 5px 7px; border-radius: 6px; color: #fff; background: #188b60; box-shadow: 0 2px 9px #0006; font: 800 9px/1.1 Manrope,sans-serif; letter-spacing: .03em; text-transform: uppercase; }
.product-card .video-pill { top: 10px; right: 10px; bottom: auto; left: auto; z-index: 2; }
.photo-card .product-info { flex: 1; display: flex; flex-direction: column; width: 100%; min-height: 118px; padding: 14px 13px 15px; }
.photo-card .product-name { min-height: 0; margin-bottom: 9px; color: #f6f6f7; font: 650 13px/1.4 Manrope,sans-serif; text-wrap: pretty; }
.product-card .price-row { margin-top: 0; min-height: 27px; align-items: baseline; }
.product-card .price { color: #fff; font: 800 clamp(16px, 4.6vw, 20px)/1.25 Manrope,sans-serif; font-variant-numeric: tabular-nums; }
.product-card .price-request { color: #dadade; font-size: 12px; }
.card-meta { display: flex; align-items: center; gap: 6px; min-height: 22px; margin-top: auto; padding-top: 8px; padding-right: 94px; color: #a3a3ab; }
.product-card.in-cart .card-meta { padding-right: 110px; }
.card-meta .product-category { min-width: 0; margin: 0; overflow: hidden; font: 700 9px/1.3 Manrope,sans-serif; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; }
.card-brand { flex-shrink: 0; margin-left: auto; font: 700 8px/1.3 Manrope,sans-serif; letter-spacing: .1em; }
.product-action { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 0; }
.card-add, .card-details { display: grid; width: 88px; height: 44px; min-height: 44px; place-items: center; padding: 0 5px; border: 1px solid #ffffffbc; border-radius: 12px; color: #171719; background: #f5f5f6; box-shadow: 0 3px 15px #0007; font: 800 11px/1.2 Manrope,sans-serif; white-space: nowrap; }
.card-details { color: #171719; }
.card-quantity { display: grid; grid-template-columns: 40px 24px 40px; width: 104px; height: 44px; overflow: hidden; border: 1px solid #ffffffbc; border-radius: 12px; color: #171719; background: #f5f5f6; box-shadow: 0 3px 15px #0007; animation: card-quantity-in .22s var(--store-ease) both; }
.card-quantity button { display: grid; width: 40px; height: 42px; min-height: 42px; place-items: center; padding: 0; border: 0; color: inherit; background: transparent; font: 500 22px/1 Manrope,sans-serif; }
.card-quantity button:disabled { color: #a1a1a8; }
.card-quantity button:focus-visible { outline: 2px solid #171719; outline-offset: -3px; }
.card-quantity-value { display: grid; place-items: center; font: 800 11px/1 Manrope,sans-serif; font-variant-numeric: tabular-nums; }
@keyframes card-quantity-in { from { opacity: .65; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
.favorite { top: 10px; left: 10px; right: auto; width: 32px; height: 32px; border-radius: 10px; background: #f4f4f5e8; box-shadow: 0 3px 16px #0004; }
.catalog-intro { border-bottom: 0; padding-bottom: 0; }
.catalog-intro p { color: var(--store-muted); }
.catalog-toolbar { border-bottom: 0; }
.catalog-filters input { font-size: 16px; }
.catalog-quick-categories button small, .filter-option small { font-size: 10px; font-weight: 700; opacity: .62; }
.catalog-quick-categories button.is-empty { color: #85858b; border-style: dashed; }
.filter-option span { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; }
.filter-option.is-unavailable { opacity: .48; cursor: default; }
.filter-option.is-unavailable span { border-style: dashed; }
.color-swatch { flex: 0 0 15px; width: 15px; height: 15px; border: 1px solid #ffffff73; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px #0004; }
.facet-select { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #55555c; border-radius: 12px; color: #f5f5f7; background: #26262a; font: 600 14px Manrope, sans-serif; }
.facet-hint { margin: 9px 0 0; color: #a9a9b0; font-size: 11px; line-height: 1.5; }
@media (max-width: 620px) { .catalog-filters .filter-actions { position: sticky; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 2; margin: 0 -20px -20px; padding: 14px 20px 18px; border-top: 1px solid #ffffff20; border-radius: 0 0 14px 14px; background: #171719f2; backdrop-filter: blur(16px); } }
.empty { grid-column: 1 / -1; padding: 36px 20px; border: 1px solid var(--store-border); border-radius: 20px; text-align: center; background: #151517; }
.empty strong, .empty h2 { display: block; margin: 0 0 12px; color: #fff; font: 700 20px/1.4 Manrope, sans-serif; }
.empty p { max-width: 34ch; margin: 0 auto 22px; color: var(--store-muted); font-size: 13px; line-height: 1.7; }
.empty .full-button { max-width: 280px; margin: auto; }
.empty-symbol { display: grid; width: 72px; height: 72px; place-items: center; margin: 0 auto 24px; border: 1px solid #49494d; border-radius: 22px; background: linear-gradient(145deg,#333338,#161618); }
.empty-symbol .icon { width: 30px; height: 30px; }
.cart-product { border-radius: 20px; border-color: var(--store-border); background: #161618; }
.cart-product-photo { border-radius: 12px; }
.cart-quantity button, .cart-remove { min-width: 44px; min-height: 44px; }
.summary { padding: 22px; background: #f4f4f5; border-radius: 20px; }
.summary-caption { margin: 0 0 20px; color: #57575e; font-size: 12px; }
.summary-row { align-items: baseline; gap: 15px; font-size: 18px; }
.summary-row > span:last-child { font-size: 23px; white-space: nowrap; }
.summary-note { margin: 10px 0 20px; color: #55555b; font-size: 12px; line-height: 1.6; }
.summary-footnote { display: block; margin-top: 12px; color: #55555b; text-align: center; font-size: 10px; }
.checkout { min-height: 50px; margin-top: 0; border-radius: 12px; }
.modal-backdrop { padding: 10px; z-index: 20; overscroll-behavior: contain; }
.modal { width: min(100%, 560px); max-height: min(92vh, 92dvh); padding: 22px; border-color: #45454b; border-radius: 26px; background: #171719; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #555 transparent; }
.modal::-webkit-scrollbar { display: block; width: 4px; }
.modal-top { gap: 16px; margin-bottom: 20px; }
.modal h2 { max-width: 420px; font-size: clamp(18px, 4.8vw, 24px); line-height: 1.3; }
.modal-close { position: sticky; top: 0; z-index: 2; width: 44px; height: 44px; flex-basis: 44px; background: #303034; }
.modal .detail-copy { color: #c3c3c8; font-size: 13px; line-height: 1.75; }
.modal .detail-price { margin-bottom: 16px; }
.modal .product-features { padding: 6px 0; }
.media-stage { border-radius: 17px; overflow: hidden; }
.media-thumbnails { scroll-snap-type: x proximity; }
.media-thumbnails button { scroll-snap-align: center; border-radius: 10px; }
.product-purchase-bar { position: sticky; bottom: -22px; z-index: 2; margin: 24px -22px -22px; padding: 14px 22px max(16px, env(safe-area-inset-bottom)); background: #171719f5; backdrop-filter: blur(16px); border-top: 1px solid #35353a; }
.product-purchase-bar .full-button { margin: 0; min-height: 50px; }
.delivery-form input, .delivery-form textarea { font-size: 16px; border-radius: 12px; }
.checkout-overview { padding: 18px; border: 1px solid #3a3a40; border-radius: 16px; background: #202023; }
.checkout-overview > div { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 12px; line-height: 1.6; }
.checkout-overview strong { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.checkout-overview .checkout-total { padding-top: 14px; border-top: 1px solid #45454a; font-size: 15px; }
.bottom-nav {
  isolation: isolate;
  border: 1px solid #ffffff45;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff28 0%, #ffffff08 46%, #ffffff14 100%), #11131878;
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  box-shadow: inset 0 1px 0 #ffffff62, inset 0 -1px 0 #ffffff10, 0 16px 40px #0008;
}
.bottom-nav::before {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(170deg, #ffffff18, transparent 48%);
  pointer-events: none;
}
.nav-item { min-height: 48px; border: 1px solid transparent; color: #e4e5eac9; text-shadow: 0 1px 5px #0009; }
.nav-item.active {
  color: #fff;
  border-color: #ffffff4d;
  background: linear-gradient(135deg, #ffffff42, #ffffff12), #292c3480;
  box-shadow: inset 0 1px 0 #ffffff6b, 0 3px 12px #0004;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bottom-nav { background: #24262aee; }
}
@media (prefers-reduced-transparency: reduce) {
  .bottom-nav { background: #24262aee; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.store-toast { position: fixed; z-index: 30; left: 50%; bottom: calc(102px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; width: max-content; max-width: calc(100% - 32px); padding: 12px 14px 12px 18px; border: 1px solid #67676d; border-radius: 15px; background: #f4f4f5; color: #171719; box-shadow: 0 10px 35px #0008; transform: translateX(-50%); animation: toast-enter .25s var(--store-ease); font-size: 12px; font-weight: 600; }
.store-toast button { flex-shrink: 0; min-height: 42px; border: 0; border-radius: 9px; padding: 8px 12px; background: #171719; color: #fff; font-size: 11px; font-weight: 800; }
@keyframes toast-enter { from { opacity: 0; margin-bottom: -12px; } to { opacity: 1; margin-bottom: 0; } }
.profile-hub-identity { border: 1px solid #3c3c42; background: linear-gradient(135deg,#26262b,#141416); }
.profile-hub-link { border-color: var(--store-border); background: #171719; }
.profile-hub-icon { border-radius: 13px; }
@media (hover: hover) and (pointer: fine) {
  .product-card { transition: border-color .22s, box-shadow .22s, transform .3s var(--store-ease); }
  .product-card:hover { border-color: #72727a; box-shadow: 0 14px 30px #0004; transform: translateY(-3px); }
  .card-add:hover, .card-details:hover { background: #f4f4f5; color: #111; }
  .profile-hub-link:hover { border-color: #74747e; background: #222226; }
}
@media (min-width: 850px) {
  .app-shell { max-width: 1060px; padding-inline: 32px; padding-top: 32px; }
  .topline { margin-bottom: 32px; }
  .home-banner { max-width: 680px; margin-inline: auto; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .photo-card .product-info { padding: 17px 15px 16px; }
  .product-action { right: 12px; bottom: 12px; }
  .cart-products, .summary, .empty-cart { max-width: 680px; margin-inline: auto; }
  .modal-backdrop { align-items: center; }
  .search-wrap { max-width: 680px; }
}
@media (max-width: 360px) {
  .product-action { right: 8px; bottom: 8px; }
  .card-add, .card-details { width: 82px; }
  .card-meta { padding-right: 87px; }
  .product-card.in-cart .card-meta { padding-right: 105px; }
  .modal { padding: 18px; }
  .product-purchase-bar { bottom: -18px; margin-inline: -18px; margin-bottom: -18px; padding-inline: 18px; }
  .checkout-overview { padding: 12px; }
  .checkout-overview > div { gap: 8px; font-size: 11px; }
}
@media (max-width: 620px) { .card-brand { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .store-toast { animation: none; }
  .product-card:hover { transform: none; }
  .card-quantity { animation: none; }
}

/* Account hub: one balance entry and four compact purchase destinations. */
.profile-dashboard { display: grid; gap: 24px; }
.profile-overview { min-width: 0; }
.profile-hub-identity { gap: 12px; margin: 0 0 12px; padding: 22px; border-radius: 20px; }
.profile-hub-identity h2 { max-width: 22ch; font: 700 20px/1.35 Manrope, sans-serif; letter-spacing: -.02em; }
.profile-hub-kicker { display: flex; align-items: center; gap: 7px; font-size: 9px; letter-spacing: .1em; }
.account-state-dot { width: 6px; height: 6px; border-radius: 50%; border: 1px solid #a4a4ad; }
.account-state-dot.is-linked { background: #f4f4f5; border-color: #f4f4f5; box-shadow: 0 0 0 3px #ffffff12; }
.profile-hub-identity p { font-size: 12px; line-height: 1.7; }
.profile-hub-identity .outline-button { margin: 0; width: 100%; text-align: center; background: #ffffff08; }
.profile-overview .wallet-preview { margin: 0; min-height: 76px; border-radius: 18px; }
.wallet-preview > span { font-size: 13px; font-weight: 700; }
.profile-hub-groups { margin: 0; gap: 22px; }
.profile-hub-group h2 { margin-bottom: 12px; font-size: 10px; }
.profile-hub-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.profile-hub-link { position: relative; min-height: 138px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 17px; border-radius: 17px; }
.profile-hub-icon { flex-basis: 36px; width: 36px; height: 36px; border: 1px solid #4e4e54; border-radius: 10px; background: #2b2b30; color: #f5f5f7; }
.profile-hub-icon svg { width: 19px; height: 19px; }
.profile-hub-copy { gap: 5px; }
.profile-hub-copy strong { font-size: 14px; }
.profile-hub-copy small { font-size: 10px; line-height: 1.5; }
.profile-hub-count { position: absolute; right: 15px; top: 18px; min-width: 23px; padding: 5px; color: #eee; border-radius: 7px; background: #ffffff12; text-align: center; font-size: 11px; }
.profile-hub-link:only-child { grid-column: 1 / -1; min-height: 76px; flex-direction: row; align-items: center; justify-content: flex-start; }
.profile-hub-back, .app-shell > .text-button[data-screen="profile"] { display: inline-flex; align-items: center; min-height: 40px; margin: 0 0 16px; padding: 8px 13px; border: 1px solid #3b3b40; border-radius: 10px; background: #171719; color: #c5c5cb; font-size: 11px; text-decoration: none; }
.profile-hub-credit { margin-top: 26px; font-size: 10px; }
.wallet-card { padding: 24px; border: 1px solid #3c3c42; border-radius: 22px; background: radial-gradient(ellipse at top right,#313139 0%,#19191d 58%); }
.wallet-amount { margin-block: 26px; letter-spacing: -.02em; }
.wallet-heading h2 { color: #bdbdc5; font-size: 12px; }
.wallet-history summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; list-style: none; cursor: pointer; }
.wallet-history summary::-webkit-details-marker { display: none; }
.wallet-history summary::after { content: '+'; display: grid; place-items: center; width: 24px; height: 24px; color: #c2c2cb; font: 400 20px/1 Manrope, sans-serif; }
.wallet-history[open] summary::after { content: '−'; }
.wallet-actions button { border-radius: 12px; min-height: 48px; }
.telegram-card, .profile-hub-support { padding: 22px; border-radius: 20px; background: #171719; }
.telegram-card .action-stack { align-items: stretch; }
.telegram-card .text-button { min-height: 44px; border: 1px solid #414148; border-radius: 10px; text-decoration: none; background: #ffffff05; }

/* Product details keep the price and action visible together. */
.media-stage { position: relative; }
.media-counter { position: absolute; bottom: 12px; right: 12px; z-index: 1; padding: 6px 10px; border: 1px solid #ffffff2b; border-radius: 8px; color: #fff; background: #111c; backdrop-filter: blur(10px); font: 600 10px/1.3 Manrope, sans-serif; pointer-events: none; }
.product-disclosure { border-bottom: 1px solid #3a3a40; }
.product-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; list-style: none; cursor: pointer; font: 700 13px/1.4 Manrope, sans-serif; }
.product-disclosure summary::-webkit-details-marker { display: none; }
.product-disclosure summary::after { content: '+'; color: #aaaab3; font: 400 20px/1 Manrope, sans-serif; }
.product-disclosure[open] summary::after { content: '−'; }
.product-disclosure .detail-copy { margin-top: 0; margin-bottom: 20px; }
.product-disclosure .product-features { margin-top: 0; }
.product-disclosure summary:focus-visible, .wallet-history summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.product-purchase-bar { display: grid; grid-template-columns: minmax(0,1fr) minmax(120px,1fr); align-items: center; gap: 12px; }
.purchase-price { display: grid; gap: 6px; min-width: 0; }
.purchase-price > span { color: #a6a6af; font: 500 9px/1.3 Manrope,sans-serif; }
.purchase-price strong { color: #fff; font: 800 clamp(15px,4vw,19px)/1.25 Manrope,sans-serif; font-variant-numeric: tabular-nums; }
.product-purchase-bar .full-button { padding: 12px 10px; font-size: 11px; }
.product-reviews.section { margin-top: 25px; }
.product-reviews .section-title { font: 700 15px/1.4 Manrope,sans-serif; letter-spacing: 0; }
.product-offer { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 0 0; border-top: 1px solid #414148; }
.offer-discount { padding: 5px 7px; border-radius: 6px; background: #f4f4f5; color: #111; font: 800 11px/1.2 Manrope,sans-serif; white-space: nowrap; }
.offer-timing { display: grid; gap: 3px; min-width: 0; }
.offer-timing > span { color: #b9b9c0; font: 500 8px/1.3 Manrope,sans-serif; }
.offer-timing time { color: #fff; font: 800 12px/1.3 Manrope,sans-serif; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.product-card .price-row { flex-wrap: wrap; }
.product-card .old-price { color: #b1b1bb; font: 500 11px/1.4 Manrope,sans-serif; }
.offer-detail { flex-wrap: wrap; margin: 20px 0 6px; padding: 16px; border: 1px solid #60606a; border-radius: 13px; background: #25252a; }
.offer-detail .offer-discount { font-size: 16px; padding: 9px; margin-right: 4px; }
.offer-detail .offer-timing > span { font-size: 10px; }
.offer-detail .offer-timing time { font-size: 17px; }
.offer-detail > p { flex-basis: 100%; margin: 5px 0 0; font-size: 11px; line-height: 1.7; color: #c7c7ce; }
.cart-offer-saving { margin: 8px 0 0; color: #d0d0d7; font: 600 10px/1.5 Manrope,sans-serif; }

/* Keep checkout fields aligned across desktop and mobile. */
.checkout-group { display: grid; gap: 10px; min-width: 0; padding: 0; margin: 4px 0 0; border: 0; }
.checkout-group legend { width: 100%; padding: 14px 0; margin-bottom: 4px; border-top: 1px solid #38383e; color: #fff; font: 700 15px/1.4 Manrope,sans-serif; }
.delivery-form { gap: 14px; }
.delivery-form label { gap: 6px; font-size: 11px; }
.payment-options label { border-radius: 12px; }
.cart-product-price { letter-spacing: 0; }

@media (min-width: 850px) {
  .profile-dashboard { grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); align-items: start; gap: 32px; }
  .profile-hub-identity { padding: 26px; }
  .profile-hub-grid { gap: 14px; }
  .profile-hub-link { min-height: 146px; padding: 20px; }
  .cart-layout { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,1fr); gap: 24px; align-items: start; }
  .cart-layout .cart-products { width: 100%; margin: 0; }
  .cart-layout .summary { position: sticky; top: 24px; width: 100%; margin: 0; }
  .app-shell > .wallet-card { max-width: 620px; }
  .profile-hub-support, .telegram-card { max-width: 680px; }
}
@media (max-width: 360px) {
  .profile-hub-link { padding: 14px; min-height: 133px; }
  .profile-hub-copy strong { font-size: 13px; }
  .profile-hub-copy small { font-size: 9px; }
  .purchase-price strong { font-size: 14px; }
  .product-purchase-bar { gap: 9px; }
}

.product-version-note{font-size:11px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;color:var(--muted,#aaa);margin:8px 0}.modal .product-version-note{font-size:13px}
