/* ================================================
   HELLOTHOZHI PRODUCT DETAIL PAGE - COMPACT DESIGN
   30% GALLERY (TOP IMAGE + BOTTOM THUMBNAILS)
   70% PRODUCT INFO (COMPACT CLEAN LAYOUT)
   ================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Inter', sans-serif;
  background: #f5f5f5;
  color: #333;
}

/* PDP WRAPPER & CONTAINER */
.pdp-wrapper {
  padding: 1rem 0;
  background: #fff;
}

.pdp-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* MAIN 30/70 LAYOUT */
.pdp-layout {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 2rem;
  align-items: start;
  width: 100%;
}

/* ================================================
   LEFT SIDE: 30% GALLERY
   ================================================ */

.gallery-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fff;
  padding: 0;
  border: none;
  border-radius: 0;
  position: sticky;
  top: 20px;
}

/* Main Gallery Image */
.gallery-main-image {
  width: 100%;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  border: 1px solid #e8e8e8;
}

.ls-gallery {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.lSSlideOuter {
  border-radius: 0;
  overflow: hidden;
  border: none;
  background: #f9f9f9;
  width: 100%;
}

.lSSlideOuter .lSSlide {
  display: flex !important;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
}

.lSSlideOuter img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  background: #f9f9f9;
}

/* Thumbnail Strip (Horizontal at bottom) */
.gallery-thumbnail-strip {
  width: 100%;
  padding-top: 0;
  border-top: none;
}

.lSThumbOuter {
  display: flex !important;
  flex-direction: row;
  gap: 0.5rem;
  padding: 0.5rem 0 !important;
  margin: 0 !important;
  overflow-x: auto;
}

.lSThumb {
  display: flex !important;
  flex-direction: row;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0 !important;
}

.lSThumb li {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 2px solid #ddd;
  border-radius: 4px;
  width: 80px !important;
  height: 80px !important;
  min-width: 80px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  list-style: none !important;
  flex-shrink: 0;
}

.lSThumb li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lSThumb li.active {
  border-color: #d32f2f !important;
}

.lSThumb li:hover {
  border-color: #999;
}

/* ================================================
   RIGHT SIDE: 70% PRODUCT INFO
   ================================================ */

.info-column {
  padding: 0;
  background: transparent;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: transparent;
}

