/* 
 * Custom WooCommerce Styles 
 * Colors:
 * - Background: #000000 / #111111
 * - Primary Accent (Teal): #00b5bc
 * - Text: #FFFFFF
 * - Font: Montserrat 
 */

/* Import Montserrat if not already loaded by theme */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

/* Basic setup and CSS variables */
:root {
    --wc-bg-main: #000000;
    --wc-bg-secondary: #111111;
    --wc-accent-color: #00b5bc;
    --wc-accent-hover: #00969b;
    --wc-text-main: #FFFFFF;
    --wc-text-muted: #BBBBBB;
    --wc-border: #333333;
    --wc-font: 'Montserrat', sans-serif;
}

/* Base Body Styles for WooCommerce Pages */
.woocommerce,
.woocommerce-page {
    font-family: var(--wc-font) !important;
    background-color: var(--wc-bg-main);
    color: var(--wc-text-main);
}

.woocommerce-page main {
    background-color: var(--wc-bg-main);
    color: var(--wc-text-main);
    padding: 60px 0;
}

/* Hiding Global Breadcrumb to show it inside left card */
body.single-product>.woocommerce-breadcrumb {
    display: none;
}

/* Single Product Layout v2 */
.wc-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    align-items: stretch;
}

.wc-product-left-card,
.wc-product-right-card {
    background: var(--wc-bg-secondary);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    width: calc(50% - 15px);
    display: flex;
    flex-direction: column;
}

/* Left Card: Breadcrumbs */
.wc-product-breadcrumb .woocommerce-breadcrumb {
    margin: 0 0 20px 0;
    padding: 0;
    font-size: 14px;
    color: var(--wc-text-muted);
}

.wc-product-breadcrumb .woocommerce-breadcrumb a {
    color: var(--wc-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.wc-product-breadcrumb .woocommerce-breadcrumb a:hover {
    color: var(--wc-accent-hover);
}

.wc-product-images-area {
    width: 100%;
}

.wc-product-bottom-card {
    background: var(--wc-bg-secondary);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    margin: 30px auto 60px;
    width: calc(100% - 40px);
}

/* Removed empty ruleset for .woocommerce #content div.product, etc. */

/* Product Gallery */
.woocommerce div.product div.images,
.woocommerce-page div.product div.images {
    width: 100% !important;
    max-width: 100% !important;
    float: none;
    margin-bottom: 0;
}

.woocommerce div.product div.images img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    width: 100% !important;
    max-width: 100% !important;
}

/* Fix for gallery peeking issue */
.woocommerce div.product div.images .flex-viewport {
    overflow: hidden !important;
    border-radius: 8px;
}

.woocommerce div.product div.images .slides li {
    margin-right: 0 !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    padding-top: 10px;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 4px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    opacity: 1;
}

/* Product Summary / Info */
.wc-product-summary-content {
    color: var(--wc-text-main);
}

/* Headings & Text */
.woocommerce div.product .product_title,
.woocommerce div.product h1.product_title {
    color: var(--wc-text-main);
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--wc-text-main);
}

.woocommerce div.product p.price del {
    font-size: 20px;
    color: var(--wc-text-muted);
    font-weight: 400;
    opacity: 0.6;
}

/* Savings Badge */
.wc-savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--wc-text-main);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.wc-savings-badge svg {
    color: var(--wc-text-main);
}

/* Rating */
.woocommerce .woocommerce-product-rating {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.woocommerce .woocommerce-product-rating .star-rating {
    color: var(--wc-text-main);
    font-size: 14px;
}

.woocommerce .woocommerce-product-rating .woocommerce-review-link {
    color: var(--wc-text-muted);
    font-size: 14px;
    text-decoration: none;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    color: var(--wc-text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Badges */
.woocommerce span.onsale {
    background-color: var(--wc-accent-color);
    color: var(--wc-text-main);
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    padding: 5px 15px;
    min-height: auto;
    min-width: auto;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 181, 188, 0.4);
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9;
}

/* Buttons (Add to Cart, etc.) */
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
    border-radius: 5px;
    padding: 0 40px;
    height: 52px;
    /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: var(--wc-font);
    cursor: pointer;
    flex-grow: 1;
    text-align: center;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* Disabled button */
.woocommerce button.button.alt.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.woocommerce div.product form.cart {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 15px;
}

/* Quantity Input and Buttons Wrapper */
.woocommerce .quantity {
    display: flex !important;
    align-items: center;
    gap: 5px;
    /* Added gap to match screenshot's separate boxes */
    min-height: 52px;
    margin: 0px;
}

form.cart .quantity+button,
form.woocommerce-cart-form .quantity+button {
    margin-top: 0px;
}

.woocommerce .quantity .qty {
    background-color: transparent;
    border: 1px solid var(--wc-border);
    color: var(--wc-text-main);
    padding: 0 10px;
    height: 52px;
    border-radius: 5px;
    width: 80px;
    font-family: var(--wc-font);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

/* Plus/Minus Buttons */
.woocommerce .quantity .minus,
.woocommerce .quantity .plus {
    width: 45px;
    height: 52px;
    background: transparent;
    border: 1px solid var(--wc-border);
    color: var(--wc-text-main);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    border-radius: 5px;
}

.woocommerce .quantity .minus:hover,
.woocommerce .quantity .plus:hover {
    background: var(--wc-border);
}

/* Chrome/Safari fix for number arrows */
.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce .quantity .qty {
    -moz-appearance: textfield;
    appearance: none;
}

/* Variations Table */
.woocommerce div.product form.cart .variations {
    width: 100%;
    margin-bottom: 25px;
}

.woocommerce div.product form.cart .variations th {
    text-align: left;
    color: var(--wc-text-muted);
    font-weight: 400;
    padding-bottom: 10px;
}

.woocommerce div.product form.cart .variations td.value select {
    width: 100%;
    background-color: transparent;
    border: 1px solid var(--wc-border);
    color: var(--wc-text-main);
    padding: 12px;
    border-radius: 5px;
    font-family: var(--wc-font);
    appearance: none;
    -webkit-appearance: none;
}

.woocommerce table.shop_attributes {
    border: none;
    margin-top: 30px;
    border-top: 1px solid var(--wc-border);
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    padding: 15px 0;
    border-bottom: 1px solid var(--wc-border);
    color: var(--wc-text-muted);
}

.woocommerce table.shop_attributes th {
    color: var(--wc-text-main);
    font-weight: 600;
}

/* Product Meta */
.woocommerce div.product .product_meta {
    margin-top: 30px;
    color: var(--wc-text-main);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.woocommerce div.product .product_meta>span {
    display: inline-block;
}

.woocommerce div.product .product_meta a {
    color: var(--wc-text-main);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce div.product .product_meta a:hover {
    color: var(--wc-accent-hover);
}

.woocommerce div.product .product_meta .sku_wrapper,
.woocommerce div.product .product_meta .posted_in,
.woocommerce div.product .product_meta .tagged_as {
    color: var(--wc-text-muted);
}

/* Custom Guarantees List */
.wc-product-guarantees {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--wc-border);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wc-product-guarantees .guarantee-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--wc-text-muted);
    font-size: 15px;
}

.wc-product-guarantees .guarantee-item svg {
    color: var(--wc-text-muted);
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs {
    width: 100%;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    margin: 0;
    padding: 20px 0px;
    border-bottom: 1px solid var(--wc-border);
    display: flex;
    gap: 40px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none;
    background: transparent;
    padding: 0 0 15px 0;
    margin: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--wc-text-main);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: transparent;
    border-bottom-color: var(--wc-text-main);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    font-weight: 700;
}

.woocommerce div.product .woocommerce-tabs .panel {
    background: transparent;
    color: var(--wc-text-muted);
    padding: 30px 0;
    border: none;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    display: none;
}

/* Related Products */
.woocommerce .related.products {
    width: 100%;
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid var(--wc-border);
}

.woocommerce .related.products h2 {
    color: var(--wc-text-main);
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

/* Forms and Inputs */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    background-color: var(--wc-bg-secondary);
    border: 1px solid var(--wc-border);
    color: var(--wc-text-main);
    padding: 12px;
    border-radius: 5px;
    width: 100%;
    font-family: var(--wc-font);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    outline: none;
    border-color: var(--wc-accent-color);
}

.woocommerce form .form-row label {
    color: var(--wc-text-main);
}

/* Shop Loop / Category Page */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 100% !important;
    /* override WC inline styles */
    margin: 0 !important;
    background: var(--wc-bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0;
}

.woocommerce ul.products li.product .wc-custom-loop-inner a.woocommerce-LoopProduct-link {
    text-decoration: none;
    display: block;
}

.woocommerce ul.products li.product .wc-custom-loop-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--wc-text-main);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px 0;
    padding: 0;
}

.woocommerce ul.products li.product .price {
    color: var(--wc-accent-color);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
}

.woocommerce ul.products li.product .button {
    margin: auto 20px 20px 20px;
    text-align: center;
}

/* Category Headers */
.woocommerce .woocommerce-products-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--wc-border);
    padding-bottom: 20px;
}

