/* ==========================================================================
   DeviceHub — Single Product Page
   Path: assets/css/single/devhub-single.css
   Depends on: style.css
   ========================================================================== */

/* ==========================================================================
   Page bar (breadcrumb left, title right)
   ========================================================================== */

.devhub-single .devhub-page-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 20px;
  border-bottom: none;
  margin-top: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.devhub-single .devhub-page-bar .woocommerce-breadcrumb {
  font-size: clamp(1.7rem, 1.2vw, 1.95rem);
  font-weight: 700;
  color: var(--devhub-mid);
  margin: 0;
  line-height: 1.5;
}

.devhub-single .devhub-page-bar .woocommerce-breadcrumb a {
  color: var(--devhub-dark);
  text-decoration: none;
}

.devhub-single .devhub-page-bar .woocommerce-breadcrumb a:hover {
  color: var(--devhub-primary);
}

.devhub-single .devhub-page-bar__title {
  font-size: clamp(2rem, 2vw, 2.6rem);
  font-weight: 700;
  color: var(--devhub-black);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50%;
}

/* ========================================================================== */

.devhub-single {
  padding: 0px 0 64px;
  background: var(--devhub-white);
}

.devhub-single__layout {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr) 240px !important;
  gap: 20px;
  align-items: start;
  margin-bottom: 48px;
}

.devhub-single__gallery,
.devhub-single__info,
.devhub-single__delivery {
  min-width: 0 !important;
}

/* Delivery info sidebar */
.devhub-single__delivery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 24px;
  border-left: 1px solid var(--devhub-border);
  align-self: stretch;
}

.devhub-single__delivery-item {
  display: flex;
  align-items: start;
  gap: 10px;
  min-width: 0 !important;
}

.devhub-single__delivery-item[hidden] {
  display: none;
}

.devhub-single__delivery-icon {
  flex: 0 0 auto;
  font-size: 18px;
  color: var(--devhub-dark);
  margin-top: 4px;
}

.devhub-single__delivery-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0 !important;
}

.devhub-single__delivery-title {
  font-size: var(--devhub-text-2xl);
  color: var(--devhub-dark);
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: break-word !important;
}

.devhub-single__delivery-subtitle {
  font-size: var(--devhub-text-lg);
  color: var(--devhub-mid);
  line-height: 1.3;
  overflow-wrap: break-word !important;
}

/* SKU / Warranty / Return Policy group — sits above Store Pickup / Islandwide Delivery */
.devhub-single__meta-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0 !important;
  padding-bottom: 0;
  margin-bottom: 4px;
  border-bottom: none;
}

.devhub-single__gallery ::selection,
.devhub-lightbox ::selection {
  color: inherit;
  background: transparent;
}

/* Gallery */
.devhub-single__main-image {
  background: var(--devhub-white);
  border: 1px solid rgba(228, 231, 236, 0.95);
  border-radius: calc(var(--devhub-radius-lg) - 2px);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  max-height: 420px;
  overflow: hidden;
  box-shadow: var(--devhub-shadow-card);
  cursor: zoom-in;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.devhub-single__main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.22s ease;
  will-change: transform;
  transform-origin: center center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.devhub-single__new-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  pointer-events: none;
}

.devhub-single__new-badge .gold-badge {
  position: static;
  top: auto;
  left: auto;
  width: 60px;
  height: 95px;
  transform: scale(0.88);
  transform-origin: top right;
  filter: drop-shadow(0 7px 12px rgba(140, 20, 20, 0.24));
}

/* Lightbox */
.devhub-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.devhub-lightbox--open {
  opacity: 1;
  visibility: visible;
}

.devhub-lightbox__inner {
  position: relative;
  width: min(90vw, 880px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
}

.devhub-lightbox__img {
  width: 100%;
  height: auto;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--devhub-radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  display: block;
  transform: scale(0.94);
  transition: transform 0.28s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.devhub-lightbox--open .devhub-lightbox__img {
  transform: scale(1);
}

.devhub-lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--devhub-transition);
  z-index: 100000;
}

.devhub-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.devhub-lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--devhub-transition),
    opacity var(--devhub-transition);
  z-index: 100000;
}

.devhub-lightbox__nav--prev {
  left: 24px;
}
.devhub-lightbox__nav--next {
  right: 24px;
}

.devhub-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.26);
}

.devhub-lightbox__nav[hidden] {
  display: none;
}

.devhub-lightbox__counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  z-index: 100000;
  pointer-events: none;
}

.devhub-lightbox__counter[hidden] {
  display: none;
}

.devhub-single__thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: nowrap;
  transition: transform 0.3s ease;
  will-change: transform;
}

.devhub-single__thumbnails-slider {
  position: relative;
  width: 100%;
  min-width: 0;
}

.devhub-single__thumbnails-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.devhub-single__thumb {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(228, 231, 236, 0.95);
  border-radius: var(--devhub-radius-md);
  background: var(--devhub-surface) !important;
  background-color: var(--devhub-surface) !important;
  color: inherit !important;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--devhub-shadow-card);
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color var(--devhub-transition),
    transform var(--devhub-transition);
}

.devhub-single__thumb:focus,
.devhub-single__thumb:focus-visible,
.devhub-single__thumb:active {
  outline: none !important;
  background: var(--devhub-surface) !important;
  background-color: var(--devhub-surface) !important;
  box-shadow: var(--devhub-shadow-card) !important;
  color: inherit !important;
}

.devhub-single__thumb--active,
.devhub-single__thumb:hover {
  border-color: var(--devhub-primary);
  background: var(--devhub-surface) !important;
  background-color: var(--devhub-surface) !important;
  transform: translateY(-2px);
}

.devhub-single__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* Safe checkout: payment partner logos, shown below Buy Now / Add to Cart */
.devhub-single__safe-checkout {
  margin-top: 20px;
  margin-bottom: 8px;
  padding-top: 16px;
}

.devhub-single__safe-checkout-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--devhub-text-lg);
  color: var(--devhub-mid);
  margin-bottom: 12px;
}

.devhub-single__safe-payment-grid {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: nowrap;
  width: max-content;
  min-width: 100%;
}

.devhub-single__safe-payment-grid img {
  flex: 0 0 auto;
  display: block;
  width: auto;
  max-width: 124px;
  max-height: 34px;
  object-fit: contain;
}

.devhub-single__safe-payment-grid img.devhub-single__payment-logo--cod {
  max-width: 148px;
  max-height: 44px;
}

