/* Gỗ Trang Trí v5.1. The Shopping theme keeps its existing component geometry. */
@media (min-width: 992px) {
    body.wp-theme-shopping {
        --gtt-pc-logo: #19557b;
        --gtt-pc-brand-light: #55acee;
        --gtt-pc-header: #f2f2f2;
        --gtt-pc-header-ink: #243b4e;
        --gtt-pc-primary: #226da0;
        --gtt-pc-hover: #19557b;
        --gtt-pc-soft: #eaf5fc;
        --gtt-pc-sky: #96d2ee;
        --gtt-pc-white: #fff;
        --gtt-pc-footer: #19557b;
        --gtt-pc-heading: #1e3342;
        --gtt-pc-ink: #344654;
        --gtt-pc-muted: #647480;
        --gtt-pc-line: #dfe3e7;
        --gtt-pc-sale: #b3404a;
        --gtt-pc-focus: #55acee;
        --gtt-pc-font: Montserrat, "Segoe UI", Arial, Helvetica, sans-serif;
        --gtt-pc-fs-nav: 14px;
        --gtt-pc-fs-button: 14px;
        --gtt-pc-fs-input: 15px;
        --gtt-pc-fs-tab: 12px;
        --gtt-pc-fs-card: 15px;
        --gtt-pc-fs-reading: 17px;
        --gtt-pc-fs-reading-title: clamp(25px, 2vw, 30px);
        --gtt-pc-fs-archive-title: 36px;
        --gtt-pc-radius-button: 4px;
        --gtt-pc-motion: 180ms;
        --gtt-pc-motion-sweep: 420ms;
        --gtt-pc-ease: cubic-bezier(.24, .82, .25, 1);
    }

    body.wp-theme-shopping #wpo-header .gtt-desktop-logo-link::after {
        background-color: var(--gtt-pc-logo);
        transition: background-color var(--gtt-pc-motion) ease;
    }

    body.wp-theme-shopping #wpo-header .gtt-desktop-logo-link:is(:hover, :focus-visible)::after {
        background-color: var(--gtt-pc-brand-light);
    }

    body.wp-theme-shopping #wpo-header #header-bottom #main-menu :is(a, button),
    body.wp-theme-shopping #wpo-header .gtt-desktop-nav-actions :is(a, button) {
        font-family: var(--gtt-pc-font);
    }

    body.wp-theme-shopping #wpo-mainbody :is(h1.page-title, h1.blog-title, h1.product-title) {
        color: var(--gtt-pc-heading);
    }

    body.wp-theme-shopping :is(.tm-super-banner .tm-super-tabs, .gtt-category-hero .gtt-category-hero__tabs)
        :is(.tm-super-tab, button[role=tab]) {
        color: var(--gtt-pc-logo);
        font-family: var(--gtt-pc-font);
        font-size: var(--gtt-pc-fs-tab);
        transition: color var(--gtt-pc-motion) ease, background-color var(--gtt-pc-motion) ease;
    }

    body.wp-theme-shopping :is(.tm-super-banner .tm-super-tabs, .gtt-category-hero .gtt-category-hero__tabs)
        :is(.tm-super-tab, button[role=tab]):is(.is-active, [aria-selected=true]) {
        background-color: var(--gtt-pc-primary);
        color: var(--gtt-pc-white);
    }

    body.wp-theme-shopping :is(.tm-super-banner .tm-super-tabs, .gtt-category-hero .gtt-category-hero__tabs)
        :is(.tm-super-tab, button[role=tab]):focus-visible {
        outline: 2px solid var(--gtt-pc-focus);
        outline-offset: 1px;
    }

    body.wp-theme-shopping :is(.product-block .name a, .gtt-home-recs-name) {
        font-size: var(--gtt-pc-fs-card);
        text-underline-offset: 3px;
        transition: color var(--gtt-pc-motion) ease, text-decoration-color var(--gtt-pc-motion) ease;
    }

    body.wp-theme-shopping :is(.product-block .name a, .gtt-home-recs-name),
    body.wp-theme-shopping :is(.gtt-catalog-suggestion, .gtt-blog-search) :is(.gtt-home-recs-collection-name, .entry-title a) {
        color: var(--gtt-pc-heading);
    }

    body.wp-theme-shopping :is(.product-block, .gtt-home-recs-card):focus-within :is(.name a, .gtt-home-recs-name),
    body.wp-theme-shopping .gtt-blog-search .entry-title a:focus-visible {
        color: var(--gtt-pc-hover);
        text-decoration: underline;
    }

    body.wp-theme-shopping :is(.product-block .price, .gtt-home-recs-price, #single-product .entry-summary .price) :is(ins, .amount) {
        color: var(--gtt-pc-primary);
    }

    body.wp-theme-shopping :is(.product-block .price, #single-product .entry-summary .price) del .amount {
        color: var(--gtt-pc-muted);
    }

    body.wp-theme-shopping :is(.product_count_total .arrow, .gtt-home-recs-arrow)::before {
        transition: transform var(--gtt-pc-motion-sweep) var(--gtt-pc-ease);
    }

    body.wp-theme-shopping :is(#wpo-mainbody, #wpo-main-content)
        :is(#wrap_loadmore_cate_products_button, .product_count_total) .btn_action:focus-visible .arrow::before,
    body.wp-theme-shopping #gtt-home-recommendations-slot .gtt-home-recs-more:focus-visible .gtt-home-recs-arrow::before {
        transform: translateX(4px) scale(1.05);
    }

    body.wp-theme-shopping .gtt-brand-footer-v26 {
        background: var(--gtt-pc-footer);
    }

    body.wp-theme-shopping .gtt-brand-footer-v26 a:is(:hover, :focus-visible) {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    @media (min-width: 1024px) {
        body.wp-theme-shopping.gtt-pdp-desktop #single-product form.cart .wrap-add-to-cart-btn
            :is(.wrap-loading button, a.gtt-pdp-chat-zalo) {
            --gtt-pc-action-hover: var(--gtt-pc-hover);
            border-color: var(--gtt-pc-primary);
            border-radius: var(--gtt-pc-radius-button) !important;
            background-color: var(--gtt-pc-primary);
            background-image: linear-gradient(var(--gtt-pc-action-hover), var(--gtt-pc-action-hover));
            background-repeat: no-repeat;
            background-position: left center;
            background-size: 0% 100%;
            color: var(--gtt-pc-white);
            font-size: var(--gtt-pc-fs-button);
            transition: background-size var(--gtt-pc-motion-sweep) var(--gtt-pc-ease), color var(--gtt-pc-motion) ease;
        }

        body.wp-theme-shopping.gtt-pdp-desktop #single-product form.cart .wrap-add-to-cart-btn > a.gtt-pdp-chat-zalo {
            --gtt-pc-action-hover: var(--gtt-pc-primary);
            background-color: var(--gtt-pc-white);
            color: var(--gtt-pc-primary);
        }

        body.wp-theme-shopping.gtt-pdp-desktop #single-product form.cart .wrap-add-to-cart-btn
            :is(.wrap-loading button, a.gtt-pdp-chat-zalo):not(:disabled, .disabled, [aria-disabled=true]):is(:hover, :focus-visible) {
            background-size: 100% 100%;
            color: var(--gtt-pc-white);
        }

        body.wp-theme-shopping.gtt-pdp-desktop #single-product form.cart .wrap-add-to-cart-btn
            :is(.wrap-loading button, a.gtt-pdp-chat-zalo):focus-visible {
            outline-color: var(--gtt-pc-focus);
        }
    }

    @media (hover: hover) and (pointer: fine) {
        body.wp-theme-shopping :is(.tm-super-banner .tm-super-tabs, .gtt-category-hero .gtt-category-hero__tabs)
            :is(.tm-super-tab, button[role=tab]):not(.is-active, [aria-selected=true]):hover {
            background-color: var(--gtt-pc-soft);
            color: var(--gtt-pc-logo);
        }

        body.wp-theme-shopping :is(.product-block, .gtt-home-recs-card):hover :is(.name a, .gtt-home-recs-name),
        body.wp-theme-shopping .gtt-blog-search .entry-title a:hover {
            color: var(--gtt-pc-hover);
            text-decoration: underline;
        }

        body.wp-theme-shopping :is(#wpo-mainbody, #wpo-main-content)
            :is(#wrap_loadmore_cate_products_button, .product_count_total) .btn_action:hover .arrow::before,
        body.wp-theme-shopping #gtt-home-recommendations-slot .gtt-home-recs-more:hover .gtt-home-recs-arrow::before {
            transform: translateX(4px) scale(1.05);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        body.wp-theme-shopping :is(.tm-super-tab, .gtt-category-hero__tabs button, .product-block .name a, .gtt-home-recs-name),
        body.wp-theme-shopping #wpo-header .gtt-desktop-logo-link::after,
        body.wp-theme-shopping.gtt-pdp-desktop #single-product form.cart .wrap-add-to-cart-btn :is(.wrap-loading button, a.gtt-pdp-chat-zalo),
        body.wp-theme-shopping :is(.product_count_total .arrow, .gtt-home-recs-arrow)::before {
            transition: none;
        }
    }
}
