/* ==========================================================================
   PRODUCT DETAIL PAGE STYLES
   Sophisticated Dark Theme Layout & Interactive Variant Selectors
   ========================================================================== */

/* Breadcrumb & Navigation Header */
.detail-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb-trail a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-trail a:hover {
  color: var(--accent-cyan);
}

.breadcrumb-separator {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 600;
}

.btn-back-catalog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-back-catalog:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Two-Column Product Detail Layout */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

/* Gallery Column */
.product-gallery-wrap {
  position: sticky;
  top: 90px;
}

@media (max-width: 992px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-gallery-wrap {
    position: static;
    top: auto;
  }
}

.main-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Gallery Loading Overlay */
.gallery-image-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: var(--bg-card);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.gallery-image-loader.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-loader-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(56, 189, 248, 0.15);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: gallerySpin 0.75s linear infinite;
}

.gallery-loading-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.3px;
}

@keyframes gallerySpin {
  to {
    transform: rotate(360deg);
  }
}

.main-image-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.main-image-preview.is-loading {
  opacity: 0;
  transform: scale(0.97);
}

.main-image-preview.fade-out {
  opacity: 0.2;
  transform: scale(0.98);
}

/* Gallery Bookmark Floating Button (Top-Right Corner) */
.gallery-bookmark-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(10, 14, 23, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.gallery-bookmark-btn:hover {
  transform: scale(1.08);
  background: rgba(244, 63, 94, 0.22);
  border-color: rgba(244, 63, 94, 0.65);
  color: #fb7185;
}

.gallery-bookmark-btn.active {
  background: rgba(244, 63, 94, 0.28);
  border-color: #f43f5e;
  color: #f43f5e;
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.45);
}

.gallery-bookmark-btn.active svg {
  fill: currentColor;
}

/* Thumbnails Strip */
.thumbnails-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.thumbnail-slot {
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
  position: relative;
}

.thumbnail-slot:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.thumbnail-slot.active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Product Info Column */
.product-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.product-meta-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.brand-series-pill {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.product-title-large {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

.condition-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.condition-badge-item {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.condition-original {
  background: rgba(16, 185, 129, 0.2);
  border: 1.5px solid #34d399;
  color: #ffffff;
}

.condition-secondhand {
  background: rgba(245, 158, 11, 0.2);
  border: 1.5px solid #fbbf24;
  color: #ffffff;
}

.warranty-badge-item {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.warranty-active {
  background: rgba(56, 189, 248, 0.15);
  border: 1.5px solid #38bdf8;
  color: #38bdf8;
}

.warranty-none {
  background: rgba(148, 163, 184, 0.12);
  border: 1.5px solid rgba(148, 163, 184, 0.35);
  color: #94a3b8;
}

/* Warranty Information Card */
.warranty-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-left: 4px solid var(--accent-cyan);
}

.warranty-card.warranty-none-card {
  border-left-color: #94a3b8;
}

.warranty-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.warranty-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.3px;
}

.warranty-status-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
}

.warranty-status-tag.tag-active {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.warranty-status-tag.tag-none {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.warranty-card-body {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.condition-note-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Dynamic Price Box */
.price-display-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.price-card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 600;
}

.price-card-value {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.1;
  transition: color var(--transition-fast);
}

.price-breakdown-hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Admin Custom Description Card */
.description-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.description-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.description-card-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Variant Selectors Section */
.variant-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.variant-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.variant-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.variant-current-selection {
  font-size: 0.875rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Color Options Grid */
.color-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.color-option-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.color-option-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-medium);
}

.color-option-btn.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
}

.color-swatch-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* Storage & RAM Buttons Grid */
.spec-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.spec-option-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  min-width: 120px;
  text-align: left;
  transition: all var(--transition-fast);
}

.spec-option-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.spec-option-btn.active {
  background: rgba(99, 102, 241, 0.18);
  border-color: var(--accent-indigo);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.35);
}

.spec-option-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.spec-option-delta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  font-family: var(--font-mono);
}

.spec-option-btn.active .spec-option-delta {
  color: #a5b4fc;
}

/* Primary Actions */
.product-actions-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.detail-action-price-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(20, 26, 38, 0.8);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 0.6rem 1.15rem;
  min-width: 140px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.detail-action-price-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.detail-action-price-val {
  font-size: 1.22rem;
  font-weight: 800;
  color: #fbbf24;
  font-family: var(--font-mono);
  line-height: 1.2;
}

