.product-head {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 14px;
}

.product-head-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid #d4e3f2;
  color: #24557f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-head-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #4f667d;
}

.product-head-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid #d5e2ef;
  background: #f4f8fd;
}

.badge-status.in {
  background: #e8f7ed;
  color: #0f7240;
  border-color: #bfe4c9;
}

.badge-status.out {
  background: #fff2e5;
  color: #98580f;
  border-color: #f2d8bd;
}

.product-main {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr) 310px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  margin-bottom: 16px;
}

.media-panel,
.summary-panel,
.purchase-panel {
  padding: 14px;
}

.media-panel,
.summary-panel {
  border-right: 1px solid #e0e9f2;
}

.main-image {
  border: 1px solid #d5e1ee;
  border-radius: 12px;
  background: radial-gradient(circle at top, #ffffff 0%, #eef4fa 48%, #dde7f1 100%);
  padding: 16px;
  min-height: 360px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  position: relative;
  overflow: hidden;
}

.main-image::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(234, 242, 250, 0.9) 100%);
  border: 1px solid rgba(204, 219, 234, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.main-image img {
  max-height: 308px;
  max-width: 96%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(18, 49, 77, 0.14));
  position: relative;
  z-index: 1;
}

.main-image .smart-placeholder {
  min-height: 250px;
  width: 100%;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdff 0%, #eaf2fb 100%);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(202, 218, 234, 0.84);
}

.smart-placeholder--hero .smart-placeholder__logo {
  min-height: 56px;
}

.smart-placeholder--hero .smart-placeholder__logo img {
  max-width: 168px;
  max-height: 56px;
}

.smart-placeholder--hero .smart-placeholder__logo-fallback {
  font-size: 15px;
}

.smart-placeholder--hero .smart-placeholder__sku {
  font-size: 16px;
}

.smart-placeholder--hero .smart-placeholder__meta {
  font-size: 13px;
}

.image-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.thumb {
  height: 46px;
  border: 1px solid #d5e1ee;
  border-radius: 8px;
  background: #f4f8fd;
}

.thumb.active {
  border-color: #9dbadb;
  background: #eaf3ff;
}

.summary-intro {
  background: #f9fcff;
  border: 1px solid #dbe7f2;
  border-radius: 14px;
  padding: 14px 16px;
}

.summary-intro p {
  margin: 0;
  color: #38536c;
  line-height: 1.65;
}

.summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.summary-tags span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eaf4ff;
  border: 1px solid #cddff2;
  color: #185790;
  font-size: 12px;
  font-weight: 700;
}

.product-keyfacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.product-keyfact {
  border: 1px solid #d9e5f1;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8fd 100%);
  padding: 10px 12px;
}

.product-keyfact span {
  display: block;
  font-size: 11px;
  color: #667e95;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.product-keyfact b {
  display: block;
  color: #1d425f;
  font-size: 14px;
  line-height: 1.45;
}

.doc-box,
.delivery-box {
  border: 1px solid #d8e4f0;
  border-radius: 14px;
  background: #fbfdff;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.doc-box h3,
.delivery-box h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #35516b;
}

.doc-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding: 6px 0;
}

.purchase-box {
  border: 1px solid #d4e0ed;
  border-radius: 14px;
  background: var(--surface-2);
  padding: 16px;
  display: grid;
  gap: 10px;
  position: sticky;
  top: 124px;
}

.purchase-price {
  font-size: 30px;
  font-weight: 800;
  color: #145088;
}

.purchase-stock {
  margin: 6px 0 10px;
  font-weight: 700;
}

.purchase-stock.in { color: var(--ok); }
.purchase-stock.out { color: var(--warn); }

.purchase-form {
  display: grid;
  gap: 8px;
}

.purchase-form label {
  display: grid;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #37536d;
}

.purchase-form input {
  border: 1px solid #c6d7e7;
  border-radius: 8px;
  padding: 9px;
}

.purchase-note {
  margin-top: 2px;
  font-size: 12px;
  color: #587089;
  line-height: 1.45;
}

.product-tabs {
  display: flex;
  gap: 1px;
  background: #566270;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}

.product-tabs a {
  color: #fff;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 14px;
  background: #566270;
}

.product-tabs a:hover {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
}

.product-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  margin-bottom: 14px;
}

.product-section h2 {
  margin-bottom: 12px;
}

.rich-text p,
.rich-text ul,
.rich-text ol {
  margin-bottom: 10px;
  line-height: 1.65;
}

.rich-text table {
  width: 100%;
  border-collapse: collapse;
}

.rich-text th,
.rich-text td {
  border: 1px solid #dbe7f3;
  padding: 10px 12px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.specs-table th,
.specs-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid #e5edf5;
}

.specs-table th {
  background: #f4f8fc;
  color: #4a647c;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.spec-name {
  width: 42%;
  color: #334e66;
  font-weight: 700;
}

.spec-value {
  text-align: right;
  color: #203d57;
  font-weight: 600;
}

.empty h3 {
  margin-bottom: 8px;
}

.empty p {
  margin: 0;
  color: #526c84;
  line-height: 1.6;
}

.rfq {
  background: #f8fbff;
  border: 1px solid #cfe0f2;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}

.rfq h3,
.rfq h2 {
  margin-bottom: 10px;
}

.rfq .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.rfq textarea {
  grid-column: 1 / -1;
  min-height: 84px;
}

.rfq .consent-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #34516a;
}

.rfq .consent-row input[type="checkbox"] {
  margin-top: 2px;
}

.rfq .consent-row a {
  color: #0b63c8;
}

.rfq input,
.rfq textarea {
  border: 1px solid #c8d8e8;
  border-radius: 8px;
  padding: 9px;
}

.extra-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}

.recommendation-stack {
  display: grid;
  gap: 12px;
}

.recommendation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.recommendation-head h2 {
  margin: 0;
}

.recommendation-head span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef6ff;
  border: 1px solid #d2e3f3;
  color: #2a567e;
  font-size: 12px;
  font-weight: 700;
}

.recommendation-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.analog-block p {
  font-size: 14px;
  color: #3d5871;
  line-height: 1.6;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cart-table th,
.cart-table td {
  text-align: left;
  padding: 9px;
  border-bottom: 1px solid #e4ebf3;
}

.cart-table th {
  background: #f3f8fd;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .5px;
  color: #4f677e;
}

.cart-actions-row {
  margin-top: 10px;
}

.cart-return-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.cart-return-row--bottom {
  margin: 12px 0 6px;
}

.cart-summary {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}

.cart-summary h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.cart-summary p {
  margin: 0 0 6px;
}
