/* ==========================================================================
   HỆ THỐNG XE MÁY Xe Máy Nhập Khẩu - EGA BIKE STYLE FOR BLOCKSY & WOOCOMMERCE
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --text-color: #333333;
    --body-background: #F8F8F8;
    --text-secondary-color: #666666;
    --primary-color: #FF3237;
    --secondary-color: #292929;
    --price-color: #EB3030;
    --subheader-background: #a50a06;
    --subheader-color: #fff3f4;
    --header-category-bg: #840603;
    --header-category-color: #ffffff;
    --label-background: #EB3030;
    --label-color: #ffffff;
    --footer-bg: #292929;
    --footer-color: #ffffff;
    --sale-pop-color: #FFDB00;
    --policies-bg: #3e73b3;
    --policies-color: #ffffff;
    --starColor: #f5cb23;
    --process-color: #DA273F;
}

body {
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background-color: var(--body-background) !important;
    color: var(--text-color) !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Hide default Blocksy header & footer and WooCommerce cart buttons */
header#header,
.site-header,
footer#footer,
.site-footer,
.ct-drawer-canvas,
.woocommerce-cart-form,
.single_add_to_cart_button,
form.cart {
    display: none !important;
}

.home .entry-header,
.home .hero-section,
.single-product .entry-header,
.single-product .hero-section {
    display: none !important;
}

.home #main-container .ct-container,
.home .site-main,
.home .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hc-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* ==========================================================================
   1. TOP BANNER + HEADER + SUBHEADER (NO CART, PURE CONSULTATION MODE)
   ========================================================================== */
.hc-top-banner {
    background: #292929;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 0;
    text-align: center;
    position: relative;
    letter-spacing: 0.4px;
}
.hc-top-banner a {
    color: #ffffff;
    text-decoration: none;
}
.hc-top-banner a:hover {
    color: var(--sale-pop-color);
}
.hc-top-banner .hc-top-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}

.hc-header {
    background: var(--primary-color);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.hc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.hc-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.hc-logo img {
    max-height: 46px;
    width: auto;
    display: block;
}

.hc-search-wrap {
    flex: 1;
    max-width: 560px;
}
.hc-search-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    padding: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.hc-search-form input[type="search"] {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 9px 14px;
    font-size: 14px;
    color: #292929;
    background: transparent;
    font-family: inherit;
}
.hc-search-form button {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 9px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s;
}
.hc-search-form button:hover {
    background: #d91b20;
}

.hc-header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}
.hc-action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.35;
}
.hc-action-item:hover {
    color: var(--sale-pop-color);
}
.hc-action-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    background: rgba(0,0,0,0.08);
    position: relative;
}

/* Subheader Navigation Bar */
.hc-subheader {
    background: var(--subheader-background);
    color: #ffffff;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.hc-subheader-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hc-cat-Menu-btn {
    background: var(--header-category-bg);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
}
.hc-cat-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.16);
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    padding: 8px 0;
}
.hc-cat-Menu-btn:hover .hc-cat-dropdown {
    display: block;
}
.hc-cat-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    color: #292929;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: none;
    border-bottom: 1px solid #f3f4f6;
}
.hc-cat-dropdown a:hover {
    background: #fff5f5;
    color: var(--primary-color);
    padding-left: 22px;
}

.hc-main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.hc-main-nav > li {
    position: relative;
}
.hc-main-nav > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 18px;
    transition: 0.2s;
}
.hc-main-nav > li:hover > a {
    background: rgba(0,0,0,0.18);
    color: var(--sale-pop-color);
}
.hc-sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 0 0 6px 6px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    z-index: 999;
}
.hc-main-nav > li:hover .hc-sub-menu {
    display: block;
}
.hc-sub-menu li a {
    display: block;
    padding: 9px 18px;
    color: #292929;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.hc-sub-menu li a:hover {
    background: #fff5f5;
    color: var(--primary-color);
}

/* ==========================================================================
   2. SINGLE PRODUCT DETAIL PAGE - EXACT hoangcau.COM SCREENSHOT LAYOUT
   ========================================================================== */
