/* ============================================================
   ORVEX SPORTS - PREMIUM PRODUCT PAGE FINAL STYLES (STARS FIX)
   ============================================================ */

/* Page Level Blackout */
html body, .site, .site-content, .ast-container, #primary, #main, .site-layout-enabled .site-content {
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ffffff !important;
}

/* Base Layout Wrapper */
.orvex-product-detail-wrapper {
    background-color: #000000 !important;
    padding: 60px 0 100px 0 !important;
    font-family: 'Poppins', sans-serif !important;
}

.orvex-product-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 90%;
}

/* Two Column Grid Setup */
.orvex-product-main-grid {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: flex-start;
}

/* Left Column: Premium Gallery Box */
.orvex-product-gallery-side {
    flex: 1.1;
    background-color: #ffffff !important;
    border-radius: 20px !important;
    padding: 25px !important;
    border: 1px solid #111111 !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6) !important;
    box-sizing: border-box;
    position: relative;
    height: fit-content;
    animation: orvexSlideLeft 1s cubic-bezier(0.1, 1, 0.1, 1) forwards;
}

.orvex-onsale-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background-color: #ff6800 !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 6px 16px;
    z-index: 10;
    letter-spacing: 1px;
}

/* ACTIVE MOUSE TRACKING ZOOM VIEWPORT */
.orvex-main-image-viewport {
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Crucial for hover zoom */
    position: relative;
    cursor: zoom-in; /* Magnifier cursor */
}

.orvex-main-image-viewport img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 12px;
    transform-origin: center center;
    display: block !important; /* Force display block for snappy webkit rendering */
    transition: transform 0.1s ease-out !important; /* Snappy tracking */
}

