/* ========================================
   PRODUCT PAGE STYLES - Figma Design
   ======================================== */

/* Navbar White Variant */
.navbar-white {
    background: #FFFFFF;
    border-bottom: 1px solid #F3F5F7;
}

.navbar-white .nav-link {
    color: #6C7275;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
}

.navbar-white .nav-link:hover,
.navbar-white .nav-link.active {
    color: #141718;
}

.navbar-white .icon-btn {
    color: #141718;
}

.navbar-white .cart-count {
    background: #D63585;
    color: #FFFFFF;
}

/* ========================================
   PRODUCT SECTION
   ======================================== */
.product-section {
    padding: 16px 160px 0;
    background: #FFFFFF;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.breadcrumb-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #605F5F;
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: #D63585;
}

.breadcrumb-separator {
    color: #605F5F;
    font-size: 14px;
}

.breadcrumb-current {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    color: #121212;
}

/* Product Container */
.product-container {
    display: flex;
    gap: 63px;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-image-container {
    position: relative;
    width: 547px;
    height: 728px;
    background: #F3F5F7;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.product-badges {
    position: absolute;
    top: 32px;
    left: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    padding: 8px 18px;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    text-align: center;
}

.badge-new {
    background: #FFFFFF;
    color: #D63585;
}

.badge-sale {
    background: #38CB89;
    color: #FEFEFE;
}

.gallery-arrows {
    position: absolute;
    top: 50%;
    left: 32px;
    right: 32px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.gallery-arrow {
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.gallery-arrow:hover {
    background: #F3F5F7;
}

.gallery-arrow.prev svg {
    color: #6C7275;
}

.gallery-arrow.next svg {
    color: #141718;
}

/* Thumbnails */
.thumbnail-images {
    display: flex;
    gap: 24px;
}

.thumbnail {
    width: 167px;
    height: 167px;
    background: #F3F5F7;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: #141718;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

/* ========================================
   PRODUCT INFO
   ======================================== */
.product-info {
    flex: 1;
    max-width: 508px;
}

.product-header {
    padding-bottom: 24px;
    border-bottom: 1px solid #E8ECEF;
}

.rating-reviews {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.star-rating {
    display: flex;
    gap: 2px;
}

.review-count {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: #141718;
}

.product-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 44px;
    letter-spacing: -0.4px;
    color: #D63585;
    margin: 0 0 16px;
}

.product-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #6C7275;
    margin: 0 0 16px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.current-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -0.6px;
    color: #121212;
}

.original-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #6C7275;
    text-decoration: line-through;
}

/* Offer Timer */
.offer-timer {
    padding: 24px 0;
    border-bottom: 1px solid #E8ECEF;
}

.timer-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #343839;
    margin: 0 0 12px;
}

.timer-blocks {
    display: flex;
    gap: 16px;
}

.timer-block {
    width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-value {
    width: 60px;
    height: 60px;
    background: #F3F5F7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 34px;
    line-height: 38px;
    letter-spacing: -0.6px;
    color: #141718;
}

.timer-unit {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: #6C7275;
    text-align: center;
    margin-top: 4px;
}

/* Product Options */
.product-options {
    padding: 24px 0;
}

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

.option-group:last-child {
    margin-bottom: 0;
}

.option-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: #6C7275;
    display: block;
    margin-bottom: 8px;
}

.option-header {
    display: flex;
    align-items: center;
    gap: 4px;
}

.option-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    color: #000000;
    display: block;
    margin-bottom: 16px;
}

.color-swatches {
    display: flex;
    gap: 16px;
}

