/**
 * OraTheme WooCommerce Styles - Refactored Version
 * Smart Health B2C E-commerce
 * 
 * @package OraTheme
 * @version 3.0.0
 */

/* ═══════════════════════════════════════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
    /* Brand Colors */
    --ora-primary: #e8380d;
    --ora-primary-dark: #c42a08;
    --ora-primary-light: #ff6b3d;
    --ora-secondary: #1a1a1a;
    --ora-secondary-light: #333333;
    --ora-text: #2d2d2d;
    --ora-text-light: #666666;
    --ora-text-muted: #999999;
    
    /* UI Colors */
    --ora-border: #e5e5e5;
    --ora-bg: #f8f8f8;
    --ora-white: #ffffff;
    --ora-success: #22c55e;
    --ora-warning: #f59e0b;
    --ora-danger: #ef4444;
    --ora-gold: #fbbf24;
    
    /* Spacing */
    --ora-space-xs: 4px;
    --ora-space-sm: 8px;
    --ora-space-md: 16px;
    --ora-space-lg: 24px;
    --ora-space-xl: 32px;
    
    /* Radius */
    --ora-radius-sm: 6px;
    --ora-radius: 10px;
    --ora-radius-lg: 16px;
    
    /* Shadows */
    --ora-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --ora-shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --ora-shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    
    /* Transitions */
    --ora-transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BASE RESET & LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.woocommerce-page {
    background: var(--ora-bg);
}

.ora-shop-wrapper,
.ora-single-product-wrapper {
    padding-bottom: 80px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════════════════════════════════════════ */
.ora-breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: var(--ora-text-light);
}
.ora-breadcrumb .woocommerce-breadcrumb a {
    color: var(--ora-text-light);
    text-decoration: none;
    transition: var(--ora-transition);
}
.ora-breadcrumb .woocommerce-breadcrumb a:hover {
    color: var(--ora-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHOP HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.ora-shop-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 32px 0 24px;
    flex-wrap: wrap;
    gap: 24px;
    border-bottom: 1px solid var(--ora-border);
    margin-bottom: 32px;
}

.ora-shop-title-area .page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--ora-secondary);
    margin: 0 0 8px;
}

