/**
 * WooCommerce Styling - Minimal overrides
 * Only adds left sidebar support and theme-specific styling
 *
 * @package US_Transceivers
 */

/* ========================================
   1. LEFT SIDEBAR LAYOUT - Shop/Category/Brand Pages
   ======================================== */

/* Only apply sidebar layout to specific pages */
.woocommerce-archive .content-sidebar-wrap,
.woocommerce-brand-archive .content-sidebar-wrap,
.woocommerce-page.page-left-sidebar .content-sidebar-wrap {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.woocommerce-archive .sidebar-secondary,
.woocommerce-brand-archive .sidebar-secondary,
.woocommerce-page.page-left-sidebar .sidebar-secondary {
    background: #f9fafb;
    padding: 30px;
    border-radius: 8px;
    position: sticky;
    top: 20px;
}

/* ========================================
   2. TYPOGRAPHY - Theme Fonts
   ======================================== */

/* Page titles with Oswald font */
.woocommerce-products-header__title,
.product_title.entry-title {
    font-family: 'Oswald', sans-serif;
    color: #304b92;
    text-transform: capitalize;
    letter-spacing: 1px;
}

/* ========================================
   3. CATEGORY TREE WIDGET STYLING
   ======================================== */

/* Widget Titles */
.widget-area .widget-title,
.widget_product_categories .widget-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #304b92;
    text-transform: uppercase;
    border-bottom: 2px solid #304b92;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

/* Product Categories Widget - Tree Structure */
.widget_product_categories ul,
.widget_product_categories .product-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_product_categories ul li,
.widget_product_categories .product-categories li {
    position: relative;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.widget_product_categories ul li:last-child {
    border-bottom: none;
}

.widget_product_categories ul li a {
    color: #484848;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.widget_product_categories ul li a:hover {
    color: #ea272f;
    padding-left: 5px;
}

/* Active/Current Category */
.widget_product_categories ul li.current-cat > a,
.widget_product_categories ul li.current-cat-parent > a {
    color: #ea272f;
    font-weight: 700;
}

/* Product Count Badge */
.widget_product_categories .count {
    background: #f9fafb;
    color: #6b7280;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    min-width: 25px;
    text-align: center;
}

/* Sub-categories (children) */
.widget_product_categories ul.children,
.widget_product_categories .product-categories ul {
    margin-top: 8px;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 2px solid #e5e7eb;
}

.widget_product_categories ul.children li,
.widget_product_categories .product-categories ul li {
    padding: 6px 0;
    font-size: 0.95em;
}

.widget_product_categories ul.children li a,
.widget_product_categories .product-categories ul li a {
    font-weight: 400;
}

.widget_product_categories ul.children .count,
.widget_product_categories .product-categories .count {
    font-size: 10px;
    padding: 2px 6px;
}

/* Nested sub-sub-categories */
.widget_product_categories ul.children ul.children {
    margin-left: 12px;
    padding-left: 12px;
}

.widget_product_categories ul.children ul.children li {
    font-size: 0.9em;
    color: #6b7280;
}

/* Category parent icons/indicators */
.widget_product_categories ul li.cat-parent > a::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #304b92;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.widget_product_categories ul li.cat-parent.current-cat-parent > a::before {
    transform: rotate(90deg);
    color: #ea272f;
}

/* ========================================
   4. THEME COLOR OVERRIDES
   ======================================== */

/* Primary buttons */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: #ea272f;
    color: white;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: #c21f26;
}

/* Sale badges */
.woocommerce span.onsale {
    background-color: #ea272f;
}

/* Prices */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #ea272f;
    font-size: 1.75rem;
    font-weight: 700;
}

.woocommerce div.product p.price .woocommerce-Price-amount,
.woocommerce div.product span.price .woocommerce-Price-amount {
    font-size: inherit;
}

/* Star ratings */
.woocommerce .star-rating span {
    color: #ea272f;
}

/* ========================================
   5. PRODUCT GRID & BOX STYLING
   ======================================== */

/* Product Grid Layout */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 240px);
    gap: 30px;
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
    justify-content: center;
}

/* Remove WooCommerce clearfix pseudo-elements that interfere with grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

/* Product Box */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product-slide-box {
    width: 240px;
    max-width: 240px;
    height: 412px;
    border: 1px solid #cccccc;
    border-radius: 10px;
    padding: 8px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    transition: box-shadow 0.3s ease;
    margin: 0;
}

.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product-slide-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Product Title */
.woocommerce ul.products li.product .product-title,
.woocommerce ul.products li.product-slide-box .product-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14.05px;
    line-height: 19.57px;
    text-align: center;
    color: #000000;
    margin: 0 0 8px 0;
    min-height: 85px;
    height: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.woocommerce ul.products li.product .product-title a,
.woocommerce ul.products li.product-slide-box .product-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce ul.products li.product .product-title a:hover,
.woocommerce ul.products li.product-slide-box .product-title a:hover {
    color: #EA272F;
}