.swatch {
    width: 72px;
    height: 72px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.swatch.active {
    border-color: #141718;
}

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

/* Product Actions */
.product-actions {
    padding: 32px 0;
}

.action-row {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.quantity-selector {
    width: 127px;
    height: 52px;
    background: #F5F5F5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #121212;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: #121212;
}

.wishlist-btn {
    flex: 1;
    height: 52px;
    background: transparent;
    border: 1px solid #D63585;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: -0.4px;
    color: #141718;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wishlist-btn:hover {
    background: rgba(214, 53, 133, 0.1);
}

/* Dual Action Buttons Container */
.product-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.add-to-cart-btn {
    width: 100%;
    height: 52px;
    background: #D63585;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: -0.4px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Inquiry Button Variant */
.add-to-cart-btn.inquiry-btn {
    background: #377DFF;
}

.add-to-cart-btn.inquiry-btn:hover {
    background: #2563EB;
}

/* Primary Cart Button */
.add-to-cart-btn.primary-cart-btn {
    background: #D63585;
}

.add-to-cart-btn.primary-cart-btn:hover {
    background: #B82D71;
}

/* Product Meta */
.product-meta {
    padding-top: 24px;
    border-top: 1px solid #E8ECEF;
}

.meta-row {
    display: flex;
    gap: 58px;
    margin-bottom: 8px;
}

.meta-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: #6C7275;
    min-width: 70px;
}

.meta-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: #141718;
}

/* ========================================
   TABS SECTION
   ======================================== */
.tabs-section {
    padding: 40px 160px;
    background: #FFFFFF;
}

.tabs-container {
    max-width: 1120px;
    margin: 0 auto;
}

.tabs-menu {
    display: flex;
    gap: 80px;
    border-bottom: 1px solid #E8ECEF;
    margin-bottom: 48px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0 0 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: -0.4px;
    color: #807E7E;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: #121212;
}

.tab-btn.active {
    color: #121212;
    border-bottom-color: #121212;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -0.6px;
    color: #23262F;
    margin: 0 0 24px;
}

/* Additional Info Tab */
.info-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-row {
    display: flex;
    gap: 40px;
}

.info-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 22px;
    color: #6C7275;
    min-width: 120px;
}

.info-value {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #141718;
}

/* Questions Tab */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid #E8ECEF;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    cursor: pointer;
    background: #FEFEFE;
}

.faq-question span {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: #141718;
}

.faq-question svg {
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 24px 16px;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #6C7275;
    margin: 0;
}

/* Reviews Tab - Legacy styles (overridden by newer styles below) */
.reviews-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 8px;
}

.write-review-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #FEFEFE;
    border: 2px solid #E8ECEF;
    border-radius: 16px;
    margin-bottom: 40px;
}

.review-prompt {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #6C7275;
}

.review-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.emoji-btn {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.write-review-btn {
    padding: 6px 40px;
    background: #D63585;
    border: none;
    border-radius: 80px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: -0.4px;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.3s ease;
}

.write-review-btn:hover {
    background: #C12D75;
}

.reviews-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.reviews-count {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -0.6px;
    color: #000000;
    margin: 0;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 256px;
    padding: 8px 16px;
    background: #FFFFFF;
    border: 2px solid #E8ECEF;
    border-radius: 8px;
    cursor: pointer;
}

.sort-dropdown span {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    color: #141718;
}

/* Review Items */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.review-item {
    display: flex;
    gap: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E8ECEF;
}

.review-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #F3F5F7;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    flex: 1;
}

.review-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.reviewer-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 32px;
    color: #141718;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #353945;
    margin: 0 0 24px;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-date {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    color: #6C7275;
}

.review-action {
    background: none;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 20px;
    color: #23262F;
    cursor: pointer;
}

.review-action:hover {
    color: #D63585;
}

