.page--product { background: #fff; }

.product-hero { padding: 42px 0 64px; background: linear-gradient(180deg, #fff 0, #f3f7fb 100%); }
.product-hero__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 64px; align-items: start; }
.product-hero__media { position: sticky; top: calc(var(--header-height) + 24px); display: grid; min-height: 0; aspect-ratio: 4 / 3; place-items: center; overflow: hidden; border: 0; border-radius: 30px; background: #eef2f5; }
.product-hero__media img { display: block; width: 100%; height: 100%; max-height: none; padding: 0; object-fit: cover; }
.product-hero__badge { position: absolute; z-index: 1; top: 20px; left: 20px; padding: 8px 12px; border-radius: 999px; color: #fff; background: var(--blue); font-size: 12px; font-weight: 800; }
.product-hero__body h1 { max-width: 720px; margin: 10px 0 18px; font-size: clamp(42px, 5vw, 68px); line-height: .98; letter-spacing: -.052em; }
.product-hero__intro { max-width: 690px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.product-hero__identity { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0; color: var(--muted); font-size: 13px; }
.product-hero__identity strong { margin-left: 5px; color: var(--dark); }
.product-hero__status { display: inline-flex; align-items: center; gap: 7px; color: var(--dark); font-weight: 700; }
.product-hero__status i { width: 8px; height: 8px; border-radius: 50%; background: #35a965; box-shadow: 0 0 0 5px #e4f6eb; }

.product-spec-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 22px; }
.product-spec-highlight { min-width: 0; padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.product-spec-highlight span, .product-spec-highlight strong { display: block; }
.product-spec-highlight span { overflow: hidden; margin-bottom: 5px; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.product-spec-highlight strong { font-size: 16px; }
.product-spec-highlight small { font-size: .82em; font-weight: 600; }

.product-buybox { padding: 24px; border-radius: 24px; color: #fff; background: #101820; box-shadow: 0 18px 48px rgba(18, 31, 44, .12); }
.product-buybox__price :is(.product-price-block, .product-price) :is(small, strong, span) { display: block; }
.product-buybox__price :is(.product-price-block, .product-price) strong { margin-top: 4px; font-size: 30px; }
.product-buybox__price .product-price span { margin-top: 5px; color: #aebbc8; font-size: 12px; }
.product-buybox > p { margin: 10px 0 18px; color: #aebbc8; font-size: 13px; }
.product-buybox__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.product-buybox .btn--light { border-color: #344352; color: #fff; background: #1b2732; }

.product-tabs-section { min-height: 460px; }
.product-tabs-bar { position: sticky; z-index: 20; top: var(--header-height); border-block: 1px solid var(--line); background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px); }
.product-tabs-list { display: flex; gap: 8px; overflow-x: auto; padding-top: 9px; padding-bottom: 9px; scrollbar-width: none; }
.product-tabs-list::-webkit-scrollbar { display: none; }
.product-tab { display: inline-flex; min-height: 42px; flex: none; align-items: center; gap: 7px; padding: 0 15px; border: 1px solid transparent; border-radius: 12px; color: #566574; background: transparent; font-size: 14px; font-weight: 750; transition: color .18s, border-color .18s, background .18s, box-shadow .18s; }
.product-tab:hover { color: var(--blue); background: var(--blue-soft); }
.product-tab.is-active { border-color: #d3e2f7; color: var(--blue); background: #edf5ff; box-shadow: inset 0 0 0 1px rgba(23, 105, 255, .03); }
.product-tab:focus-visible { outline: 3px solid rgba(23, 105, 255, .2); outline-offset: 2px; }
.product-tab span { display: grid; min-width: 22px; height: 22px; padding: 0 6px; place-items: center; border-radius: 8px; color: var(--blue); background: #fff; font-size: 11px; }
.product-tabs-panels { background: #fff; }
.product-tab-panel { padding: clamp(52px, 6vw, 82px) 0; animation: product-panel-in .22s ease; }
.product-tab-panel[hidden] { display: none; }
.product-tab-panel:focus { outline: none; }
@keyframes product-panel-in { from { opacity: .4; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .product-tab-panel { animation: none; } }

.product-description-content { min-width: 0; }
.product-description-content .markdown-embed + .markdown-embed { margin-top: 48px; padding-top: 44px; border-top: 1px solid var(--line); }
.product-panel-heading { margin-bottom: 30px; }
.product-panel-heading h2 { max-width: 760px; margin: 9px 0 12px; font-size: clamp(34px, 4vw, 50px); line-height: 1.04; letter-spacing: -.04em; }
.product-panel-heading p { max-width: 650px; margin: 0; color: var(--muted); }

.product-tab-panel--specifications { background: #f5f8fb; }
.product-specifications__grid { overflow: hidden; border: 1px solid #dce5ee; border-radius: 24px; background: #fff; box-shadow: 0 12px 38px rgba(24, 49, 76, .045); }
.product-spec-group { display: grid; grid-template-columns: minmax(210px, .32fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); background: #fff; }
.product-spec-group:last-child { border-bottom: 0; }
.product-spec-group h3 { margin: 0; padding: 22px 24px; border-right: 1px solid var(--line); color: #263544; background: #f7f9fc; font-size: 15px; line-height: 1.4; }
.product-spec-group dl { margin: 0; }
.product-spec-row { display: grid; min-height: 52px; grid-template-columns: minmax(0, 1fr) minmax(150px, .62fr); align-items: center; gap: 28px; padding: 12px 24px; border-bottom: 1px solid #edf1f5; transition: background .16s; }
.product-spec-row:last-child { border-bottom: 0; }
.product-spec-row:hover { background: #f8fbff; }
.product-spec-row dt, .product-spec-row dd { margin: 0; font-size: 14px; line-height: 1.4; }
.product-spec-row dt { color: #637286; }
.product-spec-row dd { color: #172431; text-align: right; }
.product-spec-row dd span { font-weight: 750; }
.product-spec-row dd small { font-size: 12px; }
.product-spec-row__hint { display: inline-grid; width: 18px; height: 18px; margin-left: 6px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: #617184; background: #eaf0f6; font-size: 11px; cursor: help; }
.product-specifications__note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--muted); font-size: 12px; }
.product-specifications__note::before { display: block; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #9aabba; content: ''; }

.product-features-section__grid { display: grid; grid-template-columns: minmax(260px, .62fr) minmax(0, 1.38fr); gap: 70px; align-items: start; }
.product-features-section__grid h2 { margin: 10px 0 14px; font-size: clamp(34px, 4vw, 52px); }
.product-features-section__grid h2.product-section-title,
.product-info-panel__head h2.product-section-title { overflow-wrap: anywhere; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; }
.product-features-section__grid > div > p { max-width: 410px; color: var(--muted); }
.product-features-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.product-features-card ul { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; gap: 12px; margin: 0; padding: 0; list-style: none; }
.product-features-card li { display: flex; min-width: 0; flex: 0 1 calc((100% - 24px) / 3); align-items: center; gap: 10px; margin: 0; padding: 16px; border-radius: 15px; background: #f1f6fc; }
.product-features-card li::before { display: grid; position: static; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border-radius: 50%; content: '✓'; color: #fff; background: var(--blue); font-size: 12px; font-weight: 900; line-height: 1; text-align: center; }

.product-tab-panel--purchase { background: #f5f8fb; }
.product-info-panel-wrap { display: grid; place-items: start center; }
.product-info-panel { display: grid; width: min(100%, 1060px); min-width: 0; grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr); column-gap: clamp(44px, 7vw, 94px); padding: 0; }
.product-info-panel--soft { background: transparent; }
.product-info-panel__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin: 0; }
.product-info-panel__head h2 { margin: 7px 0 0; font-size: clamp(36px, 4.2vw, 52px); line-height: 1; letter-spacing: -.045em; }
.product-info-panel__icon { display: grid; width: 50px; height: 50px; flex: 0 0 auto; place-items: center; border-radius: 15px; color: var(--blue); background: #fff; box-shadow: 0 8px 24px rgba(24, 49, 76, .07); }
.product-info-panel--soft .product-info-panel__icon { background: #fff; }
.product-info-panel__icon svg { width: 25px; height: 25px; }
.product-info-panel__content { min-width: 0; color: var(--muted); }
.product-info-panel__content > p:first-child { max-width: 680px; margin: 0 0 25px; color: #344250; font-size: 17px; line-height: 1.65; }
.product-info-panel__content ul { display: grid; margin: 0; padding: 0; border-top: 1px solid #dbe4ed; list-style: none; }
.product-info-panel__content li { position: relative; margin: 0; padding: 18px 4px 18px 38px; border-bottom: 1px solid #dbe4ed; color: var(--ink); background: transparent; line-height: 1.55; }
.product-info-panel--soft .product-info-panel__content li { border-color: #dbe4ed; background: transparent; }
.product-info-panel__content li::before { position: absolute; top: 20px; left: 2px; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); content: '✓'; font-size: 11px; font-weight: 900; }
.product-info-panel > .text-link { grid-column: 2; justify-self: start; margin-top: 24px; }
.product-info-panel > .text-link svg, .product-faq-panel .text-link svg { width: 16px; height: 16px; }

.product-faq-panel { width: min(100%, 920px); }
.product-faq-panel .faq-list { margin-top: 8px; }
.product-faq-panel__more { margin-top: 24px; }

.product-documents-panel { padding: 0; }
.product-documents-panel .documents-section { padding-block: clamp(52px, 6vw, 82px); }

@media (max-width: 980px) {
  .product-hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .product-hero__media { position: relative; top: auto; min-height: 0; }
  .product-tab-panel .detail-side-rail { order: -1; }
  .product-features-section__grid { grid-template-columns: 1fr; }
  .product-features-section__grid { gap: 32px; }
  .product-info-panel { grid-template-columns: 1fr; row-gap: 30px; }
  .product-info-panel__head { flex-direction: row; align-items: center; }
  .product-info-panel > .text-link { grid-column: 1; }
}

@media (max-width: 640px) {
  .product-hero { padding-top: 24px; }
  .product-hero__media { min-height: 0; border-radius: 22px; }
  .product-hero__body h1 { font-size: 40px; }
  .product-spec-highlights { grid-template-columns: 1fr; }
  .product-buybox { padding: 19px; }
  .product-buybox__actions { grid-template-columns: 1fr; }
  .product-tabs-list { padding-inline: 16px; }
  .product-tab { min-height: 40px; padding-inline: 13px; font-size: 13px; }
  .product-specifications__grid { border-radius: 19px; }
  .product-spec-group { grid-template-columns: 1fr; }
  .product-spec-group h3 { padding: 15px 17px; border-right: 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .product-spec-row { min-height: 48px; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 11px 17px; }
  .product-spec-row dt, .product-spec-row dd { font-size: 13px; }
  .product-features-card { padding: 18px; }
  .product-features-card ul { display: grid; grid-template-columns: 1fr; }
  .product-features-card li { width: 100%; }
  .product-info-panel { row-gap: 24px; }
  .product-info-panel__head { align-items: center; }
  .product-info-panel__icon { width: 46px; height: 46px; border-radius: 14px; }
  .product-info-panel__head h2 { font-size: 36px; }
  .product-features-section__grid h2.product-section-title,
  .product-info-panel__head h2.product-section-title { font-size: 30px; }
  .product-info-panel__content > p:first-child { font-size: 15px; }
  .product-info-panel__content li { padding: 16px 2px 16px 34px; font-size: 14px; }
  .product-info-panel__content li::before { top: 17px; left: 0; }
  .product-description-content .markdown-embed + .markdown-embed { margin-top: 36px; padding-top: 34px; }
}