.devhub-single__payment-label {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid rgba(228, 231, 236, 0.95);
  border-radius: 6px;
  font-size: var(--devhub-text-md);
  font-weight: 600;
  color: var(--devhub-dark);
  white-space: nowrap;
}

.devhub-single__safe-payment-slider {
  position: relative;
  max-width: 100%;
  padding: 0 2px;
}

.devhub-single__payment-slider {
  position: relative;
}

.devhub-single__payment-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.devhub-single__payment-viewport::-webkit-scrollbar {
  display: none;
}

.devhub-single__payment-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: nowrap;
  min-width: 100%;
}

.devhub-single__payment-icon {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.devhub-single__payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border: 1.5px solid var(--devhub-border);
  border-radius: 4px;
  font-size: var(--devhub-text-md);
  font-weight: 700;
  color: var(--devhub-dark);
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--devhub-white);
}

.devhub-single__payment-badge--koko {
  color: #ff6b9d;
  border-color: #ff6b9d;
}

.devhub-single__payment-badge--webx {
  color: var(--devhub-dark);
  font-size: var(--devhub-text-sm);
}

/* Info */
.devhub-single__title {
  font-size: clamp(3.1rem, 2.4rem + 1vw, 4.3rem);
  font-weight: 800;
  color: var(--devhub-black);
  line-height: 1.18;
  margin-bottom: 16px;
}

.devhub-single__heading-row {
  margin-bottom: 1.2rem;
}

.devhub-single__heading-row .devhub-single__title {
  margin-bottom: 0;
}

.devhub-single__offer-badge {
  position: absolute;
  top: 14px;
  left: -72px;
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 236px;
  min-height: 72px;
  padding: 0.65rem 1.15rem 0.8rem 3rem;
  border-radius: 0;
  background: linear-gradient(180deg, #f31d25 0%, #d81920 100%);
  box-shadow: 0 14px 28px rgba(181, 39, 30, 0.22);
  color: var(--devhub-white);
  text-align: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(169, 14, 18, 0.3);
  transform: rotate(-45deg);
  transform-origin: center;
}

.devhub-single__offer-badge--cart {
  top: 34px;
  left: -84px;
  width: 300px;
  min-height: 68px;
  padding: 0.45rem 1.2rem 0.55rem;
  justify-content: center;
  gap: 6px;
}

.devhub-single__offer-badge--cart .devhub-single__offer-badge-caption {
  padding-right: 0;
  width: auto;
}

.devhub-single__offer-badge--cart .devhub-single__offer-badge-value {
  padding-right: 0;
  width: auto;
}

.devhub-single__offer-badge::before {
  content: none;
}

.devhub-single__offer-badge::after {
  content: none;
}

.devhub-single__offer-badge-kicker {
  display: none;
}

.devhub-single__offer-badge-caption {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  order: 1;
  white-space: nowrap;
  transform: none;
  position: static;
  align-self: center;
  text-align: center;
  width: 100%;
  padding-right: 1.8rem;
  box-sizing: border-box;
}

.devhub-single__offer-badge-value {
  display: block;
  margin: 0;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--devhub-white);
  white-space: nowrap;
  order: 2;
  align-self: center;
  text-align: center;
  width: 100%;
  padding-right: 1.8rem;
  box-sizing: border-box;
}

.devhub-single__price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: nowrap;
}

.devhub-single__price {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 12px;
  flex-wrap: wrap;
  line-height: 1;
  min-width: 0;
}

.devhub-single__price .price {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 !important;
  line-height: 1;
}

.devhub-single__price ins {
  order: 1;
  text-decoration: none !important;
  font-size: var(--devhub-text-4xl) !important;
  font-weight: 800;
  color: var(--devhub-primary);
}

.devhub-single__price ins .woocommerce-Price-amount,
.devhub-single__price ins .woocommerce-Price-amount bdi,
.devhub-single__price ins .woocommerce-Price-amount bdi * {
  text-decoration: none !important;
  font-size: var(--devhub-text-4xl) !important;
  font-weight: 800;
  color: var(--devhub-primary);
}

.devhub-single__price--range,
.devhub-single__price--range .woocommerce-Price-amount,
.devhub-single__price--range .woocommerce-Price-amount bdi,
.devhub-single__price--range .woocommerce-Price-amount bdi * {
  font-size: var(--devhub-text-4xl) !important;
  font-weight: 800 !important;
  color: var(--devhub-primary) !important;
}

.devhub-single__price del {
  order: 2;
  font-size: 1.6rem !important;
  font-weight: 600;
  color: #8f8f8f;
  opacity: 1;
  text-decoration: line-through;
}

.devhub-single__price del .woocommerce-Price-amount,
.devhub-single__price del .woocommerce-Price-amount bdi,
.devhub-single__price del .woocommerce-Price-amount bdi * {
  font-size: 1.6rem !important;
  line-height: 1;
  color: #8f8f8f !important;
}

/* Non-sale price (no del/ins wrapper) */
.devhub-single__price > .woocommerce-Price-amount,
.devhub-single__price > .woocommerce-Price-amount bdi,
.devhub-single__price > .woocommerce-Price-amount bdi * {
  font-size: var(--devhub-text-4xl) !important;
  font-weight: 800 !important;
  color: var(--devhub-primary) !important;
}

.devhub-single__price .price .woocommerce-Price-amount,
.devhub-single__price .price .woocommerce-Price-amount bdi,
.devhub-single__price .price .woocommerce-Price-amount bdi * {
  line-height: 1;
}

.devhub-single__stock {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  font-size: var(--devhub-text-xl);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.devhub-single__stock--in {
  color: var(--devhub-success);
}
.devhub-single__stock--out {
  color: var(--devhub-danger);
}

.devhub-single__short-desc {
  font-size: var(--devhub-text-2xl);
  color: var(--devhub-dark);
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: none;
}

.devhub-single__short-desc p {
  margin: 0;
}

.devhub-single__stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
}

@media (max-width: 991px) {
  .devhub-single__price-row {
    flex-wrap: wrap;
  }

  .devhub-single__heading-row {
    margin-bottom: 1.2rem;
  }

  .devhub-single__offer-badge {
    top: 12px;
    left: -64px;
    width: 206px;
    min-height: 64px;
    padding: 0.5rem 1rem 0.7rem 2.7rem;
  }

  .devhub-single__offer-badge-caption {
    font-size: 0.64rem;
    padding-right: 1.55rem;
  }

  .devhub-single__offer-badge-value {
    font-size: 1.9rem;
    padding-right: 1.55rem;
  }

  .devhub-single__new-badge {
    top: 10px;
    right: 12px;
  }

  .devhub-single__new-badge .gold-badge {
    transform: scale(0.74);
  }
}