/* Product Reviews */
.woocommerce ul.products li.product .product-reviews,
.woocommerce ul.products li.product-slide-box .product-reviews {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.woocommerce ul.products li.product .product-reviews i,
.woocommerce ul.products li.product-slide-box .product-reviews i {
    font-family: 'Font Awesome 5 Pro', 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 8.68px;
    line-height: 8.68px;
    color: #FBAE24;
}

.woocommerce ul.products li.product .product-reviews .review-count,
.woocommerce ul.products li.product-slide-box .product-reviews .review-count {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 9.47px;
    line-height: 9.47px;
    color: #999999;
    margin-left: 3px;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .product-add-to-cart,
.woocommerce ul.products li.product-slide-box .product-add-to-cart {
    width: 100%;
    margin-bottom: 12px;
}

.woocommerce ul.products li.product .product-add-to-cart .button,
.woocommerce ul.products li.product-slide-box .product-add-to-cart .button {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 1;
    color: #FFFFFF;
    background: #EB4227;
    border: none;
    border-radius: 5px;
    padding: 10px 16px;
    width: 100%;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.woocommerce ul.products li.product .product-add-to-cart .button:hover,
.woocommerce ul.products li.product-slide-box .product-add-to-cart .button:hover {
    background: #c21f26;
}

.woocommerce ul.products li.product .product-add-to-cart .button.loading,
.woocommerce ul.products li.product-slide-box .product-add-to-cart .button.loading {
    opacity: 0.7;
    cursor: wait;
}

.woocommerce ul.products li.product .product-add-to-cart .button.added,
.woocommerce ul.products li.product .product-add-to-cart .button.added_to_cart_button,
.woocommerce ul.products li.product-slide-box .product-add-to-cart .button.added,
.woocommerce ul.products li.product-slide-box .product-add-to-cart .button.added_to_cart_button {
    background: #304b92;
}

.woocommerce ul.products li.product .product-add-to-cart .button.added_to_cart_button:hover,
.woocommerce ul.products li.product-slide-box .product-add-to-cart .button.added_to_cart_button:hover {
    background: #1e3a8a;
}

.woocommerce ul.products li.product .product-add-to-cart .button.product_out_of_stock,
.woocommerce ul.products li.product-slide-box .product-add-to-cart .button.product_out_of_stock {
    background: #999999;
    cursor: not-allowed;
    opacity: 0.6;
}

.woocommerce ul.products li.product .product-add-to-cart .button.product_out_of_stock:hover,
.woocommerce ul.products li.product-slide-box .product-add-to-cart .button.product_out_of_stock:hover {
    background: #999999;
}

/* Product Image */
.woocommerce ul.products li.product .product-image,
.woocommerce ul.products li.product-slide-box .product-image {
    width: 160px;
    height: 190px;
    margin-bottom: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce ul.products li.product .product-image a,
.woocommerce ul.products li.product-slide-box .product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.woocommerce ul.products li.product .product-image img,
.woocommerce ul.products li.product-slide-box .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Product Price */
.woocommerce ul.products li.product .product-price,
.woocommerce ul.products li.product-slide-box .product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.woocommerce ul.products li.product .product-price .regular-price,
.woocommerce ul.products li.product-slide-box .product-price .regular-price {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 17.21px;
    line-height: 21.31px;
    color: #000000;
}

.woocommerce ul.products li.product .product-price .current-price,
.woocommerce ul.products li.product-slide-box .product-price .current-price {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 17.21px;
    line-height: 21.31px;
    color: #EB4227;
}

.woocommerce ul.products li.product .product-price .old-price,
.woocommerce ul.products li.product-slide-box .product-price .old-price {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 15.39px;
    text-decoration: line-through;
    color: #999999;
}

.woocommerce ul.products li.product .product-price .discount-badge,
.woocommerce ul.products li.product-slide-box .product-price .discount-badge {
    width: 52px;
    height: 20px;
    background: #EB4227;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 10.68px;
    line-height: 20px;
    text-transform: uppercase;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

/* Hide WooCommerce default strikethrough price */
.woocommerce ul.products li.product .product-price del,
.woocommerce ul.products li.product-slide-box .product-price del {
    display: none !important;
}

/* Hide default WooCommerce "View Cart" link */
.woocommerce ul.products li.product a.added_to_cart.wc-forward,
.woocommerce ul.products li.product-slide-box a.added_to_cart.wc-forward {
    display: none !important;
}

/* Product Footer */
.woocommerce ul.products li.product .product-footer,
.woocommerce ul.products li.product-slide-box .product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
}

.woocommerce ul.products li.product .product-footer .purchase-count,
.woocommerce ul.products li.product-slide-box .product-footer .purchase-count {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 11.47px;
    line-height: 14.21px;
    color: #999999;
}

.woocommerce ul.products li.product .product-footer .purchase-count strong,
.woocommerce ul.products li.product-slide-box .product-footer .purchase-count strong {
    color: #000000;
    font-weight: 600;
}

/* Wishlist Button */
.woocommerce ul.products li.product .wishlist-btn,
.woocommerce ul.products li.product-slide-box .wishlist-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 20px;
    height: 20px;
}

.woocommerce ul.products li.product .wishlist-btn img,
.woocommerce ul.products li.product-slide-box .wishlist-btn img {
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

.woocommerce ul.products li.product .wishlist-btn .heart-active,
.woocommerce ul.products li.product-slide-box .wishlist-btn .heart-active {
    opacity: 0;
}

.woocommerce ul.products li.product .wishlist-btn:hover .heart-default,
.woocommerce ul.products li.product-slide-box .wishlist-btn:hover .heart-default,
.woocommerce ul.products li.product .wishlist-btn.active .heart-default,
.woocommerce ul.products li.product-slide-box .wishlist-btn.active .heart-default {
    opacity: 0;
}

.woocommerce ul.products li.product .wishlist-btn:hover .heart-active,
.woocommerce ul.products li.product-slide-box .wishlist-btn:hover .heart-active,
.woocommerce ul.products li.product .wishlist-btn.active .heart-active,
.woocommerce ul.products li.product-slide-box .wishlist-btn.active .heart-active {
    opacity: 1;
}

/* ========================================
   6. RESPONSIVE - Mobile & Tablet
   ======================================== */

@media (max-width: 992px) {
    /* Stack sidebar below content on tablet */
    .woocommerce-archive .content-sidebar-wrap,
    .woocommerce-brand-archive .content-sidebar-wrap,
    .woocommerce-page.page-left-sidebar .content-sidebar-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .woocommerce-archive .sidebar-secondary,
    .woocommerce-brand-archive .sidebar-secondary,
    .woocommerce-page.page-left-sidebar .sidebar-secondary {
        order: 2;
        position: static;
    }

    .woocommerce-archive .content-area,
    .woocommerce-brand-archive .content-area,
    .woocommerce-page.page-left-sidebar .content-area {
        order: 1;
    }

    /* Product grid - 2 columns on tablet */
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 240px);
        justify-content: center;
        gap: 25px;
    }

    .woocommerce ul.products li.product,
    .woocommerce ul.products li.product-slide-box {
        width: 240px !important;
        float: none !important;
        clear: none !important;
    }
}

@media (max-width: 768px) {
    /* Reduce title size on mobile */
    .woocommerce-products-header__title {
        font-size: 2rem;
    }

    .product_title.entry-title {
        font-size: 1.75rem;
    }

    /* Reduce sidebar padding on mobile */
    .woocommerce-archive .sidebar-secondary,
    .woocommerce-brand-archive .sidebar-secondary,
    .woocommerce-page.page-left-sidebar .sidebar-secondary {
        padding: 20px;
    }

    /* Product grid - 2 columns on small tablet/mobile landscape */
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 240px);
        justify-content: center;
        gap: 20px;
    }

    .woocommerce ul.products li.product,
    .woocommerce ul.products li.product-slide-box {
        width: 240px !important;
        float: none !important;
        clear: none !important;
    }
}