.woocommerce .woocommerce-products-header__title {
    color: var(--wc-text-main);
    font-size: 32px;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    color: var(--wc-text-muted);
}

.woocommerce .woocommerce-ordering select {
    background-color: var(--wc-bg-secondary);
    color: var(--wc-text-main);
    border: 1px solid var(--wc-border);
    padding: 8px 12px;
    border-radius: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .wc-cards-container {
        flex-direction: column;
    }

    .wc-product-left-card,
    .wc-product-right-card {
        width: 100%;
    }

    .woocommerce div.product div.images,
    .woocommerce-page div.product div.images,
    .woocommerce div.product div.summary,
    .woocommerce-page div.product div.summary {
        width: 100%;
        float: none;
    }

    .woocommerce .col2-set .col-1,
    .woocommerce-page .col2-set .col-1,
    .woocommerce .col2-set .col-2,
    .woocommerce-page .col2-set .col-2 {
        float: none;
        width: 100%;
    }

    .woocommerce table.shop_table_responsive tr td {
        display: block;
        text-align: right;
    }

    .woocommerce table.shop_table_responsive tr td::before {
        content: attr(data-title) ": ";
        float: left;
        font-weight: bold;
    }

    .woocommerce div.product form.cart {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce div.product form.cart .button {
        width: 100%;
    }
}

/* ============================================================
   PREMIUM CART PAGE
   ============================================================ */

.wc-premium-cart-page {
    max-width: 1340px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    font-family: var(--wc-font);
}

/* --- Cart Header --- */
.wc-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wc-cart-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wc-cart-title {
    color: var(--wc-text-main);
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1;
}

.wc-cart-title svg {
    color: var(--wc-accent-color);
}

.wc-cart-item-count {
    background: rgba(0, 181, 188, 0.1);
    color: var(--wc-accent-color);
    font-size: 14px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 181, 188, 0.2);
}

.wc-cart-continue-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--wc-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wc-cart-continue-link:hover {
    color: var(--wc-accent-color);
}

.wc-cart-continue-link:hover svg {
    transform: translateX(-4px);
    transition: transform 0.3s ease;
}

/* --- Cart Layout --- */
.wc-cart-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.wc-cart-items-column {
    flex: 1;
    min-width: 0;
}

.wc-cart-summary-column {
    width: 400px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

/* --- Cart Item Cards --- */
.wc-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wc-cart-item-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: wc-cart-item-enter 0.5s ease forwards;
    opacity: 0;
    transform: translateY(15px);
}

@keyframes wc-cart-item-enter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wc-cart-item-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Product Image */
.wc-cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-cart-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wc-cart-item-card:hover .wc-cart-item-image img {
    transform: scale(1.05);
}

.wc-cart-item-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Product Info */
.wc-cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.wc-cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.wc-cart-item-meta {
    flex: 1;
    min-width: 0;
}

.wc-cart-item-name {
    color: var(--wc-text-main);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: color 0.3s ease;
    line-height: 1.3;
}

a.wc-cart-item-name:hover {
    color: var(--wc-accent-color);
}

.wc-cart-item-variation {
    color: var(--wc-text-muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.wc-cart-item-variation dt {
    display: inline;
    font-weight: 600;
}

.wc-cart-item-variation dd {
    display: inline;
    margin-left: 2px;
    margin-right: 12px;
}

.wc-cart-item-variation p {
    margin: 0;
}

.wc-cart-item-unit-price {
    color: var(--wc-text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* Remove Button */
.wc-cart-item-remove-wrap {
    flex-shrink: 0;
}

.wc-cart-remove-btn {
    width: 38px;
    height: 38px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--wc-text-muted) !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wc-cart-remove-btn:hover {
    background: rgba(255, 77, 77, 0.15);
    border-color: rgba(255, 77, 77, 0.3);
    color: #ff4d4d !important;
    transform: scale(1.05);
}

/* Bottom Row: Quantity + Subtotal */
.wc-cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Cart page quantity selector */
.wc-cart-item-qty-wrap .quantity {
    display: flex !important;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 42px;
}

.wc-cart-item-qty-wrap .quantity .minus,
.wc-cart-item-qty-wrap .quantity .plus {
    width: 38px;
    height: 42px;
    background: transparent;
    border: none;
    color: var(--wc-text-main);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    border-radius: 0;
}

.wc-cart-item-qty-wrap .quantity .minus:hover,
.wc-cart-item-qty-wrap .quantity .plus:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--wc-accent-color);
}

.wc-cart-item-qty-wrap .quantity .qty {
    width: 48px;
    height: 42px;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--wc-text-main);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--wc-font);
    border-radius: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.wc-cart-item-qty-wrap .quantity .qty::-webkit-outer-spin-button,
.wc-cart-item-qty-wrap .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Subtotal */
.wc-cart-item-subtotal {
    font-size: 20px;
    font-weight: 700;
    color: var(--wc-text-main);
}

.wc-cart-item-subtotal .woocommerce-Price-amount {
    color: var(--wc-text-main);
}

/* Backorder Notice */
.wc-cart-backorder-notice {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffc107;
    font-size: 13px;
    margin-top: 8px;
}

/* --- Cart Actions Bar --- */
.wc-cart-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 16px;
    flex-wrap: wrap;
}