/* Option groups */
.devhub-single__option-group {
  margin-bottom: 20px;
}

.devhub-single__option-label {
  font-size: var(--devhub-text-xl) !important;
  color: var(--devhub-mid) !important;
  margin-bottom: 10px !important;
  background: none !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  display: block !important;
  font-weight: 400 !important;
  line-height: normal !important;
}

/* Color swatches */
.devhub-single__color-swatches {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.devhub-single__color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  outline: none !important;
  outline-offset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition:
    border-color var(--devhub-transition),
    transform var(--devhub-transition);
}

.devhub-single__color-swatch:focus,
.devhub-single__color-swatch:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.devhub-single__color-swatch .fas {
  font-size: 10px;
  color: transparent;
  transition: color var(--devhub-transition);
}

.devhub-single__color-swatch--active {
  border-color: rgba(0, 0, 0, 0.12);
}
.devhub-single__color-swatch--active .fas {
  color: #111827;
  -webkit-text-stroke: 1.5px #fff;
  paint-order: stroke fill;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.95);
}

.devhub-single__color-swatch--disabled {
  opacity: 1;
  cursor: pointer;
  outline: none !important;
}

/* Storage */
.devhub-single__storage-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.devhub-single__storage-btn {
  padding: 8px 18px;
  border: 1px solid rgba(228, 231, 236, 0.95);
  border-radius: var(--devhub-radius-full);
  background: var(--devhub-white);
  font-size: var(--devhub-text-md);
  font-weight: 600;
  color: var(--devhub-dark);
  cursor: pointer;
  transition:
    background-color var(--devhub-transition),
    border-color var(--devhub-transition),
    color var(--devhub-transition),
    box-shadow var(--devhub-transition);
}

.devhub-single__storage-btn:focus,
.devhub-single__storage-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.devhub-single__storage-btn:hover,
.devhub-single__storage-btn:focus-visible {
  border-color: var(--devhub-primary);
  color: var(--devhub-primary);
}

.devhub-single__storage-btn--active {
  background: var(--devhub-primary);
  color: var(--devhub-white);
  border-color: var(--devhub-white);
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.28);
}

.devhub-single__storage-btn--active:hover,
.devhub-single__storage-btn--active:focus,
.devhub-single__storage-btn--active:focus-visible {
  background: var(--devhub-primary);
  color: var(--devhub-white);
  border-color: var(--devhub-white);
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.28);
}

.devhub-single__storage-btn--active.devhub-single__storage-btn--disabled {
  color: var(--devhub-white);
}

.devhub-single__storage-btn--disabled {
  opacity: 1;
  cursor: pointer;
  border-color: rgba(228, 231, 236, 0.95);
  color: var(--devhub-dark);
}

/* Bundle carousel */
.devhub-single__bundles {
  margin-bottom: 24px;
  background: #fff !important;
}

.devhub-single__bundle-help {
  margin: 4px 0 12px;
  font-size: var(--devhub-text-xl);
  color: var(--devhub-mid);
}

.devhub-single__bundles-slider {
  position: relative;
  background: #fff !important;
}

.devhub-single__bundles-viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding-bottom: 2px;
  background: #fff !important;
}

.devhub-single__bundles-track {
  display: flex;
  gap: 12px;
  transition: transform 0.3s ease;
  will-change: transform;
  background: #fff !important;
}

.devhub-single__bundle-card {
  position: relative;
  flex-shrink: 0;
  border: 1px solid rgba(228, 231, 236, 0.95);
  border-radius: var(--devhub-radius-md);
  padding: 18px;
  background: var(--devhub-white);
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: none;
  transition:
    border-color var(--devhub-transition),
    transform var(--devhub-transition),
    box-shadow var(--devhub-transition);
}

.devhub-single__bundle-card--active {
  border-color: var(--devhub-primary);
  box-shadow: none;
}

/* Checkmark badge on the selected card — text cards already get a visible
   border-color change above; the badge is an additional, consistent marker
   shared by both text and image cards. */
