/* Product Detail Page Styles */

.product-detail-section {
  padding: 80px 0;
  background: #fff;
}

.product-images {
  position: sticky;
  top: 100px;
}

.main-product-image {
  width: 100%;
  height: 600px;
  background: #f9f9f9;
  border: 1px solid #edf0f5;
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.main-product-image:hover img {
  transform: scale(1.05);
}

.product-thumbnails {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.product-thumbnail {
  width: calc(25% - 12px);
  height: 120px;
  background: #f9f9f9;
  border: 2px solid #edf0f5;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbnail:hover,
.product-thumbnail.active {
  border-color: #ee4266;
}

.product-info {
  padding-left: 40px;
}

.product-badge-single {
  display: inline-block;
  background: #ee4266;
  color: #fff;
  padding: 6px 16px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 15px;
}

.product-badge-single.new {
  background: #25262a;
}

.product-badge-single.in-store {
  background: #3498db;
}

.product-title {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #25262a;
  margin-bottom: 20px;
  line-height: 1.3;
}

.product-rating {
  margin-bottom: 20px;
}

.product-rating .icon-star2 {
  font-size: 14px;
  margin-right: 3px;
}

.product-price {
  font-size: 32px;
  color: #25262a;
  font-weight: 500;
  margin-bottom: 25px;
}

.product-price del {
  color: #8c92a0;
  font-size: 24px;
  margin-right: 15px;
  font-weight: 400;
}

.product-description {
  color: #8c92a0;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #edf0f5;
}

.product-meta {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #edf0f5;
}

.product-meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}

.product-meta-label {
  color: #25262a;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  min-width: 120px;
  font-size: 13px;
}

.product-meta-value {
  color: #8c92a0;
}

.product-stock {
  display: inline-block;
  padding: 4px 12px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.product-stock.out-of-stock {
  background: #ffebee;
  color: #c62828;
}

.product-stock.in-store-only {
  background: #e3f2fd;
  color: #1565c0;
}

.product-options {
  margin-bottom: 30px;
}

.option-group {
  margin-bottom: 25px;
}

.option-label {
  display: block;
  color: #25262a;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-size: 13px;
}

.size-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.size-option {
  position: relative;
}

.size-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.size-option label {
  display: block;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #edf0f5;
  color: #8c92a0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 60px;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.size-option input[type="radio"]:checked + label {
  background: #25262a;
  border-color: #25262a;
  color: #fff;
}

.size-option label:hover {
  border-color: #ee4266;
  color: #ee4266;
}

/* Color Options */
.color-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-option {
  padding: 12px 20px;
  background: #fff;
  border: 1px solid #edf0f5;
  color: #8c92a0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 80px;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  font-family: inherit;
}

.color-option:hover {
  border-color: #ee4266;
  color: #ee4266;
}

.color-option.active {
  background: #25262a;
  border-color: #25262a;
  color: #fff;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 15px;
}

.quantity-input {
  display: flex;
  align-items: center;
  border: 1px solid #edf0f5;
  background: #fff;
}

.quantity-btn {
  width: 45px;
  height: 45px;
  background: #fff;
  border: none;
  color: #25262a;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background: #f9f9f9;
  color: #ee4266;
}

.quantity-value {
  width: 60px;
  height: 45px;
  border: none;
  border-left: 1px solid #edf0f5;
  border-right: 1px solid #edf0f5;
  text-align: center;
  font-size: 15px;
  color: #25262a;
  font-weight: 500;
  -moz-appearance: textfield;
}

.quantity-value::-webkit-outer-spin-button,
.quantity-value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-actions {
  display: flex;
  gap: 15px;
  margin: 30px 0;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid #edf0f5;
  clear: both;
  width: 100%;
}

.btn-add-to-cart,
.btn-buy-now {
  flex: 1;
  min-width: 180px;
  padding: 16px 30px;
  border: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-add-to-cart {
  background: #ee4266;
}

.btn-add-to-cart:hover {
  background: #d63555;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(238, 66, 102, 0.3);
}

.btn-add-to-cart:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.btn-buy-now {
  background: #25262a;
}

.btn-buy-now:hover {
  background: #1a1b1e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 38, 42, 0.3);
}

.btn-buy-now:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.btn-wishlist {
  width: 45px;
  height: 45px;
  background: transparent;
  border: 1px solid #ee4266;
  color: #ee4266;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.btn-wishlist:hover {
  background: #ee4266;
  border-color: #ee4266;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(238, 66, 102, 0.3);
}

.btn-wishlist.active {
  background: #ee4266;
  border-color: #ee4266;
  color: #fff;
}

.wishlist-icon {
  font-size: 22px;
}

.btn-wishlist:not(.active) .wishlist-icon::before {
  content: '♡';
}

.btn-wishlist.active .wishlist-icon::before {
  content: '♡';
}

.product-share {
  padding-top: 30px;
  border-top: 1px solid #edf0f5;
}

.share-label {
  color: #25262a;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-size: 13px;
  display: block;
}

.share-icons {
  display: flex;
  gap: 10px;
}

.share-icon {
  width: 40px;
  height: 40px;
  background: #f9f9f9;
  border: 1px solid #edf0f5;
  color: #25262a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.share-icon:hover {
  background: #ee4266;
  border-color: #ee4266;
  color: #fff;
  transform: translateY(-2px);
}

/* Product Tabs */
.product-tabs-section {
  padding: 60px 0;
  background: #fafafa;
}

.product-tabs {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid #edf0f5;
  margin-bottom: 40px;
  justify-content: center;
}

.tab-btn {
  background: none;
  border: none;
  padding: 15px 0;
  color: #8c92a0;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ee4266;
  transition: width 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
  color: #25262a;
}

.tab-btn.active::after {
  width: 100%;
}

.tab-content {
  display: none;
  max-width: 800px;
  margin: 0 auto;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #25262a;
  margin-bottom: 20px;
}

.tab-content p {
  color: #8c92a0;
  line-height: 1.8;
  margin-bottom: 15px;
}

.tab-content ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.tab-content ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: #8c92a0;
}

.tab-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #ee4266;
  font-size: 20px;
  line-height: 1;
}

/* Responsive */
@media (max-width: 991px) {
  .product-info {
    padding-left: 0;
    margin-top: 40px;
  }
  
  .product-images {
    position: static;
  }
  
  .main-product-image {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: 28px;
  }
  
  .product-price {
    font-size: 26px;
  }
  
  .main-product-image {
    height: auto;
    min-height: 500px;
    max-height: none;
  }
  
  .main-product-image img {
    object-fit: contain;
    height: auto;
    max-height: 80vh;
  }
  
  .product-thumbnail {
    width: calc(25% - 12px);
    height: 80px;
  }
  
  .product-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .add-to-cart-btn,
  .buy-now-btn {
    width: 100%;
    min-width: auto;
  }
  
  .wishlist-btn {
    width: 100%;
  }
  
  .add-to-cart-btn {
    min-width: 100%;
  }
  
  .product-tabs {
    gap: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .main-product-image {
    height: auto;
    min-height: 450px;
    max-height: none;
  }
  
  .main-product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 70vh;
  }
  
  .product-thumbnails {
    gap: 8px;
  }
  
  .product-thumbnail {
    width: calc(25% - 6px);
    height: 70px;
  }
  
  .size-options {
    gap: 8px;
  }
  
  .size-option label {
    min-width: 50px;
    padding: 10px 15px;
  }
}