/* Gallery Thumbnails */
.orvex-gallery-thumbs-list {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

.orvex-thumb-item {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background-color: #ffffff;
    padding: 4px;
    cursor: pointer;
    box-sizing: border-box;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.orvex-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.orvex-thumb-item:hover {
    transform: scale(1.05);
    border-color: #ff6800;
}

.orvex-thumb-item.active {
    border-color: #ff6800 !important;
    box-shadow: 0 0 10px rgba(255, 104, 0, 0.2);
}

/* Right Column: Summary Info */
.orvex-product-summary-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: orvexSlideRight 1s cubic-bezier(0.1, 1, 0.1, 1) forwards;
    padding-top: 10px;
}

.orvex-product-title-text {
    color: #ffffff !important;
    font-size: 42px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin: 0 0 15px 0 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.1 !important;
}

/* Rating Box (Force Solid Gold Font Awesome Stars) */
.orvex-product-rating-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

/* --- BULLETPROOF UNICODE GOLD STAR RATING OVERRIDE --- */
.woocommerce .star-rating,
.woocommerce-page .star-rating,
.star-rating {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    width: 75px !important; /* Fixed standard width for 5 stars */
    height: 18px !important;
    display: inline-block !important;
    position: relative !important;
    line-height: 1 !important;
    letter-spacing: 2px !important;
    float: none !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.woocommerce .star-rating::before,
.woocommerce-page .star-rating::before,
.star-rating::before {
    content: "\2605\2605\2605\2605\2605" !important; /* 5 Solid Stars in dark grey */
    color: #222222 !important;
    display: block !important;
    opacity: 1 !important;
    letter-spacing: 2px !important;
}

.woocommerce .star-rating span,
.woocommerce-page .star-rating span,
.star-rating span {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    overflow: hidden !important;
    display: block !important;
    height: 100% !important;
}

.woocommerce .star-rating span::before,
.woocommerce-page .star-rating span::before,
.star-rating span::before {
    content: "\2605\2605\2605\2605\2605" !important; /* 5 Solid Stars in glowing orange */
    color: #ff6800 !important;
    display: block !important;
    letter-spacing: 2px !important;
}

.rating-review-count {
    color: #777777;
    font-size: 14px;
    font-weight: 500;
}

/* Price Section */
.orvex-product-price-box {
    margin-bottom: 30px;
}

.orvex-product-price-box .price {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.orvex-product-price-box .price .woocommerce-Price-amount {
    color: #ff6800 !important;
    font-size: 34px !important;
    font-weight: 800 !important;
}

.orvex-product-price-box .price del,
.orvex-product-price-box .price del .woocommerce-Price-amount {
    color: #555555 !important;
    font-size: 20px !important;
    text-decoration: line-through !important;
    font-weight: 600 !important;
}

.orvex-product-price-box .price ins,
.orvex-product-price-box .price ins .woocommerce-Price-amount {
    text-decoration: none !important;
}

/* Excerpt */
.orvex-product-short-desc {
    color: #bbbbbb !important;
    font-size: 15px !important;
    line-height: 1.8 !important;
    margin: 0 0 35px 0 !important;
    text-align: justify;
}

/* Cart Form */
.orvex-product-cart-form-wrapper form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 35px !important;
    background: transparent !important;
    border-bottom: 1px solid #151515 !important;
    padding-bottom: 35px !important;
}

.orvex-product-cart-form-wrapper .quantity .qty {
    background-color: #0d0d0d !important;
    color: #ffffff !important;
    border: 2px solid #222222 !important;
    border-radius: 50px !important;
    padding: 12px 18px !important;
    font-size: 16px !important;
    outline: none !important;
    width: 80px !important;
    height: 54px !important;
    text-align: center !important;
    transition: 0.3s;
}

.orvex-product-cart-form-wrapper .quantity .qty:focus {
    border-color: #ff6800 !important;
    background-color: #111111 !important;
}

.orvex-product-cart-form-wrapper .single_add_to_cart_button {
    background-color: #ff6800 !important;
    color: #ffffff !important;
    border: 2px solid #ff6800 !important;
    border-radius: 50px !important;
    padding: 0 45px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    height: 54px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    animation: orvexPulse 2s infinite !important;
    flex-grow: 1 !important;
    max-width: 320px !important;
    letter-spacing: 1px;
}

.orvex-product-cart-form-wrapper .single_add_to_cart_button:hover {
    background-color: #e55d00 !important;
    border-color: #e55d00 !important;
    transform: translateY(-2px) !important;
}

/* Meta Data details styling */
.orvex-product-meta-block {
    font-size: 13px !important;
    color: #888888 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.orvex-product-meta-block .meta-item strong {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    margin-right: 10px;
}

.orvex-product-meta-block .meta-item a {
    color: #aaaaaa !important;
    text-decoration: none !important;
    background-color: #0c0c0c;
    border: 1px solid #1a1a1a;
    padding: 4px 12px;
    border-radius: 50px;
    transition: 0.3s;
    font-weight: 500;
}
.orvex-product-meta-block .meta-item a:hover {
    color: #ffffff !important;
    border-color: #ff6800;
    background-color: #ff6800 !important;
}

/* --- SECTION 2: NEW BRAND HIGHLIGHTS VALUE PROP (Minimal & Elegant) --- */
.orvex-brand-highlights-section {
    border-top: 1px solid #111111;
    padding-top: 80px !important;
    margin-bottom: 80px !important;
}

.orvex-highlights-section-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    margin-bottom: 50px !important;
    letter-spacing: 1px !important;
}

.orvex-highlights-section-title::before, .orvex-highlights-section-title::after {
    content: '' !important;
    width: 40px !important;
    height: 3px !important;
    background-color: #ff6800 !important;
    display: inline-block !important;
}

.orvex-highlights-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

.orvex-highlight-card {
    background-color: #050505;
    border: 1px solid #111111;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-sizing: border-box;
    transition: 0.3s ease;
}

.orvex-highlight-card:hover {
    border-color: #ff6800;
    transform: translateY(-5px);
}

.orvex-highlight-card .highlight-icon {
    font-size: 40px;
    color: #ff6800;
    margin-bottom: 25px;
}

.orvex-highlight-card h3 {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
}

.orvex-highlight-card p {
    color: #888888 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* --- SECTION 3: WOOCOMMERCE STANDARD TABS OVERRIDE --- */
.orvex-product-tabs-wrapper {
    margin-top: 60px !important;
    border-top: 1px solid #111111 !important;
    padding-top: 40px !important;
}

.woocommerce-tabs ul.tabs {
    border: none !important;
    padding: 0 !important;
    display: flex !important;
    gap: 15px !important;
    background: transparent !important;
}

.woocommerce-tabs ul.tabs li {
    background-color: #0d0d0d !important;
    border: 1px solid #222222 !important;
    border-radius: 50px !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: 0.3s !important;
}

.woocommerce-tabs ul.tabs li a {
    color: #888888 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    padding: 12px 25px !important;
    display: block !important;
    text-decoration: none !important;
}

.woocommerce-tabs ul.tabs li.active {
    background-color: #ff6800 !important;
    border-color: #ff6800 !important;
}
.woocommerce-tabs ul.tabs li.active a {
    color: #ffffff !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    background-color: #050505 !important;
    border: 1px solid #1a1a1a !important;
    border-radius: 20px !important;
    padding: 35px !important;
    margin-top: 25px !important;
    color: #aaaaaa !important;
    line-height: 1.8 !important;
    font-size: 15px !important;
    box-sizing: border-box;
}

.woocommerce-tabs .woocommerce-Tabs-panel h2 {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
    background-color: #111111 !important;
    color: #ffffff !important;
    border: 1px solid #333333 !important;
    padding: 12px !important;
    border-radius: 8px !important;
}
#review_form input:focus,
#review_form textarea:focus {
    border-color: #ff6800 !important;
    outline: none !important;
}

/* --- SECTION 4: RELATED PRODUCTS GRID OVERRIDE --- */
.orvex-product-related-wrapper {
    margin-top: 80px !important;
    border-top: 1px solid #111111 !important;
    padding-top: 60px !important;
}

.orvex-product-related-wrapper h2 {
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin-bottom: 40px !important;
    text-align: center !important;
}

.orvex-product-related-wrapper ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    width: 100% !important;
}

