﻿/* ==============================================
   IN áº¤N HCM Theme â€” Anesta-style sidebar layout
   Complete rewrite for pixel-perfect match
   ============================================== */

/* --- VARIABLES (exact Anesta values from skin-setup.php) --- */
:root {
    --sb: 330px;
    --sb-mini: 110px;
    --tb: 64px;
    --blue: #0D4BC1;
    --blue-hover: #083FA9;
    --blue-bg: #eef1fb;
    --orange: #FB582A;
    --orange-hover: #EA4B1E;
    --orange-bg: #fff3e0;
    --yellow: #FFB039;
    --dark: #071021;
    --text: #7A7E83;
    --text2: #9C9DA1;
    --border: #E4E4E4;
    --bg: #f1f3f6;
    --white: #ffffff;
    --nav-bg: #F9FAFC;
    --menu-bg: #FCFCFC;
    --r: 8px;
    --r2: 26px;
    --f: 'Inter', sans-serif;
    --fast: .3s ease;
    --ease: .3s linear;
}

/* --- RESET --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    font-size: 15px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

body {
    font-family: var(--f);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6em;
    font-weight: 400;
    overflow-x: hidden
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .3s ease, background-color .3s ease
}

img {
    max-width: 100%;
    display: block
}

ul,
ol {
    list-style: none
}

h1 {
    font-size: 45px;
    font-weight: 600;
    line-height: 1.111em;
    letter-spacing: -0.02em;
    color: var(--dark)
}

h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.142em;
    color: var(--dark)
}

h3 {
    font-size: 23px;
    font-weight: 600;
    line-height: 1.217em;
    color: var(--dark)
}

h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3em;
    color: var(--dark)
}

h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.335em;
    color: var(--dark)
}

h6 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.333em;
    color: var(--dark)
}

b,
strong,
dt {
    font-weight: 500;
}

/* --- LAYOUT --- */
.anesta-layout {
    min-height: 100vh
}

/* ==============================================
   SIDEBAR
   ============================================== */
.anesta-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sb);
    height: 100vh;
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    z-index: 200;
    transition: width var(--ease);
    overflow: hidden;
}

/* Logo */
.sb-logo {
    height: var(--tb);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.sb-logo .tb-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background .2s;
}

.sb-logo .tb-toggle:hover {
    background: var(--nav-bg);
}

.sb-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    white-space: nowrap;
}

.sb-logo-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, #ff9800, #ff6d00);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .85rem;
}

.sb-logo-text span {
    color: var(--orange)
}

/* Nav */
.sb-nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
}

.sb-nav::-webkit-scrollbar {
    width: 3px
}

.sb-nav::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px
}

/* Section title */
.sb-section {
    padding: 30px 24px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text2);
    white-space: nowrap;
}

/* Menu items */
.sb-item>a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    transition: all var(--fast);
    white-space: nowrap;
    cursor: pointer;
    border: none;
    background: none;
}

.sb-item>a>i {
    width: 40px;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text2);
    transition: color var(--fast);
    background: var(--nav-bg);
    border-radius: 10px;
}

.sb-item>a span {
    flex: 1
}

/* Arrow */
.sb-arrow {
    font-size: 10px;
    color: #C0C0C0;
    margin-left: auto;
    transition: transform var(--ease);
    font-style: normal;
}

.sb-arrow i {
    font-size: 10px;
    width: auto;
    min-width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    color: inherit;
}

/* Hover + Active */
.sb-item>a:hover {
    color: var(--blue);
}

.sb-item>a:hover>i {
    color: var(--blue);
}

.sb-item.active>a {
    color: var(--blue);
}

.sb-item.active>a>i {
    color: var(--blue);
    background: var(--blue-bg);
}

/* Sub-menu â€” Flyout Panel (horizontal to right) */
.sb-item.has-sub {
    position: relative;
}

.sb-sub {
    position: fixed;
    left: var(--sb);
    top: auto;
    min-width: 400px;
    max-width: 560px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, .13), 0 2px 10px rgba(0, 0, 0, .05);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 999;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    max-height: none;
    overflow: visible;
}

.sb-item.has-sub:hover>.sb-sub,
.sb-item.has-sub.open>.sb-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sb-item.has-sub:hover>a,
.sb-item.has-sub.open>a {
    color: var(--blue);
}

.sb-item.has-sub:hover>a>i,
.sb-item.has-sub.open>a>i {
    color: var(--blue);
    background: var(--blue-bg);
}

.sb-item.open .sb-arrow {
    transform: rotate(0deg);
}

.sb-sub li {
    list-style: none;
}

.sb-sub li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    transition: all .2s ease;
    white-space: normal;
    position: relative;
    border-radius: 12px;
    text-decoration: none;
}

.sb-sub-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: #fef8f2;
    border: 1px solid #f5e6d3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease;
    align-self: flex-start;
    overflow: hidden;
    color: var(--orange);
    font-size: 18px;
}

/* Two-line text block */
.sb-sub-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.sb-sub-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
}

.sb-sub-desc {
    font-size: 11.5px;
    font-weight: 400;
    color: var(--text2);
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
}

.sb-sub li a:hover {
    background: #fef8f2;
    color: var(--dark);
}

.sb-sub li a:hover .sb-sub-icon {
    background: #fee8d1;
    border-color: #f9c59a;
}

.sb-sub li a:hover .sb-sub-name {
    color: var(--orange);
}

/* --- Icon color variants for Thiết Kế (blue) --- */
.sb-sub-icon--blue {
    background: #eef1fb;
    border-color: #c7d1f0;
    color: var(--blue);
}

.sb-sub li a:hover .sb-sub-icon--blue {
    background: #d8dffa;
    border-color: #a4b4e8;
}

.sb-sub li a:hover .sb-sub-icon--blue~.sb-sub-text .sb-sub-name {
    color: var(--blue);
}

/* --- Icon color variants for Tin Tức (green) --- */
.sb-sub-icon--green {
    background: #e8f5e9;
    border-color: #c8e6c9;
    color: #2e7d32;
}

.sb-sub li a:hover .sb-sub-icon--green {
    background: #c8e6c9;
    border-color: #a5d6a7;
}

.sb-sub li a:hover .sb-sub-icon--green~.sb-sub-text .sb-sub-name {
    color: #2e7d32;
}

/* --- Single-column flyout (for Tin Tức) --- */
.sb-sub.sb-sub--single {
    grid-template-columns: 1fr;
    min-width: 340px;
    max-width: 400px;
}

/* --- "Nổi Bật" badge (yellow pill) --- */
.sb-badge {
    display: inline-block;
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: linear-gradient(135deg, #FFB039, #FF9800);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1.5;
}

/* Collapsed sidebar: hide flyout */
body.sb-collapsed .sb-sub,
.anesta-sidebar.mini .sb-sub {
    display: none !important;
}

/* ---- COLLAPSED SIDEBAR ---- */
.anesta-sidebar.mini {
    width: var(--sb-mini)
}

.anesta-sidebar.mini .sb-logo {
    padding: 0;
    justify-content: center
}

.anesta-sidebar.mini .sb-logo-text,
.anesta-sidebar.mini .sb-section,
.anesta-sidebar.mini .sb-item>a span,
.anesta-sidebar.mini .sb-arrow,
.anesta-sidebar.mini .sb-sub {
    display: none !important;
    max-height: 0 !important
}

.anesta-sidebar.mini .sb-item>a {
    padding: 10px 0;
    justify-content: center;
    border-left: none;
}

.anesta-sidebar.mini .sb-item>a i {
    width: auto;
    font-size: 1.15rem
}

/* Tooltip on hover when collapsed */
.anesta-sidebar.mini .sb-item {
    position: relative
}

.anesta-sidebar.mini .sb-item>a::after {
    content: attr(data-tip);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: .75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--fast);
    margin-left: 8px;
    z-index: 999;
}

.anesta-sidebar.mini .sb-item>a:hover::after {
    opacity: 1
}

/* ==============================================
   TOPBAR
   ============================================== */
.anesta-topbar {
    position: fixed;
    top: 0;
    left: var(--sb);
    right: 0;
    height: var(--tb);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 12px;
    z-index: 150;
    transition: left var(--ease);
}

.mini~.anesta-topbar,
body.sb-collapsed .anesta-topbar {
    left: var(--sb-mini)
}

/* Toggle button */
.tb-toggle {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    font-size: 1.05rem;
    color: var(--text2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all var(--fast);
}

.tb-toggle:hover {
    color: var(--dark);
    background: var(--bg)
}

/* Search */
.tb-search {
    flex: 1;
    position: relative;
}

.tb-search i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark);
    font-size: 18px;
}

.tb-search input {
    width: 100%;
    padding: 7px 14px 7px 30px;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-family: var(--f);
    background: transparent;
    outline: none;
    color: var(--dark);
}

.tb-search input::placeholder {
    color: var(--text2);
    font-weight: 400;
}

.tb-search input:focus {
    outline: none;
}

/* Right icons */
.tb-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tb-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    font-size: .9rem;
    transition: all var(--fast);
}

.tb-icon:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-bg);
}

.tb-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all var(--fast);
}

.tb-user:hover {
    border-color: var(--blue);
    background: var(--blue-bg)
}

.tb-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--orange-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: .75rem;
}

.tb-name {
    font-size: .82rem;
    font-weight: 600;
    color: var(--dark)
}

/* ==============================================
   CONTENT AREA
   ============================================== */
.anesta-content {
    margin-left: var(--sb);
    margin-top: var(--tb);
    padding: 20px;
    min-height: calc(100vh - var(--tb));
    transition: margin-left var(--ease);
}

body.sb-collapsed .anesta-content {
    margin-left: var(--sb-mini)
}

/* Full-width row above dashboard (Video + Danh mục) */
.home-top-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}

/* Full-width row below dashboard */
.home-bottom-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}

.home-widgets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 24px;
}

/* Dashboard grid */
.dash {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px
}

.dash-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word
}

/* Page title + breadcrumb */
.pg-title {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    padding: 20px 24px;
}

.pg-title h1 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.pg-brd {
    font-size: .82rem;
    color: var(--text2);
}

.pg-brd a {
    color: var(--blue);
}

.pg-brd a:hover {
    text-decoration: underline;
}

.pg-sep {
    margin: 0 6px;
    color: var(--border);
}

/* Page content card */
.pg-card {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    padding: 28px 28px 36px;
    line-height: 1.8;
    font-size: .95rem;
    color: var(--text);
    overflow: hidden;
}

.pg-card h2,
.pg-card h3 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.pg-card h3 {
    font-size: 1.1rem;
}

