/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.2
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* ==========================================================================
   DESIGN TOKENS & SYSTEM VARIABLES (AC-FE-01)
   ========================================================================== */
html:root {
    --primary-bg: #FFFFFF !important;
    --secondary-bg: #FAF9F6 !important;
    --border-color-light: #eaeaea !important;
    --text-color-slate: #000000 !important;
    --primary-color: #f77426 !important;
    --fs-color-primary: #f77426 !important;
    --fs-color-secondary: #f77426 !important;
    --fs-color-success: #7a9c59 !important;
    --fs-color-alert: #b20000 !important;
    --accent-color-hover: #e0651b !important;
    --border-radius-large: 15px !important;
    --border-radius-minimal: 4px !important;
    --glow-color: rgba(0, 142, 255, 0.12) !important;
    --glow-hover-color: #84c8ff !important;
}

/* ==========================================================================
   GLOBAL LAYOUTS & TYPOGRAPHY OVERRIDES (AC-FE-01)
   ========================================================================== */
body {
    background-color: var(--primary-bg);
    color: var(--text-color-slate);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

#wrapper, #main {
    background-image: url("https://thoitrang19.mauthemewp.com/wp-content/themes/nunucorners/assets/images/background.png") !important;
    background-size: auto !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-position: top center !important;
}

h1, h2, h3, h4, h5, h6, .uppercase, .heading-font {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color-slate);
    font-weight: 700;
}

.alt-font {
    font-family: 'Dancing Script', cursive !important;
    font-weight: 400 !important;
}

/* Rounded Cards & Images matching ThoiTrang19 */
.product-card, 
.product-box,
.box-image,
.cart-container,
.checkout-group,
.image-zoom {
    border: 1px solid var(--border-color-light) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important;
    border-radius: var(--border-radius-large) !important;
    overflow: hidden;
}

/* Sale flash badge styling */
.badge-container .badge,
.onsale {
    border-radius: 4px !important;
    background-color: var(--fs-color-alert) !important;
    color: #FFFFFF !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    padding: 4px 8px !important;
}

/* ==========================================================================
   HEADER STYLE OVERRIDES (ICONDENIM Style - Clean White)
   ========================================================================== */
.header-top, 
#top-bar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #eaeaea !important;
}

.header-top .nav > li > a, 
.header-top .nav > li > a > span {
    color: #444444 !important;
    font-size: 12px;
}

.header-top .nav > li > a:hover,
.header-top .nav > li > a:hover > span {
    color: var(--primary-color) !important;
}

.header-bottom, 
#wide-nav {
    background-color: #ffffff !important;
    border-bottom: 1px solid #eaeaea !important;
}

.header-bottom-nav > li > a {
    color: #1a1a1a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    padding: 10px 16px !important;
}

.header-bottom-nav > li > a:hover {
    color: var(--primary-color) !important;
    background-color: transparent !important;
}

.stuck .header-bottom, 
.stuck #wide-nav {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid #eaeaea !important;
}

/* ==========================================================================
   MEGA MENU CUSTOM STYLING (ICONDENIM Style)
   ========================================================================== */
.header-nav .megamenu > .nav-dropdown {
    background-color: #ffffff !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-radius: var(--border-radius-minimal) !important;
    padding: 25px 30px !important;
    min-width: 960px !important;
}

/* Mega menu column headers (Level 1 items) */
.header-nav .megamenu > .nav-dropdown > .row > .col > .col-inner > a,
.header-nav .megamenu > .nav-dropdown > .row > .col > a,
.header-nav .megamenu .nav-dropdown .nav-column-header > a {
    color: #1a1a1a !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid #1a1a1a !important;
    padding-bottom: 6px !important;
    margin-bottom: 12px !important;
    display: block !important;
}

/* Mega menu column sub-items (Level 2 items) */
.header-nav .megamenu .nav-dropdown ul li a {
    color: #444444 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 5px 0 !important;
    text-transform: none !important;
    transition: all 0.2s ease !important;
    display: block !important;
}

.header-nav .megamenu .nav-dropdown ul li a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px !important;
    background-color: transparent !important;
}

/* ==========================================================================
   PRIMARY CTAs & BUTTON OVERRIDES (AC-FE-01)
   ========================================================================== */
.button.checkout,
.button.add_to_cart_button,
.single_add_to_cart_button,
.woocommerce-button,
.dev-summary-actions .button.checkout {
    background-color: var(--primary-color) !important;
    color: #FFFFFF !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: var(--border-radius-minimal) !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.button.checkout:hover,
.button.add_to_cart_button:hover,
.single_add_to_cart_button:hover,
.woocommerce-button:hover,
.dev-summary-actions .button.checkout:hover {
    background-color: var(--accent-color-hover) !important;
    border-color: var(--accent-color-hover) !important;
}

/* ==========================================================================
   INTERACTIVE CARDS & HOVER EFFECTS (ThoiTrang19)
   ========================================================================== */
.product-box, 
.box-image {
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px var(--glow-hover-color) !important;
}

/* Category grid pulse ripple glow effect */
.phongvt-hieu-ung-toa-hinh .col {
    transition: transform 0.3s ease-in-out;
}

.phongvt-hieu-ung-toa-hinh .col:hover {
    transform: translateY(-5px);
}

.phongvt-hieu-ung-toa-hinh a {
    position: relative;
    display: block;
    overflow: hidden;
}

.phongvt-hieu-ung-toa-hinh a:before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 100%;
    opacity: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.phongvt-hieu-ung-toa-hinh .col:hover a:before {
    animation: circle 0.75s ease-out;
}

@keyframes circle {
    0% {
        opacity: 1;
        width: 0;
        height: 0;
    }
    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}

/* News/Blog Box styles */
.home_blog .box-blog-post, 
.col.post-item {
    box-shadow: 0 4px 15px var(--glow-color) !important;
    border-radius: var(--border-radius-large) !important;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.home_blog .box-blog-post:hover, 
.col.post-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px var(--glow-hover-color) !important;
}

.home_blog .box-blog-post .box-text {
    padding: 15px 20px;
}

/* ==========================================================================
   SINGLE PRODUCT CUSTOM SWATCHES (AC-FE-04)
   ========================================================================== */
.dev-swatches-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.dev-swatch-item {
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s ease;
}

/* Color Swatches (Round Circles) */
.dev-color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    padding: 2px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-swatch-color-circle {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.dev-swatch-color-circle.white-border {
    border: 1px solid #ddd;
}

.dev-color-swatch.active {
    border-color: var(--primary-color);
}

/* Size Swatches (Squares) */
.dev-size-swatch {
    width: 44px; /* Tap Target size compliance */
    height: 44px; /* Tap Target size compliance */
    border: 1px solid #cccccc;
    background-color: #ffffff;
    border-radius: var(--border-radius-minimal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-swatch-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color-slate);
}

.dev-size-swatch.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.dev-size-swatch.active .dev-swatch-text {
    color: #ffffff;
}

.dev-size-swatch:hover {
    border-color: var(--primary-color);
}

/* Out of Stock & Unavailable Swatches: Faded and Crossed Out (AC-FE-04) */
.dev-swatch-item.disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
}

.dev-swatch-item.disabled::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: #ff3b30;
    transform: rotate(-45deg);
    pointer-events: none;
}

/* ==========================================================================
   SIZE GUIDE POPUP MODAL
   ========================================================================== */
.dev-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dev-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.dev-modal-content {
    background-color: #ffffff;
    padding: 30px;
    width: 500px;
    max-width: 90%;
    border-radius: var(--border-radius-minimal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    box-sizing: border-box;
}

.dev-modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 26px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

.dev-modal-close-btn:hover {
    color: #000;
}

.dev-modal-title {
    margin-top: 0;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.dev-size-guide-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.dev-size-guide-link:hover {
    color: #000;
}

.dev-size-guide-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

.dev-size-guide-table th, 
.dev-size-guide-table td {
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
}

.dev-size-guide-table th {
    background-color: #fcfcfc;
    font-weight: 700;
    color: #111;
}

.dev-modal-footer {
    font-size: 11px;
    color: #777;
    margin-top: 15px;
    font-style: italic;
    line-height: 1.4;
}

/* ==========================================================================
   TRUST BADGES (AC-FE-04)
   ========================================================================== */
.dev-trust-badges-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    margin-top: 25px !important;
    padding: 15px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    background-color: #fafafa !important;
}

.dev-trust-badge-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 5px !important;
}