.hc-breadcrumb-bar {
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 11px 0;
    margin-bottom: 24px;
    font-size: 13.5px;
    color: #777777;
}
.hc-breadcrumb-bar a {
    color: #555555;
    text-decoration: none;
}
.hc-breadcrumb-bar a:hover {
    color: var(--primary-color);
}
.hc-breadcrumb-bar .hc-bc-sep {
    margin: 0 8px;
    color: #bbbbbb;
}
.hc-breadcrumb-bar .hc-bc-current {
    color: #999999;
}

.hc-single-product-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    margin-bottom: 28px;
}

.hc-sp-top-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    align-items: flex-start;
}

/* Left Column: Vertical Thumbnails + Main Image */
.hc-sp-gallery-wrap {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.hc-sp-thumbs-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 76px;
    flex-shrink: 0;
    max-height: 490px;
    overflow-y: auto;
}
.hc-sp-thumb-item {
    width: 72px;
    height: 72px;
    border: 1.5px solid #e5e7eb;
    border-radius: 4px;
    padding: 4px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-sizing: border-box;
}
.hc-sp-thumb-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.hc-sp-thumb-item.active,
.hc-sp-thumb-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.hc-sp-main-stage {
    flex: 1;
    position: relative;
    background: #f9f9f9;
    border-radius: 6px;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 16px;
}
.hc-sp-main-stage img#hcMainProductImg {
    max-width: 100%;
    max-height: 450px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: opacity 0.2s ease, transform 0.3s ease;
}
.hc-sp-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid #e5e7eb;
    color: #444;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: 0.2s;
}
.hc-sp-nav-arrow:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.hc-sp-nav-prev { left: 12px; }
.hc-sp-nav-next { right: 12px; }

/* Right Column: Summary, Dashed Promo Box, Swatch Selector & Direct Consultation Form */
.hc-sp-title {
    font-size: 24px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}
.hc-sp-meta-row {
    font-size: 13.5px;
    color: #666666;
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.hc-sp-meta-row strong {
    color: #333333;
    font-weight: 600;
}
.hc-sp-price-box {
    margin-bottom: 18px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.hc-sp-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--price-color);
}
.hc-sp-old-price {
    font-size: 15px;
    color: #999999;
    text-decoration: line-through;
}

/* Dashed Promotion Box exactly like screenshot */
.hc-sp-promo-fieldset {
    border: 1.5px dashed #333333;
    border-radius: 4px;
    padding: 16px 20px 14px;
    margin: 18px 0 20px;
    position: relative;
    background: #ffffff;
}
.hc-sp-promo-legend {
    font-size: 13.5px;
    font-weight: 700;
    color: #292929;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
}
.hc-sp-promo-list {
    margin: 4px 0 0 0;
    padding-left: 20px;
    font-size: 13.5px;
    color: #444444;
    line-height: 1.85;
}
.hc-sp-promo-list strong {
    color: #222222;
    font-weight: 700;
}

/* Swatch Selector (Kiểu dáng / Màu sắc) with Red Corner Checkmark */
.hc-swatch-block {
    margin-bottom: 18px;
}
.hc-swatch-header {
    font-size: 14px;
    color: #333333;
    margin-bottom: 10px;
}
.hc-swatch-header strong {
    font-weight: 700;
}
.hc-swatch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hc-swatch-option {
    position: relative;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #333333;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 2px;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
    overflow: hidden;
    font-family: inherit;
}
.hc-swatch-option:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.hc-swatch-option.active {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}
/* Red top-right triangle + white checkmark exactly like screenshot */
.hc-swatch-option.active::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 16px 16px 0;
    border-color: transparent var(--primary-color) transparent transparent;
}
.hc-swatch-option.active::after {
    content: "✓";
    position: absolute;
    top: -1px;
    right: 1px;
    font-size: 9px;
    color: #ffffff;
    font-weight: bold;
    line-height: 1;
}

