/*
Style background overlay woocommerce product gallery lightbox
--------------------------------------------------------------*/
.pswp__bg {
    background: #000000a3 !important;
}

/*
Style image woocommerce product gallery lightbox
--------------------------------------------------------------*/
.pswp img {
    border-radius: 5px;
}

/* Style Box Letter
-------------------------------------------------------------- */
.woocommerce-letter {
    border-width: 7px 0px 7px 0px;
    border-style: solid;
    border-color: transparent;
    box-shadow: 2px 2px 20px #0000002b;
    border-image: 16 repeating-linear-gradient(-45deg, #e00000 0, #b20000 1em, transparent 0, transparent 2em, #58a 0, #58a 3em, transparent 0, transparent 4em);
}

/* Style Woocommerce Message
--------------------------------------------------------------*/
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    background-color: #76a1ff42;
    border: 1px dashed #3d6cd242;
    color: #000000;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    outline: none !important;
}

/* Style for unordered lists inside the Woocommerce messages
--------------------------------------------------------------*/
.woocommerce-error ul,
.woocommerce-info ul,
.woocommerce-message ul {
    padding: 0px;
    margin: 0px;
}

/* Style for list items inside Woocommerce messages
--------------------------------------------------------------*/
.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li {
    list-style: none;
    margin: 0px;
    padding: 5px 0px;
    display: none;
    width: 100%;
}

/* Display the first list item inside Woocommerce messages
--------------------------------------------------------------*/
.woocommerce-error li:first-child,
.woocommerce-info li:first-child,
.woocommerce-message li:first-child {
    display: block;
}

/* Style for links inside Woocommerce messages
--------------------------------------------------------------*/
.woocommerce-error a,
.woocommerce-info a,
.woocommerce-message a {
    color: #0c5460;
    text-decoration: underline;
    font-weight: normal;
    display: inline-block;
    margin-left: 10px;
}

/* Style for hovered links inside Woocommerce messages
--------------------------------------------------------------*/
.woocommerce-error a:hover,
.woocommerce-info a:hover,
.woocommerce-message a:hover {
    color: #004085;
    text-decoration: none;
}

/* Style for information messages
--------------------------------------------------------------*/
.woocommerce-info {
    border: 1px dashed #ff8100;
    background-color: #ff81002b;
    color: #ff8100;
}

/* Style for error messages
--------------------------------------------------------------*/
.woocommerce-error {
    border: 1px dashed #ff0000;
    background-color: #ff00001f;
    color: #ff0000;
}

/* Style FlexSlider
-------------------------------------------------------------- */
.flex-slider-theme .item-product-loop {
    width: 100% !important;
}

.flex-slider-theme {
    padding-left: 40px;
    padding-right: 40px;
}

.flex-slider-theme[data-nav='false'] {
    padding-left: 0px;
    padding-right: 0px;
}

/* Style for the main flexslider container
--------------------------------------------------------------*/
.woocommerce .flexslider {
    position: relative;
}

.woocommerce .flexslider .flex-viewport {
    overflow: hidden;
}

/* Style for the slides inside the flexslider
--------------------------------------------------------------*/
.woocommerce .flexslider .slides {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Style for each slide in the flexslider
--------------------------------------------------------------*/
.woocommerce .flexslider .slides li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin: 0;
    position: relative;
}

/* Style for the images inside each slide
--------------------------------------------------------------*/
.woocommerce .flexslider .slides img {
    max-width: 100%;
    height: auto;
    border: none;
    border-bottom-right-radius: 35px;
    transition: transform 0.3s ease;
}

/* Style for the navigation buttons (prev & next)
--------------------------------------------------------------*/
.woocommerce .flexslider .flex-direction-nav {
    position: absolute;
    top: 50%;
    width: calc(100% + 80px);
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    list-style: none;
    margin: 0px;
    padding: 0px;
    height: 100%;
    left: -40px;
}

.woocommerce .flexslider .flex-direction-nav li {
    height: 100%;
}

/* Style for each individual navigation button
--------------------------------------------------------------*/
.woocommerce .flexslider .flex-direction-nav a {
    pointer-events: auto;
    background-color: #FFF;
    color: #000;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    height: 100%;
    text-indent: 150px;
    width: 30px;
    position: relative;
    overflow: hidden;
    outline: none !important;
    box-shadow: -10px 0px 10px -5px #00000014;
    white-space: nowrap;
}

.woocommerce .flexslider .flex-direction-nav a:hover {
    box-shadow: -10px 0px 10px -5px #00000014;
}

.woocommerce .flexslider .flex-direction-nav a:before {
    content: "\003E";
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 22px;
    text-indent: 0px;
    transform: translate(-50%, -50%);
}

.woocommerce .flexslider .flex-direction-nav a.flex-prev {
    box-shadow: 10px 0px 10px -5px #00000014;
}

.woocommerce .flexslider .flex-direction-nav a.flex-prev:hover {
    box-shadow: 10px 0px 10px -5px #00000029;
}

.woocommerce .flexslider .flex-direction-nav a.flex-prev:before {
    content: "<";
}

.woocommerce .flex-slider-theme-circle .flexslider .flex-direction-nav a {
    box-shadow: none;
    width: 40px;
    height: 40px;
    color: #000;
    border-radius: 50%;
    background: #ffffff82;
}

.woocommerce .flex-slider-theme-circle .flexslider .flex-direction-nav li {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.woocommerce .flex-slider-theme-circle .flexslider .flex-direction-nav a:hover {
    background: #FFF;
}

/* Position and alignment for the previous navigation button
--------------------------------------------------------------*/
.woocommerce .flexslider .flex-prev {
    left: 0px;
}

/* Position and alignment for the next navigation button
--------------------------------------------------------------*/
.woocommerce .flexslider .flex-next {
    right: 0px;
}

/* Style for the thumbnail slider navigation
--------------------------------------------------------------*/
.woocommerce .flex-control-nav {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0px;
    list-style: none;
    margin: 20px 0px 10px 0px;
}

/* Style for each thumbnail in the slider
--------------------------------------------------------------*/
.woocommerce .flex-control-nav li a {
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    overflow: hidden;
    text-indent: 100px;
    border: 1px solid #000;
}

.woocommerce .flex-control-nav li a.flex-active {
    background: #000;
}

/* Style for the images inside the thumbnail navigation
--------------------------------------------------------------*/
.woocommerce .flex-control-nav li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Style for hover and active states of the thumbnail
--------------------------------------------------------------*/
.woocommerce .flex-control-nav li:hover,
.woocommerce .flex-control-nav li.flex-active {
    border-color: #000;
}

@media (max-width:768px) {
    .flex-slider-theme {
        padding-left: 30px;
        padding-right: 30px;
    }

    .woocommerce .flexslider .flex-direction-nav {
        width: calc(100% + 60px);
        left: -30px;
    }
}

/* Style for the submit icon in the custom form
--------------------------------------------------------------*/
.woocommerce-theme-form .icon-submit {
    width: 18px !important;
    margin: 0px 5px 0px 0px !important;
    filter: brightness(0) invert(1);
}

/* Style for the table inside the custom form
--------------------------------------------------------------*/
.woocommerce-theme-form table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    overflow: hidden;
    border: 0px;
}