.dev-badge-icon-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background-color: #ffffff !important;
    border-radius: 4px !important;
    border: 1px solid #eaeaea !important;
    color: var(--primary-color, #f77426) !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease, color 0.2s ease !important;
}

.dev-badge-svg {
    width: 18px !important;
    height: 18px !important;
}

.dev-trust-badge-item:hover .dev-badge-icon-wrapper {
    transform: scale(1.1) !important;
    color: var(--accent-color-hover, #e0651b) !important;
    border-color: var(--primary-color, #f77426) !important;
}

.dev-badge-info {
    display: flex !important;
    flex-direction: column !important;
}

.dev-badge-info strong {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.2 !important;
}

.dev-badge-info span {
    font-size: 11px !important;
    color: #666666 !important;
    margin-top: 2px !important;
    line-height: 1.2 !important;
}

@media (max-width: 480px) {
    .dev-trust-badges-wrapper {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* ==========================================================================
   MOBILE FIXED BOTTOM NAVIGATION (AC-FE-07)
   ========================================================================== */
.dev-mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 99999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.dev-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #666 !important;
    flex: 1;
    height: 100%;
    cursor: pointer;
    min-width: 44px; /* Tap Target compliance */
    min-height: 44px; /* Tap Target compliance */
}

.dev-nav-icon {
    font-size: 20px;
}

.dev-nav-label {
    font-size: 10px;
    font-weight: 600;
    margin-top: 2px;
}

.dev-nav-item:hover,
.dev-nav-item.active {
    color: var(--primary-color) !important;
}

/* Cart bubble count */
.dev-nav-icon-container {
    position: relative;
    display: inline-block;
}

.dev-cart-bubble {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #d32f2f;
    color: #ffffff;
    font-size: 9px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    line-height: 1;
}

/* Responsive Hide/Show bottom nav */
@media (min-width: 768px) {
    .dev-mobile-bottom-nav {
        display: none !important;
    }
}

@media (max-width: 767px) {
    body {
        padding-bottom: 60px !important;
    }
}

/* ==========================================================================
   FLOATING CONTACT WIDGET (ThoiTrang19 - Left stacked pill layout)
   ========================================================================== */
.dev-floating-contact {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    z-index: 99998;
}

.dev-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 19px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease-in-out;
}

.dev-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    filter: brightness(1.05);
}

/* Specific Colors matching user screenshot */
.dev-zalo-btn {
    background-color: #f77426 !important; /* Orange */
}

.dev-facebook-btn {
    background-color: #0b5394 !important; /* Dark Blue */
}

.dev-hotline-btn {
    background-color: #cc0000 !important; /* Red */
}

/* Adjust for Mobile to not block bottom toolbar */
@media (max-width: 767px) {
    .dev-floating-contact {
        bottom: 80px; /* Shift up on mobile to leave space for the bottom nav */
        left: 15px;
        gap: 6px;
    }
    .dev-contact-btn {
        height: 34px;
        padding: 0 16px;
        font-size: 12px;
    }
}

/* ==========================================================================
   HEADER BOTTOM SEARCH BAR STYLING (ThoiTrang19)
   ========================================================================== */
.header-bottom .searchform-wrapper {
    max-width: 250px;
    margin-left: auto;
}

.header-bottom .searchform {
    display: flex !important;
    align-items: center;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.header-bottom .searchform .flex-row {
    display: flex;
    width: 100%;
}

.header-bottom .search-field {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    border-radius: 6px 0 0 6px !important;
    border: 1px solid #eaeaea !important;
    border-right: none !important;
    height: 36px !important;
    margin-bottom: 0 !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    width: 100% !important;
}

.header-bottom .ux-search-submit {
    background-color: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-left: none !important;
    border-radius: 0 6px 6px 0 !important;
    height: 36px !important;
    color: #1a1a1a !important;
    padding: 0 15px !important;
    min-width: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-bottom .ux-search-submit i {
    font-size: 14px;
}

/* ==========================================================================
   HOMEPAGE CUSTOM CONTAINER SECTIONS (ThoiTrang19 Banners)
   ========================================================================== */
.home-hero-section {
    background-color: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 25px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    padding: 20px !important;
    margin-top: 25px !important;
    margin-bottom: 25px !important;
    overflow: hidden;
}

.home-category-cards-section {
    margin-top: 25px !important;
    margin-bottom: 25px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* Category cards 1:1 ratio square styling */
.home-category-cards-section .banner {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    background: none !important;
}

.home-category-cards-section .banner-inner {
    left: 8px !important;
    right: 8px !important;
    border-radius: 15px !important;
    overflow: hidden;
    transition: all 0.35s ease !important;
}

.home-category-cards-section .banner:hover .banner-inner {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(247, 116, 38, 0.25) !important;
}

/* ==========================================================================
   HKT STATIC PAGES & 404 STYLING
   ========================================================================== */
.hkt-page-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    color: var(--text-color-slate);
}

.hkt-hero {
    display: grid;
    gap: 32px;
    align-items: center;
    margin-bottom: 40px;
}

.hkt-hero-intro,
.hkt-hero-contact,
.hkt-hero-policy,
.hkt-hero-404 {
    grid-template-columns: 1.4fr 1fr;
}

.hkt-hero-copy {
    max-width: 640px;
}

.hkt-overline {
    display: inline-flex;
    margin-bottom: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
}

.hkt-hero-copy h1 {
    font-size: clamp(2.4rem, 3vw, 3.6rem);
    line-height: 1.05;
    margin: 0 0 20px;
}

.hkt-hero-copy p {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 610px;
    color: #444444;
}

.hkt-hero-image {
    min-height: 320px;
    border-radius: var(--border-radius-large);
    background: linear-gradient(135deg, rgba(247, 116, 38, 0.12), rgba(255, 255, 255, 1));
    border: 1px solid #ececec;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}

.hkt-contact-grid,
.hkt-card-grid,
.hkt-policy-grid,
.hkt-page-story .hkt-grid-list {
    display: grid;
    gap: 24px;
}

.hkt-contact-grid {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: start;
}

.hkt-contact-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: var(--border-radius-large);
    padding: 30px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.04);
}

.hkt-contact-card h3,
.hkt-card h4,
.hkt-section-header h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.35rem;
    letter-spacing: 0.01em;
}

.hkt-card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: var(--border-radius-large);
    padding: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.hkt-card-grid {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.hkt-page-story .hkt-grid-list,
.hkt-policy-list-block {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
}

.hkt-copy-wide,
.hkt-section-notes {
    max-width: 820px;
}

.hkt-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.hkt-feature-list li {
    padding-left: 18px;
    position: relative;
    line-height: 1.75;
}

.hkt-feature-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.hkt-section-header p {
    color: #555555;
    max-width: 760px;
    margin-top: 8px;
    line-height: 1.75;
}

.hkt-map-wrapper {
    margin-top: 20px;
    border: 1px solid #e8e8e8;
    border-radius: var(--border-radius-large);
    overflow: hidden;
}

.hkt-contact-form-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hkt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.25s ease;
    text-decoration: none;
}

.hkt-btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.hkt-btn-primary:hover {
    background-color: var(--accent-color-hover);
}

.hkt-404-page .hkt-hero-404 {
    grid-template-columns: 1fr;
    text-align: center;
}

.hkt-best-sellers {
    margin-top: 28px;
}

.hkt-page-policy .hkt-card-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.hkt-page-policy .hkt-card {
    min-height: 220px;
}

.hkt-page-policy ul,
.hkt-page-policy ol {
    margin: 0;
    padding-left: 20px;
}

.hkt-page-policy li {
    margin-bottom: 10px;
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .hkt-hero,
    .hkt-contact-grid,
    .hkt-card-grid,
    .hkt-page-story .hkt-grid-list,
    .hkt-policy-list-block {
        grid-template-columns: 1fr;
    }

    .hkt-page-layout {
        padding: 40px 20px 60px;
    }
}

@media (max-width: 640px) {
    .hkt-hero-copy h1 {
        font-size: 2.4rem;
    }

    .hkt-card {
        padding: 22px;
    }

    .hkt-contact-grid {
        gap: 18px;
    }
}

.home-category-cards-section .bg {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

/* Home Page boxed section row & columns styling (ThoiTrang19 style) */
.home-section-col {
    border-radius: 25px !important;
    border: 1px solid #eaeaea !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden;
}

.home-section-row {
    margin-top: 25px !important;
    margin-bottom: 25px !important;
}

/* Normal Section Title Styles with dynamic orange underline */
.section-title-normal {
    border-bottom: 2px solid #ececec !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
}

.section-title-normal span {
    border-bottom: 2px solid var(--primary-color) !important;
    margin-bottom: -2px !important;
    margin-right: 15px !important;
    padding-bottom: 7.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 1.15rem !important;
    color: #000000 !important;
    display: inline-block !important;
}

.section-title-normal b {
    display: none !important;
}

/* ==========================================================================
   PROFESSIONAL FOOTER (ThoiTrang19 Reference)
   ========================================================================== */
.dev-custom-footer {
    background-color: #ffffff;
    margin-top: 0;
    border-top: 1px solid #eaeaea;
}

.dev-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px 40px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
}

.dev-footer-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
}

