/*
 * Swiftcart Theme Custom CSS
 * Styles native WordPress & WooCommerce blocks to match the Swiftcart design.
 */

/*--------------------------------------------------------------
# Global Layout & Block Resets
--------------------------------------------------------------*/
:where(.wp-site-blocks) > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.front-page-main,
.shop-main,
.single-product-main,
.product-landing-main,
.cart-main,
.checkout-main,
.my-account-main,
.page-main,
.blog-main,
.single-main,
.error-main {
    margin-top: 0 !important;
    width: 100%;
}

.container {
    width: 100%;
    max-width: var(--wp--style--global--content-size, 1140px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.is-layout-constrained > .wp-block-columns,
.container > .wp-block-columns,
.xc-header-two__top-wrapper,
.xc-header-two__wrapper,
.xc-footer-one__wrapper,
.xc-shop-toolbar {
    width: 100%;
}

/* Page Header Banner */
.page-header.bg-black {
    background-color: var(--wp--preset--color--black, #1C1C1C);
    padding: 55px 20px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center;
}

.page-header.bg-black h1,
.page-header.bg-black .wp-block-post-title,
.page-header.bg-black .wp-block-query-title {
    color: var(--wp--preset--color--white, #ffffff) !important;
    margin: 0;
    font-size: 36px;
    font-weight: 700;
}

/*--------------------------------------------------------------
# Header 3 Styles
--------------------------------------------------------------*/
.xc-header-three {
    background-color: var(--wp--preset--color--white);
    box-shadow: 0px 4px 60px 0px rgba(0, 0, 0, 0.08);
    z-index: 99;
    position: relative;
}

.xc-header-three__top,
.xc-header-three__top.has-background {
    padding: 10px 0 !important;
}

.xc-header-three__top .xc-header-two__top-wrapper {
    align-items: center;
}

.xc-header-three__top p {
    margin: 0;
}

.xc-header-three__top a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.xc-header-three__top a:hover {
    color: var(--wp--preset--color--base) !important;
}

.xc-header-sticky-wrapper,
.xc-header-sticky-wrapper.has-background {
    transition: all 0.4s ease;
    width: 100%;
    padding: 0 !important;
}

.xc-header-sticky-wrapper.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0px 4px 60px 0px rgba(0, 0, 0, 0.10);
    animation: slideDown 0.5s ease-in-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.xc-header-two__wrapper {
    align-items: center;
    padding-top: 18px;
    padding-bottom: 18px;
}

.xc-header-two__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.xc-header-two__logo .wp-block-site-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.xc-header-two__logo .wp-block-site-title a {
    color: var(--wp--preset--color--black);
    text-decoration: none;
}

.xc-header-two__right {
    gap: 30px;
    align-items: center;
}

.xc-main-menu .wp-block-navigation-item__content {
    color: var(--wp--preset--color--black);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.xc-main-menu .wp-block-navigation-item__content:hover,
.xc-main-menu .current-menu-item > .wp-block-navigation-item__content {
    color: var(--wp--preset--color--base);
}

.xc-header-two__btns {
    gap: 15px;
    align-items: center;
}

.xc-header-two__btns .wp-block-search .wp-block-search__inside-wrapper {
    max-width: 240px;
}

.xc-header-two__btns .wp-block-search__input {
    border: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
}

.xc-header-two__btns .wp-block-search__button {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
    border: none;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.xc-header-two__btns .wp-block-search__button:hover {
    background-color: var(--wp--preset--color--base);
}

/*--------------------------------------------------------------
# Hero Slider 3 Styles
--------------------------------------------------------------*/
.xc-slider-three {
    background-color: #F4F4F4;
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 0 !important;
}

.xc-slider-three__carousel.native-slider {
    position: relative;
    width: 100%;
}

.xc-slider-three__carousel .item {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.xc-slider-three__carousel .item.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.xc-slider-three__content {
    position: relative;
    margin-top: 40px;
    padding-bottom: 20px;
}

@media (min-width: 992px) {
    .xc-slider-three__content {
        margin-top: 0;
        padding-bottom: 0;
    }
}

.xc-slider-three__img {
    position: relative;
    text-align: center;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xc-slider-three__img img {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    margin: 0 auto;
    display: block;
}

.xc-slider-three__img::before {
    content: '';
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    z-index: 0;
    position: absolute;
    display: inline-block;
    transform: translateY(-50%) translateX(-50%);
    background-color: var(--wp--preset--color--white);
}

@media (min-width: 992px) {
    .xc-slider-three__img::before {
        width: 440px;
        height: 440px;
    }
}

.xc-slider-three__bigtitle {
    font-weight: 900;
    color: #333333;
    opacity: 0.05;
    position: absolute;
    line-height: 1;
    font-size: 48px;
    top: -30px;
    left: 0;
    margin: 0;
    pointer-events: none;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .xc-slider-three__bigtitle {
        font-size: 70px;
    }
}

@media (min-width: 1200px) {
    .xc-slider-three__bigtitle {
        font-size: 96px;
        top: -65px;
    }
}

.xc-slider-three__subtitle {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 5px;
    margin-bottom: 16px;
    text-transform: uppercase;
    display: inline-block;
    color: var(--wp--preset--color--black);
    font-family: var(--wp--preset--font-family--heading);
}

@media (min-width: 992px) {
    .xc-slider-three__subtitle {
        font-size: 18px;
        letter-spacing: 8px;
    }
}

.xc-slider-three__subtitle i {
    text-decoration: underline;
    font-style: normal;
    display: inline;
}

.xc-slider-three__title {
    font-weight: 600;
    text-transform: uppercase;
    color: var(--wp--preset--color--black);
    margin-top: 0;
    margin-bottom: 35px;
    font-size: 32px;
    line-height: 1.2;
}

@media (min-width: 992px) {
    .xc-slider-three__title {
        font-size: 46px;
    }
}

.xc-slider-three__title span {
    font-weight: 700;
}

.xc-slider-three__btn .wp-element-button {
    font-size: 16px;
    font-weight: 500;
    color: var(--wp--preset--color--white);
    text-transform: uppercase;
    padding: 13px 28px;
    display: inline-block;
    font-family: var(--wp--preset--font-family--heading);
    background-color: var(--wp--preset--color--black);
    border-radius: 0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.xc-slider-three__btn .wp-element-button:hover {
    background-color: var(--wp--preset--color--base);
}

/* Slider Thumbnails */
.native-slider-thumbs {
    gap: 24px;
    margin-top: 35px;
}

.native-slider-thumbs .xc-slider-three__thumb {
    cursor: pointer;
    opacity: 0.55;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: #fff;
    padding: 6px;
    margin: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.native-slider-thumbs .xc-slider-three__thumb.active,
.native-slider-thumbs .xc-slider-three__thumb:hover {
    opacity: 1;
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.native-slider-thumbs img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

/*--------------------------------------------------------------
# Promotional Category Banners (Banner 8)
--------------------------------------------------------------*/
.xc-banner-eight__item {
    position: relative;
    transition: 0.3s;
    overflow: hidden;
    border-radius: 8px;
    height: 320px;
}

.xc-banner-eight__img {
    position: relative;
    overflow: hidden;
    height: 100%;
    margin: 0 !important;
}

.xc-banner-eight__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.xc-banner-eight__img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.xc-banner-eight__item:hover .xc-banner-eight__img img {
    transform: scale(1.05);
}

.xc-banner-eight__img::before {
    content: '';
    border: 1px solid var(--wp--preset--color--white);
    position: absolute;
    inset: 20px;
    display: inline-block;
    z-index: 2;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.xc-banner-eight__item:hover .xc-banner-eight__img::before {
    opacity: 1;
}

.xc-banner-eight__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 90%;
    margin: 0 !important;
}

.xc-banner-eight__title {
    margin: 0 0 8px 0;
}

.xc-banner-eight__title a {
    color: var(--wp--preset--color--white) !important;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.xc-banner-eight__subtitle {
    color: var(--wp--preset--color--white) !important;
    font-size: 14px;
    letter-spacing: 2px;
    margin: 0;
}

/* Banner LG */
.xc-banner-eight-lg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background-color: #EAEAEA;
    padding: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 320px;
    border-radius: 8px;
    box-sizing: border-box;
}

.xc-banner-eight-lg::before {
    content: "";
    width: 240px;
    height: 220px;
    position: absolute;
    right: 0;
    top: 0;
    display: inline-block;
    border-radius: 0px 0px 0px 120px;
    background-color: var(--wp--preset--color--white);
    z-index: -1;
}

.xc-banner-eight-lg__content {
    flex: 1;
    z-index: 2;
    margin: 0 !important;
}

.xc-banner-eight-lg__subtitle {
    color: var(--wp--preset--color--black);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: var(--wp--preset--font-family--heading);
    margin: 0 0 8px 0;
}

.xc-banner-eight-lg__title {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0 0 18px 0;
}

.xc-banner-eight-lg__btn {
    margin-top: 15px;
}

.swiftcart-btn .wp-element-button {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
    padding: 10px 24px;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
    border-radius: 0;
}

.swiftcart-btn .wp-element-button:hover {
    background-color: var(--wp--preset--color--base);
}

.xc-banner-eight-lg__img {
    flex: 0 0 42%;
    text-align: right;
    z-index: 2;
    margin: 0 !important;
}

.xc-banner-eight-lg__img img {
    max-height: 220px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

/* Section Headings */
.xc-sec-heading-three {
    margin-bottom: 40px;
}

.xc-style-3 {
    font-size: 34px;
    font-weight: 700;
    text-transform: capitalize;
    margin: 0;
}

/*--------------------------------------------------------------
# WooCommerce Product Grid & Shop Archive Styles
--------------------------------------------------------------*/
.wp-block-woocommerce-product-collection,
.wp-block-woocommerce-product-query {
    display: block !important;
    width: 100%;
    margin-top: 25px;
}

.xc-shop-top,
.xc-shop-toolbar {
    align-items: center;
    background-color: var(--wp--preset--color--gray, #F3F3F4);
    border: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    border-radius: 6px;
    padding: 12px 20px;
    margin-bottom: 35px;
    box-sizing: border-box;
}

.xc-shop-top p,
.xc-shop-top-result .woocommerce-result-count,
.wp-block-woocommerce-product-results-count .woocommerce-result-count {
    margin: 0 !important;
    float: none !important;
    font-family: var(--wp--preset--font-family--primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--wp--preset--color--black, #1C1C1C);
}

.xc-shop-top-left,
.xc-shop-top-right {
    display: flex;
    align-items: center;
}

.xc-shop-top-select .woocommerce-ordering,
.wp-block-woocommerce-catalog-sorting .woocommerce-ordering {
    margin: 0 !important;
    float: none !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.xc-shop-top-select .woocommerce-ordering label {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--wp--preset--color--text, #757575);
    margin: 0;
}

.xc-shop-top-select .woocommerce-ordering select.orderby,
.wp-block-woocommerce-catalog-sorting select.orderby {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--wp--preset--color--white, #ffffff);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231C1C1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    border: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    border-radius: 4px;
    padding: 8px 36px 8px 14px;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--wp--preset--color--black, #1C1C1C);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.xc-shop-top-select .woocommerce-ordering select.orderby:hover,
.xc-shop-top-select .woocommerce-ordering select.orderby:focus {
    border-color: var(--wp--preset--color--base, #127FFF);
}

.wp-block-woocommerce-product-collection ul.wc-block-product-template,
.wp-block-woocommerce-product-query ul.wc-block-product-template {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px;
    padding-left: 0;
    margin: 0;
    list-style: none;
    width: 100%;
}

.wp-block-woocommerce-product-collection ul.wc-block-product-template li.wc-block-product,
.wp-block-woocommerce-product-query ul.wc-block-product-template li.wc-block-product,
.wc-block-product {
    width: 100% !important;
    border: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    background-color: var(--wp--preset--color--white);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    margin: 0 !important;
}

.wc-block-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* Product Image */
.wc-block-product .wc-block-components-product-image,
.wc-block-product-image {
    text-align: center;
    margin-bottom: 15px !important;
    position: relative;
}

.wc-block-product .wc-block-components-product-image img,
.wc-block-product-image img {
    height: 200px !important;
    width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto;
    display: block;
}

/* Product Title */
.wc-block-product .wp-block-post-title,
.wc-block-product-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

.wc-block-product .wp-block-post-title a,
.wc-block-product-title a {
    color: var(--wp--preset--color--black);
    text-decoration: none;
    transition: color 0.2s ease;
}

.wc-block-product:hover .wp-block-post-title a,
.wc-block-product:hover .wc-block-product-title a {
    color: var(--wp--preset--color--base);
}

/* Product Price */
.wc-block-product .wc-block-components-product-price,
.wc-block-product-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--wp--preset--color--base) !important;
    margin-bottom: 12px !important;
}

/* Product Rating */
.wc-block-product .wc-block-components-product-rating,
.wc-block-product-rating {
    font-size: 15px;
    margin-bottom: 8px !important;
}

.wc-block-product-rating .star-rating,
.wc-block-components-product-rating__stars {
    color: #FA8232;
    margin: 0 auto;
}

/* Sale Badge */
.wc-block-components-product-sale-badge,
.wc-block-product-onsale {
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 12px;
    display: inline-block;
    background-color: var(--wp--preset--color--base);
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--wp--preset--color--white);
    padding: 4px 10px;
    line-height: 1.4;
    z-index: 2;
    border: none;
}

/* Add to Cart Button in Product Loop */
.wc-block-product .wp-block-woocommerce-product-button,
.wp-block-woocommerce-product-button {
    margin-top: auto !important;
    padding-top: 8px;
}

.wp-block-woocommerce-product-button .wp-element-button,
.wp-block-woocommerce-product-button .wc-block-components-product-button__button {
    background-color: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.25s ease;
    border: none;
    width: 100%;
    cursor: pointer;
}

.wp-block-woocommerce-product-button .wp-element-button:hover,
.wp-block-woocommerce-product-button .wc-block-components-product-button__button:hover {
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--white);
}

/*--------------------------------------------------------------
# Single Product Styles
--------------------------------------------------------------*/
.single-product-main .wp-block-woocommerce-product-image-gallery {
    border: 1px solid var(--wp--preset--color--border-color);
    padding: 20px;
    border-radius: 6px;
}

.single-product-main .wp-block-post-title {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--wp--preset--color--black);
    margin-top: 0;
    margin-bottom: 15px;
}

.single-product-main .wp-block-woocommerce-product-price,
.single-product-main .wc-block-components-product-price {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--wp--preset--color--base);
    margin-bottom: 20px;
}

.single-product-main .wp-block-post-excerpt {
    font-size: 16px;
    line-height: 1.67;
    color: var(--wp--preset--color--text);
    margin-bottom: 25px;
}

.single-product-main form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.single-product-main .quantity input.qty {
    width: 90px;
    height: 44px;
    border: 1px solid var(--wp--preset--color--border-color);
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    color: var(--wp--preset--color--black);
}

.single-product-main button.single_add_to_cart_button {
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--white);
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 600;
    font-size: 15px;
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.single-product-main button.single_add_to_cart_button:hover {
    background-color: var(--wp--preset--color--black);
}

.wp-block-woocommerce-product-meta {
    border-top: 1px solid var(--wp--preset--color--border-color);
    padding-top: 20px;
    font-size: 14px;
}

.product-tabs-section {
    margin-top: 50px;
}

.related-products-section {
    margin-top: 40px;
}

.related-products-section h2 {
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 700;
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
}

/*--------------------------------------------------------------
# Cart, Checkout & My Account Overrides
--------------------------------------------------------------*/
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
    max-width: 100%;
}

.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-checkout__actions .wc-block-components-button {
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--white);
    border-radius: 4px;
    padding: 14px 28px;
}

/* My Account Layout & Dashboard Styling */
.xc-my-account-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
    width: 100%;
}

@media (min-width: 992px) {
    .xc-my-account-wrapper {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.xc-my-account-nav {
    float: none !important;
    width: 100% !important;
    background-color: var(--wp--preset--color--gray, #F3F3F4);
    border: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    border-radius: 8px;
    overflow: hidden;
}

.xc-my-account-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.xc-my-account-nav__item {
    margin: 0;
    border-bottom: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
}

.xc-my-account-nav__item:last-child {
    border-bottom: none;
}

.xc-my-account-nav__link {
    display: block;
    padding: 14px 20px;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--wp--preset--color--black, #1C1C1C);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.xc-my-account-nav__link:hover {
    background-color: var(--wp--preset--color--white, #ffffff);
    color: var(--wp--preset--color--base, #127FFF);
    padding-left: 24px;
}

.xc-my-account-nav__item.is-active .xc-my-account-nav__link {
    background-color: var(--wp--preset--color--base, #127FFF);
    color: var(--wp--preset--color--white, #ffffff);
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-content,
.xc-my-account-content {
    float: none !important;
    width: 100% !important;
    background-color: var(--wp--preset--color--white, #ffffff);
    border: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    border-radius: 8px;
    padding: 30px;
    box-sizing: border-box;
}

.xc-my-account-dashboard__welcome {
    background-color: var(--wp--preset--color--gray, #F3F3F4);
    border-left: 4px solid var(--wp--preset--color--base, #127FFF);
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 30px;
}

.xc-my-account-dashboard__greeting {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 18px;
    color: var(--wp--preset--color--black, #1C1C1C);
    margin: 0 0 10px 0;
}

.xc-my-account-dashboard__logout {
    color: var(--wp--preset--color--secondary, #EB001B);
    font-weight: 600;
    text-decoration: none;
}

.xc-my-account-dashboard__logout:hover {
    text-decoration: underline;
}

.xc-my-account-dashboard__desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--wp--preset--color--text, #757575);
}

.xc-my-account-dashboard__desc a {
    color: var(--wp--preset--color--base, #127FFF);
    font-weight: 500;
    text-decoration: none;
}

.xc-my-account-dashboard__desc a:hover {
    text-decoration: underline;
}

.xc-my-account-dashboard__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.xc-my-account-dashboard__card {
    display: block;
    border: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    border-radius: 8px;
    padding: 22px;
    text-decoration: none;
    background-color: var(--wp--preset--color--white, #ffffff);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.xc-my-account-dashboard__card:hover {
    transform: translateY(-3px);
    border-color: var(--wp--preset--color--base, #127FFF);
    box-shadow: 0 8px 24px rgba(18, 127, 255, 0.08);
}

.xc-my-account-dashboard__card-title {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--wp--preset--color--black, #1C1C1C);
    margin: 0 0 8px 0;
    transition: color 0.2s ease;
}

.xc-my-account-dashboard__card:hover .xc-my-account-dashboard__card-title {
    color: var(--wp--preset--color--base, #127FFF);
}

.xc-my-account-dashboard__card-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--wp--preset--color--text, #757575);
    margin: 0;
}

/* My Account Orders & WooCommerce Notices */
.xc-orders-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.xc-orders-table,
table.woocommerce-orders-table.xc-orders-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    border-radius: 8px;
    overflow: hidden;
    margin: 0;
}

.xc-orders-table thead th {
    background-color: var(--wp--preset--color--gray, #F3F3F4);
    font-family: var(--wp--preset--font-family--heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--wp--preset--color--black, #1C1C1C);
    padding: 14px 18px;
    border-bottom: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    text-align: left;
}

.xc-orders-table tbody tr {
    border-bottom: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    transition: background-color 0.2s ease;
}

.xc-orders-table tbody tr:last-child {
    border-bottom: none;
}

.xc-orders-table tbody tr:hover {
    background-color: #FAFAFB;
}

.xc-orders-table tbody th,
.xc-orders-table tbody td {
    padding: 16px 18px;
    font-size: 15px;
    color: var(--wp--preset--color--text, #757575);
    vertical-align: middle;
}

.xc-orders-table__order-number {
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 700;
    color: var(--wp--preset--color--base, #127FFF);
    text-decoration: none;
}

.xc-orders-table__order-number:hover {
    text-decoration: underline;
}

.xc-order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    background-color: var(--wp--preset--color--gray, #F3F3F4);
    color: var(--wp--preset--color--black, #1C1C1C);
}

.xc-order-status--completed,
.xc-order-status--processing {
    background-color: rgba(18, 127, 255, 0.12);
    color: var(--wp--preset--color--base, #127FFF);
}

.xc-order-status--cancelled,
.xc-order-status--failed {
    background-color: rgba(235, 0, 27, 0.12);
    color: var(--wp--preset--color--secondary, #EB001B);
}

.xc-orders-table__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.xc-order-action-btn,
.woocommerce-account .button.xc-order-action-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background-color: var(--wp--preset--color--black, #1C1C1C) !important;
    color: var(--wp--preset--color--white, #ffffff) !important;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    border: none !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease !important;
    float: none !important;
}

.xc-order-action-btn:hover,
.woocommerce-account .button.xc-order-action-btn:hover {
    background-color: var(--wp--preset--color--base, #127FFF) !important;
    color: var(--wp--preset--color--white, #ffffff) !important;
}

.xc-orders-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

/* WooCommerce Notices (Notice, Success, Error) */
.xc-wc-notice,
.woocommerce-info.xc-wc-notice,
.woocommerce-message.xc-wc-notice,
.woocommerce-error.xc-wc-notice {
    border: 1px solid var(--wp--preset--color--border-color, #DEE2E7) !important;
    border-left-width: 4px !important;
    border-radius: 6px;
    background-color: var(--wp--preset--color--gray, #F3F3F4) !important;
    color: var(--wp--preset--color--black, #1C1C1C) !important;
    padding: 16px 20px !important;
    margin: 0 0 24px 0 !important;
}

.xc-wc-notice::before {
    display: none !important;
}

.xc-wc-notice--info {
    border-left-color: var(--wp--preset--color--base, #127FFF) !important;
}

.xc-wc-notice--success {
    border-left-color: #00a32a !important;
}

.xc-wc-notice--error {
    border-left-color: var(--wp--preset--color--secondary, #EB001B) !important;
    list-style: none !important;
}

.xc-wc-notice__content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    font-size: 15px;
}

/* My Account Addresses & Edit Address Form */
.xc-my-account-addresses__desc {
    font-size: 15px;
    color: var(--wp--preset--color--text, #757575);
    margin: 0 0 24px 0;
}

.xc-addresses-grid,
.woocommerce-account .addresses.xc-addresses-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
}

.xc-addresses-grid::before,
.xc-addresses-grid::after {
    display: none !important;
}

.xc-address-card,
.woocommerce-account .addresses .woocommerce-Address.xc-address-card {
    float: none !important;
    width: 100% !important;
    border: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    border-radius: 8px;
    padding: 24px;
    background-color: var(--wp--preset--color--gray, #F3F3F4);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.xc-address-card__header,
.woocommerce-account .addresses .title.xc-address-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
}

.xc-address-card__header::before,
.xc-address-card__header::after {
    display: none !important;
}

.xc-address-card__title,
.woocommerce-account .addresses .title h2.xc-address-card__title {
    float: none !important;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--wp--preset--color--black, #1C1C1C);
    margin: 0;
}

.xc-address-card__body {
    font-style: normal;
    font-size: 15px;
    line-height: 1.7;
    color: var(--wp--preset--color--text, #757575);
    margin: 0;
}

.xc-edit-address-form__title {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--wp--preset--color--black, #1C1C1C);
    margin: 0 0 24px 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
}

.xc-edit-address-form .form-row,
.xc-edit-account-form .form-row {
    margin-bottom: 18px !important;
}

.xc-edit-address-form label,
.xc-edit-account-form label {
    display: block;
    font-family: var(--wp--preset--font-family--heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--wp--preset--color--black, #1C1C1C);
    margin-bottom: 6px;
}

.xc-edit-address-form input.input-text,
.xc-edit-address-form select,
.xc-edit-address-form .select2-container .select2-selection--single,
.xc-edit-account-form input.input-text {
    width: 100%;
    height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    border-radius: 6px;
    background-color: var(--wp--preset--color--white, #ffffff);
    font-family: var(--wp--preset--font-family--primary);
    font-size: 15px;
    color: var(--wp--preset--color--black, #1C1C1C);
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.xc-edit-address-form input.input-text:focus,
.xc-edit-address-form select:focus,
.xc-edit-account-form input.input-text:focus {
    border-color: var(--wp--preset--color--base, #127FFF);
    outline: none;
}

.xc-edit-address-form__submit,
.xc-edit-account-form__submit {
    margin-top: 24px;
    margin-bottom: 0;
}

/* My Account Edit Account Details Form */
.xc-edit-account-form__row-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.xc-edit-account-form__row-grid .form-row-first,
.xc-edit-account-form__row-grid .form-row-last {
    float: none !important;
    width: 100% !important;
}

.xc-edit-account-form__hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--wp--preset--color--text, #757575);
}

.xc-edit-account-form__fieldset {
    border: 1px solid var(--wp--preset--color--border-color, #DEE2E7);
    border-radius: 8px;
    padding: 24px;
    margin: 28px 0 0 0;
    background-color: var(--wp--preset--color--gray, #F3F3F4);
}

.xc-edit-account-form__legend {
    font-family: var(--wp--preset--font-family--heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--wp--preset--color--black, #1C1C1C);
    padding: 0 10px;
}

/*--------------------------------------------------------------
# Footer Styles
--------------------------------------------------------------*/
.xc-footer-one {
    color: #b0b5bb;
}

.xc-footer-one h1,
.xc-footer-one h2,
.xc-footer-one h3,
.xc-footer-one h4,
.xc-footer-one .wp-block-site-title a {
    color: var(--wp--preset--color--white, #ffffff) !important;
    text-decoration: none;
}

.xc-footer-one .wp-block-site-tagline {
    color: #b0b5bb;
}

.xc-footer-one a {
    color: #d0d4d9 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.xc-footer-one a:hover {
    color: var(--wp--preset--color--base) !important;
}

.xc-footer-one .wc-block-product-categories-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.xc-footer-one .wc-block-product-categories-list li {
    margin-bottom: 8px;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }
.pb-60 { padding-bottom: 60px; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }
.p-0 { padding: 0; }
.p-relative { position: relative; }
.text-center { text-align: center; }
.bg-black { background-color: var(--wp--preset--color--black); }
.black-bg-2 { background-color: var(--wp--preset--color--black-2, #191c1f); }
.d-none { display: none !important; }
@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
}
