/**
 * Product Detail Component - Etsy-Inspired Design
 * Follows CLAUDE.md Design System
 * Version: 2.0 (Etsy-style)
 */

/* ============================================
   MAIN CONTAINER - Etsy Layout
   ============================================ */

.product-detail-etsy {
    display: flex;
    gap: 40px;
    max-width: 1230px;
    margin: 0 auto 40px;
    padding: 20px 0;
}

/* ============================================
   LEFT SECTION: THUMBNAILS + MAIN IMAGE
   ============================================ */

.product-visual-section {
    flex: 0 0 58%;
    display: block;
}

.product-visual-section::after {
    content: "";
    display: table;
    clear: both;
}

/* Vertical Thumbnails on Left */
.product-thumbnails-left {
    float: left;
    width: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 600px;
    overflow-y: auto;
    margin-right: 15px;
}

.product-thumbnails-left .thumb-item {
    width: 80px;
    height: 80px;
    border: 2px solid #e6e6e6;
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
}

.product-thumbnails-left .thumb-item:hover {
    border-color: #1A6355;
}

.product-thumbnails-left .thumb-item.active {
    border-color: #1A6355;
    box-shadow: 0 0 5px rgba(26, 99, 85, 0.3);
}

.product-thumbnails-left .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Main Product Image Container */
.product-main-image-container {
    position: relative;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    display: block;
    margin-bottom: 15px;
}

.product-main-image-container::after {
    content: "";
    display: table;
    clear: both;
}

/* Main Product Image */
.product-main-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.product-main-image.zoomed {
    cursor: zoom-out;
    position: relative;
    z-index: 10;
}

/* Edit Button - Accent Pink (#b9475e) */
.edit-product-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #b9475e;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(185, 71, 94, 0.3);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edit-product-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.edit-product-btn:hover {
    background: #e79275;
    color: #fff;
    box-shadow: 0 4px 12px rgba(231, 146, 117, 0.4);
    transform: translateY(-1px);
}

.edit-product-btn:active {
    transform: translateY(0);
}

/* Product Description in Left Column */
.product-description-section-left {
    margin-top: 30px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    padding: 20px;
    clear: both;
}

.product-description-section-left .section-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1A6355;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1A6355;
}

.product-description-section-left .description-content {
    color: #4D4D4D;
    font-size: 15px;
    line-height: 1.6;
}

.product-description-section-left .description-content p {
    margin: 0 0 12px;
}

.product-description-section-left .description-content ol,
.product-description-section-left .description-content ul {
    margin: 0 0 12px;
    padding-left: 24px;
}

.product-description-section-left .description-content li {
    margin-bottom: 4px;
}

