/* Product Detail Page */
.pdp-wrap {
  background: #f9fafb;
  padding: 40px 0 60px;
}
.pdp-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  padding: 30px;
}
.pdp-img-wrap {
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 10px;
}
.pdp-img-wrap img {
  max-height: 460px;
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.pdp-thumbnails {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pdp-thumb {
  width: 70px; height: 70px; object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s;
}
.pdp-thumb:hover, .pdp-thumb.active { border-color: #28a745; }

.pdp-breadcrumb { margin-bottom: 14px; }
.pdp-breadcrumb .breadcrumb { background: transparent; padding: 0; margin: 0; font-size: .82rem; }
.pdp-breadcrumb .breadcrumb-item a { color: #28a745; text-decoration: none; }
.pdp-breadcrumb .breadcrumb-item.active { color: #6b7280; }

.pdp-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 14px;
}
.pdp-price-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.pdp-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111827;
}
.pdp-price del { font-size: 1.1rem; color: #9ca3af; font-weight: 400; margin-right: 6px; }
.pdp-price .sale { color: #ef4444; }
.pdp-stock-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 20px; font-size: .8rem; font-weight: 700;
}
.pdp-stock-badge.instock { background: #dcfce7; color: #15803d; }
.pdp-stock-badge.outofstock { background: #fee2e2; color: #b91c1c; }

.attr-group-label {
  font-weight: 700;
  color: #374151;
  font-size: .9rem;
  margin-bottom: 8px;
  display: block;
}
.attr-btn-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pdp-attr-btn {
  padding: 7px 18px;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #374151;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: all .2s;
}
.pdp-attr-btn:hover { border-color: #28a745; color: #28a745; }
.pdp-attr-btn.selected {
  background: #28a745;
  border-color: #28a745;
  color: #fff;
}
.pdp-attr-btn.is-unavailable,
.pdp-attr-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}
.pdp-attr-btn.is-unavailable:hover,
.pdp-attr-btn:disabled:hover {
  border-color: #e5e7eb;
  color: inherit;
}

.pdp-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.pdp-add-btn {
  background: #28a745;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 32px;
  height: 46px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.pdp-add-btn:hover { background: #218838; }
.pdp-add-btn:disabled { background: #9ca3af; cursor: not-allowed; }


.pdp-wishlist-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: none; border: none; color: #28a745;
  font-weight: 600; font-size: .88rem; cursor: pointer; padding: 0;
  text-decoration: none;
}
.pdp-wishlist-btn.active { color: #ef4444; }
.pdp-wishlist-btn:hover { text-decoration: underline; }
.pdp-wishlist-btn i { font-size: 1rem; }

.pdp-meta-row {
  font-size: .82rem;
  color: #6b7280;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}
.pdp-meta-row a { color: #28a745; text-decoration: none; }
.pdp-meta-row a:hover { text-decoration: underline; }

/* Tabs */
.pdp-tabs {
  margin-top: 32px;
}
.pdp-tabs .nav-tabs {
  border-bottom: 2px solid #e5e7eb;
  gap: 4px;
}
.pdp-tabs .nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  color: #6b7280;
  font-weight: 600;
  font-size: .88rem;
  padding: 10px 18px;
  border-radius: 0;
  transition: color .2s, border-color .2s;
  background: transparent;
}
.pdp-tabs .nav-tabs .nav-link:hover { color: #28a745; }
.pdp-tabs .nav-tabs .nav-link.active {
  color: #28a745;
  border-bottom-color: #28a745;
  background: transparent;
}
.pdp-tabs .tab-content {
  padding: 28px 0;
  border: none;
  font-size: .92rem;
  line-height: 1.75;
  color: #374151;
}
.pdp-tabs .tab-pane p { margin-bottom: .8rem; }
.pdp-tabs .tab-pane ul, .pdp-tabs .tab-pane ol { padding-left: 1.4rem; }

.pdp-additional-info h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}
.pdp-attributes-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.pdp-attributes-table th,
.pdp-attributes-table td {
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}
.pdp-attributes-table th {
  width: 28%;
  font-weight: 700;
  color: #28a745;
  background: #f9fafb;
}
.pdp-attributes-table td {
  color: #374151;
}

/* Related Products */
.related-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}
.related-section .heading_hp {
  margin-bottom: 24px;
}
.related-carousel {
  position: relative;
  padding: 0 44px;
}
.related-carousel .slick-slide {
  padding: 0 8px;
  height: auto;
}
.related-carousel .slick-track {
  display: flex;
}
.related-section .slick-nav {
  top: 50%;
  transform: translateY(-50%);
}
.related-section .slick-nav.prev-arrow {
  left: -22px;
  transform: translateY(-50%) scaleX(-1);
}
.related-section .slick-nav.next-arrow {
  right: -22px;
}
.related-section .new_arr_padding {
  padding: 0 12px 24px;
  height: 100%;
}
.related-section .single_glass_item {
  height: 100%;
  min-height: 465px;
  border: 1px solid #c8c8c8;
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.related-section .single_img {
  height: 265px;
  padding: 24px 18px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.related-section .single_img a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.related-section .single_img img {
  width: auto;
  max-width: 78%;
  height: 100%;
  object-fit: contain;
}
.related-section .cart_round {
  opacity: 1;
  top: 18px;
  right: 16px;
  transform: none;
  gap: 8px;
}
.related-section .cart_round button,
.related-section .cart_round a {
  width: 40px;
  height: 40px;
  border: none;
  background: #ececec;
  color: #111827;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08);
}
.related-section .cart_round .wishlist-btn {
  background: #ef4444;
  color: #fff;
}
.related-section .cart_round .wishlist-btn.active {
  background: #dc2626;
  color: #fff;
}
.related-section .name_rating {
  padding: 0 16px 18px;
  flex: 1;
}
.related-section .name_rating .d-flex {
  height: 100%;
}
.related-section .left_boo {
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.related-section .left_boo > div:last-child {
  margin-top: auto;
}
.related-section .left_boo span {
  font-size: .94rem;
  line-height: 1.2;
  height: auto;
  min-height: 0;
  color: #ef4444;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .02em;
}
.related-section .left_boo h4 {
  font-size: 1.15rem;
  line-height: 1.25;
  height: 3.05em;
  color: #111827;
  font-weight: 800;
  margin-top: 12px;
}
.related-section .left_boo .price {
  color: #2ea043;
  font-size: 1.2rem;
  font-weight: 700;
}
.related-section .left_boo .price span {
  display: inline-block;
  color: #9ca3af;
  font-size: .95rem;
  font-weight: 500;
}
.related-section .product-card-cta {
  margin-top: auto;
  width: 100%;
  padding-top: 14px;
}
.related-section .product-card-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
}
.related-section .product-card-add-btn {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 18px;
  flex: 1 1 100%;
  transition: all .2s ease;
}
.related-section .product-card-add-btn.is-added {
  min-width: 126px;
  height: 40px;
  padding: 0 14px;
  font-size: .84rem;
  letter-spacing: .2px;
  flex: 0 0 auto;
  width: auto;
}
.related-section .product-card-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.related-section .product-card-quick-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #28a745;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #28a745;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(40, 167, 69, .15);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.related-section .product-card-quick-btn i {
  color: #fff !important;
}
.related-section .product-card-quick-btn:hover {
  background: #218838;
  border-color: #218838;
  color: #fff;
  transform: translateY(-1px);
}
