/**
 * WooCommerce Styles for Foks Theme
 *
 * @package Foks
 */

/* ==========================================================================
   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-neutral-400);
}

/* Product Price */
.product-price {
    margin: 5px 0 10px 0;
}

.product-price .price {
    font-size: 20px;
    font-weight: 400;
    color: var(--tc-neutral-900);
}

.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 li .page-numbers {
    background: var(--tc-brand-card-bg);
    border-radius: 6px;
    border: 1px solid var(--tc-neutral-400);
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--tc-fs-7);
    font-weight: var(--tc-fw-semi-bold);
    color: var(--tc-neutral-900);
}

.woocommerce-pagination .page-numbers li .page-numbers:hover,
.woocommerce-pagination .page-numbers li .page-numbers.current {
    color: var(--tc-system-white) !important;
    background: var(--tc-neutral-900) !important;
    border-color: var(--tc-neutral-900) !important;
}

/* ==========================================================================
   Quick View
   ========================================================================== */

.quick-view-content .product-title {
    font-size: 34px;
    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
   ========================================================================== */

.foks-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;
}

.foks-quick-view-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.foks-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;
}

.foks-quick-view-wrapper {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    animation: slideUp 0.3s ease;
}

.foks-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);
}

.foks-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);
}

.foks-quick-view-close:hover {
    transform: rotate(90deg);
}

.foks-quick-view-close svg {
    width: 20px;
    height: 20px;
}

/* Loading State */
.foks-quick-view-loading {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.foks-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;
}

.foks-quick-view-loading span {
    display: block;
    font-size: 16px;
    color: var(--tc-neutral-600);
}

/* Error State */
.foks-quick-view-error {
    text-align: center;
    padding: 60px 20px;
}

.foks-quick-view-error svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #ff4444;
}

.foks-quick-view-error p {
    font-size: 16px;
    color: var(--tc-neutral-600);
    margin-bottom: 20px;
}

.foks-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 */
.foks-quick-view-content {
    min-height: 200px;
}

.foks-quick-view-content .quick-view-content {
    display: block;
}

.foks-quick-view-content .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.foks-quick-view-content .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

/* Product Images in Quick View */

.foks-quick-view-content .woocommerce-product-gallery {
    margin: 0;
}

.foks-quick-view-content .woocommerce-product-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Product Summary in Quick View */
.foks-quick-view-content .product-summary-wrapper {
    padding-left: 20px;
}

.foks-quick-view-content .product-title,
.foks-quick-view-content .product_title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.foks-quick-view-content .product-price,
.foks-quick-view-content .price {
    color: var(--tc-neutral-900, #0e0e0f);
    margin-bottom: 20px;
    display: block;
    font-size: 28px;
    font-weight: 500;
    margin-top: 0;
}

.foks-quick-view-content .product-excerpt,
.foks-quick-view-content .woocommerce-product-details__short-description {
    margin-bottom: 25px;
    line-height: 1.8;
}

.foks-quick-view-content .cart {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.foks-quick-view-content .quantity {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.foks-quick-view-content .quantity input {
    width: 60px;
    text-align: center;
    border: none;
    padding: 10px;
}

.foks-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;
}

.foks-quick-view-content .single_add_to_cart_button:hover {
    background: var(--tc-neutral-900-dark, #d88412);
}

.foks-quick-view-content .product-meta,
.foks-quick-view-content .product_meta {
    padding-top: 20px;
    font-size: 14px;
}

.foks-quick-view-content .product-meta > span,
.foks-quick-view-content .product_meta > span {
    display: block;
    margin-bottom: 8px;
}

.foks-quick-view-content .view-full-details a {
    color: var(--tc-neutral-900, #0e0e0f);
    text-decoration: none;
    font-weight: 600;
}

.foks-quick-view-content .view-full-details a:hover {
    text-decoration: underline;
}

/* Body when Quick View is open */
body.foks-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) {
    .foks-quick-view-content .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .foks-quick-view-content .product-summary-wrapper {
        padding-left: 0;
        padding-top: 20px;
    }

    .foks-quick-view-content-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 575px) {
    .foks-quick-view-wrapper {
        width: 95%;
        max-height: 95vh;
    }

    .foks-quick-view-content-wrapper {
        padding: 20px 15px;
    }

    .foks-quick-view-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }

    .foks-quick-view-content .product-title,
    .foks-quick-view-content .product_title {
        font-size: 22px;
    }

    .foks-quick-view-content .product-price,
    .foks-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: 34px;
    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
   ========================================================================== */

.foks-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;
}

.foks-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.foks-notification .notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.foks-notification .notification-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foks-notification .notification-icon svg {
    width: 20px;
    height: 20px;
}

.foks-notification .notification-message {
    font-size: 14px;
    font-weight: 500;
    color: var(--tc-neutral-900);
}

/* Success Notification */
.foks-notification-success {
    border-left: 4px solid #10b981;
}

.foks-notification-success .notification-icon svg {
    color: #10b981;
}

/* Error Notification */
.foks-notification-error {
    border-left: 4px solid #ef4444;
}

.foks-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) {
    .foks-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%;
}

.foks-products {
    padding-top: 30px;
    width: 100%;
    display: block;
    overflow: hidden;
}

.foks-products .product-item .product-image-wrapper {
    text-align: center;
}

.foks-products .product-item .add_to_cart_button {
    margin-bottom: 3px;
}

.foks-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;
    color: var(--tc-neutral-900);
    margin-top: 0;
}