.dev-logo-text {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.dev-logo-sub {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.dev-footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.dev-footer-social {
    display: flex;
    gap: 10px;
}

.dev-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.dev-social-fb { background-color: #1877f2; }
.dev-social-ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.dev-social-pin { background-color: #e60023; }

.dev-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.dev-footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    text-transform: none;
    position: relative;
}

.dev-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.dev-footer-links li {
    margin-bottom: 12px;
}

.dev-footer-links a {
    color: #666 !important;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-block;
}

.dev-footer-links a:hover {
    color: var(--primary-color) !important;
    transform: translateX(4px);
}

.dev-payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dev-payment-badge {
    display: inline-flex;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.08));
    transition: transform 0.2s ease;
}

.dev-payment-badge:hover {
    transform: translateY(-2px);
}

/* Copyright bar */
.dev-footer-copyright {
    background-color: #555;
    padding: 15px 30px;
}

.dev-footer-copyright-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.dev-footer-copyright span {
    color: #ccc;
    font-size: 12.5px;
}

.dev-footer-copyright-links {
    display: flex;
    gap: 25px;
}

.dev-footer-copyright-links a {
    color: #ddd !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.dev-footer-copyright-links a:hover {
    color: var(--primary-color) !important;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .dev-footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .dev-footer-copyright-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 991px) and (min-width: 769px) {
    .dev-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Hide default Flatsome absolute footer if overlapping */
.absolute-footer {
    display: none !important;
}


/* ==========================================================================
   HOMEPAGE REDESIGN 2026 — BENTO GRID HERO
   ========================================================================== */
body, p, span, li, input, textarea, select, .text-box {
    font-family: 'Inter', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .uppercase, .heading-font, .nav-top-link, button, .button, input[type="submit"], .dev-logo-text, .section-title-normal span, .hkt-bento-heading, .hkt-bento-heading-dark, .hkt-section-title, .hkt-hero-title, .hkt-hero-cta, .hkt-bento-tag, .badge-inner, .hkt-bento-voucher-value, .price {
    font-family: 'Montserrat', sans-serif !important;
}

/* --- Bento Grid Container --- */
.hkt-hero-bento {
    max-width: 1300px;
    margin: 20px auto 0;
    padding: 0 15px;
}

.hkt-bento-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 293px 293px;
    gap: 14px;
}

/* Ô 1: Slider chính (spans 1 row full height) */
.hkt-bento-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    height: 600px !important;
}

.hkt-bento-main .banner {
    height: 100% !important;
}

.hkt-bento-main .slider,
.hkt-bento-main .flickity-viewport {
    height: 100% !important;
    min-height: 600px !important;
}

/* Ô 2: Banner Hàng Mới Về */
.hkt-bento-new {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    height: 293px !important;
}

/* Ô 3 & 4: Bottom cells */
.hkt-bento-voucher,
.hkt-bento-exclusive {
    grid-row: 2 / 3;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    height: 293px !important;
}

.hkt-bento-voucher {
    grid-column: 2 / 3;
}

/* Ô 3 sub-layout: split bottom row when 4 cells needed */
/* Override: Place voucher + exclusive in bottom-right column */
.hkt-bento-new {
    min-height: 0;
}

/* Nested inner grid for right column */
.hkt-bento-grid {
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 293px 293px;
}

.hkt-bento-main  { grid-area: 1 / 1 / 3 / 2; }
.hkt-bento-new   { grid-area: 1 / 2 / 2 / 3; }
.hkt-bento-voucher  { grid-area: 2 / 2 / 3 / 3; }

/* Hide 4th cell on homepage — only 3 bento blocks needed */
.hkt-bento-exclusive { display: none; }

/* --- Bento image + overlay helpers --- */
.hkt-bento-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.hkt-bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hkt-bento-link:hover .hkt-bento-img {
    transform: scale(1.06);
}

/* Glassmorphism overlay */
.hkt-bento-glass-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 80%, transparent 100%);
    backdrop-filter: blur(0);
    color: #fff;
    transition: backdrop-filter 0.3s ease;
}

.hkt-bento-link:hover .hkt-bento-glass-overlay {
    backdrop-filter: blur(2px);
}

/* Dark text-overlay for exclusive cell */
.hkt-bento-dark-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 80%);
    color: #fff;
}

