/* ========================================
   PRODUCT DETAIL PAGE ENHANCEMENTS
   Advanced & User-Friendly Design
   ======================================== */

/* ========================================
   MAIN LAYOUT IMPROVEMENTS
   ======================================== */

.ul-shop-details {
  padding: 40px 0;
  background-color: var(--fg-bg-primary);
}

.ul-shop-details .ul-container {
  max-width: 1200px;
}

/* ========================================
   PRODUCT IMAGE SECTION
   ======================================== */

.ul-shop-details-img {
  /* position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: var(--fg-bg-primary);
  border: 1px solid var(--fg-border-light); */
  background: url(../img/foods-bg.jpg) no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 1;
  overflow: hidden;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: transparent;
    border: 1px solid var(--fg-border-light);
}

.ul-shop-details-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* .ul-shop-details-img:hover img {
  transform: scale(1.05);
} */

/* Image overlay for zoom effect */
/* .ul-shop-details-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 107, 53, 0.1) 0%, rgba(244, 208, 111, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
} */

.ul-shop-details-img:hover::after {
  opacity: 1;
}

/* ========================================
   PRODUCT INFORMATION SECTION
   ======================================== */

.ul-shop-details-txt {
  padding: 20px 0;
}

.ul-shop-details-txt-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--fg-border-light);
}

.ul-shop-details-title {
  font-weight: 700;
  font-size: clamp(20px, 1.26vw, 24px);
  line-height: 1.4;
  margin-bottom: clamp(14px, 1.42vw, 27px);
}

.ul-shop-details-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ul-shop-details-rating .rating {
  display: flex;
  gap: 2px;
}

.ul-shop-details-rating .rating i {
  color: var(--fg-secondary);
  font-size: 18px;
}

.ul-shop-details-rating .review-number {
  color: var(--fg-text-secondary);
  font-size: 14px;
}

.ul-shop-details-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--fg-secondary);
  margin: 0;
}

/* ========================================
   ENHANCED VARIATION SECTIONS
   ======================================== */