.pg-card p {
    margin-bottom: 14px;
}

.pg-card ul,
.pg-card ol {
    padding-left: 20px;
    margin-bottom: 14px;
    list-style: disc;
}

.pg-card li {
    margin-bottom: 6px;
}

.pg-card img {
    border-radius: var(--r);
    margin: 16px 0;
}

.pg-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    overflow-x: auto;
    display: block;
}

.pg-card table th,
.pg-card table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}

.dash-side {
    display: flex;
    flex-direction: column;
    gap: 18px
}

/* --- CARDS --- */
.card {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    overflow: hidden;
}

.card-head {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-head h3 {
    font-size: 1rem;
    font-weight: 700
}

.card-body {
    padding: 18px
}

/* Hero card */
.hero-card {
    position: relative;
    border-radius: var(--r2);
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    background-image: url('../images/banner-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-pad {
    position: relative;
    z-index: 2;
    padding: 24px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 12px;
}

.hero-card h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 8px
}

.hero-card p {
    color: rgba(255, 255, 255, .65);
    font-size: .88rem;
    margin-bottom: 14px;
    max-width: 500px
}

.hero-meta {
    display: flex;
    gap: 14px;
    color: rgba(255, 255, 255, .5);
    font-size: .78rem
}

.hero-meta i {
    color: var(--orange);
    margin-right: 4px
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.stat {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    padding: 16px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}

.stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .07)
}

.stat-ic {
    width: 40px;
    height: 40px;
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 0 auto 10px;
}

.stat:nth-child(1) .stat-ic {
    background: #fff3e0;
    color: #ff9800
}

.stat:nth-child(2) .stat-ic {
    background: #e3f2fd;
    color: #2196f3
}

.stat:nth-child(3) .stat-ic {
    background: #e8f5e9;
    color: #4caf50
}

.stat:nth-child(4) .stat-ic {
    background: #fce4ec;
    color: #e91e63
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark)
}

.stat-lbl {
    font-size: .72rem;
    color: var(--text2);
    margin-top: 2px
}

/* Section header */
.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.sec-head h2 {
    font-size: 1.1rem
}

/* Category cards */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.cat-card {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.cat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}

.cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08)
}

.cat-card:hover::after {
    transform: scaleX(1)
}

.cat-ic {
    width: 44px;
    height: 44px;
    border-radius: var(--r);
    background: var(--orange-bg);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
    transition: all .2s;
}

.cat-card:hover .cat-ic {
    background: var(--orange);
    color: #fff;
    transform: scale(1.05)
}

.cat-card h4 {
    font-size: .92rem;
    margin-bottom: 4px
}

.cat-card p {
    font-size: .78rem;
    color: var(--text2);
    line-height: 1.5;
    margin-bottom: 10px
}

.cat-link {
    font-size: .78rem;
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cat-link i {
    font-size: .6rem;
    transition: transform var(--fast)
}

.cat-card:hover .cat-link i {
    transform: translateX(3px)
}

/* Process */
.proc {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.proc-step {
    text-align: center;
    padding: 16px 10px;
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    transition: transform .2s, box-shadow .2s;
}

.proc-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .07)
}

.proc-num {
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    background: var(--blue-bg);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    font-weight: 800;
    transition: all .2s;
}

.proc-step:hover .proc-num {
    background: var(--blue);
    color: #fff
}

.proc-step h4 {
    font-size: .82rem;
    margin-bottom: 3px
}

.proc-step p {
    font-size: .72rem;
    color: var(--text2)
}

/* =======================================
   HOMEPAGE â€” BÃ i Viáº¿t Má»›i (Posts Grid)
   ======================================= */
.posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.post {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
}

/* Thumbnail area â€” tall image like Anesta */
.post-img {
    aspect-ratio: 16 / 11;
    background: linear-gradient(135deg, #667eea, #764ba2);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
    display: block;
}

.post:hover .post-img img {
    transform: scale(1.06);
}

/* Dark overlay on hover */
.post-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background .35s ease;
}

.post:hover .post-img::after {
    background: rgba(0, 0, 0, .15);
}

/* Category badge */
.post-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--orange);
    color: #fff;
    padding: 5px 14px;
    border-radius: 24px;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(251, 88, 42, .4);
}

/* Card body */
.post-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Date */
.post-meta {
    font-size: .72rem;
    color: var(--text2);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta i {
    color: var(--orange);
    font-size: .65rem;
}

/* Title */
.post-body h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0;
    color: var(--dark);
}

.post-body h3 a {
    color: var(--dark);
    transition: color .2s;
}

.post-body h3 a:hover {
    color: var(--blue);
}

/* Orange divider line under title â€” Anesta signature */
.post-divider {
    height: 2px;
    background: var(--orange);
    width: 100%;
    margin: 12px 0;
    border-radius: 2px;
    flex-shrink: 0;
}

/* Excerpt */
.post-excerpt {
    font-size: .8rem;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Read more link */
.read-more {
    font-size: .8rem;
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
    transition: gap .2s, color .2s;
}

.read-more i {
    font-size: .65rem;
    transition: transform .2s;
}

.read-more:hover {
    color: var(--orange);
    gap: 8px;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* ==============================================
   BLOG â€” Anesta "All Posts" Style
   ============================================== */

/* Category Filter Tabs */
.blog-cats {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.blog-cats::-webkit-scrollbar {
    display: none;
}

.blog-cat-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    font-family: var(--f);
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border);
    white-space: nowrap;
    transition: all .25s ease;
    cursor: pointer;
    text-decoration: none;
}

.blog-cat-tab:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-bg);
}

.blog-cat-tab.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Blog Card */
.blog-card {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
}

/* Card Image */
.blog-card-img {
    display: block;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #e8e0f0, #dde5f4);
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.06);
}

.blog-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text2);
    background: linear-gradient(135deg, #f0eff5, #e4e8f0);
}

/* Category Badge */
.blog-card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--orange);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* Card Body */
.blog-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Card Title */
.blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color .25s ease;
}

.blog-card-title a:hover {
    color: var(--blue);
}

/* Card Excerpt */
.blog-card-excerpt {
    font-size: .85rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Card Meta */
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: .78rem;
    color: var(--text2);
}

.blog-card-meta i {
    margin-right: 4px;
    color: var(--blue);
    font-size: .72rem;
}

.blog-card-date,
.blog-card-comments {
    display: inline-flex;
    align-items: center;
}

/* Empty State */
.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.blog-empty i {
    font-size: 3rem;
    color: var(--text2);
    margin-bottom: 16px;
    display: block;
}

.blog-empty p {
    font-size: 1rem;
    color: var(--text);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 10px;
}

.blog-pagination .nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
}

.blog-pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
    background: var(--white);
    transition: all .25s ease;
    text-decoration: none;
}

.blog-pagination .page-numbers:hover {
    background: var(--blue-bg);
    border-color: var(--blue);
    color: var(--blue);
}

.blog-pagination .page-numbers.current {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.blog-pagination .prev,
.blog-pagination .next {
    font-size: .7rem;
}

/* Page description */
.pg-desc {
    margin-top: 8px;
    color: var(--text2);
    font-size: 14px;
}

/* Sidebar widgets */
.w-notif {
    border-radius: var(--r2);
    padding: 20px;
    color: #fff;
    background: linear-gradient(135deg, #ff6d00, #ff9800);
}

.w-notif .wi {
    font-size: 1.3rem;
    margin-bottom: 8px
}

.w-notif h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 4px
}

.w-notif p {
    font-size: .82rem;
    opacity: .9;
    margin-bottom: 8px
}

.w-notif small {
    font-size: .7rem;
    opacity: .7
}

/* News widget */
.news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border)
}

.news-item:last-child {
    border-bottom: none
}

.news-thumb {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: var(--r);
    background: linear-gradient(135deg, var(--orange-bg), #e8e0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.news-cat {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--blue)
}

.news-date {
    font-size: .68rem;
    color: var(--text2);
    margin-left: 6px
}

.news-info h5 {
    font-size: .82rem;
    font-weight: 600;
    margin-top: 3px;
    line-height: 1.3
}

.news-info h5 a {
    color: var(--dark)
}

.news-info h5 a:hover {
    color: var(--blue)
}

/* Quick grid */
.qk {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
}

.qk a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
    border-radius: var(--r);
    background: var(--bg);
    border: 1px solid var(--border);
    transition: all .2s;
    text-align: center;
}

.qk a:hover {
    background: var(--blue-bg);
    border-color: var(--blue);
    transform: translateY(-1px)
}

.qk a i {
    font-size: 1.2rem;
    color: var(--blue)
}

.qk a span {
    font-size: .7rem;
    font-weight: 500;
    color: var(--text)
}

/* Staff */
.staff {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border)
}

.staff:last-child {
    border-bottom: none
}

.staff-av {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--blue-bg);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 700;
}

.staff-nm {
    font-size: .82rem;
    font-weight: 600;
    color: var(--dark)
}

.staff-ph {
    font-size: .75rem;
    color: var(--blue)
}

.staff-ph a {
    color: var(--blue)
}

/* Page content */
.pg-title {
    margin-bottom: 18px
}

.pg-title h1 {
    font-size: 1.4rem;
    margin-bottom: 3px
}

.pg-brd {
    font-size: .78rem;
    color: var(--text2)
}

.pg-brd a {
    color: var(--blue)
}

.pg-card {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    padding: 24px
}

.pg-card h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--border)
}

.pg-card h3 {
    margin-top: 14px;
    margin-bottom: 6px;
    color: var(--blue)
}

.pg-card p {
    margin-bottom: 10px
}

.pg-card ul,
.pg-card ol {
    padding-left: 18px;
    margin-bottom: 10px
}

.pg-card li {
    margin-bottom: 4px
}

/* Pagination */
.pagi {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px
}

.pagi a,
.pagi span {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: .82rem;
    font-weight: 500;
    transition: all var(--fast);
}

.pagi a:hover,
.pagi .current {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue)
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 600;
    font-family: var(--f);
    border: none;
    cursor: pointer;
    transition: all .2s;
}

.btn-o {
    background: var(--orange);
    color: #fff
}

.btn-o:hover {
    background: #e65100;
    transform: translateY(-1px)
}

.btn-line {
    border: 1.5px solid var(--border);
    background: none;
    color: var(--text)
}

.btn-line:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-bg)
}

.btn-sm {
    padding: 5px 14px;
    font-size: .75rem
}

/* Floating */
.float-btns {
    position: fixed;
    bottom: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 300;
}

.fb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    transition: transform .2s;
}

