/* =========================================================
   Teddy's — custom theme styles
   ========================================================= */

:root {
	--color-primary: #ED1C24;
	--color-primary-dark: #C2151C;
	--color-primary-light: #FDECEC;
	--color-accent: #F2A93B;
	--color-ink: #323232;
	--color-text: #54595F;
	--color-muted: #7A7A7A;
	--color-bg: #FFFFFF;
	--color-bg-soft: #FBF7F2;
	--color-border: #ECE4DA;

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 24px;

	--shadow-sm: 0 2px 10px rgba(33, 26, 23, 0.06);
	--shadow: 0 14px 34px rgba(33, 26, 23, 0.10);

	--font-heading: 'Lora', serif;
	--font-body: 'Source Sans 3', sans-serif;

	--header-h: 84px;
	--announce-h: 40px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-text);
	background: var(--color-bg);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
	font-family: var(--font-heading);
	color: var(--color-ink);
	margin: 0 0 .5em;
	line-height: 1.2;
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
.container, .section__inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	border: 2px solid transparent;
	transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
	white-space: nowrap;
}
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--outline { background: transparent; border-color: var(--color-ink); color: var(--color-ink); }
.btn--outline:hover { background: var(--color-ink); color: #fff; }
.btn--light { background: #fff; color: var(--color-ink); }
.btn--light:hover { background: var(--color-ink); color: #fff; }
.btn--small { padding: 10px 18px; font-size: 13px; width: 100%; }

/* ---------- Announcement bar ---------- */
.announce-bar {
	background: var(--color-ink);
	color: #fff;
	text-align: center;
	font-size: 13px;
	height: var(--announce-h);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
}
.announce-bar p { margin: 0; }
.announce-bar a { text-decoration: underline; color: #fff; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--color-border);
	height: var(--header-h);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
	height: var(--header-h);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: 24px;
}
.site-branding { justify-self: start; min-width: 0; }
.site-logo { display: flex; align-items: center; }
.site-logo img { max-height: 64px; width: auto; }
.site-logo__text {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 30px;
	color: var(--color-primary);
}
.main-nav { justify-self: center; }
.main-nav__list { display: flex; align-items: center; gap: 30px; }
.main-nav__list a {
	font-weight: 600;
	font-size: 15px;
	color: var(--color-ink);
	position: relative;
	padding: 6px 0;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.dropdown-caret {
	position: relative;
	top: 1px;
	color: var(--color-muted);
	transition: transform .18s ease;
}
.has-dropdown:hover .dropdown-caret,
.has-dropdown:focus-within .dropdown-caret {
	transform: rotate(180deg);
	color: var(--color-primary);
}
.main-nav__list a::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -2px;
	height: 2px;
	background: var(--color-primary);
	transform: scaleX(0);
	transition: transform .18s ease;
}
.main-nav__list li { position: relative; }

/* Shop dropdown */
.nav-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	transform: translateY(6px);
	padding-top: 18px;
	width: 220px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
	z-index: 50;
}
.main-nav__list li.has-dropdown:hover .nav-dropdown,
.main-nav__list li.has-dropdown:focus-within .nav-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.nav-dropdown::before {
	content: '';
	position: absolute;
	top: 12px; left: 20px;
	width: 14px; height: 14px;
	background: #fff;
	border: 1px solid var(--color-border);
	border-right: none;
	border-bottom: none;
	transform: rotate(45deg);
}
.nav-dropdown__panel {
	position: relative;
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.nav-dropdown__list {
	padding: 8px;
}
.nav-dropdown__list li a {
	display: block;
	padding: 9px 12px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text);
	white-space: nowrap;
}
.nav-dropdown__list li a:hover { background: var(--color-bg-soft); color: var(--color-primary); }
.main-nav__list a:hover::after,
.main-nav__list li.current-menu-item a::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 6px; justify-self: end; }
.header-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: none;
	background: transparent;
	color: var(--color-ink);
	transition: background .15s ease;
}
.header-icon-btn:hover { background: var(--color-bg-soft); }
.header-icon-btn--cart .cart-count {
	position: absolute;
	top: 2px; right: 2px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--color-primary);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}
.header-icon-btn--cart .cart-count:empty,
.header-icon-btn--cart .cart-count[data-empty="1"] { display: none; }

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	border: none;
	background: none;
	padding: 0;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--color-ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* Mobile nav — slides in from the left */
.mobile-nav {
	position: fixed;
	top: 0; left: -320px;
	width: 300px; height: 100%;
	background: #fff;
	z-index: 200;
	padding: 28px 24px;
	transition: left .25s ease;
	overflow-y: auto;
	box-shadow: 8px 0 30px rgba(0,0,0,.12);
}
.mobile-nav__list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav__list a { display: block; padding: 12px 4px; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--color-border); }

/* Multi-step drilldown: an item with children is a full-row button (it opens
   the panel instead of navigating) with a trailing chevron, sliding in a
   full-height panel with its own back-button header + sublist, instead of
   showing an inline/hover dropdown. */
.mobile-nav__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	background: none;
	border: none;
	padding: 12px 4px;
	font-weight: 600;
	font-size: 17px;
	font-family: inherit;
	color: var(--color-ink);
	border-bottom: 1px solid var(--color-border);
	cursor: pointer;
	text-align: left;
}
.mobile-nav__toggle:hover { color: var(--color-primary); }
.mobile-nav__toggle svg { flex-shrink: 0; color: var(--color-muted); }
.mobile-nav__panel {
	position: fixed;
	top: 0;
	left: 0;
	width: 300px;
	height: 100%;
	background: #fff;
	z-index: 210;
	padding: 28px 24px;
	overflow-y: auto;
	visibility: hidden;
	/* Same left edge as the drawer itself, so the panel slides in from the
	   same direction instead of crossing in from the opposite side. */
	transform: translateX(-100%);
	transition: transform .25s ease, visibility 0s linear .25s;
	box-shadow: 8px 0 30px rgba(0,0,0,.12);
}
.mobile-nav__panel.is-open {
	visibility: visible;
	transform: translateX(0);
	transition: transform .25s ease;
}
.mobile-nav__back {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	background: none;
	border: none;
	padding: 12px 4px;
	margin-bottom: 8px;
	font-weight: 700;
	font-size: 15px;
	color: var(--color-ink);
	border-bottom: 1px solid var(--color-border);
	cursor: pointer;
}
.mobile-nav__back svg { flex-shrink: 0; color: var(--color-muted); }
.mobile-nav__sublist { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-overlay {
	position: fixed; inset: 0;
	background: rgba(20,15,12,.4);
	z-index: 190;
	opacity: 0; visibility: hidden;
	transition: opacity .25s ease;
}
body.mobile-nav-open .mobile-nav { left: 0; }
body.mobile-nav-open .mobile-nav-overlay { opacity: 1; visibility: visible; }
body.mobile-nav-open { overflow: hidden; }

/* ---------- Cart drawer ---------- */
.cart-drawer {
	position: fixed;
	top: 0; right: -420px;
	width: 400px;
	max-width: 92vw;
	height: 100%;
	background: #fff;
	z-index: 210;
	display: flex;
	flex-direction: column;
	transition: right .28s ease;
	box-shadow: -8px 0 30px rgba(0,0,0,.12);
}
.cart-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid var(--color-border);
	flex-shrink: 0;
}
.cart-drawer__title { margin: 0; font-size: 20px; font-family: var(--font-heading); font-weight: 700; }
.cart-drawer__close {
	width: 36px; height: 36px;
	border-radius: 50%;
	border: none;
	background: var(--color-bg-soft);
	color: var(--color-ink);
	display: flex;
	align-items: center;
	justify-content: center;
}
.cart-drawer__close:hover { background: var(--color-border); }
.cart-drawer__content {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
}
.cart-drawer-overlay {
	position: fixed; inset: 0;
	background: rgba(20,15,12,.4);
	z-index: 200;
	opacity: 0; visibility: hidden;
	transition: opacity .25s ease;
}
body.cart-drawer-open .cart-drawer { right: 0; }
body.cart-drawer-open .cart-drawer-overlay { opacity: 1; visibility: visible; }
body.cart-drawer-open { overflow: hidden; }

