/*
Theme Name: Layout Theme
Theme URI: https://example.com/layout-theme
Author: Custom Theme
Description: WordPress theme chuyển đổi từ layout tĩnh, tích hợp giao diện WooCommerce tùy biến.
Version: 1.6.37
Text Domain: layout-theme
Requires at least: 6.0
Requires PHP: 8.0
*/
/*
 * Homepage catalogue:
 * - category row = product_cat level 2
 * - brand row    = product_brand terms present in products of the level-1 category
 *
 * Use explicit variants instead of legacy :nth-of-type rules. This matters for
 * level-1 categories that do not have level-2 children: their brand row must
 * remain a brand row rather than being styled like a category row.
 */
/* ----- Shared grid ----- */ #common-home .grid-catalog.grid-catalog--category .row, #common-home .grid-catalog.grid-catalog--brand .row {
    margin-left: 0;
    margin-right: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: stretch;
}
#common-home .grid-catalog.grid-catalog--category .grid-catalog__heading, #common-home .grid-catalog.grid-catalog--brand .grid-catalog__heading {
    display: block;
}
/* ----- Row 1: level-2 categories ----- */ #common-home .grid-catalog.grid-catalog--category {
    margin-top: 4.6666666667rem;
}
#common-home .grid-catalog.grid-catalog--category .row {
    gap: 8px;
    padding: 0;
    background: transparent;
}
#common-home .grid-catalog.grid-catalog--category .grid-catalog__cell {
    padding: 0;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(12.5% - 7px);
    flex: 0 0 calc(12.5% - 7px);
    width: calc(12.5% - 7px);
    max-width: calc(12.5% - 7px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
#common-home .grid-catalog.grid-catalog--category .grid-catalog__item {
    width: 100%;
    height: 100%;
    text-align: center;
}
#common-home .grid-catalog.grid-catalog--category .grid-catalog__item a {
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    background: #212121;
    border-radius: 8px;
    overflow: hidden;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