.product-description-section-left .description-content {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Seller Information in Left Column */
.seller-info-section-left {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    padding: 20px;
}

/* NEW: Seller Info Header - Logo | Info | Avatar */
.seller-info-header-new {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

/* Store Logo - Left */
.store-logo-link-new {
    flex-shrink: 0;
    display: block;
    line-height: 0;
}

.store-logo-new {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    border: 2px solid #1A6355;
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-logo-link-new:hover .store-logo-new {
    transform: scale(1.03);
    box-shadow: 0 2px 8px rgba(26, 99, 85, 0.2);
}

/* Store & Producer Info - Center */
.store-producer-info {
    flex: 1;
    min-width: 0;
}

.store-name-new {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.2;
}

.store-name-new a {
    color: #1A6355;
    text-decoration: none;
    transition: color 0.2s ease;
}

.store-name-new a:hover {
    color: #b9475e;
}

.producer-name-new {
    font-size: 14px;
    color: #595959;
    margin: 0 0 4px;
    line-height: 1.4;
}

.producer-name-new .producer-label {
    color: #7d91a3;
}

.producer-location-new {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #7d91a3;
    margin: 0 0 6px;
}

.producer-location-new svg {
    color: #b9475e;
    flex-shrink: 0;
}

/* Rating - New Style */
.producer-rating-new {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    padding: 4px 0;
    transition: opacity 0.2s ease;
}

.producer-rating-new:hover {
    opacity: 0.8;
}

.rating-stars-new {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.rating-stars-new svg {
    display: block;
}

.rating-score-new {
    font-size: 14px;
    font-weight: 600;
    color: #1A6355;
}

.rating-count-new {
    font-size: 12px;
    color: #7d91a3;
}

.producer-no-rating {
    font-size: 12px;
    color: #999;
    margin: 0;
    font-style: italic;
}

/* Producer Avatar - Right */
.producer-avatar-link-new {
    flex-shrink: 0;
    display: block;
    line-height: 0;
}

.producer-avatar-new {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid #b9475e;
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producer-avatar-link-new:hover .producer-avatar-new {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(185, 71, 94, 0.25);
}

/* Legacy - keep old class for backward compatibility */
.seller-info-section-left .seller-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

/* LEFT: Store Information */
.seller-info-section-left .store-info-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.seller-info-section-left .store-details {
    flex: 1;
}

/* RIGHT: Producer Information */
.seller-info-section-left .producer-info-right {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
    text-align: right;
}

.seller-info-section-left .producer-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Legacy - kept for backward compatibility */
.seller-info-section-left .seller-avatar-name {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Store Logo - Square with rounded corners */
.seller-info-section-left .store-logo-square {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    border: 1px solid #e6e6e6;
    object-fit: cover;
    flex-shrink: 0;
}

.seller-info-section-left .store-logo-link {
    display: block;
    line-height: 0;
}

/* Owner/Producer Avatar - Circular with pink border */
.seller-info-section-left .owner-avatar-round {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    border: 2px solid #b9475e;
    object-fit: cover;
    flex-shrink: 0;
}

.seller-info-section-left .owner-avatar-link {
    display: block;
    line-height: 0;
}

/* Legacy class for backward compatibility - keep for now */
.seller-info-section-left .seller-avatar {
    width: 70px;
    height: 70px;
    border-radius: 100%;
    border: 2px solid #1A6355;
    object-fit: cover;
}

.seller-info-section-left .seller-details {
    flex: 1;
}

.seller-info-section-left .seller-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 5px;
}

.seller-info-section-left .seller-name-link {
    color: #1A6355;
    text-decoration: none;
}

.seller-info-section-left .seller-name-link:hover {
    color: #b9475e;
}

.seller-info-section-left .owner-name {
    font-size: 14px;
    color: #7d91a3;
    margin: 0 0 5px;
}

.seller-info-section-left .seller-location {
    font-size: 13px;
    color: #7d91a3;
    margin: 0 0 8px;
}

.seller-info-section-left .seller-rating-link {
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.seller-info-section-left .seller-rating-link:hover .seller-rating {
    transform: translateX(3px);
}

.seller-info-section-left .seller-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.seller-info-section-left .rating-score {
    font-weight: 600;
    color: #1A6355;
}

.seller-info-section-left .seller-rating-link:hover .rating-score {
    color: #b9475e;
}

.seller-info-section-left .rating-count {
    color: #7d91a3;
    font-size: 13px;
}

.seller-info-section-left .seller-rating-link:hover .rating-count {
    color: #e79275;
}

.seller-info-section-left .seller-actions-row {
    padding-top: 15px;
    border-top: 1px solid #e6e6e6;
}

.seller-info-section-left .seller-action-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.seller-info-section-left .btn-message-seller,
.seller-info-section-left .btn-follow-seller {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.seller-info-section-left .btn-follow-seller .icon {
    font-size: 14px;
}

.seller-info-section-left .seller-reviews-summary {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e6e6e6;
}

.seller-info-section-left .reviews-title {
    font-size: 16px;
    font-weight: 600;
    color: #1A6355;
    margin: 0 0 8px;
}

.seller-info-section-left .reviews-info {
    font-size: 14px;
    color: #7d91a3;
    margin: 0 0 10px;
}

.seller-info-section-left .view-all-reviews {
    color: #b9475e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.seller-info-section-left .view-all-reviews:hover {
    color: #e79275;
}

/* ============================================
   RIGHT SECTION: PRODUCT INFO
   ============================================ */

.product-info-section {
    flex: 0 0 38%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 38%;
    overflow: hidden;
}

/* Store Link */
.store-link-compact {
    font-size: 14px;
    color: #7d91a3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-link-compact:hover {
    color: #1A6355;
    text-decoration: underline;
}

.store-link-compact .store-location {
    font-size: 13px;
    color: #7d91a3;
    font-weight: 400;
}

/* Product Title */
.product-title-main {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    color: #1A6355;
    margin: 0 0 10px 0;
}

/* Product Seller Rating (in right section) */
.product-seller-rating-link {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.product-seller-rating-link:hover .product-seller-rating {
    transform: translateX(3px);
}

.product-seller-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    transition: transform 0.2s ease;
}

.product-seller-rating .rating-stars {
    font-size: 16px;
}

.product-seller-rating .rating-score {
    font-weight: 600;
    color: #1A6355;
    font-size: 15px;
}

.product-seller-rating-link:hover .rating-score {
    color: #b9475e;
}

.product-seller-rating .rating-count {
    color: #7d91a3;
    font-size: 14px;
}

.product-seller-rating-link:hover .rating-count {
    color: #e79275;
}

/* Price Block */
.product-price-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-price-block .price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-price-block .price-amount {
    font-size: 24px;
    font-weight: 600;
    color: #b9475e;
}

.product-price-block .price-unit {
    font-size: 16px;
    color: #595959;
    font-weight: 400;
}

.product-price-block .price-weight {
    font-size: 14px;
    color: #7d91a3;
    font-weight: 400;
    margin-left: 10px;
}

/* Seller Discount - Strikethrough + Sale Price */
.product-price-block .price-original {
    font-size: 16px;
    color: #818181;
    text-decoration: line-through;
    font-weight: 400;
}
.product-price-block .price-amount.sale {
    color: #a61a2e;
}
.product-price-block .price-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: #ffe4dc;
    color: #a61a2e;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Stock Status */
.stock-status-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    padding: 8px 0;
}

.stock-status-inline.in-stock {
    color: #1A6355;
}

.stock-status-inline.out-of-stock {
    color: #d63e2e;
}

.stock-status-inline .stock-icon {
    font-size: 16px;
}

.stock-status-inline .stock-qty {
    color: #7d91a3;
    font-size: 13px;
}

/* ============================================
   SALES MODEL BANNER
   ============================================ */

.sales-model-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 12px 0;
    font-size: 14px;
}

.sales-model-banner .banner-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.sales-model-banner .banner-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sales-model-banner .banner-title {
    font-weight: 600;
    font-size: 14px;
}

.sales-model-banner .banner-desc {
    font-size: 12px;
    opacity: 0.85;
}

/* Wholesale Banner - Blue */
.sales-model-banner.sales-model-wholesale {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border: 1px solid #7dd3fc;
    color: #0369a1;
}

/* Preorder Banner - Orange */
.sales-model-banner.sales-model-preorder {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 1px solid #fcd34d;
    color: #b45309;
}

/* Solidarity Banner - Pink/Red */
.sales-model-banner.sales-model-solidarity {
    background: linear-gradient(135deg, #fce7f3 0%, #fff1f2 100%);
    border: 1px solid #fbcfe8;
    color: #be185d;
}

.sales-model-banner.sales-model-solidarity.has-partner-card {
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

/* Solidarity Partner Detail Card */
.solidarity-partner-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 14px 16px;
    margin: 0 0 12px;
}

.solidarity-partner-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.solidarity-partner-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.solidarity-partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.solidarity-partner-logo-fallback {
    background: #be185d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.solidarity-partner-logo-fallback i {
    color: #fff;
    font-size: 18px;
}

.solidarity-partner-info {
    flex: 1;
    min-width: 0;
}

.solidarity-partner-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    margin-bottom: 6px;
}

.solidarity-partner-details {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.solidarity-partner-detail {
    margin-bottom: 4px;
}

.solidarity-partner-detail i {
    width: 16px;
    display: inline-block;
    text-align: center;
    color: #94a3b8;
}

.solidarity-partner-detail i.fa-map-marker {
    color: #be185d;
}

.solidarity-partner-contact {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
    color: #475569;
}

.solidarity-partner-shipment {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #059669;
    font-size: 12px;
}

/* Solidarity Progress Widget */
.solidarity-progress-widget {
    background: linear-gradient(135deg, #f0f7f5 0%, #FFF3E5 100%);
    border: 1px solid #d4e8e0;
    border-radius: 10px;
    padding: 16px;
    margin: 12px 0;
}

.spw-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.spw-icon {
    font-size: 20px;
}

.spw-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #1A6355;
}

.spw-bar-container {
    margin-bottom: 14px;
}

.spw-bar-bg {
    width: 100%;
    height: 14px;
    background: #e2e8f0;
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 6px;
}

.spw-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #1A6355, #2d9b7a);
    border-radius: 7px;
    transition: width 0.6s ease;
    min-width: 2px;
}

.spw-bar-label {
    font-size: 13px;
    color: #555;
    text-align: center;
}

.spw-bar-label .spw-current {
    font-weight: 700;
    color: #1A6355;
    font-size: 15px;
}

.spw-bar-label .spw-target {
    font-weight: 500;
    color: #666;
}

.spw-bar-label .spw-pct {
    color: #888;
    font-size: 12px;
}

.spw-stats {
    display: flex;
    justify-content: space-around;
    gap: 8px;
    margin-bottom: 12px;
    padding: 10px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.spw-stat {
    text-align: center;
    flex: 1;
}

.spw-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1A6355;
}

.spw-stat-label {
    display: block;
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

.spw-message {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    text-align: center;
    padding: 8px 0;
}

.spw-message-success {
    color: #059669;
    font-weight: 500;
}

.spw-report-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    padding: 10px 16px;
    background: #1A6355;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.spw-report-link:hover {
    background: #155a4a;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 670px) {
    .solidarity-progress-widget {
        padding: 14px 12px;
    }

    .spw-title {
        font-size: 15px;
    }

    .spw-stats {
        gap: 4px;
    }

    .spw-stat-value {
        font-size: 16px;
    }

    .spw-stat-label {
        font-size: 10px;
    }

    .spw-message {
        font-size: 12px;
    }
}

/* Shipping Exempt Banner - Gray/Blue Warning */
.shipping-exempt-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 12px 0;
    font-size: 14px;
    background: linear-gradient(135deg, #f1f5f9 0%, #f8fafc 100%);
    border: 1px solid #cbd5e1;
    color: #475569;
}

.shipping-exempt-banner .banner-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.shipping-exempt-banner .banner-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shipping-exempt-banner .banner-title {
    font-weight: 600;
    font-size: 14px;
    color: #334155;
}

.shipping-exempt-banner .banner-desc {
    font-size: 12px;
    opacity: 0.85;
}

.shipping-exempt-banner .banner-shipping {
    font-size: 13px;
    font-weight: 600;
    color: #b9475e;
    margin-top: 4px;
}

@media (max-width: 670px) {
    .shipping-exempt-banner {
        padding: 10px 12px;
        gap: 10px;
    }

    .shipping-exempt-banner .banner-icon {
        font-size: 20px;
    }

    .shipping-exempt-banner .banner-title {
        font-size: 13px;
    }

    .shipping-exempt-banner .banner-desc {
        font-size: 11px;
    }
}

@media (max-width: 670px) {
    .sales-model-banner {
        padding: 10px 12px;
        gap: 10px;
    }

    .sales-model-banner .banner-icon {
        font-size: 20px;
    }

    .sales-model-banner .banner-title {
        font-size: 13px;
    }

    .sales-model-banner .banner-desc {
        font-size: 11px;
    }

    .solidarity-partner-card {
        padding: 12px;
    }

    .solidarity-partner-logo {
        width: 40px;
        height: 40px;
    }

    .solidarity-partner-logo-fallback {
        width: 36px;
        height: 36px;
    }

    .solidarity-partner-logo-fallback i {
        font-size: 15px;
    }

    .solidarity-partner-name {
        font-size: 13px;
    }

    .solidarity-partner-details {
        font-size: 12px;
    }
}

/* ============================================
   HIGHLIGHTS SECTION
   ============================================ */

.product-highlights {
    background: #f3f3f3;
    border-radius: 3px;
    padding: 15px;
    overflow: hidden !important;
    max-width: 100% !important;
}

.product-highlights .highlights-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1A6355;
    margin: 0 0 10px;
}

.product-highlights .highlights-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-highlights .highlights-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #595959;
}

.product-highlights .highlight-icon {
    font-size: 18px;
}

/* Certificate Badges Grid - Horizontal Layout with Scroll */
.certificate-badges-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    margin-top: 15px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 10px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #1A6355 #f3f3f3 !important;
    -webkit-overflow-scrolling: touch !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Webkit scrollbar styling */
.certificate-badges-grid::-webkit-scrollbar {
    height: 6px !important;
}

.certificate-badges-grid::-webkit-scrollbar-track {
    background: #f3f3f3 !important;
    border-radius: 3px !important;
}

.certificate-badges-grid::-webkit-scrollbar-thumb {
    background: #1A6355 !important;
    border-radius: 3px !important;
}

.certificate-badges-grid::-webkit-scrollbar-thumb:hover {
    background: #b9475e !important;
}

.certificate-badges-grid .cert-badge-link,
.certificate-badges-grid .cert-badge-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    padding: 8px !important;
    flex-shrink: 0 !important;
    min-width: 90px !important;
}

/* Clickable badges - distinct hover effect */
.certificate-badges-grid .cert-badge-link {
    cursor: pointer !important;
    background: rgba(255, 255, 255, 0.7) !important;
    border-radius: 8px !important;
    padding: 12px 10px !important;
}

.certificate-badges-grid .cert-badge-link:hover {
    transform: translateY(-3px) !important;
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 6px 16px rgba(26, 99, 85, 0.15) !important;
}

.certificate-badges-grid .cert-badge-link:hover .cert-badge {
    transform: scale(1.05) !important;
}

/* Non-clickable badges - subtle styling */
.certificate-badges-grid .cert-badge-wrapper {
    opacity: 0.95 !important;
}

/* Badge Icon */
.certificate-badges-grid .cert-badge {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    transition: all 0.25s ease !important;
    background: #fff !important;
    padding: 4px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
}

/* Badge Name/Label */
.certificate-badges-grid .cert-badge-name {
    font-size: 12px !important;
    color: #4D4D4D !important;
    text-align: center !important;
    max-width: 90px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    display: block !important;
}

.certificate-badges-grid .cert-badge-link .cert-badge-name {
    font-weight: 500 !important;
}

.certificate-badges-grid .cert-badge-link:hover .cert-badge-name {
    color: #1A6355 !important;
    font-weight: 600 !important;
}

/* Fallback for certificates without images */
.certificate-badges-grid .cert-badge-no-image {
    background: #fff !important;
    border: 2px dashed #e6e6e6 !important;
    border-radius: 8px !important;
    min-width: 80px !important;
    padding: 12px 10px !important;
}

.certificate-badges-grid .cert-badge-no-image .cert-fallback-icon {
    font-size: 32px !important;
    width: 64px !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.certificate-badges-grid .cert-badge-no-image .cert-badge-name {
    max-width: 100px !important;
    color: #7d91a3 !important;
}

/* SVG icon badges (used when no uploaded image exists) */
.certificate-badges-grid .cert-badge-svg {
    background: #fff !important;
    border: 2px solid #1A6355 !important;
    border-radius: 8px !important;
    min-width: 80px !important;
    padding: 12px 10px !important;
}

.certificate-badges-grid .cert-badge-svg .cert-badge-icon {
    width: 56px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #1A6355 0%, #2d8a6e 100%) !important;
    border-radius: 50% !important;
    color: #fff !important;
}

.certificate-badges-grid .cert-badge-svg .cert-badge-icon svg {
    width: 28px !important;
    height: 28px !important;
    stroke: currentColor !important;
}

.certificate-badges-grid .cert-badge-svg .cert-badge-name {
    max-width: 100px !important;
    color: #1A6355 !important;
    font-weight: 500 !important;
}

/* ============================================
   QUANTITY & ADD TO CART (Side by Side)
   ============================================ */

.product-actions-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

/* Quantity Selector */
.quantity-selector-compact {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quantity-selector-compact label {
    font-size: 13px;
    font-weight: 500;
    color: #595959;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #d1d7dc;
    border-radius: 3px;
    overflow: hidden;
}

.qty-btn {
    flex: 0 0 36px;
    height: 42px;
    background: #fff;
    border: none;
    color: #1A6355;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #f3f3f3;
}

.qty-btn:active {
    background: #e6e6e6;
}

.qty-input {
    flex: 1;
    height: 42px;
    border: none;
    border-left: 1px solid #d1d7dc;
    border-right: 1px solid #d1d7dc;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    color: #1A6355;
    width: 50px;
}

.qty-input:focus {
    outline: none;
}

/* Add to Cart Button */
.btn-add-to-cart {
    flex: 1;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.btn-add-to-cart:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(185, 71, 94, 0.3);
}

.btn-add-to-cart:active:not(:disabled) {
    transform: translateY(0);
}

.btn-add-to-cart:disabled,
.btn-add-to-cart.page-loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-add-to-cart.loading {
    color: transparent;
}

.btn-add-to-cart.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: btn-spin 0.6s linear infinite;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   SECONDARY ACTIONS (Wishlist, Share, Report)
   ============================================ */

.product-secondary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 0;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
}

.own-product-notice {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #1A6355;
    background: #FFF3E5;
    border-radius: 3px;
    border: 1px solid #e79275;
}

.btn-icon-text {
    background: #fff;
    border: 1px solid #e6e6e6;
    color: #7d91a3;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px 10px;  /* ← Compact padding for 3 buttons */
    border-radius: 3px;
    transition: all 0.2s;
    text-decoration: none;
    flex: 1 1 calc(33.333% - 8px);  /* ← 3 buttons per row (12px gap / 3) */
    min-width: 80px;
    white-space: normal;
    word-break: break-word;
    overflow: hidden;
    text-align: center;
}

.btn-icon-text:hover {
    color: #1A6355;
    border-color: #1A6355;
    background: #f8f8f8;
}

.btn-icon-text.active {
    color: #b9475e;
    border-color: #b9475e;
    background: #fff3f5;
}

.btn-icon-text.active .icon-favorite {
    color: #b9475e;
}

.btn-icon-text .icon {
    font-size: 16px;
    flex-shrink: 0;
    display: block;
}

/* ============================================
   SHIPPING INFO BOX COMPACT
   ============================================ */

.shipping-info-box-compact {
    background: #FFF3E5;
    border-radius: 3px;
    padding: 15px;
    margin-top: 15px;
}

.shipping-info-box-compact .shipping-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1A6355;
    margin: 0 0 12px;
}

.shipping-info-box-compact .shipping-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shipping-info-box-compact .shipping-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.shipping-info-box-compact .shipping-icon {
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1.4;
}

.shipping-info-box-compact .shipping-text {
    font-size: 12px;
    color: #595959;
    line-height: 1.5;
}

.shipping-info-box-compact .shipping-text strong {
    color: #1A6355;
    font-weight: 600;
}

/* ============================================
   SHIPPING REGIONS BOX - TABLE
   ============================================ */

.shipping-regions-box {
    background: #fff;
    border: 1px solid #d1d7dc;
    border-radius: 3px;
    padding: 20px;
    margin-top: 15px;
}

.shipping-regions-box .shipping-regions-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1A6355;
    margin: 0 0 15px;
}

.shipping-table-wrapper {
    overflow-x: auto;
    border-radius: 3px;
    border: 1px solid #e6e6e6;
}

.shipping-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.shipping-table thead {
    background: #f3f3f3;
}

.shipping-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #1A6355;
    border-bottom: 2px solid #1A6355;
    font-size: 14px;
}

