/**
 * LaNoira — Single Product Luxury Refinement
 *
 * Overrides single-product.css aggressive animations and
 * brings the page in line with LaNoira's luxury aesthetic.
 *
 * Palette: Obsidian #0D0D0D · Carbon #141414 · Ivory #F5F5F5
 *          Body #BDBDBD · Gold #C5A059 · Deep Crimson #4a0e0e
 *
 * @package Commerce_Elite
 */

/* ============================================
   KILL ALL AGGRESSIVE ANIMATIONS
   ============================================ */

/* Stop all looping animations on key elements */
.single-product-wrapper .product-brand-name,
.single-product-wrapper .product-brand-name::before,
.single-product-wrapper .product-brand-name::after,
.single-product-wrapper .single_add_to_cart_button,
.single-product-wrapper .single_add_to_cart_button::before,
.single-product-wrapper .single_add_to_cart_button::after,
.single-product-wrapper .trust-badge,
.single-product-wrapper .trust-badge::before,
.single-product-wrapper .trust-badge::after,
.single-product-wrapper .stock,
.single-product-wrapper .stock::before {
    animation: none !important;
}

/* Remove cart icon emoji and wiggle */
.single-product-wrapper .single_add_to_cart_button::after {
    display: none !important;
}

.single-product-wrapper .single_add_to_cart_button > span::before {
    content: '' !important;
    display: none !important;
}

/* ============================================
   PAGE BACKGROUND — DARK LUXURY
   ============================================ */

.single-product-wrapper .product-main-content {
    background: #0D0D0D !important;
}

.single-product-wrapper .product-images-wrapper {
    background: #141414 !important;
    border-right: 1px solid #1F1F1F;
}

.single-product-wrapper .summary.entry-summary {
    background: #0D0D0D !important;
    gap: 1.25rem !important;
}

/* ============================================
   PRODUCT GALLERY — REFINED
   ============================================ */

.single-product-wrapper .woocommerce-product-gallery__image {
    border-radius: 0 !important;
    background: #141414 !important;
    border: 1px solid #1F1F1F !important;
}

.single-product-wrapper .woocommerce-product-gallery__image:hover img {
    transform: scale(1.04) !important;
}

/* Thumbnails */
.single-product-wrapper .flex-control-thumbs li img {
    border-radius: 0 !important;
    border: 1px solid transparent !important;
    opacity: 0.55 !important;
    transition: all 0.3s ease !important;
}

.single-product-wrapper .flex-control-thumbs li img:hover {
    opacity: 0.85 !important;
    border-color: rgba(197, 160, 89, 0.3) !important;
    transform: none !important;
}