.cart-drawer__empty {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 16px;
	padding: 40px 24px;
	color: var(--color-muted);
}

.cart-drawer__items {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	padding: 8px 24px;
}
.cart-drawer__item {
	display: flex;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--color-border);
}
.cart-drawer__item:last-child { border-bottom: none; }
.cart-drawer__item-image {
	flex-shrink: 0;
	width: 72px; height: 72px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--color-bg-soft);
}
.cart-drawer__item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-drawer__item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cart-drawer__item-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--color-ink);
	line-height: 1.35;
}
.cart-drawer__item-name:hover { color: var(--color-primary); }
.cart-drawer__item-body .variation {
	font-size: 12px;
	color: var(--color-muted);
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 2px 6px;
}
.cart-drawer__item-body .variation dt,
.cart-drawer__item-body .variation dd { margin: 0; display: inline; font-weight: 400; }
.cart-drawer__item-body .variation dt::after { content: ':'; }
.cart-drawer__item-body .variation p { margin: 0; }
.cart-drawer__item-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 4px;
}
.cart-drawer__item-qty { font-size: 13px; color: var(--color-text); }
.cart-drawer__item-remove {
	width: 26px; height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-muted);
	font-size: 18px;
	line-height: 1;
	flex-shrink: 0;
}
.cart-drawer__item-remove:hover { background: var(--color-bg-soft); color: var(--color-primary); }

.cart-drawer__footer {
	flex-shrink: 0;
	border-top: 1px solid var(--color-border);
	padding: 20px 24px 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.cart-drawer__subtotal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 16px;
}
.cart-drawer__subtotal strong { color: var(--color-primary); }
.cart-drawer__note { font-size: 12px; color: var(--color-muted); margin: -4px 0 4px; text-align: center; }
.cart-drawer__footer .btn { width: 100%; }