.shipping-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #efefef;
    color: #595959;
    font-size: 13px;
}

.shipping-table tbody tr:last-child td {
    border-bottom: none;
}

.shipping-table tbody tr:hover {
    background: #faf7fd;
}

.shipping-additional-info {
    font-size: 12px;
    line-height: 1.6;
    color: #595959;
    padding: 10px 0 0;
}

.shipping-additional-info p {
    margin: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.shipping-additional-info p:first-child {
    margin-top: 0;
}

.shipping-additional-info p:last-child {
    margin-bottom: 0;
}

.shipping-additional-info strong {
    color: #1A6355;
    font-weight: 600;
}

/* ============================================
   PAYMENT PROTECTION BOX
   ============================================ */

.payment-protection-box {
    background: #faf7fd;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    padding: 15px;
    display: flex;
    gap: 12px;
}

.payment-protection-box .info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.payment-protection-box .protection-text {
    flex: 1;
}

.payment-protection-box strong {
    display: block;
    font-size: 14px;
    color: #1A6355;
    margin-bottom: 5px;
}

.payment-protection-box p {
    margin: 0;
    font-size: 13px;
    color: #595959;
    line-height: 1.5;
}

/* ============================================
   PRODUCT TAGS WIDGET (Tag Module Widget)
   ============================================ */

.product-tags-widget {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    padding: 15px;
    margin-top: 15px;
}

/* Hide container if widget returns empty (no tags) */
.product-tags-widget:empty {
    display: none;
    margin: 0;
    padding: 0;
    border: none;
}

/* Override default tag widget styles */
.product-tags-widget .tags {
    margin: 0;
    padding: 0;
}

.product-tags-widget .tags .color-3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1A6355 !important;
    display: block;
    margin-bottom: 10px;
}