.load-more-btn {
    display: block;
    margin: 0 auto;
    padding: 6px 40px;
    background: transparent;
    border: 1px solid #141718;
    border-radius: 80px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: -0.4px;
    color: #D63585;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #D63585;
    border-color: #D63585;
    color: #FFFFFF;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .product-section,
    .tabs-section {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .product-container {
        gap: 40px;
    }
    
    .main-image-container {
        width: 450px;
        height: 600px;
    }
}

@media (max-width: 992px) {
    .product-container {
        flex-direction: column;
    }
    
    .main-image-container {
        width: 100%;
        height: 500px;
    }
    
    .thumbnail-images {
        justify-content: center;
    }
    
    .product-info {
        max-width: 100%;
    }
    
    .tabs-menu {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .product-section,
    .tabs-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .main-image-container {
        height: 400px;
    }
    
    .thumbnail {
        width: 100px;
        height: 100px;
    }
    
    .product-title {
        font-size: 28px;
        line-height: 34px;
    }
    
    .tabs-menu {
        gap: 24px;
        overflow-x: auto;
    }
    
    .tab-btn {
        font-size: 14px;
        white-space: nowrap;
    }
    
    .action-row {
        flex-direction: column;
    }
    
    .quantity-selector {
        width: 100%;
    }
    
    .review-item {
        flex-direction: column;
        gap: 16px;
    }
}

/* Review Restriction Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #6C7275;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #141718;
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-content h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #141718;
    margin: 0 0 12px;
}

.modal-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #6C7275;
    margin: 0 0 24px;
    line-height: 1.5;
}

.modal-btn {
    background: #D63585;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-btn:hover {
    background: #C12D75;
}

/* Reviews Empty State */
.reviews-empty-state {
    padding: 40px 0;
    text-align: center;
}

.reviews-empty-state .tab-section-title {
    margin-bottom: 16px;
}

.reviews-placeholder {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #6C7275;
}

/* Color Selector Styles */
.color-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.color-label .label-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #6C7275;
}

.color-label .selected-color {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #121212;
}

.color-swatches:empty {
    display: none;
}

/* ==============================================
   PRODUCT ACTION BUTTONS - Add to Cart & Make an Inquiry
   ============================================== */

.product-action-buttons {
  width: 100%;
  margin: 16px 0 24px 0;
}

.action-button {
  display: block;
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-align: center;
  line-height: 52px;
  padding: 0;
  margin: 0;
}

.action-button:active {
  transform: scale(0.98);
}

/* Add to Cart - Pink */
.action-button--cart {
  background-color: #D63585;
}

.action-button--cart:hover {
  background-color: #C42D77;
}

/* Make an Inquiry - Blue */
.action-button--inquiry {
  background-color: #377DFF;
}

.action-button--inquiry:hover {
  background-color: #2563EB;
}

/* Initially hide Make an Inquiry - JS will show it when needed */
#makeInquiryBtn {
  display: none;
}

/* When showing inquiry button, hide cart button */
.product-action-buttons.inquiry-mode #addToCartBtn {
  display: none !important;
}

.product-action-buttons.inquiry-mode #makeInquiryBtn {
  display: block !important;
}

/* ==============================================
   END PRODUCT ACTION BUTTONS
   ============================================== */

/* ========== QUANTITY + WISHLIST ROW ========== */
.qty-wishlist-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 16px;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 120px;
  height: 48px;
  background: #F5F5F5;
  border-radius: 8px;
  padding: 0 12px;
  box-sizing: border-box;
}

.qty-box button {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  font-size: 18px;
  color: #141718;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-box button:hover {
  color: #D63585;
}

#qtyValue {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #141718;
}

.wishlist-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  height: 48px;
  background: transparent;
  border: 1px solid #141718;
  border-radius: 8px;
  padding: 0 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wishlist-box span {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #141718;
}

.wishlist-box:hover {
  background: rgba(214, 53, 133, 0.08);
  border-color: #D63585;
}

.wishlist-box:hover span {
  color: #D63585;
}

/* ========== WISHLIST AUTH POPUP ========== */
.wishlist-auth-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.wishlist-auth-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.wishlist-auth-popup-content {
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  z-index: 1;
}

.wishlist-auth-popup.closing .wishlist-auth-popup-content {
  animation: slideDown 0.3s ease;
}

.wishlist-auth-popup.closing {
  animation: fadeOut 0.3s ease;
}

.wishlist-auth-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #6C7275;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
}

.wishlist-auth-popup-close:hover {
  background: #F5F5F5;
  color: #141718;
}

.wishlist-auth-popup-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.wishlist-auth-popup-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #141718;
  margin: 0 0 12px;
}

.wishlist-auth-popup-message {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6C7275;
  line-height: 1.6;
  margin: 0 0 32px;
}

.wishlist-auth-popup-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.wishlist-auth-popup-cancel {
  padding: 12px 24px;
  border: 1px solid #E8ECEF;
  background: #FFFFFF;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #141718;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wishlist-auth-popup-cancel:hover {
  background: #F5F5F5;
  border-color: #D63585;
}