/* ---------- Search drawer ---------- */
.search-drawer {
	position: fixed;
	top: 0; right: -460px;
	width: 440px;
	max-width: 92vw;
	height: 100%;
	background: #fff;
	z-index: 210;
	display: flex;
	flex-direction: column;
	transition: right .28s ease;
	box-shadow: -8px 0 30px rgba(0,0,0,.12);
}
.search-drawer__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px;
	border-bottom: 1px solid var(--color-border);
	flex-shrink: 0;
}
.search-drawer__title { margin: 0; font-size: 22px; font-family: var(--font-heading); font-weight: 700; }
.search-drawer__close {
	width: 36px; height: 36px;
	border-radius: 50%;
	border: none;
	background: var(--color-bg-soft);
	color: var(--color-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.search-drawer__close:hover { background: var(--color-border); }
.search-drawer__body {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	padding: 24px;
	overflow-y: auto;
}
.search-drawer__form {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 2px solid var(--color-primary-light);
	border-radius: 999px;
	padding: 6px 6px 6px 20px;
	flex-shrink: 0;
}
.search-drawer__form:focus-within { border-color: var(--color-primary); }
.search-drawer__form input[type="search"] {
	flex: 1;
	border: none;
	background: transparent;
	font-size: 16px;
	outline: none;
	color: var(--color-ink);
}
.search-drawer__submit {
	width: 44px; height: 44px;
	border-radius: 50%;
	border: none;
	background: var(--color-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.search-drawer__submit:hover { background: var(--color-primary-dark); }

.search-drawer__results { margin-top: 24px; }
.search-drawer__empty { color: var(--color-muted); font-size: 14px; text-align: center; margin-top: 20px; }
.search-drawer__list { display: flex; flex-direction: column; gap: 4px; }
.search-drawer__item a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px;
	border-radius: var(--radius-sm);
}
.search-drawer__item a:hover { background: var(--color-bg-soft); }
.search-drawer__item-image {
	flex-shrink: 0;
	width: 56px; height: 56px;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: var(--color-bg-soft);
}
.search-drawer__item-image img { width: 100%; height: 100%; object-fit: cover; }
.search-drawer__item-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.search-drawer__item-name { font-size: 14px; font-weight: 700; color: var(--color-ink); line-height: 1.35; }
.search-drawer__item-price { font-size: 13px; font-weight: 700; color: var(--color-primary); }
.search-drawer__view-all {
	display: block;
	text-align: center;
	margin-top: 16px;
	padding: 14px;
	border: 2px solid var(--color-primary-light);
	border-radius: 999px;
	color: var(--color-primary);
	font-weight: 700;
	font-size: 14px;
}
.search-drawer__view-all:hover { background: var(--color-primary-light); }

.search-drawer-overlay {
	position: fixed; inset: 0;
	background: rgba(20,15,12,.4);
	z-index: 200;
	opacity: 0; visibility: hidden;
	transition: opacity .25s ease;
}
body.search-drawer-open .search-drawer { right: 0; }
body.search-drawer-open .search-drawer-overlay { opacity: 1; visibility: visible; }
body.search-drawer-open { overflow: hidden; }

/* ---------- Sections (shared) ---------- */
.section { padding: 72px 0; }
.section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 32px;
	gap: 16px;
}
.section__head h2 { font-size: 30px; }
.section__link { font-weight: 700; color: var(--color-primary); font-size: 14px; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { background: var(--color-bg-soft); overflow: hidden; }
.hero__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 80px 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}
.hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 13px;
	font-weight: 700;
	color: var(--color-primary);
	margin-bottom: 14px;
}
.hero__title { font-size: 52px; font-weight: 700; margin-bottom: 20px; }
.hero__subtitle { font-size: 18px; color: var(--color-text); max-width: 460px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__media { position: relative; height: 420px; }
.hero__blob {
	position: absolute;
	inset: 10% 8%;
	background: var(--color-accent);
	opacity: .25;
	border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
}
.hero__photo {
	position: absolute;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow);
	border: 6px solid #fff;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--1 { width: 240px; height: 240px; top: 0; left: 10%; }
.hero__photo--2 { width: 190px; height: 190px; bottom: 10%; left: 42%; }
.hero__photo--3 { width: 160px; height: 160px; top: 18%; right: 4%; }

.hero__badge {
	position: absolute;
	left: 0;
	bottom: 6%;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border-radius: 999px;
	padding: 8px 20px 8px 8px;
	box-shadow: var(--shadow);
}
.hero__badge img {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
}
.hero__badge span {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 13px;
	line-height: 1.3;
	color: var(--color-ink);
}

/* ---------- Trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--color-border); }
.trust-strip__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 28px 24px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--color-ink); }
.trust-item svg { color: var(--color-primary); flex-shrink: 0; }
.trust-item span { font-weight: 600; font-size: 14px; }

/* ---------- Category grid ---------- */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.category-tile { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.category-tile__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: var(--color-bg-soft);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: box-shadow .2s ease, transform .2s ease;
}
.category-tile__image img { width: 72%; height: 72%; object-fit: contain; }
.category-tile:hover .category-tile__image { box-shadow: var(--shadow); transform: translateY(-4px); }
.category-tile__name { font-weight: 700; font-size: 14px; color: var(--color-ink); }

/* ---------- Product grid / card ---------- */
.products-section--alt { background: var(--color-bg-soft); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card__image { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--color-bg-soft); overflow: hidden; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.product-card__badge {
	position: absolute; top: 12px; left: 12px;
	font-size: 11px; font-weight: 700;
	padding: 5px 10px; border-radius: 999px;
	z-index: 2;
}
.product-card__badge--sale { background: var(--color-primary); color: #fff; }
.product-card__badge--out { background: var(--color-muted); color: #fff; }
.product-card__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__cat { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--color-muted); font-weight: 700; }
.product-card__cat a { color: inherit; }
.product-card__title { font-size: 15px; font-weight: 700; margin: 0; }
.product-card__title a:hover { color: var(--color-primary); }
.product-card__price { font-weight: 700; color: var(--color-primary); margin-bottom: 6px; }
.product-card__price del { color: var(--color-muted); font-weight: 400; margin-right: 6px; }
.product-card__add { margin-top: auto; }

/* ---------- Testimonials ---------- */
.testimonial-section { background: var(--color-bg-soft); text-align: center; }
.testimonial-heading { font-size: 30px; margin-bottom: 40px; }
.testimonial-widget { text-align: left; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card__image { aspect-ratio: 16 / 10; background: var(--color-bg-soft); overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.blog-card__date { font-size: 12px; color: var(--color-muted); font-weight: 600; }
.blog-card__body h3 { font-size: 17px; margin: 8px 0 0; line-height: 1.35; }
.blog-card__excerpt { font-size: 14px; color: var(--color-text); margin: 10px 0 0; line-height: 1.6; }
.blog-card__link { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 700; color: var(--color-primary); }

/* Blog archive (home.php) */
.archive-header--blog .archive-header__inner { justify-content: center; text-align: center; }
.archive-header--blog .archive-header__content { max-width: none; }
.archive-header--blog .archive-breadcrumb { justify-content: center; }
.archive-header--blog .archive-header__desc { max-width: none; white-space: nowrap; }
.blog-archive { padding-top: 48px; padding-bottom: 72px; }
.blog-grid--archive { margin-bottom: 8px; }

/* Single post — hero (text left, featured image right) */
.post-hero { background: var(--color-bg-soft); }
.post-hero__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 40px;
	align-items: center;
	padding: 48px 24px;
}
.post-hero--no-media .post-hero__inner { grid-template-columns: 1fr; max-width: 760px; text-align: center; }
.post-hero--no-media .archive-breadcrumb { justify-content: center; }
.post-hero__content h1 { font-size: 38px; line-height: 1.2; margin: 14px 0 14px; }
.single-post__meta { font-size: 13px; color: var(--color-muted); display: flex; align-items: center; gap: 8px; }
.post-hero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; max-width: 420px; margin-left: auto; }
.post-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Two-column layout: content + table of contents */
.single-post__layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 56px;
	align-items: start;
	padding-top: 48px;
	padding-bottom: 64px;
}
.single-post__layout--no-toc { grid-template-columns: 1fr; max-width: 760px; }

.single-post__toc {
	position: sticky;
	top: calc(var(--header-h) + var(--announce-h) + 24px);
}
.single-post__toc-inner {
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
	padding: 24px;
}
.single-post__toc-inner h2 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 14px; }
.single-post__toc-inner ul { display: flex; flex-direction: column; gap: 10px; }
.single-post__toc-item a { font-size: 14px; color: var(--color-text); line-height: 1.4; display: block; }
.single-post__toc-item a:hover { color: var(--color-primary); }

.single-post__content { font-size: 17px; line-height: 1.75; color: var(--color-text); }
.single-post__content > *:first-child { margin-top: 0; }
.single-post__content h2 { font-size: 26px; margin: 40px 0 16px; scroll-margin-top: calc(var(--header-h) + var(--announce-h) + 24px); }
.single-post__content h3 { font-size: 21px; margin: 32px 0 14px; scroll-margin-top: calc(var(--header-h) + var(--announce-h) + 24px); }
.single-post__content p { margin: 0 0 20px; }
.single-post__content ul,
.single-post__content ol { margin: 0 0 20px; padding-left: 22px; }
.single-post__content li { margin-bottom: 8px; }
.single-post__content a { color: var(--color-primary); text-decoration: underline; }
.single-post__content strong { color: var(--color-ink); }
.single-post__content img { border-radius: var(--radius); margin: 8px 0 24px; height: auto; }
.single-post__content blockquote {
	margin: 28px 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--color-primary);
	font-style: italic;
	color: var(--color-ink);
	font-size: 19px;
}
.single-post__content table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.single-post__content th, .single-post__content td { padding: 10px 14px; border: 1px solid var(--color-border); text-align: left; }

.single-post__related { padding: 56px 0 72px; border-top: 1px solid var(--color-border); }
.single-post__related h2 { font-size: 24px; margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: rgba(255,255,255,.75); }
.footer-main__inner {
	max-width: 1240px; margin: 0 auto; padding: 56px 24px;
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
}
.footer-col--brand .site-logo { display: inline-flex; margin-bottom: 16px; }
.footer-col--brand .site-logo__text { color: #fff; }
.footer-tagline { font-size: 14px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
	width: 36px; height: 36px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.08);
	transition: background .15s ease;
}
.footer-social a:hover { background: var(--color-primary); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-contact span { font-size: 14px; line-height: 1.6; display: block; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom__inner {
	max-width: 1240px; margin: 0 auto; padding: 20px 24px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	font-size: 13px;
}
.footer-sitemap-link { color: rgba(255,255,255,.7); font-size: 13px; }
.footer-sitemap-link:hover { color: #fff; }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 150;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow);
	transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-float:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 18px 38px rgba(33,26,23,.18); color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; }
@media (max-width: 640px) {
	.whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
	.whatsapp-float svg { width: 27px; height: 27px; }
}

/* ---------- Basic fallback article (index.php) ---------- */
.site-main.container { padding-top: 60px; padding-bottom: 60px; }

/* ---------- Shop / category archive ---------- */
.archive-header { background: var(--color-bg-soft); }
.archive-header__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 40px 24px;
	display: flex;
	align-items: center;
	gap: 32px;
}
.archive-header__media {
	flex-shrink: 0;
	width: 120px; height: 120px;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow-sm);
}
.archive-header__media img { width: 100%; height: 100%; object-fit: cover; }
.archive-header__content h1 { font-size: 34px; margin-bottom: 6px; }
.archive-header__desc { color: var(--color-text); max-width: 640px; font-size: 15px; }
.archive-header__desc p { margin: 0; }
.archive-breadcrumb { font-size: 13px; color: var(--color-muted); margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.archive-breadcrumb a:hover { color: var(--color-primary); }
.archive-breadcrumb .is-current { color: var(--color-ink); font-weight: 600; }

.shop-layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 40px;
	padding-top: 48px;
	padding-bottom: 72px;
	align-items: start;
}

.shop-sidebar { position: sticky; top: calc(var(--header-h) + var(--announce-h) + 24px); }
.shop-sidebar__title { font-size: 16px; margin-bottom: 16px; }
.shop-sidebar__list { display: flex; flex-direction: column; gap: 2px; }
.shop-sidebar__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text);
}
.shop-sidebar__list a:hover { background: var(--color-bg-soft); color: var(--color-ink); }
.shop-sidebar__list a.is-active { background: var(--color-primary-light); color: var(--color-primary); font-weight: 700; }
.shop-sidebar__count { font-size: 12px; color: var(--color-muted); }
.shop-sidebar__list a.is-active .shop-sidebar__count { color: var(--color-primary); }

.shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--color-border);
	flex-wrap: wrap;
}
.shop-toolbar__count { margin: 0; font-size: 14px; color: var(--color-muted); }
.shop-toolbar__sort { display: flex; align-items: center; gap: 10px; }
.shop-toolbar__sort label { font-size: 14px; color: var(--color-muted); }
.shop-toolbar__sort select {
	appearance: none;
	padding: 9px 36px 9px 14px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-ink);
	background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6" fill="none"><path d="M1 1l4 4 4-4" stroke="%23767676" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 14px center;
	cursor: pointer;
}
.shop-toolbar__sort select:hover { border-color: var(--color-primary); }