.btn-action-primary {
  flex: 1;
  min-width: 160px;
  max-width: 280px;
  background: var(--grad-primary);
  color: #0a0e17;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-detail-bookmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.35rem;
  border-radius: var(--radius-full);
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fb7185;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-detail-bookmark:hover {
  background: rgba(244, 63, 94, 0.18);
  border-color: rgba(244, 63, 94, 0.7);
  color: #f43f5e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.25);
}

.btn-detail-bookmark.active {
  background: rgba(244, 63, 94, 0.22);
  border-color: #f43f5e;
  color: #f43f5e;
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.35);
}

.btn-detail-bookmark.active svg {
  fill: currentColor;
}

.btn-action-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.btn-messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #0084ff 0%, #00b4d8 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 132, 255, 0.35);
}

.btn-messenger:hover {
  background: linear-gradient(135deg, #0073e6 0%, #0096c7 100%);
  box-shadow: 0 8px 26px rgba(0, 132, 255, 0.5);
  color: #ffffff;
}

.messenger-svg-icon {
  flex-shrink: 0;
  display: inline-block;
}

.btn-action-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-action-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-cyan);
}

/* Deep Technical Specifications Section */
.technical-specs-section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 3rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.section-headline {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.tech-specs-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.tech-spec-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.tech-spec-box-header {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tech-spec-box-main {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.tech-spec-box-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   MOBILE RESPONSIVE UI ENHANCEMENTS (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .product-detail-main {
    padding-top: 1rem !important;
    padding-bottom: 5.5rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .detail-top-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem 0;
  }

  .breadcrumb-trail {
    font-size: 0.8rem;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
  }

  .btn-back-catalog {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.82rem;
  }

  .product-gallery-wrap {
    position: static;
    top: auto;
  }

  .main-image-container {
    aspect-ratio: 1 / 1;
    max-height: 360px;
    border-radius: var(--radius-lg);
    margin-bottom: 0.75rem;
  }

  .thumbnails-strip {
    gap: 0.5rem;
  }

  .thumbnail-slot {
    border-radius: var(--radius-sm);
  }

  .product-title-large {
    font-size: 1.6rem;
  }

  .price-card-value {
    font-size: 1.85rem;
  }

  .price-display-card,
  .description-card {
    padding: 1.15rem;
    border-radius: var(--radius-md);
  }

  .spec-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .spec-option-btn {
    min-width: unset;
    padding: 0.65rem 0.85rem;
  }

  .spec-option-name {
    font-size: 0.92rem;
  }

  .spec-option-delta {
    font-size: 0.75rem;
  }

  .color-options-grid {
    gap: 0.5rem;
  }

  .color-option-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
  }

  .product-actions-bar {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-action-primary,
  .btn-action-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }

  .technical-specs-section {
    padding-top: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .section-headline {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .tech-specs-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .tech-spec-box {
    padding: 1rem;
  }

  /* Sticky Mobile Floating Action Bar */
  .mobile-sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-medium);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
  }

  .mobile-sticky-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .mobile-sticky-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
  }

  .mobile-sticky-price {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-cyan);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-sticky-btn {
    background: var(--grad-primary);
    color: #0a0e17;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.65rem 1.2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
  }

  .mobile-sticky-btn:active {
    transform: scale(0.96);
  }

  .mobile-sticky-buttons-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .mobile-sticky-bookmark-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 63, 94, 0.12);
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: #fb7185;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
  }

  .mobile-sticky-bookmark-btn:hover {
    background: rgba(244, 63, 94, 0.22);
    border-color: #f43f5e;
    color: #f43f5e;
  }

  .mobile-sticky-bookmark-btn.active {
    background: rgba(244, 63, 94, 0.25);
    border-color: #f43f5e;
    color: #f43f5e;
  }

  .mobile-sticky-bookmark-btn.active svg {
    fill: currentColor;
  }

  .mobile-sticky-messenger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: linear-gradient(135deg, #0084ff 0%, #00b4d8 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 132, 255, 0.35);
  }
}

@media (min-width: 769px) {
  .mobile-sticky-action-bar {
    display: none !important;
  }
}

/* Contact Channels Buttons */
.btn-contact-channels {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #ffffff;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.35);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-contact-channels:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%);
  box-shadow: 0 10px 28px rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.mobile-sticky-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  color: #ffffff;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.4);
  transition: transform var(--transition-fast);
}

.mobile-sticky-contact:active {
  transform: scale(0.96);
}