/* Coupon */
.wc-cart-coupon-wrap {
    flex: 1;
    max-width: 400px;
}

.wc-cart-coupon-inner {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wc-cart-coupon-inner:focus-within {
    border-color: var(--wc-accent-color);
    box-shadow: 0 0 20px rgba(0, 181, 188, 0.1);
}

.wc-cart-coupon-icon {
    color: var(--wc-text-muted);
    margin-left: 14px;
    flex-shrink: 0;
}

.wc-cart-coupon-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: var(--wc-text-main) !important;
    padding: 13px 14px !important;
    font-family: var(--wc-font) !important;
    font-size: 14px !important;
    outline: none !important;
    box-shadow: none !important;
    min-width: 0;
}

.wc-cart-coupon-input::placeholder {
    color: var(--wc-text-muted);
}

.wc-cart-coupon-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--wc-text-main);
    border: none;
    padding: 13px 20px;
    font-family: var(--wc-font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-cart-coupon-btn:hover {
    background: var(--wc-accent-color);
    color: #ffffff;
}

/* Update Cart Button */
.wc-cart-update-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--wc-text-main);
    padding: 12px 24px;
    border-radius: 12px;
    font-family: var(--wc-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wc-cart-update-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.wc-cart-update-btn svg {
    transition: transform 0.3s ease;
}

.wc-cart-update-btn:hover svg {
    transform: rotate(180deg);
}

/* --- Order Summary Sidebar --- */
.wc-cart-summary-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wc-cart-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wc-cart-summary-title {
    color: var(--wc-text-main);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.wc-cart-summary-badge {
    background: rgba(0, 181, 188, 0.1);
    color: var(--wc-accent-color);
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 16px;
}

/* Override default cart_totals inside new summary */
.wc-cart-summary-card .cart-collaterals {
    padding: 0;
    width: 100%;
    float: none !important;
    clear: both;
}

.wc-cart-summary-card .cart-collaterals .cart_totals {
    width: 100% !important;
    float: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.wc-cart-summary-card .cart-collaterals .cart_totals h2 {
    display: none;
    /* We have our own title */
}

.wc-cart-summary-card .cart-collaterals .cart_totals table {
    width: 100%;
    border: none;
}

.wc-cart-summary-card .cart-collaterals .cart_totals table tr th,
.wc-cart-summary-card .cart-collaterals .cart_totals table tr td {
    padding: 18px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: middle;
    background: transparent;
}

.wc-cart-summary-card .cart-collaterals .cart_totals table tr th {
    text-align: left;
    color: var(--wc-text-muted);
    font-weight: 600;
    font-size: 15px;
}

.wc-cart-summary-card .cart-collaterals .cart_totals table tr td {
    text-align: right;
    color: var(--wc-text-main);
    font-weight: 600;
}

.wc-cart-summary-card .cart-collaterals .cart_totals table tr.order-total th,
.wc-cart-summary-card .cart-collaterals .cart_totals table tr.order-total td {
    border: none;
    padding: 22px 30px;
    font-size: 22px;
    font-weight: 700;
    color: var(--wc-text-main);
    background: rgba(255, 255, 255, 0.02);
}

/* Checkout Button */
.wc-cart-summary-card .wc-proceed-to-checkout {
    padding: 0 30px 28px;
    margin: 0;
    width: 100%;
    float: none !important;
    clear: both !important;
}

.wc-cart-summary-card .wc-proceed-to-checkout .checkout-button {
    width: 100%;
    margin: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
    color: #000000 !important;
    padding: 20px 0 !important;
    border-radius: 14px;
    font-weight: 700;
    font-size: 17px;
    border: none;
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.wc-cart-summary-card .wc-proceed-to-checkout .checkout-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: wc-shimmer 3s ease-in-out infinite;
}

.wc-cart-summary-card .wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

/* WC Responsive Table Label Override */
.wc-cart-summary-card .cart-collaterals table.shop_table_responsive tr td::before {
    display: none !important;
}

/* --- Trust Badges --- */
.wc-cart-trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 24px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.01);
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
}

.wc-cart-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--wc-text-muted);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.wc-cart-trust-item svg {
    color: var(--wc-accent-color);
    flex-shrink: 0;
}

/* ============================================================
   EMPTY CART STATE
   ============================================================ */

/* Hide default WooCommerce empty cart notice on cart page only */
.woocommerce-cart .woocommerce-info {
    display: none;
}

.wc-empty-cart-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 60px 20px;
    text-align: center;
}

.wc-empty-cart-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.wc-empty-cart-icon-wrap {
    position: relative;
    margin-bottom: 30px;
}

.wc-empty-cart-icon {
    color: rgba(255, 255, 255, 0.15);
    animation: wc-empty-cart-float 3s ease-in-out infinite;
}

@keyframes wc-empty-cart-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.wc-empty-cart-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 181, 188, 0.1) 0%, transparent 70%);
    animation: wc-empty-cart-glow 2s ease-in-out infinite alternate;
}

@keyframes wc-empty-cart-glow {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.wc-empty-cart-heading {
    color: var(--wc-text-main);
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px 0;
    font-family: var(--wc-font);
}

.wc-empty-cart-text {
    color: var(--wc-text-muted);
    font-size: 16px;
    max-width: 420px;
    line-height: 1.6;
    margin: 0;
}

.wc-empty-cart-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
    color: #000000 !important;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--wc-font);
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.wc-empty-cart-shop-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: wc-shimmer 3s ease-in-out infinite;
}

.wc-empty-cart-shop-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

/* ============================================================
   CART PAGE MOBILE RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
    .wc-cart-layout {
        flex-direction: column;
    }

    .wc-cart-summary-column {
        width: 100%;
        position: static;
    }

    .wc-cart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .wc-premium-cart-page {
        padding: 20px 15px 60px;
    }

    .wc-cart-title {
        font-size: 24px;
    }

    .wc-cart-item-card {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .wc-cart-item-image {
        width: 100%;
        height: 200px;
        border-radius: 10px;
    }

    .wc-cart-item-name {
        font-size: 16px;
    }

    .wc-cart-item-subtotal {
        font-size: 18px;
    }

    .wc-cart-item-bottom {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .wc-cart-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .wc-cart-coupon-wrap {
        max-width: 100%;
    }

    .wc-cart-update-btn {
        justify-content: center;
    }

    .wc-cart-trust-badges {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .wc-cart-summary-card .cart-collaterals .cart_totals table tr th,
    .wc-cart-summary-card .cart-collaterals .cart_totals table tr td {
        padding: 14px 20px;
    }

    .wc-cart-summary-card .cart-collaterals .cart_totals table tr.order-total th,
    .wc-cart-summary-card .cart-collaterals .cart_totals table tr.order-total td {
        padding: 18px 20px;
        font-size: 18px;
    }

    .wc-cart-summary-card .wc-proceed-to-checkout {
        padding: 0 20px 20px;
    }

    .wc-cart-summary-header {
        padding: 20px;
    }

    .wc-cart-trust-badges {
        padding: 16px 20px 20px;
    }
}

/* Checkout Layout */
.woocommerce .col2-set {
    display: flex;
    flex-wrap: wrap;
    gap: 4% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
    float: none;
    width: 48%;
}