.fb:hover {
    transform: scale(1.1)
}

.fb.zalo {
    background: #0068ff
}

.fb.phone {
    background: #10b981;
    animation: ring 2s infinite
}

.fb.totop {
    background: var(--dark);
    opacity: 0;
    visibility: hidden;
    transition: all .2s
}

.fb.totop.show {
    opacity: 1;
    visibility: visible
}

@keyframes ring {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, .5)
    }

    70% {
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0)
    }
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media(max-width:1100px) {
    .dash {
        grid-template-columns: 1fr
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .proc {
        grid-template-columns: repeat(2, 1fr)
    }

    .blog-grid,
    .posts {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:768px) {
    .anesta-sidebar {
        transform: translateX(-100%);
        box-shadow: 2px 0 20px rgba(0, 0, 0, .1);
        width: var(--sb);
    }

    /* Mobile: revert flyout to vertical accordion */
    .sb-sub {
        position: static !important;
        min-width: auto;
        max-width: none;
        background: var(--bg);
        border-radius: 10px;
        box-shadow: none;
        padding: 6px 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        grid-template-columns: 1fr;
        gap: 0;
        margin: 4px 14px 8px 64px;
    }

    .sb-item.has-sub.open>.sb-sub {
        display: grid;
    }

    .sb-item.has-sub:hover>.sb-sub {
        display: none;
    }

    .sb-item.has-sub.open:hover>.sb-sub {
        display: grid;
    }

    .sb-sub li a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .sb-sub-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        border-radius: 6px;
        font-size: 11px;
    }

    .sb-item.open .sb-arrow {
        transform: rotate(90deg);
    }

    .anesta-sidebar.open {
        transform: translateX(0)
    }

    .anesta-topbar {
        left: 0
    }

    .anesta-content {
        margin-left: 0
    }

    .cat-grid,
    .blog-grid {
        grid-template-columns: 1fr
    }

    .posts {
        grid-template-columns: 1fr
    }

    .blog-cats {
        gap: 6px;
    }

    .blog-cat-tab {
        padding: 6px 14px;
        font-size: .75rem;
    }

    .stats {
        grid-template-columns: 1fr 1fr
    }

    .proc {
        grid-template-columns: 1fr 1fr
    }

    .anesta-content {
        padding: 14px
    }

    .hero-card {
        min-height: 220px
    }

    .hero-card h2 {
        font-size: 1.15rem
    }
}

@media(max-width:480px) {
    .stats {
        grid-template-columns: 1fr
    }

    .qk {
        grid-template-columns: 1fr 1fr
    }
}

/* ==============================================
   WOOCOMMERCE NOTICES
   ============================================== */

/* WooCommerce notices */
.woocommerce-notices-wrapper {
    margin-bottom: 16px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: var(--r2) !important;
    padding: 14px 20px !important;
    font-size: .85rem;
}

/* ==============================================
   PAGE TEMPLATE â€” Title & Breadcrumb
   ============================================== */
.pg-title {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    padding: 28px 32px;
    margin-bottom: 20px;
}

.pg-title h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.pg-brd {
    padding-top: 14px;
    font-size: .82rem;
    color: var(--text2);
}

.pg-brd a {
    color: var(--blue);
    font-weight: 500;
}

.pg-brd a:hover {
    text-decoration: underline;
}

.pg-sep {
    margin: 0 6px;
    color: var(--border);
}

.pg-card {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    padding: 28px 32px;
}

/* ==============================================
   CONTACT PAGE
   ============================================== */
.contact-page {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 20px;
    align-items: start;
}

/* --- Contact Info Card --- */
.contact-info-card {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    overflow: hidden;
    position: sticky;
    top: calc(var(--tb) + 20px);
}

.ci-header {
    background: linear-gradient(135deg, var(--blue) 0%, #1a5fd4 100%);
    padding: 28px 24px;
    color: #fff;
}

.ci-header h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.ci-header p {
    font-size: .82rem;
    color: rgba(255, 255, 255, .75);
    line-height: 1.5;
}

.ci-items {
    padding: 8px 12px;
}

.ci-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    border-radius: 12px;
    transition: background .2s;
}

.ci-item:hover {
    background: var(--bg);
}

.ci-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all .25s;
}

.ci-icon--phone {
    background: #e8f5e9;
    color: #43A047;
}

.ci-item:hover .ci-icon--phone {
    background: #43A047;
    color: #fff;
}

.ci-icon--support {
    background: #e3f2fd;
    color: #1E88E5;
}

.ci-item:hover .ci-icon--support {
    background: #1E88E5;
    color: #fff;
}

.ci-icon--email {
    background: #fff3e0;
    color: #FB8C00;
}

.ci-item:hover .ci-icon--email {
    background: #FB8C00;
    color: #fff;
}

.ci-icon--address {
    background: #fce4ec;
    color: #E53935;
}

.ci-item:hover .ci-icon--address {
    background: #E53935;
    color: #fff;
}

.ci-icon--zalo {
    background: #e0f2f1;
    color: #00897B;
}

.ci-item:hover .ci-icon--zalo {
    background: #00897B;
    color: #fff;
}

.ci-icon--time {
    background: #f3e5f5;
    color: #8E24AA;
}

.ci-item:hover .ci-icon--time {
    background: #8E24AA;
    color: #fff;
}

.ci-detail {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ci-label {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text2);
    margin-bottom: 2px;
}

.ci-detail a,
.ci-detail span {
    font-size: .88rem;
    font-weight: 500;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ci-detail a:hover {
    color: var(--blue);
}

.ci-socials {
    display: flex;
    gap: 10px;
    padding: 18px 24px;
    border-top: 1px solid var(--border);
}

.ci-social {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    font-size: .9rem;
    transition: all .25s;
}

.ci-social:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 75, 193, .3);
}

/* --- Contact Form Card --- */
.contact-form-card {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    overflow: hidden;
}

.cf-header {
    padding: 28px 32px 0;
}

.cf-header h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.cf-header p {
    font-size: .85rem;
    color: var(--text2);
    line-height: 1.5;
}

.cf-body {
    padding: 24px 32px 32px;
}

/* --- CF7 Form Overrides --- */
.wpcf7 {
    width: 100%;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.cf7-col {
    display: flex;
    flex-direction: column;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-family: var(--f);
    font-size: .88rem;
    color: var(--dark);
    background: var(--white);
    outline: none;
    transition: border-color .25s, box-shadow .25s;
    -webkit-appearance: none;
    appearance: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(13, 75, 193, .1);
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: var(--text2);
    font-weight: 400;
}

.wpcf7 select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239C9DA1' viewBox='0 0 16 16'%3E%3Cpath d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.wpcf7 textarea {
    resize: vertical;
    min-height: 130px;
    margin-bottom: 16px;
}

/* File upload */
.wpcf7 input[type="file"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px dashed var(--border);
    border-radius: 12px;
    font-family: var(--f);
    font-size: .82rem;
    color: var(--text2);
    background: var(--bg);
    cursor: pointer;
    transition: border-color .25s;
}

.wpcf7 input[type="file"]:hover {
    border-color: var(--blue);
}

.cf7-file-note {
    display: block;
    font-size: .75rem;
    color: var(--text2);
    margin-top: 6px;
    margin-bottom: 20px;
}

.cf7-file-note i {
    color: var(--blue);
    margin-right: 4px;
}

/* Submit button */
.wpcf7 input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--blue) 0%, #1565C0 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-family: var(--f);
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
    letter-spacing: .01em;
    box-shadow: 0 4px 14px rgba(13, 75, 193, .25);
}

.wpcf7 input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--blue-hover) 0%, #0D47A1 100%);
    box-shadow: 0 6px 20px rgba(13, 75, 193, .35);
    transform: translateY(-1px);
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(13, 75, 193, .2);
}

/* Spinner */
.wpcf7-spinner {
    display: none;
}

.wpcf7 .ajax-loader {
    display: none;
}

/* Validation */
.wpcf7-not-valid {
    border-color: #E53935 !important;
}

.wpcf7-not-valid-tip {
    font-size: .72rem;
    color: #E53935;
    margin-top: 4px;
    font-weight: 500;
}

/* Response output */
.wpcf7-response-output {
    border-radius: 12px !important;
    padding: 14px 18px !important;
    font-size: .85rem;
    margin: 16px 0 0 !important;
    border: none !important;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
    background: #e8f5e9;
    color: #2E7D32;
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output {
    background: #fff3e0;
    color: #E65100;
}

.wpcf7-mail-sent-ng,
.wpcf7 form.failed .wpcf7-response-output {
    background: #fce4ec;
    color: #C62828;
}

/* ==============================================
   CONTACT PAGE RESPONSIVE
   ============================================== */
@media (max-width: 1100px) {
    .contact-page {
        grid-template-columns: 340px 1fr;
    }
}

@media (max-width: 992px) {
    .contact-page {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        position: static;
    }

    .ci-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
}

@media (max-width: 768px) {
    .pg-title {
        padding: 20px 20px;
    }

    .pg-title h1 {
        font-size: 1.3rem;
    }

    .cf-header,
    .cf-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cf7-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cf7-col {
        margin-bottom: 16px;
    }

    .ci-items {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        border-radius: 20px;
    }

    .contact-info-card {
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .wpcf7 input[type="submit"] {
        width: 100%;
    }

    .pg-title {
        padding: 16px;
    }

    .cf-header {
        padding: 20px 16px 0;
    }

    .cf-body {
        padding: 16px;
    }
}


/* ==============================================
   NEW: CATEGORY THUMBNAIL (cat-thumb)
   ============================================== */
.cat-thumb {
    width: 100%;
    height: 100px;
    border-radius: var(--r);
    background-size: cover;
    background-position: center;
    margin-bottom: 12px;
}

/* ==============================================
   NEW: FEATURED PRODUCTS GRID (áº¤N PHáº¨M Ná»”I Báº¬T)
   ============================================== */
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fp-card {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
    border: 1.5px solid var(--border);
}

.fp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    border-color: var(--orange);
}

.fp-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg);
}

.fp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}

.fp-card:hover .fp-img img {
    transform: scale(1.06);
}

.fp-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--border);
}

.fp-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--orange);
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    z-index: 2;
}

