/* ============================================
   PRODUCT DETAILS PAGE STYLES
   ============================================ */

/* ==========================================
   1. PRODUCT DETAILS CONTAINER
   ========================================== */

.rts-shop-details-area {
    padding: 40px 0;
    background: #f3f4f6;
}

.shopdetails-style-1-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 24px 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

/* Reduce global double padding */
.rts-section-gap {
    padding: 40px 0;
}

/* ==========================================
   2. IMAGE GALLERY & ZOOM
   ========================================== */

.product-thumb-area {
    position: relative;
}

.details-product-area {
    padding: 16px 16px 4px;
}

.thumb-wrapper {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.thumb-wrapper.hide {
    display: none;
}

.product-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    cursor: crosshair;
}

/* The <img> is always hidden — zoom div uses background-image only */
.product-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;              /* always invisible */
    pointer-events: none;    /* don't block mouse events */
}

/* At rest — show full image normally */
.product-thumb.zoom {
    background-repeat: no-repeat;
    background-size: cover;           /* ← full image, not zoomed */
    background-position: center;
}

/* Only zoom in when hovering */
.product-thumb.zoom:hover {
    background-size: 200%;            /* ← zoom activates on hover */
    cursor: zoom-in;
}

/* Hide the <img> tag always — background does the work */
.product-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
}

/* Thumbnail Filter Group */
.product-thumb-filter-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.thumb-filter {
    width: 80px;
    height: 80px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.thumb-filter:hover {
    border-color: #08437b;
    transform: translateY(-2px);
}

.thumb-filter.active {
    border-color: #08437b;
    box-shadow: 0 4px 8px rgba(98, 157, 35, 0.2);
}

/* ==========================================
   3. PRODUCT INFORMATION
   ========================================== */

.contents {
    padding-left: 30px;
}

.product-status {
    margin-bottom: 10px;
}

.product-category {
    display: inline-block;
    background: #f3f4f6;
    color: #08437b;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Rating Stars */
.rating-stars-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

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

.rating-star i {
    color: #fbbf24;
    font-size: 14px;
}

.rating-stars-group span {
    color: #6b7280;
    font-size: 14px;
}

/* Product Title */
.product-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Product Description */
.contents p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ==========================================
   4. PRICE & STOCK
   ========================================== */

.product-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: #dc2626;
}

.old-price {
    font-size: 20px;
    color: #9ca3af;
    text-decoration: line-through;
}

.save-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

/* Stock Status */
.stock-status {
    margin-bottom: 20px;
}

.stock-status span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.stock-status .in-stock {
    background: #d1fae5;
    color: #065f46;
}

.stock-status .in-stock i {
    color: #10b981;
}

.stock-status .out-of-stock {
    background: #fee2e2;
    color: #991b1b;
}

.stock-status .out-of-stock i {
    color: #ef4444;
}

/* ==========================================
   5. QUANTITY / WEIGHT & ADD TO CART
   ========================================== */

.product-bottom-action {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

/* rts-btn inside product-bottom-action */
.product-bottom-action .rts-btn {
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-bottom-action .rts-btn.with-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.product-bottom-action .rts-btn .btn-text {
    line-height: 1;
}

.product-bottom-action .rts-btn .arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 14px;
    transition: background 0.3s;
}

.product-bottom-action .rts-btn:hover .arrow-icon {
    background: rgba(255, 255, 255, 0.35);
}

.product-bottom-action .rts-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 67, 123, 0.25);
}

.product-bottom-action .rts-btn[disabled],
.product-bottom-action .rts-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

.product-bottom-action .rts-btn[disabled]:hover,
.product-bottom-action .rts-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Wishlist button sizing */
.product-bottom-action .wishlist-toggle-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    font-size: 18px;
    padding: 0;
}

/* Quantity controls for non-weight products */
.product-bottom-action .cart-quantity-controls {
    width: auto !important;
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    flex-shrink: 0;
}

.product-bottom-action .cart-qty-btn {
    width: 40px;
    height: 46px;
    background: #f9fafb;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    font-size: 13px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.product-bottom-action .cart-qty-btn:hover {
    background: #08437b;
    color: #ffffff;
}

.product-bottom-action .cart-qty-value {
    min-width: 44px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    padding: 0 8px;
}

/* Weight purchase block (for weight-based products) */

.weight-purchase-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.weight-selector-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.weight-step-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    font-size: 13px;
}

.weight-step-btn:hover {
    background: #08437b;
    border-color: #08437b;
    color: #ffffff;
}

.weight-input-wrapper {
    position: relative;
    flex-shrink: 0;
}

.weight-input-wrapper input {
    width: 88px;
    height: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    padding: 0 28px 0 8px;
    color: #111827;
    -moz-appearance: textfield;
}