/* Direct Consultation / Order Form on Product Page */
.hc-sp-consult-card {
    background: #fdfdfd;
    border: 1.5px solid #f1f1f1;
    border-radius: 8px;
    padding: 18px 20px;
    margin-top: 18px;
}
.hc-sp-consult-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 0 6px 0;
    text-transform: uppercase;
}
.hc-sp-selected-summary {
    background: #fff5f5;
    border-left: 3px solid var(--primary-color);
    padding: 8px 12px;
    font-size: 13px;
    color: #292929;
    margin-bottom: 14px;
    border-radius: 0 4px 4px 0;
}
.hc-sp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}
.hc-sp-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 13.5px;
    font-family: inherit;
    box-sizing: border-box;
}
.hc-sp-input:focus {
    border-color: var(--primary-color);
    outline: none;
}
.hc-sp-submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 13px 20px;
    font-size: 14.5px;
    font-weight: 800;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.2s;
    font-family: inherit;
}
.hc-sp-submit-btn:hover {
    background: #d81b20;
}

.hc-sp-call-line {
    text-align: center;
    font-size: 14.5px;
    color: #555555;
    margin: 18px 0 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e5e7eb;
}
.hc-sp-call-line a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}
.hc-sp-bottom-perks {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #555555;
    flex-wrap: wrap;
    gap: 12px;
}
.hc-sp-perk-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   3. HOMEPAGE SECTIONS (SLIDER, CATEGORIES, COUPONS, FLASHSALE, ETC.)
   ========================================================================== */
.hc-section {
    margin-bottom: 28px;
}
.hc-card-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.hc-hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
    margin-bottom: 28px;
    background: #111;
}
.hc-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.hc-slide {
    min-width: 100%;
    position: relative;
}
.hc-slide img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    display: block;
}
.hc-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hc-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: 0.25s;
}
.hc-slider-dot.active {
    width: 28px;
    border-radius: 10px;
    background: var(--primary-color);
}
.hc-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    color: #292929;
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    transition: 0.2s;
}
.hc-slider-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}
.hc-slider-prev { left: 20px; }
.hc-slider-next { right: 20px; }

.hc-heading-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f1f1;
}
.hc-heading-title {
    font-size: 22px;
    font-weight: 800;
    color: #292929;
    margin: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}
.hc-heading-title a {
    color: inherit;
    text-decoration: none;
}
.hc-heading-title a:hover {
    color: var(--primary-color);
}
.hc-btn-viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    background: #ffffff;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.2s;
}
.hc-btn-viewall:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.hc-season-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.hc-ss-item {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.hc-ss-item:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(255, 50, 55, 0.12);
}
.hc-ss-img {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.hc-ss-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.hc-ss-item:hover .hc-ss-img img {
    transform: scale(1.08);
}
.hc-ss-name {
    font-weight: 800;
    font-size: 15px;
    color: #292929;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.hc-ss-count {
    font-size: 12px;
    color: #777777;
    margin-bottom: 10px;
}
.hc-ss-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f1f1;
    color: #292929;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: 0.2s;
}
.hc-ss-item:hover .hc-ss-arrow {
    background: var(--primary-color);
    color: #ffffff;
}

/* Coupon Cards */
.hc-coupon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.hc-coupon-card {
    display: flex;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    position: relative;
    transition: 0.2s;
}
.hc-coupon-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 18px rgba(255, 50, 55, 0.12);
}
.hc-coupon-left {
    width: 86px;
    background: #fff5f5;
    border-right: 2px dashed #fca5a5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    flex-shrink: 0;
}
.hc-coupon-left img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}
.hc-coupon-body {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hc-coupon-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #372720;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}
.hc-coupon-desc {
    font-size: 12px;
    color: #666666;
    margin-bottom: 10px;
    line-height: 1.35;
}
.hc-coupon-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.hc-coupon-meta {
    font-size: 11px;
    color: #555;
    line-height: 1.35;
}
.hc-coupon-meta strong {
    color: var(--primary-color);
}
.hc-coupon-copy {
    background: #372720;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 6px 11px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}
.hc-coupon-copy:hover,
.hc-coupon-copy.copied {
    background: var(--primary-color);
}

/* Flash Sale & Product Grid */
.hc-flashsale-box {
    background: #ffffff;
    border-radius: 10px;
    padding: 24px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 6px 24px rgba(255, 50, 55, 0.08);
}
.hc-flashsale-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f1f1;
}
.hc-flashsale-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.hc-flashsale-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    text-transform: uppercase;
}
.hc-flashsale-title img {
    height: 30px;
    width: auto;
}
.hc-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}
.hc-cd-box {
    background: #000000;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    padding: 5px 8px;
    border-radius: 4px;
    min-width: 28px;
    text-align: center;
}

