/* 
 * Elysian Luxury Single Product Styles
 */
.single-product .woocommerce .woocommerce-breadcrumb {
    display: none;
}

/* Force full width breakout for Hello Elementor container */
.single-product .site-main {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.single-product .elementor-location-single {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.elysian-single-product-container {
    padding: 0;
    margin: 0;
    width: 100%;
}

/* â”€â”€â”€ Top Split Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.elysian-sp-top-layout {
    display: flex;
    width: 100%;
    margin: 0 auto;
    max-width: 1400px;
    padding: 100px 20px 0 20px;
}

.elysian-sp-left-gallery {
    width: 100%;
}

@media (min-width: 992px) {
    .elysian-sp-left-gallery {
        width: 50%;
        /* ~ 7/12 */
    }
}

.elysian-sp-image-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
    margin: 0;
}

.elysian-sp-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 4;
}

/* â”€â”€â”€ Right Summary Column (Sticky) â”€â”€â”€â”€â”€â”€â”€â”€ */
.elysian-sp-right-summary {
    width: 100%;
    background-color: #ffffff;
}

@media (min-width: 992px) {
    .elysian-sp-right-summary {
        width: 50%;
    }
}

.elysian-sp-summary-inner {
    padding: 0 0 0 40px;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* â”€â”€â”€ Breadcrumbs â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.elysian-sp-breadcrumbs {
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #999;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
}

.elysian-sp-breadcrumbs a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.elysian-sp-breadcrumbs a:hover {
    color: #1a1a1a;
}

.elysian-sp-breadcrumbs .sep {
    margin: 0 8px;
    font-size: 8px;
}

.elysian-sp-breadcrumbs .current {
    color: #1a1a1a;
    font-weight: 500;
}

/* â”€â”€â”€ Product Header â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.elysian-sp-brand {
    font-size: 10px;
    letter-spacing: 0.25em;
    color: #999;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    display: block;
    margin-bottom: 15px;
}

.elysian-sp-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 15px;
    line-height: 1.1;
}

.elysian-sp-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.elysian-stars-flex {
    color: #ce982b;
    display: flex;
    gap: 2px;
}

.elysian-sp-rating-count {
    font-size: 12px;
    color: #888;
    font-family: 'Inter', sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.elysian-sp-rating-count:hover {
    color: #1a1a1a;
}

.elysian-sp-price {
    border-bottom: 1px solid #e5e0dc;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.elysian-sp-price span {
    font-family: 'Inter', sans-serif;
    font-size: 24px !important;
    font-weight: 500;
    color: #1a1a1a !important;
    margin-bottom: 0;
}

.elysian-sp-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

.elysian-sp-features-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e0dc;
    padding-top: 25px;
    margin-top: 25px;
}

.elysian-sp-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #ce982b;
}

.elysian-sp-feature svg {
    stroke-width: 1.2px;
    width: 22px;
    height: 22px;
}

.elysian-sp-feature span {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #5c6b7d;
    text-transform: uppercase;
}

/* â”€â”€â”€ Variations Selector â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.elysian-sp-cart-area {
    margin-bottom: 0;
    margin-top: 20px;
}

.elysian-sp-variations {
    margin-bottom: 25px;
}

.elysian-sp-variation-label {
    display: block;
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #666;
    margin-bottom: 12px;
}

.elysian-sp-variation-selector {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.elysian-sp-variation-btn {
    padding: 12px 25px;
    border: 1px solid #eaeaea;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elysian-sp-variation-btn:hover {
    border-color: #1a1a1a;
}

.elysian-sp-variation-btn.active {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #fff;
}

/* â”€â”€â”€ Add to Cart Area â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.elysian-sp-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.elysian-sp-qty-selector {
    display: flex;
    border: 1px solid #ddd;
    width: 120px;
    height: 50px;
}

.elysian-qty-btn {
    flex: 1;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.elysian-qty-input {
    flex: 1;
    width: 40px;
    border: none;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    -moz-appearance: textfield;
}

.elysian-qty-input::-webkit-outer-spin-button,
.elysian-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.elysian-sp-add-to-cart-btn {
    flex: 2;
    height: 55px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid #1a1a1a;
}

.elysian-sp-add-to-cart-btn:hover {
    background: #fff;
    color: #1a1a1a;
}

.elysian-sp-add-to-cart-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
    color: transparent;
}

.elysian-sp-add-to-cart-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    animation: sp-spin 0.8s infinite linear;
}

.elysian-sp-add-to-cart-btn:hover.loading::after {
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #1a1a1a;
}

@keyframes sp-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Hide default WooCommerce "View cart" link appended after AJAX add */
.elysian-sp-actions .added_to_cart {
    display: none !important;
}

.elysian-sp-wishlist-btn {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #eee;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.elysian-sp-wishlist-btn:hover {
    border-color: #1a1a1a;
    background: #fbfbfb;
}

.elysian-sp-shipping-notice {
    font-size: 11px;
    color: #888;
    font-family: 'Inter', sans-serif;
}



/* â”€â”€â”€ Bottom Sections â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.elysian-sp-bottom-section {
    /* width: 100%; */
    background-color: #fff;
    padding: 80px 20px;
}

