/* =============================================================
   Turn On — Custom Styles
   ============================================================= */

/* --- Google Fonts fallback --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Global reset additions --- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Remove WP default margin-block between page blocks at every nesting level.
   WordPress's global styles inject a `margin-block-start` on every direct child
   of containers like .wp-site-blocks, <main>, and .wp-block-post-content. That
   creates a vertical gap between consecutive blocks where the body background
   (cream #fbfaf7) shows through. Zero them out across all our layout shells. */
.wp-site-blocks > *,
main.wp-block-group > *,
.wp-block-post-content > *,
.wp-block-post-content > * > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

/* Also drop the bottom margin WP adds to .wp-block-post-content itself */
.wp-block-post-content { margin-block-start: 0 !important; margin-block-end: 0 !important; justify-content: center; }

body {
	font-family: 'Noto Sans', sans-serif;
	background-color: #fbfaf7;
	color: #1a1a1a;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

html { overflow-x: clip; }

/* Make sure no element causes horizontal scroll on small screens */
img, video { max-width: 100%; height: auto; }

/* Mobile: kill WordPress's default alignfull negative-margin breakout to prevent horizontal overflow. */
@media (max-width: 768px) {
	.alignfull,
	.wp-block-turn-on-hero.alignfull,
	main > .alignfull,
	.wp-site-blocks > * > .alignfull {
		margin-left: 0 !important;
		margin-right: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
	}
}

/* --- Header --- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(8px);
	background-color: rgba(255, 255, 255, 0.95) !important;
}

/* --- Navigation --- */
.wp-block-navigation a {
	color: #9a9a9a;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	transition: color 0.2s ease;
}

.wp-block-navigation a:hover,
.wp-block-navigation .current-menu-item > a {
	color: #0b2545;
}

.wp-block-navigation .current-menu-item > a {
	font-weight: 600;
}

/* --- Buttons --- */
.wp-block-button__link {
	font-family: 'Noto Sans', sans-serif;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
	text-decoration: none !important;
}
.wp-block-button__link.has-background.has-text-color,
.wp-block-button__link.has-background.has-text-color:visited,
.wp-block-button__link.has-background.has-text-color:hover {
	color: #ffffff;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

.wp-block-button.is-style-fill .wp-block-button__link:hover {
	background-color: #3cb371 !important;
}

/* --- Category cards --- */
.category-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}

.category-card:hover {
	transform: translateY(-4px);
	box-shadow: 0px 8px 24px -4px rgba(20, 18, 12, 0.12);
}

/* --- Brand pills --- */
.brand-pill {
	transition: transform 0.2s ease, background-color 0.2s ease;
	cursor: pointer;
}

.brand-pill:hover {
	background-color: #e8e4da !important;
	transform: translateY(-2px);
}

/* --- Footer links --- */
.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer-links li a {
	color: #e8e4da;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s ease;
}

.footer-links li a:hover {
	color: #3cb371;
}

/* --- Headings in sections --- */
.hero-section h1 {
	letter-spacing: -0.02em;
}

.why-us-section h2 {
	letter-spacing: -0.01em;
}

/* --- Post/page content typography --- */
.wp-block-post-content p,
.wp-block-post-content li {
	font-size: 16px;
	line-height: 1.75;
	color: #3a3a3a;
}

.wp-block-post-content h2 {
	font-size: 28px;
	font-weight: 700;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	color: #1a1a1a;
}

.wp-block-post-content h3 {
	font-size: 21px;
	font-weight: 600;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	color: #1a1a1a;
}

.wp-block-post-content a {
	color: #0b2545;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.wp-block-post-content a:hover {
	color: #3cb371;
}

/* --- Query pagination --- */
.wp-block-query-pagination {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	justify-content: center;
}

.wp-block-query-pagination a,
.wp-block-query-pagination-numbers a,
.wp-block-query-pagination-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 0.75rem;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	color: #6b6b6b;
	background: #f4f2ec;
	border: 1px solid #e8e4da;
	transition: all 0.2s ease;
}

.wp-block-query-pagination-numbers .current {
	background: #0b2545;
	color: #ffffff;
	border-color: #0b2545;
}

.wp-block-query-pagination a:hover {
	background: #0b2545;
	color: #ffffff;
	border-color: #0b2545;
}

/* --- Search block --- */
.wp-block-search__input {
	border: 1px solid #e8e4da !important;
	border-radius: 999px !important;
	background: #f4f2ec !important;
	padding: 0.5rem 1rem !important;
	font-size: 13px !important;
	font-family: 'Noto Sans', sans-serif !important;
	color: #1a1a1a !important;
	outline: none !important;
}

.wp-block-search__input:focus {
	border-color: #0b2545 !important;
	background: #ffffff !important;
}