.fp-body {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fp-body h4 {
    font-size: .88rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fp-price {
    font-size: .85rem;
    font-weight: 700;
    color: var(--orange);
    margin-top: auto;
}

.fp-price .woocommerce-Price-amount {
    color: var(--orange);
    font-weight: 700;
}

.fp-price--cq {
    color: var(--blue);
    font-style: italic;
}

/* ==============================================
   NEW: CAM Káº¾T Dá»ŠCH Vá»¤ (Commitment Grid)
   ============================================== */
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.commit-box {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    padding: 20px 16px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
    border-top: 3px solid transparent;
}

.commit-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    border-top-color: var(--orange);
}

.commit-ic {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--orange-bg);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 12px;
    transition: background .2s, color .2s;
}

.commit-box:hover .commit-ic {
    background: var(--orange);
    color: #fff;
}

.commit-box h4 {
    font-size: .88rem;
    margin-bottom: 6px;
    color: var(--dark);
}

.commit-box p {
    font-size: .78rem;
    color: var(--text2);
    line-height: 1.5;
}

.commit-box p strong {
    color: var(--orange);
}

/* ==============================================
   NEW: CTA BANNER (Giáº£i phÃ¡p cho thÆ°Æ¡ng hiá»‡u)
   ============================================== */
.cta-banner {
    background: linear-gradient(135deg, #0D4BC1 0%, #1a5ae0 60%, #FB582A 100%);
    border-radius: var(--r2);
    padding: 28px 32px;
    overflow: hidden;
    position: relative;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: 80px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    pointer-events: none;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-banner-text h3 {
    font-size: 1.25rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 6px;
}

.cta-banner-text p {
    font-size: .85rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.6;
    max-width: 440px;
}

.cta-banner-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--blue);
    font-weight: 700;
    font-size: .88rem;
    padding: 11px 22px;
    border-radius: 50px;
    text-decoration: none;
    transition: all .25s;
    white-space: nowrap;
}

.cta-btn-primary:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-weight: 600;
    font-size: .88rem;
    padding: 11px 22px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, .4);
    text-decoration: none;
    transition: all .25s;
    white-space: nowrap;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, .25);
    border-color: rgba(255, 255, 255, .7);
    transform: translateY(-2px);
}

/* ==============================================
   NEW: BLOG CARD â€” Author Byline
   ============================================== */
.blog-card-byline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.blog-card-author,
.blog-card-date-sm {
    font-size: .72rem;
    color: var(--text2);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-card-author i,
.blog-card-date-sm i {
    color: var(--blue);
    font-size: .7rem;
}

.blog-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* ==============================================
   NEW: SHOP â€” Subcategory Chips & Cat Description
   ============================================== */
.shop-cat-desc {
    font-size: .88rem;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 14px;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: var(--r);
    border-left: 3px solid var(--orange);
}

.shop-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.shop-subcat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    background: var(--white);
    border: 1.5px solid var(--border);
    font-size: .8rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    transition: all .2s;
}

.shop-subcat-chip:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-bg);
}

.shop-subcat-count {
    background: var(--bg);
    color: var(--text2);
    font-size: .7rem;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 10px;
}

/* ==============================================
   RESPONSIVE ADDITIONS
   ============================================== */
@media (max-width: 1024px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .commitment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .commitment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-banner {
        padding: 20px;
    }

    .cta-banner-text h3 {
        font-size: 1.1rem;
    }

    .cta-banner-btns {
        width: 100%;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .featured-products-grid {
        grid-template-columns: 1fr;
    }

    .commitment-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==============================================
   NEW: áº¤N PHáº¨M Ná»”I Báº¬T â€” inanbinhduong.vn style
   ============================================== */

/* Outer section wrapper */
.fp-section {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
    overflow: hidden;
}

/* Header row: badge label + scrollable tab pills */
.fp-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    flex-wrap: nowrap;
    overflow: hidden;
}

/* Orange badge on far left */
.fp-badge-label {
    flex-shrink: 0;
    background: var(--orange);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 6px 14px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Scrollable pill tabs container */
.fp-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    flex: 1;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.fp-tabs::-webkit-scrollbar {
    display: none;
}

/* Individual pill tab */
.fp-tab {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: .8rem;
    font-weight: 500;
    color: var(--dark);
    white-space: nowrap;
    text-decoration: none;
    transition: all .2s;
    flex-shrink: 0;
}

.fp-tab:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-bg);
}

/* "Xem táº¥t cáº£" pill â€” distinct style */
.fp-tab--all {
    border-color: var(--border);
    background: var(--bg);
    font-weight: 600;
    color: var(--blue);
}

.fp-tab--all:hover {
    border-color: var(--blue);
    background: var(--blue-bg);
    color: var(--blue);
}

/* Content row: banner left + grid right */
.fp-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    min-height: 420px;
}

/* Big featured banner (left column) */
.fp-banner {
    display: block;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0D4BC1, #1a5ae0);
    border-right: 1px solid var(--border);
}

.fp-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.fp-banner:hover img {
    transform: scale(1.04);
}

.fp-banner-fallback {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, .8);
    padding: 24px;
    text-align: center;
}

.fp-banner-fallback i {
    font-size: 3rem;
    color: rgba(255, 255, 255, .5);
}

.fp-banner-fallback span {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.fp-banner-fallback small {
    font-size: .8rem;
    color: rgba(255, 255, 255, .6);
}

/* Product grid (right column) */
.fp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
}

/* Each product card in the grid */
.fp-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background .2s;
    overflow: hidden;
}

.fp-card:hover {
    background: #fafafa;
}

.fp-card:nth-child(3),
.fp-card:nth-child(6) {
    border-right: none;
}

.fp-card:nth-child(4),
.fp-card:nth-child(5),
.fp-card:nth-child(6) {
    border-bottom: none;
}

/* Image area */
.fp-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg);
    flex-shrink: 0;
}

.fp-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.fp-card:hover .fp-img img {
    transform: scale(1.05);
}

.fp-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--border);
}

/* Badge row on image */
.fp-badges-row {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.fp-badge-hot {
    background: var(--orange);
    color: #fff;
    font-size: .58rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.fp-badge-new {
    background: var(--blue);
    color: #fff;
    font-size: .58rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Card body */
.fp-body-card {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.fp-card-cat {
    font-size: .65rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0;
}

.fp-body-card h4 {
    font-size: .82rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fp-price {
    font-size: .82rem;
    font-weight: 700;
    color: var(--orange);
    margin-top: 2px;
}

.fp-price .woocommerce-Price-amount {
    color: var(--orange);
    font-weight: 700;
}

.fp-price--cq {
    color: var(--blue);
    font-style: italic;
    font-size: .78rem;
}

/* Legacy fp-body (old class, keep for compatibility) */
.fp-body {
    padding: 14px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Responsive */
@media (max-width: 1100px) {
    .fp-content {
        grid-template-columns: 220px 1fr;
    }

    .fp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .fp-header {
        flex-wrap: wrap;
    }

    .fp-content {
        grid-template-columns: 1fr;
    }

    .fp-banner {
        min-height: 200px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .fp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .fp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Shop/Product Category CSS → see "SHOP / PRODUCT CATEGORY PAGE" section below */


/* ==============================================
   FREEPIK-STYLE 4-COLUMN PRODUCT GRID
   (.fp-freepik-grid + .fp-fcard)
   ============================================== */

.fp-freepik-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 16px;
}

/* Each card: square-ish with full-bleed image and bottom overlay */
.fp-fcard {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 3/4;
    background: #1a2340;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
}

.fp-fcard:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

/* Full-bleed background image */
.fp-fcard-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .5s ease;
}

.fp-fcard:hover .fp-fcard-img {
    transform: scale(1.08);
}

/* Fallback no-image: colored bg + centered icon */
.fp-fcard-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, .4);
}

/* Gradient overlay â€” dark at bottom, transparent at top */
.fp-fcard::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.05) 40%,
            rgba(0, 0, 0, 0.6) 75%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Text overlay at bottom */
.fp-fcard-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fp-fcard-cat {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
    display: block;
}

.fp-fcard-title {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fp-fcard-title i {
    font-size: .7rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s;
}

.fp-fcard:hover .fp-fcard-title i {
    opacity: 1;
    transform: translateX(0);
}

.fp-fcard-price {
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    margin-top: 2px;
}

.fp-fcard-price .woocommerce-Price-amount {
    color: #ffd166;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 1100px) {
    .fp-freepik-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .fp-freepik-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .fp-freepik-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
    }

    .fp-fcard-title {
        font-size: .8rem;
    }
}

/* ==============================================
   TOP POSTS SECTION â€” Horizontal scroll row (top of homepage)
   ============================================== */
.top-posts-section {
    background: var(--white);
    border-radius: var(--r2);
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.top-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.top-posts-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    padding-left: 14px;
}

.top-posts-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--orange);
    border-radius: 2px;
}

.top-posts-more {
    font-size: .82rem;
    color: var(--blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color .2s;
}

.top-posts-more:hover {
    color: var(--orange);
}

.top-posts-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.top-posts-row::-webkit-scrollbar {
    height: 4px;
}

.top-posts-row::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.top-post-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    flex: 1;
    transition: transform .2s;
}

.top-post-card:hover {
    transform: translateY(-3px);
    color: inherit;
}

.top-post-thumb {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--r);
    overflow: hidden;
    background: var(--bg);
}

.top-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.top-post-card:hover .top-post-thumb img {
    transform: scale(1.05);
}

.top-post-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--text2);
    font-size: 1.8rem;
}

.top-post-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .28);
    transition: background .2s;
}

.top-post-card:hover .top-post-play {
    background: rgba(0, 0, 0, .45);
}

.top-post-play i {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .9);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    padding-left: 3px;
}

.top-post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.top-post-cat {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--orange);
    letter-spacing: .04em;
}

.top-post-ttl {
    font-size: .82rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .72rem;
    color: var(--text2);
    margin-top: auto;
}

.top-post-meta i {
    margin-right: 2px;
}

/* ==============================================
   TOP CATS SECTION — Premium category icon grid
   Glassmorphism + smooth animations
   ============================================== */
.top-cats-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
    border-radius: 20px;
    padding: 28px 28px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .04);
    border: 1px solid rgba(255, 255, 255, .8);
    position: relative;
    overflow: hidden;
}

.top-cats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange) 0%, #ff9800 40%, #ffc107 100%);
    border-radius: 20px 20px 0 0;
}

.top-cats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.top-cats-bar {
    display: none;
}

.top-cats-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-cats-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--orange), #ff9800);
    border-radius: 3px;
    flex-shrink: 0;
}

.top-cats-more {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--orange);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(251, 88, 42, .06);
    transition: all .25s ease;
}

.top-cats-more:hover {
    background: var(--orange);
    color: #fff;
    transform: translateX(2px);
}

.top-cats-more i {
    font-size: 10px;
    transition: transform .25s ease;
}

