/* ==========================================================
   Single Product Page
   ========================================================== */
.sp-breadcrumb {
  border-top: 1px solid rgba(232, 234, 237, 1);
  border-bottom: 1px solid rgba(232, 234, 237, 1);
  padding: 16px 0;
  color: rgba(90, 106, 125, 1);
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1;
}

.sp-breadcrumb a {
  color: rgba(90, 106, 125, 1);
  font-weight: 400;
}

.sp-gallery .sp-stock-badge {
  position: absolute;
  top: 0;
  z-index: 3;
  top: 15px;
  left: 20px;
}

.sp-gallery .sp-brand {
  position: absolute;
  right: 10px;
  top: 15px;
  z-index: 3;
}
.sp-details .top-area {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 10px;
}

.sp-details .top-area .sp-brand {
  color: rgba(138, 155, 176, 1);
  font-size: 13px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.sp-details .top-area .sp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sp-details .top-area .sp-tags span {
  background: rgba(193, 39, 45, 0.06);
  padding: 5px 10px;
  border-radius: 4px;
  line-height: 1;
  color: rgba(193, 39, 45, 1);
  letter-spacing: 0.5px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}

.sp-details .sp-title {
  font-size: 46px;
  line-height: 1;
  margin-bottom: 15px;
}

.sp-details .sp-excerpt {
  color: rgba(90, 106, 125, 1);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 20px;
}

.sp-details .sp-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0px 0 30px;
}

.sp-details .sp-meta-grid .item {
  background: rgba(242, 244, 247, 1);
  border: 1px solid rgba(232, 234, 237, 1);
  padding: 16px;
  border-radius: 8px;
}

.sp-details .sp-meta-grid .item .title {
  color: rgba(138, 155, 176, 1);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 5px;
}

.sp-details .sp-meta-grid .item .value {
  font-size: 22px;
  line-height: 1;
  font-family: 'Bebas Neue', sans-serif;
}

.sp-details .sp-custom-desc {
  color: rgba(138, 155, 176, 1);
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  border-top: 1px solid rgba(232, 234, 237, 1);
  margin-top: 20px;
  padding-top: 15px;
}

.sp-details .sp-custom-desc a {
  color: rgba(193, 39, 45, 1);
  font-weight: 700;
}

.sp-details .btn-wrap a {
  flex: 1;
}

.sp-details .btn-wrap a.transparent {
  border: 1px solid rgba(209, 213, 219, 1);
  color: rgba(12, 27, 46, 1);
}

.sp-details .btn-wrap {
  margin-top: 30px;
}

.sp-details .sp-attributes {
  display: grid;
  gap: 20px;
  margin-top: 25px;
}

.sp-details .sp-attributes .sp-attr-label {
  margin-bottom: 10px;
  color: rgba(46, 58, 72, 1);
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}

.sp-details .sp-attributes .sp-attr-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sp-details .sp-attributes .sp-attr-pills button.sp-attr-pill {
  background: #fff;
  border: 1px solid rgba(232, 234, 237, 1);
  padding: 12px 18px;
  border-radius: 8px;
  line-height: 1;
  color: rgba(90, 106, 125, 1);
  font-size: 14px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  cursor: pointer;
}

.sp-details .sp-attributes .sp-attr-pills button.sp-attr-pill.is-active {
  background: rgba(12, 27, 46, 1);
  border: 1px solid rgba(12, 27, 46, 1);
  color: #fff;
}

.sp-details .sp-bottom-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  line-height: 1;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(138, 155, 176, 1);
  font-family: 'DM Sans', sans-serif;
  align-items: center;
}

.sp-details .sp-bottom-meta span,
.sp-details .sp-bottom-meta a {
  color: rgba(193, 39, 45, 1);
  text-transform: none;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}