.weight-input-wrapper input::-webkit-outer-spin-button,
.weight-input-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.weight-input-wrapper input:focus {
    border-color: #08437b;
}

.weight-unit-label {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    pointer-events: none;
}

.weight-quick-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.weight-quick-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    padding: 7px 14px;
    border-radius: 99px;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #374151;
    white-space: nowrap;
    line-height: 1;
}

.weight-quick-btn:hover {
    border-color: #08437b;
    color: #08437b;
    background: #eff6ff;
    transform: translateY(-1px);
}

.weight-quick-btn.active {
    background: #08437b;
    border-color: #08437b;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(8, 67, 123, 0.25);
}

.weight-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 10px 14px;
    margin-top: 8px;
}

.weight-price-label {
    font-size: 13px;
    color: #6b7280;
}

.weight-total-price {
    font-size: 20px;
    font-weight: 800;
    color: #08437b;
}

.weight-min-note {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.weight-min-note i {
    color: #08437b;
}

/* ==========================================
   6. PRODUCT META
   ========================================== */

.product-uniques {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 0 10px;
    border-top: 1px solid #e5e7eb;
    border-bottom: none;
    margin-bottom: 10px;
}

.product-unique {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
}

.product-unique span:first-child {
    font-weight: 600;
    color: #374151;
    min-width: 100px;
}

/* ==========================================
   7. SHARE OPTIONS
   ========================================== */

.share-option-shop-details {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.single-share-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #6b7280;
    font-size: 14px;
}

.single-share-option:hover {
    background: #f3f4f6;
    color: #08437b;
}

.single-share-option .icon {
    width: 35px;
    height: 35px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.single-share-option:hover .icon {
    background: #08437b;
    color: #ffffff;
}

/* Modern Share Button */
.share-button-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #374151;
    font-size: 15px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.share-button-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(98, 157, 35, 0.1), transparent);
    transition: left 0.5s;
}

.share-button-main:hover::before {
    left: 100%;
}

.share-button-main:hover {
    border-color: #08437b;
    color: #08437b;
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(98, 157, 35, 0.15);
}

.share-button-main i {
    font-size: 18px;
    transition: transform 0.3s;
}

.share-button-main:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* ==========================================
   8. PRODUCT TABS
   ========================================== */

.product-description-tab-shop {
    margin-top: 22px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    overflow: hidden;
}

.product-description-tab-shop .nav-tabs {
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 0 20px;
    gap: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.product-description-tab-shop .nav-tabs::-webkit-scrollbar {
    display: none;
}

.product-description-tab-shop .nav-item {
    flex-shrink: 0;
}

.product-description-tab-shop .nav-tabs .nav-link {
    border: none !important;
    border-bottom: 3px solid transparent !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #6b7280;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 20px;
    margin-bottom: -2px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.product-description-tab-shop .nav-tabs .nav-link:hover {
    color: #08437b;
    border-bottom-color: #cbd5e1 !important;
    background: transparent !important;
}

.product-description-tab-shop .nav-tabs .nav-link.active {
    color: #08437b !important;
    border-bottom-color: #08437b !important;
    background: transparent !important;
    font-weight: 700;
}

.product-description-tab-shop .nav-link .badge {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 99px;
    vertical-align: middle;
    margin-left: 4px;
}

.product-description-tab-shop .tab-content {
    padding: 0;
}

.single-tab-content-shop-details,
.reviews-section {
    padding: 20px 24px 24px;
}

.single-tab-content-shop-details p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.single-tab-content-shop-details p.disc {
    color: #4b5563;
    margin-bottom: 0;
}

.single-tab-content-shop-details .table {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.single-tab-content-shop-details .table td {
    padding: 12px 16px;
    border: none;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #374151;
}

.single-tab-content-shop-details .table tr:last-child td {
    border-bottom: none;
}

.single-tab-content-shop-details .table td:first-child {
    background: #f9fafb;
    font-weight: 600;
    color: #111827;
    width: 35%;
}

/* ==========================================
   9. SIDEBAR STICKY
   ========================================== */

.rts-sticky-column-item {
    position: sticky;
}

.theiaStickySidebar {
    position: relative;
}

.shop-sight-sticky-sidebar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.shop-sight-sticky-sidebar .title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e7eb;
}

/* ==========================================
   10. OFFERS SECTION
   ========================================== */

.single-offer-area {
    display: flex;
    gap: 12px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 6px;
    margin-bottom: 12px;
    border-left: 3px solid #08437b;
    transition: all 0.3s ease;
}

.single-offer-area:hover {
    background: #f0fdf4;
    transform: translateX(5px);
}

.single-offer-area .icon {
    flex-shrink: 0;
}

.single-offer-area .icon img {
    width: 40px;
    height: 40px;
}

.single-offer-area .details p {
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
    margin: 0;
}

/* No Offers */
.no-offers-state {
    text-align: center;
    padding: 20px 10px;
    color: #9ca3af;
}

.no-offers-state i {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
}

.no-offers-state p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.no-offers-state a {
    color: #08437b;
    font-weight: 600;
}

/* ==========================================
   11. DELIVERY INFO
   ========================================== */

.delivery-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #f0fdf4;
}

.info-item i {
    font-size: 24px;
    color: #08437b;
    flex-shrink: 0;
    margin-top: 3px;
}

.info-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 3px;
}