.variation-section {
  background: var(--fg-bg-primary);
  border: 2px solid var(--fg-border-light);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.variation-section:hover {
  border-color: var(--fg-secondary);
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

.variation-section.required {
  border-color: var(--fg-error);
  background: var(--fg-error-light);
}

.variation-section.completed {
  border-color: var(--fg-success);
  background: var(--fg-success-light);
}

.variation-section h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--fg-text-primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.variation-section .status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.variation-section .status-badge.required {
  background: var(--fg-error);
  color: white;
}

.variation-section .status-badge.optional {
  background: var(--fg-text-secondary);
  color: white;
}

.variation-section .status-badge.completed {
  background: var(--fg-success);
  color: white;
}

/* ========================================
   ENHANCED OPTION LISTS
   ======================================== */

.ul-option-list {
  display: grid;
  gap: 15px;
}

.ul-option-list .list-group-item {
  background: var(--fg-bg-primary);
  border: 2px solid var(--fg-border-light);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.ul-option-list .list-group-item:hover {
  border-color: var(--fg-secondary);
  background: rgba(255, 107, 53, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.1);
}

.ul-option-list .list-group-item.selected {
  border-color: var(--fg-secondary);
  background: rgba(255, 107, 53, 0.1);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.ul-option-list .list-group-item.selected::before {
  content: '✓';
  position: absolute;
  top: 15px;
  right: 15px;
  width: 25px;
  height: 25px;
  background: var(--fg-secondary-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

/* ========================================
   ENHANCED QUANTITY SELECTOR
   ======================================== */
/* 
.ul-shop-details-quantity {
  background: var(--fg-bg-secondary);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: nowrap !important;
}

.ul-shop-details-quantity .title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg-text-primary);
  margin-bottom: 0 !important;
  display: block;
  white-space: nowrap !important;
  min-width: 100px !important;
}

.ul-product-quantity-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--fg-bg-primary);
  border: 2px solid var(--fg-border-light);
  border-radius: 12px;
  padding: 10px;
  max-width: 150px;
}

.ul-product-quantity {
  width: 60px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg-text-primary);
  outline: none;
}

.ul-product-quantity-wrapper .btns {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ul-product-quantity-wrapper .btns button {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--fg-secondary-gradient);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ul-product-quantity-wrapper .btns button:hover {
  background: var(--fg-secondary-gradient-hover);
  transform: scale(1.1);
} */

/* ========================================
   ENHANCED SPECIAL INSTRUCTIONS
   ======================================== */

.ul-shop-details-special-instructions {
  background: var(--fg-bg-secondary);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
}

.ul-shop-details-special-instructions .title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg-text-primary);
  margin-bottom: 15px;
  display: block;
}

.ul-shop-details-special-instructions textarea {
  width: 100%;
  min-height: 100px;
  border: 2px solid var(--fg-border-light);
  border-radius: 12px;
  padding: 15px;
  font-size: 14px;
  color: var(--fg-text-primary);
  background: var(--fg-bg-primary);
  resize: vertical;
  transition: border-color 0.3s ease;
}

.ul-shop-details-special-instructions textarea:focus {
  border-color: var(--fg-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* ========================================
   ENHANCED ACTION BUTTONS
   ======================================== */

.ul-shop-details-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.ul-shop-details-actions .ul-btn {
  flex: 1;
  min-width: 200px;
  padding: 15px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.ul-shop-details-actions .ul-btn-primary {
  background: var(--fg-primary);
  color: var(--fg-text-white);
  border: none;
}

.ul-shop-details-actions .ul-btn-primary:hover {
  background: var(--fg-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(58, 58, 58, 0.3);
}

.ul-shop-details-actions .ul-btn-secondary {
  background: var(--fg-secondary-gradient);
  color: var(--fg-text-white);
  border: none;
}

.ul-shop-details-actions .ul-btn-secondary:hover {
  background: var(--fg-secondary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* ========================================
   ENHANCED SHARE SECTION
   ======================================== */
/* 
.ul-shop-details-share {
  background: var(--fg-bg-secondary);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
}

.ul-shop-details-share .title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg-text-primary);
  margin-bottom: 15px;
  display: block;
}

.ul-shop-details-share .social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.ul-shop-details-share .social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.ul-shop-details-share .social-links a.facebook {
  background: #1877F2;
}

.ul-shop-details-share .social-links a.twitter {
  background: #1DA1F2;
}

.ul-shop-details-share .social-links a.linkedin {
  background: #0077B5;
}

.ul-shop-details-share .social-links a.instagram {
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.ul-shop-details-share .social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
} */

/* ========================================
   ENHANCED PRICING INFO
   ======================================== */

.ul-shop-details-pricing-info {
  background: var(--fg-bg-secondary);
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 25px;
  border-left: 4px solid var(--fg-secondary);
}

.ul-shop-details-pricing-info p {
  margin: 0;
  color: var(--fg-text-secondary);
  font-size: 14px;
}

.ul-shop-details-pricing-info a {
  color: var(--fg-secondary);
  text-decoration: none;
  font-weight: 600;
}

.ul-shop-details-pricing-info a:hover {
  text-decoration: underline;
}

/* ========================================
   ENHANCED RELATED PRODUCTS
   ======================================== */

.ul-shop-details-related {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid var(--fg-border-light);
}

.ul-shop-details-related h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg-text-primary);
  margin-bottom: 30px;
  text-align: center;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.related-product-card {
  background: var(--fg-bg-primary);
  border: 1px solid var(--fg-border-light);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.related-product-card:hover {
  border-color: var(--fg-secondary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.1);
}

.related-product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.related-product-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg-text-primary);
  margin-bottom: 10px;
}

.related-product-card .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg-secondary);
}

/* ========================================
   ENHANCED REVIEWS SECTION
   ======================================== */

.ul-shop-details-reviews {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid var(--fg-border-light);
}

.ul-shop-details-reviews h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg-text-primary);
  margin-bottom: 30px;
}

.review-item {
  background: var(--fg-bg-primary);
  border: 1px solid var(--fg-border-light);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
}

.review-item .review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-item .reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--fg-secondary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 18px;
}

.review-item .reviewer-info h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg-text-primary);
}

.review-item .review-date {
  color: var(--fg-text-secondary);
  font-size: 14px;
}

.review-item .review-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
}

.review-item .review-rating i {
  color: var(--fg-secondary);
  font-size: 16px;
}

.review-item .review-text {
  color: var(--fg-text-secondary);
  line-height: 1.6;
}