/* Style for the table header
--------------------------------------------------------------*/
.woocommerce-theme-form table thead th {
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 10px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Style for table rows
--------------------------------------------------------------*/
.woocommerce-theme-form table tr {
    border-bottom: 1px dashed #ddd;
}

.woocommerce-theme-form table head tr {
    border-bottom: 0;
}

/* Style for table columns (product name, price, etc.)
--------------------------------------------------------------*/
.woocommerce-theme-form table th,
.woocommerce-theme-form table td {
    padding: 10px;
    text-align: left;
    font-size: 14px;
    vertical-align: middle;
    font-weight: 400;
    border: 0px;
}

/* Style for product price
--------------------------------------------------------------*/
.woocommerce-theme-form .woocommerce-Price-amount {
    font-size: 16px;
    font-weight: 600;
    color: #ff0000;
}

/* Style for the custom submit button
--------------------------------------------------------------*/
.woocommerce-theme-form .button-theme-template {
    padding: 5px 20px;
    background: #000;
    border: 0;
    height: 40px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* Style for select fields and text inputs
--------------------------------------------------------------*/
.woocommerce-theme-form select,
.woocommerce-theme-form .input-text {
    padding: 5px 15px;
    border: 1px solid #ccc;
    height: 40px;
    width: 100%;
    border-radius: 5px;
}

/* Style for textarea input
--------------------------------------------------------------*/
.woocommerce-theme-form textarea.input-text {
    height: 100px;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Style for focused input fields
--------------------------------------------------------------*/
.woocommerce-theme-form .input-text:focus {
    border-color: #0033a1;
    outline: none;
    box-shadow: 0px 0px 5px rgba(0, 51, 161, 0.5);
}

/* Style for select2 container (dropdown)
--------------------------------------------------------------*/
.woocommerce-theme-form .select2-container .select2-selection--single {
    height: 40px;
    border: 1px solid #ccc;
    margin-bottom: 2px;
}

/* Style for the selected option text in select2
--------------------------------------------------------------*/
.woocommerce-theme-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    font-size: 13px;
}

/* Style for the arrow in select2 dropdown
--------------------------------------------------------------*/
.woocommerce-theme-form .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
}

/* Style for list items in the table
--------------------------------------------------------------*/
.woocommerce-theme-form table ul,
.woocommerce-theme-form table ul li,
.woocommerce-theme-form li {
    list-style: none;
    margin: 0px;
    padding: 0px;
    position: relative;
}

/* Media query for responsive table (max-width: 992px)
--------------------------------------------------------------*/
@media (max-width: 992px) {

    /* Hide table headers on smaller screens
    --------------------------------------------------------------*/
    .woocommerce-table-responsive thead {
        display: none;
    }

    /* Style for table rows in the responsive table
    --------------------------------------------------------------*/
    .woocommerce-table-responsive tbody tr {
        display: block;
        margin-bottom: 15px;
    }

    /* Style for table cells in the responsive table
    --------------------------------------------------------------*/
    .woocommerce-table-responsive tbody td {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 8px 5px;
        border: none;
        border-bottom: 1px dashed #ddd;
    }

    /* Add content before table cell data in the responsive table
    --------------------------------------------------------------*/
    .woocommerce-table-responsive tbody td::before {
        content: attr(data-title);
        font-weight: 600;
        display: inline-block;
        padding-right: 15px;
    }
}

/* Style for Product Images in Cart
--------------------------------------------------------------*/
.woocommerce-cart-form table.shop_table .product-thumbnail img {
    width: 60px !important;
    height: auto;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    margin: 0px !important;
}

/* Style for Links in Cart
--------------------------------------------------------------*/
.woocommerce-cart-form table td a {
    display: inline-block;
}

/* Style for Product Quantity Inputs
--------------------------------------------------------------*/
.woocommerce-cart-form table.shop_table td input.qty {
    width: 70px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.woocommerce-cart-form table.shop_table td input.qty:focus {
    border-color: #0033a1;
    outline: none;
    box-shadow: 0px 0px 5px rgba(0, 51, 161, 0.5);
}

/* Style for Delete Product Button
--------------------------------------------------------------*/
.woocommerce-cart-form table.shop_table td.product-remove a {
    color: #ff0000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

/* Style for Cart Collaterals
--------------------------------------------------------------*/
.cart-collaterals table.shop_table th {
    text-align: left;
    vertical-align: top;
    font-weight: 600;
}

.cart-collaterals table.shop_table td {
    text-align: right;
}

.cart-collaterals .cart_totals {
    border: 1px dashed #000;
    padding: 20px 10px;
}

/* Style for Cart Totals and List Items
--------------------------------------------------------------*/
.cart-collaterals table.shop_table ul li,
.cart-collaterals table.shop_table ul {
    font-weight: 600;
}

/* Container for Cart Page
--------------------------------------------------------------*/
.woocommerce-cart .container-body {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 1200px;
    background: #FFF;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Title for Cart Page
--------------------------------------------------------------*/
.woocommerce-cart h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

/* Style for Proceed to Checkout Button
--------------------------------------------------------------*/
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    height: auto;
    padding: 10px 30px;
}

/* Style for Shipping Calculator
--------------------------------------------------------------*/
.woocommerce-cart #shipping-calculator-form {
    max-width: 320px;
}

.woocommerce-cart #shipping-calculator-form .form-row {
    padding: 5px 0px;
    margin: 0px;
}

.woocommerce-cart #shipping-calculator-form button {
    background: #000;
    border: 0;
}

/* Responsive Design for Cart Page
--------------------------------------------------------------*/
@media (max-width: 992px) {
    .woocommerce-cart .container-body {
        margin: 0px;
        border: 0px;
        box-shadow: none;
    }

    .woocommerce-cart #shipping-calculator-form {
        max-width: 100%;
    }
}

/* Container for Checkout Page
--------------------------------------------------------------*/
.woocommerce-checkout .container-body {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Title for Checkout Page
--------------------------------------------------------------*/
.woocommerce-checkout h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

/* Style for Coupon Section
--------------------------------------------------------------*/
.woocommerce-checkout .woocommerce-form.woocommerce-form-login,
.woocommerce-checkout .checkout_coupon.woocommerce-form-coupon {
    border: 1px dashed #000;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Style Coupon Code Field
--------------------------------------------------------------*/
.woocommerce-checkout .checkout_coupon #coupon_code {
    padding-right: 100px;
}

/* Style Coupon Apply Button
--------------------------------------------------------------*/
.woocommerce-checkout .checkout_coupon button {
    height: 40px;
    background: #000;
    border: 0px;
    border-radius: 0px 5px 5px 0px;
}

/* Style Coupon Error Message
--------------------------------------------------------------*/
.woocommerce-checkout .checkout_coupon .coupon-error-notice {
    background: rgb(255 120 0 / 22%);
    display: block;
    width: 100%;
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #FF0000;
    margin-top: 10px;
}

/* Style for Login Section
--------------------------------------------------------------*/
.woocommerce-checkout .woocommerce-form-login .woocommerce-button {
    border: 0px;
    background: #000;
    color: #FFF;
    padding: 12px 50px;
    border-radius: 5px;
}

.woocommerce-checkout .woocommerce-form-login .woocommerce_form_login_rememberme {
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.woocommerce-checkout .woocommerce-form-login .lost_password {
    font-size: 14px;
    display: block;
    margin-top: 10px;
}

/* Billing and Shipping Fields
--------------------------------------------------------------*/
.woocommerce-billing-field-wrapper {
    margin-left: -10px;
    margin-right: -10px;
}

.woocommerce-shipping-field-wrapper .form-row,
.woocommerce-billing-field-wrapper .form-row {
    width: 50%;
    padding: 0px 10px;
}

/* Responsive Design for Checkout Page
--------------------------------------------------------------*/
@media (max-width: 992px) {
    .woocommerce-checkout .container-body {
        margin: 0px;
        border: 0px;
        box-shadow: none;
    }
}

@media (max-width: 768px) {

    .woocommerce-shipping-field-wrapper .form-row,
    .woocommerce-billing-field-wrapper .form-row {
        width: 100%;
        padding: 5px 10px;
    }

    .woocommerce-checkout form.woocommerce-checkout {
        padding: 0px;
    }
}

/* Label Styling for Input Fields
--------------------------------------------------------------*/
.woocommerce-checkout .form-row label {
    display: block;
    margin-bottom: 5px;
}

/* Inline Error Message for Billing Fields
--------------------------------------------------------------*/
.woocommerce-checkout .woocommerce-billing-field-wrapper .checkout-inline-error-message {
    font-size: 12px;
    color: #ff0000;
    margin: 0;
}

/* Required Field Styling
--------------------------------------------------------------*/
.woocommerce-checkout .woocommerce-billing-field-wrapper .required {
    color: #ff0000;
}

/* Style for Order Review Section
--------------------------------------------------------------*/
.woocommerce-checkout #order_review {
    border: 1px dashed #000;
}

/* Payment Methods Section
--------------------------------------------------------------*/
.woocommerce-checkout .woocommerce-checkout-payment .woocommerce-info {
    margin: 0px;
}

.woocommerce-checkout .woocommerce-checkout-payment .wc_payment_methods {
    padding: 0px;
}

.woocommerce-checkout .woocommerce-checkout-payment .wc_payment_methods li {
    padding: 5px 0px;
}

.woocommerce-checkout .woocommerce-checkout-payment .input-radio {
    margin: 0px 5px 0px 0px;
    box-shadow: none !important;
}

.woocommerce-checkout .woocommerce-checkout-payment .payment_box {
    background: #eee;
}

/* Place Order Button
--------------------------------------------------------------*/
.woocommerce-checkout #place_order {
    padding: 12px;
    background: #000;
    border: none;
}

