/* Modern RC Technology Store: real hardware, real sound, quieter surfaces. */
body.storefront {
  --rc-width: min(1280px, calc(100% - 64px));
  --rc-ground: #f5f8fd;
  --rc-blue-ground: #edf4ff;
  --rc-secondary: #52627a;
  --rc-ease: cubic-bezier(.22, 1, .36, 1);
  --rc-feedback: 140ms;
  --rc-arrival: 240ms;
}
body.storefront :is(#products,#listen,#support,#flash,#firmware-update,#version-update) { width: var(--rc-width); margin-inline: auto; }
body.storefront :is(#products,#listen,#support,#flash,#firmware-update,#version-update) > .section-heading { padding-top: 12px; margin-bottom: 28px; align-items: end; gap: 24px; }
body.storefront :is(#products,#listen,#support,#flash,#firmware-update,#version-update) .section-heading h2 { font: 700 clamp(30px,3vw,42px)/1.2 YSTBody,sans-serif; letter-spacing: -.025em; }
body.storefront :is(#products,#listen,#support,#flash,#firmware-update,#version-update) .section-heading .section-copy { font-size: 16px; line-height: 1.75; color: var(--rc-secondary); max-width: 62ch; }
body.storefront :is(.store-button,.price-order-button,.secondary-button,.accent-button,.ghost-button,.home-configure,.mode-chip,.flash-subtab) { border-radius: 10px; transition: background-color var(--rc-feedback), color var(--rc-feedback), transform var(--rc-feedback) var(--rc-ease), box-shadow var(--rc-feedback); }
body.storefront :is(.store-button,.price-order-button,.secondary-button,.accent-button,.ghost-button,.home-configure,.mode-chip,.flash-subtab):active:not(:disabled) { transform: translateY(1px) scale(.985); transition-duration: 0ms; }
body.storefront :is(.store-button,.home-configure) svg { width: 20px; height: 20px; flex: none; }
body.storefront :is(.store-filters,.support-topics,.listen-vehicle-tabs,.flash-subtabs) button { box-shadow: none; }

/* A purchase-led Home with the owner's existing ESRC product image. */
body.storefront #home .home-canvas { width: var(--rc-width); padding-top: 40px; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); grid-template-areas: "lead art" "features art" "sampler sampler" "tools tools"; gap: 28px 48px; }
body.storefront #home .home-lead { padding: 20px 0 0; }
body.storefront #home [data-region="main-heading"] { font: 700 clamp(42px,4.2vw,60px)/1.12 YSTBody,sans-serif; letter-spacing: -.035em; max-width: 11.8em; }
body.storefront #home [data-region="main-heading"] span { display: block; white-space: normal; }
body.storefront #home [data-region="main-heading"] em { color: var(--yst-blue); font-style: normal; }
body.storefront #home [data-region="hero-description"] { margin-top: 22px; font: 400 16px/1.8 YSTBody,sans-serif; color: var(--rc-secondary); max-width: 47ch; }
body.storefront #home .rc-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
body.storefront #home .rc-hero-actions .store-button { min-height: 52px; padding: 14px 18px; font-size: 15px; }
body.storefront #home .home-art { height: 444px; align-self: center; width: 100%; overflow: hidden; background: var(--rc-ground); border-radius: 16px; }
body.storefront #home .home-canvas [data-region="hardware-kit"] { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; z-index: 3; }
body.storefront #home :is([data-region="hardware-note-title"],[data-region="hardware-note-caption"],[data-region="hardware-detail-note"],[data-region="scene-slogan"],[data-region="scene-handwritten-note"]) { display: none; }
body.storefront #home .home-features { padding: 0; gap: 20px 16px; margin-bottom: 8px; align-self: start; }
body.storefront #home .home-feature { grid-template-columns: 36px minmax(0,1fr); gap: 2px 10px; }
body.storefront #home .feature-icon { width: 36px; height: 36px; }
body.storefront #home [data-region^="feature-"][data-region$="-title"] { font: 600 14px/1.5 YSTBody,sans-serif; }
body.storefront #home [data-region^="feature-"][data-region$="-description"] { font: 400 13px/1.55 YSTBody,sans-serif; color: var(--rc-secondary); }

/* One compact audio dock, with familiar native selection and immediate play. */
body.storefront #home .home-sampler { display: grid; grid-template-columns: minmax(180px,1fr) 170px minmax(170px,1fr) 220px 172px; grid-template-rows: 20px 48px 18px; gap: 5px 20px; padding: 24px; background: var(--rc-blue-ground); border: 0; border-radius: 16px; margin: 10px 0 0; }
body.storefront #home .home-sampler [data-region="sound-intro-icon"] { left: 24px; top: 38px; width: 26px; height: 26px; }
body.storefront #home .home-sampler [data-region="sound-intro-title"] { grid-area: 1/1/3/2; font: 650 20px/1.3 YSTBody,sans-serif; padding-left: 38px; }
body.storefront #home .home-sampler [data-region="sound-intro-description"] { grid-area: 3/1/4/2; padding-left: 38px; font: 400 12px/1.5 YSTBody,sans-serif; color: #315781; }
body.storefront #home .home-sampler [data-region="vehicle-label"] { grid-area: 1/2/2/3; font: 500 12px/1.5 YSTBody,sans-serif; }
body.storefront #home .home-vehicle-options { grid-area: 2/2/3/3; gap: 4px; background: white; padding: 3px; border-radius: 10px; }
body.storefront #home .home-vehicle { min-height: 44px; padding: 8px; border: 0; font: 600 12px/1.4 YSTBody,sans-serif; background: transparent; }
body.storefront #home .home-vehicle.is-active { background: var(--yst-yellow); color: #15243a; }
body.storefront #home .home-sampler [data-region="preset-label"] { grid-area: 1/3/2/4; font: 500 12px/1.5 YSTBody,sans-serif; }
body.storefront #home .home-sampler #homePresetSelect { grid-area: 2/3/3/4; background: white; color: var(--yst-ink); border: 0; border-radius: 10px; min-height: 48px; padding: 10px 12px; font: 400 14px/1.5 YSTBody,sans-serif; }
body.storefront #home .home-preview-controls { grid-area: 1/4/4/5; gap: 12px; margin: 0; }
body.storefront #home .home-preview { font: 500 12px/1.4 YSTBody,sans-serif; gap: 8px; color: #315781; }
body.storefront #home .home-preview .home-play { width: 44px; height: 44px; min-height: 44px; background: var(--yst-blue); box-shadow: none; }
body.storefront #home .home-sampler [data-region="configure-action"] { grid-area: 2/5/3/6; min-height: 48px; margin: 0; padding: 10px; font: 650 14px/1.4 YSTBody,sans-serif; }
body.storefront #home .home-sampler [data-region="configure-caption"] { grid-area: 3/5/4/6; font: 400 12px/1.5 YSTBody,sans-serif; color: #315781; }
body.storefront #home .home-tools { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto auto; padding: 0; background: transparent; gap: 16px; margin-top: 10px; }
body.storefront #home :is([data-region="tools-heading"],[data-region="tools-description"],[data-region="tools-intro-icon"]) { position: static; padding: 0; grid-row: 1; grid-column: auto; }
body.storefront #home [data-region="tools-heading"] { grid-column: 1/3; font: 650 22px/1.4 YSTBody,sans-serif; align-self: center; }
body.storefront #home [data-region="tools-description"] { grid-column: 3; font: 400 13px/1.6 YSTBody,sans-serif; color: var(--rc-secondary); text-align: right; align-self: center; }
body.storefront #home [data-region="tools-intro-icon"] { display: none; }
body.storefront #home .home-tool { grid-row: 2; grid-column: auto; background: var(--rc-ground); border: 0; border-radius: 12px; padding: 20px; min-height: 100px; gap: 14px; box-shadow: none; }
body.storefront #home .home-tool .tool-icon { display: grid; width: 44px; height: 44px; flex: 0 0 44px; background: transparent; }
body.storefront #home .home-tool strong { font: 600 15px/1.5 YSTBody,sans-serif; }
body.storefront #home .home-tool small { font: 400 13px/1.6 YSTBody,sans-serif; color: var(--rc-secondary); }
body.storefront #home .home-tool .tool-chevron { width: 18px; margin-left: auto; flex: none; }
body.storefront #home .store-home-catalog { width: var(--rc-width); padding-block: 56px 20px; }
body.storefront .store-section-heading h2 { font-size: clamp(26px,2.5vw,34px); line-height: 1.3; letter-spacing: -.025em; }

/* Catalogue: media and purchase information carry the layout, rather than frames. */
body.storefront .store-product-grid { gap: 32px 24px; }
body.storefront .store-product { display: flex; flex-direction: column; border: 0; border-radius: 0; background: white; box-shadow: none; overflow: visible; }
body.storefront .store-product .store-product-symbol { width: 100%; margin: 0; padding: 24px; aspect-ratio: 1.65; border-radius: 16px; background-color: var(--rc-ground); overflow: hidden; }
body.storefront .store-product .store-product-symbol img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
body.storefront .store-product .store-product-demo { aspect-ratio: 1.65; border-radius: 16px; }
body.storefront .store-product .store-product-info { padding: 20px 4px 4px; gap: 10px; }
body.storefront .store-product .store-product-info h3 { font-size: 18px; font-weight: 650; line-height: 1.5; }
body.storefront .store-product .store-product-info p { font-size: 14px; line-height: 1.65; color: var(--rc-secondary); margin-top: 4px; }
body.storefront .store-product .store-product-bottom { margin-top: 18px; gap: 10px; }
body.storefront .store-product .store-catalog-price { font-size: 22px; line-height: 1.4; }
body.storefront .store-product .store-catalog-price strong { color: var(--yst-blue); font: 700 22px/1.4 YSTBody,sans-serif; }
body.storefront .store-product .store-catalog-price del { color: var(--rc-secondary); font-size: 14px; }
body.storefront #products .store-featured { grid-template-columns: 34% minmax(0,1fr) 270px; gap: 24px; padding: 28px; background: var(--rc-ground); border: 0; border-radius: 16px; min-height: 0; }
body.storefront #products .store-featured-media { padding: 0; align-self: center; }
body.storefront #products .store-featured-media img { height: 280px; width: 100%; object-fit: contain; }
body.storefront #products .store-featured-copy { padding: 12px 0; }
body.storefront #products .store-featured-copy h3 { font-size: 32px; line-height: 1.2; letter-spacing: -.02em; }
body.storefront #products .store-featured-copy p { font-size: 18px; line-height: 1.6; margin-top: 12px; }
body.storefront #products .store-featured-copy ul { font-size: 14px; line-height: 1.8; }
body.storefront #products .store-featured-buy { padding: 20px 0 20px 24px; border: 0; border-left: 1px solid #d9e3f0; justify-content: center; gap: 12px; background: transparent; }
body.storefront #products .store-featured-buy > strong { font: 700 36px/1.2 YSTBody,sans-serif; color: var(--yst-blue); }
body.storefront #products .store-featured-buy > small { font-size: 13px; line-height: 1.6; color: var(--rc-secondary); }
body.storefront #products .store-featured-buy .store-button { min-height: 52px; padding: 14px; font-size: 14px; }
body.storefront #products .store-catalog-toolbar { margin: 28px 0; gap: 16px; }
body.storefront #products .store-filters { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--rc-ground); padding: 5px; border-radius: 12px; }
body.storefront #products .store-filters button { border: 0; background: transparent; min-height: 44px; padding: 10px 18px; border-radius: 9px; color: var(--rc-secondary); font-size: 14px; }
body.storefront #products .store-filters button[aria-pressed="true"] { background: var(--yst-blue); color: white; }

/* The principal audition surface is an audio library plus an honest quote. */
body.storefront #listen .listen-layout { grid-template-columns: minmax(0,1fr) 350px; gap: 40px; align-items: start; }
body.storefront #listen #listenSoundPanel { padding: 0; border: 0; background: transparent; border-radius: 0; }
body.storefront #listen .listen-vehicle-tabs { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 0; border: 0; border-radius: 12px; background: var(--rc-ground); }
body.storefront #listen .listen-vehicle-tab { min-height: 44px; padding: 10px 22px; font-size: 14px; border-radius: 9px; color: var(--rc-secondary); }
body.storefront #listen .listen-vehicle-tab.is-active { background: var(--yst-blue); color: white; }
body.storefront #listen .listen-panel-header { display: grid; grid-template-columns: minmax(0,1fr) minmax(200px,.8fr); align-items: center; gap: 20px; padding: 0; margin: 28px 0 20px; border: 0; }
body.storefront #listen .listen-panel-header h3 { font: 650 21px/1.45 YSTBody,sans-serif; letter-spacing: -.015em; }
body.storefront #listen .preset-block { min-width: 0; width: auto; gap: 6px; justify-items: stretch; }
body.storefront #listen .preset-counter { font-size: 12px; line-height: 1.5; margin: 0; padding: 0; justify-self: end; color: var(--rc-secondary); }
body.storefront #listen .preset-block .compact-field { width: 100%; }
body.storefront #listen #presetSelect { background: var(--rc-ground); border: 0; border-radius: 10px; min-height: 48px; font-size: 15px; }
body.storefront :is(#listen,#flash) .audition-status { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 16px; padding: 20px; margin: 0 0 18px; min-height: 92px; background: #eaf2ff; border: 0; border-radius: 16px; color: #315781; align-items: center; }
body.storefront :is(#listen,#flash) .audition-status > span:not(.rc-player-art) { font: 500 15px/1.65 YSTBody,sans-serif; min-width: 0; overflow-wrap: anywhere; }
body.storefront :is(#listen,#flash) .audition-status .rc-player-art { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yst-blue); flex: none; }
body.storefront .rc-meter { display: flex; align-items: center; justify-content: center; gap: 3px; width: 30px; height: 26px; }
body.storefront .rc-meter i { display: block; width: 3px; height: 16px; border-radius: 2px; background: white; transform: scaleY(.3); transform-origin: center; }
body.storefront .rc-meter i:nth-child(2n) { height: 25px; }
body.storefront .rc-meter i:nth-child(3) { height: 20px; }
body.storefront .audition-status[data-playing="true"].rc-player-in-view .rc-meter i { animation: rc-sound-meter 680ms ease-in-out infinite alternate; }
body.storefront .audition-status[data-playing="true"] .rc-meter i:nth-child(2) { animation-delay: -270ms; }
body.storefront .audition-status[data-playing="true"] .rc-meter i:nth-child(3) { animation-delay: -430ms; }
body.storefront .audition-status[data-playing="true"] .rc-meter i:nth-child(4) { animation-delay: -120ms; }
body.storefront .audition-status[data-playing="true"] .rc-meter i:nth-child(5) { animation-delay: -350ms; }
body.storefront :is(#listen,#flash) .audition-status button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 12px 16px; min-width: 128px; min-height: 52px; border-radius: 12px; font-size: 15px; font-weight: 650; background: #b42335; color: white; }
body.storefront :is(#listen,#flash) .audition-status button::before { content: ""; width: 20px; height: 20px; flex: none; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3C/svg%3E") center / contain no-repeat; }
body.storefront :is(#listen,#flash) .audition-status button:hover:not(:disabled) { background: #8e1b2a; }
body.storefront :is(#listen,#flash) .audition-status button:disabled { display: inline-flex; color: #52627a; opacity: 1; background: #e4eaf2; box-shadow: none; }
body.storefront #listen .config-jump { margin: 0 0 18px; font-size: 13px; min-height: 44px; }
body.storefront #listen #soundRows { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body.storefront #listen #soundRows .sound-row { display: grid; grid-template-columns: minmax(0,1fr) 128px; grid-template-rows: auto auto; gap: 10px 12px; align-items: center; padding: 18px; border: 0; border-radius: 12px; background: var(--rc-ground); min-width: 0; }
body.storefront #listen #soundRows .sound-label { display: flex; grid-area: 1/1/2/2; gap: 10px; align-items: center; min-width: 0; }
body.storefront #listen #soundRows .sound-label-title { font-size: 15px; font-weight: 650; }
body.storefront #listen #soundRows .sound-label-subtitle { color: var(--rc-secondary); font-size: 12px; line-height: 1.5; }
body.storefront #listen #soundRows .sound-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; }
body.storefront #listen #soundRows .sound-select-wrap { grid-area: 2/1/3/3; min-width: 0; }
body.storefront #listen #soundRows .sound-select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 28px 10px 0; border: 0; border-radius: 6px; background-color: transparent; color: #315781; font: 400 14px/1.5 YSTBody,sans-serif; }
body.storefront #listen #soundRows .preview-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; position: relative; grid-area: 1/2/2/3; width: 128px; height: auto; min-height: 56px; padding: 12px 10px; border: 0; border-radius: 12px; background: var(--yst-blue); color: white; font: 650 16px/1.4 YSTBody,sans-serif; box-shadow: 0 4px 10px rgb(0 87 217 / .16); transition: background-color var(--ui-fast), box-shadow var(--ui-fast), transform var(--ui-fast) var(--ui-ease); }
body.storefront #listen #soundRows .preview-button::before { content: ""; display: block; width: 22px; height: 22px; flex: none; border: 0; background: currentColor; transform: none; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4v16l12-8Z'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4v16l12-8Z'/%3E%3C/svg%3E") center / contain no-repeat; }
body.storefront #listen #soundRows .preview-button.is-playing { background: #b42335; color: white; box-shadow: 0 4px 10px rgb(180 35 53 / .16); }
body.storefront #listen #soundRows .preview-button.is-playing::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3C/svg%3E"); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='5' width='14' height='14' rx='2'/%3E%3C/svg%3E"); }
body.storefront #listen #soundRows .preview-button.is-loading { font-size: 14px; background: #0048b5; color: white; }
body.storefront #listen #soundRows .preview-button.is-loading::before { width: 22px; height: 22px; border: 2px solid rgb(255 255 255 / .4); border-top-color: white; border-radius: 50%; background: transparent; mask: none; -webkit-mask: none; transform: none; animation: rc-wait 750ms linear infinite; }
body.storefront #listen #soundRows .preview-button:disabled { background: #e4eaf2; color: #52627a; font-size: 13px; box-shadow: none; opacity: 1; cursor: not-allowed; }
body.storefront #listen #soundRows .preview-button:active:not(:disabled) { transform: translateY(1px); box-shadow: none; }
body.storefront #listen #soundRows .sound-row:has(.is-playing) { background: #e4eeff; }
body.storefront #listen #soundRows .sound-row-inline-option { grid-column: 1/-1; margin: 4px 0 0; padding: 4px 0; border: 0; }
body.storefront #listen #soundRows .excavator-volume-controls { grid-column: 1/-1; }
body.storefront #listen #soundRows .excavator-group-heading { grid-column: 1/-1; margin: 18px 0 0; }
body.storefront #listen .listen-sidebar { display: flex; flex-direction: column; gap: 20px; position: static; }
body.storefront #listen #pricing { order: 0; padding: 24px; background: var(--rc-ground); border: 0; border-radius: 16px; }
body.storefront #listen #pricing h3 { margin: 0; font-size: 20px; font-weight: 650; line-height: 1.35; }
body.storefront #listen #pricing .segmented-control { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; padding: 4px; margin: 20px 0 16px; border: 0; border-radius: 10px; background: white; }
body.storefront #listen #pricing .mode-chip { min-height: 44px; padding: 8px 5px; border: 0; border-radius: 7px; background: transparent; font-size: 12px; }
body.storefront #listen #pricing .mode-chip.is-active { color: white; background: var(--yst-blue); }
body.storefront #listen #pricing .price-list { gap: 4px; }
body.storefront #listen #pricing .price-item { min-height: 36px; padding: 8px 0; font-size: 14px; border: 0; border-radius: 0; }
body.storefront #listen #pricing .price-option { min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 14px; gap: 8px; }
body.storefront #listen #pricing .board-version-options { min-width: 0; margin: 8px 0 6px; padding: 0; border: 0; gap: 8px; }
body.storefront #listen #pricing .board-version-options legend { padding: 0; margin-bottom: 8px; color: var(--rc-secondary); font-size: 14px; font-weight: 600; }
body.storefront #listen #pricing .board-version-choice { display: grid; grid-template-columns: 18px minmax(0,1fr) auto; grid-template-rows: auto auto; min-height: 64px; padding: 10px 12px; border: 1px solid transparent; border-radius: 12px; background: white; gap: 3px 10px; }
body.storefront #listen #pricing .board-version-choice:has(input:checked) { border-color: var(--yst-blue); background: #eaf2ff; }
body.storefront #listen #pricing .board-version-choice input { grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 18px; min-width: 18px; height: 18px; min-height: 18px; margin: 0; }
body.storefront #listen #pricing .board-version-choice > span { display: contents; }
body.storefront #listen #pricing .board-version-choice strong { grid-column: 2; grid-row: 1; font-size: 15px; line-height: 1.4; }
body.storefront #listen #pricing .board-version-choice small { grid-column: 2 / span 2; grid-row: 2; font-size: 13px; line-height: 1.45; color: var(--yst-muted); }
body.storefront #listen #pricing .board-version-choice em { grid-column: 3; grid-row: 1; align-self: center; font-size: 14px; line-height: 1.4; }
body.storefront #listen #pricing .price-summary { margin-top: 6px; padding: 0; border: 0; }
body.storefront #listen #pricing .price-shipping-line { min-height: 32px; padding: 6px 0; gap: 8px; font-size: 14px; border: 0; border-radius: 0; }
body.storefront #listen #pricing .price-total { padding: 12px 0 6px; margin-top: 8px; border: 0; border-top: 1px solid #d6e0ef; border-radius: 0; background: transparent; align-items: center; }
body.storefront #listen #pricing #totalPriceText { font: 700 32px/1.2 YSTBody,sans-serif; letter-spacing: -.02em; }
body.storefront #listen #pricing .price-total-copy > span { font-size: 14px; }
body.storefront #listen #pricing #originalTotalPriceText { color: var(--rc-secondary); }
body.storefront #listen #pricing .price-deposit { min-height: 44px; padding: 10px 12px; margin-block: 6px 8px; font-size: 13px; }
body.storefront #listen #pricing .smart-config-notice { margin: 8px 0; font-size: 13px; line-height: 1.5; }
body.storefront #listen #pricing .smart-config-actions { margin-top: 8px; gap: 8px; }
body.storefront #listen #pricing .smart-config-hint { font-size: 12px; line-height: 1.65; }
body.storefront #listen #pricing .price-order-button { min-height: 50px; font-size: 15px; }
body.storefront #listen .store-listen-scene { order: 1; height: 150px; border-radius: 16px; overflow: hidden; margin: 0; }
body.storefront #listen .store-listen-scene img { width: 100%; height: 150px; object-fit: cover; object-position: 50% 60%; }

/* Support starts with a situation, then a prepared message and direct contact. */
body.storefront #support .store-support-layout { grid-template-columns: minmax(0,1fr) minmax(330px,.68fr); gap: 64px; }
body.storefront #support .shipment-support-link { padding: 18px 20px; margin-bottom: 32px; border: 0; border-radius: 12px; background: var(--rc-ground); }
body.storefront #support .store-support-main h3 { font-size: 22px; line-height: 1.4; }
body.storefront #support .support-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
body.storefront #support .support-topics button { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 16px; border: 0; border-radius: 12px; background: var(--rc-ground); color: var(--yst-ink); font-size: 15px; text-align: left; }
body.storefront #support .support-topics button[aria-pressed="true"] { background: var(--rc-blue-ground); color: var(--yst-blue); }
body.storefront #support .rc-topic-icon { flex: 0 0 24px; width: 24px; height: 24px; }
body.storefront #support .support-preparation { padding: 0; margin-top: 32px; border: 0; }
body.storefront #support .support-preparation h3 { font-size: 20px; }
body.storefront #support .support-preparation li { font-size: 15px; line-height: 1.75; padding-block: 8px; }
body.storefront #support .support-preparation label { display: block; font-size: 14px; margin-bottom: 10px; }
body.storefront #support #supportMessage { min-height: 176px; padding: 18px; background: var(--rc-ground); border: 1px solid #c5d3e6; border-radius: 12px; font: 400 15px/1.8 YSTBody,sans-serif; }
body.storefront #support .support-copy-row .store-button { min-height: 48px; padding-inline: 18px; }
body.storefront #support .store-zalo-panel { background: var(--rc-blue-ground); color: var(--yst-ink); padding: 32px 28px 0; border: 0; border-radius: 16px; }
body.storefront #support .support-brand { margin-bottom: 28px; }
body.storefront #support .support-brand img { filter: none; mix-blend-mode: normal; width: 48px; height: 48px; }
body.storefront #support .support-brand strong { color: var(--yst-ink); font-size: 24px; }
body.storefront #support .support-brand span { color: #315781; font-size: 12px; }
body.storefront #support .store-zalo-panel h3 { color: var(--yst-blue); font: 700 30px/1.3 YSTBody,sans-serif; letter-spacing: -.025em; }
body.storefront #support .store-zalo-panel p { color: #315781; font: 400 15px/1.8 YSTBody,sans-serif; }
body.storefront #support .store-zalo-phone { font: 700 30px/1.3 YSTBody,sans-serif; color: var(--yst-blue); }
body.storefront #support .store-zalo-panel .store-button { width: 100%; min-height: 52px; font-size: 14px; padding: 14px; }
body.storefront #support .store-zalo-panel > small { color: #315781; font-size: 12px; line-height: 1.6; margin-top: 12px; }
body.storefront #support .support-photo { width: calc(100% + 56px); margin: 28px -28px 0; height: 200px; border-radius: 0; }
body.storefront #support .support-photo img { height: 200px; width: 100%; object-fit: cover; object-position: 50% 55%; }
body.storefront #support .store-owner-links { margin-top: 40px; padding-top: 28px; }

/* Device workflows retain their controllers; the original live steps lead. */
body.storefront #flash .rc-update-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 24px 0 32px; counter-reset: update-step; }
body.storefront #flash .rc-update-steps .flash-state-item { display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: start; gap: 12px; padding: 20px; border: 0; border-radius: 12px; background: var(--rc-ground); counter-increment: update-step; }
body.storefront #flash .rc-update-steps strong::before { content: counter(update-step) ". "; }
body.storefront #flash .rc-update-steps .flash-state-dot { width: 40px; height: 40px; background: white; }
body.storefront #flash .rc-update-steps strong { font-size: 15px; }
body.storefront #flash .rc-update-steps small { margin-top: 5px; font-size: 13px; }
body.storefront #flash .rc-update-steps .flash-state-item[data-state="busy"] { background: #eaf2ff; }
body.storefront #flash .rc-update-steps .flash-state-item[data-state="good"] { background: #eaf7f0; }
body.storefront #flash .rc-update-steps .flash-state-item[data-state="bad"] { background: #fff0f1; }
body.storefront #flash .rc-update-steps .flash-state-item[data-state="warn"] { background: #fff5d6; }
body.storefront #flash .flash-layout { grid-template-columns: minmax(0,1fr) 350px; gap: 32px; }
body.storefront #flash .rc-update-jump { display: none; }
body.storefront .tutorial-media img.rc-preview-unavailable { visibility: hidden; }
body.storefront .rc-preview-note { position: absolute; left: 16px; right: 16px; bottom: 14px; padding-right: 48px; color: #52627a; font: 400 12px/1.5 YSTBody,sans-serif; }
body.storefront #flash .flash-sound-panel { padding: 0; background: transparent; border: 0; }
body.storefront #flash .flash-manual-header { padding: 0; margin-bottom: 24px; border: 0; }
body.storefront #flash .flash-manual-header h3 { font-size: 22px; }
body.storefront #flash .flash-sidebar .flash-panel { padding: 24px; background: var(--rc-ground); border: 0; border-radius: 16px; }
body.storefront #flash .flash-sidebar .flash-info-panel { background: white; padding: 24px 0; border-top: 1px solid var(--yst-line); border-radius: 0; }
body.storefront #flash .flash-sidebar .flash-panel h3 { font-size: 21px; scroll-margin-top: 100px; }
body.storefront #flash .flash-subtabs { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; padding: 5px; border-radius: 12px; background: var(--rc-ground); }
body.storefront #flash .flash-subtab { border: 0; min-height: 44px; padding: 10px 18px; background: transparent; color: var(--rc-secondary); font-size: 14px; }
body.storefront #flash .flash-subtab.is-active { background: var(--yst-blue); color: white; }
body.storefront #firmware-update .repair-console { padding: 0; border: 0; background: transparent; border-radius: 0; }
body.storefront #firmware-update .repair-console-head { padding: 0 0 16px; border: 0; }
body.storefront #firmware-update .repair-step { margin: 0 0 16px; padding: 28px; border: 0; border-radius: 16px; background: var(--rc-ground); gap: 20px; }
body.storefront #firmware-update .repair-step-number { width: 44px; height: 44px; border: 0; border-radius: 12px; background: white; color: var(--yst-blue); box-shadow: none; font: 650 18px/1 YSTBody,sans-serif; }
body.storefront #firmware-update .repair-step h3 { font-size: 22px; line-height: 1.4; }
body.storefront #firmware-update .repair-step p { font-size: 15px; line-height: 1.75; }
body.storefront #firmware-update .repair-step:has(#repairDisconnect:not(:disabled)) { background: #eaf7f0; }
body.storefront #firmware-update .repair-final-step:has([data-tone="busy"]) { background: #eaf2ff; }
body.storefront #firmware-update .repair-final-step:has(.device-progress-region[data-tone="good"]) { background: #eaf7f0; }
body.storefront #firmware-update .repair-final-step:has(.device-progress-region[data-tone="bad"]) { background: #fff0f1; }
body.storefront #firmware-update #repairKey { min-height: 52px; padding: 14px; border-radius: 10px; background: white; }
body.storefront #firmware-update .repair-help-card { border: 0; background: transparent; padding: 0 0 28px; }
body.storefront #firmware-update .repair-help-card h3 { font-size: 21px; }

/* Only genuine pending manifest content gets a skeleton. */
body.storefront .rc-library-skeleton { display: grid; grid-template-columns: 1fr 1fr; grid-column: 1/-1; gap: 12px; width: 100%; }
body.storefront .rc-library-skeleton > i { display: block; height: 132px; background: #e9eff8; border-radius: 12px; }
body.storefront .tab-panel.is-active-tab .rc-library-skeleton > i { animation: rc-skeleton 1.1s ease-in-out infinite alternate; }
body.storefront .rc-load-error { grid-column: 1/-1; padding: 20px; color: #a11e30; background: #fff0f1; border-radius: 12px; line-height: 1.7; }
body.storefront .rc-load-error button { display: block; min-height: 44px; margin-top: 12px; padding: 10px 16px; border: 0; border-radius: 10px; color: #a11e30; background: white; font: 600 14px/1.5 YSTBody,sans-serif; cursor: pointer; }
body.storefront .smart-cart-toast:not([hidden]) { border: 0; border-radius: 12px; box-shadow: 0 10px 32px rgba(18,42,78,.18); }
body.storefront .store-search-inner { border-radius: 16px; }
@keyframes rc-sound-meter { from { transform: scaleY(.28); } to { transform: scaleY(1); } }
@keyframes rc-wait { to { transform: rotate(360deg); } }
@keyframes rc-skeleton { from { opacity: .5; } to { opacity: 1; } }

@media (hover:hover) and (pointer:fine) {
  body.storefront #home .home-tool:hover { background: #eaf1fc; box-shadow: none; transform: translateY(-2px); }
  body.storefront .store-product:hover { transform: none; box-shadow: none; }
  body.storefront .store-product .store-product-symbol { transition: transform 220ms var(--rc-ease); }
  body.storefront .store-product:hover .store-product-symbol { transform: translateY(-3px); }
  body.storefront #listen #soundRows .sound-row:hover { background: #edf2fa; }
  body.storefront #listen #soundRows .sound-row:has(.is-playing):hover { background: #e4eeff; }
  body.storefront #listen #soundRows .preview-button:hover:not(:disabled) { background: #0048b5; color: white; transform: translateY(-1px); }
  body.storefront #listen #soundRows .preview-button.is-playing:hover:not(:disabled) { background: #8e1b2a; }
  body.storefront #listen #soundRows .preview-button:active:not(:disabled) { transform: translateY(1px); box-shadow: none; }
  body.storefront #listen #soundRows .sound-select:hover { background-color: #e5edf9; }
}
@media (min-width:1101px) and (min-height:1100px) { body.storefront #listen .listen-sidebar { position: sticky; top: 100px; } }
@media (max-width:1200px) {
  body.storefront #home .home-canvas { gap: 28px; }
  body.storefront #home .home-art { height: 400px; }
  body.storefront #home .home-sampler { grid-template-columns: minmax(180px,1fr) 170px minmax(170px,1fr); grid-template-rows: 20px 48px auto; }
  body.storefront #home .home-preview-controls { grid-area: 3/2/4/3; margin-top: 14px; gap: 10px; }
  body.storefront #home .home-sampler [data-region="configure-action"] { grid-area: 3/3/4/4; align-self: center; margin-top: 14px; }
  body.storefront #home .home-sampler [data-region="configure-caption"] { display: none; }
  body.storefront #home .home-sampler [data-region="sound-intro-description"] { grid-area: 3/1/4/2; align-self: start; max-width: 28ch; }
  body.storefront #home .home-preview { font-size: 11px; }
  body.storefront #products .store-featured { grid-template-columns: 32% minmax(0,1fr) 240px; padding: 24px; gap: 20px; }
  body.storefront #listen .listen-layout { grid-template-columns: minmax(0,1fr) 320px; gap: 28px; }
  body.storefront #listen #soundRows { grid-template-columns: minmax(0,1fr); }
  body.storefront #listen #soundRows .sound-row { grid-template-columns: minmax(0,1fr) 128px; }
  body.storefront #support .store-support-layout { gap: 36px; }
}
@media (max-width:960px) {
  body.storefront #home .home-canvas { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; }
  body.storefront #home [data-region="main-heading"] { font-size: 42px; }
  body.storefront #home .home-features { grid-column: 1/-1; grid-row: 2; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
  body.storefront #home .home-art { grid-row: 1; height: 360px; }
  body.storefront #home .home-sampler { grid-row: 3; }
  body.storefront #home .home-tools { grid-row: 4; }
  body.storefront #products .store-featured { grid-template-columns: 40% minmax(0,1fr); }
  body.storefront #products .store-featured-buy { grid-column: 1/-1; display: flex; flex-wrap: wrap; flex-direction: row; align-items: center; justify-content: start; padding: 20px 0 0; border-left: 0; border-top: 1px solid #d9e3f0; gap: 16px; }
  body.storefront #products .store-featured-buy .store-text-action { display: inline-flex; }
  body.storefront #listen .listen-layout { grid-template-columns: minmax(0,1fr); }
  body.storefront #listen #soundRows { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.storefront #listen .listen-sidebar { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.65fr); align-items: start; }
  body.storefront #listen .store-listen-scene { height: 250px; }
  body.storefront #listen .store-listen-scene img { height: 250px; }
  body.storefront #support .store-support-layout { grid-template-columns: minmax(0,1fr) 330px; gap: 28px; }
  body.storefront #flash .flash-layout { grid-template-columns: minmax(0,1fr); }
  body.storefront #flash .rc-update-jump:not([hidden]) { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: -16px 0 24px; padding: 8px 0; border: 0; background: transparent; color: var(--yst-blue); font: 650 14px/1.5 YSTBody,sans-serif; }
  body.storefront #flash .rc-update-jump svg { width: 18px; height: 18px; }
  body.storefront #flash .flash-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
}
@media (max-width:760px) {
  body.storefront { --rc-width: calc(100% - 32px); }
  body.storefront :is(#products,#listen,#support,#flash,#firmware-update,#version-update) .section-heading .section-copy { font-size: 15px; }
  body.storefront #home .home-canvas { display: grid; grid-template-columns: minmax(0,1fr); grid-template-areas: "lead" "art" "features" "sampler" "tools"; padding-top: 24px; gap: 24px; }
  body.storefront #home .home-lead { padding: 0; }
  body.storefront #home [data-region="main-heading"] { font-size: 40px; max-width: 13em; }
  body.storefront #home [data-region="hero-description"] { font-size: 15px; margin-top: 18px; }
  body.storefront #home .rc-hero-actions { gap: 10px; margin-top: 22px; }
  body.storefront #home .rc-hero-actions .store-button { min-height: 48px; font-size: 14px; padding: 12px 14px; }
  body.storefront #home .home-art { grid-area: art; height: 300px; margin: 0; }
  body.storefront #home .home-features { grid-area: features; grid-template-columns: 1fr 1fr; margin: 0; gap: 20px 14px; }
  body.storefront #home .home-sampler { grid-area: sampler; grid-template-columns: 1fr 1fr; grid-template-rows: auto; padding: 20px; gap: 10px 16px; margin: 4px 0; }
  body.storefront #home .home-sampler [data-region="sound-intro-icon"] { left: 20px; top: 22px; }
  body.storefront #home .home-sampler [data-region="sound-intro-title"] { grid-area: 1/1/2/3; font-size: 21px; padding-left: 36px; }
  body.storefront #home .home-sampler [data-region="sound-intro-description"] { grid-area: 2/1/3/3; max-width: none; padding-left: 36px; margin: 0 0 10px; font-size: 12px; }
  body.storefront #home .home-sampler [data-region="vehicle-label"] { grid-area: 3/1/4/2; margin: 0; }
  body.storefront #home .home-vehicle-options { grid-area: 4/1/5/2; }
  body.storefront #home .home-sampler [data-region="preset-label"] { grid-area: 3/2/4/3; margin: 0; }
  body.storefront #home .home-sampler #homePresetSelect { grid-area: 4/2/5/3; font-size: 13px; padding: 10px 8px; }
  body.storefront #home .home-preview-controls { grid-area: 5/1/6/3; justify-content: space-around; margin: 8px 0; }
  body.storefront #home .home-preview { font-size: 12px; }
  body.storefront #home .home-sampler [data-region="configure-action"] { grid-area: 6/1/7/3; margin: 0; }
  body.storefront #home .home-tools { grid-area: tools; grid-template-columns: minmax(0,1fr); grid-template-rows: auto; margin: 0; gap: 10px; }
  body.storefront #home [data-region="tools-heading"] { grid-column: 1; grid-row: auto; font-size: 22px; }
  body.storefront #home [data-region="tools-description"] { grid-column: 1; grid-row: auto; text-align: left; margin-bottom: 8px; }
  body.storefront #home .home-tool { grid-column: 1; grid-row: auto; min-height: 84px; padding: 16px; }
  body.storefront #home .store-home-catalog { padding-top: 40px; }
  body.storefront #products .store-featured { grid-template-columns: 1fr; padding: 24px; }
  body.storefront #products .store-featured-media img { height: 250px; }
  body.storefront #products .store-featured-copy { padding: 0; }
  body.storefront #products .store-featured-buy { grid-column: 1; padding-top: 20px; }
  body.storefront #products .store-featured-buy .store-button { width: 100%; }
  body.storefront #products .store-catalog-toolbar { align-items: start; flex-direction: column; }
  body.storefront #products .store-filters { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  body.storefront #products .store-filters button { padding-inline: 10px; font-size: 13px; }
  body.storefront .store-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 16px; }
  body.storefront .store-product .store-product-info { padding: 16px 0 0; }
  body.storefront .store-product .store-product-info h3 { font-size: 16px; }
  body.storefront .store-product .store-product-info p { font-size: 13px; }
  body.storefront .store-product .store-catalog-price { font-size: 20px; }
  body.storefront .store-product .store-catalog-price strong { font-size: 20px; }
  body.storefront #listen .listen-sidebar { display: flex; }
  body.storefront #listen .store-listen-scene { height: 160px; width: 100%; }
  body.storefront #listen .store-listen-scene img { height: 160px; }
  body.storefront #listen .listen-panel-header { grid-template-columns: 1fr; gap: 12px; }
  body.storefront #listen .preset-counter { justify-self: start; }
  body.storefront #listen #soundRows { grid-template-columns: minmax(0,1fr); gap: 10px; }
  body.storefront #listen #soundRows .sound-row { padding: 18px; }
  body.storefront :is(#listen,#flash) .audition-status { grid-template-columns: 40px minmax(0,1fr) auto; gap: 10px; padding: 16px; }
  body.storefront :is(#listen,#flash) .audition-status .rc-player-art { width: 40px; height: 40px; }
  body.storefront :is(#listen,#flash) .audition-status > span:not(.rc-player-art) { font-size: 13px; }
  body.storefront :is(#listen,#flash) .audition-status button { font-size: 15px; padding: 12px; }
  body.storefront #support .store-support-layout { grid-template-columns: 1fr; gap: 32px; }
  body.storefront #support .support-topics button { min-height: 64px; font-size: 14px; padding: 14px 12px; gap: 8px; }
  body.storefront #support .store-zalo-panel { padding: 28px 24px 0; }
  body.storefront #support .support-photo { width: calc(100% + 48px); margin-inline: -24px; }
  body.storefront #flash .rc-update-steps { grid-template-columns: minmax(0,1fr); gap: 8px; margin: 20px 0 28px; }
  body.storefront #flash .rc-update-steps .flash-state-item { padding: 16px; }
  body.storefront #flash .flash-sidebar { display: block; }
  body.storefront #flash .flash-sidebar .flash-info-panel { margin-top: 24px; }
  body.storefront #firmware-update .repair-step { padding: 20px; gap: 14px; }
  body.storefront #firmware-update .repair-step h3 { font-size: 20px; }
}
@media (max-width:420px) {
  body.storefront #home [data-region="main-heading"] { font-size: 36px; }
  body.storefront #home .home-art { height: 250px; }
  body.storefront #home .home-feature { grid-template-columns: 30px minmax(0,1fr); gap: 3px 8px; }
  body.storefront #home .feature-icon { width: 30px; height: 30px; }
  body.storefront #home [data-region^="feature-"][data-region$="-title"] { font-size: 13px; }
  body.storefront #home [data-region^="feature-"][data-region$="-description"] { font-size: 12px; }
  body.storefront #home .home-sampler { grid-template-columns: minmax(0,1fr); }
  body.storefront #home .home-sampler [data-region="sound-intro-title"] { grid-area: 1/1/2/2; }
  body.storefront #home .home-sampler [data-region="sound-intro-description"] { grid-area: 2/1/3/2; }
  body.storefront #home .home-sampler [data-region="vehicle-label"] { grid-area: 3/1/4/2; }
  body.storefront #home .home-vehicle-options { grid-area: 4/1/5/2; }
  body.storefront #home .home-sampler [data-region="preset-label"] { grid-area: 5/1/6/2; }
  body.storefront #home .home-sampler #homePresetSelect { grid-area: 6/1/7/2; }
  body.storefront #home .home-preview-controls { grid-area: 7/1/8/2; }
  body.storefront #home .home-sampler [data-region="configure-action"] { grid-area: 8/1/9/2; }
  body.storefront .store-product-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  body.storefront #listen #pricing { padding: 20px; }
  body.storefront #listen #pricing #totalPriceText { font-size: 30px; }
  body.storefront :is(#listen,#flash) .audition-status { grid-template-columns: 40px minmax(0,1fr); }
  body.storefront :is(#listen,#flash) .audition-status button { grid-column: 2; justify-self: start; }
  body.storefront :is(#listen,#flash) .audition-status button:disabled { display: none; }
}
@media (prefers-reduced-motion:reduce) {
  body.storefront #listen #soundRows .preview-button { transition: none; }
  body.storefront #listen #soundRows .preview-button:is(:hover,:active):not(:disabled) { transform: none; }
  body.storefront .audition-status[data-playing="true"].rc-player-in-view .rc-meter i,
  body.storefront #listen #soundRows .preview-button.is-loading::before,
  body.storefront .tab-panel.is-active-tab .rc-library-skeleton > i { animation: none; }
  body.storefront .audition-status[data-playing="true"] .rc-meter i { transform: scaleY(.75); }
  body.storefront :is(.store-button,.price-order-button,.secondary-button,.accent-button,.ghost-button,.home-configure,.mode-chip,.flash-subtab):active:not(:disabled) { transform: none; }
}
body.storefront[data-page-hidden="true"] :is(.rc-meter i,.rc-library-skeleton > i) { animation-play-state: paused !important; }