@media (max-width: 540px) {
    /* Product grid - 1 column on mobile portrait */
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        justify-content: center;
        gap: 18px;
    }

    .woocommerce ul.products li.product,
    .woocommerce ul.products li.product-slide-box {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        float: none !important;
        clear: none !important;
    }
}

/* Override WooCommerce default strong display */
.woocommerce ul.products li.product strong {
    display: inline;
}

/* ========================================
   7. WOOF FILTER & ORDERING STYLING
   ======================================== */

/* Filter Panel Tags */
.woof_products_top_panel li span,
.woof_products_top_panel2 li span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #484848;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 0px 9px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.woof_products_top_panel li span:hover,
.woof_products_top_panel2 li span:hover {
    background: #ea272f;
    border-color: #ea272f;
    color: #ffffff;
}

/* Reset Button Style 2 */
.woof_reset_button_2 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: #304b92;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woof_reset_button_2:hover {
    background: #1e3a8a;
}

/* Reset Search Form Button - No color change on hover */
button.woof_reset_search_form,
.woof_reset_search_form {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff !important;
    background: #ea272f;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button.woof_reset_search_form:hover,
.woof_reset_search_form:hover {
    background: #c21f26;
    color: #ffffff !important;
}

/* WooCommerce Ordering Select Dropdown */
.woocommerce .woocommerce-ordering select {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #484848;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 10px 35px 10px 15px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23484848' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 180px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce .woocommerce-ordering select:hover {
    border-color: #304b92;
}

.woocommerce .woocommerce-ordering select:focus {
    outline: none;
    border-color: #304b92;
    box-shadow: 0 0 0 2px rgba(48, 75, 146, 0.15);
}

/* ========================================
   8. MY ACCOUNT LOGIN/REGISTER STYLING
   ======================================== */

/* Two-column layout for login and register (uses WooCommerce default layout) */
#customer_login {
    margin: 0 auto;
}

#customer_login .u-column1,
#customer_login .u-column2 {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 30px;
}

#customer_login h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #304b92;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #ea272f;
}

/* Standalone login form (when registration is disabled) */
.woocommerce-account .woocommerce-form-login:not(#customer_login .woocommerce-form-login) {
    max-width: 450px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 30px;
}

/* Standalone login heading */
.woocommerce-account .woocommerce > h2:first-of-type {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #304b92;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #ea272f;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Standalone form inputs */
.woocommerce-account .woocommerce-form-login:not(#customer_login .woocommerce-form-login) .woocommerce-form-row label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #484848;
    margin-bottom: 8px;
    display: block;
}

.woocommerce-account .woocommerce-form-login:not(#customer_login .woocommerce-form-login) .woocommerce-form-row label .required {
    color: #ea272f;
}

.woocommerce-account .woocommerce-form-login:not(#customer_login .woocommerce-form-login) .woocommerce-Input {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce-account .woocommerce-form-login:not(#customer_login .woocommerce-form-login) .woocommerce-Input:focus {
    outline: none;
    border-color: #304b92;
    box-shadow: 0 0 0 2px rgba(48, 75, 146, 0.15);
}

/* Standalone remember me checkbox */
.woocommerce-account .woocommerce-form-login:not(#customer_login .woocommerce-form-login) .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #484848;
    cursor: pointer;
}

.woocommerce-account .woocommerce-form-login:not(#customer_login .woocommerce-form-login) .woocommerce-form__label-for-checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Standalone submit button */
.woocommerce-account .woocommerce-form-login:not(#customer_login .woocommerce-form-login) .woocommerce-form-login__submit {
    width: 100%;
    padding: 14px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ea272f;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.woocommerce-account .woocommerce-form-login:not(#customer_login .woocommerce-form-login) .woocommerce-form-login__submit:hover {
    background: #c21f26;
}

/* Standalone lost password link */
.woocommerce-account .woocommerce-form-login:not(#customer_login .woocommerce-form-login) + .woocommerce-LostPassword,
.woocommerce-account .woocommerce-form-login:not(#customer_login .woocommerce-form-login) .lost_password {
    margin-top: 15px;
    text-align: center;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce-account .woocommerce-LostPassword a,
.woocommerce-account .lost_password a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #304b92;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-account .woocommerce-LostPassword a:hover,
.woocommerce-account .lost_password a:hover {
    color: #ea272f;
}

/* Form inputs */
#customer_login .woocommerce-form-row label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #484848;
    margin-bottom: 8px;
    display: block;
}

#customer_login .woocommerce-form-row label .required {
    color: #ea272f;
}

#customer_login .woocommerce-Input {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#customer_login .woocommerce-Input:focus {
    outline: none;
    border-color: #304b92;
    box-shadow: 0 0 0 2px rgba(48, 75, 146, 0.15);
}

/* Remember me checkbox */
#customer_login .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #484848;
    cursor: pointer;
}

#customer_login .woocommerce-form__label-for-checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Submit buttons */
#customer_login .woocommerce-form-login__submit,
#customer_login .woocommerce-form-register__submit {
    width: 100%;
    padding: 14px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ea272f;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

#customer_login .woocommerce-form-login__submit:hover,
#customer_login .woocommerce-form-register__submit:hover {
    background: #c21f26;
}

/* Lost password link */
#customer_login .lost_password {
    margin-top: 15px;
    text-align: center;
}

#customer_login .lost_password a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #304b92;
    text-decoration: none;
    transition: color 0.3s ease;
}

#customer_login .lost_password a:hover {
    color: #ea272f;
}

