/* =================================================
   Product Page Styles - product-page.css
   Extracted from product.php inline <style> blocks
   ================================================= */

/* ===================================
   MODERN PRODUCT PAGE - OVERRIDE ALL
   =================================== */

/* Prevent horizontal overflow on mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
    }

    .product-page {
        overflow-x: hidden !important;
        padding: 20px 0 40px 0 !important;
    }

    section.product-page .container,
    .product-page > .container,
    .product-page .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    section.product-page .container,
    .product-page > .container,
    .product-page .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .main-product-image {
        padding: 8px !important;
    }
}

@media (max-width: 375px) {
    section.product-page .container,
    .product-page > .container,
    .product-page .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .main-product-image {
        padding: 5px !important;
    }
}

.product-page {
    background: #fff !important;
    padding: 30px 0 60px !important;
}

.product-breadcrumb {
    font-size: 13px !important;
    color: #666 !important;
    margin-bottom: 25px !important;
}

@media (max-width: 768px) {
    .product-breadcrumb {
        font-size: 13px !important;
    }
}

.product-breadcrumb a {
    color: #0066cc !important;
    text-decoration: none !important;
}

/* Main Grid */
.product-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important;
    gap: 50px !important;
    margin-bottom: 60px !important;
    align-items: start !important;
}

@media (max-width: 968px) {
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}

/* ========== LEFT: IMAGES ========== */
.product-images-section {
    max-width: 650px !important;
    align-self: start !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .product-images-section {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .main-product-image {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        padding: 10px !important;
        margin: 0 !important;
    }

    .main-product-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        aspect-ratio: auto !important;
        display: block !important;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 5px !important;
        margin: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .thumbnail {
        padding: 5px !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .thumbnail img {
        max-width: 100% !important;
        height: auto !important;
    }
}

.main-product-image {
    background: #f5f5f5 !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    position: relative !important;
    cursor: pointer !important;
    min-height: auto !important;
}

.main-product-image img {
    max-width: 100% !important;
    height: auto !important;
    display: inline-block !important;
    cursor: zoom-in !important;
    transition: transform 0.3s !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
}

.main-product-image img:hover {
    transform: scale(1.05) !important;
}

.thumbnail-gallery {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
}

.thumbnail {
    border: 2px solid #ddd !important;
    border-radius: 6px !important;
    padding: 10px !important;
    background: #f9f9f9 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #0066cc !important;
    background: #fff !important;
}

.thumbnail img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    aspect-ratio: 1 / 1 !important;
}

/* ========== VIDEO THUMBNAILS BELOW IMAGES ========== */
.video-thumbnails-section {
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e0e0e0 !important;
}

.video-thumbnails-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 12px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.video-icon {
    color: #dc3545 !important;
    font-size: 12px !important;
}

.video-thumbnails-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)) !important;
    gap: 8px !important;
}

.video-thumb {
    position: relative !important;
    display: block !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    aspect-ratio: 16/9 !important;
    background: #000 !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.video-thumb:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.video-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.video-play-overlay {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 28px !important;
    height: 28px !important;
    background: rgba(220, 53, 69, 0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 10px !important;
    padding-left: 2px !important;
    opacity: 0.9 !important;
    transition: opacity 0.2s, transform 0.2s !important;
}

.video-thumb:hover .video-play-overlay {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.video-type-label {
    position: absolute !important;
    bottom: 4px !important;
    left: 4px !important;
    background: rgba(0,0,0,0.75) !important;
    color: white !important;
    font-size: 9px !important;
    padding: 2px 5px !important;
    border-radius: 3px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}

/* ========== VIDEO LIGHTBOX MODAL ========== */
.video-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.92) !important;
    z-index: 99999 !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.video-modal.active {
    display: flex !important;
}

.video-modal-content {
    position: relative !important;
    width: 100% !important;
    max-width: 900px !important;
    background: #000 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
}

.video-modal-close {
    position: absolute !important;
    top: -45px !important;
    right: 0 !important;
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 32px !important;
    cursor: pointer !important;
    padding: 5px 10px !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s !important;
}

.video-modal-close:hover {
    opacity: 1 !important;
}

.video-modal-player {
    position: relative !important;
    width: 100% !important;
    padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
    height: 0 !important;
}

.video-modal-player iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

.video-modal-info {
    padding: 15px 20px !important;
    background: #111 !important;
    color: white !important;
}

.video-modal-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 0 5px 0 !important;
    color: white !important;
}