.shop-empty { text-align: center; padding: 60px 24px; color: var(--color-muted); }
.shop-empty .btn { margin-top: 16px; }

.shop-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
	flex-wrap: wrap;
}
.shop-pagination__link,
.shop-pagination span.dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-ink);
	border: 1px solid var(--color-border);
}
.shop-pagination__link:hover { border-color: var(--color-primary); color: var(--color-primary); }
.shop-pagination__link.current { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.shop-pagination span.dots { border: none; color: var(--color-muted); }

/* ---------- Star rating (custom, no icon-font dependency) ---------- */
.star-rating {
	position: relative;
	display: inline-block;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 2px;
	color: var(--color-border);
	white-space: nowrap;
}
.star-rating__track { color: var(--color-border); }
.star-rating__fill {
	position: absolute;
	top: 0; left: 0;
	overflow: hidden;
	white-space: nowrap;
	color: var(--color-accent);
}
/* WooCommerce's own wc_get_rating_html() output (used in the reviews list) — same visual
   technique (a text-based star track + a percentage-width overlay), different markup shape:
   a single <span style="width:X%"> holding the accessible rating text as its only content. */
.star-rating:not(:has(.star-rating__track))::before {
	content: '★★★★★';
	color: var(--color-border);
}
.star-rating:not(:has(.star-rating__track)) span {
	position: absolute;
	top: 0; left: 0;
	overflow: hidden;
	height: 100%;
	font-size: 0;
}
.star-rating:not(:has(.star-rating__track)) span::before {
	content: '★★★★★';
	font-size: 15px;
	color: var(--color-accent);
}

/* ---------- Single product page ---------- */
.archive-header--product { background: transparent; }
.archive-header--product .archive-header__inner { padding: 24px; }

.product-page {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	padding: 40px 24px 64px;
}

.product-gallery__main {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
	overflow: hidden;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }
.product-gallery__main .product-card__badge { top: 18px; left: 18px; }
.product-gallery__thumbs { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.product-gallery__thumb {
	width: 76px; height: 76px;
	border-radius: var(--radius);
	overflow: hidden;
	border: 2px solid transparent;
	background: var(--color-bg-soft);
	padding: 0;
	cursor: pointer;
}
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumb.is-active { border-color: var(--color-primary); }

.product-summary__cat { text-transform: uppercase; font-size: 12px; font-weight: 700; letter-spacing: .05em; color: var(--color-muted); margin-bottom: 10px; }
.product-summary__cat a:hover { color: var(--color-primary); }
.product-summary__title { font-size: 32px; margin-bottom: 12px; }
.product-summary__rating { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.product-summary__review-link { font-size: 13px; color: var(--color-muted); }
.product-summary__review-link:hover { color: var(--color-primary); }
.product-summary__price { font-size: 28px; font-weight: 700; color: var(--color-primary); margin-bottom: 18px; }
.product-summary__price del { font-size: 18px; font-weight: 400; color: var(--color-muted); margin-right: 10px; }
.product-summary__desc { color: var(--color-text); margin-bottom: 24px; }
.product-summary__desc p:last-child { margin-bottom: 0; }

/* Quantity stepper (shared: product page, cart, etc.) */
.quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	overflow: hidden;
	height: 52px;
	flex-shrink: 0;
}
.quantity-btn {
	width: 44px; height: 100%;
	border: none;
	background: none;
	font-size: 18px;
	color: var(--color-ink);
	cursor: pointer;
	flex-shrink: 0;
}
.quantity-btn:hover { background: var(--color-bg-soft); color: var(--color-primary); }
.quantity .qty {
	width: 44px;
	height: 100%;
	border: none;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: var(--color-ink);
	-moz-appearance: textfield;
	appearance: textfield;
}
.quantity .qty::-webkit-inner-spin-button,
.quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.product-simple-cart__row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.product-simple-cart__row .btn { height: 52px; padding-left: 36px; padding-right: 36px; }
.product-simple-cart__row .btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Variable product form */
.product-variations__attributes { margin-bottom: 20px; display: flex; flex-direction: column; gap: 14px; }
.product-variations__row label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--color-ink); }
.variation-select {
	width: 100%;
	max-width: 320px;
	appearance: none;
	padding: 12px 40px 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-ink);
	background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6" viewBox="0 0 10 6" fill="none"><path d="M1 1l4 4 4-4" stroke="%23767676" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 16px center;
}
.variation-select:hover { border-color: var(--color-primary); }
.reset_variations { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--color-muted); }
.reset_variations:hover { color: var(--color-primary); }
.single_variation_wrap { margin-bottom: 8px; }
.woocommerce-variation-price { font-size: 24px; font-weight: 700; color: var(--color-primary); margin-bottom: 14px; }
.woocommerce-variation-price .price { font-size: inherit; }
.woocommerce-variation-availability { margin-bottom: 14px; font-size: 13px; font-weight: 700; }
.woocommerce-variation-availability .in-stock { color: #2E7D32; }
.woocommerce-variation-availability .out-of-stock { color: var(--color-primary); }
.woocommerce-variation-description p { color: var(--color-text); font-size: 14px; }
.variations_button { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.variations_button .btn { height: 52px; padding-left: 36px; padding-right: 36px; }
.woocommerce-variation-add-to-cart { display: flex; align-items: center; gap: 16px; }
.single_add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 36px;
	border-radius: 999px;
	border: 2px solid transparent;
	background: var(--color-primary);
	color: #fff;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.single_add_to_cart_button:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.single_add_to_cart_button.disabled,
.single_add_to_cart_button[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }
p.stock.out-of-stock { color: var(--color-primary); font-weight: 700; font-size: 14px; }

.product-summary__meta { list-style: none; margin: 8px 0 24px; padding: 20px 0 0; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 8px; }
.product-summary__meta li { font-size: 13px; color: var(--color-muted); }
.product-summary__meta li span { font-weight: 700; color: var(--color-ink); }
.product-summary__meta a:hover { color: var(--color-primary); }

.product-summary__trust { display: flex; flex-direction: column; gap: 10px; }
.product-summary__trust .trust-item { color: var(--color-ink); font-size: 13px; }
.product-summary__trust .trust-item svg { color: var(--color-primary); }

/* Product tabs */
.product-tabs { padding-bottom: 72px; }
.product-tabs__nav {
	display: flex;
	gap: 8px;
	border-bottom: 1px solid var(--color-border);
	margin-bottom: 32px;
	flex-wrap: wrap;
}
.product-tabs__btn {
	padding: 14px 22px;
	border: none;
	background: none;
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 700;
	color: var(--color-muted);
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	cursor: pointer;
}
.product-tabs__btn:hover { color: var(--color-ink); }
.product-tabs__btn.is-active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.product-tabs__panel { display: none; color: var(--color-text); }
.product-tabs__panel.is-active { display: block; }
.product-tabs__panel p:last-child { margin-bottom: 0; }

/* Additional information table (wc_display_product_attributes output) */
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes tr { border-bottom: 1px solid var(--color-border); }
.woocommerce-product-attributes th,
.woocommerce-product-attributes td { text-align: left; padding: 14px 0; font-size: 14px; }
.woocommerce-product-attributes th { width: 200px; font-weight: 700; color: var(--color-ink); }
.woocommerce-product-attributes td { color: var(--color-text); }
.woocommerce-product-attributes td p { margin: 0; }

/* Reviews (WooCommerce's own comment system, restyled) */
.woocommerce-Reviews-title { font-size: 22px; margin-bottom: 24px; }
.woocommerce-Reviews-title span { color: var(--color-primary); }
#comments .commentlist { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 20px; }
#comments .comment_container { display: flex; gap: 16px; }
#comments .avatar { border-radius: 50%; width: 48px; height: 48px; flex-shrink: 0; }
#comments .comment-text { flex: 1; background: var(--color-bg-soft); border-radius: var(--radius); padding: 18px 20px; }
#comments .comment-text .star-rating { margin-bottom: 8px; }
#comments .meta { font-size: 12px; color: var(--color-muted); margin-bottom: 6px; display: block; }
#comments .description p:last-child { margin-bottom: 0; }
.woocommerce-noreviews { color: var(--color-muted); margin-bottom: 24px; }
#review_form_wrapper { max-width: 640px; }
#review_form #reply-title { font-size: 20px; display: block; margin-bottom: 16px; }
.comment-form-rating label,
.comment-form-author label,
.comment-form-email label,
.comment-form-comment label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--color-ink); }
.comment-form-rating { margin-bottom: 16px; }
.comment-form-rating .stars {
	display: flex;
	gap: 4px;
	margin: 0 0 4px;
	list-style: none;
}
.comment-form-rating .stars a {
	position: relative;
	display: inline-block;
	width: 26px;
	height: 26px;
	font-size: 0;
	color: var(--color-border);
}
.comment-form-rating .stars a::before {
	content: '★';
	position: absolute;
	inset: 0;
	font-size: 22px;
	line-height: 26px;
	text-align: center;
}
.comment-form-rating .stars a.star-filled,
.comment-form-rating .stars a.star-hover { color: var(--color-accent); }
.comment-form-rating select,
.comment-form-author input,
.comment-form-email input,
.comment-form-comment textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-family: inherit;
	margin-bottom: 16px;
}
.comment-form-comment textarea { resize: vertical; min-height: 120px; }
#review_form .form-submit input {
	padding: 13px 28px;
	border-radius: 999px;
	border: none;
	background: var(--color-primary);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}