.woocommerce-result-count {
    font-size: 14px;
    color: var(--ora-text-light);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT GRID
   ═══════════════════════════════════════════════════════════════════════════ */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT CARD - REFACTORED
   ═══════════════════════════════════════════════════════════════════════════ */
.ora-product-card {
    background: var(--ora-white);
    border-radius: var(--ora-radius-lg);
    overflow: hidden;
    box-shadow: var(--ora-shadow);
    transition: var(--ora-transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.ora-product-card:hover {
    box-shadow: var(--ora-shadow-lg);
    transform: translateY(-4px);
}

/* Image Container */
.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-image-link {
    display: block;
    position: relative;
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    overflow: hidden;
}

.product-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-thumbnail-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ora-product-card:hover .product-thumbnail-hover {
    opacity: 1;
}

.ora-product-card:hover .product-thumbnail:not(.product-thumbnail-hover) {
    transform: scale(1.05);
}

/* Badges */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-sale {
    background: var(--ora-primary);
    color: white;
}

.badge-new {
    background: var(--ora-success);
    color: white;
}

.badge-hot {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.badge-soldout {
    background: #6b7280;
    color: white;
}

/* Out of Stock Overlay */
.out-of-stock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.out-of-stock-overlay span {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stock Progress */
.stock-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
}

.stock-progress-bar {
    height: 100%;
    background: var(--ora-primary);
    transition: width 0.3s ease;
}

/* Quick Actions - Hover Reveal */
.quick-actions {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: var(--ora-transition);
}

.ora-product-card:hover .quick-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.quick-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ora-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ora-secondary);
    box-shadow: var(--ora-shadow-md);
    transition: var(--ora-transition);
}

.quick-action-btn:hover {
    background: var(--ora-primary);
    color: white;
    transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT INFO
   ═══════════════════════════════════════════════════════════════════════════ */
.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-sku {
    font-size: 11px;
    color: var(--ora-text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px;
}

.product-title a {
    color: var(--ora-secondary);
    text-decoration: none;
    transition: var(--ora-transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a:hover {
    color: var(--ora-primary);
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.stars {
    display: flex;
    gap: 1px;
}

.star {
    font-size: 12px;
}

.star.filled,
.star.half {
    color: var(--ora-gold);
}

.star.empty {
    color: var(--ora-border);
}

.rating-count {
    font-size: 11px;
    color: var(--ora-text-muted);
}

/* Price */
.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--ora-primary);
    margin-bottom: 8px;
}

.product-price del {
    color: var(--ora-text-muted);
    font-size: 13px;
    font-weight: 400;
    margin-right: 6px;
    text-decoration: line-through;
}

.product-price ins {
    text-decoration: none;
}

/* Stock Status */
.stock-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stock-status.stock-high .status-dot.in {
    background: var(--ora-success);
}

.stock-status.stock-low .status-dot {
    background: var(--ora-warning);
}

.stock-status.stock-low {
    color: var(--ora-warning);
}

.stock-status.stock-out .status-dot {
    background: var(--ora-danger);
}

.stock-status.stock-out {
    color: var(--ora-danger);
}

.stock-status.stock-backorder .status-dot {
    background: var(--ora-warning);
}

.stock-status.stock-backorder {
    color: var(--ora-warning);
}

/* Add to Cart Button */
.btn-add-cart,
.btn-view-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--ora-radius);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--ora-transition);
    border: none;
    cursor: pointer;
    margin-top: auto;
}

.btn-add-cart {
    background: var(--ora-primary);
    color: white;
}

.btn-add-cart:hover {
    background: var(--ora-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 56, 13, 0.3);
}

.btn-view-details {
    background: var(--ora-secondary);
    color: white;
}

.btn-view-details:hover {
    background: var(--ora-secondary-light);
    color: white;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE - REFACTORED
   ═══════════════════════════════════════════════════════════════════════════ */
.ora-single-product-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Product Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 40px 0;
}

@media (max-width: 1024px) {
    .product-detail-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px 0;
    }
}

/* Gallery Column */
.product-gallery-col {
    position: relative;
}

.ora-product-gallery {
    position: sticky;
    top: 24px;
}

@media (max-width: 768px) {
    .ora-product-gallery {
        position: static;
    }
}

/* Main Image */
.gallery-main-image {
    position: relative;
    border-radius: var(--ora-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.main-product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

/* Gallery Sale Badge */
.gallery-sale-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.gallery-sale-badge .badge {
    font-size: 14px;
    padding: 8px 14px;
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ora-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ora-secondary);
    box-shadow: var(--ora-shadow-md);
    transition: var(--ora-transition);
    opacity: 0;
}

.gallery-main-image:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: var(--ora-primary);
    color: white;
}

.gallery-prev {
    left: 16px;
}

.gallery-next {
    right: 16px;
}

/* Thumbnails */
.gallery-thumbnails {
    margin-top: 16px;
}

.thumbnails-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: thin;
}

.thumbnails-track::-webkit-scrollbar {
    height: 4px;
}

.thumbnails-track::-webkit-scrollbar-track {
    background: var(--ora-bg);
    border-radius: 2px;
}

.thumbnails-track::-webkit-scrollbar-thumb {
    background: var(--ora-border);
    border-radius: 2px;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--ora-radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--ora-transition);
    opacity: 0.6;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    border-color: var(--ora-primary);
    opacity: 1;
}

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

/* Product Features Grid */
.product-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 480px) {
    .product-features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--ora-bg);
    border-radius: var(--ora-radius);
    transition: var(--ora-transition);
}

.feature-item:hover {
    background: var(--ora-white);
    box-shadow: var(--ora-shadow);
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ora-white);
    border-radius: 10px;
    color: var(--ora-primary);
    box-shadow: var(--ora-shadow);
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-text strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--ora-secondary);
}

.feature-text span {
    font-size: 11px;
    color: var(--ora-text-light);
}

/* Summary Column */
.product-summary-col {
    padding-top: 8px;
}

/* Product Header */
.product-header-section {
    margin-bottom: 24px;
}