.wishlist-auth-popup-signin {
  padding: 12px 24px;
  background: #D63585;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.wishlist-auth-popup-signin:hover {
  background: #C42D77;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

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

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

/* ========== PRODUCT REVIEWS STYLES ========== */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E8ECEF;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avg-rating {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #141718;
}

.stars-display {
  display: flex;
  gap: 4px;
}

.stars-display .star {
  font-size: 20px;
  color: #E8ECEF;
}

.stars-display .star.filled {
  color: #FFB800;
}

.total-reviews {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6C7275;
}

.write-review-btn {
  padding: 12px 24px;
  background: #D63585;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: white;
  cursor: pointer;
  transition: background 0.2s ease;
}

.write-review-btn:hover {
  background: #C42D77;
}

/* Reviews List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-item {
  padding: 24px 0;
  border-bottom: 1px solid #E8ECEF;
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #F5F5F5;
  flex-shrink: 0;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.reviewer-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #141718;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-stars {
  color: #FFB800;
  font-size: 14px;
  letter-spacing: 2px;
}

.review-date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #6C7275;
}

.review-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #141718;
  margin: 0;
}

/* No Reviews Message */
.no-reviews-message {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #6C7275;
  text-align: center;
  padding: 60px 20px;
  background: #F9FAFB;
  border-radius: 12px;
  margin: 0;
}

/* Review Auth Popup */
.review-auth-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.review-auth-popup {
  background: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.review-auth-popup .popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6C7275;
  line-height: 1;
}

.review-auth-popup .popup-icon {
  margin-bottom: 16px;
}

.review-auth-popup h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #141718;
  margin: 0 0 8px;
}

.review-auth-popup p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6C7275;
  margin: 0 0 24px;
  line-height: 1.5;
}

.review-auth-popup .popup-btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: #D63585;
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.review-auth-popup .popup-btn-primary:hover {
  background: #C42D77;
}

/* Review Form Modal */
.review-form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
}

.review-form-modal {
  background: white;
  padding: 32px;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.review-form-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6C7275;
  line-height: 1;
}

.review-form-modal h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #141718;
  margin: 0 0 8px;
}

.review-form-modal .product-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6C7275;
  margin: 0 0 24px;
}

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

.review-form-modal label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #141718;
  margin-bottom: 8px;
}

.review-form-modal label .required {
  color: #D63585;
}

.review-form-modal input[type="text"],
.review-form-modal textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E8ECEF;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #141718;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.review-form-modal input[type="text"]:focus,
.review-form-modal textarea:focus {
  outline: none;
  border-color: #D63585;
}

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

/* Rating Input */
.rating-input {
  display: flex;
  gap: 8px;
}

.rating-input .rating-star {
  font-size: 32px;
  color: #E8ECEF;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.1s ease;
}

.rating-input .rating-star:hover {
  transform: scale(1.1);
}

.rating-input .rating-star.selected {
  color: #FFB800;
}

.review-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #6C7275;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
}

.review-modal .modal-close:hover {
  background: #F5F5F5;
  color: #141718;
}

.review-modal h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #141718;
}

.review-modal p {
  font-size: 14px;
  color: #6C7275;
  margin: 0 0 24px;
}

.review-modal label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 8px;
  color: #141718;
}

.rating-input {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.rating-star {
  font-size: 28px;
  color: #6C7275;
  cursor: pointer;
  transition: color 0.2s ease;
}

.rating-star:hover {
  color: #FFB800;
}

.review-modal textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #E8ECEF;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  resize: vertical;
  margin-bottom: 20px;
  box-sizing: border-box;
  min-height: 100px;
}

.review-modal textarea:focus {
  outline: none;
  border-color: #D63585;
}

.submit-review-btn {
  width: 100%;
  padding: 14px;
  background: #D63585;
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-review-btn:hover {
  background: #C42D77;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Responsive */
@media (max-width: 768px) {
  .reviews-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .avg-rating {
    font-size: 36px;
  }
  
  .write-review-btn {
    width: 100%;
  }
  
  .review-modal {
    padding: 24px;
    margin: 20px;
  }
}
