@charset "UTF-8";

.product-breadcrumb-container a,
.product-breadcrumb-container span {
    color: black !important;
}

.reset_variations {
    display: none !important;
}

.ux-swatch--label {
    min-width: 70px !important;
    height: 33px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: none !important;
    background: #D9D9D9 !important;
    color: black;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: none;
    font-weight: 500;
}

.variations .label label {
    margin-bottom: 0 0 5px !important;
}

.ux-swatches {
    margin: 0 0 5px !important;
}

.ux-swatch--label.selected {
    background: #000 !important;
    color: #fff !important;
}

table.variations .label>* {
    font-size: 14px;
    font-weight: 500;
    color: black;
}

/* --- Coupon Badges --- */
.ds-coupon-badges-wrapper {
    padding: 0 0 15px;
}

.ds-coupon-badges-title {
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
    font-weight: 700;
}

.ds-coupon-badges-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ds-coupon-badge {
    align-items: center;
    border: 0;
    color: #fff;
    cursor: default;
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    height: 25px;
    justify-content: center;
    margin-right: 5px;
    padding: 0 15px 0 25px;
    position: relative;
    white-space: nowrap;
    z-index: 1;
    background-image: url(/wp-content/uploads/2026/03/vector_-6.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-bottom: 5px;
}

/* --- Coupon Modal --- */
.ds-coupon-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.ds-coupon-modal-overlay.active {
    display: flex;
}

.ds-coupon-modal {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    animation: dsCouponModalIn 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.ds-coupon-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.ds-coupon-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.ds-coupon-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    margin: 0;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: unset;
}

.ds-coupon-modal-close:hover {
    color: #000;
}

.ds-coupon-modal-body {
    padding: 20px;
    overflow-y: auto;
}

.ds-coupon-modal-body .ds-coupon-info-wrap {
    display: none;
}

.ds-coupon-modal-body .ds-coupons-wrapper {
    padding: 0;
}

.ds-coupon-modal-body .ds-coupons-grid {
    grid-template-columns: repeat(2, 1fr);
}

@keyframes dsCouponModalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media screen and (max-width: 767px) {
    .ds-coupon-modal {
        width: 95%;
        max-height: 80vh;
    }

    .ds-coupon-modal-body .ds-coupons-grid {
        grid-template-columns: 1fr;
    }
}

h1.product-title.product_title.entry-title {
    font-size: 30px;
    font-weight: 500;
    margin: 0px;
    line-height: 36px;
    color: #000;
    padding-bottom: 0px;
    margin-bottom: 15px;
}

/* --- Custom Price Display --- */
.ds-price-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.ds-current-price {
    font-size: 30px;
    font-weight: 500;
    color: #000;
    line-height: 1.5;
}

.ds-original-price {
    font-size: 16px;
    font-weight: 500;
    color: #545454;
    text-decoration: line-through;
    line-height: 1;
    padding: 10px 5px 2px;
}

.ds-savings-badge {
    display: inline-block;
    background-image: url(/wp-content/uploads/2026/03/union_-3.webp);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 5px 20px;
    color: #fff;
}

.woocommerce-variation-price {
    display: none !important;
}

.ux-buy-now-button.button {
    width: 100%;
    flex-shrink: 0;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    margin-bottom: 0;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: none !important;
    min-height: unset;
}

.ux-buy-now-button.button:hover {
    background: #fff !important;
    color: #000;
}

.ds-sgp-gallery-wrapper>.col-inner>.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.product-thumbnails a {
    border: 2px solid #e1e1e1 !important;
    border-radius: 5px !important;
    padding: 15px 0;
}

.product-thumbnails .is-nav-selected a img,
.product-thumbnails a:hover img {
    transform: unset !important;
}

.product-thumbnails .is-nav-selected a,
.product-thumbnails a:hover {
    border: 2px solid black !important;
}

.product-thumbnails img {
    margin-bottom: 0 !important;
}

.ds-sgp-gallery-wrapper .vertical-thumbnails .col {
    padding-bottom: 10px !important;
}

.ds-sgp-atc-wrapper .single_variation_wrap {
    margin-top: 7px !important;
}

form .single_variation_wrap .ux-quantity {
    position: relative;
}

.ds-sgp-atc-wrapper .single_variation_wrap .ux-quantity {
    padding-left: 70px;
}

.ds-sgp-atc-wrapper .single_variation_wrap .ux-quantity::before {
    content: 'Số lượng: ';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 500;
    color: black;
}

form .single_variation_wrap .ux-quantity .input-text.qty {
    height: 45px;
    width: 80px;
    border: 1px solid black;
    border-radius: 5px !important;
    max-width: unset;
    padding-right: 20px;
    font-size: 16px;
    color: black;
}

form .single_variation_wrap .ux-quantity .ux-quantity__button {
    position: absolute;
    top: auto;
    right: 0;
    height: 50%;
    width: 30px;
    min-height: unset;
    background: white;
    color: black;
    border: none;
    box-shadow: none !important;
    border-radius: 5px !important;
    text-indent: -1000px;
    overflow: hidden;
}

form .single_variation_wrap .ux-quantity .ux-quantity__button--plus {
    top: 1px;
    right: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M0 5.91046L1.17918 7.0896L5 3.26878L8.82082 7.0896L10 5.91046L5 0.910458L0 5.91046Z' fill='%23000000'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 11px;
    background-position: center;
}

form .single_variation_wrap .ux-quantity .ux-quantity__button--minus {
    bottom: 1px;
    right: 1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M10 2.08954L8.82082 0.9104L5 4.73122L1.17918 0.9104L0 2.08954L5 7.08954L10 2.08954Z' fill='%23000000'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 11px;
    background-position: center;
}

.single_add_to_cart_button.button {
    flex-grow: 1 !important;
    border: 1px solid black !important;
    border-radius: 5px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: black !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    min-height: unset !important;
    background-color: #FFF9F3 !important;
}

.single_add_to_cart_button:hover {
    background-color: black !important;
    color: white !important;
}

.woocommerce-variation-add-to-cart,
form.cart {
    column-gap: 20px !important;
    row-gap: 10px !important;
}

.ds-product-meta {
    font-size: 16px;
    color: #000;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 15px;
}

.ds-product-meta .ds-brand .value {
    text-transform: uppercase;
}

.ds-product-commits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
}