/* Order Details Container
--------------------------------------------------------------*/
.woocommerce-order-details {
    background: #EEE;
    padding: 10px 20px;
}

/* Order Tracking Notes
--------------------------------------------------------------*/
.note-order-tracking {
    list-style: none;
    padding: 0;
    position: relative;
    margin: 15px 0px;
}

.note-order-tracking:after {
    content: "";
    position: absolute;
    left: 165px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #000;
}

.note-order-tracking .item-tracking-right {
    padding-left: 200px;
}

.note-order-tracking .item-tracking-description {
    background: #EEE;
    padding: 10px 15px;
}

.note-order-tracking .item-tracking-description:before {
    content: "";
    position: absolute;
    left: -41px;
    top: 0px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 3px solid #000;
    background: #FFF;
    z-index: 1;
}

.note-order-tracking .item-tracking-left {
    border: 2px solid #000;
    padding: 5px 10px;
    border-radius: 5px;
}

.note-order-tracking li:last-child {
    padding-bottom: 0;
}

/* Responsive Design for Order Details
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .woocommerce-order-details {
        padding: 0px;
        background: transparent;
    }

    .note-order-tracking .item-tracking-left {
        position: relative;
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }

    .note-order-tracking .item-tracking-right {
        padding-left: 0px;
    }

    .note-order-tracking:after {
        display: none;
    }

    .note-order-tracking .item-tracking-left:after {
        content: "";
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 10px solid #000;
    }

    .note-order-tracking .item-tracking-left:before {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 15px;
        background-color: #000;
    }
}

/* Purchase Note Style
--------------------------------------------------------------*/
.woocommerce-order-details .product-purchase-note {
    background: #fafafa;
}

/* My Account Layout
--------------------------------------------------------------*/
.woocommerce-account .row-my-account {
    margin-left: -10px;
    margin-right: -10px;
}

.woocommerce-account .woocommerce-form-register.register button {
    background: #000;
}

/* Dashboard Style
--------------------------------------------------------------*/
.woocommerce-account .account-row-dashboard {
    margin-left: -10px;
    margin-right: -10px;
}

.woocommerce-account .item-dashboard img {
    width: 50px !important;
    margin: 0px !important;
    max-width: 100% !important;
}

.woocommerce-account .item-dashboard-wrapper {
    background: #EEE;
}

.woocommerce-account h1 {
    margin-top: 25px;
}

.woocommerce-account .woocommerce-pagination-orders a {
    background: #000;
    padding: 5px 20px;
    margin: 0px 2px;
}

.woocommerce-account .item-dashboard {
    width: 20%;
}

@media (max-width: 992px) {
    .woocommerce-account .item-dashboard {
        width: 25%;
    }
}

@media (max-width: 768px) {
    .woocommerce-account .item-dashboard {
        width: calc(100% / 3);
    }
}

@media (max-width: 576px) {
    .woocommerce-account .item-dashboard {
        width: 50%;
    }

    .woocommerce-account .item-dashboard a {
        font-size: 14px;
    }
}

/* Account Endpoint Title Style
--------------------------------------------------------------*/
.woocommerce-account .title-endpoint-account {
    border-bottom: 1px solid #000;
}

/* Edit Account Style
--------------------------------------------------------------*/
.woocommerce-account .row-edit-account {
    margin-left: -10px;
    margin-right: -10px;
}

.woocommerce-account .edit-account-wrapper {
    padding: 10px;
}

.woocommerce-account .my-account-address-wrapper,
.woocommerce-account .edit-account fieldset {
    border: 1px dashed #000;
    padding: 15px;
}

/* Edit Address Style
--------------------------------------------------------------*/
.woocommerce-account .row-my-account-address {
    margin-left: -10px;
    margin-right: -10px;
}

.woocommerce-account .my-account-address img {
    width: 20px !important;
    margin: 0px !important;
}

.woocommerce-account .address-my-account {
    background: #EEE;
}

.woocommerce-account .woocommerce-address-field-wrapper {
    margin-left: -10px;
    margin-right: -10px;
}

.woocommerce-account .woocommerce-address-field-wrapper .form-row {
    padding: 0px 10px 10px 10px;
    width: 50%;
    margin: 0px;
}

.woocommerce-account .woocommerce-address-field-wrapper label {
    display: block;
    margin-bottom: 5px;
}

@media (max-width: 576px) {
    .woocommerce-account .woocommerce-address-field-wrapper .form-row {
        width: 100%;
    }
}

/* Archive Product Orders
 --------------------------------------------------------------*/
ul.orderby-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 12px;
}

ul.orderby-links li {
    display: inline-flex;
}

ul.orderby-links li a {
    text-decoration: none;
    color: #000;
    padding: 5px 10px;
    border: 1px solid #ccc;
    transition: background 0.3s, color 0.3s;
    margin: 2px 5px;
    display: inline-block;
    border-radius: 5px;
}

ul.orderby-links li.active a {
    background: #000;
    color: #fff;
    border-color: #000;
}

ul.orderby-links li a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Style price product
--------------------------------------------------------------*/
.template-price,
.template-price ins,
.template-price .price {
    color: #FF0000;
    font-weight: 600;
}

.template-price del {
    color: #666;
}

.template-price ins {
    text-decoration: none;
}

/* Style item loop product
-------------------------------------------------------------- */
.header-item-product-loop {
    padding-top: 70%;
    margin-bottom: 10px;
}

.header-item-product-loop img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.3s;
}

.content-product-loop {
    border: 1px solid #EEE;
    transition: all 0.2s;
}

.content-product-loop:hover {
    box-shadow: 0px 1px 10px #0000001a;
}

/* Style Sale
--------------------------------------------------------------*/
.onsale-flash {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    background-image: url("../images/sale-flash.png");
    z-index: 1;
}

/* Style item title loop product and category
--------------------------------------------------------------*/
.content-product-loop .woocommerce-loop-category__title,
.content-product-loop .title-item-product-loop,
.content-product-loop .woocommerce-loop-product__title {
    font-size: 15px;
    font-weight: 500;
    color: #000;
}

.content-product-loop .title-item-product-loop {
    padding: 5px 15px;
}

/* Style action button item loop product
--------------------------------------------------------------*/
.content-product-loop .action-item-product-loop a {
    display: inline-block;
    padding: 5px 15px;
    color: #FFF;
    background: #000;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #000;
}

.content-product-loop:hover .action-item-product-loop a {
    background: transparent;
    color: #000;
}

/* Style item product category
--------------------------------------------------------------*/
.content-product-loop .woocommerce-loop-category__title mark {
    background: none;
    color: #ff0000;
    padding: 0px;
    font-weight: 600;
}

/* Sidebar mini cart empty
 --------------------------------------------------------------*/
.woocommerce-mini-cart__empty-message {
    padding: 15px;
    background: #ff8c002b;
    border-radius: 5px;
    font-size: 14px;
}

/* Sidebar Cart
-------------------------------------------------------------- */
#cart-sidebar {
    z-index: 999999;
    display: none;
    right: -330px;
}

#cart-sidebar.active {
    display: block;
}

#cart-sidebar-content {
    background: #FFF;
    width: 100%;
    max-width: 300px;
    z-index: 10;
    transition: all 0.5s;
    left: 100%;
}