/* ===== SECTION 1: PRODUCT HEADER ===== */
.product-header {
  background: white;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.product-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0 0 0.75rem 0;
  padding: 0;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Rating Section */
.product-ratings {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars i {
  font-size: 11px;
  color: #d32f2f;
}

.rating-text {
  font-size: 12px;
  color: #666;
  font-weight: 600;
}

/* Price Section */
.product-price {
  display: flex;
  align-items: baseline;
  margin-left: auto;
}

.new-price {
  font-size: 22px;
  font-weight: 700;
  color: #d32f2f;
}

.old-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

/* ===== SECTION 2: QUICK INFO GRID ===== */
.quick-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.info-card {
  background: #f9f9f9;
  padding: 0.75rem;
  border-radius: 4px;
  border-left: 3px solid #d32f2f;
}

.info-card.seller-card-compact {
  grid-column: 1 / -1;
  border-left: 3px solid #e91e63;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.seller-avatar-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e91e63, #c2185b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.seller-info-small {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.seller-name-small {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.seller-badge-small {
  font-size: 9px;
  background: #4caf50;
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  width: fit-content;
  font-weight: 600;
}

.info-label {
  font-size: 11px;
  color: #999;
  font-weight: 600;
  margin: 0 0 3px 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.info-data {
  font-size: 12px;
  color: #1a1a1a;
  font-weight: 600;
  margin: 0;
}

/* ===== SECTION 3: ACTION BUTTONS ===== */
.action-buttons-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-contact-full,
.btn-wishlist-full {
  padding: 10px 12px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.btn-contact-full {
  background: #d32f2f;
  color: white;
}

.btn-contact-full:hover {
  background: #b71c1c;
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
  transform: translateY(-1px);
}

.btn-wishlist-full {
  background: #eeeeee;
  color: #d32f2f;
  border: 1px solid #ddd;
}

.btn-wishlist-full:hover {
  background: #e0e0e0;
  border-color: #d32f2f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-wishlist-full.active {
  background: #ffe6e6;
  border-color: #d32f2f;
  color: #d32f2f;
}


/* Modal Message Styling */
.messageConfirm {
  color: #8E1846;
  font-weight: bold;
  margin-bottom: 1rem;
}
.btn-submit,
.btn-submit.buy {
  color: #fff;
  background-color: #8E1846;
  border-color: #8E1846;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-submit:hover,
.btn-submit.buy:hover {
  background-color: black;
  border-color: #8E1846;
  color: #fff;
}

.btn-submit:focus,
.btn-submit.buy:focus,
.btn-submit:active,
.btn-submit.buy:active {
  color: #fff;
  background-color: #8E1846;
  border-color: black;
  box-shadow: none;
}

/* ===== SECTION 4: DESCRIPTION BOX ===== */
.description-box {
  background: #ffffff;
  padding: 0.75rem;
  border-radius: 4px;
  border-left: 3px solid #e91e63;
}

.desc-title {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.description-text {
  font-size: 12px;
  line-height: 1.6;
  color: #333;
  max-height: 150px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ccc #f9f9f9;
}

/* Hidden old styles (removed from layout) */
.product-details-section,
.detail-row,
.detail-label,
.detail-value,
.seller-info,
.seller-card,
.seller-avatar,
.seller-details,
.seller-name,
.seller-badge,
.product-description {
  display: none;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1400px) {
  .pdp-layout {
    grid-template-columns: 32% 68%;
    gap: 1.5rem;
  }
}

@media (max-width: 1200px) {
  .pdp-layout {
    grid-template-columns: 35% 65%;
    gap: 1.2rem;
  }

  .gallery-main-image {
    min-height: 300px;
  }

  .lSSlideOuter img {
    max-height: 300px;
  }

  .product-name {
    font-size: 16px;
  }

  .new-price {
    font-size: 20px;
  }
}

@media (max-width: 1024px) {
  .pdp-layout {
    grid-template-columns: 40% 60%;
    gap: 1rem;
  }

  .pdp-container {
    padding: 0 0.75rem;
  }

  .product-name {
    font-size: 15px;
  }

  .new-price {
    font-size: 18px;
  }

  .gallery-main-image {
    min-height: 280px;
  }

  .lSSlideOuter img {
    max-height: 280px;
  }

  .gallery-column {
    position: static;
  }

  .btn-contact,
  .btn-wishlist {
    padding: 8px 10px;
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .pdp-layout {
    grid-template-columns: 45% 55%;
    gap: 0.75rem;
  }

  .gallery-main-image {
    min-height: 250px;
  }

  .lSSlideOuter img {
    max-height: 250px;
  }

  .lSThumb li {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px;
  }

  .product-name {
    font-size: 14px;
  }

  .new-price {
    font-size: 16px;
  }

  .detail-row {
    grid-template-columns: 90px 1fr;
    gap: 0.5rem;
    padding: 0.3rem 0;
  }
}

@media (max-width: 768px) {
  .pdp-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pdp-container {
    padding: 0 0.5rem;
  }

  .gallery-main-image {
    min-height: 300px;
  }

  .lSSlideOuter img {
    max-height: 300px;
  }

  .lSThumb li {
    width: 65px !important;
    height: 65px !important;
    min-width: 65px;
  }

  .action-buttons {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .product-details-section,
  .seller-info,
  .product-description {
    padding: 1rem;
  }

  .detail-row {
    grid-template-columns: 120px 1fr;
  }

  .product-name {
    font-size: 18px;
  }

  .new-price {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .pdp-container {
    padding: 0 0.5rem;
  }

  .pdp-layout {
    gap: 1rem;
  }

  .gallery-column {
    gap: 0.75rem;
  }

  .gallery-main-image {
    min-height: 250px;
  }

  .lSThumb li {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px;
  }

  .product-name {
    font-size: 16px;
  }

  .product-price {
    padding: 0.75rem 0;
  }

  .new-price {
    font-size: 20px;
  }

  .btn-contact,
  .btn-wishlist {
    font-size: 12px;
    padding: 10px 12px;
  }

  .detail-row {
    grid-template-columns: 100px 1fr;
  }

  .detail-label,
  .detail-value {
    font-size: 12px;
  }

  .seller-avatar {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .seller-name {
    font-size: 13px;
  }

  .section-title {
    font-size: 14px;
  }

  .description-text {
    font-size: 12px;
  }
}
