/* Jewelry-Focused Product Styling */

:root {
    --jewelry-gold: #FFD700;
    --jewelry-silver: #C0C0C0;
    --jewelry-platinum: #E5E4E2;
    --jewelry-copper: #B87333;
    --jewelry-accent: #8B4513;
    --jewelry-shadow: 0 4px 15px rgba(0,0,0,0.1);
    --jewelry-hover-shadow: 0 8px 25px rgba(0,0,0,0.15);
    --jewelry-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --gemstone-purple: #6f42c1;
    --gemstone-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --stone-charges-gradient: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

/* Enhanced Product Cards - Clean Layout */
.jewelry-product-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: var(--jewelry-shadow);
    height: 100%; /* Ensure consistent height */
}

.jewelry-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--jewelry-hover-shadow);
}

/* Special effect for jewelry-enhanced products */
.jewelry-enhanced {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 1px solid rgba(212, 175, 55, 0.2); /* Subtle gold border */
}

.jewelry-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
    z-index: 3;
}

/* Clean Card Layout - Image Focused */
.jewelry-product-card .img-box-h250,
.jewelry-product-card .product-img-style3 {
    height: 280px;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jewelry-product-card .img-box-h250 img,
.jewelry-product-card .product-img-style3 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 10px;
}

.jewelry-product-card:hover .img-box-h250 img,
.jewelry-product-card:hover .product-img-style3 img {
    transform: scale(1.05);
}

/* Minimal Card Body */
.jewelry-product-card .card-body {
    padding: 12px 15px 15px;
    background: #fff;
}

/* Clean Typography */
.jewelry-product-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jewelry-product-card .brand-title {
    display: none; /* Hide brand title for cleaner look */
}

/* Price Display */
.jewelry-product-card .card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
}

/* Metal Info - Compact Display */
.jewelry-info-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
    background-color: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.05);
}

.jewelry-info-compact .metal-info {
    font-weight: 600;
    color: #333;
}

.jewelry-info-compact .weight-info {
    font-weight: 500;
    color: #555;
}

/* Remove unnecessary elements for cleaner look */
.jewelry-product-card .rating-loading {
    display: none;
}

/* Availability badge styling */
.jewelry-product-card .availability-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #28a745;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Heart icon positioning - Improved styling */
.jewelry-product-card .product-icon-onhover {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
}

.jewelry-product-card .product-icon-onhover:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.jewelry-product-card .product-icon-onhover ion-icon {
    font-size: 18px;
    transition: all 0.3s ease;
}

.jewelry-product-card .product-icon-onhover:hover ion-icon {
    transform: scale(1.1);
}

/* Add to cart button styling */
.jewelry-product-card .add-in-cart-btn {
    background: #6f42c1;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.jewelry-product-card .add-in-cart-btn:hover {
    background: #5a2d91;
    transform: translateY(-1px);
}

/* Metal Type Badge */
.metal-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.metal-type-badge.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B4513;
}

.metal-type-badge.silver {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: #2C2C2C;
}

.metal-type-badge.platinum {
    background: linear-gradient(135deg, #E5E4E2, #D3D3D3);
    color: #2C2C2C;
}

/* Purity Indicator */
.purity-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #333;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Weight Display */
.weight-display {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

.weight-display i {
    color: var(--jewelry-accent);
}

/* Price Section Enhancement */
.jewelry-price-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid rgba(0,0,0,0.05);
}

.current-rate-display {
    font-size: 0.75rem;
    color: #28a745;
    font-weight: 600;
    margin-bottom: 5px;
}

.price-breakdown-toggle {
    font-size: 0.7rem;
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 5px;
}

.price-breakdown {
    display: none;
    margin-top: 8px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.7rem;
}

.price-breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
}

.price-breakdown-item:last-child {
    margin-bottom: 0;
    font-weight: 600;
    border-top: 1px solid #dee2e6;
    padding-top: 3px;
}

/* Grid View Enhancements */
.jewelry-grid-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.jewelry-grid-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.jewelry-grid-card .product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.jewelry-grid-card .product-image img {
    transition: transform 0.3s ease;
}

.jewelry-grid-card:hover .product-image img {
    transform: scale(1.05);
}

/* List View Enhancements */
.jewelry-list-card {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--jewelry-shadow);
    transition: all 0.3s ease;
}

.jewelry-list-card:hover {
    box-shadow: var(--jewelry-hover-shadow);
}

.jewelry-list-card .row {
    align-items: center;
}

.jewelry-list-card .product-image {
    border-radius: 8px;
    overflow: hidden;
}