.woocommerce form.checkout h3 {
    color: var(--wc-text-main);
    font-size: 28px;
    margin: 40px 0 20px;
    border-bottom: 1px solid var(--wc-border);
    padding-bottom: 10px;
}

#order_review_heading {
    margin-top: 60px;
}

.woocommerce #order_review {
    background: var(--wc-bg-secondary);
    padding: 30px;
    border-radius: 12px;
}

.woocommerce #payment {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.woocommerce #payment div.payment_box {
    background: #2a2a2a;
    color: var(--wc-text-muted);
}

.woocommerce #payment div.payment_box::before {
    border-bottom-color: #2a2a2a;
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid var(--wc-border);
}

.woocommerce table.shop_table .order-total th,
.woocommerce table.shop_table .order-total td {
    font-size: 18px;
    font-weight: bold;
    color: var(--wc-accent-color);
}

/* ============================================================
   PREMIUM ADD TO CART EXPERIENCE
   ============================================================ */

/* --- Add to Cart Controls --- */
.wc-atc-controls {
    display: flex;
    align-items: stretch;
    gap: 15px;
    width: 100%;
}

/* Premium Quantity Selector */
.wc-premium-cart-form .quantity {
    display: flex !important;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    min-height: 56px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wc-premium-cart-form .quantity:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 181, 188, 0.1);
}

.wc-premium-cart-form .quantity:focus-within {
    border-color: var(--wc-accent-color);
    box-shadow: 0 0 25px rgba(0, 181, 188, 0.2);
}

.wc-premium-cart-form .quantity .minus,
.wc-premium-cart-form .quantity .plus {
    width: 48px;
    height: 56px;
    background: transparent;
    border: none;
    color: var(--wc-text-main);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    border-radius: 0;
    position: relative;
}

.wc-premium-cart-form .quantity .minus:hover,
.wc-premium-cart-form .quantity .plus:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--wc-accent-color);
}

.wc-premium-cart-form .quantity .minus:active,
.wc-premium-cart-form .quantity .plus:active {
    transform: scale(0.9);
}

.wc-premium-cart-form .quantity .qty {
    width: 60px;
    height: 56px;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--wc-text-main);
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--wc-font);
    border-radius: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.wc-premium-cart-form .quantity .qty::-webkit-outer-spin-button,
.wc-premium-cart-form .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- Premium Add to Cart Button --- */
.wc-atc-btn {
    position: relative;
    overflow: hidden;
    min-height: 56px;
    border-radius: 12px !important;
    padding: 0 45px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    cursor: pointer;
    flex-grow: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%) !important;
    color: #000000 !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2),
               0 0 40px rgba(255, 255, 255, 0.05);
}

.wc-atc-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--wc-accent-color), #ffffff, var(--wc-accent-color));
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: wc-gradient-shift 3s ease infinite;
}

@keyframes wc-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.wc-atc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3),
               0 0 60px rgba(0, 181, 188, 0.15) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%) !important;
    color: #000000 !important;
}

.wc-atc-btn:hover::before {
    opacity: 1;
}

.wc-atc-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Shimmer sweep animation on idle */
.wc-atc-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
    animation: wc-shimmer 4s ease-in-out infinite;
}

@keyframes wc-shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* Button Content States */
.wc-atc-btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.wc-atc-icon {
    transition: transform 0.3s ease;
}

.wc-atc-btn:hover .wc-atc-icon {
    transform: scale(1.1) rotate(-5deg);
}