.info-item p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* ==========================================
   12. SIDEBAR RELATED PRODUCTS
   ========================================== */

.sidebar-product-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-product-card:hover {
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.sidebar-product-card .product-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-product-card .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-product-card .product-info {
    flex: 1;
}

.sidebar-product-card h6 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.4;
}

.sidebar-product-card .price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-product-card .price .current {
    font-size: 16px;
    font-weight: 700;
    color: #dc2626;
}

.sidebar-product-card .price .old {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

/* ==========================================
   13. RELATED PRODUCTS GRID
   ========================================== */

.rts-grocery-feature-area {
    padding: 60px 0;
}

.title-area-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.title-left {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
}

/* Shop Product Card (from shop.css) */
.shop-product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.shop-product-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-image-link {
    display: block;
    position: relative;
    padding-bottom: 100%;
}

.product-main-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.details-product-area {
    padding: 12px;
}

.quick-action-btn.active {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}

.product-info {
    padding: 15px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: #dc2626;
}

.product-add-to-cart {
    width: unset !important;
    padding: 10px;
    background: #08437b;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-add-to-cart:hover {
    background: #4f7d1c;
    transform: translateY(-2px);
}

.product-add-to-cart.disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

/* ==========================================
   14. RESPONSIVE
   ========================================== */

/* Tablet — below 991px */
@media (max-width: 991px) {
    .contents {
        padding-left: 0;
        margin-top: 24px;
    }

    .product-title {
        font-size: 22px;
    }

    .rts-sticky-column-item {
        position: relative;
        top: 0;
    }

    .shopdetails-style-1-wrapper {
        padding: 20px;
    }
}

/* Mobile — below 767px */
@media (max-width: 767px) {

    .product-bottom-action .cart-qty-btn {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .product-bottom-action .cart-qty-value {
        min-width: 25px;
    }

    .product-bottom-action .wishlist-toggle-btn {
        height: 35px;
        min-width: 35px;
    }

    .navigator-breadcrumb-wrapper {
        padding-left: 10px;
    }

    /* Layout */
    .rts-shop-details-area {
        padding: 20px 5px;
    }

    .shopdetails-style-1-wrapper {
        border-radius: 0;
        padding: 16px;
        box-shadow: none;
    }

    /* Product info */
    .product-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

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

    /* Rating + Share row: stack on very small, keep flex on mobile */
    .d-flex.align-items-center.justify-content-between {
        flex-wrap: wrap;
        gap: 8px;
    }

    .share-button-main {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 8px;
    }

    .share-button-main span {
        display: none; /* hide "Share" text, keep icon only on mobile */
    }

    /* Stock badge */
    .stock-status span {
        font-size: 13px;
        padding: 6px 12px;
    }

    /* Weight block */
    .weight-purchase-block {
        gap: 12px;
    }

    .weight-selector-row {
        justify-content: flex-start;
        gap: 8px;
    }

    .weight-step-btn {
        width: 38px;
        height: 38px;
    }

    .weight-input-wrapper input {
        width: 80px;
        height: 38px;
        font-size: 15px;
    }

    .weight-quick-btns {
        gap: 6px;
    }

    .weight-quick-btn {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 48px;
    }

    .weight-total-row {
        padding: 8px 12px;
    }

    .weight-price-label {
        font-size: 12px;
    }

    .weight-total-price {
        font-size: 17px;
    }

    /* Cart action row — full width button, fixed wishlist */
    .cart-action-row {
        gap: 10px;
    }

    .cart-action-row .rts-btn {
        flex: 1;
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
    }

    .wishlist-icon-btn {
        width: 46px;
        height: 46px;
        min-width: 46px;
        flex-shrink: 0;
    }

    /* Product meta */
    .product-uniques {
        padding: 14px 0 8px;
        gap: 8px;
    }

    .product-unique {
        font-size: 13px;
    }

    /* Thumbnail strip */
    .thumb-filter {
        width: 56px;
        height: 56px;
    }

    .product-thumb-filter-group {
        gap: 6px;
        margin-top: 10px;
    }

    /* Tabs */
    .product-description-tab-shop {
        margin-top: 16px;
        border-radius: 8px;
    }

    .product-description-tab-shop .nav-tabs {
        padding: 0 10px;
    }

    .product-description-tab-shop .nav-tabs .nav-link {
        padding: 12px 12px;
        font-size: 13px;
    }

    .single-tab-content-shop-details,
    .reviews-section {
        padding: 16px;
    }

    /* Review summary: stack vertically */
    .review-summary-bar {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .review-bars {
        width: 100%;
        min-width: unset;
    }

    /* Related products grid */
    .title-area-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 0 10px;
    }

    .title-left {
        font-size: 20px;
    }

    /* Share modal */
    .share-modal {
        width: 96%;
        border-radius: 16px;
        max-height: 95vh;
        overflow-y: auto;
    }

    .share-modal-header {
        padding: 20px 20px 14px;
    }

    .share-modal-header h3 {
        font-size: 18px;
    }

    .share-modal-body {
        padding: 0 16px 20px;
    }

    .share-options-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .share-option {
        padding: 12px 6px;
    }

    .share-option-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        border-radius: 12px;
    }

    .share-option-label {
        font-size: 10px;
    }

    .share-product-preview {
        padding: 14px;
        margin-bottom: 18px;
    }

    .share-product-image {
        width: 70px;
        height: 70px;
    }

    .share-product-info h4 {
        font-size: 14px;
    }

    .share-product-price {
        font-size: 18px;
    }

    /* Breadcrumb */
    .navigator-breadcrumb-wrapper {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .rts-product-details-section .details-product-area .product-price {
        font-size: 22px;
    }

    .rts-product-details-section .details-product-area {
        margin-bottom: 0 !important;
    }

    .product-description-tab-shop {
        margin-top: 5px !important;
    }

    .theiaStickySidebar {
        margin-top: 10px !important;
    }

    .title-area-between {
        flex-direction: row !important;
        gap: 12px !important;
    }

    .title-area-between .title-left {
        font-size: 17px !important;
    }

    .title-area-between .rts-btn.btn-primary {
        padding: 8px 11px;
        font-size: 12px;
    }

    .product-category {
        padding: 3px 6px;
    }
}

/* Small mobile — below 480px */
@media (max-width: 480px) {

    .product-title {
        font-size: 18px;
    }

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

    /* Share button: icon only */
    .share-button-main {
        padding: 7px 10px;
        gap: 0;
    }

    /* Weight pills wrap neatly */
    .weight-quick-btns {
        gap: 5px;
    }

    .weight-quick-btn {
        padding: 5px 10px;
        font-size: 11px;
        min-width: 44px;
    }

    /* Cart action row stays horizontal but compact */
    .cart-action-row .rts-btn .btn-text {
        font-size: 13px;
    }

    .cart-action-row .rts-btn .arrow-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    /* Related products: 2 per row */
    .shop-product-card .product-info {
        padding: 10px;
    }

    .product-name {
        font-size: 13px;
    }

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

    /* Tabs scroll nicely */
    .product-description-tab-shop .nav-tabs .nav-link {
        padding: 10px 10px;
        font-size: 12px;
    }

    /* Offers sidebar full width */
    .shop-sight-sticky-sidebar {
        border-radius: 8px;
        padding: 14px;
    }
}

/* ==========================================
   15. ANIMATIONS
   ========================================== */

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

.product-details-popup-wrapper {
    animation: fadeInUp 0.4s ease;
}

/* ==========================================
   16. UTILITIES
   ========================================== */

.mt--10 {
    margin-top: -10px;
}

.mt--20 {
    margin-top: 20px;
}

.mb--15 {
    margin-bottom: 15px;
}

.mb--20 {
    margin-bottom: 20px;
}

.ml--20 {
    margin-left: 20px;
}

.d-block {
    display: block;
}

.text-center {
    text-align: center;
}

.bglight-1 {
    background: #f8f9fa;
}

/* Breadcrumb separator tweak */
.section-seperator hr.section-seperator {
    border-color: #e5e7eb;
    opacity: 0.7;
}

/* ==========================================
   17. LOADING STATE
   ========================================== */

.product-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* ==========================================
   18. MODERN SHARE MODAL
   ========================================== */

.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.share-modal {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 24px;
    padding: 0;
    max-width: 480px;
    width: 92%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

/* Modern gradient border effect */
.share-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #25D366, #E1306C, #0088cc, #000000);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.share-modal-header {
    padding: 28px 28px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-modal-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: #111827;
    margin: 0;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #111827, #374151);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.share-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.share-modal-close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #ef4444;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
}

.share-modal-close:hover::before {
    width: 100%;
    height: 100%;
}

.share-modal-close:hover {
    transform: rotate(90deg);
}

.share-modal-close i {
    font-size: 18px;
    color: #6b7280;
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.share-modal-close:hover i {
    color: #ffffff;
}

.share-modal-body {
    padding: 0 28px 28px;
}

/* Modern Product Preview Card */
.share-product-preview {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    border-radius: 16px;
    margin-bottom: 28px;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.share-product-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(98, 157, 35, 0.03), rgba(98, 157, 35, 0.08));
    opacity: 0;
    transition: opacity 0.3s;
}

.share-product-preview:hover::before {
    opacity: 1;
}

.share-product-image {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.share-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.share-product-preview:hover .share-product-image img {
    transform: scale(1.1);
}

.share-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.share-product-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.share-product-price {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #08437b, #7cb929);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Share Options Grid */
.share-options-section {
    margin-bottom: 24px;
}

.share-section-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

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

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 8px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    background: #ffffff;
    border: 2px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.share-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.05));
    opacity: 0;
    transition: opacity 0.3s;
}

.share-option:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.share-option:hover::before {
    opacity: 1;
}

.share-option:active {
    transform: translateY(-2px);
}

.share-option-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-option:hover .share-option-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* gradients */
.share-option-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.share-option-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.share-option-icon.telegram {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.share-option-icon.facebook {
    background: linear-gradient(135deg, #1877f2, #0f5ab7);
}

.share-option-icon.x {
    background: linear-gradient(135deg, #000000, #1a1a1a);
}

.share-option-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    transition: color 0.3s;
}

.share-option:hover .share-option-label {
    color: #111827;
}

/* Copy Link Section */
.share-link-section {
    background: linear-gradient(135deg, #f9fafb, #ffffff);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
}

.share-link-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
}

.share-link-copy {
    display: flex;
    gap: 10px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    transition: all 0.3s;
}

.share-link-copy:focus-within {
    border-color: #08437b;
    box-shadow: 0 0 0 4px rgba(98, 157, 35, 0.1);
}

.share-link-copy input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: #374151;
    outline: none;
    font-weight: 500;
}

.share-copy-btn {
    background: linear-gradient(135deg, #08437b, #7cb929);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(98, 157, 35, 0.3);
    position: relative;
    overflow: hidden;
}

.share-copy-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.5s;
    transform: translate(-50%, -50%);
}

.share-copy-btn:hover::before {
    width: 300px;
    height: 300px;
}

.share-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(98, 157, 35, 0.4);
}

.share-copy-btn:active {
    transform: translateY(0);
}

.share-copy-btn.copied {
    background: linear-gradient(135deg, #10b981, #059669);
    animation: successPulse 0.4s ease;
}

.share-copy-btn i {
    position: relative;
    z-index: 1;
}

/* Success animation */
@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.1); }
}

