:root {
  color-scheme: light;
  --ink: #1d2939;
  --muted: #758092;
  --line: #e8ebef;
  --paper: #fff;
  --canvas: #f7f8fa;
  --surface-soft: #f4f5fb;
  --surface-input: #fff;
  --text-soft: #747f91;
  --text-faint: #8992a1;
  --hero: #eef0ff;
  --notice: #fffcf4;
  --notice-line: #f0e5c7;
  --violet: #6459e8;
  --violet-dark: #5146d2;
  --mint: #dcf6eb;
  --green: #16734c;
  font-family: "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  min-width: 320px;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-header {
  width: min(1160px, calc(100% - 64px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: #202a3a;
  font: 800 19px Manrope, sans-serif;
  letter-spacing: -1px;
}

.brand-mark {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--violet);
  font: 800 22px Manrope, sans-serif;
  letter-spacing: -2px;
  padding: 0 2px 4px 0;
}

.brand-light { color: #8991a0; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 34px; margin-left: 40px; }
.nav-link { color: #737d8e; text-decoration: none; font-size: 13px; font-weight: 600; }
.nav-link.active, .nav-link:hover { color: var(--violet); }
.header-note { display: flex; align-items: center; gap: 8px; color: #637081; text-decoration: none; font-size: 12px; font-weight: 600; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #e3a744; box-shadow: 0 0 0 3px #fff3db; }
.theme-toggle { min-height: 37px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 600; }
.theme-toggle:hover { border-color: var(--violet); color: var(--violet); }
.theme-icon { font-size: 17px; line-height: 1; }

main { width: min(1160px, calc(100% - 64px)); margin: 0 auto; }

.hero {
  min-height: 314px;
  padding: 48px 74px 43px;
  border-radius: 19px;
  background: #eef0ff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-copy { position: relative; z-index: 1; max-width: 540px; }
.eyebrow { margin: 0 0 13px; color: #798399; font-size: 10px; line-height: 1.4; font-weight: 700; letter-spacing: 1.45px; }
.hero .eyebrow { color: #695fe0; display: flex; align-items: center; gap: 9px; }
.eyebrow-line { display: inline-block; width: 19px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0; color: #222a3a; font: 800 clamp(40px, 5vw, 59px)/1.08 Manrope, sans-serif; letter-spacing: -2.7px; }
.hero h1 span { color: var(--violet); }
.hero-description { max-width: 405px; margin: 15px 0 0; color: #747f91; font-size: 14px; line-height: 1.7; }

.hero-art { position: absolute; right: 78px; top: 0; width: 340px; height: 100%; }
.art-orbit { position: absolute; border: 1px solid rgba(100, 89, 232, .14); border-radius: 50%; }
.orbit-one { width: 275px; height: 275px; right: 15px; top: 19px; }
.orbit-two { width: 215px; height: 215px; right: 45px; top: 49px; }
.art-product { position: absolute; top: 73px; right: 85px; width: 140px; height: 140px; border-radius: 39px; background: linear-gradient(145deg, #fff, #f6f5ff); display: grid; place-items: center; color: #7970ed; font: 400 95px Manrope, sans-serif; transform: rotate(-11deg); box-shadow: 12px 24px 50px rgba(68, 60, 159, .14), inset 0 1px 2px white; }
.art-tag { position: absolute; right: 4px; top: 72px; background: #fff; padding: 9px 13px; border-radius: 9px; color: #1b9a69; font-size: 16px; font-weight: 700; box-shadow: 0 8px 22px rgba(42, 49, 79, .08); transform: rotate(7deg); }
.art-tag span { font-size: 8px; letter-spacing: 1px; }
.art-spark { position: absolute; color: #f5b95b; font-size: 24px; }
.spark-one { left: 23px; top: 79px; }.spark-two { right: 35px; bottom: 50px; font-size: 15px; color: #8178f1; }

.data-notice { margin: 20px 0 49px; min-height: 47px; padding: 10px 15px; border: 1px solid #f0e5c7; border-radius: 10px; background: #fffcf4; display: flex; align-items: center; gap: 10px; color: #746d5f; }
.notice-icon { width: 17px; height: 17px; flex: 0 0 auto; border: 1px solid #b39450; border-radius: 50%; display: grid; place-items: center; color: #9c7b34; font-size: 11px; font-weight: 700; }
.data-notice p { margin: 0; font-size: 11px; line-height: 1.5; flex: 1; }
.data-notice strong { color: #5c5548; }
.data-notice a { color: #6156d6; text-decoration: none; font-weight: 600; }
.notice-region { color: #a18b5a; font-size: 9px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }

.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 23px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.section-heading h2, .how-heading h2 { margin: 0; font: 700 25px/1.25 Manrope, sans-serif; letter-spacing: -.8px; }
.results-count { color: var(--muted); font-size: 11px; }
.catalog-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.search-box { height: 43px; width: min(425px, 48%); display: flex; align-items: center; gap: 11px; padding: 0 12px; border: 1px solid #e6e9ee; border-radius: 9px; background: white; }
.search-icon { width: 14px; height: 14px; border: 1.7px solid #9098a8; border-radius: 50%; position: relative; flex: 0 0 auto; }
.search-icon::after { content: ""; width: 6px; height: 1.7px; position: absolute; right: -5px; bottom: -2px; background: #9098a8; transform: rotate(47deg); border-radius: 2px; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box input::placeholder { color: #a0a7b3; }
kbd { border: 1px solid #e8ebef; border-radius: 4px; padding: 2px 5px; color: #8e96a5; background: #fafbfc; font: 10px "DM Sans", sans-serif; white-space: nowrap; }
.category-list { display: flex; align-items: center; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.category-list::-webkit-scrollbar { display: none; }
.category-button { flex: 0 0 auto; border: 1px solid #e8ebef; border-radius: 7px; background: white; padding: 9px 12px; color: #7c8594; cursor: pointer; font-size: 10px; font-weight: 600; transition: .18s ease; }
.category-button:hover { border-color: #c9c4ff; color: var(--violet); }
.category-button.selected { color: white; border-color: var(--violet); background: var(--violet); }
.catalog-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.sort-label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.sort-label select { min-height: 38px; max-width: 150px; border: 1px solid var(--line); border-radius: 7px; padding: 0 8px; background: var(--surface-input); color: var(--ink); font: inherit; font-size: 12px; }
.watchlist-filter, .export-button { min-height: 38px; border: 1px solid var(--line); border-radius: 7px; padding: 0 10px; background: var(--surface-input); color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 600; white-space: nowrap; }
.watchlist-filter.selected, .watchlist-filter:hover, .export-button:hover { color: var(--violet); border-color: var(--violet); }
.watchlist-filter span { margin-left: 3px; color: var(--text-faint); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; position: relative; border: 1px solid #eaedf1; border-radius: 12px; background: var(--paper); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(35, 43, 65, .08); }
.card-open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; cursor: pointer; }
.watch-toggle { position: absolute; z-index: 3; top: 8px; right: 9px; width: 33px; height: 33px; border: 1px solid rgba(215, 219, 230, .8); border-radius: 50%; background: rgba(255, 255, 255, .92); color: #747f91; cursor: pointer; font-size: 19px; line-height: 1; }
.watch-toggle.watching { color: #d84b6a; }
.product-image { height: 140px; display: grid; place-items: center; position: relative; background: #f4f5fb; overflow: hidden; }
.product-image::before, .product-image::after { content: ""; position: absolute; width: 150px; height: 150px; border: 1px solid rgba(100, 89, 232, .08); border-radius: 50%; }
.product-image::after { width: 112px; height: 112px; }
.product-art { z-index: 1; display: grid; place-items: center; width: 103px; height: 103px; border-radius: 28px; background: linear-gradient(140deg, #fff, #eeedff); color: var(--violet); font: 500 55px Manrope, sans-serif; box-shadow: 0 13px 23px rgba(56, 54, 120, .11), inset 0 1px 1px #fff; transform: rotate(-6deg); }
.product-art.art-headphones { border-radius: 50%; background: linear-gradient(145deg, #e5f2ff, #fff); color: #4579b8; }
.product-art.art-monitor { width: 111px; height: 77px; border-radius: 12px; background: linear-gradient(145deg, #263346, #667991); color: #a9d3fb; font-size: 48px; transform: none; }
.product-art.art-console { border-radius: 22px; background: linear-gradient(145deg, #eef0f3, #fff); color: #576476; }
.product-art.art-keyboard { width: 119px; height: 76px; border-radius: 14px; background: linear-gradient(145deg, #e9e7ff, #fff); color: #796fe5; font-size: 40px; transform: rotate(-4deg); }
.product-art.art-mouse { width: 78px; height: 106px; border-radius: 48%; background: linear-gradient(145deg, #f8eadf, #fff); color: #c08255; font-size: 46px; }
.product-art.art-phone { width: 68px; height: 120px; border-radius: 18px; background: linear-gradient(145deg, #d8e9f8, #fff); color: #5e7ca3; font-size: 47px; }
.product-art.art-storage { background: linear-gradient(145deg, #e2f3ed, #fff); color: #3d9c79; }
.product-art.art-tablet { width: 79px; height: 108px; border-radius: 18px; background: linear-gradient(145deg, #e9e4ff, #fff); color: #7167ee; font-size: 48px; }
.product-art.art-speaker { width: 77px; height: 94px; border-radius: 28px; background: linear-gradient(145deg, #f5e9df, #fff); color: #b87653; font-size: 47px; }
.deal-badge { position: absolute; left: 11px; top: 11px; z-index: 2; padding: 5px 8px; border-radius: 5px; background: var(--mint); color: var(--green); font-size: 9px; font-weight: 700; }
.compare-hint { position: absolute; right: 10px; top: 11px; color: #8d95a3; font-size: 9px; }
.product-info { padding: 14px 14px 13px; }
.product-brand { margin: 0 0 5px; color: #8992a1; font-size: 9px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.product-name { margin: 0; min-height: 42px; color: #283243; font: 600 13px/1.5 Manrope, sans-serif; letter-spacing: -.1px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 11px; border-top: 1px solid #eef0f3; }
.price-block { display: flex; flex-direction: column; gap: 2px; }
.price-label { color: #8992a1; font-size: 9px; }
.price-value { color: #283243; font: 700 18px Manrope, sans-serif; letter-spacing: -.5px; }
.retailer-count { color: #818a99; font-size: 9px; }
.trend-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; color: #8992a1; font-size: 9px; }
.trend-down { color: #198c62; font-weight: 600; }
.trend-up { color: #d48846; font-weight: 600; }
.empty-state { padding: 36px 0; color: var(--muted); text-align: center; font-size: 13px; }

.how-section { padding: 76px 0 67px; }
.how-heading { margin-bottom: 27px; }
.how-heading .eyebrow { margin-bottom: 8px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.how-card { padding: 19px; border: 1px solid #e9ecf0; border-radius: 10px; background: #fff; }
.how-number { color: var(--violet); font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.how-card h3 { margin: 12px 0 6px; font: 700 13px Manrope, sans-serif; }
.how-card p { margin: 0; color: #7f8998; font-size: 11px; line-height: 1.6; }
.integration-note { max-width: 710px; margin: 20px 0 0; color: #86909f; font-size: 10px; line-height: 1.6; }
.site-footer { min-height: 80px; width: min(1160px, calc(100% - 64px)); margin: 0 auto; border-top: 1px solid #e7eaee; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer-brand { font-size: 16px; }.footer-brand .brand-mark { width: 24px; height: 24px; border-radius: 7px; font-size: 18px; }
.site-footer p, .site-footer > span { margin: 0; color: #8b94a1; font-size: 10px; }

.product-dialog { position: fixed; z-index: 5; inset: 0; display: none; align-items: center; justify-content: center; width: auto; min-width: 0; max-width: none; height: auto; max-height: none; margin: 0; padding: 12px; border: 0; background: transparent; }
.product-dialog[hidden] { display: none; }
.product-dialog.visible { display: flex; }
.dialog-panel { position: relative; display: flex; flex-direction: column; width: min(690px, calc(100vw - 24px)); min-width: 0; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 25px 80px rgba(20, 26, 42, .2); }
.dialog-backdrop { display: none; position: fixed; z-index: 4; inset: 0; background: rgba(27, 33, 48, .24); -webkit-backdrop-filter: blur(9px) saturate(.82); backdrop-filter: blur(9px) saturate(.82); }
.dialog-backdrop.visible { display: block; }
.dialog-close { position: absolute; z-index: 2; top: 12px; right: 13px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 22px; line-height: 1; }
.detail-content { width: 100%; min-width: 0; min-height: 0; padding: 29px; overflow-x: hidden; overflow-y: auto; max-height: calc(100vh - 26px); max-height: calc(100dvh - 26px); overscroll-behavior: contain; }
.detail-top { display: flex; align-items: center; gap: 13px; padding-right: 30px; min-width: 0; }
.detail-top > .product-art.detail-art { width: 48px; height: 48px; flex-basis: 48px; border-radius: 13px; box-shadow: none; font-size: 27px; transform: none; }
.product-photo-gallery { margin-top: 17px; }
.detail-photo-wrap { position: relative; height: 280px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(125, 133, 150, .12); border-radius: 12px; background: #edf0f4; }
.detail-photo { display: block; width: 100%; height: 100%; padding: 14px 48px; object-fit: contain; object-position: center; }
.photo-gallery-arrow { position: absolute; z-index: 1; top: 50%; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px rgba(20, 26, 42, .12); cursor: pointer; font-size: 20px; line-height: 1; transform: translateY(-50%); }
.photo-gallery-arrow.previous { left: 9px; }
.photo-gallery-arrow.next { right: 9px; }
.photo-gallery-arrow:disabled { opacity: 0; pointer-events: none; }
.photo-gallery-counter { position: absolute; right: 8px; bottom: 8px; border-radius: 9px; padding: 2px 6px; background: rgba(25, 29, 41, .7); color: white; font-size: 9px; }
.photo-gallery-thumbnails { display: flex; gap: 5px; margin-top: 6px; overflow-x: auto; scrollbar-width: thin; }
.photo-gallery-thumbnails[hidden] { display: none; }
.gallery-slideshow-toggle { justify-self: start; width: 25px; min-height: 22px; margin-top: 4px; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: var(--surface-input); color: var(--muted); cursor: pointer; font-size: 9px; font-weight: 700; line-height: 1; }
.gallery-slideshow-toggle:hover:not(:disabled) { border-color: var(--violet); color: var(--violet); }
.gallery-slideshow-toggle:disabled { opacity: .55; cursor: default; }
.photo-thumb-item { position: relative; display: block; flex: 0 0 50px; height: 40px; }
.photo-thumb { display: block; width: 100%; height: 100%; padding: 2px; border: 1px solid var(--line); border-radius: 6px; background: #edf0f4; cursor: pointer; }
.photo-thumb:hover, .photo-thumb:focus-visible, .photo-thumb.selected { border-color: var(--violet); outline: none; }
.photo-thumb img { display: block; width: 100%; height: 100%; border-radius: 3px; object-fit: contain; }
.photo-thumb-source { position: absolute; top: 3px; right: 3px; width: 15px; height: 15px; border-radius: 4px; background: rgba(255, 255, 255, .92); color: #5e55d5; text-align: center; text-decoration: none; font-size: 11px; line-height: 15px; }
.photo-gallery-status { min-height: 14px; margin: 6px 0 0; color: var(--muted); font-size: 10px; }
.photo-credit { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.photo-credit a { color: var(--violet); text-decoration: underline; text-underline-offset: 2px; }
.photo-unavailable { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; background: var(--surface-soft); color: var(--muted); font-size: 12px; text-align: center; }
.photo-unavailable[hidden] { display: none; }
.photo-unavailable .product-art { position: static; }
.detail-photo-unavailable { position: absolute; inset: 0; }
.detail-photo-wrap .product-art { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.detail-art { flex: 0 0 auto; width: 73px; height: 73px; border-radius: 20px; font-size: 39px; }
.detail-art.art-tablet { width: 52px; height: 74px; border-radius: 12px; }
.detail-art.art-speaker { width: 65px; height: 82px; border-radius: 24px; }
.detail-title-wrap .product-brand { margin-bottom: 5px; }
.detail-title-wrap h2 { margin: 0 0 5px; font: 700 20px/1.3 Manrope, sans-serif; letter-spacing: -.6px; }
.detail-subtitle { margin: 0; color: #8992a1; font-size: 10px; }
.detail-price-line { display: flex; align-items: baseline; gap: 9px; margin: 22px 0 20px; }
.detail-price-line strong { font: 800 29px Manrope, sans-serif; letter-spacing: -1px; }
.detail-price-line span { color: #818b99; font-size: 11px; }
.chart-panel { min-width: 0; border: 1px solid #edf0f3; border-radius: 10px; padding: 14px 15px 10px; }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.chart-head strong { font: 600 11px Manrope, sans-serif; }
.chart-legend { color: #8790a0; font-size: 9px; }
.chart-legend i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: var(--violet); }
.range-row { display: flex; justify-content: flex-end; gap: 5px; margin: 7px 0 2px; }
.range-button { min-width: 35px; border: 1px solid var(--line); border-radius: 5px; padding: 4px 7px; background: var(--surface-input); color: var(--muted); cursor: pointer; font-size: 11px; }
.range-button.selected { background: var(--violet); border-color: var(--violet); color: white; }
.price-stats { display: flex; justify-content: space-between; gap: 9px; padding: 7px 0 2px; border-top: 1px solid var(--line); }
.price-stats span { display: flex; flex-direction: column; gap: 3px; }
.price-stats small { color: var(--muted); font-size: 10px; }
.price-stats strong { color: var(--ink); font-size: 12px; }
.alert-form { margin: 17px 0 3px; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
.alert-form label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 13px; font-weight: 700; }
.alert-form > div { display: flex; align-items: center; gap: 7px; }
.alert-form > div > span { color: var(--muted); }
.alert-form input { min-width: 0; flex: 1; min-height: 38px; border: 1px solid var(--line); border-radius: 6px; padding: 0 9px; background: var(--surface-input); color: var(--ink); font-size: 14px; }
.alert-form button { min-height: 38px; border: 0; border-radius: 6px; padding: 0 11px; background: var(--violet); color: white; cursor: pointer; font-size: 12px; font-weight: 700; }
.alert-form > small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.price-chart { display: block; width: 100%; max-width: 100%; height: 170px; overflow: hidden; }
.chart-tick { fill: #9ba3af; font: 9px "DM Sans", sans-serif; }
.chart-gridline { stroke: #edf0f3; stroke-width: 1; }
.chart-area { fill: url(#chart-gradient); }
.chart-line { fill: none; stroke: var(--violet); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.offers-heading { margin: 22px 0 9px; font: 700 12px Manrope, sans-serif; }
.offers-notice { color: #9aa2ad; font-weight: 400; }
.offer-list { display: flex; flex-direction: column; }
.offer-row { min-height: 51px; min-width: 0; border-top: 1px solid #eff1f4; display: flex; align-items: center; gap: 10px; }
.offer-list.store-gateway-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.store-gateway-link { min-width: 0; min-height: 42px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; color: var(--ink); text-decoration: none; font-size: 10px; font-weight: 600; }
.store-gateway-link:hover { border-color: var(--violet); background: var(--surface-soft); }
.store-gateway-link .store-icon { flex: 0 0 27px; }
.store-gateway-link > span:nth-child(2) { min-width: 0; flex: 1; }
.store-gateway-link > span:last-child { color: var(--violet); font-size: 9px; white-space: nowrap; }
.gateway-price-note { margin: 17px 0 6px; color: var(--ink); font: 700 14px Manrope, sans-serif; }
.gateway-disclosure { margin: 11px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.store-icon { width: 27px; height: 27px; border-radius: 8px; display: grid; place-items: center; background: #f2f3fa; color: #656bd4; font-size: 12px; font-weight: 700; }
.store-info { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.store-info strong { font-size: 10px; }.store-info span { color: #939ba8; font-size: 9px; }
.offer-price { font: 700 12px Manrope, sans-serif; }
.offer-link { border: 1px solid #e8eaf0; border-radius: 6px; padding: 6px 8px; color: #5e55d5; text-decoration: none; font-size: 9px; font-weight: 600; }
.offer-link:hover { background: #f4f3ff; }
[data-theme="dark"] .store-gateway-link { background: var(--surface-soft); color: var(--ink); }
[data-theme="dark"] .store-gateway-link:hover { background: #302d4b; }
.review-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 17px; border-radius: 7px; background: #fff0f0; padding: 10px 12px; color: #bc4c52; text-decoration: none; font-size: 10px; font-weight: 600; }
.review-link:hover { background: #ffe6e6; }
.share-product { margin: 12px 0 0; padding: 0; border: 0; background: none; color: var(--violet); cursor: pointer; font-size: 12px; font-weight: 600; }
.video-play { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; background: #d84450; color: white; font-size: 8px; }
.toast { position: fixed; z-index: 10; bottom: 19px; left: 50%; transform: translate(-50%, 12px); padding: 9px 14px; border: 1px solid #e8ebef; border-radius: 8px; background: white; color: #586274; box-shadow: 0 5px 20px rgba(30, 39, 61, .1); font-size: 11px; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.visible { transform: translate(-50%, 0); opacity: 1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 900px) {
  .hero { padding-left: 48px; }
  .hero-art { right: 14px; transform: scale(.82); transform-origin: center right; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-controls { align-items: flex-start; flex-direction: column; }
  .search-box { width: 100%; }
  .category-list { max-width: 100%; }
  .catalog-actions { width: 100%; flex-wrap: wrap; margin: 0; }
  .sort-label { flex: 1; }
  .sort-label select { flex: 1; max-width: none; }
}

@media (max-width: 650px) {
  .site-header, main, .site-footer { width: calc(100% - 36px); }
  .site-header { height: 62px; }
  .main-nav { gap: 14px; margin: 0; }
  .nav-link { font-size: 11px; }
  .header-note { font-size: 0; gap: 0; }
  .status-dot { width: 9px; height: 9px; }
  .hero { min-height: 300px; padding: 33px 25px; align-items: flex-start; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: 46px; }
  .hero-description { max-width: 310px; font-size: 12px; }
  .hero-art { right: -45px; top: 94px; transform: scale(.53); opacity: .42; }
  .data-notice { align-items: flex-start; margin: 15px 0 39px; }
  .notice-region { display: none; }
  .section-heading h2, .how-heading h2 { font-size: 21px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-image { height: 133px; }
  .product-art { width: 85px; height: 85px; font-size: 45px; }
  .product-art.art-monitor { width: 95px; height: 66px; font-size: 39px; }
  .product-art.art-keyboard { width: 99px; height: 65px; font-size: 34px; }
  .product-art.art-mouse { width: 67px; height: 89px; font-size: 39px; }
  .product-art.art-phone { width: 58px; height: 101px; font-size: 39px; }
  .product-info { padding: 11px 10px 10px; }
  .product-name { font-size: 11px; min-height: 48px; }
  .price-value { font-size: 16px; }
  .retailer-count { font-size: 8px; }
  .how-section { padding: 55px 0 48px; }
  .how-grid { grid-template-columns: 1fr; }
  .how-card { padding: 15px; }
  .how-card h3 { margin-top: 7px; }
  .site-footer { min-height: 88px; flex-wrap: wrap; justify-content: space-between; padding: 15px 0; }
  .site-footer p { order: 3; width: 100%; }
  .product-dialog { padding: 10px; }
  .dialog-panel { width: calc(100vw - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 13px; }
  .detail-content { max-height: calc(100vh - 22px); max-height: calc(100dvh - 22px); padding: 20px 16px; }
  .detail-title-wrap h2 { font-size: 16px; }
  .price-chart { height: 143px; }
  .offer-link { padding: 6px; }
  .alert-form > div { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .product-dialog { padding: 8px; }
  .dialog-panel { width: calc(100vw - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); }
  .detail-content { max-height: calc(100vh - 18px); max-height: calc(100dvh - 18px); padding: 17px 13px; }
  .detail-top { padding-right: 27px; gap: 10px; }
  .detail-title-wrap { min-width: 0; overflow-wrap: anywhere; }
  .detail-title-wrap h2 { font-size: 15px; }
  .detail-subtitle { font-size: 11px; }
  .detail-photo-wrap { height: 220px; }
  .detail-price-line { align-items: flex-start; flex-direction: column; gap: 4px; margin: 16px 0; }
  .chart-panel { padding: 10px 8px 7px; }
  .chart-head { align-items: flex-start; flex-direction: column; }
  .offer-row { flex-wrap: wrap; gap: 7px; padding: 8px 0; }
  .store-info { flex-basis: calc(100% - 45px); }
  .offer-price { margin-left: 34px; }
  .offer-link { margin-left: auto; }
  .offer-list.store-gateway-list { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .main-nav { gap: 10px; }
  .nav-link { font-size: 10px; }
  .brand { font-size: 17px; }
  .product-grid { gap: 8px; }
  .product-image { height: 118px; }
  .compare-hint { display: none; }
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e7eaf2;
  --muted: #a5aec0;
  --line: #303746;
  --paper: #202633;
  --canvas: #171b24;
  --surface-soft: #272e3b;
  --surface-input: #202633;
  --text-soft: #afb8c8;
  --text-faint: #a0a9ba;
  --hero: #24273c;
  --notice: #2b291f;
  --notice-line: #514631;
  --mint: #203d35;
  --green: #83d5ae;
  --violet: #a59cff;
  --violet-dark: #8e84f4;
}

[data-theme="dark"] body { background: var(--canvas); color: var(--ink); }
[data-theme="dark"] .brand, [data-theme="dark"] .hero h1, [data-theme="dark"] .product-name,
[data-theme="dark"] .price-value { color: var(--ink); }
[data-theme="dark"] .brand-light { color: var(--text-faint); }
[data-theme="dark"] .nav-link, [data-theme="dark"] .header-note { color: var(--muted); }
[data-theme="dark"] .hero { background: var(--hero); }
[data-theme="dark"] .hero-description { color: var(--text-soft); }
[data-theme="dark"] .data-notice { color: #d8c99d; background: var(--notice); border-color: var(--notice-line); }
[data-theme="dark"] .data-notice strong { color: #f2dfaa; }
[data-theme="dark"] .data-notice a { color: #b7afff; }
[data-theme="dark"] .product-card, [data-theme="dark"] .search-box,
[data-theme="dark"] .category-button, [data-theme="dark"] .how-card,
[data-theme="dark"] .product-dialog, [data-theme="dark"] .chart-panel { background-color: var(--paper); color: var(--ink); }
[data-theme="dark"] .product-card { border-color: var(--line); }
[data-theme="dark"] .search-box, [data-theme="dark"] .category-button { border-color: var(--line); }
[data-theme="dark"] .search-box input { color: var(--ink); }
[data-theme="dark"] .product-image { background: var(--surface-soft); }
[data-theme="dark"] .product-info, [data-theme="dark"] .detail-content { color: var(--ink); }
[data-theme="dark"] .product-meta { border-color: var(--line); }
[data-theme="dark"] .product-dialog { border-color: var(--line); }
[data-theme="dark"] .dialog-close, [data-theme="dark"] .toast { background: var(--paper); color: var(--ink); border-color: var(--line); }
[data-theme="dark"] .chart-gridline { stroke: #374050; }
[data-theme="dark"] .chart-tick { fill: #abb4c4; }
[data-theme="dark"] .store-icon { background: var(--surface-soft); color: var(--violet); }
[data-theme="dark"] .offer-link { color: #b7afff; border-color: var(--line); background: transparent; }
[data-theme="dark"] .offer-link:hover { background: #302d4b; }
[data-theme="dark"] .offer-row, [data-theme="dark"] .site-footer { border-color: var(--line); }
[data-theme="dark"] .category-button.selected { background: var(--violet); color: #171923; border-color: var(--violet); }
[data-theme="dark"] .deal-badge { background: #203d35; color: #9be2bf; }
[data-theme="dark"] .watch-toggle { background: rgba(32, 38, 51, .94); border-color: #4a5362; color: #c2c9d4; }
[data-theme="dark"] .watch-toggle.watching { color: #ff8ba0; }
[data-theme="dark"] .range-button.selected { color: #171923; }
[data-theme="dark"] .dialog-panel { background: var(--paper); }

.art-product { overflow: hidden; }
.art-product img { width: 100%; height: 100%; object-fit: cover; transform: rotate(11deg) scale(1.15); }
.product-photo { position: absolute; inset: 0; width: 100%; height: 100%; padding: 12px 22px; object-fit: contain; }
.product-art[hidden] { display: none; }
.hero { background: var(--hero); }
.hero-description { color: var(--text-soft); font-size: 16px; }
.data-notice { background: var(--notice); border-color: var(--notice-line); }
.data-notice p { font-size: 13px; }
.section-heading h2, .how-heading h2 { font-size: 27px; }
.results-count { font-size: 13px; }
.search-box { height: 47px; background: var(--surface-input); border-color: var(--line); }
.search-box input { font-size: 14px; }
.category-button { padding: 10px 13px; background: var(--surface-input); border-color: var(--line); font-size: 12px; }
.product-image { height: 180px; background: var(--surface-soft); }
.product-name { min-height: 48px; color: var(--ink); font-size: 15px; line-height: 1.45; }
.price-value { color: var(--ink); font-size: 20px; }
.retailer-count { color: var(--muted); font-size: 11px; }
.trend-row { color: var(--text-faint); font-size: 11px; }
.how-card { background: var(--paper); border-color: var(--line); }
.how-card p { color: var(--muted); font-size: 13px; }
.chart-panel { background: var(--paper); border-color: var(--line); }
.offer-row { border-color: var(--line); }
.store-icon { background: var(--surface-soft); color: var(--violet); }
.offer-link { border-color: var(--line); color: var(--violet); font-size: 11px; }
[data-theme="dark"] .alert-form { background: var(--surface-soft); border-color: var(--line); }
[data-theme="dark"] .sort-label select, [data-theme="dark"] .watchlist-filter, [data-theme="dark"] .export-button { background: var(--surface-input); color: var(--ink); border-color: var(--line); }
[data-theme="dark"] .watchlist-filter.selected, [data-theme="dark"] .watchlist-filter:hover,
[data-theme="dark"] .export-button:hover { color: var(--violet); border-color: var(--violet); }

.site-header { gap: 16px; }
.main-nav { margin-left: auto; }
.currency-control { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 600; }
.currency-control select { min-height: 37px; border: 1px solid var(--line); border-radius: 8px; padding: 0 9px; background: var(--surface-input); color: var(--ink); font: inherit; font-size: 13px; }
.hero { min-height: 242px; padding: 38px 48px; }
.hero-art { display: none; }
.hero-copy { max-width: 610px; }
.hero-description { max-width: 470px; }
.data-notice { margin-bottom: 36px; }
.catalog-controls { flex-wrap: wrap; }
.category-list { flex: 1 1 100%; order: 2; }
.catalog-actions { order: 3; }
.search-box { flex: 1 1 340px; }
.product-grid { gap: 13px; }
.product-card { padding-bottom: 10px; border-radius: 10px; }
.product-card:hover { transform: translateY(-2px); }
.product-image { height: 168px; }
.product-info { padding: 13px 13px 8px; }
.product-name { min-height: 44px; }
.watch-toggle { top: 9px; right: 9px; }
.card-review-link { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 26px); min-height: 37px; margin: 2px 13px 0; border: 1px solid #f1c8c8; border-radius: 7px; background: #fff6f5; color: #b3313d; text-decoration: none; font-size: 13px; font-weight: 700; transition: background .15s ease, transform .15s ease; }
.card-review-link span { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #d83b48; color: white; font-size: 9px; }
.card-review-link:hover { transform: translateY(-1px); background: #ffebea; }
.review-feature { display: flex; align-items: center; gap: 13px; margin: 0 0 18px; padding: 14px; border: 1px solid #f0cecd; border-radius: 11px; background: #fff5f4; color: #332a2b; }
.review-feature-icon { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border-radius: 12px; background: #d83b48; color: white; font-size: 18px; }
.review-feature > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 4px; }
.review-feature strong { font-size: 15px; }
.review-feature small { color: #78696a; font-size: 12px; }
.review-feature .review-link { flex: 0 0 auto; margin: 0; padding: 10px 13px; border-radius: 7px; background: #d83b48; color: white; font-size: 13px; }
.review-feature .review-link:hover { background: #b82c39; }
.sample-price-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
[data-theme="dark"] .card-review-link { border-color: #73434a; background: #34252b; color: #ffbec4; }
[data-theme="dark"] .card-review-link:hover { background: #442c33; }
[data-theme="dark"] .review-feature { border-color: #74464d; background: #30242a; color: #f3e6e7; }
[data-theme="dark"] .review-feature small { color: #cfb7bb; }
[data-theme="dark"] .review-feature .review-link { background: #d83b48; color: white; }

.brand-name { display: inline-flex; align-items: baseline; gap: 2px; }
.brand-it { color: #f06a59; font-weight: 800; }
.brand-mark { background: linear-gradient(145deg, #7167ee, #f06a59); box-shadow: 0 5px 13px rgba(100, 89, 232, .2); }
.hero { border: 1px solid rgba(113, 103, 238, .13); background: radial-gradient(ellipse at 84% 18%, rgba(255, 255, 255, .9), transparent 32%), linear-gradient(120deg, #f0efff 2%, #f8f2ff 58%, #fff0ea 100%); }
.hero .eyebrow { width: fit-content; padding: 7px 10px; border: 1px solid rgba(100, 89, 232, .16); border-radius: 999px; background: rgba(255, 255, 255, .64); font-size: 9px; }
.product-card { border-color: rgba(100, 89, 232, .12); box-shadow: 0 5px 20px rgba(31, 40, 71, .035); }
.product-card:hover { border-color: rgba(100, 89, 232, .42); box-shadow: 0 14px 32px rgba(54, 48, 130, .1); }
.chart-panel { margin-top: 18px; }
[data-theme="dark"] .hero { border-color: #3a3b56; background: radial-gradient(ellipse at 84% 18%, rgba(124, 103, 182, .17), transparent 34%), linear-gradient(120deg, #252740, #292438 64%, #33262f); }
[data-theme="dark"] .hero .eyebrow { background: rgba(32, 38, 51, .72); border-color: #464365; }
[data-theme="dark"] .product-card { box-shadow: 0 5px 20px rgba(0, 0, 0, .12); }

@media (max-width: 650px) {
  .product-art.art-tablet { width: 63px; height: 89px; }
  .product-art.art-speaker { width: 62px; height: 77px; }
  .detail-art.art-tablet { width: 42px; height: 62px; }
  .detail-art.art-speaker { width: 54px; height: 67px; }
}

@media (max-width: 900px) {
  .site-header { gap: 10px; }
  .main-nav { margin-left: auto; }
  .header-note { display: none; }
  .catalog-actions { margin-left: 0; }
}

@media (max-width: 650px) {
  .site-header { height: auto; min-height: 64px; flex-wrap: wrap; justify-content: space-between; padding: 10px 0; }
  .brand { order: 1; }
  .main-nav { order: 3; width: 100%; justify-content: flex-start; margin: 3px 0 0; }
  .theme-toggle { order: 2; }
  .currency-control { order: 2; gap: 4px; font-size: 11px; }
  .currency-control select { min-height: 35px; padding: 0 6px; font-size: 12px; }
  .hero { min-height: 210px; padding: 29px 23px; }
  .hero-description { font-size: 14px; }
  .product-grid { gap: 10px; }
  .product-image { height: 128px; }
  .product-info { padding: 11px 10px 7px; }
  .card-review-link { width: calc(100% - 20px); min-height: 35px; margin: 2px 10px 0; font-size: 12px; }
  .review-feature { align-items: flex-start; flex-wrap: wrap; gap: 10px; padding: 11px; }
  .review-feature > span:nth-child(2) { min-height: 43px; justify-content: center; }
  .review-feature .review-link { width: 100%; justify-content: center; margin-left: 0; }
}

@media (max-width: 380px) {
  .currency-control > span { display: none; }
  .currency-control select { max-width: 82px; }
  .theme-label { display: none; }
  .theme-toggle { width: 37px; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.watchlist-panel {
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}
.watchlist-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.watchlist-panel-heading .eyebrow { margin-bottom: 3px; color: var(--muted); font-size: 9px; }
.watchlist-panel-heading h3 { margin: 0; font: 700 17px/1.3 Manrope, "Segoe UI", sans-serif; letter-spacing: -.35px; }
.watchlist-panel-count { min-width: 27px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); color: var(--muted); font-size: 11px; font-weight: 700; text-align: center; }
.watchlist-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.watchlist-item { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); cursor: pointer; text-align: left; }
.watchlist-item:hover, .watchlist-item:focus-visible { outline: 0; border-color: var(--violet); background: var(--surface-soft); }
.watchlist-item img, .watchlist-item-art { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 6px; background: var(--surface-soft); color: var(--violet); font-size: 18px; object-fit: cover; }
.watchlist-item-art[hidden] { display: none; }
.watchlist-item-copy { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.watchlist-item-copy small { overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.watchlist-item-copy strong { overflow: hidden; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.watchlist-item-copy > span { color: var(--violet); font-size: 10px; font-weight: 700; }
.watchlist-empty { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.watchlist-view-all { margin: 9px 2px 0; padding: 0; border: 0; background: transparent; color: var(--violet); cursor: pointer; font-size: 11px; font-weight: 700; }
.load-more { display: block; min-height: 43px; margin: 20px auto 0; padding: 0 20px; border: 1px solid rgba(100, 89, 232, .25); border-radius: 9px; background: var(--paper); color: var(--violet); cursor: pointer; font-size: 13px; font-weight: 700; }
.load-more:hover { border-color: var(--violet); background: var(--surface-soft); }
.load-more[hidden] { display: none; }
.card-open:focus-visible, .watch-toggle:focus-visible, .card-review-link:focus-visible, .watchlist-item:focus-visible,
.watchlist-view-all:focus-visible, .load-more:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
[data-theme="dark"] .load-more { background: var(--paper); color: var(--violet); }

@media (max-width: 700px) {
  .watchlist-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watchlist-panel { padding: 11px; }
}

@media (max-width: 480px) {
  .site-header, main, .site-footer { width: calc(100% - 28px); }
  .site-header { min-height: 58px; gap: 6px; }
  .brand { gap: 7px; font-size: 16px; }
  .brand-mark { width: 27px; height: 27px; }
  .main-nav { gap: 14px; }
  .hero { min-height: 178px; padding: 21px 17px; }
  .hero .eyebrow { padding: 6px 8px; font-size: 8px; letter-spacing: .8px; }
  .hero h1 { font-size: clamp(32px, 9vw, 41px); letter-spacing: -1.8px; }
  .hero-description { max-width: 270px; margin-top: 9px; font-size: 12px; line-height: 1.5; }
  .data-notice { margin: 12px 0 28px; padding: 9px 10px; gap: 8px; }
  .data-notice p { font-size: 11px; }
  .section-heading { margin-bottom: 15px; }
  .section-heading h2 { font-size: 21px; }
  .catalog-controls { gap: 11px; margin-bottom: 15px; }
  .search-box { height: 42px; }
  .search-box kbd { display: none; }
  .catalog-actions { gap: 6px; }
  .sort-label { font-size: 11px; }
  .sort-label select, .watchlist-filter, .export-button { min-height: 35px; padding: 0 8px; font-size: 11px; }
  .category-list { gap: 6px; }
  .category-button { padding: 8px 10px; font-size: 11px; }
  .watchlist-panel { margin-bottom: 13px; padding: 9px; border-radius: 9px; }
  .watchlist-panel-heading h3 { font-size: 15px; }
  .watchlist-items { gap: 6px; }
  .watchlist-item { gap: 6px; padding: 5px; }
  .watchlist-item img, .watchlist-item-art { flex-basis: 32px; width: 32px; height: 32px; }
  .watchlist-item-copy strong { font-size: 9px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-card { border-radius: 10px; }
  .product-image { height: 104px; }
  .product-image::before { width: 94px; height: 94px; }
  .product-image::after { width: 72px; height: 72px; }
  .deal-badge { top: 7px; left: 7px; padding: 4px 5px; font-size: 8px; }
  .compare-hint { display: none; }
  .product-info { padding: 8px 8px 7px; }
  .product-brand { margin-bottom: 3px; font-size: 8px; }
  .product-name { min-height: 35px; font-size: 12px; line-height: 1.35; }
  .product-meta { gap: 4px; margin-top: 7px; padding-top: 7px; }
  .price-label { font-size: 8px; }
  .price-value { font-size: 15px; }
  .retailer-count { font-size: 8px; }
  .trend-row { display: none; }
  .watch-toggle { top: 7px; right: 7px; width: 29px; height: 29px; }
  .card-review-link { width: calc(100% - 14px); min-height: 30px; margin: 1px 7px 7px; gap: 5px; font-size: 10px; }
  .card-review-link span { width: 15px; height: 15px; }
  .load-more { min-height: 39px; margin-top: 13px; font-size: 12px; }
  .dialog-backdrop { -webkit-backdrop-filter: blur(7px) saturate(.82); backdrop-filter: blur(7px) saturate(.82); }
  .product-dialog { padding: 7px; }
  .dialog-panel { width: calc(100vw - 14px); max-height: calc(100dvh - 14px); border-radius: 12px; }
  .detail-content { max-height: calc(100dvh - 14px); padding: 17px 12px; }
}
[data-theme="dark"] .photo-thumb-source { background: rgba(30, 33, 45, .92); }

@media (max-width: 650px) {
  .header-note { display: none; }
  .theme-toggle { min-height: 35px; padding: 0 8px; font-size: 12px; }
  .hero-description { font-size: 14px; }
  .product-image { height: 133px; }
  .product-name { font-size: 13px; }
  .price-value { font-size: 18px; }
  .retailer-count { font-size: 10px; }
}

.product-dialog.visible { align-items: stretch; padding: 0; }
.dialog-panel { width: 100%; height: 100vh; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
.dialog-panel > #dialog-content { display: flex; flex: 1 1 auto; width: 100%; height: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.detail-content { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); grid-template-rows: auto minmax(0, 1fr); gap: 0 clamp(24px, 3vw, 48px); width: min(100%, 1440px); height: 100%; max-height: none; margin: 0 auto; padding: 24px clamp(20px, 4vw, 64px) 30px; overflow: hidden; }
.detail-top { grid-column: 1 / -1; grid-row: 1; max-width: 100%; padding-bottom: 16px; }
.product-photo-gallery { grid-column: 1; grid-row: 2; display: grid; grid-template-rows: minmax(0, 1fr) auto auto auto; min-width: 0; min-height: 0; margin: 0; }
.detail-photo-wrap { height: auto; min-height: 0; border-radius: 14px; background: #edf0f4; }
.detail-photo { padding: 14px; cursor: zoom-in; }
.detail-info-column { grid-column: 2; grid-row: 2; min-width: 0; min-height: 0; padding: 0 8px 26px 0; overflow-x: hidden; overflow-y: scroll; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #757f93 transparent; }
.detail-info-column::-webkit-scrollbar { width: 8px; }
.detail-info-column::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 8px; background: #757f93; background-clip: padding-box; }
.detail-info-column::-webkit-scrollbar-track { background: transparent; }
.detail-info-column .offers-heading { margin-top: 15px; }
.detail-info-column .review-feature { margin-top: 18px; }
.detail-top > .product-art.detail-art { width: 38px; height: 38px; flex-basis: 38px; border-radius: 11px; font-size: 22px; }

@media (max-width: 760px) {
  .dialog-panel > #dialog-content { display: block; height: 100%; overflow: hidden; }
  .detail-content { display: flex; flex-direction: column; gap: 0; padding: 58px 16px 28px; overflow-x: hidden; overflow-y: auto; }
  .detail-top { flex: 0 0 auto; padding-bottom: 13px; }
  .product-photo-gallery { display: block; flex: 0 0 auto; margin: 0; }
  .detail-photo-wrap { height: clamp(230px, 40vh, 360px); min-height: 0; }
  .detail-info-column { flex: 0 0 auto; overflow: visible; padding: 0 0 24px; }
}

[data-theme="dark"] .detail-photo-wrap { background: #282d38; }

.photo-lightbox { position: fixed; z-index: 9; inset: 0; display: none; overflow: auto; overscroll-behavior: contain; background: rgba(12, 15, 22, .97); }
.photo-lightbox.visible { display: block; }
.photo-lightbox[hidden] { display: none; }
.photo-lightbox-figure { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 100vh; min-height: 100dvh; margin: 0; padding: 24px 72px; }
.photo-lightbox-figure img { display: block; flex: 0 0 auto; width: auto; height: auto; max-width: none; max-height: none; object-fit: contain; }
.photo-lightbox-figure figcaption { max-width: 100%; padding: 12px 0 0; color: #d4d9e3; text-align: center; font-size: 13px; }
.photo-lightbox-close, .photo-lightbox-arrow { position: fixed; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; background: rgba(31, 36, 48, .88); color: white; cursor: pointer; }
.photo-lightbox-close { top: 18px; right: 18px; font-size: 28px; line-height: 1; }
.photo-lightbox-arrow { top: 50%; font-size: 29px; transform: translateY(-50%); }
.photo-lightbox-arrow.previous { left: 18px; }
.photo-lightbox-arrow.next { right: 18px; }
.photo-lightbox-arrow:disabled { display: none; }
.photo-lightbox-scroll { position: fixed; z-index: 1; right: 50%; bottom: 14px; transform: translateX(50%); min-height: 36px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 18px; padding: 0 13px; background: rgba(31, 36, 48, .9); color: white; cursor: pointer; font-size: 12px; }
.photo-lightbox-scroll[hidden] { display: none; }

@media (max-width: 650px) {
  .photo-lightbox-figure { justify-content: flex-start; padding: 72px 12px 24px; }
  .photo-lightbox-close { top: 12px; right: 12px; }
  .photo-lightbox-arrow { top: 48%; width: 38px; height: 38px; }
  .photo-lightbox-arrow.previous { left: 8px; }
  .photo-lightbox-arrow.next { right: 8px; }
}