.jewelry-specifications {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.spec-item {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: #495057;
    border: 1px solid #e9ecef;
}

.spec-item.highlight {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    font-weight: 600;
}

/* Quick View Enhancement */
.jewelry-quick-view {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.jewelry-quick-view:hover {
    background: #fff;
    transform: scale(1.1);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .jewelry-grid-card .card-body {
        padding: 10px;
    }

    .jewelry-specifications {
        gap: 6px;
    }

    .price-breakdown {
        font-size: 0.75rem;
    }
}

@media (max-width: 992px) {
    .jewelry-product-card {
        margin-bottom: 20px;
    }

    .jewelry-list-card .row {
        flex-direction: column;
    }

    .jewelry-list-card .product-image {
        margin-bottom: 15px;
    }

    .jewelry-price-section {
        padding: 10px;
    }

    .jewelry-price-section .row {
        flex-direction: column;
    }

    .jewelry-price-section .col-md-6 {
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .jewelry-product-card {
        margin-bottom: 15px;
        border-radius: 8px;
    }
    
    .jewelry-product-card .img-box-h250,
    .jewelry-product-card .product-img-style3 {
        height: 220px; /* Smaller height on mobile */
    }
    
    .jewelry-product-card .card-title {
        font-size: 0.85rem; /* Smaller font on mobile */
        margin-bottom: 3px;
    }
    
    .jewelry-product-card .card-price {
        font-size: 1rem;
    }
    
    .jewelry-info-compact {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .metal-type-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
        top: 8px;
        left: 8px;
    }

    .purity-indicator {
        font-size: 0.6rem;
        padding: 2px 5px;
        top: 8px;
        right: 8px;
    }
    
    .jewelry-product-card .availability-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .auto-priced-indicator {
        font-size: 0.55rem;
        padding: 1px 4px;
        top: 32px;
        left: 8px;
    }

    .jewelry-specifications {
        gap: 5px;
        margin-top: 8px;
    }

    .spec-item {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .weight-display {
        font-size: 0.75rem;
        margin-top: 3px;
    }

    .making-charges-display {
        font-size: 0.7rem;
        margin-top: 2px;
    }

    .wastage-info {
        font-size: 0.65rem;
        margin-top: 2px;
    }

    .jewelry-price-section {
        padding: 8px;
        margin-top: 8px;
    }

    .jewelry-price-section h6 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .price-breakdown {
        font-size: 0.7rem;
        padding: 6px;
    }

    .price-breakdown-toggle {
        font-size: 0.65rem;
        margin-top: 3px;
    }

    .current-rate-display {
        font-size: 0.7rem;
        margin-top: 8px;
        margin-bottom: 3px;
    }

    .jewelry-quick-view {
        width: 35px;
        height: 35px;
        bottom: 8px;
        right: 8px;
    }
}

@media (max-width: 576px) {
    .jewelry-product-card {
        margin-bottom: 12px;
    }

    .metal-type-badge {
        font-size: 0.6rem;
        padding: 2px 5px;
        border-radius: 10px;
    }

    .purity-indicator {
        font-size: 0.55rem;
        padding: 1px 4px;
        border-radius: 6px;
    }

    .jewelry-grid-card .card-body {
        padding: 8px;
    }

    .jewelry-specifications {
        flex-direction: column;
        gap: 3px;
    }

    .spec-item {
        font-size: 0.65rem;
        padding: 2px 5px;
        display: inline-block;
        margin-right: 5px;
        margin-bottom: 3px;
    }

    .jewelry-price-section {
        padding: 6px;
        margin-top: 6px;
    }

    .jewelry-price-section h6 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .jewelry-price-section .row .col-md-6 {
        padding: 0;
        margin-bottom: 8px;
    }

    .weight-display {
        font-size: 0.7rem;
    }

    .making-charges-display {
        font-size: 0.65rem;
    }

    .wastage-info {
        font-size: 0.6rem;
    }

    .price-breakdown {
        font-size: 0.65rem;
        padding: 5px;
        margin-top: 5px;
    }

    .price-breakdown-item {
        margin-bottom: 2px;
        flex-wrap: wrap;
    }

    .price-breakdown-toggle {
        font-size: 0.6rem;
        margin-top: 2px;
    }

    .current-rate-display {
        font-size: 0.65rem;
        margin-top: 6px;
        margin-bottom: 2px;
    }

    .jewelry-quick-view {
        width: 30px;
        height: 30px;
        bottom: 6px;
        right: 6px;
        font-size: 0.7rem;
    }

    /* Stack layout for very small screens */
    .jewelry-list-card .jewelry-specifications {
        margin-top: 5px;
    }

    .jewelry-list-card .spec-item {
        display: block;
        margin-bottom: 2px;
        margin-right: 0;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .jewelry-product-card:hover {
        transform: none;
    }

    .jewelry-quick-view {
        opacity: 1;
        background: rgba(255,255,255,0.95);
    }

    .price-breakdown-toggle {
        padding: 8px 12px;
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 4px;
        margin-top: 8px;
        display: inline-block;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .metal-type-badge,
    .purity-indicator,
    .auto-priced-indicator {
        border: 0.5px solid rgba(0,0,0,0.1);
    }
}

/* Enhanced Product Card Styling - No Special Prices */
.product-pricing-section {
    margin-top: 10px;
}

.product-pricing-section .card-price {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.jewelry-info-compact {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
    border-left: 3px solid var(--jewelry-gold);
}

.jewelry-info-compact small {
    font-weight: 500;
    color: #6c757d;
}

.jewelry-specs-grid {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    padding: 10px;
    border: 1px solid rgba(0,0,0,0.08);
}

.jewelry-specs-grid .spec-item {
    margin-bottom: 4px;
}

.jewelry-specs-grid .spec-item:last-child {
    margin-bottom: 0;
}

.jewelry-specs-grid .badge {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Enhanced Product Card Hover Effects */
.jewelry-product-card .product-pricing-section {
    transition: all 0.3s ease;
}

.jewelry-product-card:hover .product-pricing-section .card-price {
    color: var(--primary-color-onhover);
    transform: scale(1.02);
}

.jewelry-product-card:hover .jewelry-info-compact {
    background: rgba(255, 215, 0, 0.15);
    border-left-color: #ffc107;
}

.jewelry-product-card:hover .jewelry-specs-grid {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Classic Theme Enhancements */
.product-pricing-classic {
    margin-top: 8px;
}

.product-pricing-classic .card-price,
.product-pricing-classic #price {
    font-weight: 700;
    color: #333;
}

.jewelry-info-classic {
    background: rgba(255, 215, 0, 0.08);
    border-radius: 4px;
    padding: 4px 8px;
    border-left: 2px solid var(--jewelry-gold);
    margin-top: 6px;
}

.jewelry-info-classic small {
    font-weight: 500;
    color: #666;
}

.jewelry-info-classic i {
    color: var(--jewelry-gold);
}

/* Improved Card Layout */
.grid-view-card .card-body {
    padding: 15px;
}

.grid-view-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    color: #333;
}

.grid-view-card .card-text {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 10px;
}

/* List View Enhancements */
.list-view-card .jewelry-info-compact {
    margin-top: 8px;
    padding: 4px 8px;
}

.list-view-card .jewelry-specs-grid {
    padding: 8px;
    margin-top: 8px;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .product-pricing-section .card-price {
        font-size: 1.1rem;
    }

    .jewelry-info-compact {
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    .jewelry-specs-grid {
        padding: 8px;
    }

    .jewelry-specs-grid .spec-item {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .product-pricing-section .card-price {
        font-size: 1rem;
    }

    .jewelry-info-compact small {
        font-size: 0.75rem;
    }

    .jewelry-specs-grid .badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
}

/* Print styles */
@media print {
    .jewelry-product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .metal-type-badge,
    .purity-indicator,
    .auto-priced-indicator {
        background: #f0f0f0 !important;
        color: #000 !important;
    }

    .jewelry-quick-view,
    .price-breakdown-toggle {
        display: none;
    }
}

/* Animation for loading states */
.jewelry-loading {
    position: relative;
    overflow: hidden;
}

.jewelry-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Special indicators */
.auto-priced-indicator {
    position: absolute;
    top: 40px;
    left: 10px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 600;
    z-index: 10;
}

.making-charges-display {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 3px;
}

.wastage-info {
    font-size: 0.7rem;
    color: #dc3545;
    font-weight: 500;
}

/* Interactive Features Styling */
.jewelry-tooltip {
    position: fixed;
    z-index: 10000;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.jewelry-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.jewelry-tooltip .tooltip-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 10px 15px;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jewelry-tooltip .tooltip-close {
    cursor: pointer;
    font-size: 1.2rem;
    color: #6c757d;
    line-height: 1;
    padding: 0 5px;
}

.jewelry-tooltip .tooltip-close:hover {
    color: #dc3545;
}

.jewelry-tooltip .tooltip-content {
    padding: 15px;
}

.jewelry-tooltip .rate-info,
.jewelry-tooltip .rate-trend,
.jewelry-tooltip .rate-updated {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.jewelry-tooltip .rate-info:last-child,
.jewelry-tooltip .rate-trend:last-child,
.jewelry-tooltip .rate-updated:last-child {
    margin-bottom: 0;
}

.jewelry-tooltip .rate-value {
    font-weight: 600;
    color: #28a745;
}

.jewelry-tooltip .trend-value.positive {
    color: #28a745;
}

.jewelry-tooltip .trend-value.negative {
    color: #dc3545;
}

.jewelry-tooltip .purity-info p {
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.jewelry-tooltip .purity-info p:last-child {
    margin-bottom: 0;
}

/* Weight Converter Tooltip */
.weight-converter-tooltip {
    max-width: 350px;
}

.weight-converter-tooltip .converter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.weight-converter-tooltip .converter-section:last-child {
    margin-bottom: 0;
}

.weight-converter-tooltip label {
    font-weight: 500;
    margin-bottom: 0;
    min-width: 80px;
}

.weight-converter-tooltip .weight-input {
    width: 120px;
    padding: 5px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.85rem;
}

.weight-converter-tooltip .weight-input:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Making Charges Tooltip */
.jewelry-tooltip .making-info ul {
    margin: 8px 0;
    padding-left: 20px;
}

.jewelry-tooltip .making-info li {
    margin-bottom: 4px;
    line-height: 1.3;
}

/* Converter Button */
.converter-btn {
    background: none;
    border: none;
    color: var(--jewelry-accent);
    font-size: 0.8rem;
    margin-left: 5px;
    padding: 2px 4px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.converter-btn:hover {
    background: rgba(139, 69, 19, 0.1);
    color: #8B4513;
}

/* Refresh Button */
.refresh-rates {
    background: none;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.refresh-rates:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #495057;
}

.refresh-rates:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Rate Status Indicators */
.rate-available {
    color: #28a745 !important;
}

.rate-unavailable {
    color: #dc3545 !important;
}

/* Interactive Hover Effects */
.metal-type-badge:hover,
.metal-type-badge-classic:hover,
.purity-indicator:hover,
.purity-indicator-classic:hover {
    cursor: help;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.weight-display:hover,
.weight-display-classic:hover {
    cursor: help;
}

.making-charges-display:hover,
.making-charges-classic:hover {
    cursor: help;
    color: var(--jewelry-accent);
}

/* Tooltip Arrow */
.jewelry-tooltip::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ddd;
}

.jewelry-tooltip::after {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

/* Hide rating stars globally */
.rating-loading,
.kv-ltr-theme-svg-star,
input[name*="star"],
.star-rating,
.product-rating,
.rating-section,
.d-flex.flex-column input[id*="star"] {
    display: none !important;
}

/* ===== GEMSTONE SPECIFICATIONS STYLING ===== */

/* Gemstone Display Cards */
.gemstone-display,
.gemstone-display-classic {
    background: var(--gemstone-gradient);
    border-left: 4px solid var(--gemstone-purple);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gemstone-display:hover,
.gemstone-display-classic:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.15);
}

.gemstone-display::before,
.gemstone-display-classic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gemstone-purple), #8b5cf6, var(--gemstone-purple));
    opacity: 0.7;
}

/* Gemstone Badge Styling */
.badge-purple {
    background-color: var(--gemstone-purple) !important;
    color: white !important;
    font-weight: 500;
    padding: 0.4em 0.8em;
    border-radius: 6px;
    font-size: 0.85em;
    text-shadow: none;
    box-shadow: 0 2px 4px rgba(111, 66, 193, 0.2);
}

/* Stone Charges Display */
.stone-charges-display,
.stone-charges-classic {
    background: var(--stone-charges-gradient);
    border-left: 4px solid #f39c12;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stone-charges-display:hover,
.stone-charges-classic:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.15);
}

.stone-charges-display::before,
.stone-charges-classic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f39c12, #f1c40f, #f39c12);
    opacity: 0.8;
}

/* Gross Weight Display */
.gross-weight-display,
.gross-weight-display-classic {
    border-left: 4px solid #17a2b8;
    transition: all 0.3s ease;
}

.gross-weight-display:hover,
.gross-weight-display-classic:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.15);
}

/* Gemstone Icons */
.fas.fa-gem {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    filter: drop-shadow(0 1px 1px rgba(111, 66, 193, 0.3));
}

/* Weight Information Styling */
.gemstone-display small,
.gemstone-display-classic small {
    font-size: 0.8em;
    opacity: 0.8;
    font-weight: 400;
}

/* Responsive Gemstone Display */
@media (max-width: 768px) {
    .gemstone-display,
    .gemstone-display-classic,
    .stone-charges-display,
    .stone-charges-classic {
        margin-bottom: 1rem;
        padding: 0.75rem !important;
    }

    .badge-purple {
        font-size: 0.8em;
        padding: 0.3em 0.6em;
    }
}

/* Enhanced Jewelry Specifications Section */
.jewelry-price-section .gemstone-display {
    animation: fadeInUp 0.6s ease-out;
}

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