.single-product p.price del {
    font-size: 18px;
    font-weight: 600;
    color: var(--tc-neutral-400);
    background: var(--tc-neutral-400);
    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: var();
    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: 80px;
}

.single-product .entry-summary form.cart button {
    display: flex;
    padding: 15px 24px;
    background: #0e0e0f;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.single-product .entry-summary form.cart button:hover {
    transform: translateY(-2px);
    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-700);
    font-family: var(--tc-heading-font-family);
    font-size: 18px;
    font-weight: 600;
    line-height: 120%;
}

.woocommerce-tabs .wc-tabs li.active a {
    color: var(--tc-neutral-900);
}

.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 {
    border: 1px solid var(--tc-neutral-200);
    border-radius: 16px;
    padding: 30px;
}

.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 .foks-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;
}

.foks-page-content .wc-block-grid.has-4-columns:not(.alignwide):not(.alignfull) .wc-block-grid__product,
.foks-page-content .wc-block-grid.has-5-columns.alignfull .wc-block-grid__product {
    font-size: 1em;
}

.foks-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 !important;
    font-size: 14px !important;
    font-weight: 600;
    border: 0;
}

.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: 1em;
    width: 1em;
    text-indent: -999em;
    display: inline-block;
    text-decoration: none;
}

.woocommerce p.stars a::before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    line-height: 1;
    /* font-family: WooCommerce; */
    content: "";
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16"><path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: 0;
}

.woocommerce p.stars a::before {
    white-space: nowrap;
    display: inline-block;
    vertical-align: top;
    /* background-color: var(--tc-neutral-900); */
}
.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;
    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-color: var(--tc-neutral-900);
}
.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-neutral-900) !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 {
    transform: translateY(-2px);
    transition: all 0.2s ease-in-out;
    text-decoration: underline;
}
.form-submit input.submit {
    border: none;
    background: var(--tc-brand-button-bg);
    color: var(--tc-system-white);
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ==========================================================================
   My Account Page - Custom Layout
   ========================================================================== */

.foks-my-account-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    padding: 60px 0;
}

/* Sidebar */
.foks-my-account-sidebar {
    background: var(--tc-brand-card-bg);
    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 */
.foks-account-navigation {
    margin: 0;
}

.foks-account-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.foks-account-menu-item {
    margin-bottom: 4px;
}

.foks-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;
}

.foks-account-menu-link:hover {
    background: var(--tc-system-white);
    color: var(--tc-neutral-900);
    transform: translateX(5px);
}

.foks-account-menu-item.is-active .foks-account-menu-link {
    background: var(--tc-brand-button-bg);
    color: var(--tc-system-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.foks-account-menu-link .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.foks-account-menu-link .menu-icon svg {
    width: 20px;
    height: 20px;
}

.foks-account-menu-link .menu-label {
    flex: 1;
}

.foks-account-menu-link .menu-arrow {
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.foks-account-menu-link:hover .menu-arrow,
.foks-account-menu-item.is-active .foks-account-menu-link .menu-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Logout item styling */
.foks-account-menu-item.customer-logout .foks-account-menu-link {
    color: var(--tc-neutral-900);
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--tc-neutral-200);
    border-radius: 0 0 10px 10px;
}

.foks-account-menu-item.customer-logout .foks-account-menu-link:hover {
    color: var(--tc-neutral-900);
}

/* Content Area */
.foks-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
   ========================================================================== */

.foks-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-neutral-900);
    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-brand-body-bg);
    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;
    margin-top: 20px;
}

.quick-action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: var(--tc-brand-body-bg);
    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;
    border-radius: 16px;
    margin-bottom: 15px;
}

.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-brand-body-bg);
    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 {
    transform: translateY(-2px);
}

/* ==========================================================================
   My Account Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    .foks-my-account-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 30px;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .foks-my-account-wrapper {
        grid-template-columns: 1fr;
    }

    .foks-my-account-sidebar {
        position: static;
    }

    .dashboard-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .foks-my-account-wrapper {
        padding: 30px 0;
        gap: 20px;
    }

    .foks-my-account-sidebar {
        padding: 20px;
    }

    .foks-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;
    }
}
p.woocommerce-result-count {
    margin-bottom: 0 !important;
}

.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
	float: right;
	margin-top: -25px;
}

.woocommerce-ordering select {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--tc-neutral-200);
}