.product-tags-widget .tags a {
    display: inline-block;
    padding: 6px 12px;
    background: #FFF3E5;
    color: #b9475e !important;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    margin: 0 6px 6px 0;
}

.product-tags-widget .tags a:hover {
    background: #1A6355 !important;
    color: #fff !important;
    border-color: #1A6355;
    transform: translateY(-1px);
}

.product-tags-widget .tags a:last-child {
    margin-right: 0;
}

/* ============================================
   PRODUCT DESCRIPTION SECTION (Full Width)
   ============================================ */

.product-description-section {
    max-width: 1230px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .1);
}

.section-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1A6355;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e6e6e6;
}

.description-content {
    font-size: 15px;
    line-height: 1.7;
    color: #595959;
}

.description-content p {
    margin-bottom: 15px;
}

.description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
}

/* ============================================
   SELLER INFO SECTION
   ============================================ */

.seller-info-section {
    max-width: 1230px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .1);
}

.seller-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.seller-avatar-name {
    display: flex;
    align-items: center;
    gap: 15px;
}

.seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    border: 2px solid #1A6355;
    object-fit: cover;
}

.seller-details h3.seller-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1A6355;
    margin: 0 0 5px;
}

.seller-details h3.seller-name .seller-name-link {
    color: #1A6355;
    text-decoration: none;
    transition: color 0.2s;
}

.seller-details h3.seller-name .seller-name-link:hover {
    color: #b9475e;
}

.seller-avatar-name a {
    display: block;
    transition: opacity 0.2s;
}

.seller-avatar-name a:hover {
    opacity: 0.8;
}

.seller-details .owner-name {
    font-size: 14px;
    color: #7d91a3;
    margin: 0 0 3px;
}

.seller-details .seller-location {
    font-size: 13px;
    color: #7d91a3;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.btn-message-seller {
    flex-shrink: 0;
    padding: 10px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   OTHER PRODUCTS SECTION
   ============================================ */

.seller-other-products {
    max-width: 1230px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .1);
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header-row .section-heading {
    margin: 0;
    padding: 0;
    border: none;
}

.view-all-link {
    font-size: 14px;
    color: #1A6355;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: #b9475e;
}

/* Horizontal scroll carousel - max 5 products visible */
.other-products-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;  /* Smooth momentum scroll on iOS */
    scroll-snap-type: x mandatory;
}

/* Scrollbar styling */
.other-products-grid::-webkit-scrollbar {
    height: 6px;
}

.other-products-grid::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 3px;
}

.other-products-grid::-webkit-scrollbar-thumb {
    background: #c8c0bb;
    border-radius: 3px;
}

.other-products-grid::-webkit-scrollbar-thumb:hover {
    background: #b9475e;
}

.product-card-mini {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 0 0 180px;  /* Fixed width - 180px wide cards */
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.product-card-mini a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-mini:hover {
    box-shadow: 0 3px 12px rgba(26, 99, 85, 0.12);
    border-color: #1A6355;
    transform: translateY(-3px);
}

.product-image-mini {
    width: 100%;
    height: 140px;  /* Reduced for carousel - net display */
    overflow: hidden;
    background: #f8f8f8;
    position: relative;
    flex-shrink: 0;
}

.product-image-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Cover without distortion */
    object-position: center;
    transition: transform 0.35s ease;
    display: block;
}

.product-card-mini:hover .product-image-mini img {
    transform: scale(1.1);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: linear-gradient(135deg, #f3f3f3 0%, #e6e6e6 100%);
    color: #999;
}

.product-info-mini {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.product-name-mini {
    font-size: 13px;
    font-weight: 600;
    color: #1A6355;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 26px;
}

.product-card-mini:hover .product-name-mini {
    color: #b9475e;
}

.product-weight-mini {
    font-size: 11px;
    color: #7d91a3;
    margin: 0;
}

.product-price-mini {
    font-size: 14px;
    font-weight: 700;
    color: #b9475e;
    margin: 0;
}

/* ============================================
   SELLER RATING
   ============================================ */

.seller-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.seller-rating .rating-stars {
    font-size: 16px;
    line-height: 1;
}

.seller-rating .rating-score {
    font-size: 16px;
    font-weight: 600;
    color: #1A6355;
}

.seller-rating .rating-count {
    font-size: 13px;
    color: #7d91a3;
}

/* Seller Reviews Summary */
.seller-reviews-summary {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
}

.seller-reviews-summary .reviews-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1A6355;
    margin: 0 0 10px;
}

.seller-reviews-summary .reviews-info {
    font-size: 14px;
    color: #595959;
    margin: 0 0 15px;
}

.seller-reviews-summary .view-all-reviews {
    font-size: 14px;
    color: #1A6355;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.seller-reviews-summary .view-all-reviews:hover {
    color: #b9475e;
}

/* ============================================
   PRODUCT TABS SECTION (Old system integration)
   ============================================ */

.product-tabs-section {
    max-width: 1230px;
    margin: 30px auto;
}

/* Price weight display */
.price-weight {
    font-size: 14px;
    color: #7d91a3;
    font-weight: 400;
    margin-left: 5px;
}

/* ============================================
   PRODUCT COMMENTS SECTION
   ============================================ */

.product-comments-section {
    max-width: 1230px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, .1);
}

.product-comments-section .section-heading {
    margin-bottom: 25px;
}

.product-comments-section .comments-container {
    /* Comments widget will have its own styles */
}

/* Comment widget style overrides for better integration */
.product-comments-section .list-7 li {
    padding: 20px 0;
    border-bottom: 1px solid #e6e6e6;
}

.product-comments-section .list-7 li:last-child {
    border-bottom: none;
}

.product-comments-section .avatar img {
    border-radius: 50%;
    border: 2px solid #1A6355;
}

.product-comments-section .event-comment-holder {
    margin-top: 0;
}


/* ============================================
   SHARE MODAL
   ============================================ */

.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s;
}

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

.share-modal {
    background: #fff;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s;
}

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

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #1A6355;
}

.share-modal-header h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1A6355;
    margin: 0;
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #7d91a3;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    line-height: 1;
}

.share-modal-close:hover {
    background: #f3f3f3;
    color: #b9475e;
}

.share-modal-body {
    padding: 30px 25px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border: 2px solid #e6e6e6;
    border-radius: 5px;
    text-decoration: none;
    color: #1A6355;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    background: #fff;
}

.share-option:hover {
    border-color: #1A6355;
    background: #FFF3E5;
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(26, 99, 85, 0.15);
}