.top-cats-more:hover i {
    transform: translateX(3px);
}

.top-cats-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 16px 12px;
}

.top-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    padding: 10px 4px 8px;
    border-radius: 14px;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    position: relative;
}

.top-cat-item:hover {
    transform: translateY(-5px);
    background: rgba(251, 88, 42, .04);
    color: inherit;
}

.top-cat-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(145deg, #f8f9fc, #eef1f5);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    position: relative;
}

.top-cat-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(251, 88, 42, .08), rgba(255, 152, 0, .05));
    opacity: 0;
    transition: opacity .3s ease;
}

.top-cat-item:hover .top-cat-icon {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(251, 88, 42, .18), 0 2px 8px rgba(0, 0, 0, .08);
    border-color: rgba(251, 88, 42, .2);
}

.top-cat-item:hover .top-cat-icon::after {
    opacity: 1;
}

/* Image-type icon */
.top-cat-icon--img {
    background: linear-gradient(145deg, #f8f9fc, #eef1f5);
    padding: 6px;
}

.top-cat-icon--img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
}

/* Colour-fallback icon */
.top-cat-icon--color {
    border: none;
}

.top-cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.top-cat-name {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .25s ease;
    max-width: 90px;
}

.top-cat-item:hover .top-cat-name {
    color: var(--orange);
}

/* Responsive — top-cats */
@media (max-width: 1200px) {
    .top-cats-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 900px) {
    .top-cats-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .top-cats-section {
        padding: 20px 18px 24px;
    }
}

@media (max-width: 640px) {
    .top-cats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px 8px;
    }

    .top-cat-icon {
        width: 58px;
        height: 58px;
        border-radius: 14px;
    }

    .top-cat-name {
        font-size: 10.5px;
    }

    .top-cats-section {
        padding: 16px 14px 20px;
        border-radius: 16px;
    }
}

@media (max-width: 420px) {
    .top-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .top-cat-icon {
        width: 52px;
        height: 52px;
    }
}

/* ==============================================
   SP PRODUCT CUSTOM TABS
   (GIỚI THIỆU ẤN PHẨM + BẢNG GIÁ IN ẤN)
   ============================================== */

.sp-product-tabs {
    background: var(--white);
    border-radius: var(--r2);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    margin-top: 0;
}

/* Tab navigation bar */
.sp-tab-nav {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
}

.sp-tab-btn {
    flex: 1;
    padding: 18px 24px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background .2s, color .2s;
    background: #f7f7f7;
    color: #555;
    position: relative;
}

.sp-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background .2s;
}

.sp-tab-btn--active {
    background: var(--orange, #f5a623);
    color: #fff;
}

.sp-tab-btn--active::after {
    background: var(--orange, #f5a623);
}

.sp-tab-btn:not(.sp-tab-btn--active):hover {
    background: #eeeeee;
    color: #333;
}

/* Tab panels */
.sp-tab-panel {
    display: none;
}

.sp-tab-panel--active {
    display: block;
}

/* Tab content: description */
.sp-tab-content--description {
    padding: 32px;
    line-height: 1.8;
    color: #2d2d2d;
}

.sp-tab-content--description h1,
.sp-tab-content--description h2,
.sp-tab-content--description h3 {
    font-weight: 700;
    color: var(--dark);
    margin: 1.2em 0 .6em;
}

.sp-tab-content--description h1 {
    font-size: 1.4rem;
}

.sp-tab-content--description h2 {
    font-size: 1.2rem;
}

.sp-tab-content--description h3 {
    font-size: 1.05rem;
}

.sp-tab-content--description p {
    margin-bottom: 1em;
}

.sp-tab-content--description ul,
.sp-tab-content--description ol {
    padding-left: 1.4em;
    margin-bottom: 1em;
}

.sp-tab-content--description li {
    margin-bottom: .4em;
}

.sp-tab-content--description strong,
.sp-tab-content--description b {
    color: var(--dark);
}

.sp-tab-content--description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
    display: block;
}

.sp-tab-content--description a {
    color: var(--orange, #f5a623);
    text-decoration: underline;
}

/* Tab content: pricing */
.sp-tab-content--pricing {
    padding: 28px 32px;
}

.sp-tab-content--pricing h2,
.sp-tab-content--pricing h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin: 1em 0 .4em;
}

.sp-tab-content--pricing p {
    font-size: .9rem;
    color: #555;
    margin-bottom: .8em;
}

/* Pricing table styles — match source */
.sp-tab-content--pricing table,
.table-pricing-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 24px;
    font-size: .88rem;
}

.sp-tab-content--pricing table th,
.table-pricing-content table th {
    background: var(--orange, #f5a623);
    color: #fff;
    font-weight: 700;
    padding: 10px 14px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .3);
}

.sp-tab-content--pricing table td,
.table-pricing-content table td {
    padding: 9px 12px;
    border: 1px solid #e8e8e8;
    text-align: center;
    color: #333;
}

.sp-tab-content--pricing table tr:nth-child(even) td {
    background: #fafafa;
}

.sp-tab-content--pricing img,
.table-pricing-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 8px 0;
}

/* Gallery grid in pricing tab */
.sp-tab-content--pricing .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
}

@media (max-width: 768px) {
    .sp-tab-nav {
        flex-direction: column;
    }

    .sp-tab-btn {
        text-align: center;
        padding: 14px 16px;
    }

    .sp-tab-content--description,
    .sp-tab-content--pricing {
        padding: 20px 16px;
    }

    .sp-tab-content--pricing .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-tab-content--pricing table {
        font-size: .8rem;
        display: block;
        overflow-x: auto;
    }
}

/* ==============================================
   YOUTUBE LIGHTBOX MODAL
   ============================================== */
.yt-lb-wrap {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .88);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ytLbFadeIn .2s ease;
}

@keyframes ytLbFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.yt-lb-inner {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    animation: ytLbSlideUp .25s ease;
}

@keyframes ytLbSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.yt-lb-title {
    padding: 14px 52px 14px 18px;
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    background: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 46px;
}

.yt-lb-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background .2s;
    z-index: 10;
    opacity: .8;
}

.yt-lb-close:hover {
    background: rgba(255, 255, 255, .15);
    opacity: 1;
}

.yt-lb-frame {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 */
    background: #000;
}

.yt-lb-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 600px) {
    .yt-lb-inner {
        border-radius: 8px;
    }

    .yt-lb-title {
        font-size: .8rem;
        padding: 10px 44px 10px 14px;
    }
}

/* ==============================================
   GIỚI THIỆU PAGE — Card-based layout matching theme
   ============================================== */

/* ── Shared layout ── */
.gt-container {
    max-width: 100%;
    padding: 0;
}

.gt-section {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    padding: 32px 28px;
    margin-bottom: 20px;
}

.gt-section--gray {
    background: var(--bg);
}

/* ── Section headers ── */
.gt-section-header {
    margin-bottom: 28px;
}

.gt-section-header--center {
    text-align: center;
}

.gt-section-tag {
    display: inline-block;
    background: var(--orange-bg);
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.gt-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 10px;
}

.gt-section-sub {
    color: var(--text);
    font-size: 14px;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Section 1: Intro ── */
.gt-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.gt-badge {
    display: inline-block;
    background: var(--orange-bg);
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gt-intro__text h2 {
    font-size: 22px;
    margin-bottom: 14px;
}

.gt-intro__text p {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text);
}

/* Stats row */
.gt-stats {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.gt-stat {
    text-align: center;
    min-width: 90px;
}

.gt-stat__num {
    font-size: 32px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -.02em;
}

.gt-stat__num::after {
    content: '+';
    font-size: 18px;
    font-weight: 700;
    vertical-align: super;
}

.gt-stat__label {
    font-size: 12px;
    color: var(--text);
    font-weight: 500;
    line-height: 1.4;
    max-width: 100px;
    margin: 0 auto;
}

/* Image area */
.gt-intro__img-wrap {
    position: relative;
    border-radius: var(--r2);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
}

.gt-intro__img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: var(--r2);
}

.gt-intro__img-placeholder {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--blue) 0%, #1a5fcc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r2);
}

.gt-intro__img-placeholder i {
    font-size: 64px;
    color: rgba(255, 255, 255, .25);
}

.gt-intro__img-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: #fff;
    border-radius: 10px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}

.gt-intro__img-badge i {
    color: var(--orange);
    font-size: 16px;
}

/* ── Section 2: About ── */
.gt-about__inner {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.gt-about__lead {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 14px;
}

/* ── Section 3: Timeline ── */
.gt-timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.gt-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

.gt-timeline__item {
    display: grid;
    grid-template-columns: 1fr 52px 1fr;
    gap: 0;
    margin-bottom: 36px;
    align-items: start;
}

.gt-timeline__item .gt-timeline__content {
    grid-column: 1;
    text-align: right;
    padding-right: 28px;
}

.gt-timeline__item .gt-timeline__dot {
    grid-column: 2;
    justify-self: center;
}

.gt-timeline__item--right .gt-timeline__content {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
    padding-right: 0;
    padding-left: 28px;
}

.gt-timeline__item--right .gt-timeline__dot {
    grid-column: 2;
    grid-row: 1;
}

.gt-timeline__dot {
    width: 48px;
    height: 48px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    z-index: 2;
    position: relative;
    box-shadow: 0 4px 14px rgba(251, 88, 42, .3);
    flex-shrink: 0;
}

.gt-timeline__year {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: .04em;
}

.gt-timeline__content h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--dark);
}

.gt-timeline__content p {
    font-size: 13px;
    color: var(--text);
    line-height: 1.6;
}

/* ── Section 4: Vision & Mission ── */
.gt-vm__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gt-vm__card {
    background: var(--bg);
    border-radius: var(--r2);
    padding: 28px 24px;
    transition: transform .25s, box-shadow .25s;
    border: 1px solid var(--border);
}

.gt-vm__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}

.gt-vm__icon {
    width: 56px;
    height: 56px;
    background: var(--blue-bg);
    color: var(--blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.gt-vm__icon--orange {
    background: var(--orange-bg);
    color: var(--orange);
}

.gt-vm__card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--dark);
}

.gt-vm__card p {
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

/* ── Section 5: Core Values ── */
.gt-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gt-value-card {
    background: var(--bg);
    border-radius: var(--r2);
    padding: 22px 18px;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
    position: relative;
    border: 1px solid var(--border);
}

.gt-value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
}

.gt-value-card__icon {
    width: 50px;
    height: 50px;
    background: var(--orange-bg);
    color: var(--orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px;
}

.gt-value-card__num {
    font-size: 11px;
    font-weight: 800;
    color: var(--text2);
    letter-spacing: .08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.gt-value-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--dark);
}

