/*
Theme Name: New Eden
Theme URI: https://demo.agnidesigns.com/bagberry/
Author: Antigravity
Description: A minimalist, luxury block theme inspired by Bagberry.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: new-eden
Tags: block-theme, e-commerce, minimalist, luxury
*/

/* Custom WooCommerce Styles */
.woocommerce-product-gallery img {
    border-radius: 0;
}

.woocommerce-LoopProduct-link {
    text-decoration: none !important;
}

.woocommerce-loop-product__title {
    margin-top: 1rem !important;
    font-family: var(--wp--preset--font-family--cabinet-grotesk) !important;
}

.price {
    font-weight: 300 !important;
}

/* My Account / Login Forms - Luxury Redesign */
.woocommerce-account .woocommerce {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.woocommerce-form-login,
.woocommerce-form-register {
    border: none !important;
    padding: 4rem !important;
    background-color: #ffffff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    border-radius: 0;
    max-width: 500px;
    margin: 0 auto;
}

.woocommerce-account h2 {
    font-family: var(--wp--preset--font-family--eb-garamond) !important;
    font-size: 2.5rem !important;
    font-weight: 400 !important;
    text-align: center;
    margin-bottom: 3rem !important;
    color: #1a1a1a;
}

.woocommerce-form-row {
    margin-bottom: 2rem !important;
}

.woocommerce-form-row label {
    display: block;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    font-weight: 700;
    margin-bottom: 0.5rem !important;
    color: #888;
}

.woocommerce-Input {
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 0.8rem 0 !important;
    border-radius: 0 !important;
    width: 100%;
    font-size: 1.1rem;
    background-color: transparent !important;
    transition: all 0.3s ease;
    font-family: var(--wp--preset--font-family--inter);
}

.woocommerce-Input:focus {
    outline: none !important;
    border-bottom-color: #000000 !important;
    padding-left: 5px;
}

.woocommerce-Button {
    background-color: #000000 !important;
    color: #ffffff !important;
    width: 100%;
    padding: 1.5rem !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    margin-top: 1.5rem !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    cursor: pointer;
    border: none !important;
}

.woocommerce-Button:hover {
    background-color: #333333 !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.woocommerce-form-login__rememberme {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #999;
}

.woocommerce-LostPassword {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.woocommerce-LostPassword a {
    color: #999;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.woocommerce-LostPassword a:hover {
    color: #000;
    border-bottom-color: #000;
}

/* Form Helper - Register Link for Login Page */
.woocommerce-form-login::after {
    content: "Don't have an account? Contact support or register below.";
    display: block;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #bbb;
}

/* Mini Cart Polish */
.wc-block-mini-cart__badge {
    background-color: var(--wp--preset--color--accent) !important;
}

/* Cart & Checkout Blocks - Luxury Polish */
.wc-block-cart,
.wc-block-checkout {
    font-family: var(--wp--preset--font-family--inter) !important;
}

.wc-block-cart__title,
.wc-block-checkout__title {
    font-family: var(--wp--preset--font-family--eb-garamond) !important;
    font-size: 2rem !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.wc-block-components-button {
    border-radius: 0 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    padding: 1.5rem 3rem !important;
    transition: all 0.3s ease !important;
}

.wc-block-cart__submit-button,
.wc-block-checkout__proceed-to-checkout {
    background-color: #000000 !important;
    border: none !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-checkout__proceed-to-checkout:hover {
    background-color: #333333 !important;
    transform: translateY(-2px);
}

.wc-block-components-text-input input {
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 0.8rem 0 !important;
}

.wc-block-cart-items__header {
    border-bottom: 1px solid #000000 !important;
    padding-bottom: 1.5rem !important;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
}

.wc-block-cart-item__image img {
    border-radius: 0 !important;
}

.wc-block-cart-item__title {
    font-family: var(--wp--preset--font-family--eb-garamond) !important;
    font-size: 1.25rem !important;
}

.wc-block-cart__totals-title {
    font-family: var(--wp--preset--font-family--eb-garamond) !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Empty Cart Polish */
.wc-block-cart__empty-cart__title {
    font-family: var(--wp--preset--font-family--eb-garamond) !important;
    font-size: 2.5rem !important;
    margin-bottom: 2rem !important;
}

.wc-block-cart__empty-cart__button {
    background-color: #000 !important;
    border-radius: 0 !important;
}

/* Checkout specific */
.wc-block-checkout__add-note .wc-block-components-base-control__label {
    text-transform: uppercase;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

/* Classic WooCommerce Cart & Checkout Styling */
.woocommerce-cart .shop_table,
.woocommerce-checkout .shop_table {
    border: none !important;
    border-radius: 0 !important;
    font-family: var(--wp--preset--font-family--inter);
}

.woocommerce-cart .shop_table thead,
.woocommerce-checkout .shop_table thead {
    background-color: transparent;
    border-bottom: 2px solid #000;
}

.woocommerce-cart .shop_table thead th,
.woocommerce-checkout .shop_table thead th {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 2px;
    padding: 1.5rem 0 !important;
    font-weight: 700;
}

.woocommerce-cart .shop_table td,
.woocommerce-checkout .shop_table td {
    padding: 2rem 0 !important;
    border-top: 1px solid #eee !important;
}

.woocommerce-cart .cart_item .product-name a {
    font-family: var(--wp--preset--font-family--eb-garamond);
    font-size: 1.25rem;
    color: #1a1a1a;
    text-decoration: none;
}

.woocommerce-cart .cart_item .product-thumbnail img {
    width: 80px !important;
    border-radius: 0;
}

.woocommerce-cart .actions {
    padding: 2rem 0 !important;
    border-top: none !important;
}

.woocommerce-cart .actions .coupon {
    display: flex;
    gap: 10px;
}

.woocommerce-cart .actions .coupon input {
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    padding: 0.5rem 0 !important;
    width: 200px !important;
}

.cart-collaterals {
    margin-top: 4rem;
    display: flex;
    justify-content: flex-end;
}

.cart_totals {
    width: 100%;
    max-width: 400px;
    background: #fcfcfc;
    padding: 3rem !important;
}

.cart_totals h2 {
    font-family: var(--wp--preset--font-family--eb-garamond);
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
    text-align: left !important;
}

.woocommerce-checkout #customer_details {
    margin-bottom: 4rem;
}

.woocommerce-checkout h3 {
    font-family: var(--wp--preset--font-family--eb-garamond);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.woocommerce-checkout .form-row {
    margin-bottom: 1.5rem;
}

.woocommerce-checkout .form-row label {
    display: block;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    padding: 0.8rem 0 !important;
    border-radius: 0 !important;
    background: transparent;
}

.woocommerce-checkout #order_review {
    background: #fcfcfc;
    padding: 3rem;
    margin-top: 4rem;
}

.woocommerce-checkout-payment {
    background: transparent !important;
    border: none !important;
}

.woocommerce-checkout-payment ul {
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-checkout-payment li {
    margin-bottom: 1rem;
}

/* Header Refinement */
.site-header {
    background-color: #ffffff;
    z-index: 9999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Add padding to the top of pages to account for fixed header */
main.wp-block-group {
    padding-top: 120px !important;
    /* Adjust based on header height */
}

.header-logo-group p {
    margin: 0 !important;
}

.brand-name {
    color: #444444 !important;
}

.brand-tagline {
    color: #999999 !important;
    align-self: flex-end;
    margin-bottom: 2px !important;
}

.header-icon {
    color: #444444;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-icon:hover {
    opacity: 0.6;
}

.header-icon .dashicons {
    font-size: 1.25rem !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
}

/* Mini Cart Overrides for Minimalist Look */
.wc-block-mini-cart .wc-block-mini-cart__button {
    background-color: transparent !important;
    color: #444444 !important;
    padding: 0 !important;
    border: none !important;
}

.wc-block-mini-cart .wc-block-mini-cart__badge {
    top: -5px !important;
    right: -10px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    line-height: 14px !important;
    font-size: 8px !important;
}

.header-navigation .wp-block-navigation-item__label {
    letter-spacing: 2px;
}

/* Header UI Stability & Mobile Responsiveness */
/* Hamburger Animation */
.mobile-menu-toggle.is-active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active .line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Icon Alignment Fixes */
.header-icons-group {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
}

.header-icons-group a,
.header-icons-group .wc-block-mini-cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.header-icon .dashicons {
    font-size: 1.25rem !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
}

.header-logo-group {
    display: flex !important;
    align-items: center !important;
}

/* Footer Dark Luxury Styling */
.site-footer {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

.site-footer h4,
.site-footer h2 {
    color: #ffffff !important;
}

.site-footer p:not(.footer-brand-name),
.site-footer a {
    color: #b0b0b0 !important;
    font-size: 0.85rem !important;
}

.footer-brand-name {
    font-size: 4.5rem !important;
    line-height: 1 !important;
    color: #ffffff !important;
}

.site-footer a:hover {
    color: #ffffff !important;
}

.footer-newsletter-section {
    background-color: transparent !important;
    padding: 8rem 2rem !important;
    border-top: 1px solid #333333;
}

.site-footer .wp-block-search__input {
    background-color: #222222 !important;
    border: 1px solid #333333 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
}

.site-footer .wp-block-search__button {
    background-color: #c5b358 !important;
    /* Gold/Beige color from mockup */
    color: #000000 !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    padding: 0.75rem 2rem !important;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact-item .dashicons {
    color: #ffffff;
    font-size: 1rem;
    margin-top: 3px;
}

/* Footer Alignment Fixes */
.site-footer .wp-block-navigation {
    margin-top: 1.5rem;
}

.site-footer .wp-block-navigation ul {
    padding-left: 0 !important;
    list-style: none !important;
    margin: 0 !important;
}

.site-footer .wp-block-navigation-item {
    margin-bottom: 0.75rem !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.site-footer .wp-block-navigation ul {
    gap: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.site-footer .wp-block-navigation-item__label {
    letter-spacing: normal !important;
    text-transform: none !important;
    font-size: 0.85rem !important;
}

.footer-contact-item p {
    margin: 0 !important;
    line-height: 1.4 !important;
}

.footer-links-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 1.5rem !important;
}

.footer-links-list li {
    margin-bottom: 0.75rem !important;
}

.footer-links-list a {
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-links-list a:hover {
    color: #ffffff !important;
}

.site-footer h4 {
    margin-bottom: 1.5rem !important;
}

.site-footer .wp-block-social-links {
    margin-top: 1.5rem !important;
    padding-left: 0 !important;
}

/* Shop Page Category Chips */
.shop-category-chips {
    justify-content: center;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 3rem;
    margin-bottom: 4rem !important;
}

.chip {
    padding: 0.8rem 2rem !important;
    border-radius: 5px !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    background-color: transparent !important;
    color: #444 !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #eee !important;
}

.chip:hover,
.chip.active {
    background-color: #1a1a1a !important;
    color: #fff !important;
    border-color: #1a1a1a !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}



/* Product Grid Enhancements */
.product-card-wrapper {
    transition: transform 0.3s ease;
}

.product-card-wrapper:hover {
    transform: translateY(-5px);
}

.product-card-wrapper .woocommerce-loop-product__title {
    font-family: var(--wp--preset--font-family--eb-garamond) !important;
    font-size: 1.25rem !important;
    color: #1a1a1a !important;
    margin-bottom: 0.5rem !important;
}

.product-card-wrapper .price {
    color: #666 !important;
    font-size: 0.9rem !important;
}

.product-card-wrapper .wp-block-woocommerce-product-button a {
    background-color: transparent !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
    border-radius: 0 !important;
    transition: all 0.3s ease !important;
}

.product-card-wrapper .wp-block-woocommerce-product-button a:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* Pagination Styling */
.wp-block-query-pagination {
    border-top: 1px solid #eeeeee;
    padding-top: 3rem;
}

.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-numbers span {
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem !important;
    text-decoration: none !important;
    color: #000 !important;
    font-size: 0.85rem !important;
    border-bottom: 2px solid transparent;
}

.wp-block-query-pagination-numbers .current {
    font-weight: 700 !important;
    border-bottom-color: #000 !important;
}

/* Classic WooCommerce Checkout Layout Fixes */
.woocommerce-checkout .col2-set {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4rem !important;
    margin-bottom: 4rem !important;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    flex: 1 !important;
    min-width: 300px !important;
}

.woocommerce-checkout #order_review_heading {
    margin-top: 4rem !important;
    font-family: var(--wp--preset--font-family--eb-garamond) !important;
    font-size: 2.25rem !important;
    border-bottom: 1px solid #eee !important;
    padding-bottom: 1rem !important;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 1.5rem !important;
}

.form-row-wide {
    grid-column: span 2 !important;
}

/* Button Styling for Classic WooCommerce */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 0 !important;
    padding: 1rem 2.5rem !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-block !important;
    font-size: 0.75rem !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: #333 !important;
    transform: translateY(-2px) !important;
}

.woocommerce .cart-collaterals .cart_totals table {
    border-collapse: collapse !important;
    width: 100% !important;
}

.woocommerce-cart .actions .button {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.7rem !important;
}

#payment {
    background: #f9f9f9 !important;
    padding: 2rem !important;
    margin-top: 2rem !important;
}

/* Single Product Luxury Refinement */
.single-product-main .product-info-sticky {
    align-self: flex-start;
}

.single-product-main .wp-block-woocommerce-product-title {
    color: #1a1a1a !important;
}

.single-product-main .price {
    color: #444 !important;
}

/* Polishing WooCommerce Add to Cart Form for Luxury Feel */
.single-product-main .cart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.single-product-main .quantity {
    display: inline-flex !important;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
    gap: 1.5rem;
}

.single-product-main .quantity input.qty {
    border: none !important;
    padding: 0 !important;
    width: 3rem !important;
    text-align: center !important;
    background: transparent !important;
    font-weight: 600;
    font-size: 1.1rem;
    -moz-appearance: textfield;
    appearance: textfield;
}

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

.qty-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: #000;
    padding: 0;
    line-height: 1;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    opacity: 0.5;
}

.single-product-main .single_add_to_cart_button {
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 1.25rem 3rem !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.single-product-main .single_add_to_cart_button:hover {
    background-color: #333333 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Related Products Grid Spacing */
.single-product-main .wp-block-woocommerce-related-products ul.products {
    gap: 2rem !important;
}

.single-product-main .wp-block-woocommerce-related-products .product {
    margin: 0 !important;
}

/* My Account Luxury Beautification */
.my-account-main .woocommerce {
    display: flex !important;
    gap: 4rem;
    align-items: flex-start;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 250px !important;
    background: transparent;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 0.5rem !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex !important;
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    text-decoration: none !important;
    color: #666 !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.woocommerce-MyAccount-navigation ul li a:before {
    font-family: dashicons;
    margin-right: 1rem;
    font-size: 1.2rem;
    opacity: 0.7;
}

/* Dashicon mapping for sidebar icons */
.woocommerce-MyAccount-navigation-link--dashboard a:before {
    content: "\f226";
}

.woocommerce-MyAccount-navigation-link--orders a:before {
    content: "\f174";
}

.woocommerce-MyAccount-navigation-link--downloads a:before {
    content: "\f316";
}

.woocommerce-MyAccount-navigation-link--edit-address a:before {
    content: "\f102";
}

.woocommerce-MyAccount-navigation-link--edit-account a:before {
    content: "\f111";
}

.woocommerce-MyAccount-navigation-link--customer-logout a:before {
    content: "\f141";
    color: #ff4d4d;
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #ff4d4d !important;
    margin-top: 2rem;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #2d4a4a !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(45, 74, 74, 0.2) !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1 !important;
    background: #ffffff;
    padding: 2.5rem !important;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.03);
    float: none !important;
    width: auto !important;
}

/* My Account Orders Table Stylings */
.my-account-main table.shop_table {
    border: none !important;
    border-radius: 0 !important;
    width: 100% !important;
}

.my-account-main table.shop_table thead th {
    background: transparent !important;
    border-bottom: 1px solid #eee !important;
    color: #999 !important;
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
    letter-spacing: 1px !important;
    padding: 1.5rem !important;
    font-weight: 700 !important;
    text-align: left !important;
}

.my-account-main table.shop_table tbody td {
    padding: 2rem 1.5rem !important;
    border-bottom: 1px solid #f9f9f9 !important;
    vertical-align: middle !important;
    color: #1a1a1a !important;
}

.my-account-main .woocommerce-orders-table__cell-order-number a {
    color: #2d4a4a !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Order Status Badge Styling according to image */
.woocommerce-orders-table__cell-order-status mark {
    display: inline-flex;
    align-items: center;
    padding: 6px 15px !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 0.7rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.woocommerce-orders-table__cell-order-status mark:before {
    content: "●";
    margin-right: 8px;
    font-size: 10px;
}

/* Status specific colors */
.woocommerce-orders-table__cell-order-status mark.delivered {
    background: #e6f7ed !important;
    color: #28a745 !important;
}

.woocommerce-orders-table__cell-order-status mark.processing {
    background: #fff8e6 !important;
    color: #f0ad4e !important;
}

.woocommerce-orders-table__cell-order-status mark.on-hold {
    background: #fef1f1 !important;
    color: #d9534f !important;
}

/* Action Links */
.woocommerce-orders-table__cell-order-actions a.button {
    background: transparent !important;
    color: #2d4a4a !important;
    border: none !important;
    text-transform: capitalize !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
}

.woocommerce-orders-table__cell-order-actions a.button:hover {
    text-decoration: underline !important;
    transform: none !important;
}

/* Pagination Styling matching image */
.woocommerce-pagination {
    margin-top: 3rem !important;
    text-align: left !important;
}

.woocommerce-pagination .page-numbers {
    display: flex !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
}

.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    color: #2d4a4a !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.woocommerce-pagination .page-numbers li span.current {
    background: #2d4a4a !important;
    color: #fff !important;
    border-color: #2d4a4a !important;
}

@media (max-width: 991px) {
    .my-account-main .woocommerce {
        flex-direction: column;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100% !important;
    }
}

/* Visual Collections Grid - Reference Match */
.collections-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}

.collection-card-luxury {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.card-bg-image {
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-card-luxury:hover .card-bg-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
    pointer-events: none;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
}

.card-count {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.card-title {
    color: #fff !important;
    font-family: var(--wp--preset--font-family--eb-garamond) !important;
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    margin-bottom: 0.75rem !important;
}

.card-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 90%;
}

.card-button {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: #1a1a1a;
    text-decoration: none !important;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.card-button span {
    margin-left: 0.5rem;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.collection-card-luxury:hover .card-button {
    background-color: #f0f0f0;
}

.collection-card-luxury:hover .card-button span {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .collections-visual-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-content {
        padding: 2rem;
    }

    .card-title {
        font-size: 2rem !important;
    }
}

/* Custom Wishlist Button Styles */
.eden-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.eden-wishlist-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.eden-wishlist-btn .dashicons {
    color: #ccc;
    font-size: 18px;
    width: 18px;
    height: 18px;
    transition: color 0.3s ease;
}

.eden-wishlist-btn:hover .dashicons {
    color: #d26e4b;
    /* Accent color or brand color */
}

.eden-wishlist-btn.active .dashicons {
    color: #d26e4b;
}

/* Parent container needs relative positioning */
.product-card-wrapper .relative,
.wc-block-grid__product,
.product {
    position: relative;
}

/* Single Product Page Wishlist Button override */
.summary .eden-wishlist-btn {
    position: relative;
    top: auto;
    right: auto;
    display: inline-flex;
    margin-left: 10px;
    vertical-align: middle;
    background: transparent;
    box-shadow: none;
    border: 1px solid #eee;
    width: 45px;
    height: 45px;
}

@media screen and (max-width: 991px) {
    main.wp-block-group {
        padding-top: 72px !important;
    }
}

/* Premium Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounceSubtle {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
    animation: fadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-bounce-subtle {
    animation: bounceSubtle 4s ease-in-out infinite;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
}

/* Custom Scrollbar for Luxury Feel */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c5b358;
}

/* ==========================================================================
   WooCommerce Premium Luxury Overrides
   ========================================================================== */

/* 1. Global Components & Typography */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    @apply bg-black text-white text-[0.65rem] font-bold tracking-[2px] uppercase px-8 py-4 rounded-none transition-all duration-300 hover:bg-[#c5b358] hover:text-white border-none cursor-pointer inline-block;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
    @apply bg-black text-white px-10 py-5 text-[0.7rem] hover:bg-[#c5b358];
}

/* 2. Cart Page Refinement */
.woocommerce-cart-form {
    @apply border-t border-black/5;
}

.shop_table.cart {
    @apply border-collapse w-full mb-12 !border-none;
}

.shop_table.cart thead th {
    @apply bg-transparent py-8 text-[0.6rem] font-bold tracking-[4px] uppercase text-black/40 border-b border-black/5 text-left px-4;
}

.shop_table.cart tbody td {
    @apply py-10 px-4 border-b border-black/5 align-middle;
}

/* Cart Product Details */
.product-thumbnail img {
    @apply w-24 h-32 object-cover grayscale transition-all duration-500 hover:grayscale-0;
}

.product-name a {
    @apply text-xl lg:text-2xl font-normal text-black hover:text-[#c5b358] transition-colors leading-tight;
    font-family: var(--wp--preset--font-family--eb-garamond);
}

.product-price,
.product-subtotal {
    @apply text-sm font-medium text-black tracking-wider;
}

.product-remove a.remove {
    @apply !bg-transparent !text-black/20 hover: !text-black text-2xl font-light transition-colors !rounded-none;
}

/* Cart Quantity Fixed */
.quantity {
    @apply flex items-center border border-black/10 w-fit h-12 bg-white px-2;
}

.quantity .qty-btn {
    @apply w-8 h-full flex items-center justify-center bg-transparent border-none text-black cursor-pointer hover:text-[#c5b358] transition-colors text-lg font-light;
}

.quantity input.qty {
    @apply w-12 h-full text-center bg-transparent border-none text-sm font-bold focus:ring-0 p-0 m-0;
    -moz-appearance: textfield;
}

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

/* Cart Actions & Coupon */
.actions {
    @apply flex flex-col md:flex-row items-center justify-between gap-8 py-10;
}

.coupon {
    @apply flex items-center gap-4;
}

.coupon input#coupon_code {
    @apply h-12 px-6 border border-black/10 rounded-none focus:border-black transition-colors w-48 text-[0.7rem] uppercase tracking-widest font-medium;
}

.actions .button[name="update_cart"] {
    @apply opacity-50 hover:opacity-100 bg-transparent text-black border border-black/10 hover:border-black;
}

/* Cart Totals */
.cart-collaterals {
    @apply grid grid-cols-1 lg:grid-cols-12 gap-16 mt-16;
}

.cart_totals {
    @apply lg:col-start-7 lg:col-span-6 bg-[#fafafa] p-10 lg:p-16 border border-black/5;
}

.cart_totals h2 {
    @apply text-[0.6rem] font-bold tracking-[4px] uppercase text-black/40 mb-10 pb-4 border-b border-black/10;
}

.shop_table_responsive tr {
    @apply flex justify-between py-6 border-b border-black/5 items-center;
}

.shop_table_responsive th {
    @apply text-[0.65rem] font-bold tracking-[2px] uppercase text-black/60 text-left;
}

.shop_table_responsive td {
    @apply text-lg font-medium text-black text-right;
}

.order-total {
    @apply border-b-2 border-black/10 !py-8;
}

.order-total td {
    @apply text-3xl font-normal text-black;
    font-family: var(--wp--preset--font-family--eb-garamond);
}

.wc-proceed-to-checkout {
    @apply mt-12;
}

.wc-proceed-to-checkout a.checkout-button {
    @apply block w-full py-6 text-[0.8rem] tracking-[5px] text-center bg-black hover:bg-[#c5b358];
}

/* 3. Checkout Page Refinement */
.woocommerce-checkout {
    @apply space-y-12;
}

.woocommerce-NoticeGroup {
    @apply mb-12;
}

.woocommerce-error {
    @apply bg-red-50 border-l-4 border-red-500 p-6 text-sm text-red-700 list-none;
}

.col2-set {
    @apply grid grid-cols-1 lg:grid-cols-2 gap-16;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading {
    @apply text-[0.6rem] font-bold tracking-[4px] uppercase text-black/40 mb-8 pb-4 border-b border-black/10;
}

form .form-row {
    @apply mb-6;
}

form .form-row label {
    @apply block text-[0.6rem] font-bold tracking-[2px] uppercase text-black/60 mb-2;
}

form .form-row input.input-text,
form .form-row select,
form .form-row textarea {
    @apply w-full h-12 px-6 border border-black/10 rounded-none focus:border-black transition-colors outline-none text-sm font-medium bg-white;
}

form .form-row textarea {
    @apply h-32 py-4;
}

/* Order Review */
#order_review {
    @apply bg-[#fafafa] p-10 lg:p-16 border border-black/5;
}

.shop_table.woocommerce-checkout-review-order-table {
    @apply w-full border-collapse mb-10;
}

.shop_table.woocommerce-checkout-review-order-table thead,
.shop_table.woocommerce-checkout-review-order-table tfoot .cart-subtotal,
.shop_table.woocommerce-checkout-review-order-table tfoot .shipping {
    @apply hidden;
    /* Simplified for luxury aesthetic */
}

.shop_table.woocommerce-checkout-review-order-table tbody td {
    @apply py-4 border-b border-black/5;
}

.shop_table.woocommerce-checkout-review-order-table .product-name {
    @apply text-sm font-medium text-black/80;
}

.shop_table.woocommerce-checkout-review-order-table .product-total {
    @apply text-sm font-bold text-black text-right;
}

.shop_table.woocommerce-checkout-review-order-table tfoot .order-total th {
    @apply text-[0.6rem] font-bold tracking-[3px] uppercase text-black/40 pt-10;
}

.shop_table.woocommerce-checkout-review-order-table tfoot .order-total td {
    @apply text-3xl font-normal text-black text-right pt-10;
    font-family: var(--wp--preset--font-family--eb-garamond);
}

/* Payment Methods */
#payment {
    @apply bg-transparent p-0 border-none;
}

#payment ul.payment_methods {
    @apply border-none p-0 space-y-4 mb-8;
}

#payment ul.payment_methods li {
    @apply bg-white border border-black/5 p-6 transition-all duration-300;
}

#payment ul.payment_methods li input {
    @apply mr-4;
}

#payment ul.payment_methods li label {
    @apply text-[0.7rem] font-bold tracking-[2px] uppercase text-black cursor-pointer;
}

#payment div.payment_box {
    @apply bg-transparent p-4 mt-4 text-xs text-black/60 leading-relaxed border-t border-black/5 !m-0;
}

#place_order {
    @apply w-full py-6 text-[0.8rem] tracking-[5px] !bg-black hover: !bg-[#c5b358];
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .shop_table.cart thead {
        @apply hidden;
    }

    .shop_table.cart tbody tr {
        @apply block border border-black/5 mb-8 p-4 relative;
    }

    .shop_table.cart tbody td {
        @apply block border-none text-right py-4 px-0;
    }

    .shop_table.cart tbody td::before {
        content: attr(data-title);
        @apply float-left text-[0.5rem] font-bold tracking-[2px] uppercase text-black/40;
    }

    .product-thumbnail {
        @apply text-center mb-4;
    }

    .product-thumbnail img {
        @apply mx-auto w-48 h-auto;
    }

    .product-remove {
        @apply absolute top-2 right-2;
    }

    .product-remove td::before {
        @apply hidden;
    }

    .actions {
        @apply items-stretch;
    }

    .coupon {
        @apply flex-col;
    }

    .coupon input#coupon_code {
        @apply w-full;
    }

    .cart_totals {
        @apply p-6;
    }
}

/* 4. WooCommerce Notices & Messages */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreview {
    @apply bg-white border border-black/5 p-6 mb-12 text-[0.7rem] font-bold tracking-[2px] uppercase flex items-center justify-between list-none;
}

.woocommerce-message {
    @apply border-l-4 border-[#c5b358];
}

.woocommerce-info {
    @apply border-l-4 border-black;
}

.woocommerce-error {
    @apply border-l-4 border-red-500 text-red-500;
}

.woocommerce-message .button,
.woocommerce-info .button {
    @apply !py-2 !px-4 !text-[0.5rem] !bg-black !text-white hover: !bg-[#c5b358] ml-4;
}

/* Empty Cart & Return to Shop */
.cart-empty,
.return-to-shop {
    @apply text-center py-20 lg:py-32;
}

.cart-empty {
    @apply text-2xl lg:text-4xl font-normal text-black/40 mb-12;
    font-family: var(--wp--preset--font-family--eb-garamond);
}

.return-to-shop a.button {
    @apply px-12 py-6 text-[0.8rem] tracking-[4px] bg-black text-white hover:bg-[#c5b358] transition-all;
}

/* Password Strength Meter */
.woocommerce-password-strength {
    @apply text-[0.6rem] font-bold uppercase tracking-[2px] mt-2 py-2 px-4;
}

.woocommerce-password-strength.strong {
    @apply bg-green-50 text-green-700;
}

.woocommerce-password-strength.short {
    @apply bg-red-50 text-red-700;
}

.woocommerce-password-strength.bad {
    @apply bg-orange-50 text-orange-700;
}

.woocommerce-password-strength.good {
    @apply bg-blue-50 text-blue-700;
}

/* Login / Register Toggle */
.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle {
    @apply bg-[#fafafa] border border-black/5 p-6 mb-8 text-[0.65rem] font-bold tracking-[2px] uppercase text-black/60;
}

.woocommerce-form-login-toggle a,
.woocommerce-form-coupon-toggle a {
    @apply text-black underline hover:text-[#c5b358] transition-colors;
}