/*
Theme Name: Thời trang – Quý Ông
Template: banle
Author: LTV
Version: 1.0.0
Description: Mẫu "Quý Ông" – thời trang nam công sở. Phong cách xưởng may: navy #1C2B45, nâu da #8B5E3C, nền #F2EFEA; đường chỉ may nét đứt, nhãn da, khuy áo, thước dây. Dấu ấn: chọn form dáng Slim / Regular / Relaxed, gợi ý size theo chiều cao – cân nặng, may đo đặt lịch hẹn đo, set công sở. Font EB Garamond + Be Vietnam Pro.
Text Domain: thoitrang-quy-ong
*/

:root {
	--qo-navy: #1C2B45;
	--qo-navy-2: #253858;
	--qo-leather: #8B5E3C;
	--qo-leather-d: #6F4A2E;
	--qo-tan: #D2A679;
	--qo-tape: #E8DCC4;
	--qo-paper: #FBF9F5;
	--bl-bg: #F2EFEA;
	--bl-surface: #E8E3DA;
	--bl-ink: #1C2B45;
	--bl-muted: #5A606C;
	--bl-line: #D5CDC0;
	--bl-accent: #1C2B45;
	--bl-on-accent: #ffffff;
	--bl-accent-2: #8B5E3C;
	--bl-sale: #A3362B;
	--bl-radius: 3px;
	--bl-font-head: "EB Garamond", Georgia, "Times New Roman", serif;
	--bl-font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
	--bl-wrap: 1240px;
	--bl-hh: 76px;
	--bl-card-ratio: 3 / 4;
	--ltv-swatch-active: var(--qo-navy);
	--ltv-sg-accent: var(--qo-navy);
	--ltv-sg-line: var(--bl-line);
	--ltv-sg-head-bg: var(--qo-paper);
	--qo-stitch: repeating-linear-gradient(90deg, var(--qo-leather) 0 7px, transparent 7px 12px);
	--an-primary: #1C2B45;
	--an-cta: #8B5E3C;
	--an-heart: #A3362B;
}

body { font-size: 16px; font-variant-numeric: lining-nums; }
h1, h2, h3, h4, .qo-head__t, .bl-page-head__title { font-family: var(--bl-font-head); font-weight: 500; font-variant-numeric: lining-nums; letter-spacing: 0; line-height: 1.32; }
a { color: inherit; }
::selection { background: var(--qo-tan); color: var(--qo-navy); }

/* Chữ nhỏ trên tiêu đề: khuy áo + chữ nâu da */
.qo-kicker, .bl-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 10px; font: 600 12.5px/1.4 var(--bl-font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--qo-leather); }
.qo-kicker::before, .bl-kicker::before { content: ""; flex: 0 0 auto; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--bl-bg) 0 1.1px, transparent 1.3px), radial-gradient(circle at 65% 35%, var(--bl-bg) 0 1.1px, transparent 1.3px), radial-gradient(circle at 35% 65%, var(--bl-bg) 0 1.1px, transparent 1.3px), radial-gradient(circle at 65% 65%, var(--bl-bg) 0 1.1px, transparent 1.3px), currentColor; }
.qo-kicker--light { color: var(--qo-tan); }
.qo-kicker--light::before { background: radial-gradient(circle at 35% 35%, var(--qo-navy) 0 1.1px, transparent 1.3px), radial-gradient(circle at 65% 35%, var(--qo-navy) 0 1.1px, transparent 1.3px), radial-gradient(circle at 35% 65%, var(--qo-navy) 0 1.1px, transparent 1.3px), radial-gradient(circle at 65% 65%, var(--qo-navy) 0 1.1px, transparent 1.3px), currentColor; }