.gt-value-card p {
    font-size: 12px;
    color: var(--text);
    line-height: 1.65;
}

/* ── Section 6: Services ── */
.gt-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gt-service-card {
    background: var(--bg);
    border-radius: var(--r);
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all .25s;
    text-decoration: none;
    color: var(--dark);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
}

.gt-service-card:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 88, 42, .1);
}

.gt-service-card__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: var(--orange-bg);
    color: var(--orange);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background .2s;
}

.gt-service-card:hover .gt-service-card__icon {
    background: var(--orange);
    color: #fff;
}

.gt-service-card__arrow {
    margin-left: auto;
    font-size: 12px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all .2s;
}

.gt-service-card:hover .gt-service-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ── Section 7: Staff ── */
.gt-staff__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.gt-staff-card {
    background: var(--bg);
    border-radius: var(--r2);
    padding: 20px 14px;
    text-align: center;
    transition: transform .25s, box-shadow .25s;
    border: 1px solid var(--border);
}

.gt-staff-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
    border-color: var(--orange);
}

.gt-staff-card__avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--blue) 0%, #1a5fcc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    margin: 0 auto 12px;
    box-shadow: 0 4px 14px rgba(13, 75, 193, .2);
    overflow: hidden;
}

.gt-staff-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.gt-staff-card__info h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.gt-staff-card__role {
    display: block;
    font-size: 11px;
    color: var(--text2);
    margin-bottom: 10px;
}

.gt-staff-card__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    transition: color .2s;
    text-decoration: none;
}

.gt-staff-card__phone:hover {
    color: var(--orange);
}

.gt-staff-card__phone i {
    font-size: 11px;
    color: var(--orange);
}

.gt-staff-card__zalo {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #0068ff;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .2s;
}

.gt-staff-card__zalo:hover {
    background: #0055d4;
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .gt-values__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gt-staff__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gt-section {
        padding: 24px 20px;
    }

    .gt-section-title {
        font-size: 20px;
    }

    .gt-intro__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gt-intro__image {
        display: none;
    }

    .gt-vm__grid {
        grid-template-columns: 1fr;
    }

    .gt-values__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gt-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gt-staff__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gt-timeline::before {
        left: 24px;
    }

    .gt-timeline__item {
        grid-template-columns: 48px 1fr;
    }

    .gt-timeline__item .gt-timeline__content {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding-right: 0;
        padding-left: 16px;
    }

    .gt-timeline__item .gt-timeline__dot {
        grid-column: 1;
    }

    .gt-timeline__item--right .gt-timeline__content {
        grid-column: 2;
        padding-left: 16px;
    }

    .gt-timeline__item--right .gt-timeline__dot {
        grid-column: 1;
    }

    .gt-stats {
        gap: 16px;
    }

    .gt-stat__num {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .gt-values__grid {
        grid-template-columns: 1fr;
    }

    .gt-services__grid {
        grid-template-columns: 1fr;
    }

    .gt-staff__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==============================================
   VIDEO NỔI BẬT — Matching inanbinhduong.vn style
   ============================================== */

.top-posts-section {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

/* Header: "Video Nổi Bật" với đường dọc cam bên trái */
.top-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.top-posts-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    padding-left: 12px;
    border-left: 3px solid var(--orange, #fb582a);
    line-height: 1.2;
}

.top-posts-more {
    font-size: 13px;
    color: #1565c0;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color .2s;
}

.top-posts-more:hover {
    color: var(--orange, #fb582a);
}

/* Horizontal card row */
.top-posts-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.top-posts-row::-webkit-scrollbar {
    display: none;
}

/* Individual card */
.top-post-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    min-width: 0;
}

.top-post-card:hover .top-post-ttl {
    color: var(--orange, #fb582a);
}

/* Thumbnail wrapper — 16:9 ratio */
.top-post-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #eee;
    margin-bottom: 8px;
}

.top-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.top-post-card:hover .top-post-thumb img {
    transform: scale(1.05);
}

.top-post-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8effd 0%, #d0e0fa 100%);
    color: #8aadee;
    font-size: 2rem;
}

/* Play button — small circle overlay (like inanbinhduong.vn) */
.top-post-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.top-post-play i {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .92);
    color: #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding-left: 3px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
    transition: background .2s, transform .2s;
}

.top-post-card:hover .top-post-play i {
    background: var(--orange, #fb582a);
    color: #fff;
    transform: scale(1.08);
}

/* Info block below thumbnail */
.top-post-info {
    padding: 0 2px;
}

.top-post-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--orange, #fb582a);
    margin-bottom: 5px;
}

.top-post-ttl {
    font-size: 12.5px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.45;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}

.top-post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #999;
}

.top-post-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.top-post-meta i {
    font-size: 11px;
}

/* NOTE: .top-cats-* styles defined in "TOP CATS SECTION — Premium" above */

/* ==============================================
   BLOG ARCHIVE — inanbinhduong.vn style
   arc-header-card + arc-chip filters
   ============================================== */

/* Header card: white, rounded, orange right accent */
.arc-header-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    position: relative;
}

.arc-header-inner {
    flex: 1;
    padding: 22px 28px;
}

/* Title */
.arc-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 4px;
    line-height: 1.2;
}

/* Subtitle/description */
.arc-desc {
    font-size: 13px;
    color: #999;
    margin: 0 0 12px;
    line-height: 1.5;
}

/* Breadcrumb */
.arc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
    flex-wrap: wrap;
}

.arc-breadcrumb a {
    color: #4a6cf7;
    text-decoration: none;
    font-weight: 500;
    transition: color .18s;
}

.arc-breadcrumb a:hover {
    color: var(--orange, #ff6b35);
}

.arc-brd-sep {
    font-size: 11px;
    opacity: .5;
}

/* Orange right-border accent bar */
.arc-header-accent {
    width: 6px;
    min-width: 6px;
    background: var(--orange, #ff6b35);
    border-radius: 0 14px 14px 0;
    flex-shrink: 0;
}

/* ==============================================
   CATEGORY FILTER CHIPS ROW
   ============================================== */
.arc-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
}

/* Individual chip */
.arc-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    background: #fff;
    border: 1.5px solid #e4e6ed;
    text-decoration: none;
    white-space: nowrap;
    transition: all .18s;
    line-height: 1.2;
    cursor: pointer;
}

.arc-chip:hover {
    border-color: #4a6cf7;
    color: #4a6cf7;
    background: #eef2ff;
}

/* Active chip — blue filled */
.arc-chip--active {
    background: #4a6cf7;
    border-color: #4a6cf7;
    color: #fff;
    font-weight: 700;
}

.arc-chip--active:hover {
    background: #3c5ce6;
    border-color: #3c5ce6;
    color: #fff;
}

/* Responsive */
@media (max-width: 640px) {
    .arc-title {
        font-size: 1.25rem;
    }

    .arc-header-inner {
        padding: 16px 18px;
    }

    .arc-header-accent {
        width: 4px;
    }

    .arc-filter-row {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        scrollbar-width: none;
    }

    .arc-filter-row::-webkit-scrollbar {
        display: none;
    }
}

/* ==============================================
   VIDEO SWIPER SECTION — inanbinhduong.vn style
   ============================================== */

/* Wrapper */
.video-section {
    background: #fff;
    border-radius: 16px;
    padding: 20px 20px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

/* Header row: title left, nav buttons right */
.video-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.video-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-section-bar {
    width: 4px;
    height: 22px;
    background: var(--orange, #ff6b35);
    border-radius: 2px;
    flex-shrink: 0;
}

.video-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0;
}

/* Prev / Next buttons */
.video-swiper-nav {
    display: flex;
    gap: 8px;
}

.video-swiper-prev,
.video-swiper-next {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: all .18s;
    flex-shrink: 0;
}

.video-swiper-prev:hover,
.video-swiper-next:hover {
    background: var(--orange, #ff6b35);
    border-color: var(--orange, #ff6b35);
    color: #fff;
}

.video-swiper-prev.swiper-button-disabled,
.video-swiper-next.swiper-button-disabled {
    opacity: .35;
    cursor: default;
}

/* Swiper container */
.video-swiper-container {
    overflow: hidden;
}

/* Each video card */
.video-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
}

/* Thumbnail */
.video-box__thumb {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #1a1a2e;
    cursor: pointer;
    flex-shrink: 0;
}

.video-box__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .38s ease;
}

.video-box:hover .video-box__thumb img {
    transform: scale(1.06);
}

/* Fallback no-thumbnail */
.video-box__noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255, 255, 255, .3);
    background: #1a1a2e;
}

/* Play button overlay — white circle with triangle */
.play-button {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .28);
    transition: background .2s;
}

.video-box:hover .play-button {
    background: rgba(0, 0, 0, .45);
}

.play-button::after {
    content: '';
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, .92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* triangle via border trick */
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a1a2e'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px;
    transition: transform .2s, box-shadow .2s;
}

.video-box:hover .play-button::after {
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

/* Info block below image */
.video-box__info {
    text-align: center;
    cursor: pointer;
    padding: 0 4px;
}

.title-video {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .18s;
}

.video-box:hover .title-video {
    color: var(--orange, #ff6b35);
}

/* Meta row: views + comments */
.action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 12px;
    color: #999;
}

.view-video {
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-video i {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 900px) {
    .video-section {
        padding: 16px;
    }
}

@media (max-width: 600px) {
    .video-section-title {
        font-size: .95rem;
    }

    .play-button::after {
        width: 36px;
        height: 36px;
        background-size: 18px;
    }
}

/* ==============================================
   HOMEPAGE LAYOUT — dash, hero-card, sections
   (các class bị thiếu gây blank screen)
   ============================================== */

/* Main dashboard wrapper */
.dash {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    align-items: start;
    padding: 20px 20px 40px;
}

.dash-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

/* Right sidebar */
.dash-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 84px;
}

/* --- HERO CARD --- */
.hero-card {
    background: linear-gradient(135deg, #0D4BC1 0%, #1a6ef5 60%, #fb582a 100%);
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
}

.hero-pad {
    padding: 32px 36px;
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    padding: 5px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #fff;
    margin-bottom: 16px;
}

.hero-card h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 10px;
}

.hero-card p {
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    margin-bottom: 16px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, .9);
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- STATS --- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.stat {
    background: #fff;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.stat-ic {
    width: 44px;
    height: 44px;
    background: var(--blue-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--blue);
    margin: 0 auto 10px;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-lbl {
    font-size: 11px;
    color: var(--text2);
    font-weight: 500;
}

/* --- SECTION HEADER --- */
.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: -4px;
}

.sec-head h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* --- CATEGORY GRID — Premium cards with icons --- */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cat-card {
    background: linear-gradient(145deg, #ffffff, #fafbfd);
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
    border: 1px solid rgba(0, 0, 0, .04);
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.cat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), #ff9800, #ffc107);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.cat-card:hover {
    box-shadow: 0 12px 36px rgba(251, 88, 42, .12), 0 2px 8px rgba(0, 0, 0, .06);
    transform: translateY(-4px);
    border-color: rgba(251, 88, 42, .1);
}

.cat-card:hover::after {
    transform: scaleX(1);
}

.cat-ic {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--orange);
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(251, 88, 42, .1);
}