.ds-commit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ds-commit-item .commit-text p {
    margin-bottom: 0;
}

.ds-commit-item .commit-icon {
    width: 49px;
    height: 49px;
    flex-shrink: 0;
}

.wc-tabs.product-tabs {
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}

.wc-tabs.product-tabs li {
    margin: 0;
}

.wc-tabs.product-tabs li a {
    font-size: 20px;
    font-weight: 700;
    text-transform: none;
    color: black !important;
    padding: 10px 25px;
    white-space: nowrap;
}

.wc-tabs.product-tabs li a::before {
    background: #000;
    bottom: -1px;
    top: auto;
    height: 2px;
}

.wc-tabs.product-tabs li.active a,
.wc-tabs.product-tabs li a:hover {
    background: #DCE6FF;
}

.woocommerce-tabs .tab-panels {
    padding-top: 0;
}

.ds-related-wrapper {
    padding: 0 15px;
    border-top: none !important;
}

.ds-related-wrapper .product-small.col {
    padding: 0;
}

.ds-related-wrapper .product-section-title {
    font-size: 28px;
    color: #000;
    margin-bottom: 20px;
}

/* --- Sticky Cart --- */
.ds-sticky-cart {
    position: fixed;
    right: 60px;
    bottom: 20px;
    width: auto;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(200%);
    transition: transform 0.35s ease;
    border: 1px solid #000;
    border-radius: 10px;
}

.ds-sticky-cart.is-visible {
    transform: translateY(0);
}

.ds-sticky-cart-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    gap: 20px;
}

.ds-sticky-cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.ds-sticky-cart-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #b9b9b9;
}

.ds-sticky-cart-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-sticky-cart-info {
    min-width: 0;
}

.ds-sticky-cart-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    max-width: 300px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.ds-sticky-cart-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ds-sticky-price-current {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.ds-sticky-price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.ds-sticky-cart-btn {
    flex-shrink: 0;
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
    min-height: unset;
    margin: 0;
}

.ds-sticky-cart-btn:hover {
    background: #333;
}

@media screen and (max-width: 767px) {
    .ds-sticky-cart-inner {
        padding: 8px 15px;
        gap: 10px;
    }

    .ds-sticky-cart-img {
        width: 45px;
        height: 45px;
    }

    .ds-sticky-cart-name {
        font-size: 12px;
        max-width: 140px;
    }

    .ds-sticky-price-current {
        font-size: 15px;
    }

    .ds-sticky-price-original {
        font-size: 12px;
    }

    .ds-sticky-cart-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .ds-product-commits {
        grid-template-columns: 1fr;
    }

    .vertical-thumbnails {
        display: none !important;
    }
}