.wc-atc-btn-loading,
.wc-atc-btn-success {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Loading State */
.wc-atc-btn.loading .wc-atc-btn-content {
    opacity: 0;
    transform: translateY(-20px);
}

.wc-atc-btn.loading .wc-atc-btn-loading {
    opacity: 1;
    transform: translateY(0);
}

.wc-atc-spinner {
    animation: wc-spin 0.8s linear infinite;
}

@keyframes wc-spin {
    to { transform: rotate(360deg); }
}

/* Success State */
.wc-atc-btn.success {
    background: linear-gradient(135deg, #00b5bc 0%, #009a9f 100%) !important;
    color: #ffffff !important;
}

.wc-atc-btn.success .wc-atc-btn-content {
    opacity: 0;
    transform: translateY(-20px);
}

.wc-atc-btn.success .wc-atc-btn-loading {
    opacity: 0;
    transform: translateY(20px);
}

.wc-atc-btn.success .wc-atc-btn-success {
    opacity: 1;
    transform: translateY(0);
    color: #ffffff;
}

.wc-atc-btn.success::after {
    display: none;
}

/* --- Premium Variation Selector --- */
.wc-premium-variations-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.wc-premium-variation-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wc-premium-variation-label {
    color: var(--wc-text-main);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.wc-premium-variation-select select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--wc-text-main);
    padding: 14px 16px;
    border-radius: 12px;
    font-family: var(--wc-font);
    font-size: 15px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

.wc-premium-variation-select select:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.wc-premium-variation-select select:focus {
    outline: none;
    border-color: var(--wc-accent-color);
    box-shadow: 0 0 25px rgba(0, 181, 188, 0.15);
}

.wc-premium-variation-select .reset_variations {
    display: inline-block;
    margin-top: 8px;
    color: var(--wc-text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wc-premium-variation-select .reset_variations:hover {
    color: var(--wc-accent-color);
}

/* Hide the old table-based variations if any remain */
.wc-premium-cart-form table.variations {
    display: none;
}


/* ============================================================
   FLYOUT DRAWER - "ADDED TO CART" 
   ============================================================ */

.wc-atc-flyout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.wc-atc-flyout-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wc-atc-flyout {
    position: fixed;
    top: 0;
    right: -480px;
    width: 440px;
    max-width: 90vw;
    height: 100%;
    background: linear-gradient(180deg, #0a0a0a 0%, #111111 50%, #0d0d0d 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 99999;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.wc-atc-flyout.active {
    right: 0;
}

.wc-atc-flyout-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}

/* Flyout Header */
.wc-atc-flyout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 25px;
}

.wc-atc-flyout-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wc-atc-flyout-check {
    color: var(--wc-accent-color);
    animation: wc-flyout-check-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transform: scale(0);
}

@keyframes wc-flyout-check-pop {
    0% { transform: scale(0) rotate(-45deg); }
    60% { transform: scale(1.2) rotate(5deg); }
    100% { transform: scale(1) rotate(0); }
}

.wc-atc-flyout-title {
    color: var(--wc-text-main);
    font-size: 20px;
    font-weight: 700;
    font-family: var(--wc-font);
    animation: wc-flyout-title-slide 0.4s ease forwards;
    opacity: 0;
    transform: translateX(-10px);
}

@keyframes wc-flyout-title-slide {
    to { opacity: 1; transform: translateX(0); }
}

.wc-atc-flyout-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--wc-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wc-atc-flyout-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Flyout Product Card */
.wc-atc-flyout-product {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 25px;
    animation: wc-flyout-product-up 0.5s 0.1s ease forwards;
    opacity: 0;
    transform: translateY(15px);
}

@keyframes wc-flyout-product-up {
    to { opacity: 1; transform: translateY(0); }
}

.wc-atc-flyout-img-wrap {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-atc-flyout-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wc-atc-flyout-product:hover .wc-atc-flyout-img-wrap img {
    transform: scale(1.05);
}

.wc-atc-flyout-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.wc-atc-flyout-name {
    color: var(--wc-text-main);
    font-size: 17px;
    font-weight: 700;
    font-family: var(--wc-font);
    margin: 0;
    line-height: 1.3;
}

.wc-atc-flyout-price {
    color: var(--wc-accent-color);
    font-size: 18px;
    font-weight: 700;
    font-family: var(--wc-font);
}

.wc-atc-flyout-qty {
    color: var(--wc-text-muted);
    font-size: 14px;
    font-weight: 500;
}

/* Flyout Summary */
.wc-atc-flyout-summary {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 30px;
    animation: wc-flyout-product-up 0.5s 0.2s ease forwards;
    opacity: 0;
    transform: translateY(15px);
}

.wc-atc-flyout-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wc-atc-flyout-summary-row:last-child {
    border-bottom: none;
}

.wc-atc-flyout-summary-row span:first-child {
    color: var(--wc-text-muted);
    font-size: 15px;
    font-weight: 500;
}

.wc-atc-flyout-total {
    color: var(--wc-text-main) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}

.wc-atc-flyout-count {
    color: var(--wc-accent-color) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: rgba(0, 181, 188, 0.1);
    padding: 4px 14px;
    border-radius: 20px;
}

/* Flyout Action Buttons */
.wc-atc-flyout-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    animation: wc-flyout-product-up 0.5s 0.3s ease forwards;
    opacity: 0;
    transform: translateY(15px);
}

.wc-atc-flyout-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
    color: #000000 !important;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--wc-font);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.wc-atc-flyout-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: wc-shimmer 3s ease-in-out infinite;
}

.wc-atc-flyout-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.wc-atc-flyout-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--wc-font);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wc-atc-flyout-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Continue Shopping */
.wc-atc-flyout-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--wc-text-muted);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--wc-font);
    cursor: pointer;
    padding: 12px;
    transition: all 0.3s ease;
    margin-top: auto;
    animation: wc-flyout-product-up 0.5s 0.4s ease forwards;
    opacity: 0;
    transform: translateY(15px);
}

.wc-atc-flyout-continue:hover {
    color: var(--wc-accent-color);
}

.wc-atc-flyout-continue:hover svg {
    transform: translateX(-4px);
    transition: transform 0.3s ease;
}

/* Confetti Canvas */
.wc-atc-confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* --- Glow pulse after adding --- */
@keyframes wc-glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 181, 188, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 181, 188, 0.4), 0 0 80px rgba(0, 181, 188, 0.1); }
}

/* --- Stock Status Badge --- */
.wc-premium-cart-form .stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.wc-premium-cart-form .stock.in-stock {
    background: rgba(0, 181, 188, 0.1);
    color: var(--wc-accent-color);
    border: 1px solid rgba(0, 181, 188, 0.2);
}

.wc-premium-cart-form .stock.out-of-stock {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.2);
}

/* --- Mobile Sticky Add to Cart --- */
@media (max-width: 768px) {
    .wc-atc-controls {
        flex-direction: column;
    }

    .wc-premium-cart-form .quantity {
        width: 100%;
        justify-content: center;
    }

    .wc-atc-btn {
        width: 100%;
    }

    .wc-atc-flyout {
        width: 100%;
        max-width: 100vw;
        right: -100%;
    }

    .wc-atc-flyout.active {
        right: 0;
    }

    .wc-atc-flyout-inner {
        padding: 20px;
    }

    .wc-atc-flyout-product {
        padding: 18px;
    }

    .wc-atc-flyout-img-wrap {
        width: 80px;
        height: 80px;
    }
}

/* --- Single Variation Price Display --- */
.wc-premium-cart-form .single_variation .woocommerce-variation-price {
    margin-bottom: 15px;
}

.wc-premium-cart-form .single_variation .woocommerce-variation-price .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--wc-text-main);
}

.wc-premium-cart-form .single_variation .woocommerce-variation-description p {
    color: var(--wc-text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

/* Make variation add to cart button match our premium style */
.wc-premium-cart-form .single_variation_wrap .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: stretch;
    gap: 15px;
    margin-top: 10px;
}

.wc-premium-cart-form .single_variation_wrap .single_add_to_cart_button {
    position: relative;
    overflow: hidden;
    min-height: 56px;
    border-radius: 12px !important;
    padding: 0 45px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    cursor: pointer;
    flex-grow: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%) !important;
    color: #000000 !important;
    border: none !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2),
               0 0 40px rgba(255, 255, 255, 0.05);
}

.wc-premium-cart-form .single_variation_wrap .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3),
               0 0 60px rgba(0, 181, 188, 0.15) !important;
}

.wc-premium-cart-form .single_variation_wrap .single_add_to_cart_button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: wc-shimmer 4s ease-in-out infinite;
}

/* ============================================================
   PREMIUM CHECKOUT PAGE - DARK MODE GLASSMORPHISM
   ============================================================ */

.wc-premium-checkout-page {
    max-width: 1240px;
    margin: 40px auto 80px;
    padding: 0 20px;
    font-family: var(--wc-font);
    color: var(--wc-text-main);
}

/* --- Checkout Header & Breadcrumbs --- */
.wc-checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 20px;
}

.wc-checkout-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.wc-checkout-title svg {
    color: var(--wc-accent-color);
}

.wc-checkout-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wc-checkout-breadcrumb .step-link.active {
    color: var(--wc-accent-color);
}

.wc-checkout-breadcrumb .step-link.dim {
    color: var(--wc-text-muted);
}

.wc-checkout-breadcrumb .step-separator {
    color: rgba(255, 255, 255, 0.1);
}