/* ========================================
   ENHANCED REVIEW FORM
   ======================================== */

.review-form {
  background: var(--fg-bg-secondary);
  border-radius: 15px;
  padding: 30px;
  margin-top: 30px;
}

.review-form h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fg-text-primary);
  margin-bottom: 20px;
}

.review-form .form-group {
  margin-bottom: 20px;
}

.review-form label {
  display: block;
  font-weight: 600;
  color: var(--fg-text-primary);
  margin-bottom: 8px;
}

.review-form input,
.review-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--fg-border-light);
  border-radius: 8px;
  font-size: 14px;
  color: var(--fg-text-primary);
  background: var(--fg-bg-primary);
  transition: border-color 0.3s ease;
}

.review-form input:focus,
.review-form textarea:focus {
  border-color: var(--fg-secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.review-form textarea {
  min-height: 100px;
  resize: vertical;
}

/* ========================================
   RELATED PRODUCTS SECTION
   ======================================== */

.frequently-bought-section {
  background: var(--fg-bg-secondary);
  border-radius: 20px;
  padding: 30px;
  margin: 30px 0;
  border: 1px solid var(--fg-border-light);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--fg-border-light);
}

.header-left .main-title {
  color: var(--fg-text-primary);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
  background: var(--fg-secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-left .subtitle {
  color: var(--fg-text-secondary);
  font-size: 1rem;
  margin: 0;
}

.optional-badge {
  background: var(--fg-secondary-gradient);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.products-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.product-item {
  background: var(--fg-bg-primary);
  border: 2px solid var(--fg-border-light);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-item:hover {
  border-color: var(--fg-secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
}

.checkbox-wrapper {
  position: relative;
}

.checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid var(--fg-border-light);
  border-radius: 6px;
  background: var(--fg-bg-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.checkbox.checked {
  background: var(--fg-secondary-gradient);
  border-color: var(--fg-secondary);
}

.checkbox.checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.product-image {
  width: 50px;
  height: 50px;
  background: var(--fg-secondary-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bottle-cap {
  width: 20px;
  height: 8px;
  background: var(--fg-primary);
  border-radius: 4px 4px 0 0;
  position: absolute;
  top: 5px;
}

.bottle-shape {
  width: 16px;
  height: 30px;
  background: var(--fg-primary);
  border-radius: 0 0 8px 8px;
  position: absolute;
  bottom: 5px;
}

.product-info {
  flex: 1;
}

.product-name {
  color: var(--fg-text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.price-section {
  text-align: right;
}

.current-price {
  color: var(--fg-secondary);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.original-price {
  color: var(--fg-text-secondary);
  font-size: 0.9rem;
  text-decoration: line-through;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .ul-shop-details-title {
    font-size: 2rem;
  }
  
  .ul-shop-details-price {
    font-size: 1.8rem;
  }
  
  .ul-shop-details-actions {
    flex-direction: column;
  }
  
  .ul-shop-details-actions .ul-btn {
    min-width: auto;
  }
  
  .related-products-grid {
    grid-template-columns: 1fr;
  }
  
  .ul-shop-details-img img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .ul-shop-details {
    padding: 20px 0;
  }
  
  /* .variation-section,
  .ul-shop-details-quantity,
  .ul-shop-details-special-instructions,
  .ul-shop-details-share,
  .ul-shop-details-pricing-info {
    padding: 20px;
  } */
  
  .ul-shop-details-title {
    font-size: 1.8rem;
  }
  
  .ul-shop-details-price {
    font-size: 1.6rem;
  }
}

/* ========================================
   ANIMATION ENHANCEMENTS
   ======================================== */

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 
.variation-section,
.ul-shop-details-quantity,
.ul-shop-details-special-instructions,
.ul-shop-details-actions,
.ul-shop-details-share {
  animation: slideInUp 0.6s ease-out;
} */

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */

.ul-option-list .list-group-item:focus {
  outline: 3px solid var(--fg-secondary-light);
  outline-offset: 2px;
}

/* .ul-product-quantity-wrapper .btns button:focus {
  outline: 3px solid var(--fg-secondary-light);
  outline-offset: 2px;
} */

.ul-shop-details-actions .ul-btn:focus {
  outline: 3px solid var(--fg-secondary-light);
  outline-offset: 2px;
}
