/*
Theme Name: Vĩnh Thịnh Foods
Theme URI: https://vinhthinhfoods.com
Author: Vĩnh Thịnh Foods
Description: Giao diện trưng bày đặc sản khô và hải sản một nắng dành riêng cho Vĩnh Thịnh Foods.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: vinh-thinh-foods
*/

:root {
  --vt-red: #d82323;
  --vt-red-dark: #a70f18;
  --vt-navy: #093a66;
  --vt-blue: #0b72b9;
  --vt-teal: #05856f;
  --vt-gold: #f3b61f;
  --vt-cream: #fff9ed;
  --vt-ink: #17212b;
  --vt-muted: #65717e;
  --vt-line: #e7e9ec;
  --vt-white: #ffffff;
  --vt-shadow: 0 18px 55px rgba(24, 41, 60, .10);
  --vt-radius: 22px;
  --vt-container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--vt-ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}
body.admin-bar .vt-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.vt-container { width: min(calc(100% - 40px), var(--vt-container)); margin-inline: auto; }
.vt-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.vt-topbar { background: var(--vt-navy); color: #fff; font-size: 13px; }
.vt-topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vt-topbar a:hover { color: #ffe79c; }
.vt-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(8, 58, 102, .09); }
.vt-header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.vt-brand { display: inline-flex; align-items: center; gap: 11px; min-width: 245px; }
.vt-brand img { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; box-shadow: 0 7px 20px rgba(216,35,35,.18); }
.vt-brand-mark { width: 55px; height: 55px; border-radius: 50%; display: grid; place-items: center; background: var(--vt-red); color: #fff; font-size: 26px; }
.vt-brand-title { display: block; color: var(--vt-red); font-size: 19px; font-weight: 900; letter-spacing: .02em; line-height: 1.1; text-transform: uppercase; }
.vt-brand-subtitle { display: block; color: var(--vt-navy); font-size: 11px; font-weight: 700; margin-top: 4px; }
.vt-nav { margin-left: auto; }
.vt-nav ul { display: flex; align-items: center; gap: 24px; list-style: none; padding: 0; margin: 0; }
.vt-nav a { position: relative; font-size: 14px; font-weight: 700; color: #2a3743; }
.vt-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--vt-red); transition: right .2s ease; }
.vt-nav a:hover::after, .vt-nav .current-menu-item a::after { right: 0; }
.vt-header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--vt-red), var(--vt-red-dark)); font-size: 14px; font-weight: 800; box-shadow: 0 10px 24px rgba(200, 20, 30, .25); }
.vt-menu-toggle { display: none; border: 0; background: transparent; padding: 9px; color: var(--vt-navy); cursor: pointer; }
.vt-menu-toggle span { display: block; width: 25px; height: 2px; background: currentColor; margin: 5px 0; }