#review_form .form-submit input:hover { background: var(--color-primary-dark); }
p.must-log-in a { color: var(--color-primary); }

/* ---------- Shared: buttons / form fields used on cart & checkout ---------- */
.btn--block { display: flex; width: 100%; }
.woocommerce-error, .woocommerce-message, .woocommerce-info {
	list-style: none;
	margin: 0 0 24px;
	padding: 16px 20px;
	border-radius: var(--radius);
	background: var(--color-bg-soft);
	border: 1px solid var(--color-border);
	color: var(--color-ink);
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.woocommerce-error { background: var(--color-primary-light); border-color: var(--color-primary); color: var(--color-primary-dark); }
.woocommerce-message .button, .woocommerce-error .button {
	padding: 8px 18px; border-radius: 999px; background: var(--color-ink); color: #fff; font-weight: 600; font-size: 13px;
}
.woocommerce-error li, .woocommerce-message li { list-style: none; }

/* form-row fields (checkout billing/shipping use these natively) */
.form-row { margin-bottom: 16px; }
.form-row label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 6px;
	color: var(--color-ink);
}
.form-row .required { color: var(--color-primary); text-decoration: none; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row textarea,
.form-row select {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-family: inherit;
	background: #fff;
	height: auto;
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--color-primary); }
.form-row.woocommerce-invalid input,
.form-row.woocommerce-invalid select { border-color: var(--color-primary); }
.form-row-first, .form-row-last { display: inline-block; width: 48%; vertical-align: top; }
.form-row-first { margin-right: 4%; }
@media (max-width: 640px) { .form-row-first, .form-row-last { width: 100%; margin-right: 0; } }
.woocommerce-form__label-for-checkbox.checkbox {
	display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; color: var(--color-text);
}
.woocommerce-input-wrapper .description { font-size: 12px; color: var(--color-muted); margin-top: 4px; }

/* Select2 (country/state dropdowns) — matched to select2's own selector specificity
   so every property below actually wins instead of silently losing the cascade. */
.select2-container { width: 100% !important; }
.select2-container--default .select2-selection--single {
	height: 44px;
	display: flex;
	align-items: center;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: #fff;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: normal;
	padding-left: 16px;
	padding-right: 36px;
	color: var(--color-ink);
	font-size: 14px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 100%;
	top: 0;
	right: 8px;
}
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single { border-color: var(--color-primary); }

/* ---------- Cart page ---------- */
.cart-page { padding: 40px 24px 80px; }
.cart-page__title { font-size: 32px; margin-bottom: 32px; text-align: center; }
.cart-page__layout {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 48px;
	align-items: start;
}
.cart-page__items { display: flex; flex-direction: column; }
.cart-page__item {
	display: grid;
	grid-template-columns: 84px 1fr auto 140px 100px;
	align-items: center;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--color-border);
}
.cart-page__item-image {
	width: 84px; height: 84px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-bg-soft);
}
.cart-page__item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-page__item-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-page__item-name a { font-size: 15px; font-weight: 700; color: var(--color-ink); }
.cart-page__item-name a:hover { color: var(--color-primary); }
.cart-page__item-body .variation { font-size: 12px; color: var(--color-muted); margin: 0; }
.cart-page__item-body .variation dt, .cart-page__item-body .variation dd { display: inline; margin: 0; font-weight: 400; }
.cart-page__item-body .variation dt::after { content: ':'; }
.cart-page__item-remove { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--color-muted); text-decoration: underline; }
.cart-page__item-remove:hover { color: var(--color-primary); }
.cart-page__item-price { font-size: 14px; color: var(--color-text); white-space: nowrap; }
.cart-page__item-price--mobile { display: none; }
.cart-page__item-qty .quantity { height: 44px; }
.cart-page__item-subtotal { font-weight: 700; color: var(--color-primary); text-align: right; white-space: nowrap; }

.cart-page__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	flex-wrap: wrap;
}
.cart-page__coupon { display: flex; gap: 10px; flex: 1; min-width: 240px; }
.cart-page__coupon input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: 14px;
}
.cart-page__coupon .btn, .cart-page__actions > button.btn { white-space: nowrap; }

.cart-totals { background: var(--color-bg-soft); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + var(--announce-h) + 24px); }
.cart-totals h2 { font-size: 18px; margin-bottom: 20px; }
.cart-totals__row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--color-border); font-size: 14px; }

/* Every regular row's value (subtotal, shipping, tax, coupon) shares one weight/color so
   nothing looks lighter or thinner than its neighbours; --total overrides this further down. */
.cart-totals__row > span:last-child,
.checkout-review__row > span:last-child { font-weight: 600; color: var(--color-ink); }

.cart-totals__row--total,
.checkout-review__row--total { font-size: 18px; font-weight: 700; }
.cart-totals__row--total { border-bottom: none; padding-top: 16px; }
.cart-totals__row--total span:last-child,
.checkout-review__row--total span:last-child { color: var(--color-primary); }

.cart-totals__row--shipping,
.checkout-review__row--shipping { align-items: flex-start; }
.cart-totals__row--shipping:has(+ .cart-totals__shipping-contents),
.cart-totals__row--shipping:has(+ .cart-totals__shipping-destination) { border-bottom: none; padding-bottom: 4px; }
.cart-totals__row--shipping > span:first-child,
.checkout-review__row--shipping > span:first-child { padding-top: 2px; }
.cart-totals__row--shipping > span:last-child,
.checkout-review__row--shipping > span:last-child { text-align: right; }
.cart-totals__shipping-method label,
.checkout-review__shipping-method label { font-weight: 600; color: var(--color-ink); }
.cart-totals__shipping-method input[type="radio"],
.checkout-review__shipping-method input[type="radio"] { accent-color: var(--color-primary); margin-right: 6px; }
.cart-totals__shipping-contents,
.cart-totals__shipping-destination,
.checkout-review__shipping-contents,
.checkout-review__shipping-destination {
	font-size: 12px;
	color: var(--color-muted);
	margin: 4px 0 0;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--color-border);
}
.cart-totals__shipping-destination strong,
.checkout-review__shipping-destination strong { color: var(--color-text); }
.cart-totals .woocommerce-shipping-calculator { margin-top: 8px; margin-bottom: 12px; }
.cart-totals .shipping-calculator-form input,
.cart-totals .shipping-calculator-form select { width: 100%; margin-bottom: 10px; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.cart-totals a.shipping-calculator-button { font-size: 12px; font-weight: 700; color: var(--color-primary); text-decoration: underline; }
.cart-totals .shipping-calculator-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px 20px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--color-primary);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.cart-totals .shipping-calculator-form button:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.wc-proceed-to-checkout { margin-top: 20px; }
.wc-proceed-to-checkout .btn { width: 100%; }
.cart-totals ul#shipping_method { list-style: none; margin: 0; padding: 0; }