.wc-checkout-back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--wc-text-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.wc-checkout-back-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* --- Checkout Layout --- */
.wc-checkout-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.wc-checkout-column-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.wc-checkout-column-right {
    width: 440px;
    position: sticky;
    top: 30px;
    flex-shrink: 0;
}

/* --- Checkout Cards --- */
.wc-checkout-billing-card,
.wc-checkout-shipping-card,
.wc-checkout-summary-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: wc-fade-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wc-checkout-shipping-card { animation-delay: 0.1s; }
.wc-checkout-summary-card { animation-delay: 0.2s; }

@keyframes wc-fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.wc-checkout-card-header {
    padding: 24px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wc-checkout-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.wc-checkout-card-body {
    padding: 30px;
}

/* --- Form Elements Overrides --- */
.woocommerce-checkout .form-row {
    margin-bottom: 20px !important;
    padding: 0 !important;
}

.woocommerce-checkout label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wc-text-muted);
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    color: #ffffff !important;
    font-family: var(--wc-font) !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: auto !important;
    display: flex !important;
    align-items: center !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--wc-accent-color) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 0 20px rgba(0, 181, 188, 0.1) !important;
}

/* Checkboxes */
.woocommerce-checkout .input-checkbox {
    width: 18px !important;
    height: 18px !important;
    margin-right: 10px !important;
    accent-color: var(--wc-accent-color) !important;
    cursor: pointer;
}

/* Validation styles */
.woocommerce-checkout .woocommerce-invalid input.input-text {
    border-color: #ff4d4d !important;
}

/* --- Checkout Order Review --- */
.wc-checkout-order-review {
    padding: 0;
}

.wc-checkout-order-review table.shop_table {
    background: transparent !important;
    border: none !important;
    border-collapse: collapse;
    width: 100%;
}

.wc-checkout-order-review table.shop_table tr th,
.wc-checkout-order-review table.shop_table tr td {
    padding: 16px 30px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    background: transparent !important;
    color: var(--wc-text-main);
    font-family: var(--wc-font);
}

.wc-checkout-order-review table.shop_table thead th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--wc-text-muted);
}

.wc-checkout-order-review table.shop_table .product-name {
    font-weight: 500;
}

.wc-checkout-order-review table.shop_table .product-total,
.wc-checkout-order-review table.shop_table .cart-subtotal td,
.wc-checkout-order-review table.shop_table .order-total td {
    text-align: right;
    font-weight: 700;
}

.wc-checkout-order-review table.shop_table .order-total {
    background: rgba(255, 255, 255, 0.02) !important;
}

.wc-checkout-order-review table.shop_table .order-total th,
.wc-checkout-order-review table.shop_table .order-total td {
    border-bottom: none !important;
    padding: 24px 30px !important;
    font-size: 20px;
    color: var(--wc-accent-color);
}

/* --- Payment Methods Styling --- */
#payment {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

#payment ul.payment_methods {
    padding: 20px 30px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    margin: 0 !important;
}

#payment div.payment_box {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    color: var(--wc-text-muted) !important;
    font-size: 14px !important;
    margin-top: 15px !important;
}

#payment div.payment_box::before {
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

#payment .place-order {
    padding: 30px !important;
    background: transparent !important;
    float: none !important;
    width: 100% !important;
}

#payment .place-order #place_order {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    min-height: 60px;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%) !important;
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none !important;
    box-shadow: 0 4px 25px rgba(255, 255, 255, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

#payment .place-order #place_order:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3) !important;
}

#payment .place-order #place_order::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: wc-shimmer 3s ease-in-out infinite;
}

/* Custom Count Badge */
.wc-checkout-card-header .wc-cart-count-badge {
    background: rgba(0, 181, 188, 0.15);
    color: var(--wc-accent-color);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 12px;
}

/* --- Responsive Checkout --- */
@media (max-width: 1100px) {
    .wc-checkout-layout {
        flex-direction: column;
    }
    
    .wc-checkout-column-right {
        width: 100%;
        position: static;
    }
}

@media (max-width: 768px) {
    .wc-premium-checkout-page {
        padding: 0 15px 60px;
        margin: 20px auto;
    }
    
    .wc-checkout-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .wc-checkout-card-body {
        padding: 20px;
    }
    
    .wc-checkout-order-review table.shop_table tr th,
    .wc-checkout-order-review table.shop_table tr td {
        padding: 16px 20px !important;
    }
    
    #payment ul.payment_methods {
        padding: 20px !important;
    }
}

/* --- Premium Order Review (List Format) --- */
.woocommerce-checkout-review-order-table {
    display: flex;
    flex-direction: column;
}

.wc-checkout-review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 15px;
}

.wc-checkout-review-item .product-info {
    flex: 1;
}

.wc-checkout-review-item .product-name {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
}

.wc-checkout-review-item .product-quantity {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.08);
    color: var(--wc-text-muted);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 8px;
    margin-left: 8px;
}

.wc-checkout-review-item .product-total {
    font-weight: 700;
    color: var(--wc-text-main);
}

/* --- Review Review Totals --- */
.wc-checkout-review-totals {
    padding: 10px 0;
}

.wc-checkout-review-totals .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wc-checkout-review-totals .row:last-child {
    border-bottom: none;
}

.wc-checkout-review-totals .row span:first-child {
    color: var(--wc-text-muted);
    font-size: 14px;
    font-weight: 500;
}

.wc-checkout-review-totals .row span:last-child {
    font-weight: 700;
    color: var(--wc-text-main);
}

.wc-checkout-review-totals .row.large {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px 30px;
    font-size: 18px;
}

.wc-checkout-review-totals .row.large span:last-child {
    color: var(--wc-accent-color);
}

/* Shipping row in totals */
.wc-checkout-review-totals .shipping-row {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wc-checkout-review-totals .shipping-row table.shop_table {
    margin: 0 !important;
}

.wc-checkout-review-totals .shipping-row th {
    display: block;
    color: var(--wc-text-muted);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0 !important;
}

.wc-checkout-review-totals .shipping-row td {
    padding: 0 !important;
    display: block;
}

.wc-checkout-review-totals .shipping-row ul#shipping_method {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.wc-checkout-review-totals .shipping-row ul#shipping_method li {
    padding: 8px 0 !important;
    color: var(--wc-text-main);
    font-size: 14px;
}

.wc-checkout-review-totals .shipping-row ul#shipping_method li input {
    margin-right: 8px !important;
}

/* --- Refined Checkout Elements --- */

/* Notification & Info Boxes (Glassmorphism Notifications) */
.woocommerce-info, 
.woocommerce-message, 
.woocommerce-error {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: 4px solid var(--wc-accent-color) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 20px 25px 20px 60px !important;
    margin-bottom: 30px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    line-height: 1.6 !important;
}

/* Info Box specific (e.g. Coupon) */
.woocommerce-info {
    border-top-color: var(--wc-accent-color) !important;
}

.woocommerce-info::before {
    color: var(--wc-accent-color) !important;
}

/* Error Box specific */
.woocommerce-error {
    border-top-color: #ff4d4d !important;
}