.cat-card:hover .cat-ic {
    background: linear-gradient(135deg, var(--orange), #ff9800);
    color: #fff;
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 4px 16px rgba(251, 88, 42, .25);
}

.cat-thumb {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.cat-card h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    transition: color .25s ease;
}

.cat-card:hover h4 {
    color: var(--orange);
}

.cat-card p {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

.cat-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 5px 0;
    transition: all .25s ease;
}

.cat-link i {
    font-size: 11px;
    transition: transform .25s ease;
}

.cat-link:hover {
    color: var(--orange-hover);
}

.cat-link:hover i {
    transform: translateX(4px);
}


/* --- ẤN PHẨM NỔI BẬT — fp-section --- */
.fp-section {
    background: #fff;
    border-radius: 16px;
    padding: 20px 20px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.fp-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.fp-badge-label {
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 8px;
    letter-spacing: .05em;
    white-space: nowrap;
    flex-shrink: 0;
}

.fp-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
}

.fp-tabs::-webkit-scrollbar {
    display: none;
}

.fp-tab {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    padding: 5px 14px;
    border-radius: 99px;
    border: 1.5px solid var(--border);
    transition: all .18s;
}

.fp-tab:hover,
.fp-tab--all {
    color: var(--orange);
    border-color: var(--orange);
    background: var(--orange-bg);
}

/* Freepik 4-column grid */
.fp-freepik-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.fp-fcard {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3/4;
    display: block;
    text-decoration: none;
    background: #1a1a2e;
}

.fp-fcard-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .4s ease;
}

.fp-fcard:hover .fp-fcard-img {
    transform: scale(1.06);
}

.fp-fcard-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, .3);
}

.fp-fcard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .1) 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    gap: 4px;
}

.fp-fcard-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--orange);
    background: rgba(251, 88, 42, .15);
    padding: 2px 8px;
    border-radius: 99px;
    align-self: flex-start;
}

.fp-fcard-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin: 0;
}

.fp-fcard-price {
    font-size: 11px;
    color: rgba(255, 255, 255, .75);
}

/* --- QUY TRÌNH --- */
.proc {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.proc-step {
    background: #fff;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    position: relative;
}

.proc-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--blue-bg);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -.03em;
}

.proc-step h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.proc-step p {
    font-size: 12px;
    color: var(--text2);
}

/* --- CAM KẾT --- */
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.commit-box {
    background: #fff;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.commit-ic {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--orange-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--orange);
    margin: 0 auto 12px;
}

.commit-box h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.commit-box p {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.5;
}

/* --- BÀI VIẾT --- */
.posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.post {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: box-shadow .2s, transform .2s;
}

.post:hover {
    box-shadow: 0 6px 24px rgba(13, 75, 193, .1);
    transform: translateY(-2px);
}

.post-img {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: #e4e6ed;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.post:hover .post-img img {
    transform: scale(1.06);
}

.post-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--orange);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    letter-spacing: .05em;
}

.post-body {
    padding: 14px 16px;
}

.post-meta {
    font-size: 11px;
    color: var(--text2);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-body h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.post-body h3 a:hover {
    color: var(--orange);
}

.post-divider {
    width: 30px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    margin-bottom: 8px;
}

.post-excerpt {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--orange);
    transition: gap .2s;
}

.read-more:hover {
    gap: 10px;
}

/* --- CTA BANNER --- */
.cta-banner {
    background: linear-gradient(135deg, #0D4BC1 0%, #1a6ef5 50%, #fb582a 100%);
    border-radius: 16px;
    padding: 28px 32px;
}

.cta-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-banner-text h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.cta-banner-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, .85);
}

.cta-banner-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--blue) !important;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 10px;
    white-space: nowrap;
    transition: transform .2s;
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
}

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, .15);
    border: 1.5px solid rgba(255, 255, 255, .4);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 10px;
    white-space: nowrap;
    transition: background .2s;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, .25);
}

/* --- RIGHT SIDEBAR WIDGETS --- */
.card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.card-head {
    padding: 14px 18px 12px;
    border-bottom: 1px solid var(--border);
}

.card-head h3 {
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
}

.card-body {
    padding: 14px 18px;
}

.w-notif {
    background: linear-gradient(135deg, #0D4BC1, #1a6ef5);
    border-radius: 14px;
    padding: 20px;
    color: #fff;
}

.w-notif .wi {
    font-size: 24px;
    margin-bottom: 8px;
}

.w-notif h3 {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.w-notif p {
    font-size: 12px;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 4px;
}

.w-notif small {
    font-size: 11px;
    color: rgba(255, 255, 255, .65);
}

/* News items in sidebar */
.news-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.news-item:last-child {
    border-bottom: none;
}

.news-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--blue-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info {
    flex: 1;
    min-width: 0;
}

.news-cat {
    font-size: 10px;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.news-date {
    font-size: 10px;
    color: var(--text2);
    float: right;
}

.news-info h5 {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin-top: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info h5 a:hover {
    color: var(--orange);
}

/* Quick access */
.qk {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.qk a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: var(--blue-bg);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    transition: background .2s, transform .2s;
    text-align: center;
}

.qk a:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
}

.qk a i {
    font-size: 18px;
}

/* Staff items */
.staff {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.staff:last-child {
    border-bottom: none;
}

.staff-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--orange));
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.staff-nm {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}

.staff-ph a {
    font-size: 12px;
    color: var(--orange);
}

.staff-ph a:hover {
    color: var(--orange-hover);
}



/* --- HOMEPAGE RESPONSIVE --- */
@media (max-width: 1200px) {
    .dash {
        grid-template-columns: 1fr;
    }

    .dash-side {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .fp-freepik-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .posts {
        grid-template-columns: repeat(3, 1fr);
    }

    .top-cats-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 900px) {
    .dash {
        padding: 12px;
        gap: 14px;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proc {
        grid-template-columns: repeat(2, 1fr);
    }

    .commitment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fp-freepik-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .posts {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-side {
        grid-template-columns: 1fr;
    }

    .top-cats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 640px) {
    .dash {
        padding: 10px;
    }

    .hero-pad {
        padding: 20px 18px;
    }

    .hero-card h2 {
        font-size: 1.25rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-grid {
        grid-template-columns: 1fr;
    }

    .proc {
        grid-template-columns: 1fr 1fr;
    }

    .commitment-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fp-freepik-grid {
        grid-template-columns: 1fr 1fr;
    }

    .posts {
        grid-template-columns: 1fr;
    }

    .top-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-banner {
        padding: 20px;
    }

    .cta-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .qk {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   SINGLE PRODUCT PAGE (sp-*)
   ========================================================================== */
.sp-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 0;
}

.sp-breadcrumb {
    font-size: 13px;
    color: var(--text2);
    padding: 10px 0;
}

.sp-breadcrumb .woocommerce-breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: var(--text2);
}

.sp-breadcrumb a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.sp-breadcrumb a:hover {
    color: var(--orange);
}

.sp-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.sp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: flex-start;
}

.sp-gallery {
    position: relative;
}

/* WooCommerce product gallery reset */
.sp-gallery .woocommerce-product-gallery {
    float: none;
    width: 100% !important;
    margin: 0;
}

.sp-gallery .woocommerce-product-gallery__wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
}

.sp-gallery .flex-viewport {
    border-radius: 12px;
    overflow: hidden;
}

.sp-gallery img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.sp-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sp-gallery .flex-control-nav {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.sp-gallery .flex-control-nav::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.sp-gallery .flex-control-nav li {
    flex: 0 0 80px;
}

.sp-gallery .flex-control-nav img {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, border 0.2s;
    border: 2px solid transparent;
}

.sp-gallery .flex-control-nav img.flex-active,
.sp-gallery .flex-control-nav img:hover {
    opacity: 1;
    border-color: var(--orange);
}

.sp-summary {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.sp-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 10px;
    line-height: 1.3;
}

.sp-price-wrap {
    font-size: 22px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.sp-price-wrap del {
    color: var(--text2);
    font-size: 16px;
    font-weight: 500;
    margin-right: 10px;
}

.sp-price-wrap ins {
    text-decoration: none;
}

.sp-excerpt {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 20px;
}

.sp-specs {
    background: var(--blue-bg);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.sp-specs-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.sp-spec-row {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    font-size: 13.5px;
}

.sp-spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sp-spec-label {
    flex: 0 0 120px;
    color: var(--text2);
    font-weight: 500;
}

.sp-spec-value {
    flex: 1;
    color: var(--dark);
    font-weight: 600;
}

/* FORM ADD TO CART */
.sp-form form.cart {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 24px;
}

.sp-form .quantity {
    display: flex;
    align-items: center;
}

.sp-form .quantity .qty {
    width: 60px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    background: #fff;
    appearance: textfield;
    -moz-appearance: textfield;
}

.sp-form .quantity .qty::-webkit-outer-spin-button,
.sp-form .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sp-form button.single_add_to_cart_button {
    height: 44px;
    padding: 0 30px;
    background: var(--orange);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 200px;
}

.sp-form button.single_add_to_cart_button:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
}

.sp-meta {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-meta-row {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-meta-label {
    color: var(--text2);
    font-weight: 500;
}

.sp-meta-value {
    color: var(--dark);
    font-weight: 600;
}

.sp-meta-links a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.sp-meta-links a:hover {
    color: var(--orange);
}

.sp-badges {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.sp-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    flex: 1;
    white-space: nowrap;
}

.sp-badge i {
    color: var(--blue);
    font-size: 16px;
}

/* TABS SECTION */
.sp-tabs-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    overflow: hidden;
    margin-top: 10px;
}

.sp-tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: #fafafa;
    overflow-x: auto;
    scrollbar-width: thin;
}

.sp-tab-btn {
    padding: 16px 24px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--text2);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
}

.sp-tab-btn:hover {
    color: var(--dark);
}

.sp-tab-btn--active {
    color: var(--orange);
    border-bottom-color: var(--orange);
    background: #fff;
}

.sp-tab-panel {
    display: none;
    padding: 24px;
    animation: fadeIn 0.3s ease;
}

.sp-tab-panel--active {
    display: block;
}

.sp-tab-content {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text);
}

.sp-tab-content h2,
.sp-tab-content h3,
.sp-tab-content h4 {
    color: var(--dark);
    font-weight: 700;
    margin: 24px 0 12px;
}

.sp-tab-content h2:first-child,
.sp-tab-content h3:first-child {
    margin-top: 0;
}

.sp-tab-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.sp-tab-content li {
    margin-bottom: 8px;
}

.sp-tab-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* RELATED PRODUCTS */
.sp-related-section {
    margin-top: 20px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.sp-related-head {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
}

.sp-related-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin: 0;
    text-transform: uppercase;
}

.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.sp-rel-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.sp-rel-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sp-rel-img {
    aspect-ratio: 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sp-rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-rel-noimg {
    font-size: 32px;
    color: rgba(0, 0, 0, 0.1);
}

.sp-rel-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sp-rel-body h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.sp-rel-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
    margin-top: auto;
}

.sp-rel-price del {
    color: var(--text2);
    font-size: 11px;
    font-weight: 500;
    margin-right: 5px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .sp-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sp-page {
        padding: 12px 16px 30px;
    }

    .sp-related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {

    .sp-card,
    .sp-tabs-card,
    .sp-related-section {
        padding: 16px;
    }

    .sp-title {
        font-size: 20px;
    }

    .sp-tab-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .sp-tab-panel {
        padding: 16px 0 0;
    }

    .sp-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sp-badges {
        flex-direction: column;
    }

    .sp-form form.cart {
        flex-direction: column;
        align-items: stretch;
    }

    .sp-form button.single_add_to_cart_button {
        width: 100%;
        min-width: unset;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SHOP / PRODUCT CATEGORY PAGE
   ========================================================================== */
.shop-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    width: 100%;
    padding: 0;
}

.shop-main {
    min-width: 0;
}

/* Shop Header Card */
.shop-header-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.shop-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 8px;
}

.shop-cat-desc {
    font-size: 14px;
    color: var(--text2);
    line-height: 1.6;
    margin-bottom: 16px;
}

.shop-cat-desc p {
    margin: 0;
}

/* Subcategory Chips */
.shop-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.shop-subcat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--blue-bg);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    transition: all .2s;
}

.shop-subcat-chip:hover {
    background: var(--blue);
    color: #fff;
}

.shop-subcat-chip:hover .shop-subcat-count {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.shop-subcat-count {
    background: rgba(0, 0, 0, .06);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 700;
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.shop-toolbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-view-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    font-size: 14px;
    transition: all .2s;
}

.shop-view-btn.active,
.shop-view-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255, 107, 0, .06);
}

.shop-result-count {
    font-size: 13px;
    color: var(--text2);
    margin-left: 4px;
}

.shop-toolbar-right select {
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--dark);
    background: #fff;
    cursor: pointer;
}

/* Product Grid – 4 columns */
.shop-products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* List view override */
.shop-products--list ul.products {
    grid-template-columns: 1fr;
}

.shop-products--list .product-card {
    display: flex;
    flex-direction: row;
}

.shop-products--list .product-card-img {
    flex: 0 0 180px;
    aspect-ratio: auto;
    height: 140px;
}

.shop-products--list .product-card-body {
    flex: 1;
    padding: 16px;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.product-card-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.product-card:hover .product-card-img img {
    transform: scale(1.06);
}

.product-card-placeholder {
    font-size: 40px;
    color: #ddd;
}

.product-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff3b3b;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity .3s;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-add-btn,
.product-quick-view {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark);
    font-size: 15px;
    transition: background .2s, color .2s, transform .2s;
}

.product-add-btn:hover,
.product-quick-view:hover {
    background: var(--orange);
    color: #fff;
    transform: scale(1.1);
}

.product-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 6px;
}