.wp-block-search__button {
	border-radius: 999px !important;
	background: #0b2545 !important;
	color: #ffffff !important;
	border: none !important;
	padding: 0.5rem 1rem !important;
	font-size: 13px !important;
	font-family: 'Noto Sans', sans-serif !important;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.wp-block-search__button:hover {
	background: #3cb371 !important;
}

/* --- Separator --- */
.wp-block-separator {
	border: none;
	border-top: 1px solid #e8e4da;
	margin: 0;
}

/* --- Social links --- */
.wp-block-social-links .wp-block-social-link a {
	background-color: rgba(255, 255, 255, 0.08) !important;
	border-radius: 50%;
	transition: background-color 0.2s ease;
}

.wp-block-social-links .wp-block-social-link a:hover {
	background-color: #3cb371 !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
	.hero-section h1 {
		font-size: 32px !important;
	}

	.wp-block-columns {
		flex-direction: column;
	}

	.site-header .wp-block-navigation {
		display: none;
	}

	.b2b-section .wp-block-columns {
		flex-direction: column;
		gap: 2rem;
	}

	.b2b-section .wp-block-buttons {
		justify-content: flex-start !important;
	}

	.footer-links {
		gap: 0.5rem;
	}
}

@media (max-width: 480px) {
	.hero-section h1 {
		font-size: 26px !important;
	}

	.brands-section .wp-block-group > .wp-block-group {
		width: calc(50% - 0.5rem);
	}
}

/* =============================================================
   Deal Request Section — single product page
   ============================================================= */

.tosp-deal-section {
	margin-top: 48px;
	padding: 36px 40px;
	background: #f4f2ec;
	border: 1px solid #e8e4da;
	border-radius: 16px;
}

.tosp-deal-header {
	margin-bottom: 24px;
}

.tosp-deal-title {
	font-size: 20px;
	font-weight: 700;
	color: #0b2545;
	margin: 0 0 6px;
}

.tosp-deal-sub {
	font-size: 14px;
	color: #6b6b6b;
	margin: 0;
}

.tosp-deal-notice {
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 20px;
}

.tosp-deal-notice--success {
	background: #d1fae5;
	color: #065f46;
	border: 1px solid #6ee7b7;
}

.tosp-deal-notice--error {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fca5a5;
}

.tosp-deal-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tosp-deal-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.tosp-deal-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tosp-deal-field label {
	font-size: 13px;
	font-weight: 600;
	color: #1a1a1a;
}

.tosp-deal-field input {
	padding: 10px 14px;
	border: 1.5px solid #e8e4da;
	border-radius: 10px;
	font-size: 14px;
	font-family: 'Noto Sans', sans-serif;
	background: #fff;
	color: #1a1a1a;
	transition: border-color 0.2s;
	outline: none;
}

.tosp-deal-field input:focus {
	border-color: #0b2545;
}

.tosp-deal-submit {
	align-self: flex-start;
	padding: 12px 28px;
	border: none;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	font-family: 'Noto Sans', sans-serif;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.15s;
}

.tosp-deal-submit:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

@media (max-width: 640px) {
	.tosp-deal-section {
		padding: 24px 20px;
	}
	.tosp-deal-row {
		grid-template-columns: 1fr;
	}
	.tosp-deal-submit {
		width: 100%;
		text-align: center;
	}
}

/* =============================================================
   Inline Specifications — below gallery images
   ============================================================= */

.tosp-gallery-specs {
	margin-top: 16px;
	background: #f4f2ec;
	border: 1px solid #e8e4da;
	border-radius: 12px;
	padding: 18px 20px 10px;
	overflow: hidden;
}

.tosp-gallery-specs-title {
	font-size: 13px;
	font-weight: 700;
	color: #0b2545;
	margin: 0 0 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tosp-gallery-specs-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #0b2545;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	border-radius: 999px;
	padding: 1px 7px;
	letter-spacing: 0;
}

.tosp-specs--gallery {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.tosp-specs--gallery tr {
	border-top: 1px solid #e8e4da;
}

.tosp-specs--gallery tr:first-child {
	border-top: none;
}

.tosp-specs--gallery th,
.tosp-specs--gallery td {
	padding: 7px 4px;
	vertical-align: top;
	line-height: 1.4;
}

.tosp-specs--gallery th {
	color: #6b6b6b;
	font-weight: 500;
	width: 48%;
	padding-right: 10px;
}

.tosp-specs--gallery td {
	color: #1a1a1a;
	font-weight: 600;
}

/* On mobile the gallery stacks above info — keep specs visible there */
@media (max-width: 768px) {
	.tosp-gallery-specs {
		margin-top: 12px;
	}
}

/* =============================================================
   Request a Deal — tab button accent
   ============================================================= */

.tosp-tab--deal {
	color: #1b7f95;
	font-weight: 600;
}

.tosp-tab--deal.tosp-tab--active {
	color: #1b7f95 !important;
}

/* deal form inside tab panel — remove card background (tabs already provide it) */
.tosp-tab-panel .tosp-deal-form {
	max-width: 680px;
}

.tosp-tab-panel .tosp-deal-section {
	background: none;
	border: none;
	padding: 0;
	margin-top: 0;
}

/* Fix: compiled CSS display:flex on .tosp-reviews-panel overrides [hidden] attribute */
[data-tosp-panel][hidden] {
	display: none !important;
}

/* =============================================================
   Checkout — Terms & Conditions checkbox
   ============================================================= */

.to-terms-wrap {
	margin-bottom: 20px;
	padding: 16px 20px;
	background: #ffffff;
	border: 1.5px solid #e8e4da;
	border-radius: 12px;
	text-align: left;
	transition: border-color 0.2s;
}

.to-terms-wrap:has(.to-terms-checkbox:checked) {
	border-color: #0b2545;
	background: #f8f9fb;
}

.to-terms-label {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	font-size: 14px;
	color: #3a3a3a;
	line-height: 1.5;
	user-select: none;
}

.to-terms-checkbox {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	accent-color: #0b2545;
	cursor: pointer;
	border-radius: 4px;
}

.to-terms-label a {
	color: #0b2545;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.to-terms-label a:hover {
	color: #3cb371;
}

/* =============================================================
   Floating buttons — scroll-to-top & cart
   ============================================================= */

.to-fab-group {
	position: fixed;
	bottom: 28px;
	right: 24px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}

.to-fab-group--left {
	right: auto;
	left: 17px;
	bottom: 70px;
}

.to-fab {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: none;
	background: #0b2545;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(11,37,69,.25);
	transition: background 0.2s, transform 0.2s, opacity 0.3s;
	text-decoration: none;
	position: relative;
}

.to-fab:hover {
	background: #1b7f95;
	transform: translateY(-2px);
}

.to-fab--top {
	opacity: 0;
	pointer-events: none;
}

.to-fab--top.is-visible {
	opacity: 1;
	pointer-events: auto;
}

.to-fab svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.to-fab-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	background: #3cb371;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
	line-height: 1;
	opacity: 0;
	transition: opacity 0.2s;
}

.to-fab-cart-count.has-items {
	opacity: 1;
}

.to-fab-compare-count {
	position: absolute;
	top: -4px;
	right: -4px;
	background: #3cb371;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
	line-height: 1;
	opacity: 0;
	transition: opacity 0.2s;
}

.to-fab-compare-count.has-items {
	opacity: 1;
}

@media (max-width: 480px) {
	.to-fab-group {
		bottom: 18px;
		right: 14px;
	}
	.to-fab-group--left {
		right: auto;
		left: 14px;
		bottom: 80px;
	}
}

/* =============================================================
   Fix overflow:hidden clipping dropdowns in header
   ============================================================= */

.toh-header {
	z-index: 99999 !important;
}

/* Sub-nav container clips the Shop by category panel */
.toh-sub-nav .toh-container {
	overflow: visible !important;
}
/* Restore mobile horizontal scroll */
@media (max-width: 900px) {
	.toh-sub-nav .toh-container {
		overflow-x: auto !important;
		overflow-y: hidden !important;
	}
}

/* Search form clips the All categories panel — panel escapes via JS (see render.php) */
.toh-search {
	overflow: visible !important;
}

/* =============================================================
   Custom category filter dropdown in search bar
   ============================================================= */

.toh-search__cats--custom {
	position: relative;
	display: flex;
	align-items: center;
	border-left: 1px solid #e8e4da;
	padding: 0;
	flex-shrink: 0;
}

.toh-search__cats-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 14px 0 16px;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: 'Noto Sans', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #3a3a3a;
	white-space: nowrap;
	max-width: 180px;
	transition: color 0.15s;
}