/* Register password info text */
#customer_login .register-password-info {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6b7280;
    background: #f9fafb;
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Responsive - Stack on mobile */
@media (max-width: 768px) {
    #customer_login {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #customer_login .u-column1,
    #customer_login .u-column2 {
        padding: 25px 20px;
    }
}

/* ========================================
   9. SINGLE PRODUCT PAGE STYLING
   ======================================== */

/* Stock Status */
.woocommerce div.product p.stock {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 15px;
}

.woocommerce div.product p.stock.in-stock {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.woocommerce div.product p.stock.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Quantity Input */
.woocommerce .quantity .qty {
    width: 80px;
    height: 48px;
    padding: 10px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.woocommerce .quantity .qty:focus {
    outline: none;
    border-color: #304b92;
    box-shadow: 0 0 0 3px rgba(48, 75, 146, 0.15);
}

/* Add to Cart Button */
.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart .single_add_to_cart_button {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ea272f 0%, #c21f26 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #c21f26 0%, #a01b21 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 39, 47, 0.3);
}

/* Product Meta */
.product_meta {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6b7280;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.product_meta > span {
    display: block;
    margin-bottom: 8px;
}

.product_meta .sku_wrapper,
.product_meta .posted_in,
.product_meta .tagged_as {
    color: #6b7280;
}

.product_meta .sku_wrapper .sku {
    font-weight: 600;
    color: #304b92;
}

.product_meta a {
    color: #304b92;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.product_meta a:hover {
    color: #ea272f;
}

/* Product Tabs */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 50px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 5px;
    padding: 0;
    margin: 0 0 0 0;
    list-style: none;
    border-bottom: 3px solid #e5e7eb;
    overflow: visible;
}

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

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    margin: 0;
    padding: 0;
    position: relative;
    top: 3px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 15px 25px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #304b92;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: #ffffff;
    border-color: #304b92;
    border-bottom: 3px solid #ffffff;
    z-index: 1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #304b92;
}

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

/* Tab Panel */
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel {
    background: #ffffff;
    border: 2px solid #304b92;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 30px;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #304b92;
    margin-bottom: 20px;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel p,
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel li {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}

/* Additional Information Table */
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel table.shop_attributes {
    border: none;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel table.shop_attributes th {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #304b92;
    background: #f9fafb;
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel table.shop_attributes td {
    font-family: 'Inter', sans-serif;
    color: #374151;
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
}

/* ========================================
   10. REVIEWS SECTION STYLING
   ======================================== */

.woocommerce-Reviews {
    font-family: 'Inter', sans-serif;
}

.woocommerce #reviews #comments h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #304b92;
    margin-bottom: 25px;
}

/* Review List */
.woocommerce #reviews #comments ol.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce #reviews #comments ol.commentlist li {
    margin-bottom: 25px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 10px;
    border-left: 4px solid #304b92;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
    margin: 0;
    border: none;
    padding: 0;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.woocommerce #reviews #comments ol.commentlist li .meta {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.woocommerce #reviews #comments ol.commentlist li .meta strong {
    color: #304b92;
    font-weight: 600;
}

.woocommerce #reviews #comments ol.commentlist li .description p {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
    margin: 0;
}

/* Star Rating */
.woocommerce .star-rating {
    color: #fbbf24;
}

.woocommerce .star-rating span::before {
    color: #fbbf24;
}

/* Review Form */
#review_form_wrapper {
    margin-top: 40px;
}

.woocommerce #review_form #respond {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 30px;
}

.woocommerce #review_form #respond .comment-reply-title {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #304b92;
    margin-bottom: 20px;
}

.woocommerce #review_form #respond p label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #484848;
    display: block;
    margin-bottom: 8px;
}

.woocommerce #review_form #respond p label .required {
    color: #ea272f;
}

.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"],
.woocommerce #review_form #respond textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.woocommerce #review_form #respond input[type="text"]:focus,
.woocommerce #review_form #respond input[type="email"]:focus,
.woocommerce #review_form #respond textarea:focus {
    outline: none;
    border-color: #304b92;
    box-shadow: 0 0 0 3px rgba(48, 75, 146, 0.15);
}

.woocommerce #review_form #respond textarea {
    min-height: 150px;
    resize: vertical;
}

.woocommerce #review_form #respond .form-submit input[type="submit"] {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 30px;
    background: #ea272f;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce #review_form #respond .form-submit input[type="submit"]:hover {
    background: #c21f26;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 39, 47, 0.3);
}

/* Rating Select */
.woocommerce #review_form #respond .comment-form-rating {
    margin-bottom: 20px;
}

.woocommerce #review_form #respond .comment-form-rating label {
    margin-bottom: 10px;
}

.woocommerce #review_form #respond .comment-form-rating .stars {
    display: inline-flex;
    gap: 5px;
}

.woocommerce #review_form #respond .comment-form-rating .stars a {
    font-size: 24px;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce #review_form #respond .comment-form-rating .stars a:hover,
.woocommerce #review_form #respond .comment-form-rating .stars a.active {
    color: #fbbf24;
}

.woocommerce #review_form #respond .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================
   11. PRODUCT IMAGE STYLING
   ======================================== */

.woocommerce div.product div.images {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce div.product div.images img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Additional Information - Label takes 50% width, left-aligned */
.woocommerce table.shop_attributes th,
.woocommerce-product-attributes-item__label {
    width: 50% !important;
    text-align: left;
}

/* Hide avatar photos in reviews */
.woocommerce #reviews #comments ol.commentlist li img.avatar {
    display: none !important;
}

/* Style "View Cart" link on single product page */
.woocommerce div.product form.cart .added_to_cart.wc-forward {
    margin-left: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #304b92;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #304b92;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.woocommerce div.product form.cart .added_to_cart.wc-forward:hover {
    background: #304b92;
    color: #ffffff;
}

/* ========================================
   12. RELATED PRODUCTS STYLING
   ======================================== */

.woocommerce div.product section.related {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e5e7eb;
}

.woocommerce div.product section.related > h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    color: #304b92;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Related Products Grid - 4 per row, left aligned */
.woocommerce div.product section.related ul.products {
    display: grid;
    grid-template-columns: repeat(4, 240px);
    gap: 20px;
    justify-content: flex-start;
}