.cart-page__empty { text-align: center; padding: 80px 24px; color: var(--color-muted); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cart-page__empty svg { color: var(--color-border); margin-bottom: 8px; }
.cart-page__empty h1 { color: var(--color-ink); font-size: 26px; margin: 0; }
.cart-page__empty .btn { margin-top: 16px; }

.cart-page__cross-sells { margin-top: 64px; }

/* ---------- Checkout page ---------- */
.checkout-page { padding: 40px 24px 80px; }
.checkout-page__title { font-size: 32px; margin-bottom: 32px; text-align: center; }
.checkout-page__layout {
	display: grid;
	grid-template-columns: 1fr 420px;
	grid-template-rows: auto auto;
	gap: 0 48px;
	align-items: start;
}
.checkout-page__login-form { grid-column: 1; grid-row: 1; }
.checkout-page__form { display: contents; }
/*
 * Spans both rows by default so its top aligns with the summary card's top
 * when there's no login banner (e.g. logged in) — row 1 would otherwise have
 * nothing anchoring it in this column and collapse to near-zero height,
 * leaving the billing card start just below the summary card's top instead
 * of level with it. When the login banner IS present, it drops back to row 2
 * only (below the banner) via the sibling rule further down.
 */
.checkout-page__fields-card { grid-column: 1; grid-row: 1 / span 2; }
.checkout-page__summary { grid-column: 2; grid-row: 1 / span 2; }

/*
 * The login toggle and the billing card are two separate elements (the login
 * form can't live inside <form name="checkout">) but share matching white
 * styling with zero gap so they read as one continuous card, split top/bottom
 * by border-radius. form-checkout.php only prints .checkout-page__login-form
 * at all when there's actually a login toggle to show, so fields-card gets its
 * full box by default and only loses its top edge when that sibling exists.
 */
.checkout-page__login-form,
.checkout-page__fields-card {
	background: #fff;
	border: 1px solid var(--color-border);
}
.checkout-page__login-form {
	border-bottom: none;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	padding: 0;
}
.checkout-page__fields-card {
	border-radius: var(--radius-lg);
	padding: 32px;
}
.checkout-page__login-form + .checkout-page__form .checkout-page__fields-card {
	grid-row: 2;
	border-top: none;
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.woocommerce-form-login-toggle { margin: 0; }
.woocommerce-form-login-toggle .woocommerce-info {
	background: var(--color-bg-soft);
	border: none;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	padding: 20px 32px;
	margin: 0;
}
.checkout-page__summary-inner {
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
	padding: 28px;
	position: sticky;
	top: calc(var(--header-h) + var(--announce-h) + 24px);
}
.checkout-page__summary-inner h2 { font-size: 18px; margin-bottom: 20px; }

.checkout-page__section { margin-bottom: 40px; }
.checkout-page__section:last-child { margin-bottom: 0; }

/* Returning-customer login toggle (WC default markup, styled to match) */
.woocommerce-form-login-toggle .showlogin { color: var(--color-primary); font-weight: 600; text-decoration: underline; }
.woocommerce-form-login {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 24px;
	margin-top: 20px;
}
/* Checkout's login card sits inside an already-padded banner, so it needs its
   own side margins to inset from the shared card's edges; other contexts
   (My Account) provide their own padding via the surrounding panel instead. */
.checkout-page__login-form .woocommerce-form-login { margin: 20px 32px 32px; }
.woocommerce-form-login .clear { clear: both; }
.woocommerce-form-login .form-row { margin-bottom: 16px; }
.woocommerce-form-login .form-row:last-child { margin-bottom: 0; }
.woocommerce-form-login__rememberme {
	display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--color-text); cursor: pointer;
}
.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.woocommerce-form-login .button {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 28px; border-radius: 999px; background: var(--color-primary); color: #fff;
	font-weight: 600; font-size: 14px; border: none; cursor: pointer;
	order: 1;
}
.woocommerce-form-login .button:hover { background: var(--color-primary-dark); }
.woocommerce-form-login__rememberme { order: 2; }
.woocommerce-form-login .lost_password { margin-top: 12px; }
.woocommerce-form-login .lost_password a { background: none; color: var(--color-primary); padding: 0; text-decoration: underline; }
.password-input {
	position: relative;
	display: block;
}
.password-input input[type="password"],
.password-input input[type="text"] { padding-right: 44px; }
.show-password-input {
	position: absolute;
	top: 50%;
	right: 4px;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	cursor: pointer;
	color: var(--color-muted);
}
.show-password-input::before {
	content: "Show";
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.show-password-input[aria-label="Hide password"]::before { content: "Hide"; }

/*
 * "Have a coupon?" banner — a plain div (not a <form>) rendered between the
 * order review table and the payment box via teddys_checkout_coupon_banner()
 * in functions.php. Sits directly inside the same seamless summary card, no
 * separate box/border of its own, so it reads as part of one continuous card.
 */
.coupon-banner { margin: 20px 0; }
.coupon-banner__toggle { margin: 0; font-size: 14px; color: var(--color-text); }
.coupon-banner__show { color: var(--color-primary); font-weight: 600; text-decoration: underline; }
.coupon-banner__row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 16px; }
.coupon-banner__row input[type="text"] {
	flex: 1;
	min-width: 160px;
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-family: inherit;
	background: #fff;
}
.coupon-banner__apply { white-space: nowrap; }
.coupon-banner__apply.is-loading { opacity: 0.6; pointer-events: none; }
.coupon-banner__row input.has-error { border-color: var(--color-primary); }
.coupon-banner .coupon-error-notice { flex-basis: 100%; font-size: 13px; color: var(--color-primary); }
.checkout-page__section h3 { font-size: 20px; margin-bottom: 20px; }
.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper { display: block; }
#ship-to-different-address { margin-bottom: 16px; }
#ship-to-different-address label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; cursor: pointer; }
.woocommerce-additional-fields h3 { font-size: 18px; margin-bottom: 16px; }

#order_review_heading { font-size: 18px; margin-bottom: 20px; }

.checkout-review__items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.checkout-review__item { display: flex; align-items: center; gap: 14px; }
.checkout-review__item-image { position: relative; width: 56px; height: 56px; background: #fff; flex-shrink: 0; }
.checkout-review__item-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.checkout-review__item-qty {
	position: absolute; top: -7px; right: -7px;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--color-ink); color: #fff;
	font-size: 12px; line-height: 1; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 2px #fff;
}
.checkout-review__item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.checkout-review__item-name { font-size: 13px; font-weight: 700; color: var(--color-ink); }
.checkout-review__item-body .variation { font-size: 11px; color: var(--color-muted); margin: 0; }
.checkout-review__item-body .variation dt, .checkout-review__item-body .variation dd { display: inline; margin: 0; font-weight: 400; }
.checkout-review__item-body .variation dt::after { content: ':'; }
.checkout-review__item-total { font-size: 13px; font-weight: 700; color: var(--color-ink); white-space: nowrap; }

.checkout-review__totals { border-top: 1px solid var(--color-border); padding-top: 16px; }
.checkout-review__row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.checkout-review__row--total { border-top: 1px solid var(--color-border); margin-top: 8px; padding-top: 16px; font-size: 18px; font-weight: 700; }
.checkout-review__row--total span:last-child { color: var(--color-primary); }

.checkout-payment { margin-top: 24px; border-top: 1px solid var(--color-border); padding-top: 24px; }
.checkout-payment__heading { font-size: 16px; margin-bottom: 14px; }
.checkout-payment__methods { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checkout-payment__method { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.checkout-payment__method label { display: flex; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-size: 14px; font-weight: 600; }
.checkout-payment__method input[type="radio"] { accent-color: var(--color-primary); width: 16px; height: 16px; }
.checkout-payment__method-title { flex: 1; }
.checkout-payment__method-box { padding: 0 16px 16px; font-size: 13px; color: var(--color-text); }
.checkout-payment__method-box p { margin: 0; }
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 16px; font-size: 13px; }
.woocommerce-terms-and-conditions-wrapper .required { color: var(--color-primary); }

/* ---------- Thank-you page ---------- */
.thankyou-page { padding: 56px 24px 80px; max-width: 900px; margin: 0 auto; }
.thankyou-page__status { text-align: center; margin-bottom: 40px; }
.thankyou-page__status svg { color: #2E7D32; margin-bottom: 16px; }
.thankyou-page__status--failed svg { color: var(--color-primary); }
.thankyou-page__status h1 { font-size: 30px; margin-bottom: 10px; }
.thankyou-page__status p { color: var(--color-text); max-width: 480px; margin: 0 auto; }

.thankyou-page__overview {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	background: var(--color-bg-soft);
	border-radius: var(--radius-lg);
	padding: 24px;
	margin-bottom: 48px;
}
.thankyou-page__overview-item { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.thankyou-page__overview-item span { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--color-muted); font-weight: 700; }
.thankyou-page__overview-item strong { font-size: 15px; color: var(--color-ink); }

.thankyou-page__layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; margin-bottom: 40px; }
.thankyou-page__items h2 { font-size: 20px; margin-bottom: 20px; }
.thankyou-page__addresses { display: flex; flex-direction: column; gap: 24px; }
.thankyou-page__address { background: var(--color-bg-soft); border-radius: var(--radius); padding: 20px; }
.thankyou-page__address h3 { font-size: 15px; margin-bottom: 10px; }
.thankyou-page__address address { font-style: normal; font-size: 14px; color: var(--color-text); line-height: 1.6; }
.thankyou-page__address p { font-size: 14px; color: var(--color-text); margin: 6px 0 0; }

.thankyou-page__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.thankyou-page__note { background: var(--color-bg-soft); border-radius: var(--radius); padding: 16px 20px; margin-top: 16px; font-size: 13px; }
/* Payment-gateway "instructions" text (e.g. BACS bank details, COD note) prints as plain
   <p>/<h2> siblings directly in .thankyou-page via the woocommerce_thankyou_{gateway} hook. */
.thankyou-page > p, .thankyou-page > h2 {
	background: var(--color-bg-soft);
	border-radius: var(--radius);
	padding: 16px 20px;
	margin-bottom: 32px;
	font-size: 14px;
}
.thankyou-page > h2 { font-size: 16px; font-weight: 700; }
.thankyou-page__note h3 { font-size: 13px; margin-bottom: 6px; }
.thankyou-page__note p { margin: 0; color: var(--color-text); }

/* ---------- Generic content pages (About, Contact, Returns & Exchanges, etc.) ---------- */
.basic-article { max-width: 800px; margin: 0 auto; padding: 48px 0 72px; }
.basic-article > h1 { text-align: center; font-size: 36px; margin: 0 0 32px; }
.basic-article__content {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 40px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--color-text);
}
.basic-article__content > *:first-child { margin-top: 0; }
.basic-article__content h2 { font-size: 22px; margin: 32px 0 14px; }
.basic-article__content h2:first-child { margin-top: 0; }
.basic-article__content h3 { font-size: 18px; margin: 24px 0 12px; }
.basic-article__content p { margin: 0 0 18px; }
.basic-article__content ol,
.basic-article__content ul { margin: 0 0 18px; padding-left: 22px; }
.basic-article__content li { margin-bottom: 10px; }
.basic-article__content li:last-child { margin-bottom: 0; }
.basic-article__content li strong { color: var(--color-ink); }
.basic-article__content a { color: var(--color-primary); text-decoration: underline; }
.basic-article__content > *:last-child { margin-bottom: 0; }

/* =========================================================
   My Account — styled directly via WooCommerce's own markup
   classes rather than template overrides; the account area's
   structure (nav + content, orders table, addresses, edit
   forms) needs no restructuring, only theming.
   ========================================================= */
.myaccount-page__title { text-align: center; margin-bottom: 32px; }
body.woocommerce-account .basic-article,
body.page-id-2267 .basic-article,
body.page-id-2268 .basic-article,
body.page-id-2269 .basic-article { max-width: 1240px; }

/* Dashboard / orders / addresses / edit-account: nav + content, two columns */
.woocommerce:has(.woocommerce-MyAccount-navigation) {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 32px;
	align-items: start;
}
.woocommerce-MyAccount-navigation {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 16px;
	position: sticky;
	top: calc(var(--header-h) + var(--announce-h) + 24px);
}
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 14px;
	color: var(--color-text);
	text-decoration: none;
}
.woocommerce-MyAccount-navigation li a:hover { background: var(--color-bg-soft); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--color-primary-light); color: var(--color-primary); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--color-primary); }