.single-product-wrapper .flex-control-thumbs li img.flex-active {
    opacity: 1 !important;
    border-color: #C5A059 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* ============================================
   BRAND BADGE — REFINED
   ============================================ */

.single-product-wrapper .product-brand-name {
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;

    /* Remove holographic gradient — plain gold text */
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #C5A059 !important;
    background-clip: unset !important;
    color: #C5A059 !important;

    /* Remove animated border — simple gold border */
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 4px 10px !important;
    border: 1px solid rgba(197, 160, 89, 0.25) !important;
}

.single-product-wrapper .product-brand-name::before,
.single-product-wrapper .product-brand-name::after {
    display: none !important;
}

/* ============================================
   PRODUCT TITLE
   ============================================ */

.single-product-wrapper .product_title {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(1.6rem, 2.5vw, 2.25rem) !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    line-height: 1.2 !important;
    letter-spacing: 0.2px !important;
}

/* ============================================
   PRICE
   ============================================ */

.single-product-wrapper .summary .price {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    color: #F5F5F5 !important;
}

/* Stop gradient animation on sale price */
.single-product-wrapper .summary .price ins {
    -webkit-text-fill-color: #C5A059 !important;
    background: none !important;
    animation: none !important;
    color: #C5A059 !important;
    text-decoration: none !important;
}

.single-product-wrapper .summary .price del {
    color: #666666 !important;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
}

/* ============================================
   RATING
   ============================================ */

.single-product-wrapper .woocommerce-review-link {
    color: #666666 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
}

.single-product-wrapper .woocommerce-review-link:hover {
    color: #C5A059 !important;
}

/* ============================================
   SHORT DESCRIPTION
   ============================================ */

.single-product-wrapper .woocommerce-product-details__short-description {
    font-family: 'Arapey', serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;
    color: #BDBDBD !important;
}

/* ============================================
   VARIATIONS
   ============================================ */

.single-product-wrapper .variations {
    border-top: 1px solid #1F1F1F !important;
    border-bottom: 1px solid #1F1F1F !important;
}

.single-product-wrapper .variations label {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #A6A6A6 !important;
}

.single-product-wrapper .variations select {
    background: #141414 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
    color: #F5F5F5 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    transition: border-color 0.2s ease !important;
}

.single-product-wrapper .variations select:hover {
    border-color: rgba(197, 160, 89, 0.3) !important;
    transform: none !important;
}

.single-product-wrapper .variations select:focus {
    border-color: #C5A059 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* ============================================
   QUANTITY
   ============================================ */

.single-product-wrapper .quantity .qty {
    background: #141414 !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 0 !important;
    color: #F5F5F5 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    transition: border-color 0.2s ease !important;
}

.single-product-wrapper .quantity .qty:hover {
    border-color: rgba(197, 160, 89, 0.3) !important;
    transform: none !important;
}

.single-product-wrapper .quantity .qty:focus {
    border-color: #C5A059 !important;
    box-shadow: none !important;
    transform: none !important;
}

/* ============================================
   ADD TO CART BUTTON — LUXURY
   ============================================ */

.single-product-wrapper .single_add_to_cart_button {
    height: 54px !important;
    background: transparent !important;
    border: 1px solid #C5A059 !important;
    border-radius: 0 !important;
    color: #C5A059 !important;
    -webkit-text-fill-color: #C5A059 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background 0.3s ease, color 0.3s ease !important;
    animation: none !important;
    transform: none !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
}

.single-product-wrapper .single_add_to_cart_button::before {
    display: none !important;
}

.single-product-wrapper .single_add_to_cart_button:hover {
    background: #C5A059 !important;
    color: #0D0D0D !important;
    -webkit-text-fill-color: #0D0D0D !important;
    transform: none !important;
    box-shadow: none !important;
    animation: none !important;
}

.single-product-wrapper .single_add_to_cart_button:hover > span,
.single-product-wrapper .single_add_to_cart_button:hover > span * {
    color: #0D0D0D !important;
    -webkit-text-fill-color: #0D0D0D !important;
    position: relative !important;
    z-index: 2 !important;
}

.single-product-wrapper .single_add_to_cart_button:hover::before {
    transform: scaleX(1) !important;
}

.single-product-wrapper .single_add_to_cart_button > span {
    position: relative !important;
    z-index: 1 !important;
}

.single-product-wrapper .single_add_to_cart_button:active {
    transform: none !important;
    opacity: 0.9 !important;
}

.single-product-wrapper .single_add_to_cart_button:focus {
    outline: none !important;
    border-color: #C5A059 !important;
    box-shadow: none !important;
}

/* ============================================
   PRODUCT META — SKU, CATEGORIES
   ============================================ */

.single-product-wrapper .product_meta {
    background: #141414 !important;
    border-radius: 0 !important;
    border: 1px solid #1F1F1F !important;
    padding: 1.25rem !important;
}

.single-product-wrapper .product_meta > span {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
    color: #666666 !important;
}

.single-product-wrapper .product_meta a {
    color: #A6A6A6 !important;
    font-weight: 400 !important;
    transition: color 0.2s ease !important;
}

.single-product-wrapper .product_meta a:hover {
    color: #C5A059 !important;
}

/* ============================================
   STOCK BADGE — REFINED
   ============================================ */

.single-product-wrapper .stock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    background: transparent !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #10b981 !important;
    padding: 0.4rem 0.875rem !important;
    border-radius: 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    animation: none !important;
    margin-bottom: 0.75rem !important;
    position: relative !important;
    overflow: visible !important;
}

.single-product-wrapper .stock::before {
    display: none !important;
}

.single-product-wrapper .stock::after {
    content: '' !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    margin-left: 0.3rem !important;
    font-size: 0 !important;
}

.single-product-wrapper .stock.out-of-stock {
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #ef4444 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.single-product-wrapper .stock.out-of-stock::after {
    background: #ef4444 !important;
}

/* ============================================
   TRUST BADGES — REFINED
   ============================================ */

.single-product-wrapper .trust-badge {
    background: #141414 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    border: 1px solid #1F1F1F !important;
    color: #A6A6A6 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    animation: none !important;
    transition: border-color 0.2s ease, color 0.2s ease !important;
}

.single-product-wrapper .trust-badge:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(197, 160, 89, 0.25) !important;
    color: #F5F5F5 !important;
    background: #141414 !important;
}

.single-product-wrapper .trust-badge:hover::after {
    opacity: 0 !important;
}

.single-product-wrapper .trust-badge::before {
    display: none !important;
}

.single-product-wrapper .trust-badge svg {
    filter: none !important;
}

.single-product-wrapper .trust-badge:hover svg {
    animation: none !important;
    filter: none !important;
}

/* Unify icon colors to gold-tinted */
.single-product-wrapper .trust-badge:nth-child(1) svg,
.single-product-wrapper .trust-badge:nth-child(2) svg,
.single-product-wrapper .trust-badge:nth-child(3) svg,
.single-product-wrapper .trust-badge:nth-child(4) svg {
    color: #C5A059 !important;
}

/* ============================================
   PRODUCT TABS
   ============================================ */

.single-product-wrapper .woocommerce-tabs {
    background: #0D0D0D !important;
}

.single-product-wrapper .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid #1F1F1F !important;
    background: transparent !important;
}

.single-product-wrapper .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.single-product-wrapper .woocommerce-tabs ul.tabs li a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #666666 !important;
    padding: 1rem 1.5rem !important;
    transition: color 0.2s ease !important;
}

.single-product-wrapper .woocommerce-tabs ul.tabs li.active a,
.single-product-wrapper .woocommerce-tabs ul.tabs li a:hover {
    color: #C5A059 !important;
    background: transparent !important;
}

.single-product-wrapper .woocommerce-tabs ul.tabs li.active {
    border-bottom: 1px solid #C5A059 !important;
}

.single-product-wrapper .woocommerce-tabs .panel {
    background: #141414 !important;
    color: #BDBDBD !important;
    border: 1px solid #1F1F1F !important;
    border-top: none !important;
    padding: 2.5rem !important;
}

.single-product-wrapper .woocommerce-tabs .panel h2 {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.25rem !important;
    color: #F5F5F5 !important;
    font-weight: 600 !important;
    margin-bottom: 1.25rem !important;
}

.single-product-wrapper .woocommerce-tabs .panel p,
.single-product-wrapper .woocommerce-tabs .panel li {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;
    color: #BDBDBD !important;
}

/* ============================================
   PERFORMANCE — REMOVE WILL-CHANGE ON STATIC
   ============================================ */

.single-product-wrapper .product-brand-name,
.single-product-wrapper .trust-badge {
    will-change: auto !important;
    transform: translateZ(0) !important;
    backface-visibility: visible !important;
}