/* ==========================================
   19. REVIEWS SECTION
   ========================================== */

.reviews-section {
    padding: 20px 24px 24px;
}

.review-summary-bar {
    display: flex;
    gap: 32px;
    align-items: center;
    background: #f9fafb;
    border-radius: 16px;
    padding: 24px;
    margin: 0 0 24px;
    flex-wrap: wrap;
    border: none;
    border-bottom: 1px solid #e5e7eb;
}

.review-avg-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 90px;
}

.avg-number {
    font-size: 48px;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}

.avg-stars i {
    color: #fbbf24;
    font-size: 18px;
}

.avg-label {
    font-size: 13px;
    color: #6b7280;
}

.review-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar-label {
    font-size: 13px;
    color: #374151;
    width: 40px;
    flex-shrink: 0;
}

.bar-label i {
    color: #fbbf24;
    font-size: 11px;
}

.bar-track {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 99px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 99px;
    transition: width 0.6s ease;
}

.bar-count {
    font-size: 13px;
    color: #6b7280;
    width: 20px;
    text-align: right;
}

/* Write Review Form */
.write-review-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin: 0 0 24px;
    border-left: none;
    border-right: none;
    border-top: none;
}

.review-form-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-form-title i {
    color: #08437b;
}

.star-input-group {
    display: flex;
    gap: 8px;
    cursor: pointer;
}