.woocommerce-MyAccount-content {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 32px;
}
.woocommerce-MyAccount-content > p:first-child { margin-top: 0; }
.woocommerce-MyAccount-content h2 { font-size: 20px; margin: 32px 0 16px; }
.woocommerce-MyAccount-content h2:first-child { margin-top: 0; }
.woocommerce-MyAccount-content a { color: var(--color-primary); font-weight: 600; }

.woocommerce-MyAccount-content .button,
.woocommerce-ResetPassword .button,
.woocommerce-EditAccountForm .button {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 28px; border-radius: 999px; background: var(--color-primary); color: #fff;
	font-weight: 600; font-size: 14px; border: none; cursor: pointer; text-decoration: none;
}
.woocommerce-MyAccount-content .button:hover,
.woocommerce-ResetPassword .button:hover,
.woocommerce-EditAccountForm .button:hover { background: var(--color-primary-dark); }

/* Orders table */
.woocommerce-orders-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.woocommerce-orders-table th,
.woocommerce-orders-table td {
	padding: 16px 12px;
	text-align: left;
	border-bottom: 1px solid var(--color-border);
	font-size: 14px;
	vertical-align: middle;
}
.woocommerce-orders-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); font-weight: 700; }
.woocommerce-orders-table__cell-order-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-orders-table__cell-order-actions .button { padding: 8px 18px; font-size: 13px; }
.woocommerce-orders-table__cell-order-actions .view { background: var(--color-ink); }
.woocommerce-orders-table__cell-order-actions .view:hover { background: #000; }
.woocommerce-orders-table__row--status-completed .woocommerce-orders-table__cell-order-status { color: #1a7f37; font-weight: 600; }
.woocommerce-orders-table__row--status-processing .woocommerce-orders-table__cell-order-status { color: var(--color-primary); font-weight: 600; }
.woocommerce-orders-table__row--status-on-hold .woocommerce-orders-table__cell-order-status,
.woocommerce-orders-table__row--status-pending .woocommerce-orders-table__cell-order-status { color: #a8710a; font-weight: 600; }
.woocommerce-orders-table__row--status-cancelled .woocommerce-orders-table__cell-order-status,
.woocommerce-orders-table__row--status-failed .woocommerce-orders-table__cell-order-status,
.woocommerce-orders-table__row--status-refunded .woocommerce-orders-table__cell-order-status { color: var(--color-muted); }

.woocommerce-pagination { display: flex; justify-content: space-between; margin-top: 24px; }

/* Addresses */
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; }
.woocommerce-Address {
	background: var(--color-bg-soft);
	border-radius: var(--radius);
	padding: 24px;
}
.woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.woocommerce-Address-title h2 { margin: 0 !important; font-size: 16px; }
.woocommerce-Address-title .edit { font-size: 13px; text-decoration: underline; }
.woocommerce-Address address { font-style: normal; font-size: 14px; line-height: 1.7; color: var(--color-text); }

/* Edit account / edit address forms */
.woocommerce-EditAccountForm fieldset,
.woocommerce-address-fields fieldset { border: none; padding: 0; margin: 32px 0 0; }
.woocommerce-EditAccountForm legend { font-weight: 700; font-size: 16px; margin-bottom: 16px; padding: 0; }
.woocommerce-form-row span em { font-size: 12px; color: var(--color-muted); font-style: normal; display: block; margin-top: 4px; }

/* Order updates list (view-order page) */
.woocommerce-OrderUpdates { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.woocommerce-OrderUpdate-inner {
	background: var(--color-bg-soft);
	border-radius: var(--radius);
	padding: 16px 20px;
}
.woocommerce-OrderUpdate-meta { font-size: 12px; color: var(--color-muted); margin: 0 0 4px; }
.woocommerce-OrderUpdate-description { font-size: 14px; }
.woocommerce-OrderUpdate-description p { margin: 0; }

/* Login / Register (logged-out My Account page) */
#customer_login.u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 8px; }
#customer_login .u-column1,
#customer_login .u-column2 {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 32px;
}
#customer_login h2 { font-size: 20px; margin: 0 0 20px; }
#customer_login .woocommerce-form-login {
	background: none; border: none; padding: 0; margin-top: 0;
}
#customer_login .button {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 28px; border-radius: 999px; background: var(--color-primary); color: #fff;
	font-weight: 600; font-size: 14px; border: none; cursor: pointer;
}
#customer_login .button:hover { background: var(--color-primary-dark); }
#customer_login .woocommerce-form-register p:has(.woocommerce-form-register__submit) { margin-top: 20px; margin-bottom: 0; }
.woocommerce-form-register p:has(.required):not(.form-row) { font-size: 13px; color: var(--color-muted); }