/* Contact & Inquiry Modal / Bottom Sheet */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.contact-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.contact-modal-sheet {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 255, 255, 0.15);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-modal-overlay.open .contact-modal-sheet {
  transform: scale(1) translateY(0);
}

.contact-sheet-drag-handle {
  display: none;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 auto 1rem;
}

.contact-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
}

.contact-modal-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.contact-modal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

/* Product Summary Card inside Modal */
.contact-product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

.contact-product-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.contact-product-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.contact-product-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fbbf24;
}

.contact-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.contact-spec-pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.35rem;
  color: var(--text-secondary);
}

.contact-spec-copy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-spec-copy-tip {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.btn-copy-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 0.4rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn-copy-spec-pill:hover {
  background: rgba(251, 191, 36, 0.22);
}

/* Contact Channels List */
.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.contact-channel-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.channel-icon-bubble {
  width: 42px;
  height: 42px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.messenger-bubble {
  background: linear-gradient(135deg, rgba(0, 132, 255, 0.25), rgba(0, 180, 216, 0.25));
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.telegram-bubble {
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.25), rgba(14, 165, 233, 0.25));
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.phone-bubble {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(5, 150, 105, 0.25));
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.tiktok-bubble {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(254, 44, 85, 0.25));
  color: #fb7185;
  border: 1px solid rgba(251, 113, 133, 0.3);
}

.channel-text-group {
  flex: 1;
  min-width: 0;
}

.channel-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.channel-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.channel-pill-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-messenger {
  background: rgba(0, 132, 255, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(0, 132, 255, 0.3);
}

.badge-telegram {
  background: rgba(34, 158, 217, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(34, 158, 217, 0.3);
}

.badge-phone {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-tiktok {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

/* Mobile Bottom Sheet Adaptation */
@media (max-width: 768px) {
  .contact-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .contact-modal-sheet {
    max-width: 100%;
    border-radius: 1.5rem 1.5rem 0 0;
    max-height: 85vh;
    padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
  }

  .contact-modal-overlay.open .contact-modal-sheet {
    transform: translateY(0);
  }

  .contact-sheet-drag-handle {
    display: block;
  }
}

/* Toast Component for product detail */
.toast-container {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast-message {
  background: #1e293b;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: toastFadeIn 0.25s ease-out forwards;
}

.toast-message.fade-out {
  animation: toastFadeOut 0.25s ease-in forwards;
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(10px); }
}

/* -------------------------------------------------------------------------- */
/* Multi-step Inquiry & Callback Request Styles */
/* -------------------------------------------------------------------------- */
.contact-step {
  animation: fadeInStep 0.22s ease-out;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-back-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.contact-back-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
}

.contact-choice-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-choice-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.2s ease;
  user-select: none;
}

.contact-choice-card:hover,
.contact-choice-card:focus-visible {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.contact-choice-card:active {
  transform: translateY(0);
}

.choice-card-body {
  flex: 1;
}

.choice-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.choice-card-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
}

.choice-card-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.choice-pill-recommended {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.choice-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.choice-card-arrow {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-choice-card:hover .choice-card-arrow {
  color: #38bdf8;
  transform: translateX(4px);
}

/* Callback Form Elements */
.callback-form-group {
  margin-bottom: 1rem;
}

.callback-field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.callback-field-hint {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.callback-form-input,
.callback-form-select {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.callback-form-input:focus,
.callback-form-select:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

/* Official Caller Phone Notice Card */
.official-phone-notice-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.15rem;
}

.notice-card-header {
  margin-bottom: 0.35rem;
}

.notice-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fbbf24;
}

.notice-phone-readout {
  font-family: var(--font-mono, monospace);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fbbf24;
  margin: 0.25rem 0 0.5rem;
  letter-spacing: 0.05em;
}

.notice-security-text {
  font-size: 0.76rem;
  color: #e2e8f0;
  line-height: 1.45;
  opacity: 0.9;
  border-top: 1px dashed rgba(245, 158, 11, 0.25);
  padding-top: 0.5rem;
}

/* Callback Success Card */
.callback-success-card {
  text-align: center;
  padding: 1.25rem 0.5rem;
}

.success-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 0.4rem;
}

.success-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.success-phone-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.success-phone-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.success-phone-val {
  display: block;
  font-family: var(--font-mono, monospace);
  font-size: 1.3rem;
  color: #34d399;
}

.success-reminder {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 1.5rem;
}

