/**
 * WooCommerce Styles for Elora Theme
 *
 * @package Elora
 */

/* ==========================================================================
   WooCommerce General Styles
   ========================================================================== */

.woocommerce-area {
    padding: 80px 0;
}

/* Product Grid */
.products {
    display: grid;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Columns Layout */
.columns-2 .products {
    grid-template-columns: repeat(2, 1fr);
}

.columns-3 .products {
    grid-template-columns: repeat(3, 1fr);
}

.columns-4 .products {
    grid-template-columns: repeat(4, 1fr);
}

.columns-5 .products {
    grid-template-columns: repeat(5, 1fr);
}

/* Responsive Columns */
@media (max-width: 1399px) {
    .columns-5 .products {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199px) {

    .columns-4 .products,
    .columns-5 .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {

    .columns-3 .products,
    .columns-4 .products,
    .columns-5 .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .products {
        grid-template-columns: 1fr !important;
    }

    .woocommerce-product-gallery {
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   Product Item
   ========================================================================== */

.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-3px);
}

/* Product Wrapper */
.product-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product Image */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    /* aspect-ratio: 3/4; */
    /* Uncomment and change ratio if needed (1/1, 3/4, 4/3, etc.) */
    border-radius: 16px;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    /* Minimum height for consistent grid */
    position: relative;
}

/* Dark overlay removed - was blocking hover on action buttons */

.product-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image-link img {
    transform: scale(1.05);
}

/* Product Actions */
.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 11;
}

.product-item:hover .product-actions {
    opacity: 1;
    visibility: visible;
}

.product-action {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;
    position: relative;
}

.product-action svg {
    width: 14px;
    height: 14px;
    transition: all 0.3s ease;
}

.product-action:hover {
    background: #0e0e0f;
    color: #fff;
    transform: scale(1.1);
}

.product-action:hover svg {
    color: #fff;
}

/* Wishlist Active State */
.product-action.wishlist.active {
    background: #ff4444;
    color: #fff;
}

.product-action.wishlist.active svg {
    fill: #fff;
    color: #fff;
}

.product-action.wishlist:hover {
    background: #ff4444;
}

/* Compare Active State */
.product-action.compare.active {
    background: var(--tc-neutral-900, #0e0e0f);
    color: #fff;
}

/* Sale Badge */
.onsale,
.wc-block-grid .wc-block-grid__product-onsale,
.wc-block-grid__product-image .wc-block-grid__product-onsale {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    right: auto !important;
    background: #e84c44 !important;
    color: #fff !important;
    padding: 4px 13px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    z-index: 1 !important;
    letter-spacing: 0.5px !important;
    border: 0 !important;
}

/* Product Title */
.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    margin: 0;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    color: var(--tc-neutral-900);
}

.product-title a:hover {
    color: var(--tc-neutral-900, #0e0e0f);
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.star-rating {
    position: relative;
    height: 16px;
    line-height: 16px;
    font-size: 14px;
    width: 80px;
}

.star-rating::before {
    content: "★★★★★";
    color: #ddd;
    position: absolute;
    top: 0;
    left: 0;
}

.star-rating span {
    position: relative;
    overflow: hidden;
    color: #ffc107;
    display: block;
    height: 16px;
}

.star-rating span::before {
    content: "★★★★★";
}

.rating-count {
    font-size: 13px;
    color: var(--tc-system-muted);
}

/* Product Price */
.product-price {
    margin: 5px 0 10px 0;
}

.product-price .price {
    font-size: 20px;
    font-weight: 400;
    color: var(--tc-neutral-700, #0e0e0f);
}

.product-price .price del {
    font-size: 16px;
    color: var(--tc-neutral-400);
    margin-right: 8px;
}

.product-price .price ins {
    text-decoration: none;
}

/* Product Excerpt */
.product-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--tc-neutral-600);
    margin-bottom: 15px;
}

/* Add to Cart Button (inside image wrapper) */
.product-add-to-cart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 10;
}

/* Show Add to Cart on product hover with fade-in-up animation */
.product-item:hover .product-add-to-cart {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.product-add-to-cart .button,
.product-add-to-cart .added_to_cart {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #0e0e0f;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.product-add-to-cart .button:hover,
.product-add-to-cart .added_to_cart:hover {
    background: #1a1b1c;
    transform: translateY(-2px);
}

/* ==========================================================================
   Single Product
   ========================================================================== */

.single-product-area {
    padding: 80px 0;
}

.single-product-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.product-images-wrapper .woocommerce-product-gallery {
    margin: 0;
}

.product-summary-wrapper .product_title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-summary-wrapper .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--tc-neutral-900, #0e0e0f);
    margin-bottom: 20px;
    display: block;
}

.product-summary-wrapper .woocommerce-product-details__short-description {
    margin-bottom: 25px;
    line-height: 1.8;
}

.product-summary-wrapper .cart {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.product-summary-wrapper .quantity {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.product-summary-wrapper .quantity input {
    width: 60px;
    text-align: center;
    border: none;
    padding: 10px;
}

.product-summary-wrapper .single_add_to_cart_button {
    flex: 1;
    padding: 12px 30px;
    background: var(--tc-neutral-900, #0e0e0f);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-summary-wrapper .single_add_to_cart_button:hover {
    background: var(--tc-neutral-900-dark, #d88412);
}

/* Product Meta */
.product_meta {
    padding-top: 60px;
    border-top: 1px solid var(--tc-neutral-200);
    font-size: 14px;
}

.product_meta>span {
    display: block;
    margin-bottom: 8px;
}

/* Product Tabs */
.product-tabs-wrapper .woocommerce-tabs {
    margin-top: 50px;
}

.product-tabs-wrapper .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid var(--tc-neutral-200);
    margin-bottom: 30px;
    padding: 0;
    list-style: none;
}

.product-tabs-wrapper .woocommerce-tabs ul.tabs li {
    margin: 0;
}

.product-tabs-wrapper .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 25px;
    color: var(--tc-neutral-600);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.product-tabs-wrapper .woocommerce-tabs ul.tabs li.active a {
    color: var(--tc-neutral-900, #0e0e0f);
}

.product-tabs-wrapper .woocommerce-tabs ul.tabs li.active a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--tc-neutral-900, #0e0e0f);
}

/* ==========================================================================
   Cart & Checkout
   ========================================================================== */

.cart-area,
.checkout-area {
    padding: 80px 0;
}

.woocommerce-cart-form {
    margin-bottom: 40px;
}

.woocommerce table.shop_table {
    width: 100%;
    border: 1px solid var(--tc-neutral-200);
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background: #f8f9fa;
    padding: 15px;
    font-weight: 600;
    text-align: left;
}

.woocommerce table.shop_table td {
    padding: 20px 15px;
    border-top: 1px solid var(--tc-neutral-200);
}

.woocommerce .cart-collaterals {
    margin-top: 40px;
}

.woocommerce .cart_totals {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.woocommerce-sidebar .sidebar-widget {
    background: var(--tc-bg-4);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.woocommerce-sidebar .sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--tc-neutral-900, #0e0e0f);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.woocommerce-pagination {
    margin-top: 50px;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0;
    list-style: none;
}

.woocommerce-pagination ul.page-numbers li {
    margin: 0;
}

.woocommerce-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 15px;
    color: #333;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce-pagination .page-numbers .page-numbers:hover,
.woocommerce-pagination .page-numbers .page-numbers.current {
    background: var(--tc-linear-1);
    color: var(--tc-system-white);
}

/* ==========================================================================
   Quick View
   ========================================================================== */

.quick-view-content .product-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.quick-view-content .product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--tc-neutral-900, #0e0e0f);
    margin-bottom: 20px;
}

.quick-view-content .view-full-details {
    position: absolute;
    bottom: 40px;
}

/* ==========================================================================
   Quick View Modal
   ========================================================================== */

.elora-quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.elora-quick-view-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.elora-quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    animation: fadeIn 0.3s ease;
}

.elora-quick-view-wrapper {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    animation: slideUp 0.3s ease;
}

.elora-quick-view-content-wrapper {
    position: relative;
    background: var(--tc-system-white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.elora-quick-view-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tc-system-white);
    color: var(--tc-neutral-900);
    border: 1px solid var(--tc-neutral-200);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.elora-quick-view-close:hover {
    transform: rotate(90deg);
}

.elora-quick-view-close svg {
    width: 20px;
    height: 20px;
}

/* Loading State */
.elora-quick-view-loading {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.elora-quick-view-loading .spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--tc-neutral-900, #0e0e0f);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.elora-quick-view-loading span {
    display: block;
    font-size: 16px;
    color: var(--tc-neutral-600);
}

/* Error State */
.elora-quick-view-error {
    text-align: center;
    padding: 60px 20px;
}

.elora-quick-view-error svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #ff4444;
}

.elora-quick-view-error p {
    font-size: 16px;
    color: var(--tc-neutral-600);
    margin-bottom: 20px;
}

.elora-quick-view-error button {
    padding: 12px 30px;
    background: var(--tc-neutral-900, #0e0e0f);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

/* Quick View Content */
.elora-quick-view-content {
    min-height: 200px;
}

.elora-quick-view-content .quick-view-content {
    display: block;
}

.elora-quick-view-content .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.elora-quick-view-content .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

/* Product Images in Quick View */

.elora-quick-view-content .woocommerce-product-gallery {
    margin: 0;
}

.elora-quick-view-content .woocommerce-product-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Product Summary in Quick View */
.elora-quick-view-content .product-summary-wrapper {
    padding-left: 20px;
}

.elora-quick-view-content .product-title,
.elora-quick-view-content .product_title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.elora-quick-view-content .product-price,
.elora-quick-view-content .price {
    color: var(--tc-neutral-900, #0e0e0f);
    margin-bottom: 20px;
    display: block;
    font-size: 28px;
    font-weight: 500;
    background: var(--tc-linear-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0;
}

.elora-quick-view-content .product-excerpt,
.elora-quick-view-content .woocommerce-product-details__short-description {
    margin-bottom: 25px;
    line-height: 1.8;
}

.elora-quick-view-content .cart {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.elora-quick-view-content .quantity {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.elora-quick-view-content .quantity input {
    width: 60px;
    text-align: center;
    border: none;
    padding: 10px;
}

.elora-quick-view-content .single_add_to_cart_button {
    flex: 1;
    min-width: 150px;
    padding: 12px 30px;
    background: var(--tc-neutral-900, #0e0e0f);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.elora-quick-view-content .single_add_to_cart_button:hover {
    background: var(--tc-neutral-900-dark, #d88412);
}

.elora-quick-view-content .product-meta,
.elora-quick-view-content .product_meta {
    padding-top: 20px;
    font-size: 14px;
}

.elora-quick-view-content .product-meta>span,
.elora-quick-view-content .product_meta>span {
    display: block;
    margin-bottom: 8px;
}

.elora-quick-view-content .view-full-details a {
    color: var(--tc-neutral-900, #0e0e0f);
    text-decoration: none;
    font-weight: 600;
}

.elora-quick-view-content .view-full-details a:hover {
    text-decoration: underline;
}

/* Body when Quick View is open */
body.elora-quick-view-open {
    overflow: hidden;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .elora-quick-view-content .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .elora-quick-view-content .product-summary-wrapper {
        padding-left: 0;
        padding-top: 20px;
    }

    .elora-quick-view-content-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 575px) {
    .elora-quick-view-wrapper {
        width: 95%;
        max-height: 95vh;
    }

    .elora-quick-view-content-wrapper {
        padding: 20px 15px;
    }

    .elora-quick-view-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }

    .elora-quick-view-content .product-title,
    .elora-quick-view-content .product_title {
        font-size: 22px;
    }

    .elora-quick-view-content .product-price,
    .elora-quick-view-content .price {
        font-size: 20px;
    }
}

/* ==========================================================================
   Quick View Image Gallery
   ========================================================================== */

.quick-view-content .product-image-main {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    background: #f9f9f9;
}

.quick-view-content .product-image-main img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.quick-view-content .product-thumbnails {
    margin-top: 15px;
}

.quick-view-content .thumbnails-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quick-view-content .thumbnail-item {
    width: 76px;
    height: 76px;
    overflow: hidden;
    border-radius: 6px;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.quick-view-content .thumbnail-item:hover,
.quick-view-content .thumbnail-item.active {
    border-color: var(--tc-neutral-900, #ff6b35);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.2);
}

.quick-view-content .thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* Product Summary in Quick View */
.quick-view-content .product-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--tc-neutral-900);
}

.quick-view-content .product-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--tc-neutral-900, #ff6b35);
    margin-bottom: 15px;
}

.quick-view-content .product-excerpt {
    color: var(--tc-neutral-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.quick-view-content .product-meta {
    margin: 20px 0;
    padding: 15px 0;
    font-size: 14px;
}

.quick-view-content .view-full-details a {
    display: inline-flex;
    align-items: center;
    color: var(--tc-neutral-900, #ff6b35);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-view-content .view-full-details a:hover {
    color: var(--tc-neutral-900-dark, #e55a28);
}

/* ==========================================================================
   Wishlist & Compare Notifications
   ========================================================================== */

.elora-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--tc-bg-5);
    color: var(--tc-neutral-900);
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    min-width: 300px;
}

.elora-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.elora-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.elora-notification .notification-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elora-notification .notification-icon svg {
    width: 20px;
    height: 20px;
}

.elora-notification .notification-message {
    font-size: 14px;
    font-weight: 500;
    color: var(--tc-neutral-900);
}

/* Success Notification */
.elora-notification-success {
    border-left: 4px solid #10b981;
}

.elora-notification-success .notification-icon svg {
    color: #10b981;
}

/* Error Notification */
.elora-notification-error {
    border-left: 4px solid #ef4444;
}

.elora-notification-error .notification-icon svg {
    color: #ef4444;
}

/* Wishlist & Compare Active States */
.product-action.wishlist.active svg,
.product-action.compare.active svg {
    fill: currentColor;
}

.product-action.wishlist.active {
    background: var(#ff6b35);
    color: #fff;
}

.product-action.compare.active {
    background: var(--tc-theme-secondary, #4f46e5);
    color: #fff;
}

/* ==========================================================================
   Product Action Tooltips
   ========================================================================== */

/* Tooltip styles */
.product-action[data-tooltip]::before,
.product-action[data-tooltip]::after {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
}

/* Tooltip content (text) */
.product-action[data-tooltip]::before {
    content: attr(data-tooltip);
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    margin-bottom: 8px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 6px;
}

/* Tooltip arrow */
.product-action[data-tooltip]::after {
    content: "";
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-2px);
    margin-bottom: 2px;
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

/* Show tooltip on hover */
.product-action[data-tooltip]:hover::before,
.product-action[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

.product-action[data-tooltip]:hover::before {
    transform: translateX(-50%) translateY(0);
}

.product-action[data-tooltip]:hover::after {
    transform: translateX(-50%) translateY(0);
}

/* Dark mode tooltips */
[data-bs-theme="dark"] .product-action[data-tooltip]::before {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
}

[data-bs-theme="dark"] .product-action[data-tooltip]::after {
    border-top-color: rgba(255, 255, 255, 0.95);
}

/* Responsive Notifications */
@media (max-width: 575px) {
    .elora-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}

/* ==========================================================================
   Compare Table Styles
   ========================================================================== */

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 15px;
    border: 1px solid #000;
}

.compare-table th {
    font-weight: 600;
}

.woocommerce-content .products {
    width: 100%;
}

.elora-products {
    padding-top: 30px;
    width: 100%;
    display: block;
    overflow: hidden;
}

.elora-products .product-item .product-image-wrapper {
    text-align: center;
}

.elora-products .product-item .add_to_cart_button {
    margin-bottom: 3px;
}

.elora-products .product-item .added_to_cart.wc-forward {
    background: #0e0e0f;
    color: #fff;
    box-shadow: none;
    display: inline-block;
    width: unset;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

/*single product*/
.single-product .woocommerce-content {
    position: relative;
}

.single-product .woocommerce-content h1.entry-title {
    font-size: 42px;
    margin-bottom: 0;
}

.single-product p.price {
    font-size: 28px;
    font-weight: 500;
    background: var(--tc-linear-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0;
}

.single-product p.price del {
    font-size: 18px;
    font-weight: 600;
    color: var(--tc-system-muted);
    background: var(--tc-system-muted);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.single-product p.price ins {
    text-decoration: none;
}

.woocommerce-product-details__short-description {
    font-size: 15px;
    border-top: 1px solid var(--tc-neutral-200);
    padding-top: 10px;
    margin-top: 25px;
}

.woocommerce-product-details__short-description p {
    color: var(--tc-neutral-900, #0d0d0d);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    /* 24px */
}

.woocommerce-product-gallery {
    position: relative;
}

.woocommerce-product-gallery a.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.woocommerce-product-gallery .flex-viewport {
    border-radius: 16px;
}

.woocommerce-product-gallery .flex-control-thumbs {
    list-style: none;
    display: flex;
    gap: 10px;
    padding: 0;
    margin: 24px 0 0 0;
}

.woocommerce-product-gallery .flex-control-thumbs img {
    border-radius: 12px;
    cursor: pointer;
}

.single-product .entry-summary form.cart {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 20px 0 30px 0;
    padding-top: 30px;
}

.single-product .entry-summary form.cart input {
    background-color: var(--tc-system-white);
    border: 1px solid var(--tc-neutral-200);
    min-height: 46px;
    border-radius: 8px;
    padding-left: 15px;
    color: var(--tc-neutral-900);
    width: 100px;
}

.single-product .entry-summary form.cart button {
    display: flex;
    height: 56px;
    padding: 18px 42px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    background: var(--tc-linear-1);
    color: var(--tc-system-white);
    border: none;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-tabs {
    padding-top: 1.75rem;
}

@media screen and (min-width: 576px) {
    .woocommerce-tabs {
        padding-top: 3.75rem;
    }
}

.single-product .woocommerce-tabs.wc-tabs-wrapper {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 100%;
}

.woocommerce-tabs .wc-tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 1.2rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0 !important;
}

.woocommerce-tabs .wc-tabs li a {
    color: var(--tc-neutral-600);
    font-family: var(--tc-heading-font-family);
    font-size: 27px;
    font-weight: 600;
    line-height: 120%;
}

.woocommerce-tabs .wc-tabs li.active a {
    background: var(--tc-linear-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.woocommerce-tabs .wc-tabs li:first-child {
    margin-left: -1.2rem;
}

.woocommerce-tabs .woocommerce-Tabs-panel.woocommerce-Tabs-panel--description>h2:first-child {
    display: none;
}

.woocommerce-tabs .woocommerce-Tabs-panel.woocommerce-Tabs-panel--description h4 {
    font-size: 24px;
    margin-bottom: 15px;
}

.woocommerce-content .related.products {
    width: 100%;
    gap: 0;
    margin-top: 80px;
    border-top: 1px solid var(--tc-neutral-200);
    padding-top: 30px;
}

.related.products h2 {
    font-size: 24px;
    margin-bottom: 0;
}

.related.products .products {
    display: grid;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
}

.related.products .elora-products {
    padding-top: 30px;
}

/*cart*/
.woocommerce-cart.woocommerce-page .main-area .border-top {
    border: 0;
}

.woocommerce-cart.woocommerce-page .main-area .bottom {
    display: none !important;
}

.page-area .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
    height: 3em;
    mask-size: 3em;
    width: 3em;
}

.page-area h2.wc-block-cart__empty-cart__title.with-empty-cart-icon {
    font-size: 24px;
}

.wc-block-grid__product .wc-block-grid__product-image:not(.wc-block-components-product-image),
.wc-block-grid__product .wc-block-grid__product-title {
    font-size: 16px;
}

.elora-page-content .wc-block-grid.has-4-columns:not(.alignwide):not(.alignfull) .wc-block-grid__product,
.elora-page-content .wc-block-grid.has-5-columns.alignfull .wc-block-grid__product {
    font-size: 1em;
}

.elora-page-content .wp-block-button__link {
    color: var(--tc-system-white);
    background-color: var(--tc-neutral-900);
    border-radius: 8px;
    box-shadow: none;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 14px !important;
    font-weight: 600;
}

.wc-block-grid.wp-block-product-new {
    margin-top: 15px;
}

.wc-block-grid.wp-block-product-new .wc-block-grid__product {
    transition: 0.3s;
}

.wc-block-grid.wp-block-product-new .wc-block-grid__product:hover {
    transform: translateY(-3px);
    transition: 0.3s;
}

.wc-block-grid.wp-block-product-new .wc-block-grid__product-image {
    border-radius: 16px;
    overflow: hidden;
    min-height: 300px;
}

.wc-block-grid.wp-block-product-new .wc-block-grid__product-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
}

.wc-block-grid.wp-block-product-new .wc-block-grid__product .wc-block-grid__product-image img {
    transition: 0.3s;
}

.wc-block-grid.wp-block-product-new .wc-block-grid__product:hover .wc-block-grid__product-image img {
    transform: scale(1.05);
    transition: 0.3s;
}

.single-content table.wc-block-cart-items thead {
    background: transparent;
}

.single-content table.wc-block-cart-items tbody td {
    color: var(--tc-neutral-700);
    line-height: 1.5;
}

.single-content table.wc-block-cart-items tbody td:last-of-type {
    color: var(--tc-neutral-700);
}

.wc-block-components-button {
    color: var(--tc-system-white);
    background-color: var(--tc-neutral-900);
    border-radius: 8px;
    box-shadow: none;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 14px !important;
    font-weight: 600;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    background: #fff;
    border: none;
    box-sizing: content-box;
    border-radius: 100%;
    cursor: pointer;
    font-size: 2em;
    height: 36px;
    padding: 0;
    position: absolute;
    right: 0.5em;
    text-indent: -9999px;
    top: 0.5em;
    width: 36px;
    z-index: 99;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before {
    border: 2px solid #000;
    border-radius: 100%;
    box-sizing: content-box;
    content: "";
    display: block;
    height: 10px;
    left: 9px;
    top: 9px;
    position: absolute;
    width: 10px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after {
    background: #000;
    border-radius: 6px;
    box-sizing: content-box;
    content: "";
    display: block;
    height: 8px;
    left: 22px;
    position: absolute;
    top: 19px;
    transform: rotate(-45deg);
    width: 2px;
}

/*shop widgets */

.woocommerce-product-search {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 5px;
}

.woocommerce-product-search input {
    background-color: var(--tc-system-white);
    border: 1px solid var(--tc-neutral-200);
    min-height: 46px;
    border-radius: 8px;
    padding-left: 15px;
    color: var(--tc-neutral-900);
}

.woocommerce-product-search button {
    padding: 12px 30px;
    background: var(--tc-neutral-900);
    color: var(--tc-system-white);
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 46px;
}

.product-categories {
    padding: 0;
    list-style: none;
}

.sidebar-widget button {
    padding: 12px 30px;
    background: var(--tc-neutral-900);
    color: var(--tc-system-white);
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product_list_widget {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product_list_widget li {
    margin: 0 0 20px 0;
}

.product_list_widget li img {
    border-radius: 8px;
    margin: 0 0 5px 0;
}

.woocommerce ul.cart_list li img,
.woocommerce ul.product_list_widget li img,
.woocommerce-page ul.cart_list li img,
.woocommerce-page ul.product_list_widget li img {
    float: right;
    height: auto;
    max-width: 80px;
}

.woocommerce-message {
    border-radius: 8px;
    border: 1px solid var(--tc-neutral-200);
    padding: 12px 15px;
    margin-bottom: 30px;
}

*:focus {
    outline: none;
}

.woocommerce p.stars a {
    position: relative;
    height: 1.2em;
    width: 1.2em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none;
}

.woocommerce p.stars a::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1.2em;
    height: 1.2em;
    line-height: 1;
    font-family: inherit;
    content: "☆";
    text-indent: 0;
    font-size: 1.2em;
    color: #d3ced2;
}

.woocommerce p.stars a:hover~a::before {
    content: "☆";
    color: #d3ced2;
}

.woocommerce p.stars:hover a::before {
    content: "★";
    color: #f7c948;
}

.woocommerce p.stars.selected a.active~a::before {
    content: "☆";
    color: #d3ced2;
}

.woocommerce p.stars.selected a::before {
    content: "★";
    color: #f7c948;
}

.product-type-simple {
    position: relative;
}

/* shop */
.woocommerce form .form-row .input-text,
.woocommerce-page form .form-row .input-text {
    border: 1px solid var(--tc-neutral-200);
    border-radius: 8px;
    background: var(--tc-system-white);
    padding: 10px;
    min-height: 44px !important;
    max-width: 100% !important;
    min-width: 100% !important;
    color: var(--tc-neutral-600) !important;
    transition: all 0.2s ease-in-out !important;
}

.woocommerce form .form-row .input-text:focus,
.woocommerce-page form .form-row .input-text:focus {
    border: 1px solid transparent;
    background: linear-gradient(var(--tc-system-white), var(--tc-system-white)) padding-box, var(--tc-linear-1) border-box;
}

.woocommerce form fieldset {
    border-radius: 8px;
}

.woocommerce-Button {
    display: inline-flex;
    width: 178px;
    height: 56px;
    padding: 18px 56px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    background: var(--tc-neutral-900, #0e0e0f);
    color: var(--tc-system-white, #fff);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    border: none;
    background: var(--tc-linear-1) !important;
    width: auto;
}

select {
    background-color: transparent;
    border: 1px solid var(--tc-neutral-200);
    min-height: 46px;
    border-radius: 4px;
    padding-left: 15px;
    color: var(--tc-neutral-900);
}

.product_meta a {
    transition: all 0.2s ease-in-out;
}

.product_meta a:hover {
    background: var(--tc-linear-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wishlist-products .product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    overflow: hidden;
    max-height: 270px;
    margin-bottom: 15px;
}

/* ==========================================================================
   My Account Page - Custom Layout
   ========================================================================== */

.elora-my-account-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    padding: 60px 0;
}

/* Sidebar */
.elora-my-account-sidebar {
    background: var(--tc-bg-4, #f8f9fa);
    border-radius: 16px;
    padding: 30px;
    height: fit-content;
    position: sticky;
    top: 120px;
}

/* User Info */
.account-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--tc-neutral-200);
}

.account-user-info .user-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--tc-system-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.account-user-info .user-details .user-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--tc-neutral-900);
}

.account-user-info .user-details .user-email {
    font-size: 13px;
    color: var(--tc-neutral-600);
    margin: 0;
}

/* Account Navigation */
.elora-account-navigation {
    margin: 0;
}

.elora-account-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elora-account-menu-item {
    margin-bottom: 4px;
}

.elora-account-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 10px;
    color: var(--tc-neutral-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.elora-account-menu-link:hover {
    background: var(--tc-system-white);
    color: var(--tc-neutral-900);
    transform: translateX(5px);
}

.elora-account-menu-item.is-active .elora-account-menu-link {
    background: var(--tc-linear-1);
    color: var(--tc-system-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.elora-account-menu-link .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.elora-account-menu-link .menu-icon svg {
    width: 20px;
    height: 20px;
}

.elora-account-menu-link .menu-label {
    flex: 1;
}

.elora-account-menu-link .menu-arrow {
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.elora-account-menu-link:hover .menu-arrow,
.elora-account-menu-item.is-active .elora-account-menu-link .menu-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Logout item styling */
.elora-account-menu-item.customer-logout .elora-account-menu-link {
    color: #dc3545;
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--tc-neutral-200);
    border-radius: 0 0 10px 10px;
}

.elora-account-menu-item.customer-logout .elora-account-menu-link:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Content Area */
.elora-my-account-content {
    background: var(--tc-system-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Dashboard Styles
   ========================================================================== */

.elora-dashboard {
    /* Container */
}

.dashboard-welcome {
    margin-bottom: 35px;
}

.dashboard-welcome h2 {
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 10px 0;
    color: var(--tc-neutral-900);
}

.dashboard-welcome h2 strong {
    font-weight: 700;
    background: var(--tc-linear-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-welcome p {
    color: var(--tc-neutral-600);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Stats Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: var(--tc-bg-4, #f8f9fa);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.stat-icon.orders {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.stat-icon.pending {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
}

.stat-icon.completed {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--tc-neutral-900);
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--tc-neutral-600);
    margin-top: 5px;
}

/* Quick Actions */
.dashboard-quick-actions {
    margin-bottom: 40px;
}

.dashboard-quick-actions h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: var(--tc-neutral-900);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: var(--tc-bg-4, #f8f9fa);
    border-radius: 12px;
    text-decoration: none;
    color: var(--tc-neutral-900);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-action-card:hover {
    background: var(--tc-system-white);
    border-color: var(--tc-neutral-200);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quick-action-card .action-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tc-linear-1);
    border-radius: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.quick-action-card .action-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.quick-action-card .action-desc {
    font-size: 13px;
    color: var(--tc-neutral-600);
}

/* Recent Orders */
.dashboard-recent-orders {
    background: var(--tc-bg-4, #f8f9fa);
    border-radius: 12px;
    padding: 25px;
}

.dashboard-recent-orders .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-recent-orders .section-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--tc-neutral-900);
}

.dashboard-recent-orders .view-all {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tc-neutral-700);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dashboard-recent-orders .view-all:hover {
    color: var(--tc-neutral-900);
}

.recent-orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background: var(--tc-system-white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.order-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.order-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.order-number {
    font-weight: 700;
    color: var(--tc-neutral-900);
}

.order-date {
    font-size: 13px;
    color: var(--tc-neutral-600);
}

.order-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
}

.order-status.status-pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.status-processing {
    background: #cce5ff;
    color: #004085;
}

.order-status.status-on-hold {
    background: #ffeeba;
    color: #856404;
}

.order-status.status-completed {
    background: #d4edda;
    color: #155724;
}

.order-status.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.order-status.status-refunded {
    background: #e2e3e5;
    color: #383d41;
}

.order-status.status-failed {
    background: #f8d7da;
    color: #721c24;
}

.order-total {
    font-weight: 700;
    color: var(--tc-neutral-900);
    min-width: 100px;
    text-align: right;
}

.order-view-btn {
    padding: 8px 20px;
    background: var(--tc-neutral-900);
    color: var(--tc-system-white);
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.order-view-btn:hover {
    background: var(--tc-linear-1);
    transform: translateY(-2px);
}

/* ==========================================================================
   My Account Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    .elora-my-account-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .elora-my-account-wrapper {
        grid-template-columns: 1fr;
    }
    
    .elora-my-account-sidebar {
        position: static;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .elora-my-account-wrapper {
        padding: 30px 0;
        gap: 20px;
    }
    
    .elora-my-account-sidebar {
        padding: 20px;
    }
    
    .elora-my-account-content {
        padding: 25px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .quick-action-card {
        padding: 20px 15px;
    }
    
    .quick-action-card .action-icon {
        width: 50px;
        height: 50px;
    }
    
    .quick-action-card .action-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .order-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .order-info {
        flex: 1 1 100%;
    }
    
    .order-total {
        min-width: auto;
        text-align: left;
    }
}

@media (max-width: 575px) {
    .account-user-info {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-welcome h2 {
        font-size: 22px;
    }
}

/* ==========================================================================
   Cart Page - Custom Layout
   ========================================================================== */

.elora-cart-wrapper {
    padding: 60px 0;
}

.elora-cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

/* Cart Items Section */
.elora-cart-items {
    background: var(--tc-system-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--tc-neutral-200);
}

.cart-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--tc-neutral-900);
}

.cart-header .cart-count {
    font-size: 14px;
    color: var(--tc-neutral-600);
    background: var(--tc-bg-4);
    padding: 6px 14px;
    border-radius: 20px;
}

/* Cart Items List */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--tc-bg-4, #f8f9fa);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Cart Item Image */
.cart-item-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--tc-system-white);
}

.cart-item-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item:hover .cart-item-image img {
    transform: scale(1.05);
}

/* Cart Item Details */
.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-item-info {
    margin-bottom: 15px;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.cart-item-name a {
    color: var(--tc-neutral-900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-item-name a:hover {
    color: var(--tc-neutral-700);
}

.cart-item-price {
    font-size: 15px;
    color: var(--tc-neutral-600);
}

.cart-item-price .woocommerce-Price-amount {
    font-weight: 600;
    color: var(--tc-neutral-900);
}

/* Cart Item Actions */
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Quantity Input */
.cart-item-quantity .quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--tc-neutral-200);
    border-radius: 8px;
    overflow: hidden;
    background: var(--tc-system-white);
}

.cart-item-quantity .quantity input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--tc-neutral-900);
    background: transparent;
}

.cart-item-quantity .quantity input:focus {
    outline: none;
}

/* Subtotal */
.cart-item-subtotal {
    min-width: 100px;
    text-align: right;
}

.cart-item-subtotal .woocommerce-Price-amount {
    font-size: 18px;
    font-weight: 700;
    background: var(--tc-linear-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Remove Button */
.cart-item-remove .remove-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    color: var(--tc-neutral-600);
    background: var(--tc-system-white);
    border: 1px solid var(--tc-neutral-200);
    transition: all 0.3s ease;
}

.cart-item-remove .remove-item:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

/* Cart Actions */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--tc-neutral-200);
}

.continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--tc-neutral-700);
    text-decoration: none;
    transition: all 0.3s ease;
}

.continue-shopping:hover {
    color: var(--tc-neutral-900);
}

.update-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--tc-neutral-900);
    color: var(--tc-system-white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.update-cart-btn:hover {
    background: var(--tc-neutral-800);
    transform: translateY(-2px);
}

.update-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   Cart Summary
   ========================================================================== */

.elora-cart-summary {
    position: sticky;
    top: 120px;
}

.cart-summary-inner {
    background: var(--tc-system-white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.cart-summary-inner h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: var(--tc-neutral-900);
}

/* Coupon */
.cart-coupon {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--tc-neutral-200);
}

.cart-coupon label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--tc-neutral-700);
    margin-bottom: 10px;
}

.coupon-input-wrapper {
    display: flex;
    gap: 10px;
}

.coupon-input-wrapper input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--tc-neutral-200);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.coupon-input-wrapper input:focus {
    outline: none;
    border-color: var(--tc-neutral-400);
}

.apply-coupon-btn {
    padding: 12px 20px;
    background: var(--tc-neutral-900);
    color: var(--tc-system-white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-coupon-btn:hover {
    background: var(--tc-neutral-800);
}

/* Cart Totals List */
.cart-totals-list {
    margin-bottom: 25px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--tc-neutral-100);
}

.cart-total-row .label {
    font-size: 14px;
    color: var(--tc-neutral-600);
}

.cart-total-row .value {
    font-size: 14px;
    font-weight: 600;
    color: var(--tc-neutral-900);
}

.cart-total-row.total {
    border-bottom: none;
    padding-top: 20px;
    margin-top: 10px;
    border-top: 2px solid var(--tc-neutral-200);
}

.cart-total-row.total .label {
    font-size: 18px;
    font-weight: 700;
    color: var(--tc-neutral-900);
}

.cart-total-row.total .value {
    font-size: 24px;
    font-weight: 700;
    background: var(--tc-linear-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cart-total-row.total .value .woocommerce-Price-amount {
    background: var(--tc-linear-1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Checkout Button */
.cart-checkout-btn {
    margin-bottom: 20px;
}

.cart-checkout-btn .checkout-button {
    display: block;
    width: 100%;
    padding: 16px 30px;
    background: var(--tc-linear-1);
    color: var(--tc-system-white);
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-checkout-btn .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Security Badge */
.cart-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: var(--tc-neutral-600);
}

.cart-security svg {
    color: #10b981;
}

/* ==========================================================================
   Empty Cart
   ========================================================================== */

.elora-cart-empty {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.empty-cart-icon {
    margin-bottom: 30px;
    color: var(--tc-neutral-300);
}

.empty-cart-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--tc-neutral-900);
}

.empty-cart-message {
    font-size: 16px;
    color: var(--tc-neutral-600);
    line-height: 1.6;
    margin-bottom: 30px;
}

.empty-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--tc-linear-1);
    color: var(--tc-system-white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-bottom: 50px;
}

.empty-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Empty Cart Features */
.empty-cart-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--tc-neutral-200);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tc-bg-4);
    border-radius: 12px;
    color: var(--tc-neutral-700);
}

.feature-item span {
    font-size: 13px;
    font-weight: 600;
    color: var(--tc-neutral-700);
}

/* ==========================================================================
   Cart Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    .elora-cart-layout {
        grid-template-columns: 1fr 350px;
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .elora-cart-layout {
        grid-template-columns: 1fr;
    }
    
    .elora-cart-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .elora-cart-wrapper {
        padding: 30px 0;
    }
    
    .elora-cart-items {
        padding: 20px;
    }
    
    .cart-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .cart-item-image {
        width: 100%;
        height: 200px;
    }
    
    .cart-item-actions {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .cart-item-subtotal {
        text-align: left;
        flex: 1;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .update-cart-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cart-summary-inner {
        padding: 20px;
    }
    
    .empty-cart-features {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .cart-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .coupon-input-wrapper {
        flex-direction: column;
    }
    
    .apply-coupon-btn {
        width: 100%;
    }
}