/* Button inside Info Box (like 'Click here to enter your code') */
.woocommerce-info a.showcoupon {
    color: var(--wc-accent-color) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.woocommerce-info a.showcoupon:hover {
    text-decoration: underline !important;
}

/* Breadcrumb refinements */
.wc-checkout-breadcrumb .step-link {
    font-family: var(--wc-font);
    letter-spacing: 2px;
}

/* Payment box message override */
.woocommerce-checkout #payment .woocommerce-NoticeGroup-checkout ul.woocommerce-error,
.woocommerce-checkout #payment p.woocommerce-info {
    margin: 0 0 20px 0 !important;
}

/* Custom Return Link styling */
.wc-checkout-back-link {
    font-family: var(--wc-font);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 13px !important;
    letter-spacing: 1px;
}

.wc-checkout-back-link:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
    transform: translateX(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.wc-checkout-back-link svg {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.wc-checkout-back-link:hover svg {
    transform: translateX(-4px);
}

/* --- Coupon Form (Checkout) --- */
form.checkout_coupon {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 30px !important;
    margin: 20px 0 30px 0 !important;
    backdrop-filter: blur(10px);
}

form.checkout_coupon .form-row {
    margin-bottom: 0 !important;
}

form.checkout_coupon input.input-text {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
}

form.checkout_coupon .button {
    background: var(--wc-accent-color) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
}

form.checkout_coupon .button:hover {
    background: #009a9f !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 181, 188, 0.2);
}

/* ============================================================
   PREMIUM THANK YOU PAGE - SUCCESS & CELEBRATION
   ============================================================ */

.wc-premium-thankyou-page {
    max-width: 1100px;
    margin: 60px auto 100px;
    padding: 0 20px;
    color: var(--wc-text-main);
    font-family: var(--wc-font);
}

.wc-thankyou-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* --- Hero Success --- */
.wc-thankyou-hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    animation: wc-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.wc-success-badge {
    width: 100px;
    height: 100px;
    background: rgba(0, 181, 188, 0.1);
    border: 2px solid var(--wc-accent-color);
    border-radius: 50%;
    color: var(--wc-accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 181, 188, 0.3);
}

.wc-success-badge::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--wc-accent-color);
    border-radius: 50%;
    animation: wc-pulse-ring 2s infinite;
}

@keyframes wc-pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.wc-thankyou-title {
    font-size: 38px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    letter-spacing: -1px;
}

.wc-thankyou-subtitle {
    font-size: 18px;
    color: var(--wc-text-muted);
    max-width: 500px;
    line-height: 1.6;
}

/* --- Order Stats Bar --- */
.wc-thankyou-stats-card {
    display: flex;
    justify-content: space-between;
    padding: 30px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    animation: wc-fade-up 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.wc-thankyou-stats-card .stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 20px;
}

.wc-thankyou-stats-card .stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.wc-thankyou-stats-card .stat-item:first-child {
    padding-left: 0;
}

.wc-thankyou-stats-card .label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--wc-text-muted);
    font-weight: 700;
}

.wc-thankyou-stats-card .value {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

/* --- Details Grid --- */
.wc-thankyou-details-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.wc-thankyou-column-left {
    flex: 1.5;
    min-width: 0;
}

.wc-thankyou-column-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Consistency with cards */
.wc-thankyou-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: wc-fade-up 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.wc-thankyou-card-header {
    padding: 24px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wc-thankyou-card .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.wc-thankyou-card-body {
    padding: 30px;
}

/* --- Action Buttons --- */
.wc-thankyou-footer-actions {
    display: flex;
    justify-content: flex-end;
}

.wc-thankyou-footer-actions.centered {
    justify-content: center;
}

.wc-thankyou-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
    color: #000000 !important;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.wc-thankyou-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.wc-thankyou-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: wc-shimmer 3s ease-in-out infinite;
}

/* Support Text */
.wc-thankyou-footer-note {
    text-align: center;
    color: var(--wc-text-muted);
    font-size: 14px;
    margin-top: 20px;
}

.wc-thankyou-footer-note a {
    color: var(--wc-accent-color);
    text-decoration: none;
}

/* Override Order Table inside Card */
.wc-premium-thankyou-page table.shop_table {
    background: transparent !important;
    border: none !important;
}

.wc-premium-thankyou-page table.shop_table th,
.wc-premium-thankyou-page table.shop_table td {
    padding: 15px 0 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff;
}

.wc-premium-thankyou-page table.shop_table th {
    color: var(--wc-text-muted);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}

/* --- Responsive Thank You --- */
@media (max-width: 991px) {
    .wc-thankyou-stats-card {
        flex-wrap: wrap;
        gap: 20px;
        padding: 30px;
    }
    
    .wc-thankyou-stats-card .stat-item {
        flex: 1 1 40%;
        border-right: none;
        padding: 0;
    }
    
    .wc-thankyou-details-grid {
        flex-direction: column;
    }
    
    .wc-thankyou-column-left,
    .wc-thankyou-column-right {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wc-thankyou-title {
        font-size: 28px;
    }
    
    .wc-thankyou-stats-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wc-thankyou-stats-card .stat-item {
        width: 100%;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .wc-thankyou-stats-card .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* --- Premium Order Details (Item List Format) --- */
.wc-premium-order-details {
    display: flex;
    flex-direction: column;
}

.wc-order-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 15px;
}

.wc-order-detail-item .product-info {
    flex: 1;
}

.wc-order-detail-item .product-name {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
}

.wc-order-detail-item .product-quantity {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.08);
    color: var(--wc-text-muted);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 8px;
    margin-left: 8px;
}

.wc-order-detail-item .product-total {
    font-weight: 700;
    color: var(--wc-text-main);
}

/* --- Order Details Totals --- */
.wc-order-details-totals {
    margin-top: 10px;
}

.wc-order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wc-order-total-row:last-of-type {
    border-bottom: none;
    padding-top: 20px;
}

.wc-order-total-row.order_total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    padding: 20px 0;
}

.wc-order-total-row.order_total .label {
    font-size: 18px;
    color: #ffffff;
}

.wc-order-total-row.order_total .value {
    font-size: 22px;
    color: var(--wc-accent-color);
}

.wc-order-total-row .label {
    color: var(--wc-text-muted);
    font-size: 14px;
    font-weight: 500;
}

.wc-order-total-row .value {
    font-weight: 700;
    color: #ffffff;
}

/* Customer Note styling */
.wc-order-customer-note {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
}

.wc-order-customer-note .label {
    display: block;
    color: var(--wc-accent-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* --- Password Visibility Toggle Fix --- */
.woocommerce-form .show-password-input {
    background: transparent !important;
    border: none !important;
    color: var(--wc-accent-color) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    right: 15px !important;
    width: auto !important;
    height: auto !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce-form .show-password-input::after {
    content: "" !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    background-color: currentColor !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3E%3C/path%3E%3Ccircle cx='12' cy='12' r='3'%3E%3C/circle%3E%3C/svg%3E") no-repeat center !important;
}


/* ============================================================
   PREMIUM AUTH PAGE (LOGIN & REGISTER)
   ============================================================ */

.wc-premium-auth-page {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: var(--wc-font);
}

.wc-auth-hero {
    text-align: center;
    margin-bottom: 50px;
}

.wc-auth-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.wc-auth-subtitle {
    font-size: 18px;
    color: var(--wc-text-muted);
}

.wc-auth-container {
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: stretch;
}

.wc-auth-container.has-registration {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    backdrop-filter: blur(30px);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.wc-auth-card {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
}

/* Ensure password row is relative for show icon */
.woocommerce-form .form-row {
    position: relative !important;
}


.login-card {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.wc-auth-card-header {
    margin-bottom: 40px;
}

.wc-auth-card-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.wc-auth-card-header p {
    color: var(--wc-text-muted);
    font-size: 14px;
}

/* Auth Meta (Remember & Lost Password) */
.wc-auth-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.wc-auth-meta-row label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--wc-text-muted);
    cursor: pointer;
}

.wc-auth-meta-row .lost_password {
    font-size: 13px;
    color: var(--wc-accent-color);
    text-decoration: none;
    font-weight: 600;
}

/* Auth Separator Mobile */
.wc-auth-separator {
    display: none;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: var(--wc-text-muted);
}

/* Final Auth Buttons */
.wc-auth-btn-primary, 
.wc-auth-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.wc-auth-btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000000 !important;
}

.wc-auth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.wc-auth-btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000000 !important;
}

.wc-auth-btn-secondary svg {
    color: #000000 !important;
}

.wc-auth-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}


/* ============================================================
   PREMIUM LOGGED-IN ACCOUNT PAGE
   ============================================================ */

.wc-premium-account-page {
    max-width: 1300px;
    margin: 60px auto 100px;
    padding: 0 20px;
}

.wc-account-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sidebar Styling */
.wc-account-sidebar {
    position: sticky;
    top: 40px;
}

.wc-account-user-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    backdrop-filter: blur(20px);
}