.hc-tabs-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.hc-tab-btn {
    background: #f3f4f6;
    color: #374151;
    border: none;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    font-family: inherit;
}
.hc-tab-btn.active,
.hc-tab-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.hc-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.hc-product-card {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    position: relative;
    padding: 14px;
}
.hc-product-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.hc-prod-thumb {
    position: relative;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
    background: #ffffff;
}
.hc-prod-thumb img {
    max-height: 195px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}
.hc-product-card:hover .hc-prod-thumb img {
    transform: scale(1.07);
}
.hc-prod-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

.hc-prod-vendor {
    font-size: 11.5px;
    font-weight: 700;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}
.hc-prod-name {
    font-size: 15px;
    font-weight: 700;
    color: #292929;
    margin: 0 0 8px 0;
    line-height: 1.4;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hc-prod-name a {
    color: #292929;
    text-decoration: none;
}
.hc-prod-name a:hover {
    color: var(--primary-color);
}

.hc-price-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}
.hc-price-current {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--price-color);
}
.hc-price-compare {
    font-size: 13px;
    color: #999999;
    text-decoration: line-through;
}
.hc-discount-label {
    background: #EB3030;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
}

.hc-color-swatches {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}
.hc-color-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    position: relative;
    transition: transform 0.15s;
}
.hc-color-dot:hover {
    transform: scale(1.2);
    border-color: var(--primary-color);
}

.hc-card-select-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #fff5f5;
    color: var(--primary-color);
    border: 1px solid #fecaca;
    padding: 8px 10px;
    border-radius: 5px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.2s;
    box-sizing: border-box;
}
.hc-card-select-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.hc-stock-progress {
    background: #E9ECEF;
    border-radius: 99px;
    height: 18px;
    position: relative;
    overflow: hidden;
    margin-top: 4px;
}
.hc-stock-bar {
    background: linear-gradient(90deg, #FF3237, #DA273F);
    height: 100%;
    border-radius: 99px;
}
.hc-stock-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Lookbook, Reviews, Blogs, Policies, Footer */
.hc-lookbook-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: center;
}
.hc-lookbook-banner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #111827;
}
.hc-lookbook-banner img {
    width: 100%;
    height: auto;
    display: block;
}
.hc-hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: 3px solid #fff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 0 6px rgba(255,50,55,0.3);
}
.hc-hotspot-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    width: 210px;
    background: #ffffff;
    color: #292929;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    display: none;
    z-index: 20;
    text-align: left;
}
.hc-hotspot:hover .hc-hotspot-tooltip {
    display: block;
}

