/* Giatech catalog: load after styles.css. */
/* iPhone trade-in, below the home page hero. */
.trade-in-section { padding: 40px 0 48px; background: #fff; }
.trade-in-panel { display: grid; width: min(1320px, calc(100% - 80px)); grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 40px; align-items: center; padding: 60px 56px; border: 1px solid #e0d5f0; border-radius: 32px; background: linear-gradient(115deg, #faf8ff 0%, #efe8fb 100%); }
.trade-in-copy { min-width: 0; }
.trade-in-copy .eyebrow { color: var(--purple); margin-bottom: 22px; font-size: 13px; font-weight: 700; }
#trade-in-title { font-size: clamp(42px, 3.7vw, 56px); line-height: 1.12; letter-spacing: -.035em; }
#trade-in-title span { color: var(--purple); }
.trade-in-description, .trade-in-note, .trade-in-requirement, .trade-in-device p { font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif; color: var(--secondary-text, #48434f); }
.trade-in-description { max-width: 490px; margin: 24px 0; font-size: 20px; line-height: 1.65; }
.trade-in-requirement { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 28px; padding: 18px; border: 1px solid #ded1f1; border-radius: 16px; background: #ffffffb3; }
.trade-in-requirement > svg { flex: 0 0 28px; width: 28px; height: 28px; margin-top: 2px; color: var(--purple); }
.trade-in-requirement strong { display: block; color: #36204f; font-size: 18px; line-height: 1.5; font-weight: 800; }
.trade-in-requirements-list { display: grid; gap: 5px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 17px; line-height: 1.55; font-weight: 650; }
.trade-in-requirements-list li { position: relative; padding-left: 17px; }
.trade-in-requirements-list li::before { content: ''; position: absolute; left: 0; top: .57em; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); }
.trade-in-video-instructions { margin: 0 0 24px; font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif; color: var(--secondary-text, #48434f); font-size: 16px; line-height: 1.6; }
.trade-in-video-instructions > strong { display: block; margin-bottom: 10px; color: #36204f; font-size: 18px; font-weight: 800; }
.trade-in-video-instructions ol { display: grid; gap: 8px; margin: 0; padding-left: 22px; }
.trade-in-video-instructions li { padding-left: 4px; }
.trade-in-video-instructions li::marker { color: var(--purple); font-weight: 800; }
.trade-in-cta { min-height: 58px; padding-inline: 28px; font-size: 16px; }
.trade-in-note { max-width: 460px; margin: 16px 0 0; font-size: 15px; line-height: 1.65; }
.trade-in-visual { display: grid; grid-template-columns: minmax(0, 1.2fr) 64px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; margin: 0; }
.trade-in-device { grid-row: 1; min-width: 0; text-align: center; }
.trade-in-new { grid-column: 1; }
.trade-in-old { grid-column: 3; }
.trade-in-photo { display: flex; align-items: center; justify-content: center; height: 370px; }
.trade-in-photo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 15px 12px #39205612); }
.trade-in-old .trade-in-photo img { height: 83%; }
.trade-in-device p { margin: 16px 0 0; font-size: 17px; font-weight: 800; line-height: 1.5; }
.trade-in-device p span { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.trade-in-new p { color: var(--purple); }
.trade-in-arrow { grid-column: 2; grid-row: 1; align-self: center; margin-top: -64px; color: var(--purple); }
.trade-in-arrow svg { width: 100%; height: 40px; stroke-width: 3; }
@media (max-width: 1050px) {
  .trade-in-panel { padding: 42px 32px; gap: 28px; }
  .trade-in-visual { grid-template-columns: minmax(0, 1.2fr) 40px minmax(0, 1fr); gap: 3px; }
  .trade-in-photo { height: 310px; }
  .desktop-nav { gap: 22px; }
}
@media (max-width: 980px) {
  .trade-in-panel { grid-template-columns: minmax(0, 1fr); padding: 42px; gap: 32px; }
  #trade-in-title { font-size: clamp(42px, 5.5vw, 52px); }
  .trade-in-description, .trade-in-note { max-width: 100%; }
  .trade-in-visual { width: min(100%, 600px); justify-self: center; }
  .trade-in-photo { height: 330px; }
}
@media (max-width: 800px) {
  .trade-in-panel { width: calc(100% - 40px); }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; }
  .menu-toggle span { width: 20px; height: 1.5px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
}
@media (max-width: 600px) {
  .trade-in-section { padding: 24px 0 32px; }
  .trade-in-panel { padding: 32px 22px; border-radius: 24px; gap: 30px; }
  .trade-in-copy .eyebrow { font-size: 12px; margin-bottom: 20px; }
  #trade-in-title { font-size: clamp(34px, 8.8vw, 42px); line-height: 1.14; }
  .trade-in-description { margin-block: 20px; font-size: 18px; line-height: 1.7; }
  .trade-in-requirement { gap: 9px; padding: 15px 12px; margin-bottom: 24px; }
  .trade-in-requirement > svg { flex-basis: 24px; width: 24px; height: 24px; }
  .trade-in-requirement strong { font-size: 17px; }
  .trade-in-requirements-list { font-size: 16px; gap: 6px; }
  .trade-in-note { font-size: 14px; }
  .trade-in-cta { width: 100%; }
  .trade-in-visual { grid-template-columns: minmax(0, 1.15fr) 34px minmax(0, 1fr); gap: 3px; }
  .trade-in-photo { height: 220px; }
  .trade-in-device p { margin-top: 8px; font-size: 15px; }
  .trade-in-device p span { font-size: 13px; }
  .trade-in-arrow { margin-top: -60px; }
}
@media (max-width: 380px) {
  .trade-in-panel { padding-inline: 18px; }
  #trade-in-title { font-size: 34px; }
  .trade-in-photo { height: 190px; }
}

.hero-phone img { width: min(100%, 520px); max-width: 100%; max-height: 94%; height: auto; object-fit: contain; }
.hero-phone { overflow: visible; }

.catalog-section {
  --catalog-muted: #64616c;
  --catalog-border: #dedbe5;
  --catalog-surface: #f7f6f9;
  color: var(--ink, #202023);
}

.catalog-section .section-heading { margin-bottom: 32px; }
.catalog-section .section-heading > p { font-size: 14px; color: var(--catalog-muted); }
.catalog-section .section-heading .eyebrow { line-height: 1.7; }
.brand-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 25px; }
#brand-filters button { display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 11px 19px; border: 1px solid #ded6e9; border-radius: 999px; background: #fff; color: #38294b; font-size: 13px; font-weight: 700; line-height: 1.45; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
#brand-filters button:hover { background: #f5f0fd; border-color: #bca8dc; }
#brand-filters button[aria-pressed="true"], #brand-filters button.active { border-color: var(--purple, #5630bb); background: var(--purple, #5630bb); color: #fff; }
.catalog-search-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .4fr); gap: 16px; align-items: end; }
.catalog-search { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 18px; border: 1px solid var(--catalog-border); border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.catalog-search > svg { width: 21px; height: 21px; color: var(--purple, #5630bb); }
.catalog-search:focus-within { border-color: var(--purple, #5630bb); box-shadow: 0 0 0 3px #5630bb12; }
.catalog-search input { width: 100%; min-width: 0; min-height: 52px; padding: 12px 0; border: 0; border-radius: 4px; background: transparent; color: var(--ink, #202023); font-size: 16px; line-height: 1.4; }
.catalog-search input::placeholder { color: #76717e; opacity: 1; }
.catalog-sort, .filter-grid > label { display: grid; gap: 8px; min-width: 0; color: #514c5c; font-size: 13px; font-weight: 600; line-height: 1.4; }
.catalog-sort select, .filter-grid select {
  width: 100%; min-width: 0; min-height: 54px; padding: 12px 40px 12px 14px;
  border: 1px solid var(--catalog-border, #dedbe5); border-radius: 12px;
  background-color: #fff; color: var(--ink, #202023); font: inherit; font-size: 16px; font-weight: 400;
  cursor: pointer; accent-color: var(--purple, #5630bb);
}
.advanced-filters { margin-top: 20px; border-bottom: 1px solid var(--catalog-border); }
.advanced-filters > summary { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 48px; padding: 10px 2px; color: #4c445b; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.advanced-filters > summary::-webkit-details-marker { display: none; }
.advanced-filters > summary::after { content: ""; width: 7px; height: 7px; margin: -4px 3px 0 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.advanced-filters[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }
.advanced-filters > summary svg { width: 19px; height: 19px; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 8px 0 24px; }
.catalog-results-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding-block: 12px; color: var(--catalog-muted); font-size: 14px; line-height: 1.5; }
#catalog-count { margin: 0; }
#clear-filters { min-height: 44px; padding: 10px 0 10px 14px; border: 0; border-radius: 5px; color: var(--purple, #5630bb); background: transparent; font-size: 14px; font-weight: 600; text-underline-offset: 4px; }
#clear-filters:hover { text-decoration: underline; }
#clear-filters:disabled { color: #76717e; cursor: default; text-decoration: none; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.catalog-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--catalog-border); border-radius: 18px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.catalog-card:hover { border-color: #bdb0d8; box-shadow: 0 10px 32px #21103708; }
.catalog-card[hidden], #catalog-empty[hidden], .order-count[hidden], .order-feedback[hidden] { display: none; }
.catalog-photo { position: relative; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; width: 100%; height: 320px; min-height: 260px; margin: 0; padding: 48px 32px 24px; border: 0; border-radius: 17px 17px 0 0; background: var(--catalog-surface); overflow: hidden; }
.catalog-photo img { width: 100%; height: 100%; max-height: 250px; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--ease, ease); }
.catalog-photo:hover img { transform: scale(1.035); }
.catalog-photo:focus-visible { outline-offset: -5px; }
.sealed-badge { display: inline-flex; align-items: center; align-self: flex-start; gap: 7px; width: fit-content; max-width: 100%; min-width: 0; margin: 0 0 12px; padding: 7px 10px; border: 1px solid #dfd2f3; border-radius: 8px; background: #f5f0fc; color: #4c269e; font-size: 11px; font-weight: 700; line-height: 1.45; text-align: left; }
.sealed-badge strong { min-width: 0; font-size: inherit; font-weight: 700; line-height: inherit; }
.sealed-badge svg { width: 15px; height: 15px; flex-shrink: 0; color: #643ab5; stroke-width: 1.8; }
.detail-condition { margin-bottom: 18px; font-size: 12px; }
.condition-compact { margin-block: 3px 5px; padding: 5px 8px; font-size: 10px; }
.condition-compact svg { width: 13px; height: 13px; }
.catalog-card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 24px; }
.catalog-brand { margin: 0 0 9px; color: #6943ac; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.catalog-variant-label { min-height: 44px; margin: 13px 0 20px; color: var(--catalog-muted); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.catalog-card-body h3 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; overflow-wrap: anywhere; }
.catalog-description { margin: 10px 0 15px; color: var(--catalog-muted); font-size: 14px; line-height: 1.65; }
.catalog-price-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-top: auto; }
.catalog-price-row strong { color: #25212c; font-size: 26px; font-weight: 650; letter-spacing: -.7px; line-height: 1.25; }
.catalog-price-row > span { color: #59515f; font-size: 13px; line-height: 1.5; }
.catalog-availability { margin: 10px 0 18px; color: var(--catalog-muted); font-size: 13px; line-height: 1.6; }
.catalog-card-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; }
.catalog-configure, .catalog-quick { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 46px; padding: 11px 10px; border: 1px solid var(--purple, #5630bb); border-radius: 10px; font-size: 13px; font-weight: 600; line-height: 1.4; transition: background .2s, border-color .2s; }
.catalog-configure { color: var(--purple, #5630bb); background: #fff; }
.catalog-configure:hover { background: #f3eefb; }
.catalog-quick { color: #fff; background: var(--purple, #5630bb); }
.catalog-quick:hover { background: var(--purple-dark, #43209c); border-color: var(--purple-dark, #43209c); }
.catalog-card-actions svg { width: 17px; height: 17px; }
.catalog-configure:disabled, .catalog-quick:disabled { border-color: #d8d2df; background: #edeaf1; color: #655b72; cursor: default; }
#catalog-empty { padding: 54px 24px; border: 1px dashed #cfc7dc; border-radius: 18px; background: #faf8fd; color: #60556f; text-align: center; font-size: 16px; line-height: 1.7; }
#catalog-empty h3 { margin-top: 0; color: var(--ink, #202023); font-size: 22px; font-weight: 600; }
.catalog-section .catalog-disclaimer { margin: 24px 0 0; color: var(--catalog-muted); font-size: 13px; line-height: 1.7; }

/* Product configuration. */
.dialog-close { position: sticky; top: 14px; left: calc(100% - 58px); right: auto; margin-bottom: -44px; z-index: 3; }
.catalog-art { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; max-height: 245px; }
svg.product-art { display: block; width: 100%; height: 100%; max-height: 300px; stroke: none; fill: none; mix-blend-mode: multiply; }
.catalog-art > .product-art { transition: transform .3s ease; }
.catalog-photo:hover .product-art { transform: translateY(-4px); }
.detail-image > svg.product-art { width: 100%; height: 380px; max-height: 380px; }
.detail-direct-link { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; margin-top: 10px; color: var(--purple); font-size: 13px; }
.order-item > svg.order-art { grid-column: 1; grid-row: 1 / span 2; width: 76px; height: 104px; padding: 10px; background: #f7f6f9; border-radius: 10px; }
.search-result > svg.product-art { width: 60px; height: 66px; color: transparent; }
.order-footer[hidden], #order-empty[hidden] { display: none; }
#product-dialog .detail-content { padding: 48px 32px 32px; }
#product-dialog .detail-content > p { font-size: 14px; }
#product-dialog .detail-content .detail-note { color: #64616c; font-size: 12px; }
#product-dialog .detail-image { align-content: center; }
.variant-group { min-width: 0; margin: 22px 0; padding: 0; border: 0; }
.variant-group > label, .variant-group > legend, .variant-group > .variant-label { display: block; width: 100%; padding: 0; margin: 0 0 10px; color: #514a5d; font-size: 14px; font-weight: 600; line-height: 1.5; }
.variant-group fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.variant-group fieldset > legend { margin-bottom: 10px; padding: 0; color: #514a5d; font-size: 14px; font-weight: 600; }
#detail-variants { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.variant-choice { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; width: 100%; min-width: 0; min-height: 56px; padding: 13px 15px; border: 1px solid #d8d2df; border-radius: 12px; background: #fff; color: #514a5d; font-size: 14px; line-height: 1.5; text-align: left; overflow-wrap: anywhere; transition: background .2s, border-color .2s; }
.variant-choice:hover { border-color: #9981c4; background: #faf8fd; }
.variant-choice[aria-pressed="true"], .variant-choice.selected { border-color: var(--purple, #5630bb); background: #f3eefb; color: #482695; box-shadow: inset 0 0 0 1px var(--purple, #5630bb); }
.variant-choice strong { font-size: 15px; font-weight: 700; white-space: nowrap; }
.variant-choice small { display: block; font-size: 12px; line-height: 1.6; }
.variant-choice:disabled { opacity: .65; cursor: default; }
.detail-price-block { margin: 24px 0 18px; }
#detail-price { display: block; color: #25212c; font-size: clamp(28px, 3vw, 36px); line-height: 1.25; font-weight: 700; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
#product-dialog .detail-content #detail-price-note { margin: 8px 0 0; color: #64616c; font-size: 12px; line-height: 1.6; }
#product-dialog .availability { font-size: 13px; line-height: 1.5; }
#product-dialog .detail-content .button { min-height: 48px; font-size: 14px; border-radius: 12px; }
#product-dialog .source-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; line-height: 1.5; }

/* Selected products and the WhatsApp order. */
.order-trigger { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 10px 12px; border: 1px solid #e3ddec; border-radius: 12px; background: #fff; color: #4c3b64; font-size: 13px; font-weight: 600; }
.order-trigger:hover { background: #f4effb; border-color: #c8b9e2; }
.order-trigger > svg { width: 21px; height: 21px; }
.order-count { display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 20px; background: var(--purple, #5630bb); color: #fff; font-size: 11px; font-weight: 650; line-height: 1; }
#order-dialog { width: min(660px, calc(100% - 32px)); border-radius: 22px; }
.order-content { padding: 36px; }
.order-content > h2 { margin: 8px 42px 10px 0; font-size: 32px; line-height: 1.15; letter-spacing: -1px; }
.order-content > p { margin: 12px 0 24px; color: #64616c; font-size: 14px; line-height: 1.65; }
#order-items { display: grid; margin-top: 26px; }
#order-items:empty { margin-top: 0; }
.order-item { position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) 44px; gap: 12px 16px; align-items: start; padding: 22px 0; border-top: 1px solid #e8e3ed; }
.order-item > img { grid-column: 1; grid-row: 1 / span 2; width: 76px; height: 94px; padding: 10px; border-radius: 10px; background: #f7f6f9; object-fit: contain; }
.order-item-info { grid-column: 2; min-width: 0; }
.order-item h3 { margin: 2px 0 7px; color: #25212c; font-size: 17px; font-weight: 600; letter-spacing: -.3px; line-height: 1.3; }
.order-item p { margin: 5px 0; color: #64616c; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.order-item-info > strong { display: block; margin-top: 10px; font-size: 16px; line-height: 1.5; }
.quantity-control { display: inline-flex; grid-column: 2; align-items: center; justify-content: space-between; width: fit-content; min-height: 44px; border: 1px solid #d8d2df; border-radius: 10px; background: #fff; }
.quantity-control button { display: grid; place-items: center; width: 44px; min-width: 44px; min-height: 44px; padding: 9px; border: 0; border-radius: 9px; background: transparent; color: var(--purple, #5630bb); font-size: 20px; line-height: 1; }
.quantity-control button:hover { background: #f3eefb; }
.quantity-control button:disabled { color: #8d8597; cursor: default; background: transparent; }
.quantity-control > span { min-width: 28px; padding: 0 4px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.quantity-control svg { width: 17px; height: 17px; }
.order-item-info .quantity-control { margin-top: 12px; }
.remove-item { display: inline-flex; grid-column: 3; grid-row: 1; align-items: center; justify-content: center; justify-self: end; min-width: 44px; min-height: 44px; padding: 10px; border: 0; border-radius: 10px; background: transparent; color: #76617f; font-size: 12px; line-height: 1.4; }
.remove-item:hover { background: #f8eff3; color: #8c3158; }
.remove-item svg { width: 19px; height: 19px; }
.order-footer { margin-top: 12px; padding-top: 24px; border-top: 1px solid #ded7e7; }
.order-footer > p { margin: 10px 0 18px; color: #64616c; font-size: 13px; line-height: 1.65; }
.order-footer > strong { display: block; margin-bottom: 16px; font-size: 21px; line-height: 1.4; }
#order-total { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#order-cta { width: 100%; min-height: 50px; padding: 14px 18px; border-radius: 12px; font-size: 14px; text-align: center; }
#order-cta[aria-disabled="true"] { background: #edeaf1; border-color: #edeaf1; color: #655b72; cursor: default; transform: none; }
.order-feedback { position: fixed; z-index: 50; left: 50%; bottom: 28px; width: max-content; max-width: min(540px, calc(100% - 40px)); padding: 15px 22px; border: 1px solid #ffffff22; border-radius: 12px; background: #2d213e; color: #fff; box-shadow: 0 8px 30px #20102d22; font-size: 14px; line-height: 1.5; text-align: center; transform: translateX(-50%); }
.order-feedback:empty { display: none; }

.catalog-section :is(button, input, select, summary):focus-visible,
#product-dialog :is(button, select):focus-visible,
#order-dialog :is(button, a):focus-visible,
.order-trigger:focus-visible { outline: 3px solid var(--purple, #5630bb); outline-offset: 4px; }
.catalog-search input:focus-visible { outline-offset: 1px; }

@media (max-width: 1050px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-actions { gap: 8px; }
  .order-trigger { padding-inline: 10px; }
}

@media (max-width: 768px) {
  .catalog-section .section-heading { align-items: flex-start; gap: 18px; }
  .catalog-section .section-heading > p { max-width: 210px; font-size: 13px; }
  .catalog-search-row { grid-template-columns: minmax(0, 1fr) 200px; gap: 12px; }
  .catalog-card-body { padding: 20px; }
  .catalog-card-body h3 { font-size: 23px; }
  .catalog-photo { min-height: 235px; padding: 48px 24px 22px; }
  .catalog-price-row strong { font-size: 24px; }
  .catalog-card-actions { gap: 8px; }
  .catalog-configure, .catalog-quick { padding-inline: 8px; }
  #product-dialog .detail-content { padding: 44px 24px 28px; }
  #product-dialog .detail-image { padding: 24px; }
  .order-content { padding: 30px; }
}

@media (max-width: 600px) {
  .hero-phone img { width: min(100%, 520px); max-height: 91%; }
  .brand-filters { gap: 8px; margin-bottom: 22px; }
  #brand-filters button { padding: 10px 14px; font-size: 12px; }
  .catalog-section .section-heading { flex-direction: column; gap: 14px; margin-bottom: 26px; }
  .catalog-section .section-heading > p { max-width: none; padding-top: 0; margin: 0; font-size: 14px; line-height: 1.6; }
  .catalog-section .section-heading > p br { display: none; }
  .catalog-search-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .catalog-search, .catalog-sort select, .filter-grid select { min-height: 52px; }
  .catalog-sort { grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
  .catalog-sort > select { grid-column: 2; }
  .advanced-filters { margin-top: 15px; }
  .advanced-filters > summary { min-height: 48px; }
  .filter-grid { gap: 16px 12px; padding: 12px 0 22px; }
  .filter-grid select { padding-right: 20px; padding-left: 10px; }
  .catalog-results-line { gap: 8px; min-height: 70px; font-size: 13px; }
  #clear-filters { padding-left: 8px; font-size: 13px; }
  .catalog-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .catalog-photo { min-height: 265px; padding: 50px 38px 26px; }
  .catalog-photo img { max-height: 260px; }
  .catalog-card-body { padding: 23px; }
  .catalog-card-body h3 { font-size: 26px; }
  .catalog-variant-label { min-height: 0; margin-bottom: 20px; font-size: 14px; }
  .catalog-description { font-size: 14px; }
  .catalog-price-row strong { font-size: 28px; }
  .catalog-card-actions { gap: 10px; }
  .catalog-configure, .catalog-quick { min-height: 48px; font-size: 14px; }
  .catalog-section .catalog-disclaimer { font-size: 13px; }
  .order-trigger { padding: 9px; gap: 6px; }
  .order-trigger > .order-label { display: none; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 2px; }
  #product-dialog .detail-content { padding: 28px 24px; }
  #product-dialog .detail-image { min-height: 225px; max-height: 250px; padding: 30px; }
  #product-dialog .detail-image img { height: 195px; }
  #product-dialog .detail-image > svg.product-art { height: 195px; }
  .order-item > svg.order-art { width: 62px; height: 88px; padding: 7px; }
  .variant-group { margin: 22px 0; }
  #order-dialog { max-height: calc(100dvh - 24px); border-radius: 18px; }
  .order-content { padding: 26px 22px; }
  .order-content > h2 { font-size: 28px; }
  .order-item { grid-template-columns: 62px minmax(0, 1fr) 44px; gap: 12px 10px; padding-block: 20px; }
  .order-item > img { width: 62px; height: 84px; padding: 7px; }
  .order-item h3 { font-size: 16px; }
  .order-item p { font-size: 13px; }
  .order-feedback { bottom: 80px; padding: 14px 18px; font-size: 13px; }
}

@media (max-width: 380px) {
  .catalog-photo { min-height: 250px; padding-inline: 30px; }
  .catalog-card-body { padding: 21px; }
  .catalog-card-actions { gap: 8px; }
  .catalog-configure, .catalog-quick { font-size: 13px; }
  .order-content { padding-inline: 18px; }
  .order-item { grid-template-columns: 54px minmax(0, 1fr) 44px; gap: 10px 8px; }
  .order-item > img { width: 54px; height: 75px; }
  .order-item > svg.order-art { width: 54px; height: 75px; }
  .order-item h3 { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-photo img, .catalog-card, .advanced-filters > summary::after { transition: none; }
  .catalog-photo:hover img { transform: none; }
}

@media (forced-colors: active) {
  .variant-choice[aria-pressed="true"], #brand-filters button[aria-pressed="true"] { outline: 2px solid Highlight; }
}

/* Brand series: rows with compact product choices. */
#product-grid.series-catalog { display: block; }
.series-section { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; align-items: start; padding: 40px 0; border-bottom: 1px solid #dedbe5; }
.series-section:first-child { padding-top: 20px; }
.series-section:last-child { border-bottom: 0; }
.series-heading { min-width: 0; padding-top: 20px; }
.series-heading h3 { margin: 0 0 9px; color: #27212e; font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.series-heading p { max-width: 155px; margin: 0; color: #746b7c; font-size: 13px; line-height: 1.7; }
.series-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 16px; min-width: 0; }
.series-card, .series-card:hover { border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.series-card .catalog-photo { height: 200px; min-height: 200px; padding: 5px 15px; border-radius: 0; background: #fff; }
.series-card .catalog-art { max-height: 190px; }
.series-card .product-art { max-height: 190px; }
.series-card .catalog-card-body { align-items: center; padding: 18px 6px 0; text-align: center; }
.series-card h4 { margin: 0; color: #25212c; font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
.series-card .catalog-brand, .series-card .catalog-availability, .series-card .catalog-configure { display: none; }
.series-card .sealed-badge { align-self: center; margin-bottom: 12px; }
.series-card .catalog-variant-label { min-height: 38px; margin: 9px 0 12px; font-size: 11px; line-height: 1.65; }
.series-card .catalog-price-row { justify-content: center; gap: 5px 8px; width: 100%; margin-top: auto; }
.series-card .catalog-price-row strong { font-size: 18px; line-height: 1.4; letter-spacing: -.02em; }
.series-card .catalog-price-row > span { font-size: 11px; }
.series-card .catalog-card-actions { display: flex; justify-content: center; width: 100%; margin-top: 15px; }
.series-card .catalog-quick { width: auto; min-width: 124px; min-height: 44px; padding: 10px 18px; border-radius: 999px; font-size: 12px; line-height: 1.4; }
@media (max-width: 1050px) {
  .series-section { grid-template-columns: 145px minmax(0, 1fr); gap: 20px; }
  .series-products { gap: 25px 12px; }
  .series-card .catalog-photo { padding-inline: 5px; }
  .series-heading h3 { font-size: 23px; }
  .series-card h4 { font-size: 16px; }
}
@media (max-width: 768px) {
  .series-section { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 34px 0; }
  .series-heading { padding-top: 0; }
  .series-heading p { max-width: none; }
  .series-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .series-card .catalog-photo { height: 185px; min-height: 185px; padding-inline: 14px; }
  .series-card .catalog-art, .series-card .product-art { max-height: 175px; }
}
@media (max-width: 600px) {
  .series-products { gap: 28px 14px; }
  .series-card .catalog-photo { height: 165px; min-height: 165px; padding-inline: 5px; }
  .series-card .catalog-art, .series-card .product-art { max-height: 155px; }
  .series-card .catalog-card-body { padding: 14px 0 0; }
  .series-card h4 { font-size: 15px; }
  .series-card .catalog-variant-label { font-size: 11px; }
  .series-card .catalog-price-row strong { font-size: 18px; }
  .series-card .catalog-quick { min-width: 0; padding-inline: 16px; font-size: 12px; }
}
@media (max-width: 380px) {
  .series-products { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .series-card .catalog-photo { height: 205px; min-height: 205px; }
  .series-card .catalog-art, .series-card .product-art { max-height: 195px; }
  .series-card .catalog-variant-label { min-height: 0; }
}