.share-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.share-option span {
    text-align: center;
}

.share-option.whatsapp:hover {
    border-color: #25D366;
}

.share-option.facebook:hover {
    border-color: #1877F2;
}

.share-option.twitter:hover {
    border-color: #1DA1F2;
}

.share-option.linkedin:hover {
    border-color: #0A66C2;
}

.share-option.instagram:hover {
    border-color: #E4405F;
}

.share-option.copy-link:hover {
    border-color: #b9475e;
}

/* Mobile responsive */
@media only screen and (max-width: 670px) {
    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .share-modal {
        width: 95%;
    }
    
    .share-modal-header {
        padding: 15px 20px;
    }
    
    .share-modal-header h3 {
        font-size: 20px;
    }
    
    .share-modal-body {
        padding: 20px;
    }
}


/* ============================================
   MODERN COMMENTS SECTION
   ============================================ */

.product-comments-section {
    max-width: 1230px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFF3E5 100%);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(185, 71, 94, 0.08);
    border: 1px solid rgba(185, 71, 94, 0.1);
}

.product-comments-section .section-heading {
    margin-bottom: 25px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: #1A6355;
    padding-bottom: 12px;
    border-bottom: 2px solid #1A6355;
}

/* Comment list modernization - Etsy style */
.product-comments-section .list-7 {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(185, 71, 94, 0.3) transparent;
}

.product-comments-section .list-7::-webkit-scrollbar {
    width: 6px;
}

.product-comments-section .list-7::-webkit-scrollbar-track {
    background: rgba(185, 71, 94, 0.05);
    border-radius: 3px;
}

.product-comments-section .list-7::-webkit-scrollbar-thumb {
    background: rgba(185, 71, 94, 0.3);
    border-radius: 3px;
}

.product-comments-section .list-7::-webkit-scrollbar-thumb:hover {
    background: rgba(185, 71, 94, 0.5);
}

/* Etsy-style comment row: Avatar left (sidebar), content right */
.product-comments-section .list-7 li {
    padding: 20px 0;
    margin-bottom: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.15s;
    display: block;
    overflow: visible;
}

.product-comments-section .list-7 li:first-child {
    padding-top: 0;
}

.product-comments-section .list-7 li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-comments-section .list-7 li:hover {
    background: #fafafa;
    border-bottom-color: #e6e6e6;
}

.product-comments-section .list-7 li.no-style {
    border: none;
    padding: 0;
    background: transparent;
    margin-bottom: 0;
}

.product-comments-section .list-7 li.no-style:hover {
    box-shadow: none;
    background: transparent;
}

/* Avatar - HIDDEN (removed due to overlap issues) */
.product-comments-section .avatar {
    display: none !important;
}

.product-comments-section .avatar img {
    display: none !important;
}

.product-comments-section .list-7 li:hover .avatar img {
    transform: none;
}

/* Date/time - top right corner (flex container for header) */
.product-comments-section .text-2 {
    font-size: 12px;
    color: #7d91a3;
    margin: 0 0 8px 0;
    font-weight: 400;
    padding: 0;
    display: block;
    float: right;
    clear: none;
}

/* Comment author name - main content area */
.product-comments-section .title-5 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px 0;
    line-height: 1.3;
    padding: 0;
    overflow: hidden;
}

.product-comments-section .title-5 a {
    color: #1A6355;
    text-decoration: none;
    transition: color 0.2s;
}

.product-comments-section .title-5 a:hover {
    color: #b9475e;
}

/* Comment text - main content */
.product-comments-section .text-1 {
    font-size: 14px;
    line-height: 1.6;
    color: #4D4D4D;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    overflow: hidden;
}

/* Comment form - Clean modern style */
.product-comments-section .event-comment-formholder {
    padding: 20px 0;
    margin-top: 30px;
    background: transparent;
    border: none;
    border-top: 1px solid #f0f0f0;
    position: relative;
    overflow: visible;
}

.product-comments-section .event-comment-formholder form {
    display: block;
    margin-left: 0;
}

/* Avatar in form - HIDDEN */
.product-comments-section .event-comment-formholder .avatar {
    display: none !important;
}

.product-comments-section .event-comment-formholder .field {
    width: 100%;
    min-height: 100px;
    padding: 12px 14px;
    border: 1px solid #d1d7dc;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Fira Sans', sans-serif;
    resize: vertical;
    transition: all 0.2s;
    background: #fff;
    color: #4D4D4D;
    line-height: 1.5;
}

.product-comments-section .event-comment-formholder .field::placeholder {
    color: #7d91a3;
}

.product-comments-section .event-comment-formholder .field:focus {
    border-color: #1A6355;
    outline: none;
    box-shadow: 0 0 0 2px rgba(26, 99, 85, 0.08);
    background: #fff;
}

.product-comments-section .event-comment-formholder .button {
    min-width: 120px;
    align-self: flex-end;
    transition: all 0.2s;
    height: 42px;
    border-radius: 3px;
    font-weight: 600;
}

.product-comments-section .event-comment-formholder .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(185, 71, 94, 0.2);
}

/* No comments notification - HIDDEN */
.product-comments-section .event-pin-no-comments {
    display: none !important;
}

/* Hide notification container */
.product-comments-section .event-notification-container {
    display: none !important;
}

/* Pagination */
.product-comments-section .pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.product-comments-section .pagination a {
    padding: 8px 15px;
    border: 1px solid #e6e6e6;
    border-radius: 3px;
    color: #1A6355;
    text-decoration: none;
    transition: all 0.2s;
}

.product-comments-section .pagination a:hover,
.product-comments-section .pagination a.active {
    background: #1A6355;
    color: #fff;
    border-color: #1A6355;
}

/* Responsive - Mobile */
@media only screen and (max-width: 670px) {
    .product-comments-section {
        padding: 15px;
        margin: 20px auto;
    }

    .product-comments-section .section-heading {
        font-size: 22px;
    }

    /* Comments list */
    .product-comments-section .list-7 li {
        padding: 15px 0;
    }

    .product-comments-section .list-7 li:first-child {
        padding-top: 0;
    }

    /* Avatar hidden on mobile */
    .product-comments-section .avatar {
        display: none !important;
    }

    .product-comments-section .title-5 {
        font-size: 14px;
    }

    .product-comments-section .text-2 {
        font-size: 11px;
        float: right;
    }

    .product-comments-section .text-1 {
        font-size: 13px;
        line-height: 1.5;
    }

    /* Form */
    .product-comments-section .event-comment-formholder {
        padding: 15px 0;
        margin-top: 20px;
    }

    .product-comments-section .event-comment-formholder form {
        margin-left: 0;
    }

    .product-comments-section .event-comment-formholder .field {
        min-height: 90px;
        font-size: 13px;
    }
}

/* Responsive - Mobile Large (750px) */
@media only screen and (max-width: 750px) {
    .product-comments-section {
        padding: 15px;
    }

    /* Avatar hidden on mobile large */
    .product-comments-section .avatar {
        display: none !important;
    }
}

/* ============================================
   REPORT BUTTON STYLING
   ============================================ */

.product-report-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e6e6e6;
}

.product-report-section .btn-icon-text {
    color: #7d91a3;
    border: 1px solid #e6e6e6;
    background: #fff;
    padding: 10px 16px;
    font-size: 14px;
}

.product-report-section .btn-icon-text:hover {
    color: #d63e2e;
    border-color: #d63e2e;
    background: #fff5f4;
}

/* ============================================
   RESPONSIVE - OTHER PRODUCTS HORIZONTAL CARDS
   ============================================ */

