/* Product Page — Figma specification */

.product-page {
  background: #FFFFFF;
}

/* Breadcrumbs */
.product-breadcrumb {
  background: #F9FAFB;
  height: 48px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.product-breadcrumb-inner {
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 120%;
  color: #1F1C22;
  box-sizing: border-box;
}

.product-breadcrumb-inner a {
  color: #1F1C22;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.product-breadcrumb-inner a:hover {
  color: #9747FF;
}

.product-breadcrumb-inner a:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
  border-radius: 2px;
}

.product-breadcrumb-inner i {
  color: #9747FF;
  font-size: 16px;
}

.product-breadcrumb-inner span {
  color: #888E92;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Main Container & Layout */
.product-page-container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px 20px 100px;
  box-sizing: border-box;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 754px) minmax(0, 768px);
  justify-content: space-between;
  gap: 32px;
  align-items: start;
}

/* Gallery (Left Column) */
.gallery {
  background: #F9FAFB;
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  box-sizing: border-box;
}

.desktop-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.mobile-gallery {
  display: none;
}

.main-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  transition: transform 0.3s ease;
}

.main-photo:hover img {
  transform: scale(1.02);
}

.main-photo i.ti-device-laptop {
  font-size: 80px;
  color: #AEBAC0;
}

.gallery-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 4;
}

.gallery-badges .card-badge {
  height: 32px;
  padding: 0 16px;
  border-radius: 16px;
  font-family: 'Unbounded', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 150%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(221, 230, 235, 0.85);
  color: #888E92;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 5;
  transition: all 0.2s ease;
}

.gallery-nav-btn:hover {
  background: #9747FF;
  color: #FFFFFF;
}

.gallery-nav-btn:active {
  transform: translateY(-50%) scale(0.92);
}

.gallery-nav-prev {
  left: 12px;
}

.gallery-nav-next {
  right: 12px;
}

.zoom-hint {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(31, 28, 34, 0.6);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 4;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}

.zoom-hint:hover {
  background: #9747FF;
}

.thumb-row-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.thumb-row {
  display: flex;
  gap: 12px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px;
}

.thumb-row::-webkit-scrollbar {
  display: none;
}

.thumb {
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: #FFFFFF;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.thumb:hover {
  transform: translateY(-2px);
  border-color: #D0B4F8;
}

.thumb:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

.thumb.active {
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
  border: 2px solid var(--violet, #9747FF);
  border-radius: 12px;
  padding: 0;
  background: transparent;
  box-shadow: 0 2px 12px rgba(151, 71, 255, 0.2);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}

/* Info Panel (Right Column) */
.info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.product-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #1F1C22;
  margin: 0 0 16px 0;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  line-height: 160%;
  letter-spacing: 0.02em;
}

.product-meta-art {
  color: #888E92;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-meta-art strong {
  color: #1F1C22;
  font-weight: 400;
  font-size: 16px;
}

.product-meta-brand {
  color: #9747FF;
  font-weight: 300;
}

.product-divider {
  width: 100%;
  height: 1px;
  background: #DDE6EB;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.price-main-block {
  display: flex;
  flex-direction: column;
}

.price-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #1F1C22;
}

.price-currency {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #888E92;
}

.price-note {
  font-family: 'Unbounded', sans-serif;
  font-weight: 300;
  font-size: 11px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #888E92;
  margin-top: 8px;
}

.price-services-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  align-self: center;
}

.price-services-delta {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #A6D934;
}

.service-price-note {
  font-family: 'Unbounded', sans-serif;
  font-weight: 300;
  font-size: 11px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #888E92;
  margin-top: 2px;
  text-align: right;
}

/* Specs & Configurator Cards Grid */
.product-highlights,
.cfg-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.highlight-card {
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #DDE6EB;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 94px;
  transition: border-color 0.15s ease;
}

.highlight-card.cfg-card-full {
  grid-column: 1 / -1;
}