.star-pick {
    font-size: 28px;
    color: #d1d5db;
    transition: color 0.15s, transform 0.15s;
}

.star-pick.hovered,
.star-pick.selected {
    color: #fbbf24;
    transform: scale(1.2);
}

.btn-submit-review {
    background: linear-gradient(135deg, #08437b, #0f6cbd);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-submit-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 67, 123, 0.3);
}

/* Review Notices */
.review-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.review-notice i {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.review-notice strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.review-notice p {
    font-size: 13px;
    margin: 0;
    color: #6b7280;
}

.review-notice a {
    color: #08437b;
    font-weight: 600;
}

.review-notice.reviewed {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.review-notice.reviewed i {
    color: #10b981;
}

.review-notice.not-purchased {
    background: #fefce8;
    border: 1px solid #fef08a;
}

.review-notice.not-purchased i {
    color: #f59e0b;
}

.review-notice.login-required {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.review-notice.login-required i {
    color: #3b82f6;
}

/* Review Cards */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.review-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    padding: 20px 0;
    margin-bottom: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid #f3f4f6;
    transition: box-shadow 0.2s, background 0.2s;
}

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

.review-card:hover {
    box-shadow: none;
    background: #fafafa;
}

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

.reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 700;
    font-size: 14px;
    color: #111827;
    display: block;
}

.review-date {
    font-size: 12px;
    color: #9ca3af;
}

.review-stars i {
    color: #fbbf24;
    font-size: 13px;
}

.review-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.review-body {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 10px;
}

.verified-badge {
    font-size: 12px;
    color: #10b981;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.verified-badge i {
    font-size: 13px;
}

.no-reviews-state {
    text-align: center;
    padding: 48px 20px;
    color: #9ca3af;
}

.no-reviews-state i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

/* ✅ Add to Cart + Wishlist in one row */
.cart-action-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.cart-action-row .rts-btn {
    flex: 1;
}

/* Wishlist icon button — square pill */
.wishlist-icon-btn {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #6b7280;
    font-size: 18px;
    flex-shrink: 0;
    padding: 0;
}

.wishlist-icon-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fff5f5;
    transform: translateY(-1px);
}

.wishlist-icon-btn.active,
.wishlist-icon-btn.wishlisted {
    border-color: #ef4444;
    background: #ef4444;
    color: #ffffff;
}

/* Review action buttons */
.btn-review-edit,
.btn-review-delete {
    background: none;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    color: #64748b;
}

.btn-review-edit:hover  { background: #f0f9ff; color: #08437b; border-color: #08437b; }
.btn-review-delete:hover { background: #fff5f5; color: #ef4444; border-color: #ef4444; }

/* Edit modal overlay */
.review-edit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-edit-modal {
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    width: 100%;
    max-width: 500px;
    margin: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

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

.review-edit-header h5 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

#closeReviewEdit {
    background: none;
    border: none;
    font-size: 18px;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

#closeReviewEdit:hover { color: #ef4444; }
/* ===== WRITE A REVIEW CARD ===== */
.write-review-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.review-form-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-form-title i {
    color: #08437b;
    font-size: 16px;
}

/* Stars */
.star-input-group {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.star-input-group .star-pick {
    font-size: 28px;
    color: #f59e0b;
    cursor: pointer;
    transition: transform 0.15s ease, color 0.15s;
}

.star-input-group .star-pick:hover,
.star-input-group .star-pick.hovered,
.star-input-group .star-pick.selected {
    transform: scale(1.15);
    color: #f59e0b;
}

.star-input-group .star-pick.fa-regular {
    color: #d1d5db;
}

/* Inputs */
.write-review-card .form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    color: #334155;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.write-review-card .form-control:focus {
    border-color: #08437b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(8, 67, 123, 0.08);
    outline: none;
}

.write-review-card .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

/* Submit button */
.btn-submit-review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(8, 67, 123, 0.2);
}

.btn-submit-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 67, 123, 0.3);
}

.btn-submit-review:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Review notices (login/already reviewed/not purchased) */
.review-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 12px;
    margin-top: 16px;
}