.woocommerce div.product section.related ul.products li.product {
    width: 240px !important;
    max-width: 240px !important;
    margin: 0 !important;
    float: none !important;
}

/* ========================================
   13. CART & CHECKOUT STYLING (Block-based Cart)
   ======================================== */

/* Cart Page Title */
.woocommerce-cart .entry-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    color: #304b92;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

/* Cart Container */
.wp-block-woocommerce-cart {
    font-family: 'Inter', sans-serif;
}

/* Cart Table Header Row */
.wc-block-cart-items__header {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #304b92;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cart Item Rows */
.wc-block-cart-items__row {
    border-bottom: 1px solid #f0f0f0;
}

/* Product Image in Cart */
.wc-block-cart-item__image img {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    padding: 4px;
    background: #ffffff;
    object-fit: contain;
}

/* Product Name in Cart */
.wc-block-cart-item__product a {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #484848;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wc-block-cart-item__product a:hover {
    color: #304b92;
}

/* Product Price */
.wc-block-cart-item__prices {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #484848;
}

/* Product Total */
.wc-block-cart-item__total .wc-block-formatted-money-amount {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #304b92;
    font-size: 15px;
}

/* Quantity Input */
.wc-block-cart-item__quantity input.wc-block-components-quantity-selector__input,
.wc-block-components-quantity-selector__input {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.wc-block-cart-item__quantity input.wc-block-components-quantity-selector__input:focus,
.wc-block-components-quantity-selector__input:focus {
    outline: none;
    border-color: #304b92;
    box-shadow: 0 0 0 2px rgba(48, 75, 146, 0.15);
}

/* Quantity Selector Buttons */
.wc-block-components-quantity-selector__button {
    color: #304b92;
    transition: color 0.3s ease;
}

.wc-block-components-quantity-selector__button:hover {
    color: #ea272f;
}

/* Remove Link */
.wc-block-cart-item__remove-link {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #ea272f !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.wc-block-cart-item__remove-link:hover {
    opacity: 0.7;
}

/* Cart Totals Sidebar */
.wc-block-cart__totals-title {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #304b92;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Order Summary Labels & Values */
.wc-block-components-totals-item__label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #484848;
}

.wc-block-components-totals-item__value {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #484848;
}

/* Order Total */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-weight: 700;
    color: #304b92;
    font-size: 16px;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-weight: 700;
    color: #304b92;
    font-size: 18px;
}

/* Checkout Button */
.wc-block-cart__submit-button {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #304b92 0%, #3d5cae 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(48, 75, 146, 0.3);
}

.wc-block-cart__submit-button:hover {
    background: linear-gradient(135deg, #243a75 0%, #304b92 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(48, 75, 146, 0.4);
}

/* Coupon Form */
.wc-block-components-totals-coupon__form .wc-block-components-text-input input {
    font-family: 'Inter', sans-serif;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input input:focus {
    border-color: #304b92;
    box-shadow: 0 0 0 2px rgba(48, 75, 146, 0.15);
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #304b92;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover {
    background: #243a75;
}

/* Hide product metadata in cart */
.woocommerce-cart .wc-block-components-product-metadata {
    display: none;
}

/* Empty Cart Title */
.wc-block-cart__empty-cart__title {
    font-family: 'Oswald', sans-serif;
    color: #304b92;
}

/* Empty Cart "New in store" Products */
.woocommerce-cart .wc-block-grid__product-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #484848;
}

.woocommerce-cart .wc-block-grid__product-price {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #484848;
}

.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #ea272f;
    color: #ffffff;
    border-radius: 5px;
    padding: 10px 16px;
    transition: background 0.3s ease;
}

.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    background: #c21f26;
}

/* Proceed to Checkout Button */
.woocommerce .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #304b92 0%, #3d5cae 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(48, 75, 146, 0.3);
}

.woocommerce .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: linear-gradient(135deg, #243a75 0%, #304b92 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(48, 75, 146, 0.4);
    color: #ffffff;
}

/* Cart Totals */
.woocommerce .cart-collaterals .cart_totals {
    background: #f9fafb;
    border-radius: 10px;
    padding: 25px;
    border: 2px solid #e5e7eb;
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #304b92;
    margin-bottom: 20px;
}

.woocommerce .cart-collaterals .cart_totals table {
    border: none;
}

.woocommerce .cart-collaterals .cart_totals table th,
.woocommerce .cart-collaterals .cart_totals table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 10px;
}

.woocommerce .cart-collaterals .cart_totals table th {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #484848;
}

.woocommerce .cart-collaterals .cart_totals table .order-total th,
.woocommerce .cart-collaterals .cart_totals table .order-total td {
    font-size: 18px;
    color: #304b92;
    border-bottom: none;
}

/* ========================================
   14. RESPONSIVE PRODUCT PAGE
   ======================================== */

@media (max-width: 1024px) {
    .woocommerce div.product section.related ul.products {
        grid-template-columns: repeat(3, 240px);
    }
}

@media (max-width: 800px) {
    .woocommerce div.product section.related ul.products {
        grid-template-columns: repeat(2, 240px);
        justify-content: center;
    }
}