.product-sku-detail {
    display: inline-block;
    font-size: 12px;
    color: var(--ora-text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product_title {
    font-size: 28px;
    font-weight: 700;
    color: var(--ora-secondary);
    margin: 0 0 16px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .product_title {
        font-size: 24px;
    }
}

/* Rating Summary */
.product-rating-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

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

.rating-stars .star {
    font-size: 18px;
    color: var(--ora-gold);
}

.rating-stars .star.empty {
    color: var(--ora-border);
}

.rating-link {
    font-size: 14px;
    color: var(--ora-primary);
    text-decoration: none;
}

.rating-link:hover {
    text-decoration: underline;
}

.rating-avg {
    font-size: 13px;
    font-weight: 600;
    color: var(--ora-secondary);
    background: var(--ora-bg);
    padding: 4px 10px;
    border-radius: 20px;
}

/* Price Section */
.product-price-section {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--ora-bg);
    border-radius: var(--ora-radius);
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--ora-primary);
}

.original-price {
    font-size: 18px;
    color: var(--ora-text-muted);
    text-decoration: line-through;
}

.saving-badge {
    display: inline-block;
    background: var(--ora-success);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.single-product-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--ora-primary);
    display: block;
}

.single-product-price del {
    color: var(--ora-text-muted);
    font-size: 16px;
    font-weight: 400;
    margin-right: 8px;
}

.single-product-price ins {
    text-decoration: none;
}

/* Short Description */
.product-short-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ora-text);
    margin-bottom: 24px;
    padding: 16px 20px;
    border-left: 4px solid var(--ora-primary);
    background: var(--ora-bg);
    border-radius: 0 var(--ora-radius) var(--ora-radius) 0;
}

/* Stock Section */
.product-stock-section {
    margin-bottom: 24px;
    padding: 16px;
    background: var(--ora-bg);
    border-radius: var(--ora-radius);
}

.stock-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.stock-indicator.stock-high {
    color: var(--ora-success);
}

.stock-indicator.stock-low {
    color: var(--ora-warning);
}

.stock-indicator.stock-out {
    color: var(--ora-danger);
}

.stock-warning {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 13px;
    color: var(--ora-warning);
}

/* Variations */
.product-variations-section {
    margin-bottom: 24px;
}

.variation-row {
    margin-bottom: 16px;
}

.variation-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ora-secondary);
    margin-bottom: 8px;
}

.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variation-option {
    font-size: 13px;
    padding: 6px 14px;
    background: var(--ora-bg);
    border-radius: var(--ora-radius-sm);
    color: var(--ora-text);
}

/* Variations Table (WooCommerce Default) */
.variations {
    width: 100%;
    margin-bottom: 20px;
}

.variations td {
    padding: 8px 0;
    vertical-align: top;
}

.variations td.label {
    padding-right: 16px;
}

.variations label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ora-secondary);
}

.variations select {
    width: 100%;
    min-width: 200px;
    padding: 12px 40px 12px 14px;
    font-size: 14px;
    border: 1.5px solid var(--ora-border);
    border-radius: var(--ora-radius);
    background: var(--ora-white);
    color: var(--ora-text);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: var(--ora-transition);
}

.variations select:focus {
    outline: none;
    border-color: var(--ora-primary);
    box-shadow: 0 0 0 3px rgba(232, 56, 13, 0.1);
}

/* Cart Section */
.product-cart-section {
    margin-bottom: 24px;
}

/* Cart Form */
.cart {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Quantity Input */
.quantity {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--ora-border);
    border-radius: var(--ora-radius);
    overflow: hidden;
    background: var(--ora-white);
}

.quantity input[type="number"] {
    -moz-appearance: textfield;
    width: 60px;
    height: 48px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--ora-secondary);
    background: transparent;
}

.quantity input[type="number"]:focus {
    outline: none;
}