.hkt-bento-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hkt-tag-dark {
    background-color: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

.hkt-bento-heading {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.hkt-bento-heading-dark {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 4px 0 8px !important;
}

.hkt-bento-p {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    margin: 6px 0 0;
}

.hkt-bento-arrow {
    display: inline-block;
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.hkt-bento-link:hover .hkt-bento-arrow {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Slider Hero Overlay Text */
.hkt-hero-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hkt-badge-sale {
    background-color: #c0392b;
    animation: hkt-pulse-badge 2s infinite;
}

@keyframes hkt-pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hkt-hero-title {
    color: #ffffff !important;
    font-size: 36px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    margin: 0 0 10px !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.hkt-hero-sub {
    color: rgba(255,255,255,0.88) !important;
    font-size: 15px !important;
    margin: 0 0 20px !important;
    font-weight: 400;
}

.hkt-hero-cta {
    display: inline-block !important;
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(247,116,38,0.4) !important;
}

.hkt-hero-cta:hover {
    background-color: #c44f0a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(247,116,38,0.5) !important;
    color: #ffffff !important;
}

/* --- Voucher Bento Block --- */
.hkt-bento-voucher {
    background: #fff8f5 !important; /* Soft light orange/cream tint */
    border: 1px solid #fce8df !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hkt-bento-voucher-inner {
    padding: 25px;
    text-align: center;
    width: 100%;
}

.hkt-bento-voucher-label {
    color: #e0651b; /* Accent orange */
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hkt-bento-voucher-value {
    color: #e0651b; /* Accent orange */
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.hkt-bento-voucher-desc {
    color: #555552; /* Darker grey for readability */
    font-size: 12px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.hkt-bento-voucher-code-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff; /* Pure white background for input look */
    border: 1px dashed #e0651b;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 15px;
}

.hkt-bento-voucher-code {
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a19; /* Dark code */
    letter-spacing: 2px;
}

.hkt-bento-copy-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.hkt-bento-copy-btn:hover,
.hkt-bento-copy-btn.copied {
    background-color: #27ae60;
}

.hkt-bento-voucher-cta {
    display: inline-block;
    color: #e0651b !important; /* Accent orange link */
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(224, 101, 27, 0.4);
    transition: all 0.2s ease;
}

.hkt-bento-voucher-cta:hover {
    color: #b34600 !important;
    border-color: #b34600;
}

/* Bento Responsive */
@media (max-width: 768px) {
    .hkt-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 14px;
    }

    .hkt-bento-main  { grid-area: unset !important; height: 350px !important; }
    .hkt-bento-new   { grid-area: unset !important; height: 240px !important; }
    .hkt-bento-voucher { grid-area: unset !important; height: auto !important; min-height: 220px; }

    .hkt-bento-main .slider,
    .hkt-bento-main .flickity-viewport,
    .hkt-bento-main .banner {
        height: 350px !important;
        min-height: 350px !important;
    }

    .hkt-hero-title { font-size: 24px !important; }
}

@media (max-width: 480px) {
    .hkt-hero-bento { padding: 0 10px; }
    .hkt-hero-title { font-size: 20px !important; }
    .hkt-bento-voucher-value { font-size: 22px; }
}


/* ==========================================================================
   TRUST BAR — Social Proof Strip
   ========================================================================== */
.hkt-trust-bar {
    background: #ffffff !important;
    border: none !important;
    margin: 20px 0;
    padding: 15px 0;
}

.hkt-trust-bar-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hkt-trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    flex: 1;
    min-width: 220px;
    border-right: none !important;
    background: transparent !important;
    transition: all 0.3s ease;
}

.hkt-trust-item:hover {
    background: transparent !important;
}

/* SVG outline icon styling */
.hkt-trust-icon-svg-wrapper {
    width: 44px;
    height: 44px;
    border: 1.5px solid #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.hkt-trust-item:hover .hkt-trust-icon-svg-wrapper {
    transform: scale(1.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.hkt-trust-icon-svg-wrapper svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hkt-trust-item > div {
    display: flex;
    flex-direction: column;
}

.hkt-trust-item strong {
    color: #1a1a1a;
    font-size: 13.5px;
    font-weight: 700;
    display: block;
    line-height: 1.3;
}

.hkt-trust-item span {
    color: #757570;
    font-size: 11.5px;
    margin-top: 2px;
}

@media (max-width: 767px) {
    .hkt-trust-bar-inner { flex-wrap: wrap; }
    .hkt-trust-item {
        flex: 1 1 50%;
        min-width: 180px;
        padding: 10px 12px;
        border-bottom: 1px solid #f5f5f5;
    }
    .hkt-trust-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .hkt-trust-item { 
        flex: 1 1 100%; 
        border-bottom: 1px solid #f5f5f5;
    }
    .hkt-trust-item:last-child {
        border-bottom: none;
    }
}


/* ==========================================================================
   HOME SECTION WRAPPERS — Generic Sections
   ========================================================================== */
.hkt-home-section {
    padding: 15px 0;
}

.hkt-section-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 25px 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.hkt-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 22px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.hkt-section-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.hkt-section-sub {
    color: #888;
    font-size: 12.5px;
    margin: 4px 0 0;
}

.hkt-section-viewall {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: gap 0.2s;
}

.hkt-section-viewall:hover {
    gap: 9px;
}

/* Categories section inherits same wrapper but different padding */
.hkt-section-categories .hkt-section-inner {
    padding-bottom: 10px;
}


/* ==========================================================================
   PRODUCT HOVER — Image Swap (Secondary Image)
   ========================================================================== */
.product-small .box-image {
    position: relative;
    overflow: hidden;
}

.product-small .box-image .secondary-image {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.product-small:hover .box-image .secondary-image {
    opacity: 1;
}

.product-small .box-image img:first-child {
    transition: opacity 0.5s ease;
}

/* Only hide first-child on hover if there is a secondary image present */
.product-small:hover .box-image img:first-child:has(~ .secondary-image) {
    opacity: 0;
}


/* ==========================================================================
   PRODUCT CARD — Enhanced Hover Glow & Micro-interactions
   ========================================================================== */
div.product-small {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

div.product-small:hover {
    transform: translateY(-5px);
}

div.product-small .product-info {
    transition: box-shadow 0.3s ease;
}

div.product-small:hover {
    box-shadow: 0 12px 28px rgba(247,116,38,0.12) !important;
}

/* CTA Buttons — Improved Contrast (WCAG AA: 4.5:1) */
div.product-small .add-to-cart-button a.primary,
.products .product .button.add_to_cart_button,
.wc-block-grid__product-add-to-cart a {
    background-color: #d35400 !important; /* Contrast 4.6:1 vs white */
    color: #ffffff !important;
    border-color: #d35400 !important;
    border-radius: 6px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.2s ease !important;
}

div.product-small:hover .add-to-cart-button a.primary,
.products .product:hover .button.add_to_cart_button {
    background-color: #b34600 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(179,70,0,0.35) !important;
}


/* ==========================================================================
   CATEGORY LABEL — Overlaid on Category Slider Banners
   ========================================================================== */
.hkt-cat-label {
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Banner hover zoom for category items */
.hkt-cat-slider .banner-inner {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.hkt-cat-slider .banner:hover .banner-inner {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(247,116,38,0.2) !important;
}


/* ==========================================================================
   STICKY HEADER — Shrink on Scroll
   ========================================================================== */
#header.header-shrunk .header-main {
    transition: padding 0.35s ease, box-shadow 0.35s ease;
}

.header-shrunk #logo img {
    max-height: 35px !important;
    transition: max-height 0.35s ease;
}

.header-shrunk #header {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1) !important;
}

.header-shrunk .header-bottom,
.header-shrunk #wide-nav {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    transition: padding 0.3s ease;
}


/* ==========================================================================
   AJAX LIVE SEARCH DROPDOWN
   ========================================================================== */
.hkt-search-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    z-index: 9999;
    overflow: hidden;
    display: none;
    max-height: 380px;
    overflow-y: auto;
}

.hkt-search-dropdown.open {
    display: block;
    animation: hkt-dropdown-in 0.2s ease;
}

@keyframes hkt-dropdown-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hkt-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    text-decoration: none !important;
    color: #1a1a1a !important;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f5f5f5;
}

.hkt-search-result-item:last-child { border-bottom: none; }

.hkt-search-result-item:hover {
    background-color: #fff8f4;
    color: var(--primary-color) !important;
}

.hkt-search-result-img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
}

.hkt-search-result-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.hkt-search-result-name {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1a1a1a;
}

.hkt-search-result-price {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 3px;
}

.hkt-search-empty {
    padding: 16px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.hkt-search-loading {
    padding: 16px;
    text-align: center;
    color: #bbb;
    font-size: 12px;
}

/* Wrapper for search + dropdown positioning */
.hkt-search-wrapper {
    position: relative;
}

.header-bottom .searchform-wrapper {
    position: relative;
}

/* ==========================================================================
   SECTION-SPECIFIC ACCENT COLORS
   ========================================================================== */
.hkt-section-sale .hkt-section-title   { color: #d35400 !important; }
.hkt-section-bestseller .hkt-section-title { color: #c0392b !important; }

/* Elegant modern rounded-pill Sale Badge */
.callout.badge.badge-frame {
    border: none !important;
    background: none !important;
}

.callout.badge.badge-frame .badge-inner {
    border: none !important;
    background-color: #fff0eb !important; /* Soft orange/red tint */
    color: #e0651b !important; /* Accent orange */
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important; /* Pill style */
    text-transform: uppercase !important;
    display: inline-block !important;
    box-shadow: 0 2px 5px rgba(224, 101, 27, 0.1) !important;
}

.callout.badge.badge-frame .badge-inner span.onsale {
    border: none !important;
    background: none !important;
    color: #e0651b !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
}

/* ==========================================================================
   HEADER ACTIONS: LOGIN & CART OVERRIDES (Bỏ viền tròn, đổi chữ màu đen)
   ========================================================================== */
.nav-top-not-logged-in,
.header-cart-link {
    border-radius: 4px !important; /* Bỏ viền tròn, bo góc nhẹ 4px */
    border: none !important; /* Bỏ viền hoàn toàn */
    color: #000000 !important; /* Chuyển text/icon màu đen */
    background-color: transparent !important;
    box-shadow: none !important;
}

.nav-top-not-logged-in i,
.nav-top-not-logged-in span,
.header-cart-link i,
.header-cart-link span,
.header-cart-link strong {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Hiệu ứng hover đổi màu cam thương hiệu */
.nav-top-not-logged-in:hover,
.nav-top-not-logged-in:hover i,
.nav-top-not-logged-in:hover span,
.header-cart-link:hover,
.header-cart-link:hover i,
.header-cart-link:hover span,
.header-cart-link:hover strong {
    color: var(--primary-color, #f77426) !important;
}

/* ==========================================================================
   PRODUCT SINGLE PAGE: BUTTON LAYOUTS & BUY NOW STYLE
   ========================================================================== */
.woocommerce-variation-add-to-cart,
form.cart:not(.variations_form) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
}

.woocommerce-variation-add-to-cart .quantity,
form.cart:not(.variations_form) .quantity {
    margin: 0 !important;
}

.woocommerce-variation-add-to-cart .single_add_to_cart_button,
form.cart:not(.variations_form) .single_add_to_cart_button {
    flex: 1 0 auto !important;
    margin: 0 !important;
    background-color: transparent !important;
    color: #f77426 !important;
    border: 2px solid #f77426 !important;
    border-radius: 4px !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
    height: auto !important;
    min-height: 45px !important;
}

.woocommerce-variation-add-to-cart .single_add_to_cart_button:hover,
form.cart:not(.variations_form) .single_add_to_cart_button:hover {
    background-color: #fff0eb !important;
    color: #e0651b !important;
    border-color: #e0651b !important;
}

.woocommerce-variation-add-to-cart .single_add_to_cart_button.disabled,
.woocommerce-variation-add-to-cart .single_add_to_cart_button.disabled:hover,
form.cart:not(.variations_form) .single_add_to_cart_button:disabled,
form.cart:not(.variations_form) .single_add_to_cart_button:disabled:hover {
    background-color: #f2f2f2 !important;
    border-color: #dddddd !important;
    color: #aaaaaa !important;
    cursor: not-allowed !important;
}

/* Nút "MUA NGAY" nằm dưới, kích thước rộng hơn */
.hkt-buy-now-button {
    flex-basis: 100% !important;
    width: 100% !important;
    margin: 6px 0 0 0 !important;
    background-color: #f77426 !important; /* Màu cam chủ đạo */
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    min-height: 48px !important;
}

.hkt-buy-now-button:hover {
    background-color: #e0651b !important;
}

.hkt-buy-now-button.disabled,
.hkt-buy-now-button.wc-variation-selection-needed,
.hkt-buy-now-button:disabled {
    background-color: #e6e6e6 !important;
    color: #999999 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

/* ==========================================================================
   CHECKOUT PAGE: 2-COLUMN MINIMALIST LAYOUT & STYLING (AC-FE-05)
   ========================================================================== */
@media (min-width: 992px) {
    /* Override grid layout on form container so Flatsome's native column row expands fully */
    form.woocommerce-checkout {
        display: block !important;
    }
    
    form.woocommerce-checkout #customer_details {
        width: 100% !important;
        float: none !important;
        margin-bottom: 0 !important;
    }
    
    form.woocommerce-checkout #order_review,
    form.woocommerce-checkout #order_review_heading {
        width: 100% !important;
        float: none !important;
        margin-bottom: 0 !important;
    }


    /* Remove redundant inner column borders and padding on checkout sidebar column */
    .woocommerce-checkout .large-5 .col-inner {
        border: none !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* Beautiful & Spacious Order Review Card styling */
form.woocommerce-checkout #order_review {
    background-color: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    padding: 30px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

/* ==========================================================================
   PRODUCT CATALOG: QUICK VIEW HOVER VISIBILITY
   ========================================================================== */
/* Force Quick View button and container to show clearly on hover */
.product-small:hover .image-tools.grid-tools,
.product-box:hover .image-tools.grid-tools,
.product:hover .image-tools.grid-tools,
.has-hover:hover .image-tools.grid-tools,
.col:hover .image-tools.grid-tools,
.col-inner:hover .image-tools.grid-tools,
.product-small:hover .image-tools.grid-tools a.quick-view,
.product-box:hover .image-tools.grid-tools a.quick-view,
.product:hover .image-tools.grid-tools a.quick-view,
.has-hover:hover .image-tools.grid-tools a.quick-view,
.col:hover .image-tools.grid-tools a.quick-view,
.col-inner:hover .image-tools.grid-tools a.quick-view {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* Base style for Quick View button to ensure high contrast and clear styling */
.image-tools.grid-tools a.quick-view {
    background-color: var(--primary-color, #f77426) !important;
    color: #ffffff !important;
    font-family: var(--hkt-font-headings, 'Montserrat'), sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    padding: 8px 15px !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

/* Hover style directly on the Quick View button itself */
.image-tools.grid-tools a.quick-view:hover {
    background-color: var(--accent-color-hover, #e0651b) !important;
    transform: scale(1.02) !important;
}

/* Custom header for the checkout columns */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading {
    font-family: var(--hkt-font-headings, 'Montserrat'), sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1.5px solid #1a1a1a !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    color: #1a1a1a !important;
}

/* Adjustments for inputs and fields inside checkout */
.woocommerce-checkout .form-row {
    margin-bottom: 15px !important;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    padding: 10px 14px !important;
    font-family: var(--hkt-font-body, 'Inter'), sans-serif !important;
    font-size: 14px !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    height: auto !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--primary-color, #f77426) !important;
    outline: none !important;
}

/* ==========================================================================
   ORDER REVIEW TABLE STYLING
   ========================================================================== */
.woocommerce-checkout-review-order-table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin-bottom: 25px !important;
    border: none !important;
}

/* Header style */
.woocommerce-checkout-review-order-table thead th {
    font-family: var(--hkt-font-headings, 'Montserrat'), sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #1a1a1a !important;
    border-bottom: 1.5px solid #1a1a1a !important;
    padding: 12px 0 !important;
    text-align: left !important;
    background: transparent !important;
}

.woocommerce-checkout-review-order-table thead th.product-total {
    text-align: right !important;
}

/* Body rows style */
.woocommerce-checkout-review-order-table tbody td {
    font-family: var(--hkt-font-body, 'Inter'), sans-serif !important;
    font-size: 14px !important;
    color: #333333 !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #f2f2f2 !important;
    background: transparent !important;
    line-height: 1.5 !important;
}

.woocommerce-checkout-review-order-table tbody td.product-name {
    font-weight: 500 !important;
    text-align: left !important;
}

.woocommerce-checkout-review-order-table tbody td.product-total {
    font-weight: 600 !important;
    text-align: right !important;
    color: #1a1a1a !important;
}

/* Product quantity badge */
.woocommerce-checkout-review-order-table .product-quantity {
    font-weight: 400 !important;
    color: #888888 !important;
    margin-left: 6px !important;
}

/* Variation options list style */
.woocommerce-checkout-review-order-table dl.variation {
    font-size: 12px !important;
    color: #777777 !important;
    margin: 4px 0 0 0 !important;
    font-weight: 400 !important;
    display: block !important;
    line-height: 1.4 !important;
}

.woocommerce-checkout-review-order-table dl.variation dt,
.woocommerce-checkout-review-order-table dl.variation dd {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout-review-order-table dl.variation dt {
    font-weight: 600 !important;
}

.woocommerce-checkout-review-order-table dl.variation dd:not(:last-child)::after {
    content: ", " !important;
    margin-right: 4px !important;
}

.woocommerce-checkout-review-order-table dl.variation p {
    margin: 0 !important;
    display: inline !important;
}

/* Footer styles (Subtotals, Shipping, Total) */
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    font-family: var(--hkt-font-body, 'Inter'), sans-serif !important;
    font-size: 14px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f2f2f2 !important;
    background: transparent !important;
    font-weight: normal !important;
}

.woocommerce-checkout-review-order-table tfoot th {
    text-align: left !important;
    color: #555555 !important;
}

.woocommerce-checkout-review-order-table tfoot td {
    text-align: right !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
}

/* Shipping rows adjustments */
.woocommerce-checkout-review-order-table td.shipping__inner {
    padding: 0 !important;
    border-bottom: 1px solid #f2f2f2 !important;
}

.woocommerce-checkout-review-order-table table.shipping__table {
    margin: 0 !important;
    width: 100% !important;
}

.woocommerce-checkout-review-order-table table.shipping__table th,
.woocommerce-checkout-review-order-table table.shipping__table td {
    border: none !important;
    padding: 12px 0 !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method li {
    margin-bottom: 6px !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method label {
    font-size: 13px !important;
    font-weight: normal !important;
    color: #555555 !important;
    display: inline !important;
    cursor: pointer !important;
}

/* Total row style */
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 18px !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    border-top: 1.5px solid #1a1a1a !important;
    border-bottom: none !important;
    padding-top: 20px !important;
}

/* ==========================================================================
   PAYMENT SECTION STYLING
   ========================================================================== */
#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 10px !important;
}

#payment ul.payment_methods {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 20px !important;
    list-style: none !important;
    padding-left: 0 !important;
}

#payment ul.payment_methods li {
    padding: 12px 16px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    margin-bottom: 12px !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
    line-height: 1.5 !important;
    list-style: none !important;
}

#payment ul.payment_methods li:hover {
    border-color: #b5b5b5 !important;
}

/* Highlight checked payment method */
#payment ul.payment_methods li:has(input[type=radio]:checked) {
    border-color: var(--primary-color, #f77426) !important;
    background-color: #fffbf9 !important; /* Soft tint of brand color */
}

#payment ul.payment_methods li input[type=radio] {
    margin-right: 12px !important;
    vertical-align: middle !important;
    margin-top: -2px !important;
}

#payment ul.payment_methods li label {
    font-family: var(--hkt-font-body, 'Inter'), sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    display: inline-block !important;
}

#payment ul.payment_methods li.wc_payment_method > input[type=radio]:checked + label {
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

/* Payment box / tooltip styling */
#payment div.payment_box {
    background-color: #fdfdfd !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 4px !important;
    padding: 15px !important;
    margin: 12px 0 0 0 !important;
    font-size: 13px !important;
    color: #666666 !important;
    line-height: 1.6 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.01) !important;
}

#payment div.payment_box::before {
    display: none !important;
}

#payment div.payment_box p {
    margin: 0 !important;
}

/* Place Order Button */
#place_order {
    width: 100% !important;
    background-color: var(--primary-color, #f77426) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 15px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    margin-top: 10px !important;
}

#place_order:hover {
    background-color: var(--accent-color-hover, #e0651b) !important;
}

/* ==========================================================================
   CHECKOUT COUPON FORM STYLING
   ========================================================================== */
.woocommerce-form-coupon-toggle .woocommerce-info {
    background-color: #fcfcfc !important;
    border: 1px solid #eaeaea !important;
    border-left: 3px solid var(--primary-color, #f77426) !important;
    border-radius: 4px !important;
    padding: 15px 20px !important;
    font-size: 14px !important;
    color: #444444 !important;
    margin-bottom: 20px !important;
    font-family: var(--hkt-font-body, 'Inter'), sans-serif !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
    color: var(--primary-color, #f77426) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon:hover {
    color: var(--accent-color-hover, #e0651b) !important;
}

/* Coupon input form container */
form.checkout_coupon.woocommerce-form-coupon {
    background-color: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    padding: 20px 25px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
    display: flow-root !important;
}

form.checkout_coupon.woocommerce-form-coupon p {
    font-size: 14px !important;
    color: #555555 !important;
    margin-bottom: 15px !important;
    font-family: var(--hkt-font-body, 'Inter'), sans-serif !important;
}

form.checkout_coupon.woocommerce-form-coupon .form-row-first {
    width: 65% !important;
    float: left !important;
    margin-right: 5% !important;
    margin-bottom: 0 !important;
}

form.checkout_coupon.woocommerce-form-coupon .form-row-last {
    width: 30% !important;
    float: left !important;
    margin-bottom: 0 !important;
}

form.checkout_coupon.woocommerce-form-coupon input.input-text {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    height: 42px !important;
    background-color: #ffffff !important;
    font-size: 14px !important;
    font-family: var(--hkt-font-body, 'Inter'), sans-serif !important;
}

form.checkout_coupon.woocommerce-form-coupon button.button[name="apply_coupon"] {
    width: 100% !important;
    height: 42px !important;
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    font-family: var(--hkt-font-headings, 'Montserrat'), sans-serif !important;
    letter-spacing: 0.5px !important;
}

form.checkout_coupon.woocommerce-form-coupon button.button[name="apply_coupon"]:hover {
    background-color: var(--primary-color, #f77426) !important;
}

@media (max-width: 576px) {
    form.checkout_coupon.woocommerce-form-coupon .form-row-first {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }

    form.checkout_coupon.woocommerce-form-coupon .form-row-last {
        width: 100% !important;
        float: none !important;
    }
}


/* ==========================================================================
   SINGLE PRODUCT: STICKY ADD TO CART BAR (AC-FE-03)
   ========================================================================== */
.dev-sticky-add-to-cart-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 65px !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid #eaeaea !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    z-index: 99999 !important;
    transform: translateY(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.dev-sticky-add-to-cart-bar.visible {
    transform: translateY(0) !important;
}

.dev-sticky-container {
    max-width: 1250px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
    padding: 0 20px !important;
}

.dev-sticky-info {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.dev-sticky-thumb {
    width: 45px !important;
    height: 45px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    border: 1px solid #eaeaea !important;
}

.dev-sticky-title-price {
    display: flex !important;
    flex-direction: column !important;
}

.dev-sticky-title {
    font-size: 13px !important;
    margin: 0 !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 250px !important;
}

.dev-sticky-price {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--primary-color, #f77426) !important;
}

.dev-sticky-price ins {
    text-decoration: none !important;
    font-weight: 700 !important;
}

.dev-sticky-price del {
    font-size: 11px !important;
    color: #999999 !important;
    margin-right: 5px !important;
}

.dev-sticky-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.dev-sticky-attr-select {
    height: 36px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    padding: 0 10px !important;
    min-width: 90px !important;
    width: auto !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

.dev-sticky-buy-now-btn {
    height: 36px !important;
    padding: 0 24px !important;
    border: none !important;
    border-radius: 4px !important;
    background-color: var(--primary-color, #f77426) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    line-height: 36px !important;
}

.dev-sticky-buy-now-btn:hover {
    background-color: var(--accent-color-hover, #e0651b) !important;
}

/* Shake Animation for incomplete selection */
@keyframes devShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake-effect {
    animation: devShake 0.5s ease-in-out !important;
}

/* Mobile styles for Sticky Add to Cart */
@media (max-width: 767px) {
    .dev-sticky-info {
        display: none !important;
    }
    .dev-sticky-actions {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    .dev-sticky-attr-select {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .dev-sticky-buy-now-btn {
        flex-shrink: 0 !important;
    }
}

/* ==========================================================================
   WISHLIST BUTTON STYLING (AC-FE-04)
   ========================================================================== */
.wishlist-icon {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10 !important;
    margin: 0 !important;
}

.wishlist-icon button.wishlist-button {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #eaeaea !important;
    color: #444444 !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
    min-width: 0 !important;
    min-height: 0 !important;
    cursor: pointer !important;
}

.wishlist-icon button.wishlist-button:hover {
    background-color: #ffffff !important;
    color: #e53e3e !important; /* Brand red for heart */
    border-color: #e53e3e !important;
    transform: scale(1.1) !important;
}

/* Make sure the inner icon looks correct */
.wishlist-icon button.wishlist-button svg,
.wishlist-icon button.wishlist-button i {
    width: 14px !important;
    height: 14px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.wishlist-popup {
    display: none !important;
}

    /* Remove redundant inner column borders and padding on checkout sidebar column */
    .woocommerce-checkout .large-5 .col-inner {
        border: none !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}

/* Beautiful & Spacious Order Review Card styling */
form.woocommerce-checkout #order_review {
    background-color: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    padding: 30px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

/* Custom header for the checkout columns */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading {
    font-family: var(--hkt-font-headings, 'Montserrat'), sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1.5px solid #1a1a1a !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
    margin-top: 0 !important;
    color: #1a1a1a !important;
}

/* Adjustments for inputs and fields inside checkout */
.woocommerce-checkout .form-row {
    margin-bottom: 15px !important;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    padding: 10px 14px !important;
    font-family: var(--hkt-font-body, 'Inter'), sans-serif !important;
    font-size: 14px !important;
    background-color: #ffffff !important;
    box-shadow: none !important;
    height: auto !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--primary-color, #f77426) !important;
    outline: none !important;
}

/* ==========================================================================
   ORDER REVIEW TABLE STYLING
   ========================================================================== */
.woocommerce-checkout-review-order-table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin-bottom: 25px !important;
    border: none !important;
}

/* Header style */
.woocommerce-checkout-review-order-table thead th {
    font-family: var(--hkt-font-headings, 'Montserrat'), sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    color: #1a1a1a !important;
    border-bottom: 1.5px solid #1a1a1a !important;
    padding: 12px 0 !important;
    text-align: left !important;
    background: transparent !important;
}

.woocommerce-checkout-review-order-table thead th.product-total {
    text-align: right !important;
}

/* Body rows style */
.woocommerce-checkout-review-order-table tbody td {
    font-family: var(--hkt-font-body, 'Inter'), sans-serif !important;
    font-size: 14px !important;
    color: #333333 !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #f2f2f2 !important;
    background: transparent !important;
    line-height: 1.5 !important;
}

.woocommerce-checkout-review-order-table tbody td.product-name {
    font-weight: 500 !important;
    text-align: left !important;
}

.woocommerce-checkout-review-order-table tbody td.product-total {
    font-weight: 600 !important;
    text-align: right !important;
    color: #1a1a1a !important;
}

/* Product quantity badge */
.woocommerce-checkout-review-order-table .product-quantity {
    font-weight: 400 !important;
    color: #888888 !important;
    margin-left: 6px !important;
}

/* Variation options list style */
.woocommerce-checkout-review-order-table dl.variation {
    font-size: 12px !important;
    color: #777777 !important;
    margin: 4px 0 0 0 !important;
    font-weight: 400 !important;
    display: block !important;
    line-height: 1.4 !important;
}

.woocommerce-checkout-review-order-table dl.variation dt,
.woocommerce-checkout-review-order-table dl.variation dd {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout-review-order-table dl.variation dt {
    font-weight: 600 !important;
}

.woocommerce-checkout-review-order-table dl.variation dd:not(:last-child)::after {
    content: ", " !important;
    margin-right: 4px !important;
}

.woocommerce-checkout-review-order-table dl.variation p {
    margin: 0 !important;
    display: inline !important;
}

/* Footer styles (Subtotals, Shipping, Total) */
.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout-review-order-table tfoot td {
    font-family: var(--hkt-font-body, 'Inter'), sans-serif !important;
    font-size: 14px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f2f2f2 !important;
    background: transparent !important;
    font-weight: normal !important;
}

.woocommerce-checkout-review-order-table tfoot th {
    text-align: left !important;
    color: #555555 !important;
}

.woocommerce-checkout-review-order-table tfoot td {
    text-align: right !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
}

/* Shipping rows adjustments */
.woocommerce-checkout-review-order-table td.shipping__inner {
    padding: 0 !important;
    border-bottom: 1px solid #f2f2f2 !important;
}

.woocommerce-checkout-review-order-table table.shipping__table {
    margin: 0 !important;
    width: 100% !important;
}

.woocommerce-checkout-review-order-table table.shipping__table th,
.woocommerce-checkout-review-order-table table.shipping__table td {
    border: none !important;
    padding: 12px 0 !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method li {
    margin-bottom: 6px !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce-checkout-review-order-table ul#shipping_method label {
    font-size: 13px !important;
    font-weight: normal !important;
    color: #555555 !important;
    display: inline !important;
    cursor: pointer !important;
}

/* Total row style */
.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 18px !important;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    border-top: 1.5px solid #1a1a1a !important;
    border-bottom: none !important;
    padding-top: 20px !important;
}

/* ==========================================================================
   PAYMENT SECTION STYLING
   ========================================================================== */
#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 10px !important;
}

#payment ul.payment_methods {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 20px !important;
    list-style: none !important;
    padding-left: 0 !important;
}

#payment ul.payment_methods li {
    padding: 12px 16px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    margin-bottom: 12px !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease !important;
    line-height: 1.5 !important;
    list-style: none !important;
}

#payment ul.payment_methods li:hover {
    border-color: #b5b5b5 !important;
}

/* Highlight checked payment method */
#payment ul.payment_methods li:has(input[type=radio]:checked) {
    border-color: var(--primary-color, #f77426) !important;
    background-color: #fffbf9 !important; /* Soft tint of brand color */
}

#payment ul.payment_methods li input[type=radio] {
    margin-right: 12px !important;
    vertical-align: middle !important;
    margin-top: -2px !important;
}

#payment ul.payment_methods li label {
    font-family: var(--hkt-font-body, 'Inter'), sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    display: inline-block !important;
}

#payment ul.payment_methods li.wc_payment_method > input[type=radio]:checked + label {
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

/* Payment box / tooltip styling */
#payment div.payment_box {
    background-color: #fdfdfd !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 4px !important;
    padding: 15px !important;
    margin: 12px 0 0 0 !important;
    font-size: 13px !important;
    color: #666666 !important;
    line-height: 1.6 !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.01) !important;
}

#payment div.payment_box::before {
    display: none !important;
}

#payment div.payment_box p {
    margin: 0 !important;
}

/* Place Order Button */
#place_order {
    width: 100% !important;
    background-color: var(--primary-color, #f77426) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 15px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    margin-top: 10px !important;
}

#place_order:hover {
    background-color: var(--accent-color-hover, #e0651b) !important;
}

/* ==========================================================================
   SINGLE PRODUCT: STICKY ADD TO CART BAR (AC-FE-03)
   ========================================================================== */
.dev-sticky-add-to-cart-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 65px !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid #eaeaea !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    z-index: 99999 !important;
    transform: translateY(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.dev-sticky-add-to-cart-bar.visible {
    transform: translateY(0) !important;
}

.dev-sticky-container {
    max-width: 1250px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100% !important;
    padding: 0 20px !important;
}

.dev-sticky-info {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.dev-sticky-thumb {
    width: 45px !important;
    height: 45px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    border: 1px solid #eaeaea !important;
}

.dev-sticky-title-price {
    display: flex !important;
    flex-direction: column !important;
}

.dev-sticky-title {
    font-size: 13px !important;
    margin: 0 !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 250px !important;
}

.dev-sticky-price {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--primary-color, #f77426) !important;
}

.dev-sticky-price ins {
    text-decoration: none !important;
    font-weight: 700 !important;
}

.dev-sticky-price del {
    font-size: 11px !important;
    color: #999999 !important;
    margin-right: 5px !important;
}

.dev-sticky-actions {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.dev-sticky-attr-select {
    height: 36px !important;
    border: 1px solid #eaeaea !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    padding: 0 10px !important;
    min-width: 90px !important;
    width: auto !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

.dev-sticky-buy-now-btn {
    height: 36px !important;
    padding: 0 24px !important;
    border: none !important;
    border-radius: 4px !important;
    background-color: var(--primary-color, #f77426) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    line-height: 36px !important;
}

.dev-sticky-buy-now-btn:hover {
    background-color: var(--accent-color-hover, #e0651b) !important;
}

/* Shake Animation for incomplete selection */
@keyframes devShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake-effect {
    animation: devShake 0.5s ease-in-out !important;
}

/* Mobile styles for Sticky Add to Cart */
@media (max-width: 767px) {
    .dev-sticky-info {
        display: none !important;
    }
    .dev-sticky-actions {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }
    .dev-sticky-attr-select {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .dev-sticky-buy-now-btn {
        flex-shrink: 0 !important;
    }
}

/* ==========================================================================
   WISHLIST BUTTON STYLING (AC-FE-04)
   ========================================================================== */
.wishlist-icon {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10 !important;
    margin: 0 !important;
}

.wishlist-icon button.wishlist-button {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #eaeaea !important;
    color: #444444 !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
    min-width: 0 !important;
    min-height: 0 !important;
    cursor: pointer !important;
}

.wishlist-icon button.wishlist-button:hover {
    background-color: #ffffff !important;
    color: #e53e3e !important; /* Brand red for heart */
    border-color: #e53e3e !important;
    transform: scale(1.1) !important;
}

/* Make sure the inner icon looks correct */
.wishlist-icon button.wishlist-button svg,
.wishlist-icon button.wishlist-button i {
    width: 14px !important;
    height: 14px !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.wishlist-popup {
    display: none !important;
}

/* ==========================================================================
   CLASSIC CHECKOUT LAYOUT AND FIELD ALIGNMENT (RESTORE 3-TIER STRUCTURE)
   ========================================================================== */
.woocommerce-checkout .form-row-wide {
    clear: both !important;
    display: block !important;
    width: 100% !important;
    margin-bottom: 15px !important;
}

/* Fix overlapping select/input labels in Flatsome form fields */
.woocommerce-checkout .form-row label {
    display: block !important;
    margin-bottom: 5px !important;
    font-weight: 600 !important;
    color: var(--text-color-slate) !important;
}

.woocommerce-checkout select,
.woocommerce-checkout input.input-text {
    width: 100% !important;
    height: 42px !important;
    padding: 8px 12px !important;
    border: 1px solid var(--border-color-light) !important;
    border-radius: var(--border-radius-minimal) !important;
    background-color: #ffffff !important;
}

/* Hide custom district field visually */
.woocommerce-checkout .hkt-hidden-field {
    display: none !important;
}

/* Hover style directly on the Quick View button itself */
.image-tools.grid-tools a.quick-view:hover {
    background-color: var(--accent-color-hover, #e0651b) !important;
    transform: scale(1.02) !important;
}

/* ==========================================================================
   E-INVOICE SENDER STYLES
   ========================================================================== */
.hkt-invoice-actions {
    margin: 20px 0;
    padding: 20px;
    background-color: #fcfcfc;
    border: 1px dashed #1a1a1a;
    border-radius: 4px;
    display: block;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.hkt-invoice-actions p {
    margin-bottom: 12px;
    font-size: 14px;
    color: #555555;
}
.hkt-btn-send-invoice {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border: 1px solid #1a1a1a !important;
    padding: 12px 24px !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0px !important; /* Minimalist flat style */
}
.hkt-btn-send-invoice:hover {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}
.hkt-btn-send-invoice:disabled {
    background-color: #eaeaea !important;
    border-color: #eaeaea !important;
    color: #999999 !important;
    cursor: not-allowed !important;
}
.hkt-btn-send-invoice .hkt-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: hkt-spin 0.8s linear infinite;
    margin-right: 10px;
    display: none;
}
.hkt-btn-send-invoice:hover .hkt-spinner {
    border-top-color: #1a1a1a;
    border-color: rgba(0, 0, 0, 0.1);
}
.hkt-btn-send-invoice.loading .hkt-spinner {
    display: inline-block;
}
.hkt-invoice-message {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    display: none;
    font-family: "Inter", sans-serif;
}
.hkt-invoice-message.success {
    color: #2e7d32;
    display: block;
}
.hkt-invoice-message.error {
    color: #c62828;
    display: block;
}
@keyframes hkt-spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   MINIMALIST CHECKOUT CUSTOMIZATION & HIDDEN FIELDS
   ========================================================================== */
.hkt-hidden-field {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Biến trường ảo hiển thị trỏ tay (pointer) khi hover để biết là click được */
.hkt-address-picker-trigger-row input {
    cursor: pointer !important;
    background-color: #fcfcfc !important;
}

/* Hide ship to different address checkbox & title to make it super minimalist */
#ship-to-different-address,
.shipping_address {
    display: none !important;
}

/* ==========================================================================
   HKT ADDRESS PICKER MODAL SYSTEM (TỈNH -> QUẬN -> PHƯỜNG)
   ========================================================================== */
body.hkt-modal-open {
    overflow: hidden !important;
}

.hkt-address-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
    z-index: 999999 !important;
    display: none !important; /* Ẩn mặc định để tránh ghi đè */
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.hkt-address-modal-overlay.active {
    display: flex !important; /* Hiển thị khi active */
}

.hkt-address-modal {
    width: 100% !important;
    max-width: 480px !important;
    background-color: #ffffff !important;
    border: 1px solid #1a1a1a !important;
    border-radius: 0px !important; /* Flat design */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    display: flex !important;
    flex-direction: column !important;
    max-height: 90vh !important;
    animation: hkt-modal-zoom 0.25s ease-out;
}

@keyframes hkt-modal-zoom {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.hkt-address-modal-header {
    padding: 16px 20px !important;
    border-bottom: 1px solid #eeeeee !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.hkt-address-modal-header h3 {
    margin: 0 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #1a1a1a !important;
}

.hkt-address-modal-close {
    font-size: 24px !important;
    font-weight: 300 !important;
    color: #999999 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
}

.hkt-address-modal-close:hover {
    color: #1a1a1a !important;
}

/* Tabs phân chia bước chọn */
.hkt-address-modal-tabs {
    display: flex !important;
    border-bottom: 1px solid #eeeeee !important;
    background-color: #fafafa !important;
}

.hkt-address-tab {
    flex: 1 !important;
    padding: 12px 10px !important;
    text-align: center !important;
    font-family: "Inter", sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #999999 !important;
    cursor: pointer !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    border-right: 1px solid #eeeeee !important;
    transition: all 0.2s ease !important;
}

.hkt-address-tab:last-child {
    border-right: none !important;
}

.hkt-address-tab .tab-num {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border: 1px solid #999999 !important;
    border-radius: 50% !important;
    margin-bottom: 4px !important;
    font-size: 10px !important;
}

.hkt-address-tab.active {
    color: #1a1a1a !important;
    background-color: #ffffff !important;
}

.hkt-address-tab.active .tab-num {
    border-color: #1a1a1a !important;
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

.hkt-address-tab.disabled {
    cursor: not-allowed !important;
    opacity: 0.5 !important;
}

/* Ô tìm kiếm phẳng */
.hkt-address-modal-search-wrapper {
    padding: 15px 20px !important;
    border-bottom: 1px solid #eeeeee !important;
}

.hkt-address-modal-search-wrapper input {
    width: 100% !important;
    border: 1px solid #dddddd !important;
    border-radius: 0px !important;
    padding: 10px 14px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 13px !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
}

.hkt-address-modal-search-wrapper input:focus {
    border-color: #1a1a1a !important;
}

/* Vùng hiển thị danh sách */
.hkt-address-modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 10px 0 !important;
    min-height: 250px !important;
    max-height: 50vh !important;
}

.hkt-address-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hkt-address-list li.address-item {
    padding: 12px 20px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 13px !important;
    color: #333333 !important;
    cursor: pointer !important;
    border-bottom: 1px solid #f9f9f9 !important;
    transition: all 0.2s ease !important;
}

.hkt-address-list li.address-item:last-child {
    border-bottom: none !important;
}

.hkt-address-list li.address-item:hover {
    background-color: #f5f5f5 !important;
    color: #1a1a1a !important;
    padding-left: 24px !important;
}

.hkt-address-list li.no-results,
.hkt-address-list li.error-item {
    padding: 20px !important;
    text-align: center !important;
    color: #777777 !important;
    font-size: 13px !important;
}

/* Loading Spinner Modal */
.hkt-address-loading {
    padding: 40px 20px !important;
    text-align: center !important;
    color: #777777 !important;
}

.hkt-modal-spinner {
    display: inline-block !important;
    width: 28px !important;
    height: 28px !important;
    border: 2px solid rgba(0,0,0,0.06) !important;
    border-radius: 50% !important;
    border-top-color: #1a1a1a !important;
    animation: hkt-spin 0.8s linear infinite !important;
    margin-bottom: 12px !important;
}

/* ==========================================================================
   GOOGLE PLACES AUTOCOMPLETE DROPDOWN STYLING
   ========================================================================== */
.pac-container {
    border: 1px solid #1a1a1a !important;
    border-radius: 0px !important; /* Flat design */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    font-family: "Inter", sans-serif !important;
    margin-top: 2px !important;
    z-index: 99999999 !important; /* Nổi bật trên mọi thành phần */
    padding: 5px 0 !important;
}

.pac-item {
    padding: 10px 14px !important;
    font-size: 13px !important;
    color: #555555 !important;
    cursor: pointer !important;
    border-top: none !important;
    border-bottom: 1px solid #f6f6f6 !important;
    transition: background-color 0.2s ease !important;
    line-height: 1.5 !important;
}

.pac-item:last-child {
    border-bottom: none !important;
}

.pac-item:hover {
    background-color: #f5f5f5 !important;
}

.pac-item-query {
    font-size: 13px !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    padding-right: 5px !important;
}

.pac-icon {
    display: none !important; /* Ẩn icon marker mặc định của Google cho gọn */
}

/* Mobile responsive cho Modal */
@media (max-width: 550px) {
    .hkt-address-modal-overlay {
        align-items: flex-end !important; /* Slide up từ dưới lên trên Mobile */
    }
    
    .hkt-address-modal {
        max-width: 100% !important;
        width: 100% !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        max-height: 85vh !important;
        border-radius: 12px 12px 0 0 !important; /* Rounded corners top on mobile */
    }
}

/* ==========================================================================
   HKT COUPON WALLET CARD STYLING (GLOBAL)
   ========================================================================== */
.hkt-coupon-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 20px !important;
}

.hkt-coupon-card {
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-left: 5px solid #f77426 !important;
    border-radius: 8px !important;
    padding: 18px 20px !important;
    position: relative !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.hkt-coupon-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
}

.hkt-coupon-badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background-color: #fff0eb !important;
    color: #f77426 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.hkt-coupon-badge.alert {
    background-color: #ffebeb !important;
    color: #cc0000 !important;
}

.hkt-coupon-value {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.hkt-coupon-desc {
    font-size: 12px !important;
    color: #666666 !important;
    margin-bottom: 15px !important;
    line-height: 1.5 !important;
}

.hkt-coupon-action {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #fafafa !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    border: 1px dashed #dddddd !important;
}

.hkt-coupon-code {
    font-family: monospace !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

.hkt-copy-coupon-btn {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 4px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    outline: none !important;
}

.hkt-copy-coupon-btn:hover {
    background: #f77426 !important;
}

.hkt-copy-coupon-btn.copied {
    background: #7a9c59 !important;
}