.hc-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.hc-review-card {
    background: #292929;
    color: #ffffff;
    padding: 24px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hc-review-stars {
    color: var(--starColor);
    font-size: 16px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.hc-review-text {
    font-size: 14px;
    line-height: 1.65;
    color: #e5e7eb;
    font-style: italic;
    margin-bottom: 16px;
}
.hc-review-author strong {
    display: block;
    font-size: 15px;
    color: #ffffff;
}
.hc-review-author span {
    font-size: 12px;
    color: var(--sale-pop-color);
}

.hc-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.hc-blog-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    display: flex;
    flex-direction: column;
    transition: 0.25s;
}
.hc-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}
.hc-blog-thumb {
    height: 170px;
    overflow: hidden;
    background: #f3f4f6;
}
.hc-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hc-blog-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hc-blog-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #292929;
    margin: 0 0 8px 0;
    line-height: 1.45;
}
.hc-blog-title a {
    color: inherit;
    text-decoration: none;
}
.hc-blog-title a:hover {
    color: var(--primary-color);
}
.hc-blog-excerpt {
    font-size: 12.5px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
}
.hc-blog-more {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.hc-policies-bar {
    background: var(--policies-bg);
    color: var(--policies-color);
    padding: 22px 0;
    margin-top: 40px;
}
.hc-policies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hc-policy-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.hc-policy-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.hc-policy-title {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 3px 0;
    color: #ffffff;
}
.hc-policy-desc {
    font-size: 12.5px;
    color: rgba(255,255,255,0.88);
}

.hc-footer {
    background: var(--footer-bg);
    color: var(--footer-color);
    padding: 48px 0 24px;
    font-size: 13.5px;
    line-height: 1.7;
}
.hc-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1fr 1.1fr;
    gap: 30px;
    margin-bottom: 32px;
}
.hc-footer-title {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    position: relative;
    padding-bottom: 8px;
}
.hc-footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}
.hc-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.hc-footer-list li {
    margin-bottom: 9px;
    color: #d1d5db;
}
.hc-footer-list a {
    color: #d1d5db;
    text-decoration: none;
    transition: 0.2s;
}
.hc-footer-list a:hover {
    color: var(--primary-color);
}
.hc-newsletter-form {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}
.hc-newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 4px;
    border: none;
    font-size: 13px;
}
.hc-newsletter-form button {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}
.hc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #9ca3af;
    font-size: 13px;
}

.hc-floating-cta {
    position: fixed;
    right: 20px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}