.devhub-single__bundle-card--active::after {
  content: "\2713";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--devhub-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.devhub-single__bundle-card:hover {
  transform: none;
  box-shadow: none;
}

.devhub-single__bundle-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.devhub-single__bundle-icon {
  width: 36px;
  height: 36px;
  background: #fff4ee;
  border-radius: var(--devhub-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.devhub-single__bundle-icon .fas {
  color: var(--devhub-primary);
  font-size: 15px;
}

/* Admin-set package image — fills the entire bundle card, replacing all text content.
   aspect-ratio is locked so the card's shape is deliberate and predictable — without
   it, height came from flex-stretch against sibling cards, so background-size: cover
   cropped any uploaded image that didn't happen to match whatever that was. */
.devhub-single__bundle-card--has-image {
  aspect-ratio: 320 / 270;
  background-image: var(--devhub-bundle-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
}

/* Image cards signal selection with the checkmark badge alone (see the
   shared .devhub-single__bundle-card--active::after rule above) — no
   border/background emphasis, so this cancels the border-color change that
   rule applies for text cards. */
.devhub-single__bundle-card--has-image.devhub-single__bundle-card--active {
  border-color: rgba(228, 231, 236, 0.95);
}

.devhub-single__bundle-name {
  font-size: var(--devhub-text-2xl);
  font-weight: 600;
  color: var(--devhub-black);
  line-height: 1.4;
  min-height: calc(var(--devhub-text-2xl) * 1.4 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.devhub-single__bundle-meta {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--devhub-border);
}

.devhub-single__bundle-desc {
  margin: 0 0 8px;
  font-size: var(--devhub-text-xl);
  line-height: 1.5;
  color: var(--devhub-mid);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.devhub-single__bundle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.devhub-single__bundle-row:last-child {
  margin-bottom: 0;
}
.devhub-single__bundle-meta-key {
  font-size: var(--devhub-text-xl);
  color: var(--devhub-mid);
}
.devhub-single__bundle-meta-val {
  font-size: var(--devhub-text-xl);
  font-weight: 500;
  color: var(--devhub-dark);
}

.devhub-single__bundle-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.devhub-single__bundle-plan-label {
  font-size: var(--devhub-text-xl);
  color: var(--devhub-mid);
  margin-bottom: 2px;
}
.devhub-single__bundle-price {
  font-size: var(--devhub-text-2xl);
  font-weight: 700;
  color: var(--devhub-black);
}
.devhub-single__bundle-link {
  font-size: var(--devhub-text-xl);
  color: var(--devhub-primary);
  white-space: nowrap;
  flex-shrink: 0;
}
.devhub-single__bundle-link:hover {
  text-decoration: underline;
}

.devhub-single__payment-offers {
  display: grid;
  grid-template-columns: repeat(3, 240px);
  justify-content: flex-start;
  gap: 12px;
  margin: -6px 0 22px;
}

.devhub-single__payment-offer-card {
  min-height: 64px;
  border: 1px solid rgba(228, 231, 236, 0.95);
  border-radius: var(--devhub-radius-md);
  background: var(--devhub-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  box-shadow: none;
}

.devhub-single__payment-offer-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 36px;
  object-fit: contain;
}

.devhub-single__payment-offer-card--webx img {
  max-height: 28px;
}

.devhub-single__payment-offer-card--koko img {
  max-height: 34px;
}

.devhub-single__payment-offer-card--debit-credit-card img {
  max-height: 36px;
}

.devhub-single__bundle-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--devhub-white);
  border: 1px solid var(--devhub-border);
  box-shadow: var(--devhub-shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    border-color var(--devhub-transition),
    box-shadow var(--devhub-transition);
}

.devhub-single__bundle-arrow--prev {
  left: -16px;
}

.devhub-single__bundle-arrow--next {
  right: -16px;
}

.devhub-single__gallery-arrow--prev,
.devhub-single__gallery-arrow--next {
  top: calc(50% + 7px);
  transform: translateY(-50%);
}

.devhub-single__gallery-arrow--prev {
  left: -16px;
}

.devhub-single__gallery-arrow--next {
  right: -16px;
}

.devhub-single__gallery-arrow--vertical.devhub-single__gallery-arrow--prev,
.devhub-single__gallery-arrow--vertical.devhub-single__gallery-arrow--next {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.devhub-single__gallery-arrow--vertical.devhub-single__gallery-arrow--prev {
  top: 0;
}

.devhub-single__gallery-arrow--vertical.devhub-single__gallery-arrow--next {
  top: auto;
  bottom: 0;
}

.devhub-single__payment-arrow--prev {
  left: -16px;
}

.devhub-single__payment-arrow--next {
  right: -16px;
}

.devhub-single__bundle-arrow[hidden] {
  display: none;
}
.devhub-single__bundle-arrow:hover {
  border-color: var(--devhub-primary);
  box-shadow: var(--devhub-shadow-hover);
}

.devhub-single__gallery-arrow:focus,
.devhub-single__gallery-arrow:focus-visible,
.devhub-single__gallery-arrow:active {
  outline: none !important;
  border-color: var(--devhub-primary);
  box-shadow: var(--devhub-shadow-hover);
}

.devhub-single__bundle-arrow .fas {
  font-size: 11px;
  color: var(--devhub-dark);
}

/* Cart actions */
.devhub-single__cart-form {
  margin: 0;
}

.devhub-single__pricing-table-slot {
  margin: 0 0 12px;
}

.devhub-single__pricing-table-slot:empty {
  display: none;
}

.devhub-single__pricing-table-slot #dh-pkg-selector,
.devhub-single__pricing-table-slot .dh-pkg-selector,
.devhub-single__pricing-table-slot [id^="dh-pkg-selector"] {
  display: none !important;
}

.devhub-single__pricing-table-slot .wdp_table_outter {
  margin: 0 0 20px;
  padding: 0 !important;
  width: 50%;
  max-width: 520px;
}

.devhub-single__pricing-table-slot .wdp_table_outter h4 {
  margin: 0 0 10px !important;
  font-size: var(--devhub-text-xl);
  font-weight: 700;
  color: var(--devhub-dark);
}

.devhub-single__pricing-table-slot table.wdp_table {
  width: 100%;
  margin: 0 !important;
  border-color: rgba(228, 231, 236, 0.95) !important;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
}

.devhub-single__pricing-table-slot table.wdp_table td,
.devhub-single__pricing-table-slot table.wdp_table th {
  padding: 10px 14px !important;
  font-size: 1.35rem;
  color: var(--devhub-dark);
  border-color: rgba(228, 231, 236, 0.95) !important;
}

.devhub-single__pricing-table-slot table.wdp_table thead td,
.devhub-single__pricing-table-slot table.wdp_table .wdp_table_head td {
  background: #f5f7fa;
  font-weight: 700;
  color: var(--devhub-black);
}

.devhub-single__pricing-table-slot table.wdp_table.lay_horzntl {
  width: 100% !important;
}

.devhub-single__pricing-table-slot table.wdp_table:not(.lay_horzntl) {
  width: auto !important;
  min-width: 0;
  border: 0 !important;
  background: transparent;
  border-radius: 0;
}

.devhub-single__pricing-table-slot table.wdp_table:not(.lay_horzntl) thead,
.devhub-single__pricing-table-slot
  table.wdp_table:not(.lay_horzntl)
  .wdp_table_head {
  display: none;
}

.devhub-single__pricing-table-slot table.wdp_table:not(.lay_horzntl) tbody,
.devhub-single__pricing-table-slot
  table.wdp_table:not(.lay_horzntl)
  .wdp_table_body {
  display: grid;
  gap: 6px;
}

.devhub-single__pricing-table-slot table.wdp_table:not(.lay_horzntl) tr {
  display: block;
}

.devhub-single__pricing-table-slot table.wdp_table:not(.lay_horzntl) td {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--devhub-dark);
  font-variant-ligatures: none;
  font-feature-settings:
    "liga" 0,
    "calt" 0;
}

.devhub-single__pricing-table-slot
  table.wdp_table:not(.lay_horzntl)
  .devhub-wdp-arrow {
  display: inline-block !important;
  width: auto !important;
  margin: 0 10px;
  color: var(--devhub-mid) !important;
  font-size: 0.9em !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 991px) {
  .devhub-single__pricing-table-slot .wdp_table_outter {
    width: 100%;
    max-width: none;
  }

  .devhub-single__pricing-table-slot table.wdp_table,
  .devhub-single__pricing-table-slot table.wdp_table.lay_horzntl {
    width: 100% !important;
  }

  .devhub-single__pricing-table-slot table.wdp_table.lay_horzntl {
    table-layout: fixed !important;
  }

  .devhub-single__pricing-table-slot table.wdp_table.lay_horzntl thead,
  .devhub-single__pricing-table-slot table.wdp_table.lay_horzntl tbody {
    display: table-header-group !important;
  }

  .devhub-single__pricing-table-slot table.wdp_table.lay_horzntl tbody {
    display: table-row-group !important;
  }

  .devhub-single__pricing-table-slot table.wdp_table.lay_horzntl tr {
    display: table-row !important;
  }

  .devhub-single__pricing-table-slot table.wdp_table.lay_horzntl td,
  .devhub-single__pricing-table-slot table.wdp_table.lay_horzntl th {
    display: table-cell !important;
    width: auto !important;
    min-width: 0 !important;
    vertical-align: middle !important;
    white-space: normal !important;
    word-break: normal !important;
  }
}

@media (max-width: 575px) {
  .devhub-single__pricing-table-slot table.wdp_table.lay_horzntl td,
  .devhub-single__pricing-table-slot table.wdp_table.lay_horzntl th {
    padding: 10px 12px !important;
    font-size: 1.2rem;
  }
}

.devhub-single__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.devhub-single__quantity {
  width: 140px;
  min-width: 140px;
  height: 40px;
  display: inline-grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: stretch;
  border: 1px solid var(--devhub-border);
  border-radius: 6px;
  background: var(--devhub-white);
  overflow: hidden;
  position: relative;
}

.devhub-single__quantity::before {
  content: "";
  position: absolute;
  top: 0;
  right: 40px;
  bottom: 0;
  left: 40px;
  z-index: 0;
  background: var(--devhub-bg);
  border-right: 1px solid var(--devhub-border);
  border-left: 1px solid var(--devhub-border);
}

.devhub-single__qty-btn,
.devhub-single__qty-input {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--devhub-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  outline: none;
}

.devhub-single__qty-btn {
  cursor: pointer;
  border-radius: 0 !important;
  transition:
    background-color var(--devhub-transition),
    color var(--devhub-transition);
}

.devhub-single__qty-btn:hover,
.devhub-single__qty-btn:focus-visible {
  background: var(--devhub-bg);
  color: var(--devhub-primary);
}

.devhub-single__qty-btn:focus,
.devhub-single__qty-btn:focus-visible,
.devhub-single__qty-btn:active,
.devhub-single__qty-input:focus,
.devhub-single__qty-input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.devhub-single__qty-input {
  appearance: textfield;
  -moz-appearance: textfield;
  align-self: stretch;
  display: block;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}

.devhub-single__qty-input::-webkit-outer-spin-button,
.devhub-single__qty-input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.devhub-single__btn {
  flex: 0 1 240px;
  max-width: 240px;
  min-height: 40px;
  padding: 9px 20px;
  border-radius: var(--devhub-radius-full) !important;
  font-size: var(--devhub-text-md);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  transition:
    opacity var(--devhub-transition),
    transform var(--devhub-transition);
}

.devhub-single__btn:hover {
  opacity: 0.9;
}
.devhub-single__btn:active {
  transform: scale(0.98);
}

.devhub-single__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.devhub-single .devhub-single__btn--cart,
.woocommerce .devhub-single__btn--cart,
.woocommerce-page .devhub-single__btn--cart {
  background: var(--devhub-black) !important;
  color: var(--devhub-white) !important;
  border: none !important;
  border-radius: var(--devhub-radius-full) !important;
  padding: 9px 20px !important;
  font-size: 1.42rem !important;
  font-weight: 700 !important;
  width: 240px !important;
  max-width: 240px !important;
  min-height: 40px !important;
  height: 40px !important;
  line-height: normal !important;
  box-shadow: none !important;
  text-transform: none !important;
  outline: none !important;
}

.devhub-single .devhub-single__btn--buy,
.woocommerce .devhub-single__btn--buy,
.woocommerce-page .devhub-single__btn--buy {
  background: var(--devhub-primary) !important;
  color: var(--devhub-white) !important;
  border-radius: var(--devhub-radius-full) !important;
  padding: 9px 20px !important;
  font-size: 1.42rem !important;
  font-weight: 700 !important;
  width: 240px !important;
  max-width: 240px !important;
  min-height: 40px !important;
  height: 40px !important;
  line-height: normal !important;
  box-shadow: none !important;
  text-transform: none !important;
  outline: none !important;
}

.devhub-single .devhub-single__btn--cart:disabled,
.woocommerce .devhub-single__btn--cart:disabled,
.woocommerce-page .devhub-single__btn--cart:disabled,
.devhub-single .devhub-single__btn--buy:disabled,
.woocommerce .devhub-single__btn--buy:disabled,
.woocommerce-page .devhub-single__btn--buy:disabled {
  background: #d0d5dd !important;
  border-color: #d0d5dd !important;
  color: var(--devhub-white) !important;
}

/* Tabs */
.devhub-single__tabs {
  border-top: none;
  margin-top: 8px;
  min-width: 0;
}

.devhub-single__tab-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: none;
  margin-bottom: 32px;
  padding: 16px 0;
}

.devhub-single__tab-btn {
  padding: 5px 14px;
  font-size: var(--devhub-text-2xl);
  font-weight: 500;
  color: var(--devhub-mid);
  background: var(--devhub-white);
  border: 1.5px solid var(--devhub-white);
  border-radius: var(--devhub-radius-sm);
  cursor: pointer;
  outline: 0 !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.14s ease,
    border-color 0.14s ease,
    background 0.14s ease,
    box-shadow 0.14s ease;
}

.devhub-single__tab-btn:hover:not(.devhub-single__tab-btn--active) {
  color: var(--devhub-primary);
  border-color: var(--devhub-primary);
  background: var(--devhub-white);
  box-shadow: none !important;
}

.devhub-single__tab-btn:focus,
.devhub-single__tab-btn:focus-visible,
.devhub-single__tab-btn:active {
  outline: 0 !important;
  box-shadow: none !important;
}

.devhub-single__tab-btn:focus:not(.devhub-single__tab-btn--active),
.devhub-single__tab-btn:focus-visible:not(.devhub-single__tab-btn--active),
.devhub-single__tab-btn:active:not(.devhub-single__tab-btn--active) {
  color: var(--devhub-mid);
  border-color: var(--devhub-white);
  background: var(--devhub-white);
}

.devhub-single__tab-btn--active {
  color: var(--devhub-primary);
  font-weight: 600;
  border-color: var(--devhub-primary);
  background: #fff5f0;
}

.devhub-single__tab-panel {
  display: block;
  min-width: 0;
}
.devhub-single__tab-panel--active {
  display: block;
}

/* Description */
.devhub-single__desc-card {
  background: var(--devhub-bg);
  border: 1px solid var(--devhub-border);
  border-radius: var(--devhub-radius-md);
  box-shadow: var(--devhub-shadow-card);
  padding: 2.4rem 2.8rem;
}

.devhub-single__feature-cards {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.devhub-single__feature-card {
  background: var(--devhub-surface-elevated);
  min-width: 0;
}

.devhub-single__feature-title {
  font-size: var(--devhub-text-2xl);
  font-weight: 700;
  color: var(--devhub-black);
  margin-bottom: 14px;
}

.devhub-single__features-content {
  font-size: var(--devhub-text-2xl);
  color: var(--devhub-dark);
  line-height: 1.8;
}

.devhub-single__features-content > *:first-child {
  margin-top: 0;
}

.devhub-single__features-content p + p {
  margin-top: 10px;
}

.devhub-single__features-content p,
.devhub-single__features-content ul,
.devhub-single__features-content ol,
.devhub-single__features-content table,
.devhub-single__features-content blockquote {
  color: inherit;
}

.devhub-single__features-content em,
.devhub-single__features-content cite,
.devhub-single__features-content q {
  color: inherit;
}

.devhub-single__features-content ul,
.devhub-single__features-content ol {
  margin: 12px 0 0 22px;
  padding: 0;
}

.devhub-single__features-content ul {
  list-style: disc;
}

.devhub-single__features-content ol {
  list-style: decimal;
}

.devhub-single__features-content li {
  display: list-item;
}

.devhub-single__features-content li + li {
  margin-top: 8px;
}

.devhub-single__features-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 16px;
  border: 1px solid var(--devhub-border);
  border-radius: var(--devhub-radius-md);
  overflow: hidden;
  background: var(--devhub-white);
  box-shadow: var(--devhub-shadow-card);
}

.devhub-single__features-content th,
.devhub-single__features-content td {
  padding: 14px 20px;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-top: 1px solid var(--devhub-border);
  font-size: var(--devhub-text-2xl);
  color: var(--devhub-dark);
}

.devhub-single__features-content th {
  background: var(--devhub-bg) !important;
  color: var(--devhub-black) !important;
  font-weight: 600;
}

.devhub-single__features-content thead th {
  background: var(--devhub-bg) !important;
  color: var(--devhub-black) !important;
  font-weight: 700;
  border-top: 0;
}

.devhub-single__features-content tr:first-child th,
.devhub-single__features-content tr:first-child td {
  border-top: 0;
}

.devhub-single__features-content tbody tr:nth-child(odd) {
  background: var(--devhub-bg);
}

.devhub-single__features-content tbody tr:nth-child(even) {
  background: var(--devhub-white);
}

.devhub-single__features-content tr:nth-child(odd) {
  background: var(--devhub-bg);
}

.devhub-single__features-content tr:nth-child(even) {
  background: var(--devhub-white);
}

.devhub-single__features-content tr > * + * {
  border-left: 1px solid var(--devhub-border);
}

.devhub-single__features-content tbody td:first-child,
.devhub-single__features-content tbody th:first-child {
  width: 240px;
  color: var(--devhub-mid);
  font-weight: 500;
}

/* Quick stats */
.devhub-single__quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.devhub-single__quick-stat {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(228, 231, 236, 0.95);
  border-radius: var(--devhub-radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--devhub-shadow-card);
}

.devhub-single__quick-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.devhub-single__quick-stat-icon .fas {
  font-size: 40px;
  color: var(--devhub-mid);
}

.devhub-single__quick-stat-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  min-width: 0;
  text-align: right;
}

.devhub-single__quick-stat-label {
  display: block;
  font-size: var(--devhub-text-xl);
  color: var(--devhub-mid);
}
.devhub-single__quick-stat-value {
  display: block;
  font-size: var(--devhub-text-xl);
  font-weight: 600;
  color: var(--devhub-black);
}

/* Specs table — alternating rows */
.devhub-single__specs-table {
  width: 100%;
  border-collapse: collapse;
}

.devhub-single__spec-group {
  padding: 14px 20px;
  font-size: var(--devhub-text-2xl);
  font-weight: 700;
  color: var(--devhub-dark);
  vertical-align: top;
  width: 140px;
  border-right: 1px solid #e8e8e8;
}

.devhub-single__specs-table tr:nth-child(odd) {
  background-color: var(--devhub-bg);
}
.devhub-single__specs-table tr:nth-child(even) {
  background-color: var(--devhub-white);
}

.devhub-single__spec-label,
.devhub-single__spec-value {
  padding: 14px 20px;
  font-size: var(--devhub-text-2xl);
  vertical-align: top;
}

.devhub-single__spec-label {
  width: 240px;
  color: var(--devhub-text-secondary, #666);
  font-weight: 400;
}

.devhub-single__spec-value {
  color: var(--devhub-dark);
}

/* Responsive */
@media (max-width: 1199px) {
  .devhub-single__layout {
    grid-template-columns: 42% minmax(0, 1fr) 220px !important;
  }
}

@media (max-width: 1024px) {
  .devhub-single__quick-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .devhub-single__bundle-footer {
    align-items: flex-end;
  }
}

@media (max-width: 991px) {
  .devhub-single__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 24px;
  }
  .devhub-single__delivery {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 0;
    padding-top: 20px;
    border-left: 0;
    border-top: 1px solid var(--devhub-border);
  }
  .devhub-single__meta-group {
    flex-basis: 100% !important;
  }
}

@media (max-width: 768px) {
  .devhub-single__layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
  }
  .devhub-single__option-label {
    font-size: 16px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }
  .devhub-single__stock {
    gap: 8px;
    font-size: 18px;
    line-height: 1.3;
  }
  .devhub-single__stock-dot {
    width: 10px;
    height: 10px;
  }
  .devhub-single__color-swatches,
  .devhub-single__storage-options {
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .devhub-single__color-swatches::-webkit-scrollbar,
  .devhub-single__storage-options::-webkit-scrollbar {
    display: none;
  }
  .devhub-single__color-swatch {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }
  .devhub-single__color-swatch .fas {
    font-size: 13px;
  }
  .devhub-single__storage-btn {
    flex: 0 0 auto;
    min-width: 76px;
    min-height: 42px;
    padding: 9px 16px;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .devhub-single__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: stretch;
    gap: 10px;
  }
  .devhub-single__quantity {
    width: 100%;
    min-width: 0;
    height: 44px;
  }
  .devhub-single__quantity .devhub-single__qty-input {
    height: auto !important;
    min-height: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: transparent !important;
    align-self: stretch !important;
  }
  .devhub-single__btn,
  .devhub-single .devhub-single__btn--cart,
  .woocommerce .devhub-single__btn--cart,
  .woocommerce-page .devhub-single__btn--cart {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    min-height: 44px !important;
    height: 44px !important;
    max-height: 44px !important;
    padding: 10px 18px !important;
    border-radius: 14px !important;
    line-height: 1.2 !important;
  }
  /* Mobile: quantity and Buy Now share the first row; Add to Cart is full width below. */
  .devhub-single .devhub-single__btn--cart,
  .woocommerce .devhub-single__btn--cart,
  .woocommerce-page .devhub-single__btn--cart {
    grid-column: 1 / -1;
  }
  .devhub-single .devhub-single__btn--buy,
  .woocommerce .devhub-single__btn--buy,
  .woocommerce-page .devhub-single__btn--buy {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    min-height: 44px !important;
    height: 44px !important;
    max-height: 44px !important;
    padding: 10px 18px !important;
    border-radius: 14px !important;
    line-height: 1.2 !important;
  }
  .devhub-single__tab-btn {
    padding: 12px 16px;
    font-size: var(--devhub-text-xl);
  }
  /* Specification tables fit the screen width on phones: no sideways swiping.
     The table shares the width between its columns, long text wraps, and the
     widths pasted into the product HTML (width="199", 25%, ...) are ignored.
     Words only break when a single word is wider than its column. */
  .devhub-single__features-content {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-wrap: break-word;
  }
  .devhub-single__features-content table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: auto !important;
  }
  .devhub-single__features-content col,
  .devhub-single__features-content colgroup {
    width: auto !important;
  }
  .devhub-single__features-content th,
  .devhub-single__features-content td {
    width: auto !important;
    min-width: 0 !important;
    padding: 9px 8px;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: manual;
  }
  /* product-sections.js adds .is-squeezed to a table that is still wider than the
     screen (very long words or codes): it then gets equal columns and long
     strings may break, so it never needs sideways swiping. */
  .devhub-single__features-content table.is-squeezed {
    table-layout: fixed !important;
  }
  .devhub-single__features-content table.is-squeezed th,
  .devhub-single__features-content table.is-squeezed td {
    overflow-wrap: anywhere !important;
  }
  /* Bold, italic and span text inside a cell inherits normal wrapping too (a global
     word-break: break-word on <strong> made columns shrink and split words). */
  .devhub-single__features-content table * {
    word-break: normal !important;
  }
  .devhub-single__features-content img,
  .devhub-single__features-content iframe,
  .devhub-single__features-content video {
    max-width: 100%;
    height: auto;
  }
  .devhub-single__features-content pre {
    max-width: 100%;
    white-space: pre-wrap;
  }
  #devhubTabSpecs {
    width: 100%;
    max-width: 100%;
  }

  .devhub-single__specs-table {
    min-width: 860px;
    width: 860px;
    max-width: none !important;
    border: 1px solid var(--devhub-border);
    border-radius: var(--devhub-radius-md);
    overflow: hidden;
    background: var(--devhub-white);
  }

  .devhub-single__specs-table tr {
    border-bottom: 1px solid var(--devhub-border);
  }

  .devhub-single__specs-table tr:last-child {
    border-bottom: 0;
  }

  .devhub-single__spec-group {
    width: 160px;
    min-width: 160px;
    padding: 14px 20px;
    border-right: 1px solid var(--devhub-border);
    border-bottom: 0;
    font-size: var(--devhub-text-2xl);
  }

  .devhub-single__spec-label,
  .devhub-single__spec-value {
    padding: 14px 20px;
    font-size: var(--devhub-text-2xl);
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  .devhub-single__spec-label {
    width: 260px;
    min-width: 260px;
    color: var(--devhub-mid);
  }

  .devhub-single__spec-value {
    min-width: 440px;
  }
  .devhub-single__bundles-slider {
    overflow: visible;
  }
  .devhub-single__bundle-card {
    padding: 12px;
  }
  .devhub-single__bundle-row {
    gap: 8px;
    align-items: flex-start;
  }
  .devhub-single__bundle-arrow {
    width: 28px;
    height: 28px;
  }
  .devhub-single__bundle-arrow--prev {
    left: -10px;
  }
  .devhub-single__bundle-arrow--next {
    right: -10px;
  }
  .devhub-single__payment-arrow--prev {
    left: -10px;
  }
  .devhub-single__payment-arrow--next {
    right: -10px;
  }
  .devhub-single__gallery-arrow--prev {
    left: -10px;
  }
  .devhub-single__gallery-arrow--next {
    right: -10px;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .devhub-single__gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 10px;
    align-items: stretch;
  }
  .devhub-single__main-image {
    grid-column: 1;
    grid-row: 1;
    height: 100%;
    max-height: none;
  }
  .devhub-single__thumbnails-slider {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    min-height: 0;
  }
  .devhub-single__thumbnails-viewport {
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .devhub-single__thumbnails {
    margin-top: 0;
    flex-direction: column;
    gap: 10px;
    will-change: transform;
  }
  .devhub-single__thumb {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 6px;
  }
  .devhub-single__safe-checkout {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 12px;
  }
  .devhub-single__gallery-arrow--prev,
  .devhub-single__gallery-arrow--next {
    display: flex;
  }
}

@media (max-width: 767px) {
  .devhub-single__bundles-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .devhub-single__bundles-viewport::-webkit-scrollbar {
    display: none;
  }

  .devhub-single__bundle-card {
    scroll-snap-align: start;
  }

  .devhub-single__bundle-arrow {
    display: none;
  }
}

@media (max-width: 576px) {
  .devhub-single__bundles-track {
    gap: 8px;
  }
  .devhub-single__bundle-card {
    min-height: 178px;
    padding: 12px;
    border-radius: 12px;
  }
  .devhub-single__bundle-top {
    gap: 8px;
    margin-bottom: 10px;
  }
  .devhub-single__bundle-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .devhub-single__bundle-icon .fas {
    font-size: 14px;
  }
  .devhub-single__bundle-name {
    font-size: 18px;
    line-height: 1.35;
    min-height: calc(18px * 1.35 * 2);
  }
  .devhub-single__bundle-meta {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  .devhub-single__bundle-desc {
    font-size: 16px;
    line-height: 1.45;
    -webkit-line-clamp: 3;
  }
  .devhub-single__bundle-price {
    font-size: var(--devhub-text-xl);
  }
  .devhub-single__bundle-arrow--prev {
    left: -8px;
  }
  .devhub-single__bundle-arrow--next {
    right: -8px;
  }
  .devhub-single__payment-icons {
    justify-content: flex-start;
  }
  .devhub-single__payment-offers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .devhub-single__payment-offer-card {
    min-height: 72px;
  }
}

/* ── Promo circle badge on product image ─────────────────────────────────── */

.devhub-single__main-image {
  position: relative;
  z-index: 1;
}

.devhub-promo-circle-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 72px;
  height: 72px;
  background: radial-gradient(circle, #e8001e 0%, #b00018 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 12px rgba(200, 0, 30, 0.45);
  z-index: 10;
  /* starburst spikes via conic-gradient outline */
  outline: 6px solid transparent;
  outline-offset: -3px;
  clip-path: polygon(
    50% 0%,
    61% 15%,
    79% 9%,
    73% 27%,
    93% 29%,
    83% 44%,
    100% 50%,
    83% 56%,
    93% 71%,
    73% 73%,
    79% 91%,
    61% 85%,
    50% 100%,
    39% 85%,
    21% 91%,
    27% 73%,
    7% 71%,
    17% 56%,
    0% 50%,
    17% 44%,
    7% 29%,
    27% 27%,
    21% 9%,
    39% 15%
  );
  width: 80px;
  height: 80px;
}

.devhub-promo-circle-badge__pct {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.devhub-promo-circle-badge__off {
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Promo bar (tagline + countdown) ─────────────────────────────────────── */

.devhub-promo-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.devhub-promo-bar__badge {
  background: var(--devhub-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.devhub-promo-bar__tagline {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.devhub-promo-bar__countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.devhub-promo-bar__label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  white-space: nowrap;
}

.devhub-promo-bar__timer {
  display: flex;
  align-items: center;
  gap: 4px;
}

.devhub-promo-bar__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 6px 10px;
  min-width: 48px;
}

.devhub-promo-bar__num {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.devhub-promo-bar__unit em {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-style: normal;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.devhub-promo-bar__sep {
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

@media (max-width: 576px) {
  .devhub-promo-bar {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .devhub-promo-bar__badge {
    flex-shrink: 0;
  }
  .devhub-promo-bar__tagline {
    flex: 1;
  }
  .devhub-promo-bar__countdown {
    width: 100%;
    margin-left: 0;
  }
  .devhub-promo-bar__unit {
    min-width: 44px;
    padding: 5px 8px;
  }
  .devhub-promo-bar__num {
    font-size: 18px;
  }
}

@media (max-width: 400px) {
  .devhub-promo-bar__unit {
    min-width: 36px;
    padding: 5px 6px;
  }
  .devhub-promo-bar__unit em {
    font-size: 0;
  }
  .devhub-promo-bar__unit em::first-letter {
    font-size: 10px;
    letter-spacing: 0;
  }
}

/* ==========================================================================
   Reviews tab
   ========================================================================== */

.devhub-single__tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--devhub-primary, #f97316);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.devhub-single__reviews-wrap {
  padding: 32px 0 8px;
}

/* Empty state */
.devhub-reviews__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 40px;
  text-align: center;
}

.devhub-reviews__empty-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  opacity: 0.55;
}

.devhub-reviews__empty-title {
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  font-weight: 700;
  color: var(--devhub-dark, #1e293b);
  margin: 0 0 8px;
}

.devhub-reviews__empty-sub {
  font-size: clamp(1.4rem, 1.5vw, 1.6rem);
  color: var(--devhub-mid, #64748b);
  margin: 0 0 32px;
}

/* Review list */
.devhub-reviews__list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.devhub-reviews__list .comment_container {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #f1f5f9;
}

.devhub-reviews__list .comment_container img.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.devhub-reviews__list .comment-text {
  flex: 1;
}

.devhub-reviews__list .star-rating {
  margin-bottom: 6px;
}

/* Review form */
.devhub-reviews #review_form_wrapper {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #f1f5f9;
}

.devhub-reviews #reply-title {
  display: block;
  font-size: clamp(1.6rem, 1.8vw, 1.9rem);
  font-weight: 700;
  color: var(--devhub-dark, #1e293b);
  margin-bottom: 20px;
}

.devhub-reviews .comment-form p {
  margin-bottom: 16px;
}

.devhub-reviews .comment-form label {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--devhub-dark, #1e293b);
  margin-bottom: 6px;
}

.devhub-reviews .comment-form input[type="text"],
.devhub-reviews .comment-form input[type="email"],
.devhub-reviews .comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1.4rem;
  color: var(--devhub-dark, #1e293b);
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.devhub-reviews .comment-form input[type="text"]:focus,
.devhub-reviews .comment-form input[type="email"]:focus,
.devhub-reviews .comment-form textarea:focus {
  outline: none;
  border-color: var(--devhub-primary, #f97316);
}

.devhub-reviews .comment-form textarea {
  resize: vertical;
  min-height: 120px;
}

.devhub-reviews .comment-form select {
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1.4rem;
  background: #fff;
  color: var(--devhub-dark, #1e293b);
}

.devhub-reviews .comment-form .form-submit {
  margin-top: 8px;
}

.devhub-reviews .comment-form .submit {
  display: inline-block;
  padding: 12px 28px;
  background: var(--devhub-primary, #f97316);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.devhub-reviews .comment-form .submit:hover {
  opacity: 0.88;
}

.devhub-reviews .must-log-in,
.woocommerce-verification-required {
  font-size: 1.4rem;
  color: var(--devhub-mid, #64748b);
  margin-top: 16px;
}

/* Product details tab: product name above the images added to the description */
.devhub-single__details-title {
  text-align: left;
  margin-bottom: 18px;
}

.devhub-single__details-images {
  display: grid;
  gap: 18px;
  justify-items: center;
  min-width: 0;
}

.devhub-single__details-image {
  max-width: 100%;
  min-width: 0;
}

.devhub-single__details-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Tablet and small desktop (769px+): in the three-column layout the action row
   can be only ~300px wide. Let the buttons share the row and wrap, instead of
   squeezing Add to Cart down to a sliver. */
@media (min-width: 769px) {
  .devhub-single__actions {
    flex-wrap: wrap;
  }

  .devhub-single .devhub-single__btn--buy,
  .woocommerce .devhub-single__btn--buy,
  .woocommerce-page .devhub-single__btn--buy,
  .devhub-single .devhub-single__btn--cart,
  .woocommerce .devhub-single__btn--cart,
  .woocommerce-page .devhub-single__btn--cart {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: max-content;
  }
}
