body {
  background-color: #fff;
  padding-bottom: 100px;
}
.slider-for img {
  width: 100%;
  border-radius: 8px;
}
.slider-nav {
  margin-top: 10px;
  position: relative;
  padding: 0 40px;
}
.slider-nav .slick-slide {
  padding: 0 5px;
  cursor: pointer;
}
.slider-nav .slick-slide img {
  width: 100%;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}
.slider-nav .slick-current img {
  border-color: #0d6efd;
}
.slick-prev,
.slick-next {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  z-index: 10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.slick-prev {
  left: 0;
}
.slick-next {
  right: 0;
}
.slick-prev::before,
.slick-next::before {
  display: none;
}
.slick-prev i,
.slick-next i {
  color: #333;
  font-size: 16px;
}
.product-details-container {
  padding-left: 0;
}
.product-brand,
.product-sku {
  font-size: 1.3rem;
  color: #6c757d;
  margin-bottom: 0.25rem;
}
.product-sku {
  margin-bottom: 1rem;
}
.product-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.product-price {
  font-size: 3rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 2rem;
}
.option-group {
  margin-bottom: 1.5rem;
}
.option-label {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.variant-options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.variant-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: 0.2s;
}
.variant-btn:hover {
  border-color: #888;
}
.variant-btn.active {
  border-color: #0d6efd;
  background: #e7f1ff;
  border-width: 2px;
  padding: 9px 14px;
}
.variant-btn img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
}
.variant-btn span {
  font-size: 1.4rem;
  font-weight: 500;
}
.desktop-actions {
  margin-top: 2rem;
}
.quantity-selector {
  display: flex;
  border: 1px solid #ced4da;
  border-radius: 8px;
  overflow: hidden;
}
.quantity-selector input {
  width: 60px;
  text-align: center;
  border: none;
  font-weight: 600;
  background: transparent;
  font-size: 1.4rem;
}
.quantity-btn {
  background: transparent;
  border: none;
  font-size: 1.7rem;
  font-weight: 400;
  padding: 8px 18px;
  cursor: pointer;
  color: #6c757d;
  line-height: 1;
}
.quantity-btn:hover {
  background: #f1f1f1;
}
.add-to-cart-btn {
  background: #212529;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  transition: 0.2s;
  width: 100%;
  font-size: 2rem;
  font-weight: 600;
}
.add-to-cart-btn:hover {
  background: #495057;
}
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 12px 15px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.modal-product-info {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}
.modal-product-info img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.modal-product-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.modal-product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #dc3545;
}
.quantity-options-modal .option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.2s;
}
.quantity-options-modal .option-item:hover {
  background: #f8f9fa;
}
.quantity-options-modal .option-item.selected {
  border-color: #0d6efd;
  background: #e7f1ff;
  border-width: 2px;
}
.product-description-section {
  padding-top: 50px;
  padding-bottom: 50px;
  border-top: 0;
  margin-top: 50px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}
.product-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 24px;
}
.section-divider {
  border: 0;
  border-top: 1px solid #eee;
  margin-bottom: 24px;
}
.content-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-top: 32px;
  margin-bottom: 12px;
}

.description-text,
.description-text ul li {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}
@media (min-width: 992px) {
  .product-details-container {
    padding-left: 2rem;
  }
  .product-gallery-container {
    padding-right: 2rem;
  }
}
@media (max-width: 991px) {
  .mobile-action-bar .add-to-cart-btn {
    font-size: 1.1rem;
  }
}
.option-item-image {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 15px;
}
#quantityModal .modal-footer .btn {
  background: #212529;
  border-color: #212529;
  color: #fff;
}
#quantityModal .modal-footer .btn:hover {
  background: #495057;
  border-color: #495057;
}
#quantityModal .btn-close {
  opacity: 1;
}
#quantityModal .quantity-options-modal .option-item.selected {
  background: #f0f0f0;
  border-color: #212529;
  border-width: 2px;
  box-shadow: 0 4px 12px rgba(33, 37, 41, 0.1);
}

/* ตะกร้าดำ เเสดงเฉพาะบน mobile */
@media (min-width: 992px) {
  i.fas.fa-shopping-cart {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  i.fas.fa-shopping-cart {
    display: inline-block;
  }
}

.product-short-description,
.product-short-description p {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.variant-options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.variant-btn {
  flex: 0 0 calc(50% - 6px);
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
}

.variant-btn .variant-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  margin-right: 8px;
}

.variant-btn .variant-text {
  font-size: 1rem;
  font-weight: 500;
}