.toh-search__cats-btn:hover {
	color: #0b2545;
}

.toh-search__cats-btn.is-open .toh-search__cats-chevron {
	transform: rotate(180deg);
}

.toh-search__cats-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 140px;
}

.toh-search__cats-chevron {
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	pointer-events: none;
	transition: transform 0.2s;
}

.toh-search__cats-panel {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	min-width: 230px;
	max-height: 340px;
	overflow-y: auto;
	background: #ffffff;
	border: 1px solid #edeae2;
	border-radius: 14px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.11);
	padding: 6px;
	z-index: 999999;
	list-style: none;
	margin: 0;
	scrollbar-width: thin;
	scrollbar-color: #e8e4da transparent;
}

.toh-search__cats-panel[hidden] {
	display: none !important;
}
.toh-search__cats-option[hidden] {
	display: none !important;
}

.toh-search__cats-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 12px;
	border-radius: 9px;
	font-size: 13px;
	font-weight: 500;
	color: #3a3a3a;
	cursor: pointer;
	transition: background 0.12s, color 0.12s;
	gap: 8px;
}

.toh-search__cats-option:hover {
	background: #f4f2ec;
	color: #0b2545;
}

.toh-search__cats-option.is-selected {
	background: #0b2545;
	color: #ffffff;
}

.toh-search__cats-count {
	font-size: 11px;
	font-weight: 400;
	opacity: 0.65;
	background: rgba(255,255,255,0.15);
	border-radius: 999px;
	padding: 1px 7px;
	flex-shrink: 0;
}

.toh-search__cats-option.is-selected .toh-search__cats-count {
	background: rgba(255,255,255,0.2);
	opacity: 1;
}

/* =============================================================
   Shop by category panel — improved layout
   ============================================================= */

.toh-cat-panel {
	width: 320px !important;
	padding: 12px !important;
	z-index: 999999 !important;
	background: #ffffff !important;
	border: 1px solid #e8e4da !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 32px rgba(0,0,0,0.10) !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
	overflow: hidden !important;
	max-height: calc(80vh - 80px) !important;
	overscroll-behavior: contain !important;
}
.toh-cat-panel[hidden] { display: none !important; }

/* Flyout panel — must be in custom.css because the flyout is teleported to <body> */
.toh-cat-flyout {
	width: 240px !important;
	background: #ffffff !important;
	border: 1px solid #e8e4da !important;
	border-radius: 16px !important;
	box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
	padding: 8px !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	max-height: calc(80vh - 80px) !important;
	overscroll-behavior: contain !important;
}
.toh-cat-flyout[hidden] { display: none !important; }
.toh-cat-flyout__header {
	padding: 6px 12px 10px !important;
	border-bottom: 1px solid #e8e4da !important;
	margin-bottom: 2px !important;
}
.toh-cat-flyout__title {
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #0b2545 !important;
	text-decoration: none !important;
}
.toh-cat-flyout__title:hover { text-decoration: underline !important; }

.toh-cat-panel__header {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	gap: 8px;
	padding: 4px 6px 10px;
	border-bottom: 1px solid #e8e4da;
	margin-bottom: 8px;
}

.toh-cat-panel__title {
	font-size: 11px;
	font-weight: 700;
	color: #6b6b6b;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.toh-cat-panel__badge {
	background: #0b2545;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	border-radius: 999px;
	padding: 1px 7px;
}

.toh-cat-panel__grid {
	display: flex;
	flex-direction: column;
	min-height: 0;
	gap: 2px;
	max-height: 248px; /* Five 48px rows plus four 2px gaps. */
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #e8e4da transparent;
}
.toh-cat-panel__grid::-webkit-scrollbar { width: 6px; }
.toh-cat-panel__grid::-webkit-scrollbar-track { background: transparent; }
.toh-cat-panel__grid::-webkit-scrollbar-thumb {
	background: #e8e4da;
	border-radius: 999px;
}
.toh-cat-panel__all { flex-shrink: 0; }

.toh-cat-panel__item {
	display: grid !important;
	grid-template-columns: 32px 1fr auto;
	align-items: center;
	gap: 10px;
	padding: 8px 10px !important;
}