.video-modal-channel {
    font-size: 13px !important;
    color: #aaa !important;
    margin: 0 !important;
}

/* ========== RIGHT: INFO (STICKY) ========== */
.product-info-section {
    position: sticky !important;
    top: 120px !important;
    height: fit-content !important;
}

@media (max-width: 768px) {
    .product-info-section {
        position: relative !important;
        top: auto !important;
    }
}

.product-page .product-title,
.product-page h1.product-title,
.product-info-section .product-title,
.product-info-section h1.product-title,
h1.product-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.3 !important;
    /* Override theme.css truncation - show full title on product page */
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    text-overflow: initial !important;
}

.shop-brand-link {
    display: inline-block !important;
    color: #0066cc !important;
    font-size: 14px !important;
    margin-bottom: 15px !important;
    text-decoration: none !important;
}

.shop-brand-link:hover {
    text-decoration: underline !important;
}

.admin-edit-btn {
    display: inline-block !important;
    background: #ff6b6b !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-bottom: 15px !important;
    border: 2px solid #ff5252 !important;
    transition: all 0.2s !important;
}

.admin-edit-btn:hover {
    background: #ff5252 !important;
    border-color: #ff3838 !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3) !important;
    transform: translateY(-2px) !important;
}

.admin-edit-link {
    margin-top: 15px !important;
    padding-top: 15px !important;
    border-top: 1px dashed #ddd !important;
}