#cart-sidebar.active #cart-sidebar-content {
    animation: animateCartSidebar 0.2s ease-in-out forwards;
}

@keyframes animateCartSidebar {
    0% {
        left: 100%;
    }

    100% {
        left: calc(100% - 300px);
    }
}

#overlay-cart-sidebar {
    background: #00000069;
}

/* Sidebar Cart list
--------------------------------------------------------------*/
#cart-sidebar ul,
#cart-sidebar ul li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

#cart-sidebar ul li {
    padding-left: 75px;
    min-height: 70px;
    padding-top: 7px;
    padding-bottom: 7px;
}

/* Sidebar Cart button remove
--------------------------------------------------------------*/
#cart-sidebar .remove_from_cart_button {
    position: absolute;
    left: 5px;
    z-index: 1;
    width: 15px;
    height: 15px;
    top: 10px;
    background: #000;
    color: #FFF;
    border-radius: 50%;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#cart-sidebar .remove_from_cart_button:hover {
    background: #FF0000;
}

/* Sidebar Cart image
--------------------------------------------------------------*/
#cart-sidebar ul li img {
    position: absolute;
    left: 0;
    top: 7px;
    max-width: 60px;
    max-height: 60px;
    border: 1px solid #EEE;
}

/* Sidebar Cart permalink
--------------------------------------------------------------*/
#cart-sidebar ul li a {
    color: #000;
    font-size: 14px;
}

#cart-sidebar ul li span.quantity {
    display: block;
    color: #000;
    font-weight: 500;
    margin: 5px 0px;
}

/* Sidebar Cart price
--------------------------------------------------------------*/
#cart-sidebar .woocommerce-Price-amount {
    color: #FF0000;
    font-weight: 600;
}

#cart-sidebar .woocommerce-mini-cart__total {
    display: block;
    margin-top: 10px;
    padding: 25px 0px;
    font-weight: 600;
    text-transform: uppercase;
    border-top: 1px solid #EEE;
}

#cart-sidebar strong {
    font-weight: 600;
}

/* Sidebar Cart button
--------------------------------------------------------------*/
#cart-sidebar .woocommerce-mini-cart__buttons.buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
}

#cart-sidebar .woocommerce-mini-cart__buttons .button {
    width: 100%;
    padding: 7px 10px;
    text-align: center;
    background: #000;
    color: #FFF;
    font-size: 14px;
    border: 1px solid #000;
    font-weight: 500;
}

#cart-sidebar .woocommerce-mini-cart__buttons .button:hover {
    color: #000;
    background: #FFF;
}

/* Style for add-to-cart form
--------------------------------------------------------------*/
.template-add-to-cart form.cart {
    display: flex;
    flex-direction: row;
    margin: 15px 0;
    padding: 10px 0px;
    flex-wrap: wrap;
}

.template-add-to-cart .template-add-to-cart {
    display: none !important;
}

/* Button disabled state
--------------------------------------------------------------*/
.template-add-to-cart form.cart .disabled {
    pointer-events: none;
    background: #666 !important;
}

/* Stock availability
--------------------------------------------------------------*/
.template-add-to-cart .stock.in-stock {
    font-weight: 600;
    margin-top: 10px;
}

/* Category and tags
--------------------------------------------------------------*/
.template-add-to-cart .product_meta .tagged_as,
.template-add-to-cart .product_meta .posted_in {
    margin-top: 15px;
}

.template-add-to-cart .product_meta .tagged_as a,
.template-add-to-cart .product_meta .posted_in a {
    background: #EEE;
    padding: 3px 10px;
    font-size: 13px;
    display: inline-block;
    margin: 2px;
}

.template-add-to-cart .product_meta .tagged_as a:hover,
.template-add-to-cart .product_meta .posted_in a:hover {
    background: #000;
    color: #FFF;
}

/* Quantity input styling
--------------------------------------------------------------*/
.template-add-to-cart form.cart .quantity {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.template-add-to-cart form.cart .quantity input.qty {
    width: 60px;
    height: 38px;
    text-align: center;
    border: 1px solid #ddd;
    margin-right: 5px;
}

/* Minus and Plus buttons styling
--------------------------------------------------------------*/
.template-add-to-cart form.cart .quantity .minus,
.template-add-to-cart form.cart .quantity .plus {
    background-color: #0071a1;
    color: #fff;
    padding: 0 15px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    line-height: 40px;
}

/* Button for single add to cart
--------------------------------------------------------------*/
.template-add-to-cart a.button-external-product,
.template-add-to-cart button.single_add_to_cart_button {
    background-color: #000;
    color: #FFF;
    padding: 5px 20px;
    border: none;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 38px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* Add to cart variations form
--------------------------------------------------------------*/
.template-add-to-cart form.cart .variations {
    width: 100%;
    border-collapse: collapse;
}

.template-add-to-cart form.cart .variations label {
    font-weight: 500;
}

/*Style reset table in product variations
--------------------------------------------------------------*/
.template-add-to-cart form.cart .variations th,
.template-add-to-cart form.cart .variations td {
    padding: 5px 10px;
    text-align: left;
}

.template-add-to-cart form.cart .variations select {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none !important;
    box-shadow: none !important;
}

/*Style reset variations
--------------------------------------------------------------*/
.template-add-to-cart form.cart .woocommerce-variation-add-to-cart {
    padding: 20px 0px 10px 0px;
}

.template-add-to-cart form.cart .variations td.td-reset-variations {
    text-align: right !important;
}

/*Style button reset variations button
--------------------------------------------------------------*/
.template-add-to-cart form.cart .variations td.td-reset-variations button.reset_variations {
    border: 0px;
    outline: none;
    background: #000;
    color: #FFF;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Form add to cart group
--------------------------------------------------------------*/
.template-add-to-cart form.cart .group_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.template-add-to-cart form.cart .group_table th,
.template-add-to-cart form.cart .group_table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    color: #333;
}

.template-add-to-cart form.cart .group_table input.qty {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.template-add-to-cart .button-contact-product {
    background: #000;
    height: 38px;
    padding: 5px 20px;
}

@media (max-width:768px) {
    .template-add-to-cart .button-contact-product {
        width: 100%;
        margin: 10px 0px 0px 0px !important;
    }
}

/* Style Quick View Product
-------------------------------------------------------------- */
.quick-view-item-product {
    background: #000;
    color: #FFF;
    bottom: -50px;
    transition: all 0.3s;
}

/* Show quick view button on hover
--------------------------------------------------------------*/
.content-product-loop:hover .quick-view-item-product {
    bottom: 0px;
}

/* Style Quick View Product Modal
-------------------------------------------------------------- */
#quick-view-product-modal {
    display: none;
    z-index: 9999;
}

.close.toggle-quick-view-product {
    z-index: 1;
}

/* Active state for quick view modal
--------------------------------------------------------------*/
#quick-view-product-modal.active {
    display: flex;
}

/* Main container for quick view product
--------------------------------------------------------------*/
#quick-view-product-main {
    width: 95%;
    max-width: 900px;
    max-height: 90%;
    z-index: 1;
}

/* Overlay background for quick view product
--------------------------------------------------------------*/
#quick-view-product-overlay {
    background: #0000008f;
}

/* Hide reset variations button in the quick view modal
--------------------------------------------------------------*/
#quick-view-product-modal .reset_variations {
    display: none;
}

@media (max-width:768px) {

    .template-add-to-cart a.button-external-product,
    .template-add-to-cart button.single_add_to_cart_button,
    .template-add-to-cart form.cart .quantity input.qty,
    .template-add-to-cart form.cart .quantity {
        width: 100%;
        margin-bottom: 10px;
    }

    .close.toggle-quick-view-product {
        margin-right: 10px;
        margin-top: 0px;
    }
}

/* Style Tab woocommerce product attributes
-------------------------------------------------------------- */
.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0px;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    padding: 7px 10px;
    border: 1px solid #eee;
    text-align: left;
}

.woocommerce-product-attributes tr:nth-child(odd) {
    background-color: #f7f7f7;
}

.woocommerce-product-attributes tr:nth-child(even) {
    background-color: #ffffff;
}