.review-notice i {
    font-size: 22px;
    margin-top: 2px;
    flex-shrink: 0;
}

.review-notice.reviewed {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #065f46;
}

.review-notice.reviewed i { color: #10b981; }

.review-notice.not-purchased {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #78350f;
}

.review-notice.not-purchased i { color: #f59e0b; }

.review-notice.login-required {
    background: rgba(8, 67, 123, 0.06);
    border: 1px solid rgba(8, 67, 123, 0.15);
    color: #1e3a5f;
}

.review-notice.login-required i { color: #08437b; }

.review-notice a {
    color: #08437b;
    font-weight: 600;
    text-decoration: underline;
}
.btn-cancel-review {
    padding: 12px 20px;
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-cancel-review:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* ===== CUSTOM DELETE MODAL ===== */
.delete-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.delete-modal {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
    animation: deleteModalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes deleteModalIn {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

.delete-modal-icon {
    width: 70px;
    height: 70px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.delete-modal-icon i {
    font-size: 28px;
    color: #ef4444;
}

.delete-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.delete-modal-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 28px;
    line-height: 1.6;
}

.delete-modal-actions {
    display: flex;
    gap: 12px;
}

.btn-delete-cancel {
    flex: 1;
    padding: 12px;
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-delete-cancel:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.btn-delete-confirm {
    flex: 1;
    padding: 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.btn-delete-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

.btn-delete-confirm:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================
   SHARE OPTIONS SECTION — MOBILE RESPONSIVE
   ========================================== */

/* ── Base (desktop) ── */
.share-options-section {
    margin-bottom: 20px;
}

.share-section-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    display: block;
}

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

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 6px;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    background: #ffffff;
    border: 1.5px solid #f3f4f6;
    transition: all 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    overflow: hidden;
}

.share-option:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(0,0,0,0.10);
}

.share-option:active {
    transform: scale(0.93);
    transition: transform 0.1s;
}

.share-option-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}

.share-option:hover .share-option-icon {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}

.share-option-label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    white-space: nowrap;
    transition: color 0.2s;
}

.share-option:hover .share-option-label {
    color: #1f2937;
}

/* ── Tablet (≤ 768px) ── */
@media (max-width: 768px) {

    /* Modal becomes a bottom sheet */
    .share-modal-overlay {
        align-items: flex-end !important;
    }

    .share-modal {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 22px 22px 0 0 !important;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 50px !important;
        animation: shareSheetSlideUp 0.32s cubic-bezier(0.34, 1.2, 0.64, 1) !important;
    }

    @keyframes shareSheetSlideUp {
        from { transform: translateY(100%); opacity: 0.5; }
        to   { transform: translateY(0);   opacity: 1; }
    }

    /* Drag handle */
    .share-modal::before {
        content: '';
        display: block;
        width: 40px;
        height: 4px;
        background: #d1d5db;
        border-radius: 999px;
        margin: 12px auto 0;
    }

    .share-modal-header {
        padding: 14px 16px 10px;
    }

    .share-modal-header h3 {
        font-size: 17px;
    }

    .share-modal-body {
        padding: 0 14px 16px;
    }

    /* Product preview strip */
    .share-product-preview {
        padding: 10px 12px;
        gap: 10px;
        margin-bottom: 14px;
        border-radius: 12px;
    }

    .share-product-image {
        width: 50px;
        height: 50px;
        border-radius: 8px;
    }

    .share-product-info h4 {
        font-size: 13px;
        -webkit-line-clamp: 1;
    }

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

    /* Section label */
    .share-section-label {
        font-size: 10px;
        margin-bottom: 10px;
        letter-spacing: 0.8px;
    }

    /* ── Redesigned grid: 5 icons in a single compact row ── */
    .share-options-section {
        margin-bottom: 14px;
    }

    .share-options-grid {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 6px;
    }

    .share-option {
        flex: 1;
        min-width: 0;
        gap: 5px;
        padding: 10px 4px 8px;
        border-radius: 14px;
        border-width: 1.5px;
        background: #fafafa;
    }

    /* Larger tap-target circular icons */
    .share-option-icon {
        width: 46px;
        height: 46px;
        font-size: 21px;
        border-radius: 50%;   /* full circle on mobile */
        box-shadow: 0 3px 10px rgba(0,0,0,0.14);
    }

    .share-option:hover .share-option-icon,
    .share-option:active .share-option-icon {
        transform: scale(1.08);
    }

    .share-option-label {
        font-size: 9.5px;
        font-weight: 700;
        color: #4b5563;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 100%;
        text-align: center;
    }

    /* Copy link area */
    .share-link-section {
        border-radius: 12px;
        padding: 10px 12px;
    }

    .share-link-label {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .share-link-copy {
        padding: 8px 10px;
        border-radius: 10px;
        gap: 8px;
        border-width: 1.5px;
    }

    .share-link-copy input {
        font-size: 11px;
        min-width: 0;
    }

    .share-copy-btn {
        padding: 7px 12px;
        font-size: 12px;
        border-radius: 8px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .container {
        padding: 0 !important;
        margin: 0 !important;
    }

    .row {
        padding: 0 !important;
        margin: 5px !important;
    }

    .row>* {
        padding: 0 !important;
        margin: 0 !important;
    }

    .rts-product-details-section.product-details-popup-section .product-details-popup {
        width: 100% !important;
    }

    .thumb-wrapper {
        border: none !important;
    }
}

/* ── Small phones (≤ 400px) ── */
@media (max-width: 400px) {

    .share-options-grid {
        gap: 4px;
    }

    .share-option {
        padding: 8px 2px 6px;
        border-radius: 12px;
    }

    .share-option-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .share-option-label {
        font-size: 8.5px;
    }

    .share-product-preview {
        gap: 8px;
    }

    .share-product-image {
        width: 44px;
        height: 44px;
    }

    .share-copy-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
}
.product-main-image.product-placeholder-image {
    object-fit: contain;
    background: #f9fafb;
    padding: 24px;
    border-radius: 10px;
    border: 1px dashed #e5e7eb;
}

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

/* ==========================================
   20. REVIEWS SECTION — MOBILE RESPONSIVE
   ========================================== */

@media (max-width: 767px) {

    /* Fix review card header layout on mobile */
    .review-card-header {
        display: flex;             /* ← back to flex, not grid */
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
    }

    /* Avatar stays fixed size */
    .reviewer-avatar {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    /* Name + date block takes available space */
    .reviewer-info {
        flex: 1;
        min-width: 0;
    }

    /* Stars sit inline next to avatar+name */
    .review-stars {
        display: flex;
        align-items: center;
        gap: 2px;
        margin-left: auto !important;
        flex-shrink: 0;
    }

    .review-stars i {
        font-size: 13px;
    }

    /* Edit/delete buttons drop to a new line below */
    .review-actions {
        width: 100%;
        display: flex;
        gap: 6px;
        margin-top: 2px;
    }


    /* ── Summary Bar ── */
    .review-summary-bar {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .review-avg-score {
        flex-direction: row;
        gap: 12px;
        min-width: unset;
        align-items: center;
    }

    .avg-number {
        font-size: 36px;
    }

    .avg-stars i {
        font-size: 15px;
    }

    .avg-label {
        font-size: 12px;
    }

    .review-bars {
        width: 100%;
        min-width: unset;
    }

    .rating-bar-row {
        gap: 8px;
    }

    .bar-label {
        font-size: 12px;
        width: 32px;
    }

    /* ── Write Review Card ── */
    .write-review-card {
        padding: 16px;
        border-radius: 12px;
    }

    .review-form-title {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .star-input-group {
        gap: 10px;
    }

    .star-input-group .star-pick {
        font-size: 30px;     /* big enough for finger tap */
    }

    .btn-submit-review {
        width: 100%;
        padding: 13px;
        font-size: 14px;
        justify-content: center;
    }

    .btn-cancel-review {
        width: 100%;
        padding: 11px;
        font-size: 14px;
        text-align: center;
    }

    /* ── Review Notices ── */
    .review-notice {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 10px;
    }

    .review-notice i {
        font-size: 18px;
    }

    .review-notice strong {
        font-size: 14px;
    }

    .review-notice p {
        font-size: 12px;
    }

    /* ── Review Cards ── */
    .review-card {
        padding: 14px 0;
    }

    .review-card-header {
        gap: 10px;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    .reviewer-avatar {
        width: 36px;
        height: 36px;
    }

    .reviewer-name {
        font-size: 13px;
    }

    .review-date {
        font-size: 11px;
    }

    .review-stars {
        margin-left: 0 !important;
        margin-top: 4px;
    }

    .review-stars i {
        font-size: 12px;
    }

    /* Stack reviewer info + stars vertically */
    .review-card-header {
        display: grid;
        grid-template-columns: 36px 1fr auto;
        align-items: start;
        gap: 10px;
    }

    .review-actions {
        grid-column: 3;
        grid-row: 1;
        display: flex;
        gap: 6px;
    }

    .btn-review-edit,
    .btn-review-delete {
        padding: 4px 8px;
        font-size: 12px;
    }

    .review-body {
        font-size: 13px;
        line-height: 1.6;
    }

    /* ── No Reviews State ── */
    .no-reviews-state {
        padding: 32px 16px;
    }

    .no-reviews-state i {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .no-reviews-state p {
        font-size: 13px;
    }

    /* ── Edit Review Modal ── */
    .review-edit-modal {
        padding: 20px 16px;
        margin: 12px;
        border-radius: 14px;
        max-width: calc(100vw - 24px);
    }

    .review-edit-header h5 {
        font-size: 15px;
    }

    #editStarInput .star-pick {
        font-size: 28px;
    }

    /* ── Delete Modal ── */
    .delete-modal {
        padding: 28px 20px;
        border-radius: 16px;
        max-width: calc(100vw - 32px);
    }

    .delete-modal-icon {
        width: 56px;
        height: 56px;
    }

    .delete-modal-icon i {
        font-size: 22px;
    }

    .delete-modal-title {
        font-size: 17px;
    }

    .delete-modal-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .delete-modal-actions {
        gap: 10px;
        flex-direction: column;  /* stack buttons vertically on small screens */
    }

    .btn-delete-cancel,
    .btn-delete-confirm {
        padding: 12px;
        font-size: 14px;
    }
}

/* ── Extra small phones ── */
@media (max-width: 400px) {

    .avg-number {
        font-size: 30px;
    }

    .star-input-group .star-pick {
        font-size: 26px;
    }

    .review-card-header {
        grid-template-columns: 32px 1fr auto;
    }

    .reviewer-avatar {
        width: 32px;
        height: 32px;
    }

    .delete-modal-actions {
        flex-direction: column;
    }
}