.product-card-rating i {
    font-size: 11px;
    color: #ffc107;
}

.product-card-rating--empty i {
    color: #ddd;
}

.product-card-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--orange);
    margin-top: auto;
}

.product-card-price del {
    color: var(--text2);
    font-size: 12px;
    font-weight: 500;
    margin-right: 6px;
}

.product-card-price ins {
    text-decoration: none;
}

/* Shop Pagination */
.shop-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.shop-pagination .woocommerce-pagination {
    width: auto;
}

.shop-pagination ul.page-numbers {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-pagination .page-numbers li a,
.shop-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    border: 1px solid var(--border);
    color: var(--dark);
    background: #fff;
}

.shop-pagination .page-numbers li span.current {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

.shop-pagination .page-numbers li a:hover {
    border-color: var(--orange);
    color: var(--orange);
}

/* No Products */
.shop-no-products {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.shop-empty-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 16px;
}

.shop-no-products h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 8px;
}

.shop-no-products p {
    color: var(--text2);
    font-size: 14px;
    margin-bottom: 20px;
}

/* SIDEBAR */
.shop-sidebar {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.shop-widget {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.shop-widget-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--orange);
    text-transform: uppercase;
}

/* Cart widget */
.shop-cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.shop-cart-item:last-child {
    border-bottom: none;
}

.shop-cart-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.shop-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-cart-info {
    flex: 1;
    min-width: 0;
}

.shop-cart-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-cart-qty {
    font-size: 11px;
    color: var(--text2);
}

.shop-cart-remove {
    color: var(--text2);
    font-size: 18px;
    text-decoration: none;
    transition: color .2s;
}

.shop-cart-remove:hover {
    color: #ff3b3b;
}

.shop-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.shop-cart-total-price {
    color: var(--orange);
}

.shop-cart-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.shop-cart-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all .2s;
}

.btn-view-cart {
    background: var(--blue-bg);
    color: var(--blue);
}

.btn-view-cart:hover {
    background: var(--blue);
    color: #fff;
}

.btn-checkout {
    background: var(--orange);
    color: #fff;
}

.btn-checkout:hover {
    background: var(--orange-hover);
}

.shop-cart-empty {
    font-size: 13px;
    color: var(--text2);
    text-align: center;
    padding: 10px 0;
}

/* Search widget */
.shop-search-wrap {
    display: flex;
    gap: 0;
}

.shop-search-wrap input[type="search"] {
    flex: 1;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 10px 0 0 10px;
    font-size: 13px;
    outline: none;
    transition: border-color .2s;
}

.shop-search-wrap input[type="search"]:focus {
    border-color: var(--orange);
}

.shop-search-wrap button {
    padding: 9px 14px;
    background: var(--orange);
    border: none;
    border-radius: 0 10px 10px 0;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s;
}

.shop-search-wrap button:hover {
    background: var(--orange-hover);
}

/* Category list widget */
.shop-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-cat-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
    transition: all .2s;
}

.shop-cat-item:last-child a {
    border-bottom: none;
}

.shop-cat-item a:hover,
.shop-cat-item.active a {
    color: var(--orange);
}

.shop-cat-count {
    background: var(--blue-bg);
    border-radius: 8px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--blue);
}

.shop-cat-item.active .shop-cat-count {
    background: var(--orange);
    color: #fff;
}

/* WooCommerce default overrides */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- SHOP RESPONSIVE --- */
@media (max-width: 1200px) {
    .shop-layout {
        grid-template-columns: 1fr 260px;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .shop-products ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .shop-products ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .shop-layout {
        padding: 12px;
    }

    .shop-header-card {
        padding: 16px;
    }

    .shop-sidebar {
        grid-template-columns: 1fr;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .shop-products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-products--list .product-card-img {
        flex: 0 0 120px;
        height: 100px;
    }
}

/* ==============================================
   CONTACT MAP SECTION
   ============================================== */
.contact-map-section {
    margin-top: 20px;
}

.contact-map-card {
    background: var(--white);
    border-radius: var(--r2);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    overflow: hidden;
}

.map-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
}

.map-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-header h3 i {
    color: var(--blue);
}

.map-wrap iframe {
    display: block;
    width: 100%;
}

/* ==============================================
   SITE FOOTER
   ============================================== */
.site-footer {
    background: linear-gradient(180deg, #1a1f2e 0%, #111827 100%);
    color: #c9cdd8;
    margin-left: var(--sb);
    margin-top: 40px;
    font-size: .88rem;
    line-height: 1.7;
}

/* Footer Top */
.footer-top {
    padding: 50px 40px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 36px;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--blue), #1565C0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--f);
}

.footer-logo-text span {
    color: var(--orange);
}

.footer-desc {
    font-size: .84rem;
    color: #9ca3af;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Footer Socials */
.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: .88rem;
    transition: all .3s;
}

.footer-socials a:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 75, 193, .3);
}

/* Footer Headings */
.footer-heading {
    font-size: .92rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2.5px;
    background: var(--blue);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #9ca3af;
    font-size: .84rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all .2s;
}

.footer-links a i {
    font-size: .55rem;
    color: var(--blue);
    opacity: 0;
    transition: all .2s;
    transform: translateX(-4px);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Contact List */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: .84rem;
}

.footer-contact li i {
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 3px;
    font-size: .82rem;
}

.footer-contact a {
    color: #9ca3af;
    transition: color .2s;
}

.footer-contact a:hover {
    color: #fff;
}

/* Footer Newsletter */
.footer-newsletter {
    margin-top: 20px;
}

.footer-newsletter h5 {
    font-size: .8rem;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.footer-nl-form {
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
}

.footer-nl-form input {
    flex: 1;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .05);
    border: none;
    color: #fff;
    font-size: .82rem;
    font-family: var(--f);
    outline: none;
}

.footer-nl-form input::placeholder {
    color: #6b7280;
}

.footer-nl-form button {
    padding: 10px 16px;
    background: var(--blue);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: .88rem;
    transition: background .2s;
}

.footer-nl-form button:hover {
    background: var(--blue-hover);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 18px 40px;
}

.footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: .78rem;
    color: #6b7280;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom-links a {
    color: #6b7280;
    font-size: .78rem;
    transition: color .2s;
}

.footer-bottom-links a:hover {
    color: var(--blue);
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, .15);
}

/* ==============================================
   FOOTER RESPONSIVE
   ============================================== */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        margin-left: 0;
    }

    .footer-top {
        padding: 36px 20px 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        padding: 16px 20px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-top {
        padding: 28px 16px 20px;
    }

    .footer-bottom {
        padding: 14px 16px;
    }
}