.toh-cat-panel__thumb {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}

.toh-cat-panel__thumb--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f4f2ec;
	border-radius: 8px;
}

.toh-cat-panel__name {
	font-size: 13px;
	font-weight: 500;
	color: #3a3a3a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.toh-cat-panel__item:hover .toh-cat-panel__name {
	color: #0b2545;
}

.toh-cat-panel__count {
	font-size: 11px !important;
	font-weight: 500 !important;
	color: #9a9a9a !important;
	background: #f4f2ec !important;
	border-radius: 999px !important;
	padding: 2px 8px !important;
	flex-shrink: 0;
}

/* Expand button — duplicated here because style-index.css may not load on the homepage */
.toh-cat-panel__expand {
	flex: 0 0 auto !important;
	width: 28px !important;
	height: 36px !important;
	padding: 0 !important;
	background: none !important;
	border: none !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #6b6b6b !important;
}
.toh-cat-panel__expand:hover {
	background: #f4f2ec !important;
	color: #0b2545 !important;
}
.toh-cat-panel__expand.is-active {
	background: #f4f2ec !important;
	color: #0b2545 !important;
}

/* Search panel expand button — duplicated here because style-index.css may not load on homepage */
.toh-search__cats-expand {
	flex-shrink: 0 !important;
	background: none !important;
	border: none !important;
	padding: 3px !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 4px !important;
	color: #6b6b6b !important;
	margin-left: 4px !important;
}
.toh-search__cats-option--has-children {
	justify-content: flex-start;
	gap: 0;
}
.toh-search__cats-option--has-children .toh-search__cats-option__name {
	margin-right: auto;
}
.toh-search__cats-expand:hover {
	background: rgba(0, 0, 0, 0.06) !important;
}
.toh-search__cats-expand svg {
	display: block !important;
	transition: transform 0.15s ease !important;
}
.toh-search__cats-expand[aria-expanded="true"] svg {
	transform: rotate(90deg) !important;
}

/* Flyout items have no thumbnail — use 2-column grid */
.toh-cat-flyout .toh-cat-panel__item {
	grid-template-columns: 1fr auto !important;
}

@media (max-width: 900px) {
	.toh-search__cats--custom {
		display: none !important;
	}
}

/* =============================================================
   Mobile header — pixel-perfect overrides
   ============================================================= */

/* Desktop: hide the mobile topbar-icons group */
.toh-topbar-icons { display: none; }

/* Desktop: keep the original account pill */
.toh-account--desktop { display: flex; }

@media (max-width: 900px) {

	/* ── Row 1: Top bar ── */
	.toh-top-bar {
		height: auto !important;
		min-height: 0 !important;
		padding: 0 !important;
		border-bottom: 1px solid #ede9df !important;
	}
	.toh-top-bar .toh-container {
		height: 58px !important;
		padding: 0 14px !important;
		gap: 0 !important;
		justify-content: space-between !important;
	}

	/* Hamburger — order 1 (leftmost) */
	.toh-hamburger {
		order: 1 !important;
		width: 36px !important;
		height: 36px !important;
		padding: 6px !important;
		border-radius: 8px !important;
		flex-shrink: 0;
	}
	.toh-hamburger svg { width: 22px !important; height: 22px !important; }

	/* Logo — order 2 (left, next to hamburger) */
	.toh-logo, .toh-logo-wrap {
		order: 2 !important;
		flex: 1 !important;
		justify-content: flex-start !important;
		gap: 9px !important;
	}
	.toh-logo__img {
		width: auto !important;
		height: auto !important;
		max-height: 48px !important;
		max-width: 100% !important;
		border-radius: 0 !important;
		object-fit: contain !important;
	}
	.toh-logo__wordmark {
		font-size: 16px !important;
		line-height: 1 !important;
		font-weight: 800 !important;
	}
	.toh-logo__sub {
		font-size: 7.5px !important;
		letter-spacing: 0.06em !important;
		margin-top: 3px !important;
		color: #9a9a9a !important;
	}

	/* Mobile icons group — order 3 (rightmost): wishlist + cart + account */
	.toh-topbar-icons {
		display: inline-flex !important;
		align-items: center;
		gap: 2px !important;
		order: 3 !important;
		flex-shrink: 0;
	}
	.toh-topbar-icons .toh-icon-btn {
		width: 36px !important;
		height: 36px !important;
		border-radius: 10px !important;
		padding: 0 !important;
	}
	.toh-topbar-icons .toh-icon-btn svg {
		width: 21px !important;
		height: 21px !important;
	}
	.toh-topbar-icons .toh-icon-btn__badge {
		top: 4px !important;
		left: 17px !important;
		min-width: 16px !important;
		min-height: 0 !important;
		height: 16px !important;
		font-size: 9px !important;
	}
	.toh-topbar-icons .toh-account__pill,
	.toh-topbar-icons .toh-account__login {
		width: 36px !important;
		height: 36px !important;
		border-radius: 10px !important;
		padding: 0 !important;
		background: none !important;
		border: none !important;
		justify-content: center;
	}
	.toh-topbar-icons .toh-account__info { display: none !important; }
	.toh-topbar-icons .toh-account__avatar {
		width: 28px !important;
		height: 28px !important;
		font-size: 11px !important;
		margin: 0 !important;
	}
	.toh-topbar-icons .toh-account__login {
		font-size: 0 !important;
		position: relative;
	}
	.toh-topbar-icons .toh-account__login::after {
		content: '';
		display: block;
		width: 21px; height: 21px;
		background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='6' r='3' stroke='%233A3A3A' stroke-width='1.4'/%3E%3Cpath d='M3 17a7 7 0 0114 0' stroke='%233A3A3A' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: center;
	}

	/* Hide desktop account pill on mobile */
	.toh-account--desktop { display: none !important; }

	/* Hide original account (not in topbar-icons) */
	.toh-top-bar .toh-account:not(.toh-account--desktop) { display: none !important; }

	/* ── Row 2: Search bar only ── */
	.toh-main-header {
		border-top: none !important;
		border-bottom: 1px solid #ede9df !important;
	}
	.toh-main-header .toh-container {
		height: auto !important;
		padding: 10px 14px !important;
		gap: 0 !important;
	}
	.toh-main-header .toh-icons,
	.toh-main-header .toh-account { display: none !important; }

	/* Search bar */
	.toh-search { height: 44px !important; }
	.toh-search__form {
		height: 44px !important;
		border-radius: 999px !important;
		background: #f2f0ea !important;
		border: 1px solid #e8e4da !important;
	}
	.toh-search__icon { margin-left: 16px !important; }
	.toh-search__icon svg { width: 17px !important; height: 17px !important; }
	.toh-search__input {
		font-size: 14px !important;
		padding: 0 10px !important;
	}

	/* Hide search submit button completely on mobile */
	.toh-search__btn { display: none !important; }
}