.woocommerce-product-attributes th {
    font-weight: 600;
}

/* Style woocommerce review
-------------------------------------------------------------- */
.woocommerce-Reviews .review-breakdown:after,
.woocommerce-Reviews .review-average:after {
    content: "";
    position: absolute;
    right: 5px;
    width: 1px;
    height: 100%;
    border-right: 1px dashed #DDD;
    top: 0px;
}

@media (max-width:768px) {

    .woocommerce-Reviews .review-breakdown:after,
    .woocommerce-Reviews .review-average:after {
        display: none;
    }
}

.woocommerce-Reviews .number-review-breakdown,
.woocommerce-Reviews .label-review-breakdown {
    width: 50px;
}

.woocommerce-Reviews .item-review-breakdown {
    width: calc(100% - 100px);
    height: 10px;
    background: #ddd;
    border-radius: 5px;
}

.woocommerce-Reviews .item-review-breakdown div {
    background: #000;
}

.woocommerce-Reviews .review-breakdown ul,
.woocommerce-Reviews .review-breakdown ul li {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

.woocommerce-Reviews .review-breakdown ul li {
    padding: 2px 0px;
}

.woocommerce-Reviews #open-review-modal {
    border: 0px;
    background: #000;
}

.woocommerce-Reviews .icon-review-star {
    width: 40px;
}

/* Style Reviews Modal */
.woocommerce-Reviews #review-modal {
    display: none;
    z-index: 99999;
}

.woocommerce-Reviews #review-overlay.active,
.woocommerce-Reviews #review-modal.active {
    display: flex;
}

.woocommerce-Reviews #review-modal #close-review-modal {
    z-index: 1;
}

.woocommerce-Reviews #title-review-modal {
    background: #000;
}

.woocommerce-Reviews #review-overlay {
    background: #000000a1;
}

.woocommerce-Reviews #review-content-modal {
    z-index: 1;
    max-width: 600px;
    max-height: 90%;
    margin: 20px;
    width: 95%;
}

.woocommerce-Reviews #review-modal .input-text {
    padding: 5px 15px;
    border: 1px solid #ccc;
    height: 40px;
    width: 100%;
    border-radius: 5px;
}

.woocommerce-Reviews #review-modal .input-text.input-error {
    border-color: #ff0000;
}

.woocommerce-Reviews #review-modal textarea.input-text {
    height: 100px;
    padding: 15px;
}

.woocommerce-Reviews #review-modal .input-text:focus {
    border-color: #0033a1;
    outline: none;
    box-shadow: 0px 0px 5px rgba(0, 51, 161, 0.5);
}

.woocommerce-Reviews #review-modal #submit-review-modal {
    background: #000;
    border: 0px;
}

.woocommerce-Reviews #review-modal #submit-review-modal img {
    width: 20px;
    filter: brightness(0) invert(1);
}

.woocommerce-Reviews #review-modal #review-star-product {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-direction: row-reverse;
}

/* Hide input radio
--------------------------------------------------------------*/
.woocommerce-Reviews #review-modal #review-star-product input {
    display: none;
}

.woocommerce-Reviews #review-modal #review-star-product label {
    padding-bottom: 20px;
    width: 50px;
    text-align: center;
    color: #666;
}

.woocommerce-Reviews #review-modal #review-star-product label span {
    font-size: 13px;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 70px;
    color: #000 !important;
    white-space: nowrap;
    overflow: hidden;
}

.woocommerce-Reviews #review-modal #review-star-product label:before {
    content: 'â˜…';
}

.woocommerce-Reviews #review-modal #review-star-product input:checked~label,
.woocommerce-Reviews #review-modal #review-star-product label:hover,
.woocommerce-Reviews #review-modal #review-star-product label:hover~label {
    color: #f39c12;
}

/* Style list reviews product
--------------------------------------------------------------*/
.woocommerce-Reviews .list-reviews-product {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
}

.woocommerce-Reviews .list-reviews-product li {
    list-style: none;
    margin: 0px;
    padding: 10px 0px 10px 100px;
    position: relative;
}

@media (max-width:768px) {
    .woocommerce-Reviews .list-reviews-product li {
        padding: 5px;
    }
}

.woocommerce-Reviews .list-reviews-product .comment_container {
    display: block;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.woocommerce-Reviews .list-reviews-product .comment_container .comment-text {
    background: #eeeeeeb3;
    border: 1px dashed #DDD;
    padding: 10px 15px;
    border-radius: 5px;
}

.woocommerce-Reviews .list-reviews-product li img {
    position: absolute;
    border-radius: 5px;
    left: 0px;
    top: 10px;
}

@media (max-width:768px) {
    .woocommerce-Reviews .list-reviews-product li img {
        display: none;
    }
}

.woocommerce-Reviews .list-reviews-product li .meta strong {
    font-weight: 600;
    text-transform: uppercase;
}

.woocommerce-Reviews .list-reviews-product li .meta .woocommerce-review__published-date {
    font-size: 13px;
    color: #666;
}

.star-rating {
    width: 100px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    margin-bottom: 5px;
    position: relative;
    height: 20px;
}

.star-rating span {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #f5c518;
    overflow: hidden;
    text-indent: -200px;
    height: 20px;
}

.star-rating:before,
.star-rating span:before {
    content: '\2605\2605\2605\2605\2605';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    letter-spacing: 0px;
    font-size: 20px;
    text-indent: 0px;
    line-height: 20px;
}

.star-rating:before {
    color: #333;
}

/*
Style Title Tabs Single Product
--------------------------------------------------------------*/
.title-tab-single-product {
    padding: 10px 0px;
    border-bottom: 1px solid #EEE;
    margin-bottom: 20px;
}

/* Style woocommerce product gallery
--------------------------------------------------------------*/
.woocommerce-product-gallery {
    text-align: center;
}

.woocommerce-product-gallery img {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.woocommerce-product-gallery .flex-control-nav img.flex-active {
    border: 1px solid #000;
}

/*
Style Single Product
--------------------------------------------------------------*/
@media (max-width:768px) {
    .left-single-product {
        padding-right: 0px;
    }
}


/*
Style Buy Contact modal product - v5 Redesign
--------------------------------------------------------------*/
/* Keep old classes functional just in case */
.modal-contact-us { display: none; z-index: 99999; }
.modal-contact-us.active { display: flex; }

/* ---- New Báo Giá Modal v5 ---- */
.baogia-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: bgFadeIn 0.2s ease;
}

@keyframes bgFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.baogia-modal-container {
    background: #ffffff;
    border-radius: 20px;
    width: 100%;
    max-width: 540px;
    padding: 32px;
    position: relative;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18), 0 4px 16px rgba(15, 23, 42, 0.08);
    animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(32px) scale(0.96); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.baogia-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    transition: background 0.2s, color 0.2s;
    padding: 0;
}
.baogia-modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Header */
.baogia-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #eff6ff;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 24px;
}

.baogia-header-icon {
    width: 44px;
    height: 44px;
    background: var(--fc-v5-blue-dark, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.baogia-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.baogia-modal-subtitle {
    font-size: 12px;
    color: var(--fc-v5-blue-dark, #1d4ed8);
    margin-top: 2px;
}

/* Form */
.baogia-modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.baogia-form-group {
    width: 100%;
}

.baogia-input {
    width: 100%;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 15px;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
    box-sizing: border-box;
    -webkit-appearance: none;
}
.baogia-input:focus {
    border-color: var(--fc-v5-blue-dark, #1d4ed8);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.10);
}
.baogia-input::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

.baogia-textarea {
    resize: vertical;
    min-height: 88px;
    line-height: 1.5;
}

/* Alert */
.baogia-alert {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
}
.baogia-alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
.baogia-alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Submit button */
.baogia-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
    font-family: inherit;
    letter-spacing: 0.2px;
    margin-top: 4px;
}
.baogia-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.30);
}
.baogia-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}
.baogia-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Security note */
.baogia-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

/* Spinner */
.baogia-spinner {
    animation: baogiaSpin 0.8s linear infinite;
}
@keyframes baogiaSpin {
    to { transform: rotate(360deg); }
}