.hc-float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 99px;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
    transition: transform 0.2s;
}
.hc-float-btn:hover {
    transform: translateY(-3px) scale(1.03);
    color: #ffffff;
}
.hc-float-phone { background: var(--primary-color); }
.hc-float-zalo { background: #0068ff; }

/* Prevent fieldset / grid children from ever causing horizontal overflow on mobile */
.hc-single-product-box,
.hc-sp-top-grid,
.hc-sp-gallery-wrap,
.hc-sp-main-stage,
.hc-sp-summary,
.hc-sp-promo-fieldset,
.hc-sp-consult-card,
.hc-card-box {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}
.hc-sp-promo-legend {
    white-space: normal;
    max-width: 100%;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .hc-sp-top-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .hc-season-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hc-coupon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-policies-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hc-lookbook-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    .hc-container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }

    /* Top Banner gọn trên điện thoại */
    .hc-top-banner {
        font-size: 11.5px;
        padding: 6px 28px 6px 10px;
    }
    .hc-top-banner .hc-top-close {
        right: 8px;
    }

    /* Header gọn gàng, không chiếm diện tích màn hình khi cuộn trên điện thoại */
    .hc-header {
        position: relative;
        padding: 10px 0;
    }
    .hc-header-inner {
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }
    .hc-logo img {
        max-height: 36px;
    }
    .hc-header-actions {
        gap: 10px;
        margin-left: auto;
        flex-wrap: wrap;
    }
    .hc-action-item {
        font-size: 11.5px;
        gap: 6px;
    }
    .hc-action-item span[style*="font-size:11.5px"] {
        display: none !important;
    }
    .hc-action-item strong {
        font-size: 12.5px !important;
    }
    .hc-action-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .hc-search-wrap {
        order: 3;
        max-width: 100%;
        width: 100%;
        flex: 0 0 100%;
    }
    .hc-search-form input[type="search"] {
        padding: 7px 10px;
        font-size: 13px;
        min-width: 0;
    }
    .hc-search-form button {
        padding: 7px 12px;
        font-size: 12.5px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Thanh menu đỏ hiển thị đầy đủ tất cả các mục (gồm cả Thanh Toán) trên điện thoại */
    .hc-subheader-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        padding: 4px 6px;
    }
    .hc-cat-Menu-btn {
        display: none;
    }
    .hc-main-nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px 4px;
    }
    .hc-main-nav > li > a {
        padding: 7px 9px;
        font-size: 12.5px;
        white-space: nowrap;
        border-radius: 4px;
    }

    /* Trang chi tiết xe trên điện thoại: vừa khít 100% màn hình, không bị tràn phải */
    .hc-breadcrumb-bar {
        font-size: 12px;
        padding: 8px 0;
        margin-bottom: 12px;
        white-space: nowrap;
        overflow-x: auto;
    }
    .hc-single-product-box {
        padding: 12px;
        margin-bottom: 16px;
        border-radius: 8px;
    }
    .hc-sp-top-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .hc-sp-gallery-wrap {
        flex-direction: column-reverse;
        width: 100%;
        gap: 10px;
    }
    .hc-sp-main-stage {
        width: 100%;
        min-height: 240px;
        max-height: 310px;
        padding: 8px;
    }
    .hc-sp-main-stage img#hcMainProductImg {
        max-width: 100%;
        max-height: 270px;
        width: auto;
        height: auto;
    }
    .hc-sp-nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .hc-sp-nav-prev { left: 6px; }
    .hc-sp-nav-next { right: 6px; }
    .hc-sp-thumbs-col {
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .hc-sp-thumb-item {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    /* Tiêu đề, giá, hộp khuyến mãi và nút chọn màu trên điện thoại */
    .hc-sp-title {
        font-size: 18.5px;
        line-height: 1.35;
        word-break: break-word;
    }
    .hc-sp-meta-row {
        font-size: 12.5px;
        gap: 8px 14px;
        margin-bottom: 10px;
    }
    .hc-sp-price {
        font-size: 21px;
    }
    .hc-sp-old-price {
        font-size: 13.5px;
    }
    .hc-sp-promo-fieldset {
        padding: 12px 12px 10px;
        margin: 14px 0;
        width: 100%;
    }
    .hc-sp-promo-legend {
        font-size: 12px;
        padding: 0 6px;
    }
    .hc-sp-promo-list {
        font-size: 12.5px;
        padding-left: 16px;
        line-height: 1.65;
    }
    .hc-swatch-list {
        gap: 8px;
    }
    .hc-swatch-option {
        padding: 7px 11px;
        font-size: 12.5px;
    }

    /* Khung Form đăng ký tư vấn trên điện thoại */
    .hc-sp-consult-card {
        padding: 14px 12px;
        margin-top: 14px;
    }
    .hc-sp-consult-title {
        font-size: 13.5px;
        line-height: 1.4;
    }
    .hc-sp-selected-summary {
        font-size: 12.5px;
        padding: 8px 10px;
    }
    .hc-sp-form-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .hc-sp-submit-btn {
        padding: 12px 14px;
        font-size: 13.5px;
    }

    /* Bảng thông số kỹ thuật và mô tả sản phẩm */
    .hc-card-box {
        padding: 14px 12px;
    }
    .hc-heading-title {
        font-size: 16.5px;
    }
    .hc-product-detail-content table {
        display: block;
        width: 100% !important;
        overflow-x: auto;
        font-size: 13px;
    }

    /* Lưới sản phẩm 2 cột cân đối trên điện thoại */
    .hc-season-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .hc-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .hc-product-card {
        padding: 10px;
    }
    .hc-prod-thumb {
        height: 135px;
        margin-bottom: 8px;
    }
    .hc-prod-thumb img {
        max-height: 125px;
    }
    .hc-prod-name {
        font-size: 13px;
        min-height: 36px;
        margin-bottom: 6px;
    }
    .hc-price-current {
        font-size: 14px;
    }
    .hc-price-compare {
        font-size: 11px;
    }
    .hc-card-select-btn {
        font-size: 11.5px;
        padding: 6px 6px;
    }

    .hc-coupon-grid,
    .hc-review-grid,
    .hc-blog-grid,
    .hc-policies-grid,
    .hc-footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    /* Nút nổi góc phải dưới gọn hơn trên điện thoại */
    .hc-floating-cta {
        right: 12px;
        bottom: 14px;
        gap: 8px;
    }
    .hc-float-btn {
        padding: 8px 13px;
        font-size: 12px;
    }
}
