.page-title {
  background-repeat: no-repeat;
  background-position: var(--dw-breadcrumb-position, center center);
  background-size: cover;
}

@media (max-width: 768px) {
  .header-style-eight .outer-box .mobile-nav-toggler span{
    background-color: white;
  }
}
.header-style-eight .outer-box .mobile-nav-toggler span{
  background-color: var(--theme-color-white);
}

/* Keep the transparent product-detail header readable before sticky activates. */
.main-header.header-style-eight:not(.fixed-header) > .container .main-menu .navigation > li > a,
.main-header.header-style-eight:not(.fixed-header) > .container .main-menu .navigation > li.dropdown > .dropdown-btn,
.main-header.header-style-eight:not(.fixed-header) > .container .main-menu .navigation > li.dropdown > .dropdown-btn i {
  color: var(--theme-color-white) !important;
}

.product-details .is-static-preview > .slider-content[hidden] {
  display: none !important;
}

.main-header > .container .main-menu .navigation > li.nav-contact-link {
    display: none;
}
.main-header .sticky-header .main-menu .navigation > li.nav-contact-link {
    display: list-item;
}

.product-details .is-static-preview .image-box img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Product Detail Website Showcase Browser Frame
   ========================================================================== */
.dw-product-detail-preview {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow:
    0 20px 40px -15px rgba(15, 23, 42, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 25px;
}

.dw-product-detail-preview:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 50px -15px rgba(14, 115, 232, 0.22),
    0 8px 20px rgba(15, 23, 42, 0.08);
  border-color: rgba(14, 115, 232, 0.3);
}

/* Browser Top Header Bar */
.dw-product-detail-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  gap: 12px;
}

.dw-product-detail-browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.dw-product-detail-browser-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dw-product-detail-browser-dots .dot-red {
  background-color: #ff5f56;
}

.dw-product-detail-browser-dots .dot-yellow {
  background-color: #ffbd2e;
}

.dw-product-detail-browser-dots .dot-green {
  background-color: #27c93f;
}

.dw-product-detail-browser-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  flex: 1;
  max-width: 280px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dw-product-detail-browser-url .dw-url-lock-icon {
  font-size: 11px;
  color: #10b981;
}

.dw-product-detail-browser-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.dw-browser-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #0e73e8;
  background: rgba(14, 115, 232, 0.08);
  padding: 5px 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dw-browser-live-badge:hover {
  background: #0e73e8;
  color: #ffffff;
}

/* Image Wrap & Image Styling */
.dw-product-detail-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.dw-product-detail-lightbox {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.dw-product-detail-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dw-product-detail-preview:hover .dw-product-detail-image-wrap img {
  transform: scale(1.015);
}

/* Hover Overlay Badge */
.dw-product-detail-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dw-product-detail-lightbox:hover .dw-product-detail-image-overlay {
  opacity: 1;
}

.dw-overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0f172a;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.dw-product-detail-lightbox:hover .dw-overlay-badge {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .dw-product-detail-browser-url {
    max-width: 180px;
    font-size: 11px;
  }
}

.product-details .product-info .product-details__buttons {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 26px;
}

.product-details .product-info .product-details__buttons-1,
.product-details .product-info .product-details__buttons-2,
.product-details .product-info .product-details__live-website {
  display: flex;
  min-width: 0;
  margin: 0 !important;
}

.product-details .product-info .product-details__buttons .ks-btn-black {
  width: 100%;
  min-height: 56px;
  padding: 15px 14px;
  border-radius: 999px;
  font-size: clamp(10px, 0.78vw, 12px);
  letter-spacing: 0.035em;
  line-height: 1.15;
  white-space: normal;
  box-shadow: 0 18px 34px rgba(var(--theme-color-dark-rgb), 0.14);
}

.product-details .product-info .product-details__buttons .ks-btn-black .btn-title {
  display: block;
  overflow: visible;
  text-align: center;
}

.product-details .product-info .product-details__live-website .ks-btn-black {
  background: var(--theme-color-dark);
}

.product-details .product-info .product-details__live-website .ks-btn-black:hover {
  background: var(--theme-color1);
}

@media (max-width: 575px) {
  .product-details .product-info .product-details__buttons {
    gap: 8px;
  }

  .product-details .product-info .product-details__buttons .ks-btn-black {
    min-height: 52px;
    padding: 12px 8px;
    font-size: 9px;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 379px) {
  .product-details .product-info .product-details__buttons {
    gap: 6px;
  }

  .product-details .product-info .product-details__buttons .ks-btn-black {
    min-height: 50px;
    padding: 10px 5px;
    font-size: 8.5px;
    letter-spacing: 0.01em;
  }
}

.related-product .product-block .image a {
  display: block;
  width: 100%;
}

.related-product .dw-related-website-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 991px) {
  .product-details .is-static-preview .image-box {
    margin-right: 0;
  }
}