.elysian-sp-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 50px;
}

/* â”€â”€â”€ Tabs Block (Description & Reviews) â”€â”€â”€â”€â”€ */
.elysian-sp-tabs-wrapper {
    max-width: 1400px;
    margin: 0 auto 100px;
}

.elysian-sp-tabs-nav {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    border-bottom: 1px solid #eaeaea;
    justify-content: flex-start;
}

.elysian-sp-tab-link {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #888;
    text-transform: uppercase;
    cursor: pointer;
    padding-bottom: 20px;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.elysian-sp-tab-link:hover {
    color: #1a1a1a;
}

.elysian-sp-tab-link.active {
    color: #1a1a1a;
    border-bottom-color: #ce982b;
}

.elysian-sp-tab-content {
    display: none;
    animation: sp-fade-in 0.4s ease;
}

.elysian-sp-tab-content.active {
    display: block;
}

.woocommerce .elysian-sp-reviews-content p.stars a::before {
    color: #ce982b;
}

@keyframes sp-fade-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.elysian-sp-description-content p {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    margin-top: 0 !important;
    max-width: 900px;
}

/* Base WooCommerce Reviews Fixes */
#reviews h2 {
    display: none;
}

#reviews #comments ol.commentlist {
    padding: 0;
    list-style: none;
}

#reviews #comments ol.commentlist li {
    max-width: 960px;
}

#reviews #comments ol.commentlist li img.avatar {
    border-radius: 50%;
    width: 50px;
    float: left;
    margin-right: 20px;
}

#reviews .comment-text {
    margin-left: 70px;
}

#reviews .comment-text p.meta {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

#reviews .comment-text .description {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

#reviews .star-rating {
    float: right;
    color: #ce982b;
}

#review_form_wrapper {
    margin-top: 0;
    padding: 30px;
    background: #fdfbf7;
    max-width: 900px;
}

#reply-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 400;
}

.comment-form p {
    margin: 20px 0 !important;
}

.comment-form-author,
.comment-form-email {
    display: flex;
    flex-direction: column;
}

p.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
}

p.comment-form-cookies-consent label {
    margin-bottom: 0;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    background: #fff;
    font-family: 'Inter', sans-serif;
}

.comment-form .submit {
    padding: 12px 25px !important;
    background: #e6e5ec !important;
    color: #333 !important;
    border: none !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 0.15em !important;
    font-weight: 700 !important;
    text-transform: uppercase ! IMPORTANT;
    cursor: pointer !important;
    border-radius: 3px !important;
    transition: background 0.3s ease;
}

/* Related Products block */
.elysian-sp-related-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.elysian-sp-related-wrapper .related.products>h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
    margin: 0 auto 50px;
    max-width: 100%;
    line-height: 1.3;
}

.elysian-sp-related-wrapper .related.products>h2::before {
    content: 'YOU MAY ALSO LOVE';
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #ce982b;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.elysian-sp-related-wrapper ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.elysian-sp-related-wrapper ul.products::after,
.elysian-sp-related-wrapper ul.products::before {
    content: unset;
}

.elysian-sp-related-wrapper ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

/* Fix product card layout in related */
.elysian-sp-related-wrapper .elysian-product-card {
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 1023px) {
    .elysian-sp-related-wrapper ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .elysian-sp-related-wrapper ul.products li:nth-child(4) {
        display: none;
        /* Hide 4th on tablet */
    }

    .elysian-sp-top-layout {
        padding: 0 0 0 0;
        flex-wrap: wrap;
    }

    .elysian-sp-right-summary {
        padding: 0 20px 0 20px;
    }

    .elysian-sp-summary-inner {
        padding: 0;
    }
}



@media (max-width: 768px) {
    .elysian-sp-related-wrapper ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .elysian-sp-related-wrapper ul.products li:nth-child(3) {
        display: none;
        /* Hide 3rd on mobile */
    }

    .elysian-sp-bottom-section {
        padding: 50px 20px;
    }

    .elysian-sp-related-wrapper .related.products>h2 {
        font-size: 32px;
        margin: 0 auto 30px;
    }

    .elysian-sp-wishlist-btn {
        width: 35px;
        height: 35px;
    }
}

/* ────── WooCommerce Native Gallery Overrides ────── */
.woocommerce-product-gallery {
    opacity: 1 !important;
    position: relative;
    width: 100% !important;
}

.woocommerce-product-gallery__wrapper {
    margin: 0;
    padding: 0;
}

.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1 !important;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.woocommerce-product-gallery__trigger img {
    display: none !important;
}

.woocommerce-product-gallery__trigger::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    position: relative;
    top: -2px;
    left: -2px;
}