.highlight-head {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.highlight-icon {
  width: 24px;
  height: 24px;
  font-size: 20px;
  color: #9747FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-label {
  font-family: 'Unbounded', sans-serif;
  font-weight: 300;
  font-size: 11px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #888E92;
}

.highlight-val-row,
.cfg-val-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.highlight-value {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #1F1C22;
  overflow-wrap: anywhere;
}

.cfg-selected-delta {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px;
  height: 22px;
  border-radius: 12px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 11px;
  line-height: 100%;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cfg-selected-delta.is-included {
  background: rgba(166, 217, 52, 0.15);
  color: #5d870e;
  border: 1px solid #A6D934;
}

.cfg-selected-delta.is-delta {
  background: rgba(151, 71, 255, 0.1);
  color: #9747FF;
  border: 1px solid #9747FF;
}

.cfg-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.cfg-pill {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  height: 32px;
  border-radius: 16px;
  background: #F9FAFB;
  border: 1px solid var(--border, #DDE6EB);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.cfg-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.cfg-pill-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 120%;
  color: #888E92;
  transition: color 0.15s ease;
}

.cfg-pill:hover {
  border-color: var(--violet, #9747FF);
}

.cfg-pill:hover .cfg-pill-name {
  color: var(--violet, #9747FF);
}

.cfg-pill:has(input:checked) {
  border-color: var(--violet, #9747FF);
  background: var(--violet-soft, #F4ECFF);
}

.cfg-pill:has(input:checked) .cfg-pill-name {
  color: var(--violet, #9747FF);
  font-weight: 500;
}

.cfg-pill:has(input:focus-visible) {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

/* Базовий варіант комплектації («В комплекті») — салатово/зелений як шильдик */
.cfg-pill.is-base:hover,
.cfg-pill:has(input[data-is-base="true"]):hover,
.cfg-pill:has(input[value="0"]):hover {
  border-color: #A6D934;
}

.cfg-pill.is-base:hover .cfg-pill-name,
.cfg-pill:has(input[data-is-base="true"]):hover .cfg-pill-name,
.cfg-pill:has(input[value="0"]):hover .cfg-pill-name {
  color: #5d870e;
}

.cfg-pill.is-base:has(input:checked),
.cfg-pill:has(input[data-is-base="true"]:checked),
.cfg-pill:has(input[value="0"]:checked) {
  border-color: #A6D934;
  background: rgba(166, 217, 52, 0.15);
}

.cfg-pill.is-base:has(input:checked) .cfg-pill-name,
.cfg-pill:has(input[data-is-base="true"]:checked) .cfg-pill-name,
.cfg-pill:has(input[value="0"]:checked) .cfg-pill-name {
  color: #5d870e;
  font-weight: 500;
}

.cfg-pill.is-base:has(input:focus-visible),
.cfg-pill:has(input[data-is-base="true"]:focus-visible),
.cfg-pill:has(input[value="0"]:focus-visible) {
  outline: 2px solid #A6D934;
  outline-offset: 2px;
}

.cfg-pill:active {
  transform: scale(0.97);
}

/* Storage & Highlights Disabled State */
.highlight-card.is-disabled {
  opacity: 0.35;
  user-select: none;
}

.text-muted {
  color: #888E92;
}

.storage-columns-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
}

.storage-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 0;
}

.storage-col.is-disabled {
  opacity: 0.35;
  user-select: none;
}

.highlight-lock-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9747FF;
  font-size: 18px;
}

.cfg-pill-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  height: 32px;
  border-radius: 16px;
  background: #F9FAFB;
  color: #888E92;
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 300;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.option-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 4px 0;
}

.option-check-row input {
  width: 20px;
  height: 20px;
  accent-color: #9747FF;
  cursor: pointer;
  flex-shrink: 0;
}

.option-check-name {
  font-family: 'Unbounded', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #1F1C22;
  flex: 1;
}

.option-check-delta {
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #A6D934;
}

/* Order Action Panel */
.order-panel {
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid var(--border, #DDE6EB);
  box-shadow: var(--shadow-card);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.order-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.product-order-cta {
  width: 100%;
  height: 56px;
  background: var(--brand, #A6D934);
  color: #1F1C22;
  border-radius: var(--radius-btn, 40px);
  border: none;
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 140%;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.call-link {
  box-sizing: border-box;
  width: 100%;
  height: 56px;
  background: #F9FAFB;
  border: 1px solid var(--violet, #9747FF);
  border-radius: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Unbounded', sans-serif;
  font-size: 15px;
  line-height: 140%;
  letter-spacing: 0.03em;
  color: #1F1C22;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.call-link a {
  text-decoration: none;
}

.call-phone-link {
  color: #1F1C22;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s ease;
}

.call-label {
  color: #AEBAC0;
  font-weight: 400;
}

.call-phone {
  color: #1F1C22;
  font-weight: 400;
}

.call-socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.call-social-btn {
  color: #1F1C22;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, color 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .product-order-cta:hover {
    background: #94D82D;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(166, 217, 52, 0.45);
  }
  .call-link:hover {
    background: var(--violet-soft, #F6F0FF);
  }
  .call-phone-link:hover {
    color: var(--violet, #9747FF);
    text-decoration: none;
  }
  .call-social-btn:hover {
    color: var(--violet, #9747FF);
    transform: scale(1.1);
  }
}

.product-order-cta:active {
  transform: scale(0.98);
  background: #84cc16;
}

.call-link:active {
  transform: scale(0.98);
}

.sold-block {
  display: none;
  background: #FFF5F5;
  border: 1px solid #FF302B;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.sold-block h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #FF302B;
  margin: 0 0 6px 0;
}

.sold-block-copy {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  color: #1F1C22;
  margin: 0;
}

.sold-block-copy a {
  color: #9747FF;
  font-weight: 400;
}

.sold-product .sold-block {
  display: block;
}

.sold-catalog-btn {
  width: 100%;
  height: 56px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Unbounded', sans-serif;
  font-size: 15px;
}

/* Tabs Section */
.product-details {
  max-width: var(--content-max);
  margin: 48px auto 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-sizing: border-box;
}

.details-tabs {
  background: #F9FAFB;
  border-radius: 100px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
}

.details-tab {
  background: transparent;
  border: none;
  border-radius: 56px;
  height: 52px;
  padding: 0 28px;
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #AEBAC0;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.details-tab:hover {
  color: #1F1C22;
}

.details-tab.active {
  background: var(--brand, #A6D934);
  color: #1F1C22;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(166, 217, 52, 0.28);
}

.details-tab:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

.details-tab:active {
  transform: scale(0.98);
}

.details-panel[hidden] {
  display: none;
}

.details-info-card {
  background: #F9FAFB;
  border: 1px solid var(--border, #DDE6EB);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
}

.details-info-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #1F1C22;
  margin: 0;
}

.details-info-card p,
.desc-text {
  font-family: 'Unbounded', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 160%;
  letter-spacing: 0.02em;
  color: #1F1C22;
  margin: 0;
}

.details-column.section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.details-column .section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #1F1C22;
  margin: 0;
}

.condition-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(151, 71, 255, 0.06);
  border: 1px solid #9747FF;
  border-radius: 16px;
  padding: 16px;
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #1F1C22;
  line-height: 150%;
}

.condition-box i {
  color: #9747FF;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Related Products Section */
.related-products {
  max-width: var(--content-max);
  margin: 48px auto 0;
  padding: 0 0 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-sizing: border-box;
}

.related-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.related-heading h2 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 140%;
  letter-spacing: 0.02em;
  color: #1F1C22;
  margin: 0;
}

.related-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid #9747FF;
  border-radius: 40px;
  font-family: 'Unbounded', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #9747FF;
  text-decoration: none;
  transition: all 0.15s ease;
}

.related-all-btn:hover {
  background: #9747FF;
  color: #FFFFFF;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.related-grid .card {
  min-width: 0;
  box-sizing: border-box;
}

.related-grid .card-body {
  padding: 0 14px 14px;
  gap: 4px;
}

.related-grid .card-brand {
  font-size: 13px;
}

.related-grid .card-name {
  font-size: 14px;
  min-height: auto;
  margin-bottom: 2px;
}

.related-grid .card-specs {
  font-size: 12px;
  min-height: auto;
  color: #888E92;
}

.related-grid .card-price {
  font-size: 14px;
}

/* Floating Bottom Bar — Hidden on Desktop (> 1024px), shown on Tablets & Mobile */
.product-floating-actions {
  display: none;
}

/* Floating Scroll To Top Button (Mobile) */
.floating-scroll-top-btn {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: #9747FF;
  color: #FFFFFF;
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(151, 71, 255, 0.35);
  z-index: 130;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s;
}

.floating-scroll-top-btn .scroll-top-text {
  display: none;
}

.floating-scroll-top-btn i {
  font-size: 20px;
}

.floating-scroll-top-btn:hover {
  background: #8030e8;
  transform: translateY(-2px);
}

.floating-scroll-top-btn:active {
  transform: scale(0.92);
}

.floating-scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-left-block {
  flex: 1 1 0;
  min-width: 0;
}

.floating-call-pill {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  gap: 12px;
  height: 56px;
  background: #F9FAFB;
  border: 1px solid var(--violet, #9747FF);
  border-radius: 16px;
  text-decoration: none;
  color: #1F1C22;
  width: 100%;
  transition: background-color 0.15s ease;
}

.floating-call-pill:hover {
  background: var(--violet-soft, #F6F0FF);
}

.floating-call-pill a {
  text-decoration: none;
}

.floating-call-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Unbounded', sans-serif;
  font-size: 15px;
  line-height: 140%;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: #1F1C22;
  font-weight: 400;
  transition: color 0.15s ease;
}

.floating-call-content:hover {
  color: #9747FF;
  text-decoration: none;
}

.floating-call-phone {
  color: #1F1C22;
  font-weight: 400;
}

.floating-call-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
}

.floating-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 24px;
  color: #1F1C22;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}

.floating-social-btn:hover {
  color: #9747FF;
  transform: scale(1.1);
}

.floating-social-btn svg {
  width: 24px;
  height: 24px;
}

.floating-mobile-pill-content {
  display: none;
}

.floating-cta-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex: 1 1 0;
  height: 56px;
}

.floating-btn-cart {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  gap: 8px;
  flex: 1 1 0;
  height: 56px;
  background: var(--brand, #A6D934);
  border-radius: 40px;
  border: none;
  color: #1F1C22;
  font-family: 'Unbounded', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 140%;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.floating-btn-cart:hover {
  background: #94D82D;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(166, 217, 52, 0.4);
}

.floating-btn-cart .floating-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.floating-btn-cart .floating-btn-text i {
  font-size: 18px;
}

.floating-btn-cart .floating-btn-icon {
  display: none;
}

.floating-btn-phone {
  display: none;
}

.floating-btn-icon {
  display: none;
}

.floating-btn-text {
  display: inline;
}

@media (width < 1280px) {
  .related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (width <= 1024px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .order-panel {
    display: none !important;
  }
  .product-floating-actions {
    display: flex;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: calc(100% - 32px);
    max-width: 700px;
    height: 72px;
    padding: 12px 20px;
    background: #FFFFFF;
    border: 1px solid var(--border, #DDE6EB);
    box-shadow: var(--shadow-card);
    border-radius: 16px 16px 0 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 120;
    box-sizing: border-box;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease, visibility 0.24s;
  }
  .product-floating-actions.hidden-by-scroll {
    transform: translate(-50%, 100%) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .floating-scroll-top-btn {
    display: inline-flex;
  }
  .floating-call-pill,
  .floating-cta-actions,
  .floating-btn-cart,
  .floating-btn-phone,
  .floating-btn-ask {
    height: 48px;
  }
}

@media (width <= 640px) {
  .order-panel {
    display: none !important;
  }

  .product-breadcrumb {
    height: 40px;
    width: 100%;
    box-sizing: border-box;
  }
  .product-breadcrumb-inner {
    font-size: 11px;
    padding: 0 16px;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .product-breadcrumb-inner::-webkit-scrollbar {
    display: none;
  }
  .product-breadcrumb-inner a,
  .product-breadcrumb-inner i,
  .product-breadcrumb-inner span {
    flex-shrink: 0;
  }
  .product-breadcrumb-inner a {
    font-size: 11px;
  }
  .product-breadcrumb-inner i {
    font-size: 14px;
  }
  .product-breadcrumb-inner span {
    color: #888E92;
    font-size: 11px;
  }

  .product-page-container {
    padding: 16px 16px 88px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .product-hero-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 24px;
    box-sizing: border-box;
  }

  /* Gallery Mobile */
  .gallery {
    border-radius: 0;
    padding: 0;
    gap: 0;
    background: transparent;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: visible;
  }
  .desktop-gallery {
    display: none !important;
  }
  .mobile-gallery {
    display: block !important;
    position: relative;
    width: calc(100% + 32px);
    margin: -16px -16px 16px -16px;
    overflow: hidden;
    background: #F9FAFB;
    border-radius: 0;
  }
  .mobile-gallery-slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #FFFFFF;
  }
  .mobile-gallery-track {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .mobile-gallery-track::-webkit-scrollbar {
    display: none;
  }
  .mobile-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 4 / 3;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
  }
  .mobile-gallery .gallery-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    pointer-events: none;
  }
  .mobile-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(31, 28, 34, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: background-color 0.15s ease, transform 0.15s ease;
    padding: 0;
  }
  .mobile-gallery-nav:active {
    background: rgba(151, 71, 255, 0.85);
    color: #FFFFFF;
    transform: translateY(-50%) scale(0.92);
  }
  .mobile-gallery-prev {
    left: 8px;
  }
  .mobile-gallery-next {
    right: 8px;
  }
  .mobile-gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(31, 28, 34, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 5;
    pointer-events: none;
    letter-spacing: 0.03em;
  }
  .mobile-thumb-wrap {
    width: 100%;
    background: #F9FAFB;
    padding: 10px 14px;
    box-sizing: border-box;
    overflow: hidden;
  }
  .mobile-thumb-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    padding: 2px 4px;
    box-sizing: border-box;
  }
  .mobile-thumb-row::-webkit-scrollbar {
    display: none;
  }
  .mobile-thumb {
    width: 68px;
    height: 50px;
    min-width: 68px;
    min-height: 50px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background: #FFFFFF;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
  }
  .mobile-thumb.active {
    border-color: #9747FF;
  }
  .mobile-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 6px;
  }

  /* Info & Meta Mobile */
  .info {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 20px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .product-name {
    font-size: 20px;
    line-height: 140%;
    margin: 0 0 12px 0;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .product-meta-row {
    font-size: 12px;
    width: 100%;
  }
  .product-meta-art {
    font-size: 12px;
  }
  .product-meta-art strong {
    font-size: 14px;
  }
  .product-meta-brand {
    font-size: 12px;
  }

  /* Price Stack Mobile */
  .price-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  .price {
    font-size: 20px;
  }
  .price-currency {
    font-size: 20px;
  }
  .price-services-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    align-self: center;
    text-align: right;
  }
  .price-services-delta {
    font-size: 18px;
  }
  .service-price-note {
    font-size: 9px;
    text-align: right;
    margin-top: 2px;
  }

  /* Specs & Config Mobile */
  .product-highlights,
  .cfg-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .highlight-card {
    padding: 12px;
    border-radius: 16px;
    gap: 8px;
    min-height: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .product-highlights .highlight-card.is-disabled:not(.highlight-card-battery) {
    display: none !important;
  }
  .product-highlights .highlight-card.highlight-card-battery {
    display: flex !important;
  }
  .highlight-val-row,
  .cfg-val-row {
    width: 100%;
    min-width: 0;
  }
  .highlight-icon {
    width: 20px;
    height: 20px;
    font-size: 18px;
  }
  .highlight-label {
    font-size: 9px;
  }
  .highlight-value {
    font-size: 14px;
    overflow-wrap: anywhere;
  }
  .cfg-selected-delta {
    font-size: 9px;
  }
  .cfg-pills-row {
    gap: 6px;
    width: 100%;
  }
  .cfg-pill {
    height: 24px;
    padding: 0 8px;
    border-radius: 16px;
  }
  .cfg-pill-name {
    font-size: 9px;
  }
  .cfg-pill-disabled {
    height: 24px;
    padding: 0 8px;
    font-size: 9px;
    border-radius: 16px;
  }
  .services-list {
    gap: 6px;
    width: 100%;
  }
  .option-check-row {
    gap: 8px;
    padding: 2px 0;
    width: 100%;
  }
  .option-check-row input {
    width: 18px;
    height: 18px;
  }
  .option-check-name {
    font-size: 12px;
  }
  .option-check-delta {
    font-size: 12px;
  }

  /* Tabs Mobile */
  .product-details {
    margin: 32px auto 0;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .details-tabs {
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    padding: 12px;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
  }
  .details-tab {
    font-size: 15px;
    height: 48px;
    padding: 0 16px;
    text-align: center;
    border-radius: 56px;
  }
  .details-info-card {
    border-radius: 16px;
    padding: 16px;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
  }
  .details-info-card h3 {
    font-size: 15px;
  }
  .details-info-card p,
  .desc-text {
    font-size: 12px;
    line-height: 140%;
  }
  .condition-box {
    padding: 12px;
    font-size: 12px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Related Mobile */
  .related-products {
    margin: 32px auto 0;
    padding: 0 0 40px;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .related-heading h2 {
    font-size: 20px;
  }
  .related-all-btn {
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
    border-radius: 40px;
  }
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }
  .related-grid .card-brand {
    font-size: 12px;
  }
  .related-grid .card-name {
    font-size: 12px;
  }
  .related-grid .card-specs {
    font-size: 10px;
  }

  /* Mobile Floating Bottom Bar */
  .product-floating-actions {
    position: fixed;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    height: 64px;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #FFFFFF;
    border-top: 1px solid var(--border, #DDE6EB);
    box-shadow: 0px -4px 20px rgba(79, 46, 132, 0.1);
    border-radius: 0;
    z-index: 120;
    box-sizing: border-box;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.24s ease, visibility 0.24s;
  }

  .product-floating-actions.hidden-by-scroll {
    transform: translateY(100%) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .floating-left-block {
    flex: 1 1 auto;
    min-width: 0;
  }

  .floating-call-pill {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 12px;
    gap: 10px;
    height: 48px;
    background: #F9FAFB;
    border: 1px solid var(--violet, #9747FF);
    border-radius: 48px;
    flex: 1 1 auto;
    min-width: 0;
    text-decoration: none;
    color: #1F1C22;
  }

  .floating-call-content,
  .floating-call-socials {
    display: none;
  }

  .floating-mobile-pill-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .floating-mobile-price-view {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .product-floating-actions.contacts-mode .floating-mobile-price-view {
    display: none;
  }

  .floating-mobile-contacts-view {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    gap: 16px;
  }

  .product-floating-actions.contacts-mode .floating-mobile-contacts-view {
    display: flex;
  }

  .floating-pill-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    color: #1F1C22;
    font-size: 28px;
    text-decoration: none;
    border-radius: 50%;
    transition: transform 0.15s ease, color 0.15s ease;
  }

  .floating-pill-social-link:active {
    transform: scale(0.9);
    color: #9747FF;
  }

  .floating-pill-social-link svg {
    width: 28px;
    height: 28px;
  }

  .floating-price-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .floating-price-val {
    font-family: 'Unbounded', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0.02em;
    color: #1F1C22;
  }

  .floating-price-cur {
    font-family: 'Unbounded', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: 0.02em;
    color: #888E92;
  }

  .floating-cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    height: 48px;
  }

  .floating-btn-phone,
  .floating-btn-ask {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: #9747FF;
    border-radius: 40px;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    flex: 0 0 48px;
    transition: transform 0.15s ease, background-color 0.15s ease;
  }

  .floating-btn-phone:hover,
  .floating-btn-ask:hover {
    background: #8432ef;
    transform: scale(1.05);
  }

  .floating-btn-phone .icon-phone,
  .floating-btn-ask .icon-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
  }

  .floating-btn-phone .icon-price,
  .floating-btn-ask .icon-price {
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 28px;
  }

  .product-floating-actions.contacts-mode .floating-btn-phone .icon-phone,
  .product-floating-actions.contacts-mode .floating-btn-ask .icon-phone {
    display: none;
  }

  .product-floating-actions.contacts-mode .floating-btn-phone .icon-price,
  .product-floating-actions.contacts-mode .floating-btn-ask .icon-price {
    display: flex;
  }

  .floating-btn-cart {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 0;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: #A6D934;
    border-radius: 40px;
    border: none;
    color: #1F1C22;
    cursor: pointer;
    flex: 0 0 48px;
    transition: transform 0.15s ease, background-color 0.15s ease;
  }

  .floating-btn-cart:hover {
    background: #94D82D;
    transform: scale(1.05);
  }

  .floating-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
  }

  .floating-btn-cart .floating-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
  }

  .floating-btn-cart .floating-btn-icon i {
    font-size: 28px;
  }

  .floating-btn-cart .floating-btn-text,
  .floating-btn-text {
    display: none !important;
  }
}

@media (width <= 380px) {
  .product-floating-actions {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }
  .floating-call-pill {
    padding: 0 6px;
  }
  .floating-cta-actions {
    gap: 8px;
  }
  .floating-price-val {
    font-size: 17px;
  }
  .floating-price-cur {
    font-size: 17px;
  }
  .floating-mobile-contacts-view {
    gap: 10px;
  }
  .related-grid {
    gap: 10px;
  }
  .related-grid .card-body {
    padding: 0 6px;
  }
}