/* Success state */
.baogia-success-state {
    text-align: center;
    padding: 16px 8px 8px;
}
.baogia-success-icon {
    width: 72px;
    height: 72px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #16a34a;
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes successPop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.baogia-success-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}
.baogia-success-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}
.baogia-call-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--fc-v5-blue-dark, #1d4ed8);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    transition: opacity 0.2s;
}
.baogia-call-now:hover {
    opacity: 0.9;
    color: #ffffff;
}

/* Body lock when modal is open */
body.baogia-modal-open {
    overflow: hidden;
}

/* Mobile responsive */
@media (max-width: 575px) {
    .baogia-modal-container {
        padding: 24px 20px;
        border-radius: 16px;
    }
    .baogia-modal-title {
        font-size: 15px;
    }
    .baogia-submit-btn {
        font-size: 15px;
        padding: 14px 16px;
    }
}


/*
Style Share Product Woocommerce
--------------------------------------------------------------*/
.share-single-product img {
    max-width: 30px;
}

.share-single-product .share-lazada img {
    max-width: 60px;
}

.share-single-product .share-shopee img {
    max-width: 60px;
}

.share-single-product .share-message img {
    max-width: 60px;
}

.share-single-product .share-facebook img {
    max-width: 60px;
}

.share-single-product .share-zalo img {
    max-width: 60px;
}

.share-single-product .share-tiktoc img {
    max-width: 60px;
}

/* 

/* Product Tab v5 Stable Styles 
-------------------------------------------------------------- */
.builder-product-tab-v5 .tab-nav-v5 .btn-tab-v5.active {
    background: #FFF;
    color: var(--fc-v5-blue-dark);
    opacity: 1;
}

.product-card-v5 {
    border: 1px solid #f1f5f9;
    position: relative;
}

.product-card-v5:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 58, 138, 0.1);
}

.pc-thumb-v5 {
    border-radius: 14px 14px 0 0;
}

.border-top-light {
    border-top: 1px solid #f1f5f9;
}

.background-blue-light {
    background: var(--fc-v5-blue-light);
}

.btn-v5-outline-blue {
    color: var(--fc-v5-blue-dark);
    border: 2px solid var(--fc-v5-blue-dark);
    background: transparent;
}

.btn-v5-outline-blue:hover {
    background: var(--fc-v5-blue-dark);
    color: #fff;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.15);
}

/* Product Card v5 Button Logic */
.btn-pc-v5 {
    color: #fff !important;
    text-decoration: none !important;
}

.btn-pc-detail-v5 {
    background: var(--fc-v5-blue-dark);
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.2);
}

.btn-pc-quote-v5 {
    background: var(--fc-v5-red);
}

.color-red {
    color: var(--fc-v5-red) !important;
}

.color-blue {
    color: var(--fc-v5-blue-dark) !important;
}

/* Fix for PC Grid and Shadow */
.overflow-visible-pc {
    overflow: visible !important;
}

@media (min-width: 768px) {
    .builder-product-tab-v5 .js-swiper-container:not(.swiper) {
        overflow: visible;
    }

    .builder-product-tab-v5 .js-swiper-container:not(.swiper) .js-swiper-wrapper {
        display: flex;
        flex-wrap: wrap;
    }
}