.woocommerce-product-gallery__trigger::after {
    content: "";
    display: block;
    width: 2px;
    height: 8px;
    background: #1a1a1a;
    position: absolute;
    bottom: 8px;
    right: 10px;
    transform: rotate(-45deg);
}

/* Thumbnails at the bottom */
.woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 15px;
    margin: 15px 0 0 !important;
    padding: 10px 0 !important;
    /* Extra padding for lift animation */
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.woocommerce-product-gallery .flex-control-thumbs li {
    width: 20% !important;
    flex-shrink: 0;
    cursor: pointer;
    scroll-snap-align: start;
    padding: 3px;
    /* Prevents border clipping during transform */
}

.woocommerce-product-gallery .flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    opacity: 0.4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li:hover img {
    opacity: 1;
    border-color: #ce982b;
    transform: translateY(-5px);
}

/* ────── Professional Variation Swatches ────── */
.variations_form {
    width: 100%;
}

.variations {
    width: 100%;
    margin-bottom: 25px;
}

.variations select {
    display: none !important;
}

.variations .label {
    padding: 0 0 10px 0;
    line-height: normal !important;
}

.variations .label label {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #666;
    text-transform: uppercase;
}

.variations tr {
    display: block;
    margin-bottom: 20px;
}

.variations td {
    display: block;
    padding: 0;
}

/* Swatches Container */
.elysian-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Individual Swatch Button */
.elysian-swatch-btn {
    padding: 8px 12px;
    border: 1px solid #eaeaea;
    background: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: normal;
    user-select: none;
}

.elysian-swatch-btn:hover {
    border-color: #1a1a1a;
}

.elysian-swatch-btn.selected {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.elysian-swatch-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.reset_variations {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #ce982b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.reset_variations:hover {
    opacity: 0.7;
}

/* Clear button container — sits below all swatches */
.elysian-clear-wrap {
    margin-top: 12px;
    margin-bottom: 8px;
}

/* Variation price synced to main price — hide the duplicate */
.woocommerce-variation-price {
    display: none;
}

/* ────── Add to Cart Row Layout ────── */
.woocommerce-variation-add-to-cart,
form.cart:not(.variations_form) {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 0px;
    flex-wrap: nowrap;
}

/* Native Qty styling */
.quantity {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    background: #fff;
    height: 50px;
    min-width: 120px;
}

.quantity .elysian-qty-btn {
    background: transparent;
    border: none;
    width: 40px;
    height: 100%;
    font-size: 18px;
    cursor: pointer;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity input.qty {
    width: 40px;
    height: 100%;
    border: none;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    -moz-appearance: textfield;
    padding: 0;
}

.quantity input.qty::-webkit-outer-spin-button,
.quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add to Cart Button */
.single_add_to_cart_button {
    flex-grow: 1;
    height: 50px;
    background: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    font-family: 'Inter', sans-serif;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer !important;
    transition: background 0.3s ease;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 20px !important;
}

.single_add_to_cart_button:hover {
    background: #333 !important;
}

.single_add_to_cart_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Square Wishlist Button */
.elysian-sp-wishlist-btn.square-btn {
    width: 50px;
    height: 50px;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: #1a1a1a;
    padding: 0;
    margin: 0 !important;
}

.elysian-sp-wishlist-btn.square-btn:hover {
    border-color: #1a1a1a;
}

.elysian-sp-wishlist-btn.square-btn.active svg {
    fill: #1a1a1a;
}

@media (max-width: 991px) {
    .elysian-sp-wishlist-btn.square-btn {
        width: 36px;
        height: 36px;
    }

    .elysian-sp-wishlist-btn.square-btn {
        left: 15px;
        right: unset;
    }

    .woocommerce-product-gallery .flex-control-thumbs {
        gap: 5px;
        margin: 5px 0 0 !important;
        padding: 5px 0 !important;
    }
}