.wc-user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    border: 2px solid var(--wc-accent-color);
}

.wc-user-welcome {
    display: block;
    font-size: 13px;
    color: var(--wc-text-muted);
}

.wc-user-name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

/* Menu items */
.wc-account-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wc-account-menu li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 25px;
    border-radius: 14px;
    color: var(--wc-text-muted);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.wc-account-menu li.is-active a {
    background: rgba(0, 181, 188, 0.1);
    color: var(--wc-accent-color);
    border: 1px solid rgba(0, 181, 188, 0.2);
}

.wc-account-menu li a:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

/* --- Icon System (Account Navigation) --- */
.wc-menu-icon {
    width: 20px;
    height: 20px;
    background-color: currentColor;
    display: inline-block;
}

.wc-menu-icon[data-icon="grid"] {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'%3E%3C/rect%3E%3Crect x='14' y='3' width='7' height='7'%3E%3C/rect%3E%3Crect x='14' y='14' width='7' height='7'%3E%3C/rect%3E%3Crect x='3' y='14' width='7' height='7'%3E%3C/rect%3E%3C/svg%3E") no-repeat center;
}
.wc-menu-icon[data-icon="shopping-bag"] {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'%3E%3C/path%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
}
.wc-menu-icon[data-icon="download"] {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E%3Cline x1='12' y1='15' x2='12' y2='3'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
}
.wc-menu-icon[data-icon="map-pin"] {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E") no-repeat center;
}
.wc-menu-icon[data-icon="credit-card"] {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='1' y1='10' x2='23' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
}
.wc-menu-icon[data-icon="user"] {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E") no-repeat center;
}
.wc-menu-icon[data-icon="log-out"] {
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'%3E%3C/path%3E%3Cpolyline points='16 17 21 12 16 7'%3E%3C/polyline%3E%3Cline x1='21' y1='12' x2='9' y2='12'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
}


/* Content Area Styling */
.wc-account-content-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 50px;
    backdrop-filter: blur(30px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    min-height: 500px;
}

/* --- Dashboard Specific --- */
.wc-dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 30px;
}

.wc-dashboard-welcome {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.wc-dashboard-subtitle {
    font-size: 15px;
    color: var(--wc-text-muted);
    max-width: 600px;
    line-height: 1.6;
}

.wc-dashboard-subtitle a {
    color: var(--wc-accent-color);
    text-decoration: none;
    font-weight: 600;
}

.wc-user-badge.member-since {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 12px;
    text-align: right;
}

.wc-user-badge .label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--wc-text-muted);
}

.wc-user-badge .value {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

/* Stats Grid Dashboard */
.wc-dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.wc-dashboard-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.wc-dashboard-stat-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 181, 188, 0.3);
    transform: translateY(-5px);
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.stat-icon.orders { background: linear-gradient(135deg, #00b5bc 0%, #009a9f 100%); }
.stat-icon.addresses { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }
.stat-icon.details { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); }

.stat-details {
    flex: 1;
}

.stat-details .label {
    display: block;
    font-size: 12px;
    color: var(--wc-text-muted);
    margin-bottom: 2px;
}

.stat-details .value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.stat-arrow {
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.wc-dashboard-stat-card:hover .stat-arrow {
    color: var(--wc-accent-color);
    transform: translateX(3px);
}

/* --- Responsive Account --- */
@media (max-width: 1100px) {
    .wc-account-layout {
        grid-template-columns: 1fr;
    }
    
    .wc-account-sidebar {
        position: static;
        margin-bottom: 40px;
    }
    
    .wc-account-user-card {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .wc-auth-container {
        flex-direction: column;
    }
    
    .login-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .wc-auth-separator {
        display: flex;
    }
    
    .wc-auth-card {
        padding: 40px;
    }
    
    .wc-auth-title {
        font-size: 32px;
    }
    
    .wc-dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .wc-dashboard-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .wc-account-content-card {
        padding: 30px;
    }
}

/* --- Premium Recovery (Lost/Reset Password) Specific --- */
.wc-premium-auth-page.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 100px auto;
}

.wc-auth-icon-badge {
    width: 90px;
    height: 90px;
    background: rgba(0, 181, 188, 0.1);
    border: 1px solid rgba(0, 181, 188, 0.3);
    border-radius: 50%;
    color: var(--wc-accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 0 40px rgba(0, 181, 188, 0.2);
}

.wc-auth-card-single {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 50px;
    backdrop-filter: blur(30px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.wc-auth-action-row.centered {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.wc-auth-btn-primary.full-width {
    width: 100%;
}

.wc-auth-footer-link {
    text-align: center;
    margin-top: 25px;
}

.wc-auth-footer-link a {
    color: var(--wc-text-muted);
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wc-auth-footer-link a:hover {
    color: #ffffff;
}

/* Password wrappers for recovery */
.password-input-wrapper {
    position: relative;
}