/* ===== Velocity Weave Product Detail ===== */

#product-info.vw-product-page {
  padding-bottom: 3rem;
}

.vw-product-page .vw-breadcrumb {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 1rem 0 0.5rem;
  margin-bottom: 0;
}

.vw-product-page .vw-breadcrumb .breadcrumb-item,
.vw-product-page .vw-breadcrumb .breadcrumb-item a {
  font-size: 0.8125rem;
  color: #666666;
}

.vw-product-page .vw-breadcrumb .breadcrumb-item a:hover {
  color: var(--brand-accent);
}

.vw-product-gallery {
  margin-bottom: 1.5rem;
}

.vw-product-gallery-main {
  background: #f8f8f8;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.vw-product-gallery-main a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.vw-product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vw-product-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.25rem;
}

.vw-product-thumb-item {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border: 2px solid transparent;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #f8f8f8;
  padding: 0;
}

.vw-product-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vw-product-thumb-item.active,
.vw-product-thumb-item:hover {
  border-color: #1d1f21;
}

.vw-product-info {
  padding: 0 0 1rem;
}

@media (min-width: 992px) {
  .vw-product-info {
    padding: 0 0 0 1rem;
  }
}

.vw-product-info .product-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #1d1f21;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.vw-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.vw-product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: #666666;
}

.vw-product-rating .fa-star {
  font-size: 0.75rem;
  color: #f5a623;
}

.vw-wishlist-btn {
  border: none;
  background: none;
  color: #cccccc;
  font-size: 1.25rem;
  padding: 0;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.vw-wishlist-btn:hover,
.vw-wishlist-btn.is-active {
  color: #e74c3c;
}

.vw-product-price-block {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #ebebeb;
}

.vw-product-price-block .price-main-val {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1d1f21;
  line-height: 1.2;
}

.vw-product-price-block .price-old-val {
  font-size: 0.95rem;
  color: #999999;
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.vw-product-price-block .price-tax {
  font-size: 0.8125rem;
  color: #888888;
  margin-top: 0.35rem;
}

.vw-product-options .form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1d1f21;
  margin-bottom: 0.65rem;
}

.vw-product-options .form-check-button .vw-option-btn {
  border-radius: 8px;
  min-width: 50px;
  text-align: center;
  border-color: #cbd5e1;
  color: #1d1f21;
  font-weight: 500;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.vw-product-options .form-check-button .vw-option-btn:hover {
  background-color: #f8f8f8;
  border-color: #94a3b8;
  color: #1d1f21;
}

.vw-product-options .form-check-button .btn-check:checked + .vw-option-btn {
  background-color: #e8f7f4;
  border-color: #29bb9d;
  color: #1d1f21;
  font-weight: 600;
}

.vw-product-options .form-check-button .btn-check:focus-visible + .vw-option-btn {
  outline: 2px solid rgba(41, 187, 157, 0.35);
  outline-offset: 2px;
}

.vw-product-options .vw-option-price {
  font-size: 0.75rem;
}

.vw-product-options .vw-option-image {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
}

.vw-product-options .is-invalid ~ .invalid-feedback,
.vw-product-options [id^="input-option-"].is-invalid ~ .invalid-feedback {
  display: block;
}

.vw-purchase-block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ebebeb;
}

.vw-qty-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.vw-qty-row label {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
}

.vw-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dddddd;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.vw-qty-control button {
  width: 36px;
  height: 36px;
  border: none;
  background: #f8f8f8;
  color: #1d1f21;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vw-qty-control button:hover {
  background: #eeeeee;
}

.vw-qty-control input {
  width: 48px;
  height: 36px;
  border: none;
  border-left: 1px solid #dddddd;
  border-right: 1px solid #dddddd;
  text-align: center;
  font-weight: 600;
  font-size: 0.9375rem;
}

.vw-btn-add-cart {
  width: 100%;
  background: #1d1f21 !important;
  border-color: #1d1f21 !important;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.85rem 1rem;
  border-radius: var(--border-radius-sm);
  letter-spacing: 0.02em;
}

.vw-btn-add-cart:hover {
  background: #000000 !important;
  border-color: #000000 !important;
}

.vw-btn-buy-now {
  width: 100%;
  background: transparent !important;
  border: 1px solid #1d1f21 !important;
  color: #1d1f21 !important;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.85rem 1rem;
  border-radius: var(--border-radius-sm);
}

.vw-btn-buy-now:hover {
  background: #f8f8f8 !important;
}

.vw-product-tabs {
  margin-top: 3rem;
  border-top: 1px solid #ebebeb;
  padding-top: 2rem;
}

.vw-product-tabs .nav-tabs {
  border-bottom: 1px solid #ebebeb;
  gap: 0.5rem;
}

.vw-product-tabs .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  color: #666666;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 0;
  margin-right: 1.5rem;
  border-radius: 0;
  background: transparent;
}

.vw-product-tabs .nav-link.active,
.vw-product-tabs .nav-link:hover {
  color: #1d1f21;
  border-bottom-color: #1d1f21;
  background: transparent;
}

.vw-product-tabs .tab-content {
  padding: 1.5rem 0;
  font-size: 0.9375rem;
  color: #444444;
  line-height: 1.7;
}

.vw-product-tabs .table {
  font-size: 0.875rem;
}

@media (max-width: 991.98px) {
  .vw-product-info .product-title {
    font-size: 1.15rem;
  }

  .vw-product-price-block .price-main-val {
    font-size: 1.5rem;
  }
}