.product-rating {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.stars {
    color: #ffa500 !important;
    font-size: 20px !important;
    letter-spacing: 2px !important;
}

.review-count {
    color: #0066cc !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.product-short-desc {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #333 !important;
    margin-bottom: 25px !important;
    padding-bottom: 25px !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.price-section {
    margin-bottom: 25px !important;
}

.current-price {
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #27ae60 !important;
    margin-bottom: 10px !important;
}

.price-details {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 8px !important;
}

.original-price {
    font-size: 20px !important;
    color: #999 !important;
    text-decoration: line-through !important;
}

.savings-badge {
    background: #27ae60 !important;
    color: white !important;
    padding: 5px 14px !important;
    border-radius: 5px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.stock-sku-row {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    margin-bottom: 25px !important;
    padding-bottom: 25px !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

@media (max-width: 768px) {
    .stock-sku-row {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
}

.stock-badge {
    font-weight: 700 !important;
    font-size: 15px !important;
}

.stock-badge.in-stock {
    color: #27ae60 !important;
}

.stock-badge.out-of-stock {
    color: #e74c3c !important;
}

.free-shipping-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.free-shipping-badge svg {
    flex-shrink: 0;
}

.product-info-codes {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: center !important;
}

.product-sku,
.product-code {
    font-size: 14px !important;
    color: #666 !important;
    font-weight: 500 !important;
    padding: 4px 12px !important;
    background: #f8f9fa !important;
    border-radius: 4px !important;
    border: 1px solid #e0e0e0 !important;
    word-break: break-all !important;
    max-width: 100% !important;
}

.qty-cart-row {
    display: flex !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
}

.qty-selector {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.qty-selector label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

.qty-input-group {
    display: flex !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}

.qty-input-group button {
    width: 40px !important;
    height: 45px !important;
    border: none !important;
    background: #f0f0f0 !important;
    cursor: pointer !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #333 !important;
    transition: background 0.2s !important;
}

.qty-input-group button:hover {
    background: #e0e0e0 !important;
}

.qty-input-group input {
    width: 60px !important;
    height: 45px !important;
    border: none !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.add-to-cart-btn {
    flex: 1 !important;
    background: #0066cc !important;
    color: white !important;
    border: none !important;
    padding: 14px 35px !important;
    border-radius: 4px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.add-to-cart-btn:hover {
    background: #0052a3 !important;
}

.product-actions {
    display: flex !important;
    gap: 25px !important;
    margin-bottom: 25px !important;
}

.action-link {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 15px !important;
    color: #0066cc !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.action-link:hover {
    text-decoration: underline !important;
}

.ffl-notice {
    background: #fff3cd !important;
    border: 1px solid #ffc107 !important;
    border-radius: 6px !important;
    padding: 18px !important;
    margin-bottom: 20px !important;
}

.ffl-notice h4 {
    color: #856404 !important;
    margin: 0 0 10px 0 !important;
    font-size: 17px !important;
}

.ffl-notice p {
    color: #856404 !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* ========== FULL WIDTH: DETAILS (CLEAN DESIGN) ========== */
.product-details-section {
    margin-top: 50px !important;
    background: #f8f9fa !important;
    padding: 40px 0 !important;
    border-top: 1px solid #e0e0e0 !important;
}

.product-details-section .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

@media (max-width: 768px) {
    .product-details-section {
        padding: 30px 0 !important;
    }
}

.details-tabs {
    display: flex !important;
    gap: 0 !important;
    border-bottom: 2px solid #ddd !important;
    margin-bottom: 30px !important;
}

.details-tab {
    background: transparent !important;
    border: none !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #666 !important;
    cursor: pointer !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.2s !important;
    position: relative !important;
    bottom: -2px !important;
}

.details-tab:hover {
    color: #0066cc !important;
}

.details-tab.active {
    color: #0066cc !important;
    border-bottom-color: #0066cc !important;
}

/* Mobile Tabs - Prevent Overlapping */
@media (max-width: 768px) {
    .details-tabs {
        flex-wrap: wrap !important;
        gap: 5px !important;
        border-bottom: none !important;
        background: #f5f5f5 !important;
        padding: 10px !important;
        border-radius: 8px !important;
        margin-bottom: 20px !important;
    }

    .details-tab {
        padding: 10px 12px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
        background: #fff !important;
        border: 1px solid #ddd !important;
        border-bottom: 1px solid #ddd !important;
        bottom: 0 !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    .details-tab.active {
        background: #0066cc !important;
        color: #fff !important;
        border-color: #0066cc !important;
    }

    .details-content {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .details-tabs {
        padding: 8px !important;
        gap: 4px !important;
    }

    .details-tab {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
}

.details-content {
    background: #f8f9fa !important;
    padding: 10px 35px 35px 35px !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

.tab-panel {
    display: none !important;
}

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

.features-section {
    padding-top: 2px !important;
}

.features-section h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #e0e0e0 !important;
}

.features-text {
    margin-top: 0 !important;
}

.features-section p,
.features-section ul,
.features-section ol,
.features-section li,
.features-section div {
    font-size: 15px !important;
    line-height: 1.8 !important;
    margin-bottom: 15px !important;
    color: #333 !important;
}

.features-text > *:first-child {
    margin-top: 0 !important;
}

.features-section ul,
.features-section ol {
    padding-left: 1.2em !important;
    margin-left: 0 !important;
}

.features-section li {
    margin-bottom: 8px !important;
}

.features-section strong,
.features-section b {
    color: #1a1a1a !important;
}

.specs-section h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #e0e0e0 !important;
}

.specs-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: white !important;
}

.specs-table tr {
    border-bottom: 1px solid #e8e8e8 !important;
}

.specs-table tr:last-child {
    border-bottom: none !important;
}

.specs-table tr:hover {
    background: #f8f9fa !important;
}

.specs-table th {
    text-align: left !important;
    padding: 15px 20px 15px 0 !important;
    font-weight: 700 !important;
    color: #666 !important;
    width: 250px !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.specs-table td {
    padding: 15px 20px !important;
    color: #1a1a1a !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

/* ========== MAP PRICING BADGE ========== */
.map-badge {
    display: inline-block !important;
    background: #856404 !important;
    color: white !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    margin-left: 10px !important;
    vertical-align: middle !important;
    cursor: help !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.map-badge:hover {
    background: #975a05 !important;
}

/* ========== SALE BADGE ========== */
.sale-badge {
    display: inline-block !important;
    background: #dc3545 !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    margin-right: 10px !important;
    vertical-align: middle !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    animation: sale-pulse 2s ease-in-out infinite !important;
}

@keyframes sale-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.current-price.map-enforced {
    color: #856404 !important;
}

.map-info-link {
    font-size: 13px !important;
    color: #666 !important;
    text-decoration: none !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
    font-weight: 400 !important;
    cursor: pointer !important;
}

.map-info-link:hover {
    color: #0066cc !important;
    text-decoration: underline !important;
}

/* ========== MAP RESTRICTED PRICE DISPLAY ========== */
.current-price.map-restricted {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #dc2626 !important;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    border: 2px solid #fecaca !important;
    display: inline-block !important;
}

.map-action-hint {
    margin-top: 12px !important;
}

.map-action-hint a {
    color: #dc2626 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 16px !important;
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.map-action-hint a:hover {
    background: #fee2e2 !important;
    transform: translateY(-2px) !important;
}

.email-price-link::before {
    content: "✉️";
}

.call-price-link::before {
    content: "📞";
}

/* ========== FINANCING LINE ========== */
.financing-line {
    margin-top: 12px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    line-height: 1.4 !important;
}

.financing-catchphrase {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    display: inline !important;
}

.credova-prequalify {
    font-size: 14px !important;
    color: #0066cc !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    display: inline !important;
}

.credova-prequalify:hover {
    text-decoration: underline !important;
    color: #004499 !important;
}

/* ========== NOTIFY WHEN IN STOCK ========== */
.notify-stock-section {
    background: #f8f9fa !important;
    border: 2px solid #e74c3c !important;
    border-radius: 8px !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
}

.out-of-stock-msg {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
    margin-bottom: 20px !important;
}

.oos-icon {
    font-size: 32px !important;
    line-height: 1 !important;
}

.out-of-stock-msg p {
    color: #333 !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.notify-form {
    margin-bottom: 12px !important;
}

.notify-input-group {
    display: flex !important;
    gap: 10px !important;
}

.notify-input-group input[type="email"] {
    flex: 1 !important;
    padding: 14px 16px !important;
    border: 2px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    transition: border-color 0.2s !important;
}

.notify-input-group input[type="email"]:focus {
    outline: none !important;
    border-color: #0066cc !important;
}

.notify-btn {
    background: #e74c3c !important;
    color: white !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    white-space: nowrap !important;
}

.notify-btn:hover {
    background: #c0392b !important;
}

.notify-btn:disabled {
    background: #999 !important;
    cursor: not-allowed !important;
}

.notify-disclaimer {
    font-size: 12px !important;
    color: #888 !important;
    margin: 0 !important;
}

.notify-success {
    background: #d4edda !important;
    border-color: #28a745 !important;
}

.notify-success .out-of-stock-msg p {
    color: #155724 !important;
}

@media (max-width: 500px) {
    .notify-input-group {
        flex-direction: column !important;
    }

    .notify-btn {
        width: 100% !important;
    }
}

/* Product Share Buttons */
.product-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    margin: 15px 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6B7280;
}

.share-btn:hover {
    background: #E5E7EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.share-btn.share-email:hover {
    background: #3B82F6;
    border-color: #3B82F6;
    color: white;
}

.share-btn.share-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: white;
}

.share-btn.share-twitter:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.share-btn.share-copy:hover {
    background: #10B981;
    border-color: #10B981;
    color: white;
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .product-share {
        flex-wrap: wrap;
    }

    .share-btn {
        width: 36px;
        height: 36px;
    }
}

/* ========== VIDEOS SECTION ========== */
.videos-section h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 10px !important;
}

.videos-intro {
    color: #666 !important;
    font-size: 15px !important;
    margin-bottom: 25px !important;
    padding-bottom: 20px !important;
    border-bottom: 2px solid #e0e0e0 !important;
}

.videos-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)) !important;
    gap: 25px !important;
}

.video-item {
    background: #f8f9fa !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid #e0e0e0 !important;
    transition: all 0.3s !important;
}

.video-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
    transform: translateY(-2px) !important;
}

.video-item.video-primary {
    grid-column: span 1 !important;
}

.video-embed-container {
    position: relative !important;
    padding-bottom: 56.25% !important; /* 16:9 aspect ratio */
    height: 0 !important;
    overflow: hidden !important;
    background: #000 !important;
}

.video-embed-container iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.video-meta {
    padding: 15px !important;
}

.video-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.video-channel {
    font-size: 13px !important;
    color: #666 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.video-type-badge {
    background: #e9ecef !important;
    color: #495057 !important;
    font-size: 11px !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    font-weight: 500 !important;
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ========== REVIEWS SECTION ========== */
.reviews-section h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 25px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #e0e0e0 !important;
}

.review-summary {
    display: flex !important;
    gap: 40px !important;
    padding: 25px !important;
    background: white !important;
    border-radius: 8px !important;
    margin-bottom: 25px !important;
    border: 1px solid #e0e0e0 !important;
}

.summary-left {
    text-align: center !important;
    min-width: 120px !important;
}

.big-rating {
    font-size: 48px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1 !important;
}

.summary-stars {
    color: #ffa500 !important;
    font-size: 20px !important;
    letter-spacing: 2px !important;
    margin: 8px 0 !important;
}

.total-reviews {
    font-size: 14px !important;
    color: #666 !important;
}

.summary-right {
    flex: 1 !important;
}

.rating-bar {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
}

.bar-label {
    width: 50px !important;
    font-size: 13px !important;
    color: #666 !important;
}

.bar-track {
    flex: 1 !important;
    height: 12px !important;
    background: #e8e8e8 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}

.bar-fill {
    height: 100% !important;
    background: #ffa500 !important;
    border-radius: 6px !important;
    transition: width 0.3s !important;
}

.bar-count {
    width: 25px !important;
    font-size: 13px !important;
    color: #666 !important;
    text-align: right !important;
}

.write-review-cta {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.write-review-btn {
    background: #0066cc !important;
    color: white !important;
    border: none !important;
    padding: 14px 40px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
}

.write-review-btn:hover {
    background: #0052a3 !important;
}

/* Review Form */
.review-form-container {
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
}

.review-form-container h3 {
    margin: 0 0 20px 0 !important;
    font-size: 20px !important;
    color: #1a1a1a !important;
}

.form-row {
    margin-bottom: 20px !important;
}

.form-row label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-family: inherit !important;
    transition: border-color 0.2s !important;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none !important;
    border-color: #0066cc !important;
}

.form-row small {
    display: block !important;
    margin-top: 5px !important;
    font-size: 12px !important;
    color: #888 !important;
}

.form-row-half {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}

.char-count {
    text-align: right !important;
}

/* Star Rating Input */
.star-rating-input {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
}

.star-rating-input input {
    display: none !important;
}

.star-rating-input label {
    font-size: 32px !important;
    color: #ddd !important;
    cursor: pointer !important;
    padding: 0 3px !important;
    margin: 0 !important;
    transition: color 0.2s !important;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: #ffa500 !important;
}

.form-actions {
    display: flex !important;
    gap: 15px !important;
    justify-content: flex-end !important;
    margin-top: 25px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e8e8e8 !important;
}

.btn-cancel {
    background: #f0f0f0 !important;
    color: #333 !important;
    border: none !important;
    padding: 12px 25px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.btn-cancel:hover {
    background: #e0e0e0 !important;
}

.btn-submit {
    background: #27ae60 !important;
    color: white !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.btn-submit:hover {
    background: #219a52 !important;
}

.image-upload {
    padding: 10px !important;
    border: 2px dashed #ddd !important;
    border-radius: 6px !important;
    background: #fafafa !important;
}

/* Reviews List */
.reviews-list {
    margin-top: 30px !important;
}

.no-reviews {
    text-align: center !important;
    padding: 40px !important;
    background: white !important;
    border-radius: 8px !important;
    color: #666 !important;
}

.review-item {
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

.review-item.featured {
    border-color: #ffa500 !important;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.15) !important;
}

.featured-badge {
    position: absolute !important;
    top: -10px !important;
    right: 20px !important;
    background: #ffa500 !important;
    color: white !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
}

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

.review-stars {
    color: #ffa500 !important;
    font-size: 18px !important;
    letter-spacing: 1px !important;
}

.verified-badge {
    background: #d4edda !important;
    color: #155724 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
}

.review-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 0 12px 0 !important;
}

.review-text {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #333 !important;
    margin: 0 0 15px 0 !important;
}

.review-pros-cons {
    background: #f8f9fa !important;
    padding: 15px !important;
    border-radius: 6px !important;
    margin-bottom: 15px !important;
}

.review-pros-cons .pros {
    color: #27ae60 !important;
    margin-bottom: 8px !important;
}

.review-pros-cons .cons {
    color: #e74c3c !important;
}

.review-images {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
}

.review-images img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    border: 1px solid #ddd !important;
    transition: transform 0.2s !important;
}

.review-images img:hover {
    transform: scale(1.05) !important;
}

.review-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 15px !important;
    border-top: 1px solid #e8e8e8 !important;
    font-size: 13px !important;
}

.reviewer-info {
    color: #666 !important;
}

.helpful-vote {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.helpful-vote span {
    color: #666 !important;
}

.vote-btn {
    background: #f0f0f0 !important;
    border: 1px solid #ddd !important;
    padding: 5px 12px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.vote-btn:hover {
    background: #e0e0e0 !important;
}

.vote-btn.vote-yes:hover {
    background: #d4edda !important;
    border-color: #27ae60 !important;
}

.vote-btn.vote-no:hover {
    background: #f8d7da !important;
    border-color: #e74c3c !important;
}

.avg-rating {
    font-size: 14px !important;
    color: #666 !important;
    margin-left: 5px !important;
}

@media (max-width: 768px) {
    .review-summary {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .summary-left {
        border-bottom: 1px solid #e8e8e8 !important;
        padding-bottom: 20px !important;
    }

    .form-row-half {
        grid-template-columns: 1fr !important;
    }

    .review-footer {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
    }
}

/* Zoom Indicator */
.zoom-indicator {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.main-product-image:hover .zoom-indicator {
    opacity: 1;
    transform: scale(1.1);
}

/* Image Lightbox */
.image-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    cursor: zoom-out;
    animation: fadeIn 0.3s;
}

.image-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    animation: scaleIn 0.3s;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #0066cc;
    border: none;
    color: white;
    font-size: 28px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: all 0.3s;
    font-weight: 400;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
    z-index: 10001;
}

.lightbox-close:hover {
    background: #0052a3;
    transform: scale(1.1);
}

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

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .zoom-indicator {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* Email for Price - Main CTA Button (same blue as Add to Cart) */
.email-price-cta,
.call-price-cta {
    margin: 15px 0;
}
.email-price-btn-main,
.call-price-btn-main {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: #fff;
    border: none;
    padding: 18px 28px;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    width: 100%;
    justify-content: center;
}
.email-price-btn-main:hover,
.call-price-btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    color: #fff;
}
.email-price-btn-main svg,
.call-price-btn-main svg {
    flex-shrink: 0;
}
.email-price-btn-main .btn-text,
.call-price-btn-main .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.3;
}
.email-price-btn-main .btn-text strong,
.call-price-btn-main .btn-text strong {
    font-size: 18px;
    font-weight: 700;
    color: #fff !important;
}
.email-price-btn-main .btn-text small,
.call-price-btn-main .btn-text small {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 400;
    color: #fff !important;
}
/* Why can't we show price link */
.map-why-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #6B7280;
    text-decoration: none;
}
.map-why-link:hover {
    color: #3B82F6;
    text-decoration: underline;
}
/* Mobile responsive for Email/Call for Price buttons */
@media (max-width: 768px) {
    .email-price-btn-main,
    .call-price-btn-main {
        padding: 16px 20px;
        gap: 12px;
        border-radius: 10px;
    }
    .email-price-btn-main .btn-text strong,
    .call-price-btn-main .btn-text strong {
        font-size: 16px;
    }
    .email-price-btn-main .btn-text small,
    .call-price-btn-main .btn-text small {
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .email-price-btn-main,
    .call-price-btn-main {
        padding: 14px 16px;
        gap: 10px;
    }
    .email-price-btn-main .btn-text strong,
    .call-price-btn-main .btn-text strong {
        font-size: 15px;
    }
    .email-price-btn-main svg,
    .call-price-btn-main svg {
        width: 18px;
        height: 18px;
    }
}
/* Legacy button style (keep for compatibility) */
.email-price-btn {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 10px 0;
}
.email-price-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}
.email-price-note {
    color: #6B7280;
    font-size: 13px;
    margin: 5px 0 0 0;
}
.price-request-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.price-request-modal.active {
    display: flex;
}
.price-request-content {
    background: #fff;
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    padding: 30px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.price-request-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #9CA3AF;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.price-request-close:hover {
    color: #374151;
}
.price-request-header {
    text-align: center;
    margin-bottom: 25px;
}
.price-request-header h2 {
    color: #1F2937;
    font-size: 24px;
    margin: 0 0 10px 0;
}
.price-request-header p {
    color: #6B7280;
    font-size: 14px;
    margin: 0;
}
.price-request-product {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #F9FAFB;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.price-request-product img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
}
.price-request-product strong {
    display: block;
    color: #1F2937;
    font-size: 14px;
    margin-bottom: 4px;
}
.price-request-product span {
    color: #9CA3AF;
    font-size: 12px;
}
.price-request-form-group {
    margin-bottom: 20px;
}
.price-request-form-group label {
    display: block;
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}
.price-request-form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}
.price-request-form-group input:focus {
    outline: none;
    border-color: #EF4444;
}
.price-request-submit {
    width: 100%;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.price-request-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}
.price-request-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.price-request-disclaimer {
    text-align: center;
    color: #9CA3AF;
    font-size: 12px;
    margin: 15px 0 0 0;
}
.price-request-success {
    text-align: center;
    padding: 20px 0;
}
.price-request-success .success-icon {
    margin-bottom: 20px;
}
.price-request-success h3 {
    color: #1F2937;
    font-size: 24px;
    margin: 0 0 10px 0;
}
.price-request-success p {
    color: #6B7280;
    font-size: 14px;
    margin: 0 0 25px 0;
}

/* MAP Explanation Modal - Global Styles */
.map-explanation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.map-explanation-modal.active {
    display: flex;
}
.map-explanation-content {
    background: #fff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    padding: 30px;
    position: relative;
    animation: mapModalSlideIn 0.3s ease;
}
@keyframes mapModalSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.map-explanation-content .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #9CA3AF;
    cursor: pointer;
    line-height: 1;
}
.map-explanation-content .close-btn:hover {
    color: #374151;
}
.map-explanation-content h3 {
    color: #1F2937;
    font-size: 22px;
    margin: 0 0 20px 0;
    padding-right: 30px;
}
.map-explanation-content p {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}
.map-explanation-content .got-it-btn {
    display: block;
    width: 100%;
    background: #3B82F6;
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s;
}
.map-explanation-content .got-it-btn:hover {
    background: #2563EB;
}