@media (max-width: 480px) {
	.toh-top-bar .toh-container { padding: 0 12px !important; }
	.toh-main-header .toh-container { padding: 9px 12px !important; }
	.toh-logo__img { width: auto !important; height: auto !important; max-height: 42px !important; max-width: 100% !important; border-radius: 0 !important; object-fit: contain !important; }
	.toh-logo__wordmark { font-size: 15px !important; }
}

/* Category section mobile slider — handled via inline <style> in render.php */

/* =============================================================
   Shop by category — mobile horizontal slider (header dropdown)
   ============================================================= */
@media (max-width: 900px) {

	/* Panel: full-width, max-height with scroll */
	.toh-cat-panel {
		border-radius: 0 !important;
		padding: 0 0 12px !important;
		width: 100vw !important;
		max-height: 70vh;
		overflow: hidden;
	}

	/* Header row */
	.toh-cat-panel__header {
		padding: 12px 16px 10px !important;
		border-bottom: 1px solid #f0ede6;
		margin-bottom: 0 !important;
	}

	/* Grid → horizontal scrollable slider */
	.toh-cat-panel__grid {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		gap: 10px !important;
		padding: 14px 16px !important;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none; /* Firefox */
	}
	.toh-cat-panel__grid::-webkit-scrollbar { display: none; } /* Chrome/Safari */

	/* Each card — vertical layout */
	.toh-cat-panel__item {
		flex-direction: column !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 6px !important;
		min-width: 88px !important;
		width: 88px !important;
		padding: 10px 8px !important;
		border-radius: 12px !important;
		text-align: center !important;
		flex-shrink: 0;
		scroll-snap-align: start;
		background: #faf9f6;
		border: 1px solid #ede9df;
	}
	.toh-cat-panel__item:hover {
		background: #f0ede6 !important;
	}

	/* Thumbnail — circular on mobile */
	.toh-cat-panel__thumb {
		width: 52px !important;
		height: 52px !important;
		border-radius: 50% !important;
		object-fit: cover !important;
		flex-shrink: 0;
	}
	.toh-cat-panel__thumb--placeholder {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		background: #ede9df !important;
		border-radius: 50% !important;
		width: 52px !important;
		height: 52px !important;
	}

	/* Name */
	.toh-cat-panel__name {
		font-size: 11px !important;
		font-weight: 600 !important;
		color: #1a1a1a !important;
		line-height: 1.3 !important;
		white-space: normal !important;
		word-break: break-word !important;
	}

	/* Count badge */
	.toh-cat-panel__count {
		font-size: 10px !important;
		padding: 1px 6px !important;
	}

	/* "View all" link */
	.toh-cat-panel__all {
		display: block !important;
		margin: 0 16px !important;
		padding: 10px 14px !important;
		text-align: center !important;
		border-radius: 10px !important;
		font-size: 13px !important;
	}
}

/* Search categories custom button — fix chevron visibility */
.toh-search__cats-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	color: #1a1a1a;
	white-space: nowrap;
	margin-left: 5px;
}
.toh-search__cats-btn .toh-search__cats-chevron {
	margin-left: 0 !important;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	transition: transform 0.2s;
}
.toh-search__cats-btn[aria-expanded="true"] .toh-search__cats-chevron {
	transform: rotate(180deg);
}

/* Sub-nav static (not clickable) links */
.toh-sub-btn--static {
	cursor: default;
	pointer-events: none;
	opacity: 0.6;
}
.toh-mobile-menu__link--static {
	cursor: default;
	pointer-events: none;
	opacity: 0.6;
	color: inherit;
}