/* Product Card Action Overlay v5 
-------------------------------------------------------------- */
.pc-action-v5 {
    top: 0;
    left: 0;
    background: rgba(30, 58, 138, 0.15);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.pc-specs-v5 {
    min-height: 65px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.pc-specs-v5 li {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px !important;
    line-height: 1.4;
    position: relative;
    padding-left: 14px;
    list-style: none !important;
}

.pc-specs-v5 li::before {
    content: "";
    background-color: var(--fc-v5-blue-dark);
    border-radius: 50%;
    display: inline-block;
    width: 4px;
    height: 4px;
    position: absolute;
    left: 3px;
    top: 5px;
}

/* Clean & Optimized V5 Product Card 
-------------------------------------------------------------- */
.pc-action-v5 {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card-v5:hover .pc-action-v5 {
    opacity: 1;
}

.btn-qv-v5 {
    background: #fff;
    color: var(--fc-v5-blue-dark);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: scale(0.9);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card-v5:hover .btn-qv-v5 {
    transform: scale(1);
}

.product-card-v5 {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pc-thumb-v5 {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.pc-body-v5 {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pc-footer-v5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.btn-pc-v5 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    transition: all 0.3s ease;
    color: #fff !important;
    font-size: 12px;
    font-weight: 400;
}

/* Product Tab Navigation v5 Optimized 
-------------------------------------------------------------- */
.tab-nav-v5 {
    border: none !important;
    background: #f9fafb;
    padding: 6px !important;
    gap: 5px;
}

.btn-tab-v5 {
    border: none !important;
    background: transparent !important;
    opacity: 0.7;
    padding: 10px 25px !important;
    border-radius: 10px !important;
    transition: all 0.3s ease;
}

.btn-tab-v5.active {
    background: var(--fc-v5-blue-dark) !important;
    color: #fff !important;
    opacity: 1 !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

/* ================================================
   WC Archive Header V5
   ================================================ */

/* Section trắng liền chứa breadcrumb + title + PDF */
.wc-archive-header-v5 {
    border-bottom: 1px solid #f1f5f9;
}

/* Breadcrumb */
.wc-archive-breadcrumb-v5 .woocommerce-breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    padding: 0;
}

.wc-archive-breadcrumb-v5 .woocommerce-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wc-archive-breadcrumb-v5 .woocommerce-breadcrumb a:hover {
    color: var(--fc-v5-blue-dark);
}

/* Thanh accent xanh dọc trước H1 */
.wc-title-accent-bar {
    display: inline-block;
    width: 4px;
    height: 26px;
    background: var(--fc-v5-blue-dark);
    border-radius: 3px;
}

/* Nút Tải Catalogue PDF */
.btn-catalogue-v5 {
    padding: 9px 18px;
    border: 1.5px solid var(--fc-v5-blue-dark);
    border-radius: 8px;
    color: var(--fc-v5-blue-dark);
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    white-space: nowrap;
    text-decoration: none;
}

.btn-catalogue-v5:hover {
    background: var(--fc-v5-blue-dark);
    color: #fff;
    text-decoration: none;
}

.btn-catalogue-v5 svg {
    flex-shrink: 0;
}

/* Responsive mobile */
@media (max-width: 767px) {
    .wc-archive-header-v5 .d-flex {
        flex-wrap: wrap;
    }

    .btn-catalogue-v5 {
        width: 100%;
        justify-content: center;
        display: flex;
    }
}

/* Image zoom hover effect for V5 Product Card in WooCommerce loop */
.product-card-v5 .pc-thumb-v5 img {
    transition: transform 0.5s ease !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.product-card-v5:hover .pc-thumb-v5 img {
    transform: scale(1.1) !important;
}

/* =================================================
   V5 Premium Pagination Style for WooCommerce
   ================================================= */
.fc-pagination {
    margin-top: 30px;
    margin-bottom: 20px;
}
.fc-pagination ul {
    display: inline-flex !important;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: center;
}
.fc-pagination ul li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Base number / arrow styles */
.fc-pagination ul li span,
.fc-pagination ul li a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    font-size: 14px;
    font-weight: 700 !important;
    color: #4b5563 !important; /* Grey text */
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 50% !important; /* Circular buttons */
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    position: relative !important;
}
/* Remove default pipeline character */
.fc-pagination ul li span:after,
.fc-pagination ul li a:after {
    display: none !important;
}
/* Hover styles */
.fc-pagination ul li a:hover {
    color: var(--fc-v5-blue-dark) !important;
    border-color: var(--fc-v5-blue-dark) !important;
    background: var(--fc-v5-blue-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(30, 58, 138, 0.1);
}
/* Current active page style */
.fc-pagination ul li span.current {
    color: #ffffff !important;
    background: var(--fc-v5-blue-dark) !important;
    border-color: var(--fc-v5-blue-dark) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}
/* Next/Prev Arrow adjustment */
.fc-pagination ul li a.prev,
.fc-pagination ul li a.next {
    font-size: 16px;
}

/* =================================================
   V5 Consultation Box (Không tìm thấy sản phẩm)
   ================================================= */
.wc-consultation-box-v5 {
    background: var(--fc-v5-blue-light);
    border: 1px solid rgba(30, 58, 138, 0.1);
    border-radius: 15px;
    margin-top: 20px;
}

.wc-consultation-box-v5 h4 {
    color: var(--fc-v5-blue-dark);
}

.btn-consultation-call-v5 {
    background: var(--fc-v5-red);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(217, 65, 37, 0.2);
}

.btn-consultation-call-v5:hover {
    background: var(--fc-v5-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(217, 65, 37, 0.3);
}

/* Responsive consultation box */
@media (max-width: 767px) {
    .wc-consultation-box-v5 {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
        padding: 20px !important;
    }
    .btn-consultation-call-v5 {
        width: 100%;
        justify-content: center;
    }
}

/* =================================================
   V5 Category Full Description Box (Xem thêm / Rút gọn)
   ================================================= */
.wc-term-desc-box-v5 {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

.term-desc-content-v5 {
    transition: max-height 0.4s ease;
    overflow: hidden;
}

/* Fade overlay to indicate more content below */
.term-desc-fade-overlay-v5 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    z-index: 1;
}

/* Specific styling for list items and green check badges inside the description */
.term-desc-content-v5 ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.term-desc-content-v5 li {
    margin-bottom: 8px;
}

/* Style green badges from WYSIWYG description */
.term-desc-content-v5 span.badge-green, 
.term-desc-content-v5 span.green-badge {
    background: var(--fc-v5-green-light);
    color: var(--fc-v5-green);
    border-radius: 50px;
    padding: 3px 12px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Custom styling to make the breadcrumb background white on single product pages */
body.single-product .breadcrumb-template {
    border-bottom: 1px solid #f1f5f9;
    padding-top: 15px;
    padding-bottom: 15px;
}


body.single-product .left-single-product {
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    body.single-product .left-single-product {
        margin-bottom: 0;
    }
}

/* Custom styling for default WooCommerce Product Gallery (FlexSlider) to match the demo */
body.single-product .woocommerce-product-gallery .flex-viewport,
body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image {
    border-radius: 16px !important;
    overflow: hidden !important;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery .slides img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    border-bottom-right-radius: 16px !important; /* Override the asymmetric 35px border-radius */
}

/* Custom zoom/lightbox trigger styling */
body.single-product .woocommerce-product-gallery__trigger {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 20 !important;
    width: 36px !important;
    height: 36px !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #333333 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
}

body.single-product .woocommerce-product-gallery__trigger:hover {
    background-color: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

/* Custom circular prev/next navigation arrows */
body.single-product .woocommerce-product-gallery .flex-direction-nav a {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.85) !important;
    color: #333333 !important;
    top: calc(50% - 25px) !important; /* Center on main image, not entire card */
    transform: translateY(-50%) !important;
    position: absolute !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-indent: 0 !important;
    overflow: visible !important;
    opacity: 0.8 !important;
    visibility: visible !important;
    transition: all 0.3s ease !important;
    z-index: 15 !important;
}

@media (min-width: 768px) {
    body.single-product .woocommerce-product-gallery .flex-direction-nav a {
        top: calc(50% - 30px) !important;
    }
}

body.single-product .woocommerce-product-gallery .flex-direction-nav a:hover {
    background-color: #ffffff !important;
    color: var(--fc_color_primary, #2b3a7b) !important;
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav a:before {
    font-size: 18px !important;
    font-weight: 700 !important;
    position: static !important;
    transform: none !important;
    line-height: 1 !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav a.flex-prev {
    left: 16px !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav a.flex-prev:before {
    content: "<" !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav a.flex-next {
    right: 16px !important;
}

body.single-product .woocommerce-product-gallery .flex-direction-nav a.flex-next:before {
    content: ">" !important;
}


/* Custom layout and styles for thumbnails */
body.single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    padding: 0 !important;
    margin: 16px 0 0 0 !important;
    list-style: none !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    width: calc(25% - 12px) !important;
    float: none !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1 !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img:hover {
    border-color: var(--fc_color_primary, #2b3a7b) !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
    border: 2px solid var(--fc_color_primary, #2b3a7b) !important;
}

/* Custom styling for pagination dots (if any) */
body.single-product .woocommerce-product-gallery .flex-control-paging {
    position: absolute !important;
    bottom: 15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    display: flex !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.single-product .woocommerce-product-gallery .flex-control-paging li a {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.6) !important;
    border: none !important;
    display: block !important;
    text-indent: -9999px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

body.single-product .woocommerce-product-gallery .flex-control-paging li a.flex-active {
    background-color: var(--fc_color_primary, #2b3a7b) !important;
    width: 20px !important;
    border-radius: 4px !important;
}

/* Custom single product v5 components styling */
.btn-v5-zalo-chat {
    border: 2px solid rgb(0, 104, 255) !important;
    color: rgb(0, 104, 255) !important;
    background-color: #ffffff !important;
    border-radius: 10px !important;
    padding: 12px 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    width: 100% !important;
}

.btn-v5-zalo-chat:hover {
    background-color: rgba(0, 104, 255, 0.05) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 104, 255, 0.1) !important;
}

.product-highlights-box-v5 {
    background-color: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 10px !important;
}

.product-banner-v5 {
    background-color: var(--fc-v5-blue-light) !important;
    border-radius: 10px !important;
}

/* Attributes table custom styles */
.product-attributes-box-v5 table td {
    padding: 6px 0 !important;
}

.product-gallery-column-v5 {
    position: relative;
}

/* Tweak WooCommerce single product rating margin */
body.single-product .woocommerce-product-rating {
    margin-bottom: 0 !important;
}

/* Product Grid loop hover zoom effect */
.content-product-loop:hover .img-loop-product-v5 {
    transform: scale(1.05) !important;
}

.content-product-loop .product-cat-loop-v5 {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Adjustments for WooCommerce products row list */
ul.products {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Hovering anywhere on the card changes the title color */
.product-card-v5:hover .pc-title-v5 a {
    color: var(--fc-v5-blue-dark) !important;
}

/* Fix product title height to exactly 2 lines (font 14px, line-height 1.5) */
.pc-title-v5 {
    height: 42px;
    line-height: 1.5;
    margin-bottom: 8px !important;
}

/* Product price details styling overrides */
.product-price-v5.text-v5-red,
.product-price-v5.text-v5-red *,
.woocommerce-variation-price .price,
.woocommerce-variation-price .price * {
    color: var(--fc-v5-red) !important;
}

.product-price-v5.text-v5-blue-dark,
.product-price-v5.text-v5-blue-dark * {
    color: var(--fc-v5-blue-dark) !important;
}

/* Custom Trustbadges border and hover styles */
.trustbadge-card-v5 {
    background-color: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important; /* Darker & bolder border */
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.trustbadge-card-v5:hover {
    border-color: var(--fc-v5-blue-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.08);
}

/* ================================================================
   Product Detail Tabs v5
   ================================================================ */
.product-tabs-v5-section {
    background: #f1f5f9;
    padding: 40px 0 60px;
    width: 100%;
}

/* ── White Card Wrapper ───────────────────────────────────────── */
.product-tabs-v5-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    width: 100%;
}

/* ── Tab Navigation Bar ───────────────────────────────────────── */
.product-tabs-v5-nav-wrap {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
}

.product-tabs-v5-nav {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.product-tabs-v5-nav::-webkit-scrollbar { display: none; }

.ptab-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 16px 20px;
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    font-family: inherit;
    margin-bottom: -1px; /* overlap the nav-wrap border-bottom */
}
.ptab-btn:hover {
    color: var(--fc-v5-blue-dark, #1d4ed8);
}
.ptab-btn.active {
    color: var(--fc-v5-blue-dark, #1d4ed8);
    border-bottom-color: var(--fc-v5-blue-dark, #1d4ed8);
    font-weight: 700;
}
.ptab-btn svg {
    opacity: 0.65;
    transition: opacity 0.2s;
}
.ptab-btn.active svg,
.ptab-btn:hover svg {
    opacity: 1;
}

/* ── Tab Body ─────────────────────────────────────────────────── */
.product-tabs-v5-body {
    padding: 32px 30px;
}

.ptab-panel {
    display: none;
}
.ptab-panel.active {
    display: block;
    animation: ptabFadeIn 0.25s ease;
}
@media (min-width: 992px) {
    .ptab-panel {
        max-width: 70%;
        margin-left: 0;
        margin-right: auto;
    }
}
@keyframes ptabFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Section title (shared) ───────────────────────────────────── */
.ptab-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px;
}

/* ── Mô tả (Prose) ────────────────────────────────────────────── */
.ptab-prose {
    background: transparent;
    padding: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #374151;
}
.ptab-prose h1, .ptab-prose h2, .ptab-prose h3,
.ptab-prose h4, .ptab-prose h5, .ptab-prose h6 {
    color: #1e293b;
    margin-top: 1.4em;
    margin-bottom: 0.6em;
}
.ptab-prose p { margin-bottom: 1em; }
.ptab-prose ul, .ptab-prose ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}
.ptab-prose img {
    max-width: 100%;
    border-radius: 8px;
    margin: 12px 0;
}

/* ── Thông số kỹ thuật ────────────────────────────────────────── */
.ptab-specs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}
.ptab-specs-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}
.ptab-copy-specs-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    font-family: inherit;
}
.ptab-copy-specs-btn:hover {
    border-color: var(--fc-v5-blue-dark, #1d4ed8);
    color: var(--fc-v5-blue-dark, #1d4ed8);
    background: #eff6ff;
}
.ptab-specs-table-wrap {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
}
.ptab-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.ptab-specs-table tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}
.ptab-specs-table tr:last-child { border-bottom: none; }
.ptab-specs-table tr:hover { background: #f8fafc; }
.ptab-specs-key {
    padding: 13px 20px;
    color: #64748b;
    font-weight: 600;
    width: 36%;
    vertical-align: top;
}
.ptab-specs-val {
    padding: 13px 20px;
    color: #1e293b;
    font-weight: 500;
}
.ptab-specs-note {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
    margin: 0;
}

/* ── Ứng dụng ─────────────────────────────────────────────────── */
.ptab-ung-dung-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}
@media (max-width: 575px) {
    .ptab-ung-dung-grid { grid-template-columns: 1fr; }
}

.ptab-ung-dung-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ptab-ung-dung-card:hover {
    border-color: var(--fc-v5-blue-dark, #1d4ed8);
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.08);
}
.ptab-ud-icon {
    width: 32px;
    height: 32px;
    background: #eff6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fc-v5-blue-dark, #1d4ed8);
    flex-shrink: 0;
}
.ptab-ud-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.4;
}
.ptab-ud-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* CTA Banner */
.ptab-cta-banner {
    background: #eff6ff;
    border: 1.5px solid #bfdbfe;
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ptab-cta-icon-wrap {
    width: 42px;
    height: 42px;
    background: var(--fc-v5-blue-dark, #1d4ed8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.ptab-cta-text { flex: 1; min-width: 160px; }
.ptab-cta-main {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}
.ptab-cta-sub {
    font-size: 13px;
    color: #64748b;
    margin-top: 3px;
}
.ptab-cta-btn {
    display: inline-flex;
    align-items: center;
    background: var(--fc-v5-blue-dark, #1d4ed8);
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.ptab-cta-btn:hover { opacity: 0.88; color: #fff; }

/* ── Tài liệu ─────────────────────────────────────────────────── */
.ptab-tai-lieu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ptab-doc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    text-decoration: none;
    color: #1e293b;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.ptab-doc-item:hover {
    border-color: var(--fc-v5-blue-dark, #1d4ed8);
    box-shadow: 0 3px 12px rgba(29, 78, 216, 0.10);
    color: #1e293b;
}
.ptab-doc-icon { flex-shrink: 0; }
.ptab-doc-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
}
.ptab-doc-badge {
    font-size: 11px;
    font-weight: 700;
    background: #f1f5f9;
    color: #64748b;
    padding: 3px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ptab-doc-dl {
    color: #94a3b8;
    flex-shrink: 0;
    transition: color 0.2s;
}
.ptab-doc-item:hover .ptab-doc-dl {
    color: var(--fc-v5-blue-dark, #1d4ed8);
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.ptab-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ptab-faq-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.ptab-faq-item.open {
    border-color: var(--fc-v5-blue-dark, #1d4ed8);
}
.ptab-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    padding: 16px 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s;
}
.ptab-faq-question:hover { color: var(--fc-v5-blue-dark, #1d4ed8); }
.ptab-faq-item.open .ptab-faq-question {
    color: var(--fc-v5-blue-dark, #1d4ed8);
}
.ptab-faq-chevron {
    flex-shrink: 0;
    transition: transform 0.25s;
}
.ptab-faq-item.open .ptab-faq-chevron {
    transform: rotate(180deg);
}
.ptab-faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

/* ── Mobile adjustments ───────────────────────────────────────── */
@media (max-width: 767px) {
    .ptab-btn { padding: 13px 14px; font-size: 13px; }
    .ptab-prose { padding: 20px 0; }
    .product-tabs-v5-body { padding: 24px 16px 36px; }
    .ptab-specs-key, .ptab-specs-val { padding: 10px 14px; }
    .ptab-cta-banner { padding: 14px 16px; }
}

/* ── Related Products Slider Navigation ──────────────────────── */
.srp-arrow-btn-v5 {
    transition: all 0.3s ease;
}
.srp-arrow-btn-v5:hover {
    background: var(--fc-v5-blue-light, rgb(239, 246, 255)) !important;
    border-color: var(--fc-v5-blue-dark, rgb(30, 58, 138)) !important;
    color: var(--fc-v5-blue-dark, rgb(30, 58, 138)) !important;
    transform: scale(1.05);
}
.srp-arrow-btn-v5:active {
    transform: scale(0.95);
}
.srp-arrow-btn-v5.swiper-button-disabled {
    opacity: 0.45;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* ── Custom Single Product CTA Banner v5 ─────────────────────── */
.product-cta-banner-v5 {
    background: var(--fc-v5-blue-dark, rgb(30, 58, 138));
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
}

.product-cta-banner-v5 .cta-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-cta-banner-v5 .cta-subtitle {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
    opacity: 0.9;
}

.product-cta-banner-v5 .cta-buttons-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.product-cta-banner-v5 .btn-cta-v5 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

/* White background button */
.product-cta-banner-v5 .btn-cta-v5-white {
    background: #ffffff;
    color: var(--fc-v5-blue-dark, rgb(30, 58, 138)) !important;
    border: 1.5px solid #ffffff;
}

.product-cta-banner-v5 .btn-cta-v5-white:hover {
    background: #f8fafc;
    border-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.15);
}

/* Outlined white buttons */
.product-cta-banner-v5 .btn-cta-v5-outline {
    background: transparent;
    color: #ffffff !important;
    border: 1.5px solid #ffffff;
}

.product-cta-banner-v5 .btn-cta-v5-outline:hover {
    background: #ffffff;
    color: var(--fc-v5-blue-dark, rgb(30, 58, 138)) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.15);
}

.product-cta-banner-v5 .btn-cta-v5:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .product-cta-banner-v5 {
        padding: 36px 20px;
        border-radius: 16px;
    }
    .product-cta-banner-v5 .cta-title {
        font-size: 20px;
    }
    .product-cta-banner-v5 .cta-subtitle {
        font-size: 13px;
        margin-bottom: 24px;
    }
    .product-cta-banner-v5 .cta-buttons-wrap {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .product-cta-banner-v5 .btn-cta-v5 {
        width: 100%;
        padding: 14px 20px;
    }
}



/* ── Force Hide Related Product arrows on Mobile ── */
.srp-arrows-v5 {
    display: none !important;
}
@media (min-width: 768px) {
    .srp-arrows-v5 {
        display: flex !important;
    }
}
