/*
Theme Name:   Tee Harbor Co
Theme URI:    https://teeharborco.com
Description:  Child theme cua Flatsome cho Tee Harbor Co. Redesign 2026-11
              "Rope & Chart": kelp xanh-den la / sailcloth / harbor blue,
              Besley + Albert Sans self-host, minh hoa net doi.
Author:       Tee Harbor Co
Template:     flatsome
Version:      2.0.0
Text Domain:  harborco
*/

/* ── Fonts self-host ─────────────────────────────────────────────────────── */
@font-face { font-family: "Besley"; font-style: normal; font-weight: 400; font-display: swap;
	src: url(fonts/besley-regular.woff2) format("woff2"); }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 600; font-display: swap;
	src: url(fonts/besley-semibold.woff2) format("woff2"); }
@font-face { font-family: "Besley"; font-style: normal; font-weight: 700; font-display: swap;
	src: url(fonts/besley-bold.woff2) format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400; font-display: swap;
	src: url(fonts/albert-sans-regular.woff2) format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 600; font-display: swap;
	src: url(fonts/albert-sans-semibold.woff2) format("woff2"); }

/* ── Tokens "Rope & Chart" ───────────────────────────────────────────────── */
:root {
	--thc-ink:      #14312B;   /* kelp — muc xanh-den la */
	--thc-ink-soft: #2E4A43;
	--thc-muted:    #6B6A5F;
	--thc-sail:     #F5F2EA;   /* sailcloth */
	--thc-sail-2:   #ECE7DA;
	--thc-rule:     #DCD6C8;
	--thc-blue:     #46708F;   /* harbor blue — accent duy nhat */
	--thc-blue-ink: #FFFFFF;
	--thc-ok:       #2F6B4F;

	--thc-f-bg:     #0E211E;   /* footer kelp dam */
	--thc-f-text:   #A9B5AC;
	--thc-f-link:   #DDE4DC;

	--thc-display: "Besley", Georgia, serif;
	--thc-body:    "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; background: var(--thc-sail); }
body { background: var(--thc-sail); color: var(--thc-ink); font-family: var(--thc-body);
	font-size: 16px; line-height: 1.65; }
#main { background-color: var(--thc-sail); }

/* Headings: Besley — khong gian ngang (feedback ti le font) */
h1, h2, h3, .section-title span, .product-title, .page-title-inner h1 {
	font-family: var(--thc-display); font-weight: 600; font-stretch: 100%;
	letter-spacing: 0; line-height: 1.18; color: var(--thc-ink);
}
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-title { border: 0; }
.section-title span { font-size: clamp(1.4rem, 2.6vw, 1.85rem); text-transform: none; }
.section-title b { background-color: var(--thc-rule); opacity: .6; }

a { text-underline-offset: .15em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--thc-blue); outline-offset: 2px; }
::selection { background: var(--thc-blue); color: #fff; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.header-main, .header-bottom, .header-wrapper { background-color: var(--thc-sail) !important; }
.header-bottom { box-shadow: none; border-bottom: 1px solid var(--thc-rule); }
.logo a { color: var(--thc-ink) !important; }
.header-nav > li > a, .nav > li > a.nav-top-link {
	font-family: var(--thc-body); font-size: .8125rem; font-weight: 600; letter-spacing: .08em;
}
.main-navigation ul li a { color: var(--thc-ink-soft); }
.cart-icon strong, .cart-icon strong:after { border-color: var(--thc-ink); color: var(--thc-ink); }
.header .searchform .button.icon { background: var(--thc-ink); border-color: var(--thc-ink); }
.searchform input[type="search"] { background: #fff; border-color: var(--thc-rule); }

.thc-announce { background: var(--thc-ink); color: var(--thc-sail); font-size: .8125rem;
	text-align: center; padding: .5em 0; }
.thc-announce a { color: #fff; text-decoration: underline; }

/* ── Form elements ───────────────────────────────────────────────────────── */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="password"], input[type="search"], input[type="number"], textarea, select {
	background: #fff; border-color: var(--thc-rule); border-radius: 4px;
	color: var(--thc-ink); box-shadow: none; }
input:focus, textarea:focus, select:focus { border-color: var(--thc-blue); }

.breadcrumbs { font-size: .8125rem; color: var(--thc-muted); text-transform: none;
	font-weight: 400; letter-spacing: 0; }
.breadcrumbs a { color: var(--thc-muted); }
.breadcrumbs a:hover { color: var(--thc-blue); }

/* ── Luoi san pham / danh muc ────────────────────────────────────────────── */
.product-small .box-image img { border: 1px solid var(--thc-rule); border-radius: 6px;
	background: var(--thc-sail-2); }
.product-small .name a { font-family: var(--thc-body); font-size: .9375rem; font-weight: 600;
	color: var(--thc-ink); }
.product-small .name a:hover { color: var(--thc-blue); }
.product-small .price { color: var(--thc-ink-soft); font-variant-numeric: tabular-nums; }
.price del { color: var(--thc-muted); opacity: 1; }
.price ins { color: var(--thc-blue); text-decoration: none; font-weight: 600; }
.badge-inner.on-sale, .callout.badge .badge-inner { background: var(--thc-blue) !important;
	color: #fff; border-radius: 3px; font-size: .6875rem; font-weight: 700;
	letter-spacing: .07em; text-transform: uppercase; }
.box-category .cat-label, .header-cart-title { font-family: var(--thc-display);
	text-transform: none; letter-spacing: 0; }
.box-category .cat-label { font-size: 1.125rem; }
.star-rating span::before, .star-rating::before { color: var(--thc-blue); }

/* ── Trang san pham ──────────────────────────────────────────────────────── */
.product-info .product-title { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.product-info .price { font-family: var(--thc-display); font-size: 1.55rem; color: var(--thc-ink); }
.product-gallery .woocommerce-product-gallery__image img { border: 1px solid var(--thc-rule);
	border-radius: 6px; background: var(--thc-sail-2); }
.product-info form.cart { border-top: 1px solid var(--thc-rule); padding-top: 1rem; }
.single_add_to_cart_button { font-size: 1rem; }
.product_meta { font-size: .8125rem; color: var(--thc-muted); border-top: 1px solid var(--thc-rule);
	padding-top: 1rem; }

.woocommerce-tabs .nav-tabs > li > a { color: var(--thc-muted); font-size: .8125rem; letter-spacing: .08em; }
.woocommerce-tabs .nav-tabs > li.active > a { color: var(--thc-ink); border-color: var(--thc-blue); }
.nav-line > li > a::before, .nav-line-grow > li > a::before { background-color: var(--thc-blue); }

/* Swatches (pa_size ux_label) */
.variations .label, .variations th { font-size: .75rem; font-weight: 700; letter-spacing: .09em;
	text-transform: uppercase; color: var(--thc-ink-soft); }
.variations_form .ux-swatch { border: 1px solid var(--thc-rule); border-radius: 4px;
	background: #fff; font-weight: 600; }
.variations_form .ux-swatch:hover { border-color: var(--thc-blue); }
.variations_form .ux-swatch.selected { background: var(--thc-ink); color: #fff;
	border-color: var(--thc-ink); box-shadow: none !important; }

.sticky-add-to-cart--active, .sticky-add-to-cart__product { background: var(--thc-sail);
	border-bottom: 1px solid var(--thc-rule); }
.sticky-add-to-cart .button { background: var(--thc-blue); }

/* Khoi giao hang duoi nut mua */
.thc-delivery { display: flex; flex-wrap: wrap; gap: 1rem; padding: 1rem 1.15rem;
	background: var(--thc-sail-2); border-left: 3px solid var(--thc-blue);
	border-radius: 0 4px 4px 0; margin-bottom: 1rem; }
.thc-delivery__leg { flex: 1 1 12rem; }
.thc-delivery__num { display: block; font-family: var(--thc-display); font-size: 1.3rem;
	color: var(--thc-ink); }
.thc-delivery__cap { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--thc-muted); }
@media (max-width: 767px) { .thc-delivery__leg { flex: 1 1 100%; } }

/* Spec + bang size tren PDP */
.thc-spec { display: grid; gap: 1.6rem; margin: 2.3rem 0; padding-top: 1.9rem;
	border-top: 1px solid var(--thc-rule); }
.thc-spec__block { max-width: 70ch; }
.thc-spec__label { display: block; font-size: .6875rem; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; color: var(--thc-muted); margin-bottom: .45rem; }

/* ── Bang chung (shipping + size) ────────────────────────────────────────── */
.thc-table-scroll { overflow-x: auto; }
.thc-table, .thc-sizechart table, .thc-sizepop table {
	border-collapse: collapse; width: 100%; font-size: .875rem;
	font-variant-numeric: tabular-nums; background: #fff; }
.thc-table th, .thc-table td,
.thc-sizechart th, .thc-sizechart td,
.thc-sizepop th, .thc-sizepop td {
	border: 1px solid var(--thc-rule); padding: .5rem .7rem; text-align: left; }
.thc-table thead th, .thc-sizechart th, .thc-sizepop th {
	background: var(--thc-ink); color: var(--thc-sail); font-weight: 600; border-color: var(--thc-ink-soft); }

/* Popup Size Guide (Custom Product Options) */
.thc-sizepop { max-width: 760px; }
.thc-sizepop__title, .thc-sizepop h2 { font-family: var(--thc-display); font-size: 1.3rem;
	margin: 1.1rem 0 .5rem; }
.thc-sizepop__section + .thc-sizepop__section { margin-top: 1.2rem; }
.thc-size-intro { font-size: .9rem; color: var(--thc-ink-soft); }
.thc-size-note { font-size: .8125rem; color: var(--thc-muted); margin-top: .6rem; }
.thc-size-unit { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--thc-muted); }

/* ── Thong bao ───────────────────────────────────────────────────────────── */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .message-wrapper .message-container {
	background-color: var(--thc-sail-2); color: var(--thc-ink);
	border-left: 3px solid var(--thc-muted); border-radius: 0 4px 4px 0; }
.woocommerce-message { border-left-color: var(--thc-ok); }
.woocommerce-error { border-left-color: var(--thc-blue); }
.shop_table { border: 1px solid var(--thc-rule); }
.shop_table th { background: var(--thc-sail-2); font-size: .8125rem; letter-spacing: .06em;
	text-transform: uppercase; color: var(--thc-ink-soft); }
.shop_table td, .shop_table th { border-color: var(--thc-rule); }

/* ── Homepage helpers ────────────────────────────────────────────────────── */
.thc-kicker, .thc-hero__kicker { font-size: .75rem; font-weight: 700; letter-spacing: .14em;
	text-transform: uppercase; color: var(--thc-blue); margin: 0 0 .6rem; }
.thc-hero__h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); max-width: 17ch; margin: 0 0 1rem; }
.thc-hero__sub { font-size: clamp(1rem, 1.7vw, 1.15rem); color: var(--thc-ink-soft);
	max-width: 56ch; margin: 0 0 1.5rem; line-height: 1.6; }
.thc-num { font-family: var(--thc-display); color: var(--thc-blue); margin-right: .4rem; }
.thc-why-item { padding-left: 1rem; border-left: 2px solid var(--thc-rule);
	font-size: .9375rem; line-height: 1.55; }
.thc-why-item strong { display: block; color: var(--thc-ink); margin-bottom: .15rem; }
.thc-note { font-size: .9375rem; color: var(--thc-muted); max-width: 62ch; }
.thc-story h2 { font-size: clamp(1.7rem, 3.8vw, 2.4rem); margin-top: 0; }
.thc-story p { font-size: 1.05rem; color: var(--thc-ink-soft); max-width: 54ch; }
.thc-story img { border: 1px solid var(--thc-rule); border-radius: 6px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer-widgets { background-color: var(--thc-f-bg) !important; color: var(--thc-f-text);
	font-size: .875rem; }
.footer-widgets .widget-title, .footer-widgets .widget > h3 {
	font-family: var(--thc-body); font-size: .75rem; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; color: var(--thc-f-text); border: 0; }
.footer-widgets a { color: var(--thc-f-link); }
.footer-widgets a:hover { color: #fff; }
.thc-flinks { list-style: none; margin: 0; padding: 0; }
.thc-flinks li { margin: 0 0 .5rem; }
.thc-fbrand { font-family: var(--thc-display); font-size: 1.3rem; color: #fff; margin: 0 0 .6rem; }
.thc-faddr { font-style: normal; line-height: 1.7; }
.absolute-footer { background-color: var(--thc-f-bg) !important; color: var(--thc-f-text);
	font-size: .8125rem; border-top: 1px solid rgba(255,255,255,.08); }
.absolute-footer.dark .copyright-footer { color: var(--thc-f-text); }

/* An dem san pham tren the danh muc (show_count bi bo qua o ux_product_categories) */
.box-category .count, .box-category .cat-count, .product-category .count { display: none !important; }