.quantity .qty-btn {
    width: 40px;
    height: 48px;
    border: none;
    background: var(--ora-bg);
    cursor: pointer;
    font-size: 18px;
    color: var(--ora-text-light);
    transition: var(--ora-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity .qty-btn:hover {
    background: var(--ora-primary);
    color: white;
}

/* Add to Cart Button */
.single_add_to_cart_button,
.ajax_add_to_cart {
    flex: 1;
    min-width: 200px;
    height: 52px;
    background: var(--ora-primary) !important;
    border: none !important;
    border-radius: var(--ora-radius) !important;
    color: white !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: var(--ora-transition) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.single_add_to_cart_button:hover,
.ajax_add_to_cart:hover {
    background: var(--ora-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 56, 13, 0.3);
}

.single_add_to_cart_button:disabled,
.ajax_add_to_cart:disabled {
    background: #9ca3af !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Product Meta */
.product-meta-section {
    padding: 16px 0;
    border-top: 1px solid var(--ora-border);
    border-bottom: 1px solid var(--ora-border);
    margin-bottom: 24px;
    font-size: 13px;
}

.product-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.product-meta-row:last-child {
    margin-bottom: 0;
}

.meta-label {
    font-weight: 600;
    color: var(--ora-text-light);
}

.product-meta-section a {
    color: var(--ora-primary);
    text-decoration: none;
}

.product-meta-section a:hover {
    text-decoration: underline;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ora-text-light);
    padding: 10px 14px;
    background: var(--ora-bg);
    border-radius: var(--ora-radius);
    flex: 1;
    min-width: 140px;
}

.trust-badge svg {
    color: var(--ora-success);
    flex-shrink: 0;
}

/* Social Share */
.social-share-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ora-text-light);
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ora-radius-sm);
    color: white;
    text-decoration: none;
    transition: var(--ora-transition);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--ora-shadow-md);
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-linkedin { background: #0a66c2; }
.share-email { background: var(--ora-text-light); }

/* WhatsApp Mobile */
.whatsapp-share-mobile {
    display: none;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .whatsapp-share-mobile {
        display: block;
    }
    
    .whatsapp-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 14px 20px;
        background: #25d366;
        color: white;
        border-radius: var(--ora-radius);
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
    }
    
    .whatsapp-btn:hover {
        background: #20bd5a;
        color: white;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT TABS
   ═══════════════════════════════════════════════════════════════════════════ */
.product-tabs-area {
    padding: 48px 0;
    background: var(--ora-bg);
    margin-top: 48px;
}

.ora-product-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--ora-border);
    background: var(--ora-white);
    border-radius: var(--ora-radius) var(--ora-radius) 0 0;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 16px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ora-text-light);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--ora-transition);
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--ora-primary);
    background: var(--ora-bg);
}

.tab-btn.active {
    color: var(--ora-primary);
    border-bottom-color: var(--ora-primary);
    background: var(--ora-bg);
}

/* Tab Panels */
.tab-panel {
    display: none;
    background: var(--ora-white);
    padding: 32px;
    border-radius: 0 0 var(--ora-radius) var(--ora-radius);
}

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

.tab-panel h2 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--ora-secondary);
}

.tab-panel p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--ora-text);
    margin-bottom: 16px;
}

.tab-panel p:last-child {
    margin-bottom: 0;
}

/* Additional Info Table */
.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    padding: 14px 18px;
    border: 1px solid var(--ora-border);
    font-size: 14px;
}

.woocommerce-product-attributes th {
    background: var(--ora-bg);
    font-weight: 600;
    color: var(--ora-secondary);
    width: 40%;
}

.woocommerce-product-attributes td {
    color: var(--ora-text);
}

/* ═══════════════════════════════════════════════════════════════════════════
   REVIEWS
   ═══════════════════════════════════════════════════════════════════════════ */
#reviews {
    scroll-margin-top: 80px;
}

.woocommerce-Reviews-title {
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 700;
    color: var(--ora-secondary);
}

.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    padding: 20px;
    background: var(--ora-bg);
    border-radius: var(--ora-radius);
    margin-bottom: 16px;
}

.comment_container {
    display: flex;
    gap: 16px;
}

.avatar-wrap {
    flex-shrink: 0;
}

.avatar-wrap img {
    border-radius: 50%;
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.comment-text {
    flex: 1;
}

.star-rating {
    color: var(--ora-gold);
    margin-bottom: 8px;
    font-size: 16px;
}

.star-rating::before {
    content: '★★★★★';
    opacity: 0.2;
}

.star-rating span {
    overflow: hidden;
}

.star-rating span::before {
    content: '★★★★★';
}

.meta {
    font-size: 13px;
    color: var(--ora-text-light);
    margin-bottom: 8px;
}

.meta strong {
    color: var(--ora-secondary);
    margin-right: 8px;
}

.description p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ora-text);
    margin: 0;
}