/* Flash CTA — match other sections' padding */
.tofl-section {
	max-width: none !important;
	padding-left: 100px !important;
	padding-right: 100px !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
@media (max-width: 1280px) { .tofl-section { padding-left: 60px !important; padding-right: 60px !important; } }
@media (max-width: 1100px) { .tofl-section { padding-left: 32px !important; padding-right: 32px !important; } }

/* ============================================================
   SHARED PRODUCT CARD  (tod-)  — loaded globally for My Account
   ============================================================ */

.tod-card {
	background: #ffffff; border-radius: 22px;
	overflow: hidden; display: flex; flex-direction: column;
	box-shadow: 0 0 2px rgba(0,0,0,0.1);
}
.tod-card-img {
	position: relative; background: #ffffff; height: 216px;
	overflow: hidden; flex-shrink: 0; border-radius: 22px 22px 0 0;
}
.tod-card-img img {
	width: 100%; height: 100%; object-fit: contain; padding: 16px;
	transition: transform 0.3s ease;
}
.tod-card:hover .tod-card-img img { transform: scale(1.08); }

/* Badges */
.tod-bdg-grn, .tod-bdg-rfb, .tod-bdg-jin, .tod-bdg-o4l {
	position: absolute; top: 16px; left: 16px;
	height: 25px; border-radius: 999px;
	display: flex; align-items: center; justify-content: center; padding: 4px 8px;
}
.tod-bdg-grn p, .tod-bdg-rfb p, .tod-bdg-jin p, .tod-bdg-o4l p {
	font-weight: 600; font-size: 13px; line-height: 15px; white-space: nowrap; margin: 0;
}
.tod-bdg-grn { background: rgba(60,179,113,0.15); }
.tod-bdg-grn p { color: #3cb371; }
.tod-bdg-rfb { background: rgba(60,179,113,0.15); }
.tod-bdg-rfb p { color: #3cb371; }
.tod-bdg-jin { background: rgba(11,37,69,0.1); }
.tod-bdg-jin p { color: #0b2545; }
.tod-bdg-o4l { background: #fce6e0; }
.tod-bdg-o4l p { color: #b23a1a; }

/* Icon buttons */
.tod-wishlist, .tod-compare-btn {
	position: absolute; right: 16px;
	background: #ffffff; border: 1px solid #e8e4da; border-radius: 18px;
	width: 32px; height: 32px;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer; padding: 0; z-index: 2;
	box-shadow: none;
	transition: background 0.18s, border-color 0.18s, transform 0.18s;
}
.tod-wishlist svg, .tod-compare-btn svg { width: 16px; height: 16px; display: block; }
.tod-wishlist:hover, .tod-compare-btn:hover { border-color: #3cb371; transform: scale(1.08); }

.tod-wishlist { top: 16px; }
.tod-wishlist svg path { transition: stroke 0.18s, fill 0.18s; }
.tod-wishlist:hover svg path { fill: #3cb371; stroke: #3cb371; }
.tod-wishlist[aria-pressed="true"] svg path { fill: #3cb371; stroke: #3cb371; }
.tod-wishlist.is-in-wishlist { background: rgba(60,179,113,0.17); }
.tod-wishlist.is-in-wishlist svg path { fill: #3cb371; stroke: #3cb371; }

.tod-compare-btn { top: 56px; }
.tod-compare-btn svg path { transition: stroke 0.18s; }
.tod-compare-btn:hover svg path { stroke: #3cb371; }
.tod-compare-btn.is-in-compare { background: rgba(60,179,113,0.17); }
.tod-compare-btn.is-in-compare svg path { stroke: #3cb371; }

.tod-card-body {
	padding: 24px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1;
	background: #ffffff; box-shadow: 0 0 2px rgba(0,0,0,0.1); border-radius: 0 0 22px 22px;
}

.tod-brand-pill {
	display: flex; align-items: center; justify-content: space-between;
	border: none; border-radius: 0; height: auto; padding: 0;
}
.tod-brand-name { font-weight: 600; font-size: 14px; line-height: 17px; color: #6b6b6b; text-transform: capitalize; }
.tod-grade { display: flex; align-items: center; gap: 4px; }
.tod-grade-dot { width: 6px; height: 6px; border-radius: 3px; background: #3cb371; flex-shrink: 0; }
.tod-grade-label { font-weight: 600; font-size: 14px; line-height: 17px; color: #3cb371; }

.tod-product-name-link { display: block; text-decoration: none !important; color: inherit; }
.tod-product-name {
	font-weight: 600; font-size: 15px; line-height: 19px;
	color: #1a1a1a; margin: 0;
	overflow: hidden; text-overflow: ellipsis;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

.tod-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tod-tag {
	background: rgba(244,242,236,0.5); border-radius: 999px; padding: 4px 8px;
	font-weight: 400; font-size: 13px; line-height: 17px; color: #6b6b6b;
	height: 27px; display: flex; align-items: center; box-sizing: border-box;
}

.tod-rating { display: flex; align-items: center; gap: 4px; padding: 4px 0; }
.tod-stars { display: flex; gap: 1px; }
.tod-stars svg { width: 20px; height: 20px; }
.tod-rating-score { font-weight: 600; font-size: 16px; line-height: 18px; color: #1a1a1a; }
.tod-rating-count { font-weight: 500; font-size: 14px; color: #6b6b6b; }

.tod-price-row {
	display: flex; align-items: center; justify-content: space-between;
	margin-top: auto; padding-top: 16px;
}
.tod-prices { display: flex; flex-direction: column; gap: 4px; }
.tod-price-current { font-weight: 600; font-size: 24px; line-height: 22px; color: #0b2545; }
.tod-price-original { font-weight: 400; font-size: 16px; line-height: 12px; color: #9a9a9a; text-decoration: line-through; }

.tod-add-to-cart {
	background: #0b2545; border: none; border-radius: 999px;
	height: 40px; padding: 0 16px;
	display: flex; align-items: center; justify-content: center; gap: 8px;
	cursor: pointer; flex-shrink: 0; text-decoration: none !important;
	color: #ffffff !important; font-family: 'Noto Sans', sans-serif; font-weight: 600; font-size: 14px;
	white-space: nowrap; transition: background 0.18s;
}
.tod-add-to-cart:hover { background: #163a5e; }
.tod-add-to-cart svg { width: 18px; height: 18px; flex-shrink: 0; }

.tod-delivery {
	border-top: none; padding-top: 8px;
	display: flex; align-items: center; gap: 4px; font-size: 14px;
}
.tod-delivery-truck { width: 20px; height: 20px; flex-shrink: 0; }
.tod-delivery-truck svg { width: 20px; height: 20px; }
.tod-delivery-free   { font-weight: 600; color: #3cb371; }
.tod-delivery-suffix { font-weight: 400; color: #6b6b6b; }
.tod-delivery-paid   { font-weight: 400; color: #6b6b6b; }

/* ============================================================
   MY ACCOUNT  (toma-)
   ============================================================ */

/* Override WooCommerce block-theme max-width constraint */
.woocommerce-account .woocommerce,
.woocommerce-account main .woocommerce {
	max-width: none !important;
	width: 100%;
}

/* ── Layout ─────────────────────────────────────────────────── */
.toma-wrapper {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 32px;
	padding: 60px 100px 80px;
	max-width: 1440px;
	margin: 0 auto;
	box-sizing: border-box;
	align-items: start;
}
@media (max-width: 1280px) { .toma-wrapper { padding: 50px 60px 70px; } }
@media (max-width: 1100px) { .toma-wrapper { padding: 40px 32px 60px; gap: 24px; } }
@media (max-width: 860px)  {
	.toma-wrapper {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 28px 20px 48px;
	}
}

.toma-content { min-width: 0; transition: opacity 0.2s; }
.toma-content--loading { opacity: 0.45; pointer-events: none; }

/* ── Sidebar navigation ────────────────────────────────────── */
.toma-sidebar {
	position: sticky;
	top: 100px;
	align-self: start;
}
.toma-nav {
	background: #ffffff;
	border: 1px solid #e8e4da;
	border-radius: 22px;
	padding: 20px 0;
}
.toma-nav-title {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9b9b9b;
	padding: 4px 20px 14px;
	margin: 0;
	border-bottom: 1px solid #f0ede7;
	text-align: center;
}
.toma-nav-list {
	list-style: none;
	margin: 6px 0 0;
	padding: 0;
}
.toma-nav-item { margin: 0; padding: 0; }
.toma-nav br, .toma-nav p:empty { display: none; }
.toma-nav-link {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 6px 14px;
	margin: 2px 8px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	color: #3a3a3a;
	text-decoration: none !important;
	text-align: center;
	transition: background 0.16s, color 0.16s;
}
.toma-nav-link:hover,
.toma-nav-link:active { background: none; color: #1a1a1a; }
.toma-nav-link.is-active { background: none; color: #1a1a1a; font-weight: 600; }
.toma-nav-logout { color: #e53935; }
.toma-nav-logout:hover,
.toma-nav-logout:active { background: none; color: #e53935; }

/* ── Dashboard greeting ────────────────────────────────────── */
.toma-dashboard {
	background: #ffffff;
	border: 1px solid #e8e4da;
	border-radius: 22px;
	padding: 40px;
}
.toma-dashboard-title {
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 12px;
}
.toma-dashboard p { font-size: 14px; color: #6b6b6b; line-height: 1.7; margin: 0; }
.toma-dashboard a { color: #3cb371; text-decoration: none; }
.toma-dashboard a:hover { text-decoration: underline; }

/* ── Orders product-card grid ──────────────────────────────── */
.toma-orders-section { margin: 0 0 40px; }
.toma-orders-section:last-child { margin-bottom: 0; }
.toma-orders-section-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 16px;
}
.toma-orders-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
@media (max-width: 1200px) { .toma-orders-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .toma-orders-grid { grid-template-columns: 1fr; } }

.toma-orders-empty {
	text-align: center;
	padding: 80px 20px;
	color: #6b6b6b;
}
.toma-orders-empty p { font-size: 15px; margin: 0 0 24px; }
.toma-browse-btn {
	display: inline-block;
	background: #1a1a1a;
	color: #ffffff !important;
	border-radius: 999px;
	padding: 13px 28px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.18s;
}
.toma-browse-btn:hover { background: #3cb371; }

/* ── Order card (toma-oc-*) ────────────────────────────────── */
.toma-oc > p { display: none !important; }

.toma-oc {
	background: #ffffff;
	border: 1px solid #e8e4da;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease;
}
.toma-oc:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }

.toma-oc-img-wrap {
	position: relative;
	height: 280px;
	display: block;
	background: #ffffff;
	overflow: hidden;
	flex-shrink: 0;
}
.toma-oc-img-wrap img {
	width: 100%; height: 100%;
	object-fit: contain;
	padding: 6px;
	transition: transform 0.35s ease;
}
.toma-oc:hover .toma-oc-img-wrap img { transform: scale(1.05); }

.toma-oc-status {
	position: absolute; top: 12px; left: 8px;
	background: rgba(255,255,255,0.9);
	border: 1px solid #e8e4da;
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 11.5px; font-weight: 500; color: #3a3a3a;
	backdrop-filter: blur(4px);
}
.toma-oc-status.is-cancelled { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.toma-oc-status.is-refunded  { background: #fdf6e8; border-color: #f0dfa8; color: #92661c; }

.toma-oc-body {
	padding: 14px 16px 14px;
	display: flex; flex-direction: column; gap: 4px;
	flex: 1;
}
.toma-oc-body > * { margin: 0 !important; }
.toma-oc-body br, .toma-oc-body p:empty { display: none !important; }

.toma-oc-brand {
	font-size: 11.5px; font-weight: 600;
	color: #6b6b6b; text-transform: capitalize;
}

.toma-oc-name {
	font-size: 14.5px; font-weight: 600; line-height: 1.4;
	color: #1a1a1a; text-decoration: none;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 6px !important;
}
.toma-oc-name:hover { color: #3a3a3a; }

.toma-oc-price {
	display: flex; align-items: baseline; gap: 8px;
	margin-top: auto !important;
}
.toma-oc-price-cur {
	font-size: 20px; font-weight: 800; color: #1a1a1a; line-height: 1;
}
.toma-oc-price-orig {
	font-size: 12px; font-weight: 400; color: #9a9a9a; text-decoration: line-through;
}

.toma-oc-delivery {
	display: flex; align-items: center; gap: 5px;
	font-size: 12px; color: #6b6b6b;
	border-top: 1px solid #f0ede6;
	padding-top: 10px; margin-top: 6px !important;
}
.toma-oc-delivery-icon { display: flex; align-items: center; color: #9a9a9a; }
.toma-oc-delivery-label { font-weight: 400; }
.toma-oc-delivery-label.is-free { font-weight: 600; color: #3cb371; }
.toma-oc-delivery-suffix { color: #9a9a9a; }

/* "Purchased" badge — same shape as other tod-bdg-* variants */
.tod-bdg-prc {
	position: absolute; top: 12px; left: 12px;
	height: 23.75px; border-radius: 999px;
	display: flex; align-items: center; justify-content: center; padding: 0 10px;
	background: rgba(58,58,58,0.1);
}
.tod-bdg-prc p {
	font-weight: 700; font-size: 10px; white-space: nowrap; margin: 0;
	color: #3a3a3a;
}

/* ── Form fields (account + address) ──────────────────────── */
.toma-account-form .woocommerce-form-row,
.toma-account-form .form-row,
.toma-address-form .woocommerce-form-row,
.toma-address-form .form-row,
.woocommerce-MyAccount-content .woocommerce-form-row,
.woocommerce-MyAccount-content .form-row {
	margin-top: 0;
	margin-bottom: 16px;
	padding: 0;
}
/* Remove stray br and empty p from My Account content */
.toma-content br { display: none; }
.toma-content p:empty { display: none; margin: 0; padding: 0; }
.toma-form-actions { margin-top: 16px; }
.toma-account-form label,
.toma-address-form label,
.woocommerce-MyAccount-content label {
	font-size: 13px;
	font-weight: 500;
	color: #3a3a3a;
	display: block;
	margin-bottom: 6px;
}
.toma-account-form .required,
.toma-address-form .required,
.woocommerce-MyAccount-content .required { color: #e53935; }

.toma-account-form input[type="text"],
.toma-account-form input[type="email"],
.toma-account-form input[type="password"],
.toma-account-form input[type="tel"],
.toma-account-form select,
.toma-account-form textarea,
.toma-address-form input[type="text"],
.toma-address-form input[type="email"],
.toma-address-form input[type="password"],
.toma-address-form input[type="tel"],
.toma-address-form select,
.toma-address-form textarea,
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #e8e4da;
	border-radius: 12px;
	font-size: 14px;
	color: #1a1a1a;
	background: #ffffff;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.18s;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}
.toma-account-form input:focus,
.toma-account-form select:focus,
.toma-account-form textarea:focus,
.toma-address-form input:focus,
.toma-address-form select:focus,
.toma-address-form textarea:focus,
.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus,
.woocommerce-MyAccount-content textarea:focus {
	border-color: #3cb371;
}
.toma-account-form textarea,
.toma-address-form textarea,
.woocommerce-MyAccount-content textarea {
	min-height: 120px;
	resize: vertical;
}

/* 2-column first/last name row */
.toma-form-row-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
@media (max-width: 600px) { .toma-form-row-2col { grid-template-columns: 1fr; } }

/* Display name hint */
.toma-field-hint {
	display: block;
	font-size: 12px;
	color: #9b9b9b;
	font-style: italic;
	margin-top: 5px;
}

/* Password card section */
.toma-password-section {
	background: #ffffff;
	border: 1px solid #e8e4da;
	border-radius: 16px;
	padding: 24px 28px;
	margin: 20px 0;
}
.toma-password-section-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 20px;
}

/* Submit button */
.toma-submit-btn,
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content button[type="submit"] {
	background: #1a1a1a !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 13px 32px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
	font-family: inherit !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	width: auto !important;
	line-height: 1 !important;
	transition: background 0.18s;
}
.toma-submit-btn:hover,
.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content button[type="submit"]:hover {
	background: #3cb371 !important;
	color: #ffffff !important;
}

/* Address form headings */
.toma-address-title {
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 24px;
}
.toma-address-subtitle {
	font-size: 13px;
	font-weight: 700;
	color: #1a1a1a;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 16px;
}

/* WC notices within account */
.toma-content .woocommerce-message,
.toma-content .woocommerce-error,
.toma-content .woocommerce-info {
	margin-bottom: 20px;
	border-radius: 12px;
}

/* WC select2 and state field adjustments */
.toma-address-form .select2-container .select2-selection--single {
	height: auto;
	padding: 0;
	border: 1px solid #e8e4da;
	border-radius: 12px;
	font-size: 14px;
}
.toma-address-form .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 11px 40px 11px 16px;
	line-height: 1.4;
	color: #1a1a1a;
}
.toma-address-form .select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 50%; transform: translateY(-50%); height: auto;
}
@media (max-width: 740px)  { .tofl-section { padding-left: 20px !important; padding-right: 20px !important; } }

/* Cart empty — product cards below: white button text, no hover */
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product a.button:hover,
.wc-block-grid__product-add-to-cart .wp-block-button__link,
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
	color: #ffffff !important;
}
.woocommerce ul.products li.product a.button:hover,
.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
	filter: none !important;
	opacity: 1 !important;
}
.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover {
	box-shadow: none !important;
}

/* About Us — sections padding */
.toph-section,
.toj-section,
.tom-section { padding-top: 20px !important; padding-bottom: 20px !important; }

/* What We Offer — inline dots on mobile (avoids absolute-position clipping) */
@media (max-width: 700px) {
	.toj-milestone--no-year {
		display: flex !important;
		align-items: flex-start !important;
		gap: 12px !important;
		padding-bottom: 16px !important;
	}
	.toj-milestone--no-year .toj-dot {
		position: static !important;
		flex-shrink: 0 !important;
		margin-top: 4px !important;
	}
	.toj-milestone--no-year .toj-content { padding-top: 0 !important; }
	.toj-section, .toj-wrap, .toj-timeline { overflow: visible !important; }
	.toj-line { display: none !important; }
}

.tod-empty-message { padding: 40px 0; color: #888; font-size: 15px; }