.vt-hero { position: relative; overflow: hidden; padding: 72px 0 64px; background: radial-gradient(circle at 80% 20%, rgba(244,183,31,.24), transparent 34%), linear-gradient(135deg, #fffdf8 0%, #fff4dc 46%, #eefaff 100%); }
.vt-hero::after { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(11,114,185,.12); border-radius: 50%; right: -220px; top: -210px; box-shadow: 0 0 0 55px rgba(11,114,185,.035), 0 0 0 110px rgba(11,114,185,.025); }
.vt-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 58px; }
.vt-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; color: var(--vt-red-dark); background: #fff; border: 1px solid rgba(216,35,35,.16); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.vt-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--vt-gold); box-shadow: 0 0 0 4px rgba(243,182,31,.18); }
.vt-hero h1 { max-width: 680px; margin: 20px 0 18px; color: var(--vt-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5.6vw, 76px); line-height: .99; letter-spacing: -.045em; }
.vt-hero h1 span { color: var(--vt-red); }
.vt-hero-copy { max-width: 615px; margin: 0; color: #52606d; font-size: 17px; }
.vt-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.vt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 49px; padding: 0 21px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 850; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.vt-btn:hover { transform: translateY(-2px); }
.vt-btn-primary { color: #fff; background: linear-gradient(135deg, var(--vt-red), #b4131d); box-shadow: 0 13px 26px rgba(204,24,34,.24); }
.vt-btn-secondary { color: var(--vt-navy); background: #fff; border: 1px solid rgba(9,58,102,.14); box-shadow: 0 10px 24px rgba(28,44,60,.07); }
.vt-hero-points { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: #344453; font-size: 13px; font-weight: 700; }
.vt-hero-points li::before { content: "✓"; display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 8px; border-radius: 50%; color: #fff; background: var(--vt-teal); font-size: 12px; }
.vt-visual { position: relative; min-height: 510px; }
.vt-visual-main { position: absolute; inset: 0 42px 20px 55px; overflow: hidden; border-radius: 42% 42% 24px 24px; box-shadow: 0 30px 70px rgba(33,63,87,.22); background: #fff; }
.vt-visual-main img { width: 100%; height: 100%; object-fit: cover; }
.vt-visual-card { position: absolute; width: 168px; overflow: hidden; border: 7px solid #fff; border-radius: 22px; box-shadow: var(--vt-shadow); background: #fff; }
.vt-visual-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.vt-visual-card-one { left: -4px; bottom: 14px; transform: rotate(-5deg); }
.vt-visual-card-two { right: -2px; top: 35px; transform: rotate(5deg); }
.vt-quality-seal { position: absolute; right: 0; bottom: 20px; width: 112px; height: 112px; display: grid; place-items: center; text-align: center; color: var(--vt-red-dark); background: #fff4c7; border: 2px dashed var(--vt-gold); border-radius: 50%; font-size: 12px; font-weight: 900; line-height: 1.25; transform: rotate(-7deg); box-shadow: 0 16px 32px rgba(109,72,0,.17); }

.vt-trust { position: relative; z-index: 5; margin-top: -22px; }
.vt-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: 19px; background: #fff; box-shadow: var(--vt-shadow); }
.vt-trust-item { display: flex; align-items: center; gap: 13px; min-height: 92px; padding: 18px 24px; border-right: 1px solid var(--vt-line); }
.vt-trust-item:last-child { border: 0; }
.vt-trust-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 13px; color: var(--vt-red); background: #fff0ed; font-size: 21px; }
.vt-trust-item strong { display: block; font-size: 14px; }
.vt-trust-item span { display: block; color: var(--vt-muted); font-size: 12px; margin-top: 2px; }

.vt-section { padding: 84px 0; }
.vt-section-soft { background: linear-gradient(180deg, #f8fbfd, #fff); }
.vt-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.vt-eyebrow { display: block; margin-bottom: 8px; color: var(--vt-red); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.vt-section h2, .vt-page-head h1 { margin: 0; color: var(--vt-navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 49px); line-height: 1.08; letter-spacing: -.025em; }
.vt-section-intro { max-width: 620px; margin: 12px 0 0; color: var(--vt-muted); }
.vt-text-link { color: var(--vt-red); font-size: 14px; font-weight: 850; }

.vt-filter-bar { display: grid; grid-template-columns: minmax(240px, 1fr) auto; gap: 16px; align-items: center; margin-bottom: 28px; }
.vt-search { position: relative; }
.vt-search input { width: 100%; height: 50px; padding: 0 18px 0 46px; border: 1px solid var(--vt-line); border-radius: 15px; outline: 0; background: #fff; color: var(--vt-ink); box-shadow: 0 8px 25px rgba(32,58,78,.05); }
.vt-search input:focus { border-color: rgba(11,114,185,.55); box-shadow: 0 0 0 4px rgba(11,114,185,.09); }
.vt-search::before { content: "⌕"; position: absolute; left: 17px; top: 7px; z-index: 1; color: var(--vt-navy); font-size: 25px; }
.vt-filter-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.vt-chip { min-height: 39px; padding: 0 14px; border: 1px solid var(--vt-line); border-radius: 999px; color: #4d5b67; background: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.vt-chip:hover, .vt-chip.is-active { color: #fff; background: var(--vt-navy); border-color: var(--vt-navy); }
.vt-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.vt-product-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--vt-line); border-radius: 20px; box-shadow: 0 12px 35px rgba(29,51,70,.07); transition: transform .2s ease, box-shadow .2s ease; }
.vt-product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(29,51,70,.13); }
.vt-product-media { position: relative; display: block; overflow: hidden; background: var(--vt-cream); }
.vt-product-media img { width: 100%; aspect-ratio: 1 / .92; object-fit: cover; transition: transform .35s ease; }
.vt-product-card:hover .vt-product-media img { transform: scale(1.035); }
.vt-product-badge { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 999px; color: #fff; background: var(--vt-red); font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.vt-product-body { padding: 17px; }
.vt-product-cat { display: block; min-height: 18px; color: var(--vt-teal); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.vt-product-title { min-height: 48px; margin: 6px 0 10px; color: #263541; font-size: 15px; font-weight: 800; line-height: 1.45; }
.vt-product-title a:hover { color: var(--vt-red); }
.vt-product-meta { display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.vt-price { display: block; color: var(--vt-red); font-size: 18px; font-weight: 900; line-height: 1.2; }
.vt-pack { display: block; color: var(--vt-muted); font-size: 11px; margin-top: 3px; }
.vt-mini-order { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 50%; color: #fff; background: var(--vt-navy); font-size: 17px; }
.vt-no-products { grid-column: 1 / -1; padding: 35px; text-align: center; color: var(--vt-muted); background: #fff; border: 1px dashed #ccd4da; border-radius: 18px; }

.vt-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vt-category-card { position: relative; min-height: 330px; overflow: hidden; border-radius: var(--vt-radius); box-shadow: var(--vt-shadow); }
.vt-category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.vt-category-card:hover img { transform: scale(1.04); }
.vt-category-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(3,29,49,.93)); }
.vt-category-content { position: absolute; z-index: 2; inset: auto 24px 24px; color: #fff; }
.vt-category-content span { color: #ffe083; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.vt-category-content h3 { margin: 5px 0 4px; font-family: Georgia, serif; font-size: 29px; }
.vt-category-content p { margin: 0; color: rgba(255,255,255,.8); font-size: 13px; }

.vt-story-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 62px; }
.vt-story-media { position: relative; }
.vt-story-media > img { width: 100%; max-height: 610px; object-fit: cover; object-position: top; border-radius: 28px; box-shadow: var(--vt-shadow); }
.vt-story-note { position: absolute; right: -30px; bottom: 30px; max-width: 235px; padding: 20px; border-radius: 18px; color: #fff; background: var(--vt-navy); box-shadow: var(--vt-shadow); }
.vt-story-note strong { display: block; font-size: 17px; }
.vt-story-note span { display: block; margin-top: 4px; color: rgba(255,255,255,.75); font-size: 12px; }
.vt-story-list { display: grid; gap: 13px; margin: 27px 0; }
.vt-story-item { display: flex; gap: 13px; align-items: flex-start; }
.vt-story-item i { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 27px; border-radius: 50%; color: #fff; background: var(--vt-teal); font-style: normal; font-size: 12px; }
.vt-story-item strong { display: block; font-size: 14px; }
.vt-story-item span { color: var(--vt-muted); font-size: 13px; }

.vt-contact { overflow: hidden; color: #fff; background: linear-gradient(135deg, #073456, #0b5f83 62%, #047c6c); }
.vt-contact-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 55px 0; }
.vt-contact h2 { color: #fff; }
.vt-contact p { max-width: 680px; color: rgba(255,255,255,.77); margin-bottom: 0; }
.vt-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.vt-contact .vt-btn-secondary { color: var(--vt-navy); }

.vt-page-head { padding: 62px 0; background: linear-gradient(135deg, #fff7e4, #eef9ff); text-align: center; }
.vt-page-head p { max-width: 680px; margin: 13px auto 0; color: var(--vt-muted); }
.vt-single { padding: 72px 0; }
.vt-single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: start; }
.vt-single-image { overflow: hidden; border-radius: 26px; box-shadow: var(--vt-shadow); background: var(--vt-cream); }
.vt-single-image img { width: 100%; max-height: 670px; object-fit: cover; }
.vt-single-info h1 { margin: 10px 0 18px; color: var(--vt-navy); font-family: Georgia, serif; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.vt-single-price { color: var(--vt-red); font-size: 30px; font-weight: 900; }
.vt-single-pack { margin: 4px 0 24px; color: var(--vt-muted); }
.vt-single-copy { color: #53616d; }
.vt-single-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.vt-price-note { margin-top: 20px; padding: 14px 16px; border-radius: 13px; color: #6a5923; background: #fff8db; font-size: 12px; }
.vt-pagination { margin-top: 34px; text-align: center; }
.vt-pagination .page-numbers { display: inline-grid; min-width: 39px; min-height: 39px; place-items: center; margin: 3px; border-radius: 10px; background: #eff3f6; font-size: 13px; font-weight: 800; }
.vt-pagination .current { color: #fff; background: var(--vt-navy); }
.vt-page-content { padding: 65px 0; }
.vt-entry { max-width: 840px; margin: auto; }
.vt-entry a { color: var(--vt-blue); text-decoration: underline; }

.vt-footer { padding-top: 57px; color: rgba(255,255,255,.78); background: #061f34; }
.vt-footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .95fr; gap: 55px; padding-bottom: 42px; }
.vt-footer .vt-brand-title { color: #fff; }
.vt-footer .vt-brand-subtitle { color: rgba(255,255,255,.62); }
.vt-footer p { max-width: 430px; font-size: 13px; }
.vt-footer h3 { margin: 0 0 14px; color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.vt-footer-links { list-style: none; padding: 0; margin: 0; }
.vt-footer-links li { margin: 8px 0; font-size: 13px; }
.vt-footer-links a:hover { color: #fff; }
.vt-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.10); font-size: 11px; }
.vt-floating { position: fixed; z-index: 95; right: 18px; bottom: 20px; display: grid; gap: 9px; }
.vt-floating a { width: 49px; height: 49px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 20px; box-shadow: 0 12px 27px rgba(0,0,0,.2); }
.vt-floating .vt-float-phone { background: var(--vt-red); }
.vt-floating .vt-float-zalo { background: #0878da; font-size: 12px; font-weight: 900; }

@media (max-width: 1050px) {
  .vt-products { grid-template-columns: repeat(3, 1fr); }
  .vt-hero-grid { gap: 28px; }
  .vt-visual { min-height: 450px; }
  .vt-nav ul { gap: 15px; }
  .vt-header-cta { display: none; }
}
@media (max-width: 820px) {
  body.admin-bar .vt-header { top: 46px; }
  .vt-topbar { display: none; }
  .vt-header-inner { min-height: 68px; }
  .vt-brand { min-width: auto; }
  .vt-brand img, .vt-brand-mark { width: 47px; height: 47px; }
  .vt-menu-toggle { display: block; margin-left: auto; }
  .vt-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; margin: 0; padding: 17px 20px 22px; background: #fff; border-top: 1px solid var(--vt-line); box-shadow: 0 20px 35px rgba(20,37,52,.12); }
  .vt-nav.is-open { display: block; }
  .vt-nav ul { display: grid; gap: 6px; }
  .vt-nav a { display: block; padding: 9px; }
  .vt-nav a::after { display: none; }
  .vt-hero { padding-top: 48px; }
  .vt-hero-grid, .vt-story-grid, .vt-single-grid { grid-template-columns: 1fr; }
  .vt-visual { min-height: 500px; max-width: 610px; width: 100%; margin: auto; }
  .vt-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .vt-trust-item:nth-child(2) { border-right: 0; }
  .vt-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--vt-line); }
  .vt-products { grid-template-columns: repeat(2, 1fr); }
  .vt-category-grid { grid-template-columns: 1fr; }
  .vt-category-card { min-height: 400px; }
  .vt-story-media { max-width: 600px; }
  .vt-story-note { right: 18px; }
  .vt-contact-grid { grid-template-columns: 1fr; }
  .vt-footer-grid { grid-template-columns: 1fr 1fr; }
  .vt-footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .vt-container { width: min(calc(100% - 28px), var(--vt-container)); }
  .vt-brand-title { font-size: 16px; }
  .vt-brand-subtitle { font-size: 10px; }
  .vt-hero { padding: 38px 0 50px; }
  .vt-hero h1 { font-size: 43px; }
  .vt-hero-copy { font-size: 15px; }
  .vt-hero-actions .vt-btn { width: 100%; }
  .vt-visual { min-height: 390px; }
  .vt-visual-main { inset: 0 28px 10px; }
  .vt-visual-card { width: 115px; border-width: 5px; }
  .vt-quality-seal { width: 88px; height: 88px; font-size: 10px; }
  .vt-trust { margin-top: -16px; }
  .vt-trust-grid { grid-template-columns: 1fr; }
  .vt-trust-item { min-height: 76px; border-right: 0; border-bottom: 1px solid var(--vt-line); }
  .vt-section { padding: 62px 0; }
  .vt-section-head { align-items: flex-start; flex-direction: column; }
  .vt-filter-bar { grid-template-columns: 1fr; }
  .vt-filter-chips { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 5px; }
  .vt-chip { white-space: nowrap; }
  .vt-products { grid-template-columns: 1fr 1fr; gap: 11px; }
  .vt-product-body { padding: 13px; }
  .vt-product-title { min-height: 60px; font-size: 13px; }
  .vt-price { font-size: 15px; }
  .vt-mini-order { width: 34px; height: 34px; flex-basis: 34px; }
  .vt-category-card { min-height: 330px; }
  .vt-story-note { position: relative; right: auto; bottom: auto; margin: -44px 16px 0; }
  .vt-single { padding-top: 45px; }
  .vt-footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .vt-footer-grid > :first-child { grid-column: auto; }
  .vt-footer-bottom { flex-direction: column; }
}