@media (max-width: 540px) {
    .woocommerce div.product section.related ul.products {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .woocommerce div.product section.related ul.products li.product {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs {
        flex-direction: column;
        gap: 0;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        border-radius: 0;
        top: 0;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li:first-child {
        border-radius: 8px 8px 0 0;
    }

    .woocommerce div.product .woocommerce-tabs ul.tabs li a {
        padding: 12px 20px;
    }
}

/* ========================================
   15. CHECKOUT PAGE STYLING (Block-based)
   ======================================== */

/* Checkout Container */
.wp-block-woocommerce-checkout {
    font-family: 'Inter', sans-serif;
}

/* Checkout Page Title */
.woocommerce-checkout .entry-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    color: #304b92;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

/* Step Titles (Contact, Shipping, Payment) */
.wc-block-components-checkout-step__title {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    color: #304b92;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Step Numbers */
.wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__title:before {
    color: #ea272f;
    font-weight: 700;
}

/* Step Description */
.wc-block-components-checkout-step__description {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6b7280;
}

/* Form Inputs */
.wc-block-checkout .wc-block-components-text-input input,
.wc-block-checkout .wc-block-components-text-input textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.wc-block-checkout .wc-block-components-text-input input:focus,
.wc-block-checkout .wc-block-components-text-input textarea:focus {
    border-color: #304b92;
    box-shadow: 0 0 0 2px rgba(48, 75, 146, 0.15);
}

/* Form Labels */
.wc-block-checkout .wc-block-components-text-input label {
    font-family: 'Inter', sans-serif;
    color: #6b7280;
}

/* Select Dropdowns */
.wc-block-checkout .wc-block-components-combobox .components-combobox-control input,
.wc-block-checkout select {
    font-family: 'Inter', sans-serif;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.wc-block-checkout .wc-block-components-combobox .components-combobox-control input:focus,
.wc-block-checkout select:focus {
    border-color: #304b92;
    box-shadow: 0 0 0 2px rgba(48, 75, 146, 0.15);
}

/* Checkbox Styling */
.wc-block-components-checkbox__input[type=checkbox]:checked {
    background-color: #304b92;
    border-color: #304b92;
}

/* Order Summary Sidebar Title */
.wc-block-checkout .wc-block-components-order-summary .wc-block-components-panel__button {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    color: #304b92;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Order Summary Product Items */
.wc-block-components-order-summary-item__image > img {
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.wc-block-components-order-summary-item__description {
    font-family: 'Inter', sans-serif;
}

.wc-block-components-order-summary-item__description a {
    color: #484848;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wc-block-components-order-summary-item__description a:hover {
    color: #304b92;
}

.wc-block-components-order-summary-item__total-price {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #304b92;
}

.wc-block-components-order-summary-item__quantity {
    background: #304b92;
}

/* Checkout Totals Labels */
.wc-block-checkout .wc-block-components-totals-item__label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #484848;
}

.wc-block-checkout .wc-block-components-totals-item__value {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #484848;
}

/* Checkout Order Total */
.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-weight: 700;
    color: #304b92;
    font-size: 16px;
}

.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-weight: 700;
    color: #304b92;
    font-size: 18px;
}

/* Coupon Form in Checkout */
.wc-block-checkout .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #304b92;
    color: #ffffff;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.wc-block-checkout .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button:hover {
    background: #243a75;
}

/* Place Order Button */
.wc-block-components-checkout-place-order-button {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ea272f 0%, #c21f26 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(234, 39, 47, 0.3);
}

.wc-block-components-checkout-place-order-button:hover {
    background: linear-gradient(135deg, #c21f26 0%, #a01b21 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 39, 47, 0.4);
}

/* Payment Method Options */
.wc-block-checkout__payment-method .wc-block-components-radio-control__option,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option {
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.wc-block-checkout__payment-method .wc-block-components-radio-control__option:hover,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:hover {
    border-color: #304b92;
    background: #ffffff;
}

.wc-block-checkout__payment-method .wc-block-components-radio-control__option-checked,
.wc-block-checkout__payment-method .wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
    border-color: #304b92;
    background: #ffffff;
    box-shadow: 0 0 0 1px #304b92;
}

/* Payment method label */
.wc-block-checkout__payment-method .wc-block-components-radio-control__label {
    font-weight: 600;
    color: #484848;
    font-size: 14px;
}

/* Payment method description */
.wc-block-checkout__payment-method .wc-block-components-radio-control__description {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

/* Radio input styling */
.wc-block-checkout__payment-method .wc-block-components-radio-control__input:checked {
    border-color: #304b92;
    background-color: #304b92;
}

/* Remove default divider lines between options */
.wc-block-checkout__payment-method .wc-block-components-radio-control__option:after,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:after {
    display: none;
}

/* Accordion content area (e.g. COD description) */
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content {
    padding: 12px 20px 4px;
    font-size: 13px;
    color: #6b7280;
}

/* Shipping Method Options */
.wc-block-checkout__shipping-method-option {
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.wc-block-checkout__shipping-method-option--selected {
    border-color: #304b92;
}

.wc-block-checkout__shipping-method-option-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #484848;
}

.wc-block-checkout__shipping-method-option-price {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #304b92;
}

/* Notices */
.wc-block-components-notices__notice {
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
}

/* Login Prompt */
.wc-block-checkout__login-prompt {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6b7280;
}

.wc-block-checkout__login-prompt a {
    color: #304b92;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wc-block-checkout__login-prompt a:hover {
    color: #ea272f;
}

/* Terms & Conditions */
.wc-block-checkout__terms {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6b7280;
}

/* ========================================
   16. ORDER RECEIVED / THANK YOU PAGE
   ======================================== */

/* Success Message */
.woocommerce-order-received .woocommerce-notice--success.woocommerce-thankyou-order-received {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #065f46;
    background: #d1fae5;
    border: 1px solid #10b981;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 30px;
    text-align: center;
}

/* Order Overview (Order number, Date, Email, Total, Payment method) */
.woocommerce-order-received .woocommerce-order-overview.order_details::before,
.woocommerce-order-received .woocommerce-order-overview.order_details::after {
    display: none;
}

.woocommerce-order-received .woocommerce-order-overview.order_details {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-order-received .woocommerce-order-overview li {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #6b7280;
    padding: 18px 20px;
    border-right: 1px solid #e5e7eb;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.woocommerce-order-received .woocommerce-order-overview li:first-child {
    border-left: none;
    padding-left: 25px;
}

.woocommerce-order-received .woocommerce-order-overview li:last-child {
    border-right: none;
}

.woocommerce-order-received .woocommerce-order-overview li.method {
    display: none;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #304b92;
    margin-top: 6px;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.woocommerce-order-received .woocommerce-order-overview li.total strong {
    color: #ea272f;
    font-size: 18px;
}

/* Order Details Section */
.woocommerce-order-received .woocommerce-order-details {
    margin-bottom: 35px;
}

.woocommerce-order-received .woocommerce-order-details__title {
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    color: #304b92;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ea272f;
}

/* Order Details Table */
.woocommerce-order-received .woocommerce-table--order-details {
    font-family: 'Inter', sans-serif;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    width: 100%;
}

.woocommerce-order-received .woocommerce-table--order-details thead {
    background: #f9fafb;
}

.woocommerce-order-received .woocommerce-table--order-details thead th {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #304b92;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    border-bottom: 2px solid #e5e7eb;
    text-align: left;
}

.woocommerce-order-received .woocommerce-table--order-details tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #484848;
}

.woocommerce-order-received .woocommerce-table--order-details tbody td a {
    color: #484848;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-order-received .woocommerce-table--order-details tbody td a:hover {
    color: #304b92;
}

.woocommerce-order-received .woocommerce-table--order-details tbody td .product-quantity {
    color: #6b7280;
}

/* Table Footer (Subtotal, Shipping, Payment, Total) */
.woocommerce-order-received .woocommerce-table--order-details tfoot th {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #484848;
    padding: 14px 20px;
    border-top: 1px solid #e5e7eb;
    text-align: left;
}

.woocommerce-order-received .woocommerce-table--order-details tfoot td {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #484848;
    padding: 14px 20px;
    border-top: 1px solid #e5e7eb;
    text-align: left;
}

/* Order Total Row */
.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child th {
    font-weight: 700;
    font-size: 16px;
    color: #304b92;
    border-top: 2px solid #e5e7eb;
}

.woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child td {
    font-weight: 700;
    font-size: 18px;
    color: #304b92;
    border-top: 2px solid #e5e7eb;
}

/* Customer Details Section (Billing/Shipping Address) */
.woocommerce-order-received .woocommerce-customer-details {
    margin-top: 35px;
}

.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    color: #304b92;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ea272f;
}

.woocommerce-order-received .woocommerce-customer-details address {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #484848;
    background: #f9fafb;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-style: normal;
}

.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--phone,
.woocommerce-order-received .woocommerce-customer-details .woocommerce-customer-details--email {
    margin-top: 8px;
    color: #304b92;
    font-weight: 500;
}

/* Two-column address layout */
.woocommerce-order-received .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Email Verification Form (for guest orders) */
.woocommerce-order-received .woocommerce-verify-email {
    font-family: 'Inter', sans-serif;
    max-width: 450px;
    margin: 0 auto;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 30px;
}

.woocommerce-order-received .woocommerce-verify-email p {
    font-size: 14px;
    color: #484848;
    line-height: 1.7;
    margin-bottom: 20px;
}

.woocommerce-order-received .woocommerce-verify-email a {
    color: #304b92;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-order-received .woocommerce-verify-email a:hover {
    color: #ea272f;
}

.woocommerce-order-received .woocommerce-verify-email label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #484848;
    display: block;
    margin-bottom: 8px;
}

.woocommerce-order-received .woocommerce-verify-email label .required {
    color: #ea272f;
}

.woocommerce-order-received .woocommerce-verify-email .input-text {
    width: 100%;
    padding: 12px 15px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.woocommerce-order-received .woocommerce-verify-email .input-text:focus {
    outline: none;
    border-color: #304b92;
    box-shadow: 0 0 0 2px rgba(48, 75, 146, 0.15);
}

.woocommerce-order-received .woocommerce-verify-email .button {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 30px;
    background: #304b92;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.woocommerce-order-received .woocommerce-verify-email .button:hover {
    background: #243a75;
}

/* ========================================
   17. RESPONSIVE CART & CHECKOUT
   ======================================== */

@media (max-width: 768px) {
    .wc-block-cart__submit-button {
        font-size: 14px;
        padding: 14px 30px;
    }

    .wc-block-components-checkout-place-order-button {
        font-size: 14px;
        padding: 14px 30px;
    }

    .wc-block-components-checkout-step__title {
        font-size: 18px;
    }

    /* Order Received Responsive */
    .woocommerce-order-received .woocommerce-order-overview.order_details {
        grid-template-columns: 1fr 1fr;
    }

    .woocommerce-order-received .woocommerce-order-overview li {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .woocommerce-order-received .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .woocommerce-order-received .woocommerce-order-overview.order_details {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   WISHLIST LOGIN MODAL
   ======================================== */

.wishlist-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
}

.wishlist-modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    animation: wishlistModalFadeIn 0.3s ease;
}

@keyframes wishlistModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wishlist-modal-close {
    color: #999999;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wishlist-modal-close:hover,
.wishlist-modal-close:focus {
    color: #EA272F;
}

.wishlist-login-btn {
    display: inline-block;
    background: #EA272F;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.wishlist-login-btn:hover {
    background: #c21f26;
    color: #ffffff;
}

@media (max-width: 768px) {
    .wishlist-modal-content {
        margin: 30% auto;
        padding: 25px 20px;
    }
}

/* ========================================
   18. CATEGORY ACCORDION WIDGET
   ======================================== */

.us-category-accordion {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Reuse the existing widget-title style — no overrides needed */

/* Outer list */
.cat-accordion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each top-level category row */
.cat-accordion-list > .cat-item {
    border-bottom: 1px solid #e5e7eb;
}

.cat-accordion-list > .cat-item:last-child {
    border-bottom: none;
}

/* Header row: link + optional toggle button */
.cat-item-header {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 9px 0;
}

/* Category link */
.cat-item-header > a {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 0;
    color: #484848;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cat-item-header > a:hover {
    color: #ea272f;
}

/* Active parent: visiting its own archive */
.cat-accordion-list > .cat-item.current-cat > .cat-item-header > a {
    color: #ea272f;
    font-weight: 700;
}

/* Ancestor: a child of this category is currently viewed */
.cat-accordion-list > .cat-item.current-cat-parent > .cat-item-header > a {
    color: #304b92;
    font-weight: 700;
}

/* Product count badge */
.cat-item-header .count {
    background: #f0f0f0;
    color: #6b7280;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: auto;
    margin-right: 4px;
    flex-shrink: 0;
}

/* Chevron toggle button */
.cat-toggle {
    background: none;
    border: none;
    padding: 4px 5px;
    cursor: pointer;
    color: #304b92;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.cat-toggle:hover {
    color: #ea272f;
}

.cat-toggle i {
    display: block;
    font-size: 11px;
    transition: transform 0.3s ease;
}

/* Rotate chevron when open */
.cat-item.open > .cat-item-header .cat-toggle i {
    transform: rotate(180deg);
}

/* Subcategory list */
.cat-children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cat-children .cat-item {
    border-bottom: none;
    margin: 0;
    padding: 0;
}

.cat-children .cat-item a {
    display: flex;
    align-items: center;
    padding: 6px 0;
    color: #6b7280;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.cat-children .cat-item a:hover,
.cat-children .cat-item.current-cat a {
    color: #ea272f;
    font-weight: 600;
    padding-left: 5px;
}

.cat-children .cat-item .count {
    background: #f0f0f0;
    color: #6b7280;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 8px;
    font-weight: 600;
    margin-left: auto;
    flex-shrink: 0;
}

/* ========================================
   My Account — Navigation Sidebar
   ======================================== */

.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 20%;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #f0f2f5;
    position: relative;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #484848;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.woocommerce-MyAccount-navigation ul li a::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 13px;
    width: 18px;
    text-align: center;
    color: #9ca3af;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

/* Per-item icons */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a::before   { content: '\f3fd'; } /* house-user */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a::before      { content: '\f291'; } /* shopping-basket */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--downloads a::before   { content: '\f019'; } /* download */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a::before { content: '\f015'; } /* home */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--payment-methods a::before { content: '\f09d'; } /* credit-card */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a::before { content: '\f4ff'; } /* user-pen */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: '\f2f5'; } /* right-from-bracket */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--wishlist a::before     { content: '\f004'; } /* heart */

/* Hover state */
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f5f7ff;
    color: #304b92;
    padding-left: 26px;
}

.woocommerce-MyAccount-navigation ul li a:hover::before {
    color: #304b92;
}

/* Active / current item */
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.current-menu-item a {
    background: #304b92;
    color: #fff;
    font-weight: 600;
}

.woocommerce-MyAccount-navigation ul li.is-active a::before,
.woocommerce-MyAccount-navigation ul li.current-menu-item a::before {
    color: #fff;
}

/* Active left accent bar */
.woocommerce-MyAccount-navigation ul li.is-active::before,
.woocommerce-MyAccount-navigation ul li.current-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ea272f;
    border-radius: 0 2px 2px 0;
}

/* Logout item — subtle red tint */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #9ca3af;
    font-size: 13px;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    background: #fff5f5;
    color: #ea272f;
    padding-left: 26px;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover::before {
    color: #ea272f;
}

/* ========================================
   My Account — Addresses (.col2-set)
   ======================================== */

/* Overall My Account layout */
.woocommerce-account .woocommerce {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
}

/* Addresses grid — reset WC floats, use grid */
.woocommerce-Addresses.col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 8px;
}

.woocommerce-Addresses.col2-set::before,
.woocommerce-Addresses.col2-set::after {
    display: none;
}

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

.woocommerce-Addresses.col2-set .woocommerce-Address {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    padding: 24px 24px 64px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.woocommerce-Addresses.col2-set .woocommerce-Address:hover {
    border-color: #c5cde8;
    box-shadow: 0 4px 16px rgba(48, 75, 146, 0.08);
}

/* Accent top border to distinguish billing vs shipping */
.woocommerce-Addresses.col2-set .woocommerce-Address.col-1 {
    border-top: 3px solid #304b92;
}

.woocommerce-Addresses.col2-set .woocommerce-Address.col-2 {
    border-top: 3px solid #ea272f;
}

/* Section heading — just the h3, no flex row with edit link */
.woocommerce-Addresses.col2-set .woocommerce-Address .woocommerce-Address-title {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
}

.woocommerce-Addresses.col2-set .woocommerce-Address .woocommerce-Address-title h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #304b92;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Address text */
.woocommerce-Addresses.col2-set .woocommerce-Address address {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.75;
    color: #484848;
    font-style: normal;
}

/* "No address set" placeholder */
.woocommerce-Addresses.col2-set .woocommerce-Address address p {
    color: #9ca3af;
    font-style: italic;
    margin: 0;
}

/* Override WooCommerce core float: right on the edit link */
.woocommerce-account .addresses .title .edit {
    float: left;
}

/* Edit link — absolutely pinned to card bottom */
.woocommerce-Addresses.col2-set .woocommerce-Address .woocommerce-Address-title a {
    position: absolute;
    bottom: 20px;
    left: 24px;
    float: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    border: 1px solid #e0e3ea;
    border-radius: 6px;
    padding: 6px 14px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.woocommerce-Addresses.col2-set .woocommerce-Address .woocommerce-Address-title a:hover {
    background: #304b92;
    color: #fff;
    border-color: #304b92;
}

/* Responsive — stack on mobile */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
    }

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

    .woocommerce-Addresses.col2-set {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   My Account — Save Address / Save Changes buttons
   ======================================== */

.woocommerce-account .woocommerce-EditAccountForm p.form-row:last-of-type,
.woocommerce-account .woocommerce-address-fields p.form-row:last-of-type {
    margin-top: 32px;
}

.woocommerce-account .woocommerce-EditAccountForm .woocommerce-Button,
.woocommerce-account .woocommerce-address-fields .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding: 13px 36px;
    background-color: #304b92;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border: 2px solid #304b92;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    box-shadow: 0 3px 10px rgba(48, 75, 146, 0.25);
}

.woocommerce-account .woocommerce-EditAccountForm .woocommerce-Button:hover,
.woocommerce-account .woocommerce-address-fields .button:hover {
    background-color: #253d7a;
    border-color: #253d7a;
    box-shadow: 0 5px 16px rgba(48, 75, 146, 0.35);
    transform: translateY(-1px);
    color: #fff;
}

.woocommerce-account .woocommerce-EditAccountForm .woocommerce-Button:active,
.woocommerce-account .woocommerce-address-fields .button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(48, 75, 146, 0.2);
}

/* Password change fieldset */
.woocommerce-account .woocommerce-EditAccountForm fieldset {
    padding: 24px 28px 28px;
    margin-top: 8px;
    border: 1px solid #e8eaed;
    border-radius: 8px;
}

/* Hide the redundant Data Rate filter when already on a data-rate taxonomy page */
.tax-pa_data-rate .woof_container_pa_data-rate {
    display: none;
}