/* Review Form */
.comment-respond {
    margin-top: 32px;
    background: var(--ora-white);
    padding: 24px;
    border-radius: var(--ora-radius);
    border: 1px solid var(--ora-border);
}

.comment-reply-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ora-secondary);
    margin-bottom: 20px;
    display: block;
}

.comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ora-secondary);
    margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    border: 1.5px solid var(--ora-border);
    border-radius: var(--ora-radius);
    padding: 12px 14px;
    font-size: 14px;
    color: var(--ora-text);
    background: var(--ora-white);
    transition: var(--ora-transition);
    margin-bottom: 16px;
    box-sizing: border-box;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--ora-primary);
    box-shadow: 0 0 0 3px rgba(232, 56, 13, 0.1);
}

.comment-form textarea {
    min-height: 100px;
    resize: vertical;
}

.comment-form-rating {
    margin-bottom: 16px;
}

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

.stars a {
    font-size: 22px;
    color: var(--ora-border);
    text-decoration: none;
    transition: var(--ora-transition);
}

.stars a:hover,
.stars a.active {
    color: var(--ora-gold);
}

.form-submit .submit {
    background: var(--ora-primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: var(--ora-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--ora-transition);
}

.form-submit .submit:hover {
    background: var(--ora-primary-dark);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RELATED PRODUCTS
   ═══════════════════════════════════════════════════════════════════════════ */
.product-upsells-area {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ora-secondary);
    margin: 0 0 8px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--ora-text-light);
    margin: 0;
}

/* Related Products Grid */
.related-products-grid,
.up-sells-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .related-products-grid,
    .up-sells-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-products-grid,
    .up-sells-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════════════════════ */
.woocommerce-pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-pagination .page-numbers li .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border-radius: var(--ora-radius);
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid var(--ora-border);
    background: var(--ora-white);
    color: var(--ora-text);
    text-decoration: none;
    transition: var(--ora-transition);
}

.woocommerce-pagination .page-numbers li .page-numbers.current {
    background: var(--ora-primary);
    border-color: var(--ora-primary);
    color: white;
}

.woocommerce-pagination .page-numbers li .page-numbers:hover:not(.current) {
    background: var(--ora-secondary);
    border-color: var(--ora-secondary);
    color: white;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NOTICES
   ═══════════════════════════════════════════════════════════════════════════ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: var(--ora-radius);
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce-message {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.woocommerce-info {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1e40af;
}

.woocommerce-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    list-style: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   WOOCOMMERCE DEFAULT OVERRIDES
   ═══════════════════════════════════════════════════════════════════════════ */
.woocommerce div.product div.images img {
    display: block;
    width: 100%;
}

.woocommerce div.product .product_title {
    clear: both;
}

.woocommerce div.product p.price {
    color: var(--ora-primary);
    font-size: 28px;
}

.woocommerce div.product p.price ins {
    text-decoration: none;
    font-weight: 700;
}

.woocommerce div.product p.price del {
    color: var(--ora-text-muted);
    font-weight: 400;
}

.woocommerce div.product .stock {
    color: var(--ora-success);
    font-weight: 600;
}

.woocommerce div.product .stock.out-of-stock {
    color: var(--ora-danger);
}

/* Reset WooCommerce default styles that might conflict */
.woocommerce ul.products li.product {
    text-align: left;
}

.woocommerce ul.products li.product .price {
    color: var(--ora-primary);
    font-size: 18px;
    font-weight: 700;
}

.woocommerce ul.products li.product .price del {
    color: var(--ora-text-muted);
    font-size: 13px;
}

.woocommerce ul.products li.product a.button {
    background: var(--ora-primary);
    color: white;
    border-radius: var(--ora-radius);
    padding: 12px 20px;
    font-weight: 600;
}

.woocommerce ul.products li.product a.button:hover {
    background: var(--ora-primary-dark);
}