/* Đường chỉ may nét đứt */
.qo-seam { display: block; width: 88px; height: 2px; margin: 4px 0 16px; background: var(--qo-stitch); }
.qo-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--qo-leather-d); text-decoration: underline; text-decoration-style: dashed; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.qo-link:hover { color: var(--qo-navy); }
.qo-leather { display: inline-block; margin: 0 0 12px; padding: 5px 12px; background: var(--qo-leather); color: #fff; font: 600 12.5px/1.4 var(--bl-font-body); letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; outline: 1px dashed rgba(255, 255, 255, .55); outline-offset: -4px; }

/* Nút: viền chỉ khâu bên trong */
.bl-btn { border-radius: 2px; font-weight: 600; letter-spacing: .01em; }
.bl-btn--primary { background: var(--qo-navy); color: #fff; outline: 1px dashed rgba(255, 255, 255, .35); outline-offset: -5px; }
.bl-btn--primary:hover { filter: none; background: var(--qo-navy-2); color: #fff; }
.bl-btn--line { border-color: var(--qo-navy); color: var(--qo-navy); }
.bl-btn--line:hover { background: var(--qo-navy); color: #fff; }
.qo-btn--leather { background: var(--qo-leather); color: #fff; outline: 1px dashed rgba(255, 255, 255, .5); outline-offset: -5px; }
.qo-btn--leather:hover { background: var(--qo-leather-d); color: #fff; }
.qo-btn--tan { background: var(--qo-tan); color: var(--qo-navy); outline: 1px dashed rgba(28, 43, 69, .45); outline-offset: -5px; }
.qo-btn--tan:hover { background: #ddb68e; color: var(--qo-navy); }
.qo-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.qo-btn--ghost:hover { background: #fff; color: var(--qo-navy); border-color: #fff; }
.qo-btn--zalo { background: #0068ff; color: #fff; }
.qo-btn--zalo:hover { background: #0057d6; color: #fff; }
:focus-visible { outline: 2px solid var(--qo-leather); outline-offset: 2px; }
.bl-btn:focus-visible { outline: 2px solid var(--qo-leather); outline-offset: 2px; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], select, textarea { background: var(--qo-paper); border-color: var(--bl-line); border-radius: 2px; }
input:focus, select:focus, textarea:focus { border-color: var(--qo-navy); box-shadow: 0 0 0 3px rgba(139, 94, 60, .18); }

/* ---------- Dải thước dây ---------- */
.qo-tape { position: relative; background: var(--qo-tape); color: var(--qo-navy); font-size: 13px; font-weight: 500; }
.qo-tape::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: repeating-linear-gradient(90deg, rgba(28, 43, 69, .55) 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, rgba(28, 43, 69, .7) 0 1px, transparent 1px 50px); background-size: auto 4px, auto 7px; background-repeat: repeat-x; background-position: 0 100%, 0 100%; pointer-events: none; }
.qo-tape__in { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 36px; padding-bottom: 6px; text-align: center; }
.qo-tape__in a { text-decoration: none; font-weight: 600; }
.qo-tape__in a:hover { text-decoration: underline; }
.qo-tape__sep { width: 5px; height: 5px; border-radius: 50%; background: var(--qo-leather); }
@media (max-width: 760px) { .qo-tape__hide { display: none; } .qo-tape__in { font-size: 12.5px; gap: 10px; } }
@media (max-width: 420px) { .qo-tape__in > span:nth-child(2), .qo-tape__in > span:nth-child(3) { display: none; } }

/* ---------- Header ---------- */
.qo-header { background: var(--bl-bg); border-bottom: 0; }
.qo-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bl-line); }
.qo-header::before { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: repeating-linear-gradient(90deg, var(--qo-leather) 0 6px, transparent 6px 11px); opacity: .7; }
.qo-header .bl-header__in { gap: 20px; }
.bl-logo { gap: 11px; font: 600 27px/1.2 var(--bl-font-head); letter-spacing: .01em; color: var(--qo-navy); }
.bl-logo .qo-mark { flex: 0 0 auto; }
.bl-nav__list { gap: 2px; }
.bl-nav__list > li > a { position: relative; padding: 10px 13px; font-size: 15px; font-weight: 500; color: var(--qo-navy); }
.bl-nav__list > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 1.5px; background: var(--qo-stitch); background-size: 12px 1.5px; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.bl-nav__list > li.current-menu-item > a, .bl-nav__list > li.current-menu-ancestor > a, .bl-nav__list > li > a:hover { text-decoration: none; }
.bl-nav__list > li.current-menu-item > a::after, .bl-nav__list > li.current-menu-ancestor > a::after, .bl-nav__list > li > a:hover::after, .bl-has-mega:hover > a::after { transform: none; }
.qo-nav-foot { display: none; }
.bl-tool, .bl-cart, .bl-burger { color: var(--qo-navy); border-radius: 2px; }
.bl-tool:hover, .bl-cart:hover, .bl-burger:hover { background: var(--bl-surface); }
.bl-cart .cart-count, .bl-tool__n { top: 1px; right: 0; background: var(--qo-leather); color: #fff; }
.qo-header__cta { min-height: 42px; padding: 8px 18px; margin-left: 8px; font-size: 14.5px; }
.bl-search-drop { background: var(--bl-bg); border-top: 1px dashed var(--bl-line); }
.bl-search button { background: var(--qo-navy); border-color: var(--qo-navy); border-radius: 0 2px 2px 0; }
.bl-search input[type="search"] { border-radius: 2px 0 0 2px; }
/* Mega menu: nền giấy, cột ngăn bằng đường chỉ */
.bl-mega { background: var(--qo-paper); border-top: 1px solid var(--bl-line); box-shadow: 0 30px 40px -30px rgba(28, 43, 69, .45); }
.bl-mega__col + .bl-mega__col { border-left: 1px dashed var(--bl-line); padding-left: 24px; }
.bl-mega__head { font: 600 20px/1.32 var(--bl-font-head); color: var(--qo-navy); }
.bl-mega ul a { color: var(--bl-muted); }
.bl-mega ul a:hover { color: var(--qo-leather-d); }
.bl-mega__card { border-radius: 2px; }
.bl-mega__card span { border-radius: 2px; background: var(--qo-navy); color: #fff; }
@media (max-width: 1240px) {
	.qo-header .bl-header__in { gap: 12px; }
	.bl-nav__list > li > a { padding: 10px 9px; font-size: 14.5px; }
	.bl-nav__list > li > a::after { left: 9px; right: 9px; }
	.bl-logo { font-size: 25px; }
}
@media (max-width: 1180px) { .qo-header__cta { display: none; } }
@media (max-width: 1080px) {
	.bl-nav { background: var(--qo-paper); }
	.bl-nav__list > li { border-bottom: 1px dashed var(--bl-line); }
	.bl-nav__list > li > a { padding: 14px 20px; font-size: 17px; }
	.bl-nav__list > li > a::after { display: none; }
	.bl-mega { background: transparent; box-shadow: none; border: 0; }
	.bl-mega__col + .bl-mega__col { border-left: 0; padding-left: 0; }
	.bl-mega__head { font-size: 18px; }
	.qo-nav-foot { display: block; margin: 20px; }
	.qo-nav-foot .bl-btn { width: 100%; }
}
@media (max-width: 560px) {
	.bl-logo { font-size: 22px; gap: 8px; }
	.bl-logo .qo-mark { width: 32px; height: 32px; }
	.qo-header .bl-header__in { gap: 4px; }
	:root { --bl-hh: 64px; }
}

/* ---------- Khung trang chủ ---------- */
.qo-sec { padding: 72px 0 8px; }
.qo-head { margin-bottom: 30px; max-width: 720px; }
.qo-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; max-width: none; }
.qo-head--row .qo-head__t { margin: 0; }
.qo-head__t { margin: 0 0 4px; font-size: clamp(30px, 3.6vw, 44px); color: var(--qo-navy); }
.qo-head__lead { color: var(--bl-muted); font-size: 17px; margin: 0; }
@media (max-width: 560px) { .qo-head--row { flex-direction: column; align-items: flex-start; } .qo-sec { padding-top: 52px; } }

/* Hero: phiếu navy | ảnh thợ may */
.qo-hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); min-height: 600px; background: var(--qo-navy); }
.qo-hero__panel { position: relative; display: flex; align-items: center; color: #fff; padding: 64px 56px 92px max(44px, calc((100vw - var(--bl-wrap)) / 2)); }
.qo-hero__panel::before { content: ""; position: absolute; inset: 16px 16px 46px max(18px, calc((100vw - var(--bl-wrap)) / 2 - 14px)); border: 1px dashed rgba(210, 166, 121, .5); pointer-events: none; }
.qo-hero__text { position: relative; max-width: 560px; }
.qo-hero__title { margin: 0 0 18px; font-size: clamp(42px, 5.4vw, 74px); font-weight: 500; line-height: 1.32; color: #fff; }
.qo-hero__title em { color: var(--qo-tan); font-style: italic; }
.qo-hero__lead { font-size: 17.5px; color: rgba(255, 255, 255, .86); max-width: 470px; }
.qo-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 34px; }
.qo-hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px dashed rgba(210, 166, 121, .5); }
.qo-hero__facts > div { padding: 14px 14px 0 0; }
.qo-hero__facts > div + div { padding-left: 16px; border-left: 1px dashed rgba(210, 166, 121, .4); }
.qo-hero__facts dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--qo-tan); }
.qo-hero__facts dd { margin: 2px 0 0; font: 500 26px/1.32 var(--bl-font-head); color: #fff; }
.qo-hero__media { position: relative; overflow: hidden; background: #2a3550; min-height: 420px; }
.qo-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qo-hero__tape { position: absolute; top: 0; bottom: 0; left: 0; width: 26px; background: repeating-linear-gradient(180deg, var(--qo-navy) 0 1px, transparent 1px 10px) right / 8px 100% no-repeat, repeating-linear-gradient(180deg, var(--qo-navy) 0 1.5px, transparent 1.5px 50px) right / 14px 100% no-repeat, var(--qo-tape); box-shadow: 4px 0 12px -6px rgba(0, 0, 0, .4); }
.qo-tag { position: absolute; right: 40px; bottom: 44px; display: grid; gap: 2px; width: 196px; padding: 26px 18px 16px; background: var(--qo-leather); color: #fff; border-radius: 3px 3px 10px 10px; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .7); transform: rotate(-4deg); outline: 1px dashed rgba(255, 255, 255, .6); outline-offset: -7px; }
.qo-tag::before { content: ""; position: absolute; top: 9px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--qo-navy); box-shadow: inset 0 0 0 2px var(--qo-tan); }
.qo-tag::after { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1.5px; height: 46px; background: var(--qo-tan); transform: rotate(14deg); transform-origin: bottom; margin-bottom: -12px; }
.qo-tag__brand { font: 600 24px/1.32 var(--bl-font-head); text-align: center; }
.qo-tag__line { font-size: 12px; letter-spacing: .06em; text-align: center; color: rgba(255, 255, 255, .9); }
@media (max-width: 960px) {
	.qo-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.qo-hero__panel { padding: 48px 24px 44px; }
	.qo-hero__panel::before { inset: 10px; }
	.qo-hero__media { min-height: 380px; order: -1; }
	.qo-tag { right: 20px; bottom: 22px; width: 168px; padding: 24px 14px 12px; }
	.qo-tag__brand { font-size: 21px; }
}
@media (max-width: 480px) {
	.qo-hero__media { min-height: 300px; }
	.qo-hero__facts dd { font-size: 21px; }
	.qo-hero__facts > div + div { padding-left: 10px; }
	.qo-hero__cta .bl-btn { flex: 1 1 100%; }
}

/* Cam kết: nhãn mác khâu chỉ */
.qo-usp { margin-top: -28px; position: relative; z-index: 2; padding: 0; gap: 0; background: var(--qo-paper); border: 1px solid var(--bl-line); box-shadow: 0 16px 30px -24px rgba(28, 43, 69, .5); }
.qo-usp li { padding: 18px 20px; color: var(--qo-navy); font-weight: 500; font-size: 14.5px; }
.qo-usp li + li { border-left: 1px dashed var(--bl-line); }
.qo-usp .bl-ic { color: var(--qo-leather); }
@media (max-width: 960px) { .qo-usp { margin-top: 20px; } }
@media (max-width: 860px) { .qo-usp li:nth-child(3) { border-left: 0; } .qo-usp li:nth-child(n+3) { border-top: 1px dashed var(--bl-line); } }
@media (max-width: 420px) { .qo-usp li { padding: 14px 12px; font-size: 13.5px; gap: 8px; } }

/* ---------- CHỌN FORM DÁNG ---------- */
.qo-fit__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--bl-line); background: var(--qo-paper); }
.qo-fit__tab { position: relative; display: grid; justify-items: center; gap: 2px; padding: 22px 12px 18px; border: 0; background: transparent; color: var(--qo-navy); cursor: pointer; font: inherit; transition: background .2s; }
.qo-fit__tab + .qo-fit__tab { border-left: 1px dashed var(--bl-line); }
.qo-fit__tab:hover { background: var(--bl-bg); }
.qo-fit__tab.is-on { background: var(--qo-navy); color: #fff; }
.qo-fit__tab.is-on::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 16px; height: 16px; margin-left: -8px; background: var(--qo-navy); transform: rotate(45deg); }
.qo-fit__name { font: 500 24px/1.32 var(--bl-font-head); }
.qo-fit__vi { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--bl-muted); }
.qo-fit__tab.is-on .qo-fit__vi { color: var(--qo-tan); }
.qo-fit-svg { width: 116px; height: 135px; overflow: visible; }
.qo-fit-svg__body { fill: var(--bl-bg); stroke: var(--qo-navy); stroke-width: 1.6; stroke-linejoin: round; }
.qo-fit-svg__seam { stroke: var(--qo-leather); stroke-width: 1; stroke-dasharray: 3 2.5; fill: none; }
.qo-fit-svg__btn { fill: var(--qo-navy); }
.qo-fit-svg__measure { stroke: var(--qo-leather); stroke-width: 1.2; stroke-dasharray: 2 2; fill: none; }
.qo-fit__tab.is-on .qo-fit-svg__body { fill: var(--qo-navy-2); stroke: var(--qo-tan); }
.qo-fit__tab.is-on .qo-fit-svg__btn { fill: var(--qo-tan); }
.qo-fit__tab.is-on .qo-fit-svg__seam, .qo-fit__tab.is-on .qo-fit-svg__measure { stroke: var(--qo-tan); }
.qo-fit__panel { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 36px; padding: 36px 0 0; }
.qo-fit__h { font-size: 30px; margin: 0 0 8px; color: var(--qo-navy); }
.qo-fit__h small { font: 500 15px var(--bl-font-body); color: var(--qo-leather-d); }
.qo-fit__tips { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.qo-fit__tips li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px dashed var(--bl-line); font-size: 15px; }
.qo-fit__tips li::before { content: ""; position: absolute; left: 0; top: 15px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--qo-leather); }
.qo-fit__products ul.products { --bl-cols: 4; }
@media (max-width: 1100px) { .qo-fit__panel { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 1024px) { .qo-fit__products ul.products { --bl-cols: 4 !important; } }
.qo-fit__products ul.products.qo-grid--n3 { --bl-cols: 3 !important; }
.qo-fit__products ul.products.qo-grid--n2, .qo-fit__products ul.products.qo-grid--n1 { --bl-cols: 2 !important; max-width: 640px; }
@media (max-width: 860px) { .qo-fit__products ul.products, .qo-fit__products ul.products.qo-grid--n3 { --bl-cols: 2 !important; } }
@media (max-width: 560px) {
	.qo-fit-svg { width: 74px; height: 86px; }
	.qo-fit__tab { padding: 14px 4px 12px; }
	.qo-fit__name { font-size: 18px; }
	.qo-fit__vi { font-size: 11px; letter-spacing: .06em; }
}

/* Tủ đồ (danh mục) */
.qo-wardrobe__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.qo-drawer { position: relative; display: block; overflow: hidden; background: var(--bl-surface); text-decoration: none; border-radius: 2px; }
.qo-drawer__img { display: block; aspect-ratio: 4 / 5; }
.qo-drawer--big .qo-drawer__img { aspect-ratio: auto; height: 100%; min-height: 100%; }
.qo-drawer img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.qo-drawer:hover img { transform: scale(1.04); }
.qo-drawer__label { position: absolute; left: 16px; bottom: 16px; display: grid; gap: 0; padding: 12px 18px 10px; background: var(--qo-leather); color: #fff; border-radius: 2px; outline: 1px dashed rgba(255, 255, 255, .55); outline-offset: -5px; }
.qo-drawer__label b { font: 500 24px/1.32 var(--bl-font-head); }
.qo-drawer__label small { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
@media (max-width: 760px) { .qo-wardrobe__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .qo-drawer--big { grid-column: 1 / -1; } .qo-drawer--big .qo-drawer__img { aspect-ratio: 16 / 10; height: auto; } }

/* Set công sở */
.qo-set { margin-top: 80px; padding: 72px 0; background: var(--qo-paper); border-top: 1px solid var(--bl-line); border-bottom: 1px solid var(--bl-line); }
.qo-set__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.qo-set__lead { color: var(--bl-muted); }
.qo-set__total { font-size: 17px; margin: 16px 0 18px; }
.qo-set__total b { font-size: 20px; }
@media (max-width: 900px) { .qo-set__in { grid-template-columns: minmax(0, 1fr); gap: 28px; } .qo-set { padding: 48px 0; } }

/* Ảnh lookbook + chấm số dạng khuy áo */
.qo-scene { border-radius: 2px; }
.bl-pin { width: 34px; height: 34px; background: var(--qo-navy); color: #fff; font: 600 14px var(--bl-font-body); box-shadow: 0 0 0 3px var(--qo-tan), 0 0 0 7px rgba(28, 43, 69, .25), 0 8px 16px -6px rgba(0, 0, 0, .6); }
.bl-pin:hover, .bl-pin.is-hot { background: var(--qo-leather); color: #fff; }
.bl-look-list { gap: 0; border-top: 1px dashed var(--bl-line); }
.bl-look-item { border: 0; border-bottom: 1px dashed var(--bl-line); border-radius: 0; padding: 12px 4px; }
.bl-look-item.is-hot { background: var(--bl-bg); border-color: var(--qo-leather); }
.bl-look-item__n { background: var(--qo-navy); color: #fff; box-shadow: 0 0 0 2px var(--qo-tan); }
.bl-look-item__img img { border-radius: 2px; }
.bl-look-item__label { color: var(--qo-leather-d); }
.bl-look-item__name { font-weight: 500; }

/* Gợi ý size */
.qo-sizer__card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; padding: 44px; background: var(--qo-paper); border: 1px solid var(--bl-line); position: relative; }
.qo-sizer__card::before { content: ""; position: absolute; inset: 8px; border: 1px dashed var(--bl-line); pointer-events: none; }
.qo-sizer__intro, .qo-sizer .qo-adv { position: relative; }
@media (max-width: 900px) { .qo-sizer__card { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 22px; } }
.qo-adv { display: grid; gap: 16px; }
.qo-adv__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.qo-adv__f { margin: 0; }
.qo-adv__f label, .qo-adv__fit legend { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--qo-navy); }
.qo-adv__unit { position: relative; display: block; }
.qo-adv__unit input { padding-right: 46px; font-size: 18px; font-weight: 600; -moz-appearance: textfield; }
.qo-adv__unit input::-webkit-inner-spin-button, .qo-adv__unit input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qo-adv__unit i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 14px; color: var(--bl-muted); pointer-events: none; }
.qo-adv__fit { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; min-width: 0; }
.qo-adv__fit { display: flex; flex-wrap: wrap; gap: 8px; }
.qo-adv__fit legend { width: 100%; padding: 0; }
.qo-adv__fit label { flex: 1 1 90px; margin: 0; cursor: pointer; }
.qo-adv__fit input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qo-adv__fit span { display: block; padding: 9px 8px; border: 1.5px solid var(--bl-line); background: var(--bl-bg); text-align: center; font-size: 14px; font-weight: 600; border-radius: 2px; }
.qo-adv__fit input:checked + span { background: var(--qo-navy); border-color: var(--qo-navy); color: #fff; }
.qo-adv__fit input:focus-visible + span { outline: 2px solid var(--qo-leather); outline-offset: 2px; }
.qo-adv__out { display: flex; flex-wrap: wrap; gap: 12px; min-height: 92px; align-items: stretch; }
.qo-adv__hint { margin: 0; align-self: center; color: var(--bl-muted); font-size: 15px; }
.qo-adv__res { flex: 1 1 150px; display: grid; gap: 0; padding: 12px 16px; background: var(--qo-navy); color: #fff; border-radius: 2px; outline: 1px dashed rgba(210, 166, 121, .55); outline-offset: -5px; }
.qo-adv__res span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--qo-tan); }
.qo-adv__res b { font: 600 38px/1.32 var(--bl-font-body); }
.qo-adv__res small { font-size: 13px; color: rgba(255, 255, 255, .85); }
.qo-adv__res.is-out { background: var(--qo-leather); }
.qo-adv__note { margin: 0; font-size: 13.5px; color: var(--bl-muted); }
.qo-adv__note a { color: var(--qo-leather-d); font-weight: 600; }
@media (max-width: 420px) { .qo-adv__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; } }

/* Ô gợi ý size thu gọn (trang SP, lookbook) */
.qo-padv { margin: 4px 0 14px; border: 1px dashed var(--qo-leather); background: var(--qo-paper); border-radius: 2px; }
.qo-padv > summary { display: flex; align-items: center; gap: 8px; padding: 11px 14px; cursor: pointer; list-style: none; font-weight: 600; font-size: 14.5px; color: var(--qo-leather-d); }
.qo-padv > summary::-webkit-details-marker { display: none; }
.qo-padv > summary span { flex: 1; }
.qo-padv > summary::after { content: "+"; font-size: 20px; line-height: 1; }
.qo-padv[open] > summary::after { content: "–"; }
.qo-padv .qo-adv { padding: 0 14px 14px; }
.qo-padv .qo-adv__out { min-height: 0; }
.qo-padv .qo-adv__res b { font-size: 30px; }

/* Phiếu ưu đãi đếm ngược (dải khuyến mãi) */
.qo-voucher-wrap { padding-top: 72px; }
.qo-voucher { position: relative; margin: 0; padding: 30px 0; background: var(--qo-leather); color: #fff; border-radius: 4px; }
.qo-voucher::before { content: ""; position: absolute; inset: 9px; border: 1.5px dashed rgba(255, 255, 255, .5); border-radius: 2px; pointer-events: none; }
.qo-voucher .bl-promo__in { width: auto; padding: 0 44px; position: relative; }
.qo-voucher .bl-promo__title { font: 500 30px/1.32 var(--bl-font-head); }
.qo-voucher .bl-promo__code b { display: inline-block; padding: 1px 10px; border: 1.5px dashed #fff; letter-spacing: .08em; }
.qo-voucher .bl-countdown__cell { background: rgba(0, 0, 0, .18); border-radius: 2px; }
.qo-voucher .bl-countdown__cell b { font-family: var(--bl-font-body); font-weight: 600; }
.qo-voucher .bl-btn--primary { background: #fff; color: var(--qo-navy); outline-color: rgba(28, 43, 69, .3); }
.qo-voucher .bl-btn--primary:hover { background: var(--qo-paper); color: var(--qo-navy); }
@media (max-width: 560px) { .qo-voucher .bl-promo__in { padding: 0 22px; } .qo-voucher .bl-promo__title { font-size: 25px; } .qo-voucher .bl-countdown__cell { min-width: 48px; } .qo-voucher .bl-btn { width: 100%; } }

/* May đo – đặt lịch hẹn đo */
.qo-tailor { margin-top: 80px; padding: 80px 0; background: var(--qo-navy); color: #fff; position: relative; overflow: hidden; }
.qo-tailor::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--qo-tan) 0 8px, transparent 8px 14px); opacity: .6; }
.qo-tailor::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--qo-tan) 0 8px, transparent 8px 14px); opacity: .6; }
.qo-tailor__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.qo-tailor__t { font-size: clamp(32px, 4vw, 50px); color: #fff; margin: 0 0 14px; }
.qo-tailor__lead { color: rgba(255, 255, 255, .85); font-size: 17px; max-width: 520px; }
.qo-tailor__note { font-size: 13.5px; color: rgba(255, 255, 255, .7); margin: 18px 0 0; }
.qo-steps { list-style: none; counter-reset: qo; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.qo-steps li { counter-increment: qo; position: relative; display: grid; gap: 2px; padding: 0 0 22px 62px; }
.qo-steps li::before { content: counter(qo); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--qo-tan); color: var(--qo-navy); font: 600 17px/1 var(--bl-font-body); box-shadow: inset 0 0 0 3px var(--qo-navy), inset 0 0 0 4px rgba(28, 43, 69, .45); }
.qo-steps li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; border-left: 1.5px dashed rgba(210, 166, 121, .6); }
.qo-steps li:last-child { padding-bottom: 0; }
.qo-steps li:last-child::after { display: none; }
.qo-steps b { font: 500 21px/1.32 var(--bl-font-head); color: #fff; }
.qo-steps span { color: rgba(255, 255, 255, .78); font-size: 15px; }
.qo-ticket { position: relative; padding: 30px 28px 26px; background: var(--qo-paper); color: var(--qo-navy); border-radius: 3px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .8); }
.qo-ticket::before { content: ""; position: absolute; inset: 8px; border: 1px dashed var(--qo-leather); opacity: .55; pointer-events: none; }
.qo-ticket__h { position: relative; margin: 0 0 16px; font: 500 28px/1.32 var(--bl-font-head); }
.qo-ticket .bl-form { position: relative; }
.qo-ticket .bl-form label { color: var(--qo-navy); }
.qo-ticket .bl-form .bl-btn { width: 100%; }
.qo-ticket__or { position: relative; display: flex; align-items: center; gap: 12px; margin: 2px 0 14px; color: var(--bl-muted); font-size: 13.5px; }
.qo-ticket__or::before, .qo-ticket__or::after { content: ""; flex: 1; border-top: 1px dashed var(--bl-line); }
.qo-ticket .qo-btn--zalo { position: relative; }
@media (max-width: 960px) { .qo-tailor__in { grid-template-columns: minmax(0, 1fr); gap: 36px; } .qo-tailor { padding: 60px 0; } }
@media (max-width: 480px) { .qo-ticket { padding: 24px 18px 20px; } }

/* Bộ sưu tập (thẻ) */
.qo-look-card .bl-look-card__img { border-radius: 2px; }
.qo-look-card .bl-look-card__img img { aspect-ratio: 4 / 5; }
.qo-look-card .bl-look-card__body { padding: 16px 0 0; border-top: 0; }
.qo-look-card .bl-look-card__kicker { color: var(--qo-leather-d); letter-spacing: .12em; }
.qo-look-card .bl-look-card__title { font: 500 25px/1.32 var(--bl-font-head); color: var(--qo-navy); }
.qo-look-card .bl-look-card__meta { color: var(--qo-leather-d); }
.qo-look-card .bl-look-card__meta { padding-top: 8px; margin-top: 4px; border-top: 1px dashed var(--bl-line); }

/* Sổ tay (bài viết) */
.qo-journal__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.qo-journal__list a { display: grid; gap: 14px; text-decoration: none; }
.qo-journal__img { display: block; overflow: hidden; background: var(--bl-surface); border-radius: 2px; }
.qo-journal__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s; }
.qo-journal__list a:hover img { transform: scale(1.03); }
.qo-journal__body { display: grid; gap: 4px; }
.qo-journal__meta { font-size: 13px; color: var(--qo-leather-d); font-weight: 600; letter-spacing: .06em; }
.qo-journal__t { font: 500 23px/1.32 var(--bl-font-head); color: var(--qo-navy); }
.qo-journal__ex { color: var(--bl-muted); font-size: 15px; }
@media (max-width: 860px) { .qo-journal__list { grid-template-columns: minmax(0, 1fr); gap: 22px; } .qo-journal__list a { grid-template-columns: 140px minmax(0, 1fr); align-items: start; } .qo-journal__ex { display: none; } .qo-journal__t { font-size: 20px; } }

/* ---------- Thẻ sản phẩm ---------- */
.woocommerce ul.products, ul.products { gap: 36px 22px; }
.qo-card .bl-card__media { border-radius: 2px; background: var(--bl-surface); }
.qo-card .bl-card__badges { top: 12px; left: 0; gap: 6px; }
.qo-card .bl-badge { padding: 4px 10px 4px 9px; border-radius: 0 2px 2px 0; background: var(--qo-leather); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; outline: 1px dashed rgba(255, 255, 255, .5); outline-offset: -3px; }
.qo-card .bl-badge--sale { background: var(--bl-sale); }
.qo-card .bl-badge--out { background: var(--qo-navy); }
.qo-card__fit { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 4px 10px; background: var(--qo-paper); color: var(--qo-navy); font-size: 12px; font-weight: 600; letter-spacing: .04em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(28, 43, 69, .14); transition: opacity .25s; }
.qo-card:hover .qo-card__fit { opacity: 0; }
@media (hover: none) { .qo-card:hover .qo-card__fit { opacity: 1; } }
.qo-card .bl-card__sizes { border-radius: 2px; background: var(--qo-navy); color: #fff; letter-spacing: .08em; }
.qo-card .bl-card__body { position: relative; padding-top: 16px; gap: 5px; }
.qo-card .bl-card__body::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: repeating-linear-gradient(90deg, var(--bl-line) 0 5px, transparent 5px 9px); }
.qo-card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 18px; }
.qo-card__cat { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--qo-leather-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.qo-card .bl-dots { flex: 0 0 auto; gap: 5px; }
.qo-card .bl-dots a { width: 14px; height: 14px; }
.qo-card .bl-card__title { font: 500 19px/1.32 var(--bl-font-head); font-variant-numeric: lining-nums; color: var(--qo-navy); min-height: 2.64em; }
.qo-card .bl-card__price, .woocommerce ul.products li.product.qo-card .bl-card__price { font: 600 15.5px/1.4 var(--bl-font-body); color: var(--qo-navy) !important; }
.qo-card .bl-card__price ins { color: var(--bl-sale); }
.qo-card .bl-card__buy .button { border-radius: 2px; border-color: var(--qo-navy); background: transparent; color: var(--qo-navy); font-weight: 600; }
.qo-card .bl-card__buy .button:hover { background: var(--qo-navy); color: #fff; }
.qo-card .ltv-wl--icon { top: 8px; right: 8px; }
@media (max-width: 560px) { .qo-card .bl-card__title { font-size: 17px; } .qo-card__cat { display: none; } .qo-card .bl-card__buy .button { font-size: 13px; padding: 8px 6px; } }

/* ---------- Dải hỏi size + chân trang ---------- */
.qo-cta { margin-top: 88px; padding: 40px 0; background: var(--qo-navy-2); color: #fff; }
.qo-cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.qo-cta__t { margin: 0; font-size: clamp(24px, 2.6vw, 32px); color: #fff; max-width: 640px; }
.qo-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
@media (max-width: 560px) { .qo-cta__btns .bl-btn { flex: 1 1 100%; } }
.qo-footer { margin-top: 0; padding: 64px 0 0; background: var(--qo-navy); color: rgba(255, 255, 255, .85); position: relative; }
.qo-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1.5px; background: repeating-linear-gradient(90deg, var(--qo-tan) 0 8px, transparent 8px 14px); opacity: .45; }
.qo-footer__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.qo-label { display: inline-grid; gap: 4px; padding: 18px 22px 16px; background: var(--qo-paper); color: var(--qo-navy); border-radius: 2px; outline: 1px dashed var(--qo-leather); outline-offset: -6px; max-width: 100%; }
.qo-label .bl-logo { color: var(--qo-navy); font-size: 26px; }
.qo-label__line { margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--qo-leather-d); font-weight: 600; }
.qo-label__care { list-style: none; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px dashed var(--bl-line); display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; }
.qo-footer__tag { margin: 18px 0 14px; font-size: 15px; max-width: 380px; }
.qo-social a { border-color: rgba(255, 255, 255, .45); color: #fff; }
.qo-social a:hover { background: var(--qo-tan); border-color: var(--qo-tan); color: var(--qo-navy); }
.qo-footer__h { margin: 0 0 14px; font: 500 21px/1.32 var(--bl-font-head); color: #fff; }
.qo-footer__links a, .qo-footer__lines a, .qo-footer__lines span { color: rgba(255, 255, 255, .82); }
.qo-footer__links a:hover, .qo-footer__lines a:hover { color: var(--qo-tan); }
.qo-footer__lines .bl-ic { color: var(--qo-tan); }
.qo-footer__links { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.qo-footer__links a { text-decoration: none; }
.qo-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 48px; padding: 18px 0 26px; border-top: 1px dashed rgba(255, 255, 255, .25); font-size: 13px; color: rgba(255, 255, 255, .72); }
.qo-footer__bottom p { margin: 0; }
@media (max-width: 960px) { .qo-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .qo-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .qo-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 18px; } .qo-footer__grid > div:nth-child(2) { grid-column: 1 / -1; } .qo-footer { padding-bottom: 70px; } }

/* Nút Zalo + Gọi nổi */
.bl-fab__btn { border-radius: 50%; box-shadow: 0 0 0 3px var(--bl-bg), 0 10px 22px -8px rgba(0, 0, 0, .55); }
.bl-fab__btn--call { background: var(--qo-leather); }

/* Phân trang + thông báo dùng chung */
.bl-pagination .page-numbers, .woocommerce-pagination .page-numbers { border-radius: 2px; border-style: dashed !important; }
.bl-pagination .current, .woocommerce-pagination .current { background: var(--qo-navy) !important; border-style: solid !important; }
.qo-adv__unit input::placeholder { color: #8a8276; font-weight: 400; }