#common-home .grid-catalog.grid-catalog--category .grid-catalog__item__img {
    z-index: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #eeeeee;
}
#common-home .grid-catalog.grid-catalog--category .grid-catalog__item__img:before {
    display: none;
}
#common-home .grid-catalog.grid-catalog--category .grid-catalog__item__img img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center;
    -webkit-transition: transform .2s ease;
    transition: transform .2s ease;
}
#common-home .grid-catalog.grid-catalog--category .grid-catalog__item__title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 58px;
    width: 100%;
    margin: 0;
    padding: 10px 7px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 400;
    text-align: center;
}
#common-home .grid-catalog.grid-catalog--category .grid-catalog__item a:hover {
    background: #d4a30f;
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}
#common-home .grid-catalog.grid-catalog--category .grid-catalog__item a:hover .grid-catalog__item__img img {
    -webkit-transform: scale(1.025);
    transform: scale(1.025);
}
/* ----- Row 2: brands in the level-1 category ----- */ #common-home .grid-catalog.grid-catalog--brand {
    margin-top: 1px;
    width: 100%;
}
#common-home .grid-catalog.grid-catalog--brand .grid-catalog__heading {
    margin-top: 3.3333333333rem;
    margin-bottom: 2rem;
}
#common-home .grid-catalog.grid-catalog--brand .row {
    gap: 8px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
}
#common-home .grid-catalog.grid-catalog--brand .grid-catalog__cell {
    padding: 0;
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(12.5% - 7px);
    flex: 0 0 calc(12.5% - 7px);
    width: calc(12.5% - 7px);
    max-width: calc(12.5% - 7px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
#common-home .grid-catalog.grid-catalog--brand .grid-catalog__item {
    width: 100%;
    height: 100%;
    text-align: center;
}
#common-home .grid-catalog.grid-catalog--brand .grid-catalog__item a {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
#common-home .grid-catalog.grid-catalog--brand .grid-catalog__item__img {
    z-index: 0;
    width: 100%;
    aspect-ratio: 212 / 116;
    min-height: 0;
    padding: 5px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    background: transparent;
}
#common-home .grid-catalog.grid-catalog--brand .grid-catalog__item__img:before {
    display: none;
}
#common-home .grid-catalog.grid-catalog--brand .grid-catalog__item__img img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    image-rendering: auto;
    -webkit-transition: transform .2s ease;
    transition: transform .2s ease;
}
/* Brand row is logo-only: no black title footer. */ #common-home .grid-catalog.grid-catalog--brand .grid-catalog__item__title {
    display: none;
}
#common-home .grid-catalog.grid-catalog--brand .grid-catalog__item a:hover {
    background: #fff;
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}
#common-home .grid-catalog.grid-catalog--brand .grid-catalog__item a:hover .grid-catalog__item__img img {
    -webkit-transform: scale(1.025);
    transform: scale(1.025);
}
@media (max-width: 991px) {
    #common-home .grid-catalog.grid-catalog--category {
        margin-top: 3.3333333333rem;
    }
    #common-home .grid-catalog.grid-catalog--category .grid-catalog__cell,     #common-home .grid-catalog.grid-catalog--brand .grid-catalog__cell {
        -ms-flex-preferred-size: calc(25% - 6px);
        flex-basis: calc(25% - 6px);
        width: calc(25% - 6px);
        max-width: calc(25% - 6px);
    }
}
@media (max-width: 767px) {
    #common-home .grid-catalog.grid-catalog--category .row,     #common-home .grid-catalog.grid-catalog--brand .row {
        gap: 6px;
    }
    #common-home .grid-catalog.grid-catalog--category .grid-catalog__cell,     #common-home .grid-catalog.grid-catalog--brand .grid-catalog__cell {
        -ms-flex-preferred-size: calc(50% - 3px);
        flex-basis: calc(50% - 3px);
        width: calc(50% - 3px);
        max-width: calc(50% - 3px);
    }
    #common-home .grid-catalog.grid-catalog--category .grid-catalog__item__title {
        min-height: 52px;
        padding: 8px 5px;
    }
    #common-home .grid-catalog.grid-catalog--brand .row {
        padding: 6px;
    }
}
/* Product quote form for products without a price */ .theme-quote {
    margin:15px 0 22px;
    max-width:500px
}
.theme-quote__trigger {
    display:inline-block;
    list-style:none;
    cursor:pointer;
    padding:11px 20px;
    border-radius:6px
}
.theme-quote__trigger::-webkit-details-marker {
    display:none
}
.theme-quote__form {
    margin-top:12px;
    padding:18px;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.06)
}
.theme-quote__form h4 {
    margin:0 0 14px;
    font-size:18px;
    font-weight:700
}
.theme-quote__form label {
    display:block;
    font-size:14px;
    font-weight:600;
    margin:0 0 12px;
    color:#374151
}
.theme-quote__form label span {
    color:#e53935
}
.theme-quote__form .form-control {
    width:100%;
    height:39px;
    margin-top:5px;
    border-radius:5px;
    font-weight:400
}
.theme-quote__form textarea.form-control {
    height:auto;
    resize:vertical
}
.theme-quote__form input[readonly] {
    background:#f5f6f8;
    color:#555
}
.theme-quote__two {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px
}
.theme-quote__send {
    width:100%;
    padding:10px
}
.theme-quote__notice,.theme-quote__error {
    padding:11px 13px;
    border-radius:6px;
    font-size:14px
}
.theme-quote__notice {
    background:#ecfdf5;
    color:#166534
}
.theme-quote__error {
    background:#fef2f2;
    color:#991b1b
}
.theme-quote__honeypot {
    position:absolute!important;
    left:-9999px!important;
    height:1px;
    overflow:hidden
}
@media(max-width:480px) {
    .theme-quote__two {
        grid-template-columns:1fr
    }
    .theme-quote__form {
        padding:14px
    }
}
/* v1.5.0: Sản phẩm chưa có giá - số điện thoại rõ ràng, form hiển thị sẵn */ .product-detail-info__price .theme-quote__contact-line {
    display:block;
    width:100%;
    text-align:center;
    color:#fff!important;
    font-size:18px;
    font-weight:700;
    line-height:1.5
}
.product-detail-info__price .theme-quote__contact-line a,.product-detail-info__price .theme-quote__contact-line a:visited {
    color:#fff!important;
    text-decoration:none!important;
    font-weight:700
}
.product-detail-info__price .theme-quote__contact-line a:hover,.product-detail-info__price .theme-quote__contact-line a:focus {
    color:#fff!important;
    text-decoration:underline!important
}
.product-detail-info__price:has(.theme-quote__contact-line) table,.product-detail-info__price:has(.theme-quote__contact-line) .new-price {
    width:100%;
    text-align:center
}
.theme-quote {
    margin-top:12px
}
.theme-quote__form {
    margin-top:0
}
/* v1.5.4: Card sản phẩm vuông, border vuông như mẫu */ .products.row, .product-carousel.row {
    display:flex;
    flex-wrap:wrap
}
.products.row:before,.products.row:after,.product-carousel.row:before,.product-carousel.row:after {
    display:none
}
.products.row>.product-layout,.product-carousel.row>.product-layout {
    display:flex;
    float:none
}
.product-layout.product-grid {
    margin-bottom:0
}
.product-layout.product-grid .product-thumb {
    display:flex;
    flex-direction:column;
    height:100%;
    background:#fff;
    border:1px solid #d9d9d9;
    border-radius:0;
    overflow:hidden;
    box-shadow:none;
    transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease
}
.product-layout.product-grid .product-thumb:hover {
    transform:none;
    border-color:#f08a24;
    box-shadow:0 0 0 1px rgba(240,138,36,.08)
}
.product-layout.product-grid .product-thumb .image {
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    aspect-ratio:1/1;
    min-height:210px;
    padding:18px 16px 10px;
    overflow:hidden;
    background:#fff
}
.product-layout.product-grid .product-thumb .image>a {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%
}
.product-layout.product-grid .product-thumb .image img {
    display:block;
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
    object-position:center;
    transition:transform .22s ease
}
.product-layout.product-grid .product-thumb:hover .image img {
    transform:scale(1.02)
}
.product-layout.product-grid .product-thumb__content {
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    min-height:0
}
.product-layout.product-grid .product-thumb .caption {
    display:flex;
    flex-direction:column;
    flex:1 1 auto;
    min-height:0!important;
    padding:14px 14px 10px
}
.product-layout.product-grid .product-thumb .caption h4 {
    margin:0 0 10px;
    min-height:48px;
    line-height:1.45;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical
}
.product-layout.product-grid .product-thumb .caption h4 a {
    color:#333;
    transition:color .2s ease
}
.product-layout.product-grid .product-thumb:hover .caption h4 a {
    color:#f05a28
}
.product-layout.product-grid .product-thumb .caption .description {
    margin-bottom:10px;
    line-height:1.45;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical
}
.product-layout.product-grid .product-thumb .caption .price {
    margin-top:auto;
    margin-bottom:0;
    min-height:54px
}
.product-layout.product-grid .product-thumb .caption .price .price-old,.product-layout.product-grid .product-thumb .caption .price .price-new {
    display:inline-block
}
.product-layout.product-grid .product-thumb .caption .cash-back-label {
    margin-top:8px
}
.product-layout.product-grid .product-thumb .caption .product-thumb__contact {
    min-height:0
}
.product-layout.product-grid .product-thumb .button-group {
    margin-top:auto;
    border-top:1px solid #ececec;
    background:#fff
}
.product-layout.product-grid .product-thumb .button-group a {
    display:block;
    width:100%;
    padding:11px 15px;
    text-align:center;
    font-weight:700;
    color:#444;
    text-transform:uppercase;
    transition:background .2s ease,color .2s ease
}
.product-layout.product-grid .product-thumb .button-group a:hover {
    color:#f05a28;
    background:#fff7ef;
    text-decoration:none
}
.product-layout.product-grid .product-thumb .button-group:empty {
    display:none
}
.product-carousel.row>.product-layout,.products.row>.product-layout {
    margin-bottom:-1px;
    margin-right:-1px
}
@media (max-width:1199px) {
    .product-layout.product-grid .product-thumb .image {
        min-height:190px
    }
    .product-layout.product-grid .product-thumb .caption .price {
        min-height:48px
    }
}
@media (max-width:767px) {
    .products.row,.product-carousel.row {
        display:block
    }
    .products.row>.product-layout,.product-carousel.row>.product-layout {
        display:block;
        float:left;
        margin-right:0;
        margin-bottom:-1px
    }
    .product-layout.product-grid .product-thumb {
        border-radius:0;
        box-shadow:none
    }
    .product-layout.product-grid .product-thumb .image {
        min-height:160px;
        padding:14px 12px 8px
    }
    .product-layout.product-grid .product-thumb .caption {
        padding:12px 12px 10px
    }
    .product-layout.product-grid .product-thumb .caption h4 {
        min-height:40px;
        font-size:14px
    }
    .product-layout.product-grid .product-thumb .caption .price {
        min-height:0
    }
}
/* Header AJAX product suggestions */ #search {
    position:relative
}
.theme-search-suggest {
    position:absolute;
    top:calc(100% + 5px);
    left:0;
    right:0;
    z-index:1000;
    background:#fff;
    border:1px solid #e1e1e1;
    box-shadow:0 8px 25px rgba(0,0,0,.13);
    max-height:420px;
    overflow:auto;
    border-radius:5px
}
.theme-search-suggest[hidden] {
    display:none!important
}
.theme-search-suggest__item {
    display:flex;
    align-items:center;
    gap:12px;
    padding:9px 12px;
    text-decoration:none!important;
    border-bottom:1px solid #f0f0f0;
    color:#333
}
.theme-search-suggest__item:last-child {
    border-bottom:0
}
.theme-search-suggest__item:hover,.theme-search-suggest__item:focus {
    background:#fff9e9
}
.theme-search-suggest__item img {
    width:56px;
    height:56px;
    object-fit:contain;
    flex-shrink:0
}
.theme-search-suggest__info {
    display:flex;
    min-width:0;
    flex:1;
    flex-direction:column;
    gap:2px
}
.theme-search-suggest__name {
    color:#222;
    line-height:1.3
}
.theme-search-suggest__sku {
    color:#777
}
.theme-search-suggest__price {
    color:#c92121
}
@media(max-width:767px) {
    .theme-search-suggest {
        max-height:65vh
    }
}
/* WooCommerce checkout / cart / account */ .theme-commerce {
    padding:24px 0 55px
}
.theme-commerce .woocommerce {
    margin:20px 0
}
.theme-commerce .woocommerce table.shop_table {
    border-radius:0;
    background:#fff
}
.theme-commerce .woocommerce input.input-text,.theme-commerce .woocommerce select,.theme-commerce .woocommerce textarea {
    padding:10px;
    border:1px solid #ddd;
    border-radius:4px
}
.theme-commerce .woocommerce button.button,.theme-commerce .woocommerce a.button,.theme-commerce .woocommerce button.button.alt {
    background:#d4a30f;
    color:#fff;
    border-radius:4px
}
.theme-commerce .woocommerce button.button:hover,.theme-commerce .woocommerce a.button:hover {
    background:#b98b06;
    color:#fff
}
.theme-commerce .woocommerce-message {
    border-top-color:#d4a30f
}
/* v1.6.1: WooCommerce account dashboard */ .theme-commerce .woocommerce-MyAccount-navigation {
    width:24%;
    padding:14px;
    background:#fff;
    border:1px solid #e9e9e9
}
.theme-commerce .woocommerce-MyAccount-navigation ul {
    margin:0;
    padding:0;
    list-style:none
}
.theme-commerce .woocommerce-MyAccount-navigation li {
    margin:0;
    border-bottom:1px solid #f1f1f1
}
.theme-commerce .woocommerce-MyAccount-navigation li:last-child {
    border-bottom:0
}
.theme-commerce .woocommerce-MyAccount-navigation a {
    display:block;
    padding:13px 12px;
    color:#374151;
    font-weight:600;
    text-decoration:none
}
.theme-commerce .woocommerce-MyAccount-navigation li.is-active a,.theme-commerce .woocommerce-MyAccount-navigation a:hover {
    background:#fff7e0;
    color:#a47700
}
.theme-commerce .woocommerce-MyAccount-content {
    width:73%
}
.tt-account-welcome {
    padding:18px 22px;
    background:#fff;
    border:1px solid #ededed;
    margin-bottom:16px
}
.tt-account-welcome h2 {
    font-size:18px;
    margin:0 0 8px
}
.tt-account-welcome p {
    color:#6b7280;
    margin:0
}
.tt-account-stats {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-bottom:22px
}
.tt-account-stats a {
    display:flex;
    flex-direction:column;
    padding:20px;
    background:#fff;
    border:1px solid #e9e9e9;
    text-decoration:none;
    gap:7px;
    transition:border-color .2s ease,box-shadow .2s ease
}
.tt-account-stats a:hover {
    border-color:#d4a30f;
    box-shadow:0 4px 16px rgba(0,0,0,.06)
}
.tt-account-stats strong {
    font-size:18px;
    color:#be8c00
}
.tt-account-stats span {
    font-size:14px;
    color:#515b69
}
.tt-account-recent {
    background:#fff;
    border:1px solid #e9e9e9
}
.tt-account-recent__heading {
    padding:16px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    border-bottom:1px solid #eee
}
.tt-account-recent__heading h3 {
    font-size:18px;
    margin:0
}
.tt-account-recent__heading a {
    color:#a47700;
    font-weight:600
}
.tt-account-table-wrap {
    overflow-x:auto
}
.tt-account-table {
    width:100%;
    border-collapse:collapse;
    min-width:600px
}
.tt-account-table th,.tt-account-table td {
    padding:14px 12px;
    text-align:left;
    border-bottom:1px solid #f1f1f1;
    vertical-align:middle
}
.tt-account-table th {
    color:#667085;
    font-size:12px;
    font-weight:600;
    background:#fafafa
}
.tt-account-table tr:last-child td {
    border-bottom:0
}
.tt-account-actions {
    display:flex;
    gap:8px;
    flex-wrap:wrap
}
.tt-account-actions a {
    padding:6px 10px;
    border:1px solid #e2e2e2;
    color:#7f5f00;
    text-decoration:none;
    white-space:nowrap
}
.tt-account-actions a:hover {
    border-color:#d4a30f;
    background:#fff8e7
}
.tt-order-status {
    display:inline-block;
    padding:5px 9px;
    background:#f3f4f6;
    color:#374151;
    font-size:12px;
    font-weight:600;
    white-space:nowrap
}
.tt-order-status--completed {
    background:#eaf8ef;
    color:#23753d
}
.tt-order-status--processing {
    background:#e7f2ff;
    color:#2467a2
}
.tt-order-status--on-hold,.tt-order-status--pending {
    background:#fff5dc;
    color:#a56d00
}
.tt-order-status--cancelled,.tt-order-status--failed {
    background:#ffeded;
    color:#b42318
}
.tt-account-empty {
    padding:24px 18px;
    color:#667085
}
@media(max-width:767px) {
    .theme-commerce .woocommerce-MyAccount-navigation,.theme-commerce .woocommerce-MyAccount-content {
        float:none;
        width:100%
    }
    .theme-commerce .woocommerce-MyAccount-navigation {
        margin-bottom:16px
    }
    .tt-account-stats {
        gap:7px
    }
    .tt-account-stats a {
        padding:13px 10px
    }
    .tt-account-stats strong {
        font-size:18px
    }
    .tt-account-stats span {
        font-size:12px}
    .tt-account-welcome {
        padding:16px
    }
}
/* v1.6.2: Tra cứu đơn hàng */ .theme-order-lookup .container {
    max-width:960px
}
.theme-order-lookup__form {
    max-width:480px;
    margin:20px 0;
    padding:24px;
    border:1px solid #e4e7eb;
    background:#fff
}
.theme-order-lookup__form label {
    font-weight:600
}
.theme-order-lookup__form .btn {
    width:100%;
    padding:12px
}
.theme-order-lookup__result {
    margin:24px 0;
    padding:24px;
    border:1px solid #e4e7eb;
    background:#fff
}
.theme-order-lookup__result h2 {
    margin-top:0
}
.theme-order-lookup__status {
    font-weight:700;
    color:#996e00
}
.theme-order-lookup__account-link {
    margin-top:18px
}
@media(max-width:600px) {
    .theme-order-lookup__form,.theme-order-lookup__result {
        padding:15px
    }
}
/* v1.6.5 - Ajax add to cart buttons */ .product-detail-info__action #button-cart, .theme-variable-purchase .single_add_to_cart_button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    width:100%;
    min-height:48px;
    padding:11px 14px;
    border:1px solid #bc8d04;
    border-radius:8px;
    background:linear-gradient(135deg,#e4b51b,#d4a30f);
    color:#fff;
    font-size:14px;
    font-weight:700;
    line-height:1.4;
    text-shadow:none;
    box-shadow:0 4px 12px rgba(212,163,15,.19);
    transition:background .2s,transform .2s,box-shadow .2s
}
.product-detail-info__action #button-cart:hover, .theme-variable-purchase .single_add_to_cart_button:hover {
    background:linear-gradient(135deg,#d4a30f,#bc8d04);
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 7px 18px rgba(212,163,15,.28)
}
.product-detail-info__action #button-cart:focus-visible, .theme-variable-purchase .single_add_to_cart_button:focus-visible {
    outline:3px solid rgba(212,163,15,.3);
    outline-offset:2px
}
.product-detail-info__action #button-cart:disabled, .theme-variable-purchase .single_add_to_cart_button:disabled {
    opacity:.65;
    cursor:wait;
    transform:none
}
.tt-cart-notice {
    margin:12px 0 0;
    padding:12px 15px;
    border-radius:8px;
    font-size:14px;
    line-height:1.5;
    clear:both
}
.tt-cart-notice[hidden] {
    display:none!important
}
@media(max-width:767px) {
    .product-detail-info__action #button-cart,.theme-variable-purchase .single_add_to_cart_button {
        min-height:48px;
        font-size:14px
    }
}
/* v1.6.6 - Product action buttons: fix layout, colors, and header cart text companion styles */ .product-detail-info__action .button-group {
    display:flex;
    flex-wrap:wrap;
    align-items:flex-end;
    margin-left:-6px;
    margin-right:-6px
}
.product-detail-info__action .button-group>[class*="col-"] {
    padding-left:6px;
    padding-right:6px
}
.product-detail-info__action__quantity {
    display:flex;
    flex-direction:column
}
.product-detail-info__action__quantity .control-label {
    font-weight:700;
    color:#444;
    margin-bottom:6px
}
.product-detail-info__action__quantity .form-control {
    height:48px;
    border:1px solid #ddd6c5;
    border-radius:10px;
    box-shadow:none
}
.product-detail-info__action #button-buy,.product-detail-info__action #button-cart {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    width:100%;
    min-height:48px;
    padding:11px 16px;
    border-radius:10px;
    font-size:16px;
    font-weight:700;
    line-height:1.35;
    border-width:1px;
    border-style:solid;
    text-shadow:none;
    box-shadow:0 8px 18px rgba(0,0,0,.08);
    transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease
}
.product-detail-info__action #button-cart {
    background:#2f80ed!important;
    border-color:#2f80ed!important;
    color:#fff!important;
    box-shadow:0 8px 18px rgba(47,128,237,.23)
}
.product-detail-info__action #button-cart:hover,.product-detail-info__action #button-cart:focus {
    background:#1d6fda!important;
    border-color:#1d6fda!important;
    color:#fff!important;
    transform:translateY(-1px);
    box-shadow:0 10px 22px rgba(47,128,237,.28)
}
.product-detail-info__action #button-buy {
    background:#d4a30f!important;
    border-color:#d4a30f!important;
    color:#fff!important;
    box-shadow:0 8px 18px rgba(212,163,15,.23)
}
.product-detail-info__action #button-buy:hover,.product-detail-info__action #button-buy:focus {
    background:#bd8e08!important;
    border-color:#bd8e08!important;
    color:#fff!important;
    transform:translateY(-1px);
    box-shadow:0 10px 22px rgba(212,163,15,.28)
}
.product-detail-info__action #button-cart:disabled,.product-detail-info__action #button-buy:disabled {
    opacity:.72;
    cursor:wait;
    transform:none;
    box-shadow:none
}
.product-detail-info__action .tt-cart-notice {
    margin-top:14px
}
@media (max-width:767px) {
    .product-detail-info__action .button-group {
        display:block
    }
    .product-detail-info__action__quantity {
        margin-bottom:10px
    }
    .product-detail-info__action #button-cart,.product-detail-info__action #button-buy {
        min-height:50px;
        font-size:16px
    }
}
/* v1.6.7: Responsive purchase actions and accessible AJAX toast */ @media(max-width:767px) {
    .product-detail-info__action .button-group {
        display:grid!important;
        grid-template-columns:minmax(0,1fr) minmax(0,1fr);
        gap:10px;
        margin:0!important
    }
    .product-detail-info__action .button-group>[class*="col-"] {
        float:none;
        width:auto;
        min-width:0;
        margin:0;
        padding:0!important
    }
    .product-detail-info__action .button-group>.product-detail-info__action__quantity {
        grid-column:1/-1;
        margin:0 0 4px
    }
    .product-detail-info__action__quantity .form-control {
        max-width:120px
    }
    .product-detail-info__action #button-buy,.product-detail-info__action #button-cart {
        min-height:52px;
        padding:10px 8px;
        font-size:14px;
        white-space:normal;
        line-height:1.25;
        box-shadow:0 4px 12px rgba(0,0,0,.10)
    }
    .product-detail-info__action #button-buy i,.product-detail-info__action #button-cart i {
        font-size:16px
    }
}
@media(max-width:360px) {
    .product-detail-info__action .button-group {
        gap:7px
    }
    .product-detail-info__action #button-buy,.product-detail-info__action #button-cart {
        font-size:14px;
        padding:9px 5px
    }
}
.tt-cart-toast {
    position:fixed;
    right:22px;
    top:22px;
    z-index:999999;
    display:flex;
    align-items:center;
    gap:12px;
    max-width:min(420px,calc(100vw - 28px));
    min-width:260px;
    padding:14px 15px;
    background:#fff;
    color:#202d26;
    border:1px solid #cde8d6;
    border-left:4px solid #20a05b;
    border-radius:12px;
    box-shadow:0 14px 38px rgba(0,0,0,.16);
    opacity:0;
    visibility:hidden;
    transform:translateY(-12px);
    transition:opacity .22s ease,transform .22s ease,visibility .22s ease;
    font-size:14px;
    line-height:1.5;
    pointer-events:none
}
.tt-cart-toast.is-visible {
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto
}
.tt-cart-toast--error {
    border-color:#f0cccc;
    border-left-color:#d9534f;
    color:#83302c
}
.tt-cart-toast__icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 26px;
    width:26px;
    height:26px;
    border-radius:50%;
    background:#e6f7ed;
    color:#178149;
    font-weight:700;
    font-size:18px
}
.tt-cart-toast--error .tt-cart-toast__icon {
    background:#fff0ef;
    color:#c43a32
}
.tt-cart-toast__message {
    min-width:0;
    flex:1;
    font-weight:600;
    overflow-wrap:anywhere
}
.tt-cart-toast__close {
    flex:0 0 28px;
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:0;
    border-radius:6px;
    background:transparent;
    color:#777;
    font-size:18px;
    line-height:1;
    cursor:pointer
}
.tt-cart-toast__close:hover,.tt-cart-toast__close:focus-visible {
    background:#f0f0f0;
    color:#222
}
@media(max-width:767px) {
    .tt-cart-toast {
        top:auto;
        bottom:20px;
        left:14px;
        right:14px;
        max-width:none;
        min-width:0;
        padding:12px 13px
    }
}
@media(prefers-reduced-motion:reduce) {
    .tt-cart-toast {
        transition:none
    }
}
/* v1.6.8 - Product item price/cashback styling */ .product-layout.product-grid .product-thumb .caption .price {
    position:relative;
    display:block;
    padding-right:72px;
    min-height:64px;
    line-height:1.25;
}
.product-layout.product-grid .product-thumb .caption .price .tag.sale {
    position:absolute;
    right:0;
    top:50%;
    transform:translateY(-50%);
    min-width:56px;
    height:36px;
    padding:0 10px;
    border-radius:18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:14px;
}
.product-layout.product-grid .product-thumb .caption .price .price-old, .product-layout.product-grid .product-thumb .caption .price .price-new {
    display:block;
    width:100%;
}
.product-layout.product-grid .product-thumb .caption .price .price-old {
    margin-bottom:4px;
    line-height:1.2;
}
.product-layout.product-grid .product-thumb .caption .price .price-new {
    line-height:1.2;
}
.product-layout.product-grid .product-thumb .caption .cash-back-label {
    margin-top:8px;
    display:inline-flex;
    align-items:center;
    width:auto;
    max-width:100%;
    background:linear-gradient(180deg,#d60f0f 0%,#b40000 100%);
    border-radius:4px;
    padding:2px 8px 2px 6px;
    box-shadow:none;
}
.product-layout.product-grid .product-thumb .caption .cash-back-label__text {
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#fff;
    font-size:12px;
    line-height:1.2;
    font-weight:700;
    white-space:nowrap;
}
.product-layout.product-grid .product-thumb .caption .cash-back-label__text:before {
    content:'$';
    flex:0 0 18px;
    width:18px;
    height:18px;
    border-radius:4px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#ffd93b;
    color:#b40000;
    font-weight:700;
    font-size:14px;
    line-height:1;
}
.product-layout.product-grid .product-thumb .caption p i {
    display:block;
    margin-top:6px;
    line-height:1.35;
}
@media (max-width:767px) {
    .product-layout.product-grid .product-thumb .caption .price {
        padding-right:66px;
        min-height:60px
    }
    .product-layout.product-grid .product-thumb .caption .price .tag.sale {
        min-width:50px;
        height:34px;
        font-size:12px
    }
    .product-layout.product-grid .product-thumb .caption .cash-back-label__text {
        font-size:12px}
}
/* v1.6.9 - Sale badge, responsive price and square hover matching reference */ .products.row > .product-layout.product-grid .product-thumb, .product-carousel.row > .product-layout.product-grid .product-thumb {
    position: relative;
    border: 1px solid #dedede;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.products.row > .product-layout.product-grid .product-thumb:hover, .product-carousel.row > .product-layout.product-grid .product-thumb:hover {
    border-color: #f36b35;
    box-shadow: inset 0 0 0 1px rgba(243,107,53,.12) !important;
    transform: none !important;
}
.product-layout.product-grid .product-thumb .caption .price:not(.product-thumb__contact) {
    display: block;
    position: relative;
    padding-right: 66px;
    min-height: 58px;
    margin-top: auto;
    line-height: 1.3;
}
.product-layout.product-grid .product-thumb .caption .price .price-old, .product-layout.product-grid .product-thumb .caption .price .price-new {
    display: block !important;
    width: 100%;
    margin-left: 0;
    white-space: nowrap;
}
.product-layout.product-grid .product-thumb .caption .price .price-old {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 400;
    color: #777;
}
.product-layout.product-grid .product-thumb .caption .price .price-new {
    font-size: 16px;
    font-weight: 700;
    color: #e11919;
    letter-spacing: -.01em;
}
.product-layout.product-grid .product-thumb .caption .price .tag.sale {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: 54px;
    height: 36px;
    padding: 0 10px;
    margin: 0;
    border: 0;
    border-radius: 999px !important;
    background: #ff9119 !important;
    color: #fff !important;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    box-shadow: none !important;
}
.product-layout.product-grid .product-thumb .caption .cash-back-label {
    align-self: flex-start;
    flex: 0 0 auto;
    width: max-content !important;
    max-width: 100%;
    margin-top: 7px;
}
@media (max-width: 767px) {
    .product-layout.product-grid .product-thumb .caption .price:not(.product-thumb__contact) {
        padding-right: 52px;
        min-height: 53px;
    }
    .product-layout.product-grid .product-thumb .caption .price .price-old {
        font-size: 12px;
    }
    .product-layout.product-grid .product-thumb .caption .price .price-new {
        font-size: 14px;
    }
    .product-layout.product-grid .product-thumb .caption .price .tag.sale {
        min-width: 44px;
        height: 30px;
        padding: 0 7px;
        font-size: 12px;
    }
}
@media (max-width: 380px) {
    .product-layout.product-grid .product-thumb .caption .price:not(.product-thumb__contact) {
        padding-right: 45px;
    }
    .product-layout.product-grid .product-thumb .caption .price .price-new {
        font-size: 14px;
    }
    .product-layout.product-grid .product-thumb .caption .price .tag.sale {
        min-width: 40px;
        height: 28px;
        font-size: 12px;
    }
}
@media (hover: none) {
    .products.row > .product-layout.product-grid .product-thumb:hover,   .product-carousel.row > .product-layout.product-grid .product-thumb:hover {
        border-color: #dedede;
        box-shadow: none !important;
    }
}
/* v1.6.10 - Refine cashback label spacing to match sample */ .product-layout.product-grid .product-thumb .caption .price {
    margin-top:auto;
    margin-bottom:0;
    padding-right:74px;
    min-height:66px;
}
.product-layout.product-grid .product-thumb .caption .price .price-old {
    display:block;
    width:100%;
    margin:0 0 5px;
    font-size:14px;
    line-height:1.15;
}
.product-layout.product-grid .product-thumb .caption .price .price-new {
    display:block;
    width:100%;
    margin:0;
    font-size:16px;
    line-height:1.2;
}
.product-layout.product-grid .product-thumb .caption .cash-back-label {
    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    width:auto;
    max-width:100%;
    margin:9px 0 0;
    padding:3px 8px 3px 6px;
    border-radius:4px;
    background:#b90000;
    background:linear-gradient(180deg,#d10d0d 0%,#b30000 100%);
    vertical-align:top;
    box-shadow:none;
}
.product-layout.product-grid .product-thumb .caption .cash-back-label__text {
    display:inline-flex;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    margin:0;
    color:#fff;
    font-size:12px;
    line-height:1;
    font-weight:700;
    white-space:nowrap;
}
.product-layout.product-grid .product-thumb .caption .cash-back-label__text:before {
    content:'$';
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:19px;
    height:19px;
    flex:0 0 19px;
    margin:0;
    border-radius:4px;
    background:#ffd028;
    color:#af0000;
    font-size:14px;
    font-weight:700;
    line-height:1;
}
.product-layout.product-grid .product-thumb .caption > p:last-of-type {
    margin-bottom:0;
}
.product-layout.product-grid .product-thumb .caption p i {
    display:block;
    margin-top:7px;
    line-height:1.35;
}
@media (max-width:767px) {
    .product-layout.product-grid .product-thumb .caption .price {
        padding-right:68px;
        min-height:62px
    }
    .product-layout.product-grid .product-thumb .caption .price .price-old {
        font-size:12px;
        margin-bottom:4px
    }
    .product-layout.product-grid .product-thumb .caption .price .price-new {
        font-size:14px
    }
    .product-layout.product-grid .product-thumb .caption .cash-back-label {
        margin-top:8px;
        padding:3px 7px 3px 5px
    }
    .product-layout.product-grid .product-thumb .caption .cash-back-label__text {
        font-size:12px;
        gap:6px
    }
    .product-layout.product-grid .product-thumb .caption .cash-back-label__text:before {
        width:17px;
        height:17px;
        flex-basis:17px;
        font-size:12px
    }
}
/* v1.6.11 — Product card rhythm: title / price / discount / cashback */ .products.row > .product-layout.product-grid .product-thumb .caption, .product-carousel.row > .product-layout.product-grid .product-thumb .caption {
    padding: 12px 12px 13px;
}
.product-layout.product-grid .product-thumb .caption h4 {
    margin: 0 0 12px;
    min-height: 42px;
    line-height: 21px;
    max-height: 42px;
    -webkit-line-clamp: 2;
}
.product-layout.product-grid .product-thumb .caption .price:not(.product-thumb__contact) {
    box-sizing: border-box;
    width: 100%;
    min-height: 58px;
    padding-right: 66px;
    margin: auto 0 0;
    position: relative;
    line-height: 1.25;
}
.product-layout.product-grid .product-thumb .caption .price .price-old {
    display: block;
    margin: 0 0 5px;
    font-size: 12px;
    line-height: 17px;
}
.product-layout.product-grid .product-thumb .caption .price .price-new {
    display: block;
    margin: 0;
    font-size: 16px;
    line-height: 19px;
}
.product-layout.product-grid .product-thumb .caption .price .tag.sale {
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    min-width: 54px;
    height: 36px;
    padding: 0 10px;
}
.product-layout.product-grid .product-thumb .caption .cash-back-label {
    box-sizing: border-box;
    display: inline-flex !important;
    align-self: flex-start;
    flex: 0 0 auto;
    width: fit-content !important;
    max-width: 100%;
    margin: 7px 0 0 !important;
    padding: 3px 9px 3px 5px !important;
    border-radius: 4px;
    min-height: 25px;
}
.product-layout.product-grid .product-thumb .caption .cash-back-label__text {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    line-height: 18px;
    font-size: 12px;
    font-weight: 700;
    white-space: normal;
}
.product-layout.product-grid .product-thumb .caption .cash-back-label__text:before {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
}
.product-layout.product-grid .product-thumb .caption .cash-back-label + p {
    margin: 5px 0 0;
}
.product-layout.product-grid .product-thumb .caption .cash-back-label + p i {
    margin: 0;
}
@media (max-width: 767px) {
    .products.row > .product-layout.product-grid .product-thumb .caption,   .product-carousel.row > .product-layout.product-grid .product-thumb .caption {
        padding: 10px 9px 11px;
    }
    .product-layout.product-grid .product-thumb .caption h4 {
        margin-bottom: 9px;
        min-height: 40px;
        max-height: 40px;
        line-height: 20px;
    }
    .product-layout.product-grid .product-thumb .caption .price:not(.product-thumb__contact) {
        min-height: 54px;
        padding-right: 53px;
    }
    .product-layout.product-grid .product-thumb .caption .price .price-old {
        font-size: 12px;
        margin-bottom: 3px;
        line-height: 16px;
    }
    .product-layout.product-grid .product-thumb .caption .price .price-new {
        font-size: 14px;
        line-height: 18px;
    }
    .product-layout.product-grid .product-thumb .caption .price .tag.sale {
        min-width: 45px;
        height: 31px;
        padding: 0 7px;
        font-size: 12px;
    }
    .product-layout.product-grid .product-thumb .caption .cash-back-label {
        min-height: 23px;
        padding: 3px 6px 3px 4px !important;
        margin-top: 6px !important;
    }
    .product-layout.product-grid .product-thumb .caption .cash-back-label__text {
        gap: 5px;
        font-size: 12px;
        line-height: 15px;
    }
    .product-layout.product-grid .product-thumb .caption .cash-back-label__text:before {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
        font-size: 12px;
    }
}
/* v1.6.12: Header cart icon matching reference, including hover */ .header__cart .header__cart__button {
    align-items:center;
    min-width:0
}
.header__cart .header__cart__icon, .header__cart:hover .header__cart__icon, .header__cart .header__cart__button:hover .header__cart__icon, .header__cart .header__cart__button:focus .header__cart__icon {
    display:flex!important;
    align-items:center;
    justify-content:center;
    flex:0 0 38px;
    width:38px;
    height:38px;
    line-height:1;
    margin-right:10px;
    border-radius:4px;
    background:#f4511e!important;
    color:#fff!important;
    box-shadow:none!important;
    transform:none!important;
    transition:background-color .18s ease;
}
.header__cart .header__cart__icon .fa, .header__cart:hover .header__cart__icon .fa, .header__cart .header__cart__button:hover .header__cart__icon .fa, .header__cart .header__cart__button:focus .header__cart__icon .fa {
    display:block;
    color:#fff!important;
    font-size:18px;
    line-height:1;
    opacity:1!important;
    transform:none!important;
}
.header__cart .header__cart__button:hover .header__cart__icon, .header__cart .header__cart__button:focus .header__cart__icon {
    background:#df4317!important
}
.header__cart .header__cart__content {
    min-width:0
}
.header__cart .header__cart__content p {
    overflow-wrap:normal;
    white-space:normal;
    line-height:1.35
}
.header__cart .header__cart__icon span {
    top:-7px;
    right:-7px;
    background:#d4a30f;
    color:#fff!important
}
/* v1.6.13: Cart icon follows Account icon state (gray -> theme gold on hover). */ .header__cart .header__cart__icon, .header__cart .header__cart__button .header__cart__icon {
    background:#eee!important;
    color:#333!important;
}
.header__cart .header__cart__icon .fa, .header__cart .header__cart__button .header__cart__icon .fa {
    color:#333!important;
}
.header__cart:hover .header__cart__icon, .header__cart .header__cart__button:hover .header__cart__icon, .header__cart .header__cart__button:focus-visible .header__cart__icon {
    background:var(--theme-primary,#d4a30f)!important;
    color:#fff!important;
}
.header__cart:hover .header__cart__icon .fa, .header__cart .header__cart__button:hover .header__cart__icon .fa, .header__cart .header__cart__button:focus-visible .header__cart__icon .fa {
    color:#fff!important;
}
/* v1.6.15 - Product purchase bar: one aligned row, gold cart and neutral buy now. */ .product-detail-info form.product-detail-info__action {
    margin:20px 0 16px!important
}
.product-detail-info form.product-detail-info__action .button-group.row {
    display:grid!important;
    grid-template-columns:minmax(116px,0.72fr) minmax(0,1.12fr) minmax(0,1.12fr);
    gap:12px;
    align-items:center;
    margin:0!important;
    float:none!important;
}
.product-detail-info form.product-detail-info__action .button-group.row:before, .product-detail-info form.product-detail-info__action .button-group.row:after {
    display:none!important
}
.product-detail-info form.product-detail-info__action .button-group.row>[class*="col-"] {
    float:none!important;
    width:auto!important;
    min-width:0;
    padding:0!important;
    margin:0!important;
}
.product-detail-info form.product-detail-info__action .product-detail-info__action__quantity {
    display:flex!important;
    flex-direction:row!important;
    align-items:center;
    gap:9px;
    min-width:0;
}
.product-detail-info form.product-detail-info__action .product-detail-info__action__quantity label {
    flex:0 0 auto;
    display:inline-block;
    margin:0!important;
    padding:0!important;
    font-size:14px;
    font-weight:600;
    line-height:1.3;
    white-space:nowrap;
}
.product-detail-info form.product-detail-info__action #input-quantity {
    flex:1 1 auto;
    min-width:0;
    width:100%!important;
    max-width:100px;
    height:48px;
    margin:0!important;
    text-align:center;
    border-radius:7px;
}
.product-detail-info form.product-detail-info__action #button-cart, .product-detail-info form.product-detail-info__action #button-buy {
    width:100%!important;
    min-width:0;
    min-height:48px;
    height:48px;
    display:flex!important;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin:0!important;
    border-radius:8px;
    font-size:14px;
    font-weight:700;
    text-transform:none;
    white-space:nowrap;
    box-shadow:0 4px 12px rgba(0,0,0,.10);
    transition:background .2s,box-shadow .2s,transform .2s;
}
.product-detail-info form.product-detail-info__action #button-cart {
    background:#d4a30f!important;
    background-image:none!important;
    border:1px solid #d4a30f!important;
    color:#fff!important;
    box-shadow:0 4px 12px rgba(212,163,15,.22)!important;
}
.product-detail-info form.product-detail-info__action #button-cart:hover, .product-detail-info form.product-detail-info__action #button-cart:focus {
    background:#bc8f0b!important;
    border-color:#bc8f0b!important;
    color:#fff!important;
    box-shadow:0 6px 15px rgba(212,163,15,.27)!important;
    transform:translateY(-1px);
}
.product-detail-info form.product-detail-info__action #button-buy {
    background:#6b7280!important;
    background-image:none!important;
    border:1px solid #6b7280!important;
    color:#fff!important;
    box-shadow:0 4px 12px rgba(107,114,128,.17)!important;
}
.product-detail-info form.product-detail-info__action #button-buy:hover, .product-detail-info form.product-detail-info__action #button-buy:focus {
    background:#4b5563!important;
    border-color:#4b5563!important;
    color:#fff!important;
    box-shadow:0 6px 15px rgba(107,114,128,.22)!important;
    transform:translateY(-1px);
}
@media(max-width:767px) {
    .product-detail-info form.product-detail-info__action .button-group.row {
        grid-template-columns:minmax(96px,.75fr) minmax(0,1fr) minmax(0,1fr);
        gap:7px;
    }
    .product-detail-info form.product-detail-info__action .product-detail-info__action__quantity {
        gap:5px;
        margin:0!important
    }
    .product-detail-info form.product-detail-info__action .product-detail-info__action__quantity label {
        font-size:12px}
    .product-detail-info form.product-detail-info__action #input-quantity {
        height:46px;
        max-width:60px;
        padding:4px
    }
    .product-detail-info form.product-detail-info__action #button-cart,   .product-detail-info form.product-detail-info__action #button-buy {
        min-height:46px;
        height:46px;
        padding:6px;
        font-size:12px;
        gap:4px;
    }
}
@media(max-width:375px) {
    .product-detail-info form.product-detail-info__action .button-group.row {
        gap:5px;
        grid-template-columns:minmax(86px,.8fr) minmax(0,1fr) minmax(0,1fr)
    }
    .product-detail-info form.product-detail-info__action #button-cart,   .product-detail-info form.product-detail-info__action #button-buy {
        font-size:12px;
        padding:4px
    }
}
/* v1.6.16 - Compact minus / quantity / plus control */ .product-detail-info form.product-detail-info__action .button-group.row {
    grid-template-columns:minmax(132px,.85fr) minmax(0,1.12fr) minmax(0,1.12fr)
}
.product-detail-info form.product-detail-info__action .product-detail-info__action__quantity {
    display:flex!important;
    align-items:center;
    min-width:0
}
.product-detail-info form.product-detail-info__action .tt-qty-control {
    display:flex;
    width:100%;
    min-width:0;
    height:48px;
    align-items:stretch;
    overflow:hidden;
    border:1px solid #ded5c3;
    border-radius:8px;
    background:#fff
}
.product-detail-info form.product-detail-info__action .tt-qty-control__button {
    flex:0 0 35px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:0;
    background:#f8f7f3;
    color:#373737;
    font-size:14px;
    cursor:pointer;
    transition:background-color .15s,color .15s
}
.product-detail-info form.product-detail-info__action .tt-qty-control__button:hover,.product-detail-info form.product-detail-info__action .tt-qty-control__button:focus-visible {
    background:#f6ebc6;
    color:#9c7600
}
.product-detail-info form.product-detail-info__action .tt-qty-control #input-quantity {
    flex:1 1 0;
    width:0!important;
    min-width:0!important;
    max-width:none!important;
    height:46px!important;
    padding:0 3px!important;
    margin:0!important;
    border:0!important;
    border-left:1px solid #eee8da!important;
    border-right:1px solid #eee8da!important;
    border-radius:0!important;
    box-shadow:none!important;
    appearance:textfield;
    -moz-appearance:textfield;
    text-align:center;
    font-weight:700;
    font-size:16px;
    color:#222;
    background:#fff
}
.product-detail-info form.product-detail-info__action .tt-qty-control #input-quantity::-webkit-inner-spin-button,.product-detail-info form.product-detail-info__action .tt-qty-control #input-quantity::-webkit-outer-spin-button {
    -webkit-appearance:none;
    margin:0
}
@media(max-width:767px) {
    .product-detail-info form.product-detail-info__action .button-group.row {
        grid-template-columns:minmax(110px,.95fr) minmax(0,1fr) minmax(0,1fr);
        gap:7px
    }
    .product-detail-info form.product-detail-info__action .tt-qty-control {
        height:46px
    }
    .product-detail-info form.product-detail-info__action .tt-qty-control__button {
        flex-basis:28px;
        font-size:12px
    }
    .product-detail-info form.product-detail-info__action .tt-qty-control #input-quantity {
        height:44px!important;
        font-size:14px
    }
}
@media(max-width:375px) {
    .product-detail-info form.product-detail-info__action .button-group.row {
        grid-template-columns:minmax(104px,.98fr) minmax(0,1fr) minmax(0,1fr);
        gap:5px
    }
    .product-detail-info form.product-detail-info__action .tt-qty-control__button {
        flex-basis:26px
    }
}
/* v1.6.17 - Mua ngay: nền trắng, viền và chữ vàng chủ đạo */ .product-detail-info form.product-detail-info__action #button-buy, .product-detail-info form.product-detail-info__action #button-buy:visited {
    background:#fff!important;
    background-image:none!important;
    border:1px solid var(--theme-primary,#d4a30f)!important;
    color:var(--theme-primary,#d4a30f)!important;
    box-shadow:none!important;
}
.product-detail-info form.product-detail-info__action #button-buy i {
    color:inherit!important
}
.product-detail-info form.product-detail-info__action #button-buy:hover, .product-detail-info form.product-detail-info__action #button-buy:focus {
    background:#fffaf0!important;
    background-image:none!important;
    border-color:#b78900!important;
    color:#b78900!important;
    box-shadow:0 4px 12px rgba(212,163,15,.14)!important;
}
/* v1.6.18: Gold-outline Buy Now on simple + variable products */ .product-detail-info form.product-detail-info__action #button-buy, .product-detail-info .theme-variable-purchase .tt-variable-buy-now {
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:48px;
    padding:10px 14px;
    border:2px solid var(--theme-primary,#d4a30f)!important;
    border-radius:8px;
    background:#fff!important;
    background-image:none!important;
    color:var(--theme-primary,#d4a30f)!important;
    font-weight:700;
    font-size:14px;
    text-shadow:none!important;
    box-shadow:none!important;
    cursor:pointer;
    transition:background-color .2s,color .2s,border-color .2s,box-shadow .2s;
}
.product-detail-info form.product-detail-info__action #button-buy:hover, .product-detail-info form.product-detail-info__action #button-buy:focus-visible, .product-detail-info .theme-variable-purchase .tt-variable-buy-now:hover, .product-detail-info .theme-variable-purchase .tt-variable-buy-now:focus-visible {
    background:var(--theme-primary,#d4a30f)!important;
    background-image:none!important;
    border-color:var(--theme-primary,#d4a30f)!important;
    color:#fff!important;
    box-shadow:0 4px 12px rgba(212,163,15,.19)!important;
}
.product-detail-info form.product-detail-info__action #button-buy i, .product-detail-info .theme-variable-purchase .tt-variable-buy-now i {
    color:inherit!important
}
.product-detail-info .theme-variable-purchase .woocommerce-variation-add-to-cart {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px
}
.product-detail-info .theme-variable-purchase .woocommerce-variation-add-to-cart .quantity {
    margin:0
}
.product-detail-info .theme-variable-purchase .woocommerce-variation-add-to-cart .single_add_to_cart_button, .product-detail-info .theme-variable-purchase .woocommerce-variation-add-to-cart .tt-variable-buy-now {
    flex:1 1 155px;
    width:auto!important;
    margin:0!important
}
@media(max-width:480px) {
    .product-detail-info .theme-variable-purchase .woocommerce-variation-add-to-cart {
        gap:7px
    }
    .product-detail-info .theme-variable-purchase .woocommerce-variation-add-to-cart .single_add_to_cart_button,.product-detail-info .theme-variable-purchase .woocommerce-variation-add-to-cart .tt-variable-buy-now {
        flex-basis:calc(50% - 4px);
        font-size:12px;
        padding:9px 6px
    }
}
/* v1.6.19: Flat action buttons, no hover movement or shadows */ .product-detail-info form.product-detail-info__action #button-buy, .product-detail-info form.product-detail-info__action #button-cart, .product-detail-info .theme-variable-purchase .tt-variable-buy-now, .product-detail-info .theme-variable-purchase .single_add_to_cart_button, .product-detail-info form.product-detail-info__action #button-buy:hover, .product-detail-info form.product-detail-info__action #button-cart:hover, .product-detail-info .theme-variable-purchase .tt-variable-buy-now:hover, .product-detail-info .theme-variable-purchase .single_add_to_cart_button:hover, .product-detail-info form.product-detail-info__action #button-buy:focus, .product-detail-info .theme-variable-purchase .tt-variable-buy-now:focus {
    transform:none!important;
    box-shadow:none!important;
    transition:background-color .18s ease,border-color .18s ease,color .18s ease!important;
}
/* v1.6.22 - Buy Now matches Continue shopping hover in cart */ .product-detail-info form.product-detail-info__action #button-buy, .product-detail-info .theme-variable-purchase .tt-variable-buy-now {
    background:#fff!important;
    background-image:none!important;
    color:#a47700!important;
    border:1px solid #d4a30f!important;
    border-radius:10px!important;
    box-shadow:none!important;
    transform:none!important;
    transition:background-color .2s ease,border-color .2s ease,color .2s ease!important;
}
.product-detail-info form.product-detail-info__action #button-buy:hover, .product-detail-info form.product-detail-info__action #button-buy:focus-visible, .product-detail-info .theme-variable-purchase .tt-variable-buy-now:hover, .product-detail-info .theme-variable-purchase .tt-variable-buy-now:focus-visible {
    background:#fff7df!important;
    background-image:none!important;
    color:#a47700!important;
    border-color:#d4a30f!important;
    box-shadow:none!important;
    transform:none!important;
}
.product-detail-info form.product-detail-info__action #button-buy i, .product-detail-info .theme-variable-purchase .tt-variable-buy-now i {
    color:inherit!important
}
/* v1.6.27 - Consistent home icon for breadcrumbs on all legacy layouts. */ .site-breadcrumb > li:first-child > a::before, .breadcrumb > li:first-child > a::before {
    content: "\f015";
    display: inline-block;
    margin-right: 6px;
    font-family: FontAwesome;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
/* Uniform breadcrumbs on every page, matching /tin-tuc. */ .site-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    list-style: none;
    color: #7a756b;
    font-size: 14px;
    line-height: 1.5;
}
.site-breadcrumb > li {
    margin: 0;
    padding: 0;
    border: 0;
    text-shadow: none;
    white-space: normal;
    overflow-wrap: anywhere;
}
.site-breadcrumb > li + li::before {
    content: "/";
    margin-right: 8px;
    color: #aaa;
}
.site-breadcrumb a {
    color: var(--theme-primary);
    font-weight: 600;
    text-decoration: none;
}
.site-breadcrumb a:hover, .site-breadcrumb a:focus {
    color: #b78900;
    text-decoration: underline;
}
.site-breadcrumb > li[aria-current="page"] {
    color: #7a756b;
}
/* v1.6.30: Unified header, breadcrumb, title and responsive spacing.
   /tin-tuc is the reference; one source of truth for these overrides. */ :root {
    --tt-header-content-gap: 14px;
    --tt-breadcrumb-title-gap: 12px;
    --tt-page-heading-gap: 12px;
}
body .header {
    margin-bottom: var(--tt-header-content-gap) !important;
}
body :is(ul.site-breadcrumb, ul.breadcrumb) {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    list-style: none;
    margin: 0 0 var(--tt-breadcrumb-title-gap) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-size: 14px;
    line-height: 1.5;
}
body :is(ul.site-breadcrumb, ul.breadcrumb) > li {
    margin: 0 !important;
    padding: 0 !important;
}
body ul.breadcrumb > li + li::before {
    content: "/";
    padding: 0;
    margin-right: 8px;
    color: #aaa;
}
body :is(.site-breadcrumb, .breadcrumb) + :is(h1, .page-title, .section-title) {
    margin-top: 0 !important;
    margin-bottom: var(--tt-page-heading-gap);
}
body :is(.site-breadcrumb, .breadcrumb) + :is(h1, .page-title) + .page-lead {
    margin-top: 0;
}
/* Use the same Bootstrap .container gutter as the header; avoid nested padding. */ body .site-page > .container > :is(.site-breadcrumb, .breadcrumb), body .site-page > .container > :is(h1, .page-title) {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
@media (min-width: 768px) and (max-width: 991px) {
    :root {
        --tt-header-content-gap: 12px;
        --tt-breadcrumb-title-gap: 12px;
    }
    body .site-page {
        padding-top: 10px;
    }
}
@media (max-width: 767px) {
    :root {
        --tt-header-content-gap: 10px;
        --tt-breadcrumb-title-gap: 10px;
        --tt-page-heading-gap: 10px;
    }
    body :is(ul.site-breadcrumb, ul.breadcrumb) {
        font-size: 12px;
        line-height: 1.55;
    }
    body .site-page {
        padding-top: 10px;
    }
}
/* v1.6.31: Prevent double spacing below the shared header.
   Legacy information pages have no .site-page wrapper, while newer pages do.
   The header owns the single shared vertical gap for both. */ body .site-page {
    padding-top: 0 !important;
}
body #information-information {
    padding-top: 0 !important;
}
body #information-information > .site-breadcrumb, body .site-page > .container > .site-breadcrumb {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
@media (min-width: 768px) and (max-width: 991px) {
    body .site-page {
        padding-top: 0 !important;
    }
}
@media (max-width: 767px) {
    body .site-page {
        padding-top: 0 !important;
    }
}
/* v1.6.31 - Restore visible text on the empty-cart return-to-shop button.
   Scope to WooCommerce cart only; preserve the shared button system. */ body.woocommerce-cart .woocommerce .return-to-shop a.button, body.woocommerce-cart .woocommerce .return-to-shop a.button.wc-backward, body.woocommerce-cart .theme-commerce .return-to-shop a.button, body.woocommerce-cart .theme-commerce .return-to-shop a.button.wc-backward {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-indent: 0 !important;
    font-weight: 600;
}
body.woocommerce-cart .woocommerce .return-to-shop a.button *, body.woocommerce-cart .theme-commerce .return-to-shop a.button * {
    color: inherit !important;
    -webkit-text-fill-color: inherit;
    visibility: visible !important;
}

/* Footer: bỏ khoảng cách phía trên trên mọi trang và kích thước màn hình. */
footer.footer {
    margin-top: 0 !important;
}