.orvex-product-related-wrapper ul.products li.product {
    background-color: #000000 !important;
    border: 1px solid #1a1a1a !important;
    border-radius: 20px !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    margin: 0 !important;
    width: auto !important;
}

.orvex-product-related-wrapper ul.products li.product:hover {
    border-color: #ff6800 !important;
}

.orvex-product-related-wrapper ul.products li.product .astra-shop-thumbnail-wrap {
    background-color: #ffffff !important;
    padding: 15px !important;
    border-bottom: 1px solid #1a1a1a !important;
    margin: 0 !important;
}

.orvex-product-related-wrapper ul.products li.product .astra-shop-summary-wrap {
    padding: 20px !important;
    background: transparent !important;
}

.orvex-product-related-wrapper ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff !important;
    font-size: 16px !important;
}

.orvex-product-related-wrapper ul.products li.product .price {
    color: #ff6800 !important;
}

.orvex-product-related-wrapper ul.products li.product .button {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ff6800 !important;
    border-radius: 50px !important;
}
.orvex-product-related-wrapper ul.products li.product .button:hover {
    background-color: #ff6800 !important;
    color: #ffffff !important;
}

/* Animations */
@media (max-width: 992px) {
    .orvex-product-main-grid {
        flex-direction: column !important;
    }
    .orvex-product-gallery-side {
        width: 100% !important;
    }
    .orvex-product-summary-side {
        width: 100% !important;
        padding-top: 30px;
    }
    .orvex-highlights-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .orvex-product-related-wrapper ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .orvex-product-related-wrapper ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* --- ANIMATIONS TIMELINES --- */
@keyframes orvexSlideLeft {
    from { opacity: 0; transform: translate3d(-50px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes orvexSlideRight {
    from { opacity: 0; transform: translate3d(50px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes orvexPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 104, 0, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(255, 104, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 104, 0, 0); }
}

/* Outro Banner */
.orvex-forge-outro {
    background-color: #ff6800;
    padding: 50px 20px !important;
    text-align: center;
}

.outro-slogan {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    letter-spacing: 2px !important;
    font-style: italic;
}