/* ---------- Contact Us ---------- */
.contact-page { padding-top: 48px; padding-bottom: 72px; }
.contact-page__layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-page__info h2,
.contact-page__form-card h2 { font-size: 20px; margin: 0 0 20px; }
.contact-page__info {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 32px;
}
.contact-page__details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-page__details li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--color-text); line-height: 1.5; }
.contact-page__icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-primary-light);
	color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
}
.contact-page__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-muted); margin-bottom: 2px; }
.contact-page__details a { color: var(--color-ink); font-weight: 600; }
.contact-page__details a:hover { color: var(--color-primary); }

.contact-page__hours { padding-top: 28px; border-top: 1px solid var(--color-border); }
.contact-page__hours h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--color-muted);
	margin: 0 0 16px;
}
.contact-page__hours h3 svg { color: var(--color-primary); }
.contact-page__hours ul { display: flex; flex-direction: column; gap: 2px; }
.contact-page__hours li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 10px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	color: var(--color-text);
}
.contact-page__hours li.is-today {
	background: var(--color-primary-light);
	color: var(--color-primary-dark);
	font-weight: 700;
}
.contact-page__hours li.is-today em { font-style: normal; }
.contact-page__hours li span:first-child { color: var(--color-ink); font-weight: 600; }
.contact-page__hours li.is-today span:first-child { color: var(--color-primary-dark); }
.contact-page__hours li span:last-child { text-align: right; }
.contact-page__map {
	margin-top: 48px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--color-border);
	aspect-ratio: 21 / 9;
}
.contact-page__map iframe { display: block; }
.contact-page__form-card {
	background: #fff;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 32px;
}
.contact-page__form .form-row { margin-bottom: 16px; }
.contact-page__form textarea.input-text { min-height: 140px; }
.contact-page__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
	.product-grid { grid-template-columns: repeat(3, 1fr); }
	.category-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-main__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.main-nav, .header-icon-btn--account { display: none; }
	.menu-toggle { display: flex; }
	.woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 1fr; }
	.woocommerce-MyAccount-navigation { position: static; }
	.woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: wrap; }
	.woocommerce-MyAccount-navigation li a { padding: 8px 14px; }
	.woocommerce-Addresses { grid-template-columns: 1fr; }
	#customer_login.u-columns { grid-template-columns: 1fr; }
	.contact-page__layout { grid-template-columns: 1fr; }
	.contact-page__map { aspect-ratio: 4 / 3; }
	.hero__inner { grid-template-columns: 1fr; }
	.hero__media { height: 300px; order: -1; margin-bottom: 8px; }
	.hero__photo--2, .hero__photo--3 { display: none; }
	.hero__photo--1 {
		width: 220px; height: 220px;
		top: 8px; left: 50%;
		transform: translateX(-50%);
	}
	.hero__badge {
		left: 50%;
		transform: translateX(-50%);
		bottom: 0;
	}
	.hero__title { font-size: 38px; }
	.trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
	.blog-grid { grid-template-columns: 1fr; }
	.shop-layout { grid-template-columns: 1fr; }
	.product-page { grid-template-columns: 1fr; gap: 32px; }
	.cart-page__layout, .checkout-page__layout, .thankyou-page__layout { grid-template-columns: 1fr; }
	.checkout-page__login-form,
	.checkout-page__fields-card,
	.checkout-page__summary { grid-column: 1; }
	.checkout-page__login-form { grid-row: 1; }
	.checkout-page__fields-card { grid-row: 2; margin-bottom: 24px; }
	.checkout-page__summary { grid-row: 3; }
	.cart-totals, .checkout-page__summary-inner { position: static; }
	.cart-page__item {
		grid-template-columns: 64px 1fr auto;
		grid-template-areas: "image body remove" "image qty subtotal";
		row-gap: 10px;
	}
	.cart-page__item-image { grid-area: image; width: 64px; height: 64px; }
	.cart-page__item-body { grid-area: body; }
	.cart-page__item-remove { grid-area: remove; }
	.cart-page__item-price--desktop { display: none; }
	.cart-page__item-price--mobile { display: block; font-weight: 700; color: var(--color-primary); }
	.cart-page__item-qty { grid-area: qty; }
	.cart-page__item-subtotal { grid-area: subtotal; }
	.thankyou-page__overview { grid-template-columns: repeat(2, 1fr); }
	.product-summary__title { font-size: 26px; }
	.shop-sidebar {
		position: static;
		border-bottom: 1px solid var(--color-border);
		padding-bottom: 20px;
		margin-bottom: 8px;
	}
	.shop-sidebar__list { flex-direction: row; flex-wrap: wrap; }
	.shop-sidebar__list a { white-space: nowrap; }
	.archive-header__inner { flex-direction: column; text-align: center; }
	.post-hero__inner { grid-template-columns: 1fr; text-align: center; }
	.post-hero__media { order: -1; aspect-ratio: 16 / 10; }
	.post-hero .archive-breadcrumb { justify-content: center; }
	.post-hero .single-post__meta { justify-content: center; }
	.single-post__layout,
	.single-post__layout--no-toc { grid-template-columns: 1fr; max-width: none; }
	.single-post__toc { position: static; order: -1; margin-bottom: 8px; }
}

@media (max-width: 640px) {
	:root { --header-h: 78px; }
	.site-logo img { max-height: 60px; }
	.product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.category-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
	.section { padding: 48px 0; }
	.section__head h2, .testimonial-heading { font-size: 22px; }
	.footer-main__inner { grid-template-columns: 1fr; }
	.announce-bar p { font-size: 11px; }
	.archive-header--blog .archive-header__desc { white-space: normal; }
	.basic-article__content { padding: 28px 20px; }
}