/* Tablet - max-width: 1050px */
@media only screen and (max-width: 1050px) {
    .other-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Mobile large - max-width: 750px */
@media only screen and (max-width: 750px) {
    .other-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image-mini {
        height: 150px;
    }

    .product-info-mini {
        padding: 12px;
    }

    .product-title-mini {
        font-size: 13px;
        min-height: 32px;
    }

    .product-weight-mini {
        font-size: 11px;
    }

    .product-price-mini {
        font-size: 15px;
    }
}

/* Mobile - max-width: 670px */
@media only screen and (max-width: 670px) {
    .seller-other-products {
        padding: 15px;
        margin: 20px auto;
    }

    .seller-other-products .section-heading {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .other-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-image-mini {
        height: 140px;
    }

    .product-info-mini {
        padding: 10px;
    }

    .product-title-mini {
        font-size: 12px;
    }

    .product-weight-mini {
        font-size: 10px;
    }

    .product-price-mini {
        font-size: 14px;
    }
}

/* Mobile small - max-width: 400px */
@media only screen and (max-width: 400px) {
    .seller-other-products {
        padding: 12px;
        margin: 15px auto;
    }

    .seller-other-products .section-heading {
        font-size: 18px;
        padding-bottom: 10px;
        margin-bottom: 12px;
    }

    .other-products-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .product-image-mini {
        height: 180px;
    }

    .product-info-mini {
        padding: 12px;
    }

    .product-title-mini {
        font-size: 14px;
        min-height: 36px;
    }

    .product-weight-mini {
        font-size: 11px;
    }

    .product-price-mini {
        font-size: 16px;
    }
}

/* ============================================
   RESPONSIVE - SELLER INFO SECTION
   ============================================ */

/* Tablet - max-width: 1050px */
@media only screen and (max-width: 1050px) {
    .seller-info-section-left {
        padding: 20px;
    }

    .seller-info-header {
        gap: 12px;
    }

    .seller-avatar {
        width: 70px;
        height: 70px;
    }

    .seller-name-rating h3 {
        font-size: 20px;
    }

    .btn-message-seller {
        padding: 10px 18px;
        font-size: 14px;
    }
}

/* Mobile large - max-width: 750px */
@media only screen and (max-width: 750px) {
    .seller-info-section-left {
        padding: 15px;
        margin: 20px auto;
    }

    /* NEW: Seller Info Header Responsive */
    .seller-info-header-new {
        gap: 12px;
        padding-bottom: 12px;
    }

    .store-logo-new {
        width: 55px;
        height: 55px;
        border-radius: 6px;
    }

    .store-name-new {
        font-size: 17px;
    }

    .producer-name-new {
        font-size: 13px;
    }

    .producer-location-new {
        font-size: 12px;
    }

    .producer-avatar-new {
        width: 48px;
        height: 48px;
    }

    .rating-score-new {
        font-size: 13px;
    }

    .rating-count-new {
        font-size: 11px;
    }

    .rating-stars-new svg {
        width: 12px;
        height: 12px;
    }

    /* Legacy styles */
    .seller-info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .seller-avatar-name {
        width: 100%;
    }

    .seller-avatar {
        width: 60px;
        height: 60px;
    }

    .seller-name-rating h3 {
        font-size: 18px;
    }

    .seller-rating {
        font-size: 13px;
    }

    .btn-message-seller {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
    }

    .seller-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-item {
        padding: 10px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-value {
        font-size: 16px;
    }
}

/* Mobile - max-width: 670px */
@media only screen and (max-width: 670px) {
    .seller-info-section-left {
        padding: 15px;
    }

    .seller-avatar {
        width: 55px;
        height: 55px;
    }

    .seller-name-rating h3 {
        font-size: 17px;
    }

    .seller-rating {
        font-size: 12px;
    }

    .seller-stats {
        grid-template-columns: 1fr;
    }

    .stat-item {
        padding: 8px;
    }
}

/* Mobile small - max-width: 400px */
@media only screen and (max-width: 400px) {
    .seller-info-section-left {
        padding: 12px;
    }

    .seller-avatar {
        width: 50px;
        height: 50px;
    }

    .seller-name-rating h3 {
        font-size: 16px;
    }

    .btn-message-seller {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* ============================================
   RESPONSIVE - SHIPPING & PAYMENT BOXES
   ============================================ */

/* Tablet - max-width: 1050px */
@media only screen and (max-width: 1050px) {
    .shipping-info-box,
    .shipping-info-box-compact,
    .shipping-regions-box,
    .payment-protection-box {
        padding: 15px;
    }

    .shipping-info-box h4,
    .payment-protection-box h4 {
        font-size: 15px;
    }
}

/* Mobile large - max-width: 750px */
@media only screen and (max-width: 750px) {
    .shipping-info-box,
    .shipping-info-box-compact,
    .shipping-regions-box,
    .payment-protection-box {
        padding: 12px;
        margin-bottom: 10px;
    }

    .shipping-info-box h4,
    .payment-protection-box h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .shipping-details li,
    .payment-protection-box p {
        font-size: 12px;
        padding: 6px 0;
    }

    .shipping-table {
        font-size: 13px;
    }

    .shipping-table th,
    .shipping-table td {
        padding: 8px 6px;
        font-size: 11px;
    }
}

/* Mobile - max-width: 670px */
@media only screen and (max-width: 670px) {
    .shipping-info-box,
    .shipping-info-box-compact,
    .shipping-regions-box,
    .payment-protection-box {
        padding: 10px;
    }

    .shipping-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .shipping-table {
        min-width: 100%;
        font-size: 12px;
    }

    .shipping-table th,
    .shipping-table td {
        padding: 8px 5px;
        font-size: 11px;
        white-space: nowrap;
    }

    .shipping-additional-info {
        font-size: 10px;
        margin-top: 8px;
    }
}

/* Mobile small - max-width: 400px */
@media only screen and (max-width: 400px) {
    .shipping-info-box,
    .shipping-info-box-compact,
    .shipping-regions-box,
    .payment-protection-box {
        padding: 8px;
    }

    .shipping-info-box h4,
    .payment-protection-box h4 {
        font-size: 13px;
    }

    .shipping-details li {
        font-size: 11px;
    }
}

/* ============================================
   RESPONSIVE - ACTION BUTTONS & CONTROLS
   ============================================ */

/* Tablet - max-width: 1050px */
@media only screen and (max-width: 1050px) {
    .product-actions-row {
        gap: 12px;
    }

    .btn-add-to-cart {
        padding: 12px 24px;
        font-size: 16px;
    }

    .product-secondary-actions {
        gap: 10px;
    }

    .btn-icon-text {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Mobile large - max-width: 750px */
@media only screen and (max-width: 750px) {
    .product-info-section {
        padding: 0 15px;  /* Control outer padding */
    }

    .product-actions-row {
        flex-direction: column;
        gap: 12px;
        margin: 0 -15px;  /* Negative margin to fill */
        padding: 0 15px;
    }

    .quantity-selector-compact {
        width: 100%;
    }

    .btn-add-to-cart {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }

    .btn-notify-stock {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }

    .product-secondary-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
        margin: 15px -15px 0;
        padding: 15px 15px 0;
        border-top: 1px solid #e6e6e6;
        border-bottom: 1px solid #e6e6e6;
    }

    .btn-icon-text {
        flex: 1 1 calc(33.333% - 7px);  /* 3 buttons per row at 750px */
        min-width: 70px;
        justify-content: center;
        padding: 8px 6px;
        font-size: 11px;
        white-space: normal;
        text-align: center;
    }

    .edit-product-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 15px;
    }
}

/* Mobile - max-width: 670px */
@media only screen and (max-width: 670px) {
    .product-info-section {
        padding: 0 12px;
    }

    .product-actions-row {
        gap: 10px;
        margin: 0 -12px;
        padding: 0 12px;
    }

    .quantity-selector-compact label {
        font-size: 12px;
    }

    .qty-btn {
        width: 36px;
        height: 40px;
        font-size: 18px;
    }

    .qty-input {
        height: 40px;
        font-size: 15px;
    }

    .btn-add-to-cart {
        padding: 12px 18px;
        font-size: 15px;
        height: auto;
    }

    .btn-notify-stock {
        padding: 12px 18px;
        font-size: 15px;
    }

    .product-secondary-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        margin: 12px -12px 0;
        padding: 12px 12px 0;
        border-top: 1px solid #e6e6e6;
        border-bottom: 1px solid #e6e6e6;
    }

    .btn-icon-text {
        flex: 1 1 calc(33.333% - 5px);  /* 3 buttons per row at 670px */
        min-width: 60px;
        padding: 8px 5px;
        font-size: 10px;
        white-space: normal;
        text-align: center;
    }

    .edit-product-btn {
        padding: 10px;
        font-size: 13px;
    }
}

/* Mobile small - max-width: 400px */
@media only screen and (max-width: 400px) {
    .product-info-section {
        padding: 0 10px;  /* Minimal padding on ultra-small screens */
    }

    .product-actions-row {
        gap: 8px;
        margin: 0 -10px;
        padding: 0 10px;
    }

    .qty-btn {
        width: 32px;
        height: 38px;
        font-size: 16px;
    }

    .qty-input {
        height: 38px;
        font-size: 14px;
    }

    .btn-add-to-cart {
        width: 100%;
        padding: 10px 14px;
        font-size: 14px;
    }

    .btn-notify-stock {
        width: 100%;
        padding: 10px 14px;
        font-size: 14px;
    }

    .product-secondary-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;  /* Tight gap for 3 buttons on 400px */
        width: 100%;
        margin: 10px -10px 0;
        padding: 10px 10px 0;
        border-top: 1px solid #e6e6e6;
        border-bottom: 1px solid #e6e6e6;
    }

    .btn-icon-text {
        flex: 1 1 calc(33.333% - 4px);  /* 3 buttons per row at 400px */
        min-width: 45px;
        padding: 6px 4px;
        font-size: 9px;
        gap: 3px;
        white-space: normal;
        text-align: center;
    }

    .edit-product-btn {
        width: 100%;
        padding: 8px 10px;
        font-size: 12px;
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE - PRODUCT DESCRIPTION
   ============================================ */

/* Mobile large - max-width: 750px */
@media only screen and (max-width: 750px) {
    .product-description-section-left {
        padding: 15px;
        margin: 20px auto;
    }

    .product-description-section-left .section-heading {
        font-size: 20px;
    }

    .product-description-text {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Mobile - max-width: 670px */
@media only screen and (max-width: 670px) {
    .product-description-section-left {
        padding: 15px;
    }

    .product-description-section-left .section-heading {
        font-size: 18px;
    }

    .product-description-text {
        font-size: 13px;
    }
}

/* Mobile small - max-width: 400px */
@media only screen and (max-width: 400px) {
    .product-description-section-left {
        padding: 12px;
    }

    .product-description-section-left .section-heading {
        font-size: 17px;
    }
}

/* ============================================
   RESPONSIVE - PRODUCT HIGHLIGHTS & CERTIFICATES
   ============================================ */

/* Tablet - max-width: 1050px */
@media only screen and (max-width: 1050px) {
    .product-highlights {
        padding: 15px;
    }

    .product-highlights .highlights-list li {
        font-size: 14px;
        padding: 8px 0;
    }

    .product-certificates {
        padding: 15px;
    }

    .certificate-badge {
        padding: 6px 10px;
        font-size: 11px;
    }

    .certificate-badge img {
        width: 18px;
        height: 18px;
    }
}

/* Mobile large - max-width: 750px */
@media only screen and (max-width: 750px) {
    .product-highlights {
        padding: 12px;
        margin-bottom: 12px;
    }

    .product-highlights .highlights-list {
        gap: 6px;
    }

    .product-highlights .highlights-list li {
        font-size: 13px;
        padding: 6px 0;
    }

    .product-highlights .highlights-list li::before {
        font-size: 14px;
    }

    .product-certificates {
        padding: 12px;
        margin-bottom: 12px;
    }

    .certificates-grid {
        gap: 8px;
    }

    .certificate-badge {
        padding: 6px 8px;
        font-size: 10px;
    }

    .certificate-badge img {
        width: 16px;
        height: 16px;
    }
}

/* Mobile - max-width: 670px */
@media only screen and (max-width: 670px) {
    .product-highlights {
        padding: 10px;
    }

    .product-highlights .highlights-list li {
        font-size: 12px;
    }

    .product-certificates {
        padding: 10px;
    }

    .certificate-badge {
        padding: 5px 8px;
        font-size: 10px;
        gap: 4px;
    }

    .certificate-badge img {
        width: 14px;
        height: 14px;
    }
}

/* Mobile small - max-width: 400px */
@media only screen and (max-width: 400px) {
    .product-highlights {
        padding: 8px;
    }

    .product-highlights .highlights-list li {
        font-size: 11px;
        padding: 5px 0;
    }

    .product-certificates {
        padding: 8px;
    }

    .certificates-grid {
        gap: 6px;
        grid-template-columns: repeat(2, 1fr);
    }

    .certificate-badge {
        padding: 4px 6px;
        font-size: 9px;
    }

    .certificate-badge img {
        width: 12px;
        height: 12px;
    }
}

/* ============================================
   RESPONSIVE - PRODUCT TITLE & PRICE
   ============================================ */

/* Tablet - max-width: 1050px */
@media only screen and (max-width: 1050px) {
    .product-title-main {
        font-size: 26px;
    }

    .product-price-block {
        font-size: 28px;
    }

    .product-weight-display {
        font-size: 14px;
    }

    .product-organic-local-badges {
        gap: 8px;
    }

    .badge-organic,
    .badge-local {
        padding: 5px 10px;
        font-size: 11px;
    }
}

/* Mobile large - max-width: 750px */
@media only screen and (max-width: 750px) {
    .product-title-main {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .product-price-block {
        font-size: 26px;
    }

    .product-weight-display {
        font-size: 13px;
    }

    .product-organic-local-badges {
        gap: 6px;
        margin-top: 10px;
    }

    .badge-organic,
    .badge-local {
        padding: 4px 8px;
        font-size: 10px;
    }
}

/* Mobile - max-width: 670px */
@media only screen and (max-width: 670px) {
    .product-title-main {
        font-size: 22px;
    }

    .product-price-block {
        font-size: 24px;
    }

    .product-weight-display {
        font-size: 12px;
    }

    .badge-organic,
    .badge-local {
        font-size: 10px;
    }
}

/* Mobile small - max-width: 400px */
@media only screen and (max-width: 400px) {
    .product-title-main {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .product-price-block {
        font-size: 22px;
    }

    .product-weight-display {
        font-size: 11px;
    }

    .product-organic-local-badges {
        gap: 5px;
        margin-top: 8px;
    }

    .badge-organic,
    .badge-local {
        padding: 3px 6px;
        font-size: 9px;
    }
}

/* ============================================
   RESPONSIVE - TOUCH OPTIMIZATIONS
   ============================================ */

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .thumb-item {
        min-width: 60px;
        min-height: 60px;
    }

    .qty-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .btn-icon-text {
        padding: 12px 16px;
    }

    .certificate-badge {
        padding: 8px 12px;
        min-height: 36px;
    }

    /* Remove hover effects on touch devices */
    .product-card-mini-horizontal:hover {
        transform: none;
        box-shadow: 0 0 3px 0 rgba(0, 0, 0, .1);
    }

    .btn-add-to-cart:hover {
        transform: none;
    }

    .thumb-item:hover {
        transform: none;
    }

    .certificate-badge:hover {
        transform: none;
    }
}

/* ============================================
   RESPONSIVE - LANDSCAPE ORIENTATION
   ============================================ */

@media only screen and (max-height: 500px) and (orientation: landscape) {
    .product-main-image {
        max-height: 250px;
    }

    .product-thumbnails-left .thumb-item {
        width: 50px;
        height: 50px;
    }

    .product-info-section {
        gap: 10px;
    }

    .product-title-main {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .product-price-block {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .product-highlights,
    .product-certificates {
        padding: 10px;
        margin-bottom: 8px;
    }
}

/* ============================================
   MOBILE STICKY PRODUCT BAR (BOTTOM)
   ============================================ */

.mobile-sticky-product-bar {
    display: block; /* Visible on all screens */
    position: fixed;
    bottom: 70px; /* Above the sticky search bar */
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9990; /* Below mobile menu overlay (9999) */
    padding: 12px 15px;
    border-top: 2px solid #1A6355;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-sticky-product-bar.show {
    transform: translateY(0);
}

.sticky-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 100%;
}

.sticky-bar-info {
    flex: 1 1 auto;
    min-width: 0;
}

.sticky-seller-name {
    font-size: 10px;
    color: #7d91a3;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sticky-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #1A6355;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sticky-price-weight {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.sticky-price {
    font-size: 16px;
    font-weight: 700;
    color: #b9475e;
}

.sticky-weight {
    font-size: 11px;
    color: #7d91a3;
    padding: 2px 6px;
    background: #f3f3f3;
    border-radius: 3px;
}

.sticky-stock-status {
    font-size: 10px;
    font-weight: 600;
    display: inline-block;
}

.sticky-stock-status.in-stock {
    color: #1A6355;
}

.sticky-stock-status.out-of-stock {
    color: #d63e2e;
}

.sticky-bar-action {
    flex: 0 0 auto;
}

.sticky-add-to-cart-btn,
.sticky-notify-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: #b9475e;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.sticky-add-to-cart-btn:disabled,
.sticky-add-to-cart-btn.page-loading {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.sticky-add-to-cart-btn:hover:not(:disabled):not(.page-loading) {
    background: #e79275;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(185, 71, 94, 0.3);
}

.sticky-notify-btn {
    background: #1A6355;
}

.sticky-notify-btn:hover {
    background: #bf833a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(26, 99, 85, 0.3);
}

.sticky-add-to-cart-btn .icon,
.sticky-notify-btn .icon {
    width: 16px;
    height: 16px;
}

.sticky-cart-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
}

/* Desktop: center the sticky bar content */
@media only screen and (min-width: 751px) {
    .mobile-sticky-product-bar {
        padding: 12px 20px;
    }

    .sticky-bar-content {
        max-width: 1230px;
        margin: 0 auto;
    }

    /* Add padding to bottom of page for sticky bars */
    .product-detail-etsy {
        padding-bottom: 160px;
    }
}

/* Mobile adjustments */
@media only screen and (max-width: 750px) {
    .mobile-sticky-product-bar {
        bottom: 72px; /* Position above sticky search bar */
    }

    /* Add padding to bottom of page to prevent content from being hidden behind both sticky bars */
    .product-detail-etsy {
        padding-bottom: 180px; /* Space for both sticky product bar and sticky search bar */
    }
}

/* Mobile small adjustments */
@media only screen and (max-width: 400px) {
    .mobile-sticky-product-bar {
        padding: 10px 12px;
    }

    .sticky-bar-content {
        gap: 10px;
    }

    .sticky-product-name {
        font-size: 12px;
    }

    .sticky-price {
        font-size: 15px;
    }

    .sticky-add-to-cart-btn,
    .sticky-notify-btn {
        padding: 9px 14px;
        font-size: 13px;
    }
}

/* ============================================
   STICKY SEARCH BUTTON (in sticky bar)
   ============================================ */

.sticky-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #FFF3E5;
    border: 1px solid #e6e6e6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sticky-search-btn:hover {
    background: #1A6355;
    border-color: #1A6355;
}

.sticky-search-btn:hover svg {
    stroke: #fff;
}

.sticky-search-btn svg {
    width: 18px;
    height: 18px;
    stroke: #1A6355;
    transition: stroke 0.2s ease;
}

/* ============================================
   STICKY SEARCH OVERLAY
   ============================================ */

.sticky-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sticky-search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sticky-search-container {
    width: 90%;
    max-width: 600px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.sticky-search-overlay.active .sticky-search-container {
    transform: translateY(0) scale(1);
}

.sticky-search-form {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
}

.sticky-search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.sticky-search-close:hover {
    background: #f3f3f3;
}

.sticky-search-close svg {
    width: 20px;
    height: 20px;
    stroke: #7d91a3;
}

.sticky-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f8f8;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 10px 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sticky-search-input-wrap:focus-within {
    border-color: #1A6355;
    box-shadow: 0 0 0 3px rgba(26, 99, 85, 0.1);
    background: #fff;
}

.sticky-search-icon {
    width: 20px;
    height: 20px;
    stroke: #7d91a3;
    flex-shrink: 0;
}

.sticky-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    color: #1A6355;
    outline: none;
}

.sticky-search-input::placeholder {
    color: #7d91a3;
}

.sticky-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: #b9475e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Fira Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.sticky-search-submit:hover {
    background: #e79275;
    transform: translateY(-1px);
}

/* Mobile adjustments for search overlay */
@media (max-width: 670px) {
    .sticky-search-overlay {
        padding-top: 20px;
        align-items: flex-start;
    }

    .sticky-search-container {
        width: 95%;
        border-radius: 16px;
    }

    .sticky-search-form {
        flex-wrap: wrap;
        padding: 12px;
        gap: 10px;
    }

    .sticky-search-close {
        order: 3;
        width: 32px;
        height: 32px;
    }

    .sticky-search-input-wrap {
        order: 1;
        flex: 1 1 calc(100% - 44px);
        min-width: 0;
    }

    .sticky-search-submit {
        order: 2;
        flex: 0 0 auto;
    }

    .sticky-search-input {
        font-size: 16px; /* Prevents iOS zoom */
    }
}

/* Desktop: hide search button in sticky bar (header search visible) */
@media (min-width: 751px) {
    .sticky-search-btn {
        display: none;
    }
}

/* ============================================
   Related Products Carousel (İlgili Ürünler)
   Lightweight horizontal scroll carousel
   ============================================ */

.related-products-section {
    padding: 30px 0;
    margin-top: 20px;
    background: #f9f9f9;
    border-top: 1px solid #e6e6e6;
}

.related-products-container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-products-title {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: #1A6355;
    margin-bottom: 20px;
    font-family: 'Fira Sans', sans-serif;
}

/* Horizontal scroll carousel */
.related-products-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #c8c0bb #f3f3f3;
}

.related-products-carousel::-webkit-scrollbar {
    height: 6px;
}

.related-products-carousel::-webkit-scrollbar-track {
    background: #f3f3f3;
    border-radius: 3px;
}

.related-products-carousel::-webkit-scrollbar-thumb {
    background: #c8c0bb;
    border-radius: 3px;
}

.related-products-carousel::-webkit-scrollbar-thumb:hover {
    background: #b9475e;
}

/* Product card in carousel */
.related-product-card {
    flex: 0 0 180px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.related-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.related-product-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f9f9f9;
}

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

.related-product-info {
    padding: 10px;
}

.related-product-title {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 34px;
}

.related-product-weight {
    display: block;
    font-size: 11px;
    color: #7d91a3;
    margin-bottom: 5px;
}

.related-product-price {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #b9475e;
}

/* Tablet */
@media screen and (max-width: 1050px) {
    .related-products-container {
        padding: 0 15px;
    }

    .related-product-card {
        flex: 0 0 160px;
    }

    .related-product-image {
        height: 120px;
    }
}

/* Mobile */
@media screen and (max-width: 670px) {
    .related-products-section {
        padding: 20px 0;
        margin-top: 15px;
    }

    .related-products-container {
        padding: 0 12px;
    }

    .related-products-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .related-products-carousel {
        gap: 10px;
    }

    .related-product-card {
        flex: 0 0 140px;
    }

    .related-product-image {
        height: 100px;
    }

    .related-product-info {
        padding: 8px;
    }

    .related-product-title {
        font-size: 12px;
        height: 31px;
    }

    .related-product-price {
        font-size: 14px;
    }
}

/* ============================================
   CAMPAIGN BADGE
   ============================================ */

.product-campaign-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff3e5 0%, #ffe4dc 100%);
    border: 1px solid #e79275;
    border-radius: 6px;
    padding: 10px 14px;
    margin: 8px 0 12px;
    animation: campaignBadgeIn 0.5s ease-out both;
}

.campaign-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #b9475e;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    flex-shrink: 0;
}

.campaign-badge-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #b9475e;
}

.campaign-badge-title {
    font-size: 12px;
    color: #7d91a3;
    margin-left: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

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

@media (max-width: 670px) {
    .campaign-badge-title {
        max-width: 100px;
        font-size: 11px;
    }
    .campaign-badge-text {
        font-size: 15px;
    }
}