.sp-details .sp-bottom-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: rgba(138, 155, 176, 1);
}
/* ── Two-column layout ────────────────────────────────── */
.sp-layout {
  display: flex;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .sp-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Gallery ──────────────────────────────────────────── */
.sp-gallery {
  position: sticky;
  top: 120px;
  width: 50%;
}
.logged-in .sp-gallery {
  top: 160px;
}

.sp-main-image {
  border: 1px solid rgba(12, 27, 46, 0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  /* width: 534px; */
}

.sp-main-image img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  padding: 24px;
}

.sp-thumbs {
  margin-top: 12px;
}
.vc-product-thumbs-swiper .swiper-slide {
  width: auto;
}
.sp-thumbs .swiper-wrapper {
  justify-content: flex-start;
}

.sp-thumb-item {
  width: 72px;
  height: 72px;
  border: 1.5px solid rgba(12, 27, 46, 0.12);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.sp-thumb-item:hover,
.swiper-slide-thumb-active .sp-thumb-item {
  border-color: rgba(193, 39, 45, 1);
}

/* Swiper nav arrows */
.vc-product-main-swiper .swiper-button-prev,
.vc-product-main-swiper .swiper-button-next {
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid rgba(12, 27, 46, 0.12);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(12, 27, 46, 0.1);
  color: rgba(12, 27, 46, 0.8);
}

.vc-product-main-swiper .swiper-button-prev::after,
.vc-product-main-swiper .swiper-button-next::after {
  font-size: 12px;
  font-weight: 700;
}

/* ── Product Details ──────────────────────────────────── */
.sp-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Badges */
/* .sp-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.sp-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(12, 27, 46, 0.08);
  color: rgba(12, 27, 46, 0.75);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.sp-stock-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.sp-stock-badge.in-stock {
  background: rgba(22, 163, 74, 0.1);
  color: rgba(22, 163, 74, 1);
}

.sp-stock-badge.out-of-stock {
  background: rgba(193, 39, 45, 0.1);
  color: rgba(193, 39, 45, 1);
} */

/* Brand */
/* .sp-brand {
  margin-bottom: 14px;
}

.sp-brand img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

.sp-brand--text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(12, 27, 46, 0.7);
} */

/* Title */
/* .sp-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(12, 27, 46, 1);
  margin: 0 0 14px;
} */

/* Excerpt */
/* .sp-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(12, 27, 46, 0.65);
  margin-bottom: 20px;
}

.sp-excerpt p {
  margin: 0;
} */

/* Stats */
/* .sp-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.sp-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 1px solid rgba(12, 27, 46, 0.1);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.sp-stat-icon {
  color: rgba(193, 39, 45, 1);
  display: flex;
}

.sp-stat-value {
  font-size: 16px;
  font-weight: 800;
  color: rgba(12, 27, 46, 1);
  line-height: 1;
}

.sp-stat-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(12, 27, 46, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.4px;
} */

/* Divider */
/* .sp-divider {
  border: 0;
  border-top: 1px solid rgba(12, 27, 46, 0.08);
  margin: 0 0 20px;
} */

/* Attribute pill selectors */
/* .sp-attributes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.sp-attr-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(12, 27, 46, 0.7);
  margin: 0 0 8px;
}

.sp-attr-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-attr-pill {
  padding: 9px 18px;
  border: 1.5px solid rgba(12, 27, 46, 0.18);
  border-radius: 8px;
  background: #fff;
  color: rgba(12, 27, 46, 0.85);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
  line-height: 1;
}

.sp-attr-pill:hover {
  border-color: rgba(12, 27, 46, 0.4);
}

.sp-attr-pill.is-active {
  background: rgba(12, 27, 46, 1);
  border-color: rgba(12, 27, 46, 1);
  color: #fff;
} */

/* CTA Buttons */
/* .sp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity 0.15s ease,
    background 0.15s ease;
  border: 2px solid transparent;
  line-height: 1;
}

.sp-btn--primary {
  background: rgba(193, 39, 45, 1);
  color: #fff;
  border-color: rgba(193, 39, 45, 1);
}

.sp-btn--primary:hover {
  opacity: 0.88;
  color: #fff;
}

.sp-btn--secondary {
  background: transparent;
  color: rgba(12, 27, 46, 0.8);
  border-color: rgba(12, 27, 46, 0.2);
}

.sp-btn--secondary:hover {
  border-color: rgba(12, 27, 46, 0.5);
  color: rgba(12, 27, 46, 1);
} */

/* ── Bottom Tabs ──────────────────────────────────────── */
.sp-tabs-section {
  border-top: 1px solid rgba(232, 234, 237, 1);
  padding: 0 0 50px;
}

.sp-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid rgba(232, 234, 237, 1);
  padding-top: 30px;
}

.sp-tab-btn {
  padding: 14px 24px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgba(138, 155, 176, 1);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
  border-radius: 0;
  margin-bottom: -2px;
  font-family: 'DM Sans', sans-serif;
}

.sp-tab-btn:hover {
  color: rgba(12, 27, 46, 1);
}

.sp-tab-btn.is-active {
  color: rgba(12, 27, 46, 1);
  border-bottom-color: rgba(193, 39, 45, 1);
}
.sp-tab-panel {
  display: none;
  padding: 32px 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(90, 106, 125, 1);
  font-family: 'DM Sans', sans-serif;
}
.sp-tab-panel.is-active {
  display: block;
}
.sp-tab-panel h1,
.sp-tab-panel h2,
.sp-tab-panel h3,
.sp-tab-panel h4,
.sp-tab-panel h5,
.sp-tab-panel h6 {
  color: rgba(12, 27, 46, 1);
}
.panel-description {
}

.panel-description .inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.panel-description .inner .left {
  flex: 1;
}

.panel-description .inner .right {
  width: 310px;
  display: flex;
}

.panel-description .inner .right img {
  object-fit: contain;
}
/* ── Attribute table (kept for compatibility) ─────────── */
.vc-product-attributes {
  margin: 20px 0;
}

.vc-attributes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.vc-attributes-table tr {
  border-bottom: 1px solid rgba(12, 27, 46, 0.08);
}

.vc-attributes-table tr:last-child {
  border-bottom: 0;
}

.vc-attributes-table th,
.vc-attributes-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.vc-attributes-table th {
  width: 38%;
  font-weight: 600;
  color: rgba(12, 27, 46, 0.6);
  background: rgba(12, 27, 46, 0.03);
  white-space: nowrap;
}

.vc-attributes-table td {
  color: rgba(12, 27, 46, 1);
}

/* ── Out-of-stock card pill ───────────────────────────── */
.out-of-stock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(12, 27, 46, 0.2);
  border-radius: 999px;
  background: transparent;
  color: rgba(12, 27, 46, 0.45);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: default;
  pointer-events: none;
}
@media screen and (max-width: 1280px) {
  .sp-details .btn-wrap a {
    font-size: 14px;
    padding: 5px 10px;
  }
  .sp-details .sp-title {
    font-size: 42px;
  }
  .sp-details .sp-excerpt {
    font-size: 14px;
    line-height: 1.5;
  }
  .sp-layout {
    gap: 30px;
  }
  section.related-projects .related-products-grid {
    gap: 14px;
  }
}
@media screen and (max-width: 1023px) {
  .sp-gallery {
    width: 100%;
    position: relative;
    top: 0;
  }
  .sp-details {
    width: 100%;
  }
  .sp-layout {
    flex-wrap: wrap;
  }
  .panel-description .inner .right {
    width: 250px;
  }
  .panel-description .inner {
    gap: 20px;
  }
  section.related-projects .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .sp-details .sp-title {
    font-size: 32px;
  }
  .sp-details .sp-meta-grid {
    gap: 8px;
  }
  .sp-details .sp-bottom-meta {
    gap: 8px 16px;
  }
  .sp-details .btn-wrap a {
    flex: auto;
  }
  .sp-details .sp-custom-desc {
    line-height: 1.5;
  }
  nav.sp-tabs-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .panel-description .inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .panel-description .inner .left {
    flex: none;
    width: 100%;
  }
  .sp-tab-panel {
    padding-bottom: 0;
  }
  section.related-projects .related-products-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
