/*
Theme Name: Loja Azul
Description: Loja Azul storefront theme for WooCommerce.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: lojaazul
*/

/* Tipografia self-hosted (sem pedidos externos; CSP mantém-se) */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Bricolage Grotesque";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("/assets/fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	color-scheme: light;

	--azul-900: #0b1c33;
	--azul-800: #122b4b;
	--azul-700: #16406f;
	--azul-600: #1d5aa0;
	--azul-500: #2f6fbd;
	--azul-100: #e4edf9;
	--azul-50: #f3f7fc;

	--ink: #0e1a29;
	--ink-soft: #4c5a6d;
	--ink-faint: #64707d;
	--line: #e5e3dd;
	--surface: #ffffff;
	--canvas: #f8f7f4;
	--accent: #c8862a;
	--ok: #16795e;
	--danger: #b3261e;

	--link: #16406f;
	--focus: #0b57d0;
	--surface-2: #f2f5fa;
	--glow: rgba(200, 134, 42, 0.16);
	--line-strong: #cdd3db;
	--cobalt: #1f4ed8;

	--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-serif: "Bricolage Grotesque", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--step--1: 0.875rem;
	--step-0: 1rem;
	--step-1: 1.25rem;
	--step-2: 1.625rem;
	--step-3: 2.125rem;
	--step-4: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);

	--space-1: 0.5rem;
	--space-2: 1rem;
	--space-3: 1.5rem;
	--space-4: 2.5rem;
	--space-5: 4rem;

	--radius-sm: 6px;
	--radius: 12px;
	--radius-lg: 20px;

	--shadow-sm: 0 1px 2px rgba(16, 24, 39, 0.06);
	--shadow: 0 6px 20px rgba(16, 24, 39, 0.08);
	--shadow-lg: 0 18px 50px rgba(6, 26, 58, 0.14);

	--wrap: 1180px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--step-0);
	line-height: 1.65;
	color: var(--ink);
	background: var(--canvas);
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--azul-700);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--azul-500);
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	margin: 0 0 var(--space-2);
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 var(--space-2); }

:focus-visible {
	outline: 3px solid var(--azul-500);
	outline-offset: 2px;
	border-radius: 4px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--azul-900);
	color: #fff;
	padding: var(--space-1) var(--space-2);
	z-index: 999;
}

.skip-link:focus {
	left: var(--space-2);
	top: var(--space-1);
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--space-3);
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	min-height: 72px;
}

.brand {
	display: flex;
	align-items: center;
	gap: var(--space-1);
	font-family: var(--font-serif);
	font-size: var(--step-1);
	font-weight: 700;
	color: var(--azul-900);
	text-decoration: none;
	white-space: nowrap;
}

.brand:hover { color: var(--azul-700); }

.brand img { max-height: 40px; width: auto; }

.site-nav {
	margin-left: auto;
}

.site-nav ul {
	display: flex;
	gap: var(--space-3);
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.site-nav a {
	color: var(--ink-soft);
	text-decoration: none;
	font-size: var(--step--1);
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding-block: var(--space-1);
	border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
	color: var(--azul-700);
	border-bottom-color: var(--azul-600);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: var(--space-1);
}

.cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--azul-50);
	color: var(--azul-800);
	text-decoration: none;
	font-size: var(--step--1);
	font-weight: 600;
}

.cart-link:hover { background: var(--azul-100); color: var(--azul-900); }

.cart-count {
	background: var(--azul-600);
	color: #fff;
	border-radius: 999px;
	min-width: 20px;
	height: 20px;
	display: inline-grid;
	place-items: center;
	font-size: 0.75rem;
	padding-inline: 5px;
}

.menu-toggle {
	display: none;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: var(--radius-sm);
	padding: 8px 12px;
	font: inherit;
	cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
	background:
		radial-gradient(1100px 400px at 15% -10%, rgba(30, 111, 224, 0.22), transparent 60%),
		linear-gradient(160deg, var(--azul-900), var(--azul-700) 55%, var(--azul-600));
	color: #fff;
	padding-block: clamp(3rem, 2rem + 6vw, 6rem);
}

.hero-inner {
	display: grid;
	gap: var(--space-4);
	align-items: center;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.hero h1 {
	color: #fff;
	max-width: 22ch;
}

.hero p {
	color: rgba(255, 255, 255, 0.82);
	font-size: var(--step-1);
	max-width: 46ch;
}

.hero-eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #bcd6ff;
	margin-bottom: var(--space-2);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-top: var(--space-3);
}

.hero-art {
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
	border: 1px solid rgba(255, 255, 255, 0.2);
	box-shadow: var(--shadow-lg);
	display: grid;
	place-items: center;
	font-family: var(--font-serif);
	font-size: var(--step-2);
	color: rgba(255, 255, 255, 0.75);
	overflow: hidden;
}

.hero-art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */

.btn,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .cart .button,
.woocommerce .cart input.button,
.woocommerce #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--azul-600);
	color: #fff;
	font-family: var(--font-sans);
	font-size: var(--step--1);
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover {
	background: var(--azul-700);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: var(--shadow);
}

.btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
}

.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
}

.btn--outline {
	background: #fff;
	border-color: var(--azul-600);
	color: var(--azul-700);
}

.btn--outline:hover {
	background: var(--azul-50);
	color: var(--azul-800);
}

/* ---------- Sections ---------- */

.section {
	padding-block: var(--space-5);
}

.section--tight { padding-block: var(--space-4); }

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: var(--space-2);
	margin-bottom: var(--space-3);
	flex-wrap: wrap;
}

.section-head p {
	color: var(--ink-faint);
	margin: 0;
	max-width: 60ch;
}

.section-link {
	font-size: var(--step--1);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
}

/* ---------- Category tiles ---------- */

.cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--space-2);
}

.cat-tile {
	position: relative;
	display: block;
	padding: var(--space-3);
	min-height: 150px;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--line);
	color: var(--azul-900);
	text-decoration: none;
	box-shadow: var(--shadow-sm);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cat-tile:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
	border-color: var(--azul-100);
	color: var(--azul-800);
}

.cat-tile strong {
	display: block;
	font-family: var(--font-serif);
	font-size: var(--step-1);
	margin-bottom: 4px;
}

.cat-tile span {
	font-size: var(--step--1);
	color: var(--ink-faint);
}

/* ---------- Trust bar ---------- */

.trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--space-2);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--space-3);
}

.trust div {
	font-size: var(--step--1);
	color: var(--ink-soft);
}

.trust strong {
	display: block;
	color: var(--ink);
	font-size: var(--step-0);
	margin-bottom: 2px;
}

/* ---------- WooCommerce layout ---------- */

.woocommerce,
.woocommerce-page {
	background: var(--canvas);
}

.shop-shell {
	padding-block: var(--space-4);
}

.woocommerce .woocommerce-breadcrumb {
	color: var(--ink-faint);
	font-size: var(--step--1);
	margin-bottom: var(--space-3);
}

.woocommerce .woocommerce-breadcrumb a { color: var(--ink-soft); }

.woocommerce-products-header__title.page-title,
.woocommerce h1.page-title {
	font-size: var(--step-3);
	margin-bottom: var(--space-1);
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
	margin: 0 0 var(--space-3);
	font-size: var(--step--1);
	color: var(--ink-soft);
}

.woocommerce .woocommerce-ordering select {
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	font: inherit;
	font-size: var(--step--1);
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: var(--space-3);
	margin: 0 0 var(--space-4);
	padding: 0;
	list-style: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	width: 100%;
	margin: 0;
	float: none;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.product-media {
	position: relative;
	display: block;
	background: var(--azul-50);
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.product-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
	transition: transform 0.35s ease;
}

.woocommerce ul.products li.product:hover .product-media img {
	transform: scale(1.04);
}

.product-body {
	padding: var(--space-2);
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.product-cat {
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-faint);
}

.product-title {
	font-family: var(--font-sans);
	font-size: var(--step-0);
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
}

.product-title a {
	color: var(--ink);
	text-decoration: none;
}

.product-title a:hover { color: var(--azul-700); }

.woocommerce ul.products li.product .price,
.product-body .price {
	margin: auto 0 0;
	font-size: var(--step-1);
	font-weight: 700;
	color: var(--azul-800);
}

.woocommerce ul.products li.product .price del {
	color: var(--ink-faint);
	font-weight: 400;
	font-size: var(--step--1);
	opacity: 1;
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: var(--danger);
}

.woocommerce ul.products li.product .button,
.product-body .button {
	width: 100%;
	margin-top: var(--space-1);
}

.woocommerce span.onsale {
	background: var(--accent);
	color: var(--azul-900);
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.4;
	min-height: 0;
	min-width: 0;
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	margin: 0;
}

/* Single product */

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--space-4);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: var(--space-3);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	width: 100%;
	float: none;
	margin: 0;
}

.woocommerce div.product div.images img {
	border-radius: var(--radius);
}

.woocommerce div.product .product_title {
	font-size: var(--step-3);
}

.woocommerce div.product p.price {
	color: var(--azul-800);
	font-size: var(--step-2);
	font-weight: 700;
}

.woocommerce div.product form.cart {
	display: flex;
	gap: var(--space-1);
	align-items: center;
	flex-wrap: wrap;
	margin-block: var(--space-3);
}

.woocommerce div.product form.cart div.quantity input.qty,
.woocommerce .quantity input.qty {
	width: 80px;
	padding: 10px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font: inherit;
}

.woocommerce div.product .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: var(--space-3);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 var(--space-2);
	border-bottom: 1px solid var(--line);
	display: flex;
	gap: var(--space-2);
	flex-wrap: wrap;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: none;
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: var(--space-1) 0;
	color: var(--ink-soft);
	font-weight: 600;
	font-size: var(--step--1);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-bottom: 2px solid transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--azul-700);
	border-bottom-color: var(--azul-600);
}

.woocommerce div.product .woocommerce-tabs .panel {
	background: var(--canvas);
	border-radius: var(--radius);
	padding: var(--space-3);
}

/* Cart & checkout */

.woocommerce table.shop_table {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
}

.woocommerce table.shop_table th {
	background: var(--azul-50);
	color: var(--azul-900);
	font-size: var(--step--1);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: var(--space-2);
}

.woocommerce table.shop_table td {
	padding: var(--space-2);
	border-top: 1px solid var(--line);
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce .cart-collaterals .cross-sells {
	width: 100%;
	float: none;
}

.woocommerce .cart-collaterals .cart_totals {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--space-3);
	margin-top: var(--space-3);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font: inherit;
	background: #fff;
}

.woocommerce form .form-row label {
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--ink-soft);
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	border-radius: var(--radius);
	border-top: 0;
	padding: var(--space-2) var(--space-3);
	background: var(--azul-50);
	color: var(--azul-900);
}

.woocommerce .woocommerce-error {
	background: #fdecea;
	color: var(--danger);
}

/* ---------- Generic content ---------- */

.content-shell {
	padding-block: var(--space-4);
}

.post-list {
	display: grid;
	gap: var(--space-3);
}

.entry {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--space-3);
	box-shadow: var(--shadow-sm);
}

.entry-title {
	font-size: var(--step-2);
	margin-bottom: var(--space-1);
}

.entry-title a {
	color: var(--ink);
	text-decoration: none;
}

.entry-meta {
	font-size: var(--step--1);
	color: var(--ink-faint);
	margin-bottom: var(--space-2);
}

.entry-body > *:last-child { margin-bottom: 0; }

.pagination {
	display: flex;
	gap: var(--space-1);
	justify-content: center;
	margin-top: var(--space-4);
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 10px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink-soft);
	text-decoration: none;
	font-weight: 600;
}

.pagination .page-numbers.current {
	background: var(--azul-600);
	border-color: var(--azul-600);
	color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--azul-900);
	color: rgba(255, 255, 255, 0.72);
	margin-top: var(--space-5);
	padding-block: var(--space-4) var(--space-3);
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--space-3);
	margin-bottom: var(--space-3);
}

.site-footer h3 {
	color: #fff;
	font-size: var(--step-0);
	font-family: var(--font-sans);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.8rem;
	margin-bottom: var(--space-2);
}

.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
	font-size: var(--step--1);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: var(--space-2);
	font-size: var(--step--1);
	display: flex;
	justify-content: space-between;
	gap: var(--space-2);
	flex-wrap: wrap;
}

/* ---------- Utility ---------- */

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
	.hero-inner,
	.woocommerce div.product {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero-art { order: -1; }
}

@media (max-width: 760px) {
	.menu-toggle { display: inline-block; }
	.site-nav {
		margin-left: 0;
		order: 3;
		flex-basis: 100%;
		display: none;
	}

	.site-nav.is-open { display: block; }

	.site-nav ul {
		flex-direction: column;
		gap: var(--space-1);
		padding-bottom: var(--space-2);
	}

	.header-inner { flex-wrap: wrap; }
	.section { padding-block: var(--space-4); }
}

/* --- campos de formulÃ¡rio --- */
.field {
	display: grid;
	gap: var(--space-1);
	margin-bottom: var(--space-2);
}

.field label {
	font-size: var(--step--1);
	font-weight: 600;
	color: var(--ink-soft);
}

.field input,
.field textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--ink);
	font: inherit;
}

.field input:focus,
.field textarea:focus {
	outline: 2px solid var(--azul-600);
	outline-offset: 1px;
	border-color: var(--azul-600);
}

/* --- avisos --- */
.notice {
	padding: var(--space-2) var(--space-3);
	margin-bottom: var(--space-3);
	border-radius: var(--radius-sm);
	border-left: 4px solid var(--line);
	background: var(--surface);
	color: var(--ink);
}

.notice--ok {
	border-left-color: var(--ok);
}

.notice--error {
	border-left-color: var(--danger);
}

/* --- tabelas --- */
.table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.table th,
.table td {
	padding: 12px 14px;
	text-align: left;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
}

.table th {
	font-size: var(--step--1);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ink-soft);
}

.table tbody tr:last-child td {
	border-bottom: 0;
}

.table form {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.table input[type="number"] {
	width: 68px;
	padding: 6px 8px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font: inherit;
}

/* --- produto --- */
.product-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.product-card .product-media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--azul-50);
}

.product-body .btn {
	width: 100%;
}

.product-detail {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-4);
	align-items: start;
}

@media (max-width: 960px) {
	.product-detail {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	#nav-toggle:checked ~ .site-nav {
		display: block;
	}
}

/* === Loja Azul — tema moderno (claro) === */
/* Papel quente, tinta azul, cobalto e um traço de âmbar. Zero JS, zero pedidos externos. */

/* 1 · Base */
body {
	color: var(--ink);
	background-color: var(--canvas);
	background-image: linear-gradient(180deg, #fbfaf7 0%, var(--canvas) 380px);
	font-feature-settings: "cv11", "ss01";
}
html { scroll-padding-top: 96px; }
::selection { background: rgba(31, 78, 216, 0.16); color: var(--ink); }
h1, h2, h3, h4 {
	font-family: var(--font-serif);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.08;
	text-wrap: balance;
}
h1 { letter-spacing: -0.04em; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--cobalt); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip-link { background: var(--ink); color: #fff; font-weight: 600; border-radius: 8px; }

/* 2 · Cabeçalho */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 250, 247, 0.86);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(140%) blur(12px);
}
.header-inner { min-height: 72px; }
.brand {
	font-family: var(--font-serif);
	font-size: 1.28rem;
	font-weight: 600;
	letter-spacing: -0.03em;
	color: var(--ink);
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.brand::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: var(--cobalt);
	box-shadow: 0 0 0 4px rgba(31, 78, 216, 0.10);
}
.site-nav a {
	color: var(--ink-soft);
	font-weight: 500;
	font-size: 0.95rem;
	text-decoration: none;
	padding-block: 6px;
	border-bottom: 2px solid transparent;
	transition: color 0.18s ease, border-color 0.18s ease;
}
.site-nav a:hover, .site-nav a:focus-visible, .site-nav .current-menu-item > a {
	color: var(--ink);
	border-bottom-color: var(--cobalt);
}
.cart-link {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 14px;
	color: var(--ink);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.cart-link:hover { border-color: var(--cobalt); box-shadow: 0 8px 20px -16px rgba(11, 28, 51, 0.6); }
.cart-count { background: var(--ink); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 0.75rem; font-weight: 700; }
.menu-toggle { background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; font-weight: 600; }
#nav-toggle:checked ~ .menu-toggle { border-color: var(--cobalt); color: var(--cobalt); }
#nav-toggle:focus-visible ~ .menu-toggle { outline: 3px solid var(--focus); outline-offset: 2px; }

/* 3 · Hero */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(760px 420px at 88% -10%, rgba(31, 78, 216, 0.10), transparent 62%),
		radial-gradient(520px 320px at 78% 96%, rgba(200, 134, 42, 0.10), transparent 66%),
		linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}
.hero-inner { gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero h1 {
	font-size: clamp(2.6rem, 1.7rem + 3.6vw, 4.5rem);
	line-height: 0.98;
	color: var(--ink);
	max-width: 15ch;
}
.hero p {
	color: var(--ink-soft);
	font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.18rem);
	max-width: 46ch;
}
.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--cobalt);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.hero-eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero-actions { gap: var(--space-1); margin-top: var(--space-3); }
.hero-art {
	position: relative;
	justify-self: center;
	width: 100%;
	max-width: 420px;
	aspect-ratio: 1;
	font-size: 0;
	border-radius: 28px;
	overflow: hidden;
	border: 1px solid rgba(11, 28, 51, 0.08);
	background:
		radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.9), transparent 44%),
		radial-gradient(circle at 72% 78%, rgba(200, 134, 42, 0.22), transparent 48%),
		radial-gradient(circle at 50% 50%, #dbe6f8 0%, #c3d5f1 58%, #b1c7e9 100%);
	box-shadow: 0 40px 80px -52px rgba(11, 28, 51, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.hero-art::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 58%;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle at 34% 30%, #ffffff 0%, #eef3fb 38%, #c8d9f2 76%, #b6cbe9 100%);
	box-shadow: 0 22px 44px -24px rgba(11, 28, 51, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}
.hero-art::after {
	content: "";
	position: absolute;
	right: 16%;
	bottom: 17%;
	width: 15%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 36% 32%, #f6c97e, #d99a3d 62%, #b87a24 100%);
	box-shadow: 0 10px 22px -10px rgba(184, 122, 36, 0.65);
}
@keyframes flutuar {
	0%, 100% { transform: translate(-50%, -50%); }
	50% { transform: translate(-50%, calc(-50% - 6px)); }
}
.hero-art::before { animation: flutuar 9s ease-in-out infinite; }

/* 4 · Botões */
.btn {
	min-height: 46px;
	padding: 11px 22px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	border: 1px solid var(--ink);
	font-family: var(--font-sans);
	font-size: 0.94rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-decoration: none;
	box-shadow: 0 10px 24px -18px rgba(11, 28, 51, 0.9);
	transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover {
	background: var(--cobalt);
	border-color: var(--cobalt);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 16px 30px -18px rgba(31, 78, 216, 0.75);
}
.btn:active { transform: translateY(0); }
.btn:disabled, .btn[disabled] { background: #d9dde4; border-color: #d9dde4; color: #6b7889; box-shadow: none; cursor: not-allowed; transform: none; }
.btn--outline { background: transparent; color: var(--ink); border-color: rgba(11, 28, 51, 0.22); box-shadow: none; }
.btn--outline:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); }
.btn--ghost { background: transparent; border-color: transparent; color: var(--ink-soft); box-shadow: none; }
.btn--ghost:hover { background: rgba(11, 28, 51, 0.05); border-color: transparent; color: var(--ink); }

/* 5 · Secções e categorias */
.section { padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.section--tight { padding-block: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.section-head { align-items: baseline; gap: var(--space-2); border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.section-head h2 { font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.1rem); margin: 0; }
.section-link { color: var(--cobalt); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.section-link::after { content: " →"; transition: transform 0.18s ease; display: inline-block; }
.section-link:hover::after { transform: translateX(3px); }

.cat-grid { counter-reset: cat; gap: 14px; }
.cat-tile {
	counter-increment: cat;
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 20px 18px 18px;
	text-decoration: none;
	color: var(--ink);
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.cat-tile::before {
	content: counter(cat, decimal-leading-zero);
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--ink-faint);
	margin-bottom: 10px;
}
.cat-tile span { display: block; font-family: var(--font-serif); font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; }
.cat-tile small { color: var(--ink-faint); font-size: 0.84rem; }
.cat-tile:hover, .cat-tile:focus-visible {
	border-color: rgba(31, 78, 216, 0.45);
	transform: translateY(-2px);
	box-shadow: 0 20px 36px -30px rgba(11, 28, 51, 0.55);
}

/* 6 · Produtos */
.product-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover { border-color: rgba(31, 78, 216, 0.4); transform: translateY(-3px); box-shadow: 0 26px 44px -34px rgba(11, 28, 51, 0.6); }
.product-card .product-media {
	min-height: 190px;
	display: grid;
	place-items: center;
	padding: 18px;
	font-family: var(--font-serif);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: rgba(11, 28, 51, 0.55);
	background: radial-gradient(circle at 30% 20%, #ffffff, transparent 52%), linear-gradient(150deg, #e8eef8, #d7e3f4);
}
.product-card:nth-child(4n + 2) .product-media { background: radial-gradient(circle at 70% 22%, #ffffff, transparent 52%), linear-gradient(150deg, #f3ece0, #e6d9c4); }
.product-card:nth-child(4n + 3) .product-media { background: radial-gradient(circle at 34% 78%, #ffffff, transparent 52%), linear-gradient(150deg, #e7e9f2, #d5d9e9); }
.product-card:nth-child(4n + 4) .product-media { background: radial-gradient(circle at 62% 24%, #ffffff, transparent 52%), linear-gradient(150deg, #e6f0ee, #d2e4df); }
.product-body { padding: 18px; display: grid; gap: 8px; }
.product-cat { margin: 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.product-title { font-size: 1.08rem; margin: 0; letter-spacing: -0.02em; }
.product-title a { text-decoration: none; color: var(--ink); }
.product-title a:hover { color: var(--cobalt); }
.product-body > p:not(.product-cat) { margin: 0; font-size: 1.06rem; font-weight: 600; color: var(--ink); }
.product-body .btn { width: 100%; margin-top: 6px; }

/* 7 · Produto, carrinho, confiança */
.product-media { border-radius: 20px; background: linear-gradient(150deg, #e8eef8, #d7e3f4); }
.product-body .product-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.trust { gap: 10px; flex-wrap: wrap; }
.trust li {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 9px 16px;
	font-size: 0.88rem;
	color: var(--ink-soft);
}
.trust li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 9px; vertical-align: middle; }

.cart-table, .table, .admin-table {
	width: 100%;
	border-collapse: collapse;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	font-size: 0.94rem;
}
.table thead th, .admin-table thead th, .cart-table thead th {
	background: var(--surface-2);
	color: var(--ink-soft);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid var(--line);
	white-space: nowrap;
}
.table td, .admin-table td, .cart-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr:last-child td, .admin-table tbody tr:last-child td, .cart-table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover, .admin-table tbody tr:hover { background: #f8fafd; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; }
.table-scroll > table { min-width: 620px; border-radius: 0; }

/* 8 · Formulários */
.field { display: grid; gap: 6px; margin-bottom: var(--space-2); }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
	width: 100%;
	font: inherit;
	font-size: 0.96rem;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	padding: 11px 13px;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
	outline: none;
	border-color: var(--cobalt);
	box-shadow: 0 0 0 3px rgba(31, 78, 216, 0.16);
}
.content-shell > form {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: clamp(1.25rem, 1rem + 1vw, 2rem);
	max-width: 640px;
}
.content-shell > form + h2 { margin-top: var(--space-4); }
.cart-total, .order-summary {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 18px;
}

/* 9 · Rodapé */
.site-footer {
	background: var(--azul-900);
	color: #c9d4e4;
	border-top: 0;
	margin-top: var(--space-4);
}
.site-footer strong { color: #fff; font-family: var(--font-serif); font-size: 1.02rem; letter-spacing: -0.01em; }
.site-footer p { color: #b7c3d6; font-size: 0.92rem; }
.site-footer a { color: #dbe5f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { padding-block: var(--space-4); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-block: var(--space-2); }
.footer-bottom p { color: #93a3ba; font-size: 0.82rem; margin: 0; }

/* 10 · Backoffice */
.admin-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 250, 247, 0.92);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(140%) blur(12px);
}
.admin-header .header-inner { min-height: 68px; }
.admin-header .brand::before { background: var(--ink); box-shadow: none; }
.admin-nav ul { gap: 4px; }
.admin-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 7px 14px;
	border-radius: 999px;
	color: var(--ink-soft);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}
.admin-nav a:hover { background: #eef2f8; color: var(--ink); }
.admin-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.admin-nav form { margin: 0; }
.admin-main { padding-block: var(--space-4) var(--space-5); }
.admin-main h1.entry-title { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem); }
.admin-main h2.entry-title {
	font-family: var(--font-sans);
	font-size: 0.74rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--ink-faint);
	border-bottom: 1px solid var(--line);
	padding-bottom: 10px;
	margin-top: var(--space-4);
	margin-bottom: var(--space-2);
}
.admin-main .entry {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 18px;
	margin-bottom: var(--space-2);
	color: var(--ink-soft);
}
.admin-main code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; font-size: 0.86em; color: var(--azul-700); }
.admin-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: var(--surface-2);
	color: var(--ink);
	font-size: 0.8rem;
	font-weight: 600;
}
.admin-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.admin-badge--ok { color: var(--ok); border-color: rgba(22, 121, 94, 0.35); background: rgba(22, 121, 94, 0.08); }
.admin-badge--warn { color: #955f10; border-color: rgba(200, 134, 42, 0.4); background: rgba(200, 134, 42, 0.10); }
.updates-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); margin-block: var(--space-2); padding-top: var(--space-2); border-top: 1px solid var(--line); }
.updates-actions form { margin: 0; }
.admin-main .entry-meta { color: var(--ink-faint); }

/* 11 · Responsivo */
.hero-inner > *, .product-detail > *, .cat-grid > *, .footer-grid > * { min-width: 0; }
@media (max-width: 960px) {
	.hero-inner { grid-template-columns: minmax(0, 1fr); }
	.hero-art { order: -1; max-width: 300px; }
	.hero { padding-block: var(--space-5) var(--space-4); }
	.admin-header .header-inner { flex-wrap: wrap; gap: var(--space-1); }
	.admin-nav { width: 100%; }
	.admin-nav ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
	.admin-nav li { flex: 0 0 auto; }
}
@media (max-width: 760px) {
	.site-header { position: static; }
	.hero h1 { font-size: clamp(2.1rem, 1.4rem + 4.4vw, 2.8rem); max-width: 100%; }
	.hero-art { max-width: 230px; }
	.wrap { padding-inline: 1.15rem; }
	.cat-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
	.product-card .product-media { min-height: 150px; }
	.table-scroll > table, .admin-table { min-width: 560px; }
	.content-shell > form { padding: 1.15rem; }
	.footer-grid { gap: var(--space-2); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	html { scroll-behavior: auto; }
}

/* 12 · Afinações */
.trust { background: transparent; border: 0; padding: 0; }
.trust li { background: var(--surface); }
#destaques .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
#destaques .product-card .product-media { min-height: 210px; font-size: 0; }
#destaques .product-card .product-media::before {
	content: "";
	width: 74px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 38% 32%, #ffffff 0%, rgba(255, 255, 255, 0.62) 52%, rgba(255, 255, 255, 0.10) 74%);
	box-shadow: 0 18px 30px -22px rgba(11, 28, 51, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
@media (max-width: 960px) {
	#destaques .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	#destaques .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#destaques .product-card .product-media { min-height: 160px; }
}.trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust li { flex: 0 0 auto; }/* 13 · Produto (detalhe) */
.product-detail .product-media { position: relative; display: grid; place-items: center; min-height: 420px; font-size: 0; }
.product-detail .product-media::before {
	content: "";
	width: 42%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 36% 30%, #ffffff 0%, rgba(255, 255, 255, 0.72) 46%, rgba(255, 255, 255, 0.14) 76%);
	box-shadow: 0 26px 60px -30px rgba(11, 28, 51, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.product-title + p { font-size: 1.55rem; font-weight: 600; color: var(--ink); margin-bottom: var(--space-2); }
.product-body form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: var(--space-3); }
.product-body form label { flex: 0 0 100%; font-size: 0.85rem; font-weight: 600; margin-bottom: -4px; }
.product-body form input[type="number"] {
	width: 92px;
	padding: 10px 12px;
	font: inherit;
	color: var(--ink);
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-radius: 10px;
}
.product-body form input[type="number"]:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(31, 78, 216, 0.16); }
.product-body form .btn { flex: 1 1 240px; }
@media (max-width: 760px) {
	.product-detail .product-media { min-height: 260px; }
}/* 14 · Acabamento premium */
:root {
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 10px 30px -24px rgba(11, 28, 51, 0.35);
	--shadow-lg: 0 30px 60px -44px rgba(11, 28, 51, 0.45);
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.btn, .cart-link, .product-body form input[type="number"] { border-radius: 12px; }
.cart-link { border-radius: 999px; }
.section { padding-block: clamp(3rem, 2.4rem + 2.4vw, 4.75rem); }
.section--tight { padding-block: clamp(2rem, 1.6rem + 1.6vw, 3rem); }
.section-head { padding-bottom: 18px; margin-bottom: 26px; }
.entry-title { letter-spacing: -0.035em; }
.entry-meta { color: var(--ink-faint); font-size: 0.85rem; }

/* Vitrine */
.product-card { border-radius: 16px; box-shadow: none; }
.product-card .product-media { min-height: 210px; position: relative; background: linear-gradient(160deg, #f2f4f8, #e2e8f1); }
.product-card:nth-child(4n + 2) .product-media { background: linear-gradient(160deg, #f7f2ea, #e9dfcf); }
.product-card:nth-child(4n + 3) .product-media { background: linear-gradient(160deg, #f1f2f5, #dfe3ea); }
.product-card:nth-child(4n + 4) .product-media { background: linear-gradient(160deg, #eff3f1, #dee9e4); }
.product-mark {
	font-family: var(--font-serif);
	font-size: clamp(3.2rem, 7vw, 4.8rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.05em;
	color: rgba(11, 28, 51, 0.17);
	user-select: none;
}
#destaques .product-card .product-media { min-height: 240px; }
#destaques .product-card .product-media::before { display: none; }
#destaques .product-card .product-media { font-size: inherit; }
.product-card:hover { box-shadow: 0 24px 46px -38px rgba(11, 28, 51, 0.5); }
.product-body { padding: 20px; gap: 7px; }
.product-title { font-size: 1.06rem; font-weight: 600; }
.product-body > p:not(.product-cat) { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.product-detail .product-media { min-height: 460px; background: linear-gradient(160deg, #f2f4f8, #e1e7f0); }
.product-detail .product-mark { font-size: clamp(5rem, 12vw, 8rem); color: rgba(11, 28, 51, 0.14); }
.product-detail .product-media::before { display: none; }
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 18px; gap: 14px 34px; }
.trust li { background: none; border: 0; border-radius: 0; padding: 0; color: var(--ink-soft); font-size: 0.85rem; }
.site-footer { background: #08131f; }
.footer-grid { padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); gap: var(--space-3); }
.site-footer strong { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: #93a3ba; }
.footer-bottom { padding-block: 18px; }

/* Backoffice */
.admin-body { background: #f7f7f5; }
.admin-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.admin-side {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	gap: 30px;
	padding: 30px 18px 22px;
	background: #fff;
	border-right: 1px solid var(--line);
}
.admin-brand { display: grid; gap: 3px; padding-inline: 10px; font-size: 1.12rem; letter-spacing: -0.03em; }
.admin-brand::before { display: none; }
.admin-brand span { font-family: var(--font-sans); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-faint); }
.admin-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.admin-nav a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: var(--ink-soft);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 0.16s ease, color 0.16s ease;
}
.admin-nav a:hover { background: #f4f5f7; color: var(--ink); }
.admin-nav a[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 600; }
.admin-side-foot { margin-top: auto; display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.admin-side-foot form { margin: 0; }
.admin-side-link {
	display: block;
	width: 100%;
	padding: 8px 12px;
	border: 0;
	border-radius: 8px;
	background: none;
	font: inherit;
	font-size: 0.88rem;
	color: var(--ink-soft);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}
.admin-side-link:hover { background: #f4f5f7; color: var(--ink); }
.admin-main { padding: 48px clamp(20px, 4vw, 56px) 80px; max-width: 1180px; }
.admin-main h1.entry-title { font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.5rem); margin-bottom: var(--space-3); }
.admin-main h2.entry-title { color: var(--ink-soft); }
.admin-main .table, .admin-main .admin-table { border-radius: 14px; }
.admin-main .content-shell { padding: 0; }
.admin-main td a { text-decoration: none; }
.admin-main td a:hover { text-decoration: underline; }
.admin-main .btn--ghost { color: var(--ink-soft); }
@media (max-width: 960px) {
	.admin-shell { grid-template-columns: minmax(0, 1fr); }
	.admin-side { position: static; height: auto; flex-direction: row; align-items: center; gap: 14px; overflow-x: auto; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
	.admin-brand { flex: 0 0 auto; }
	.admin-nav ul { display: flex; gap: 4px; }
	.admin-nav a { white-space: nowrap; }
	.admin-side-foot { margin: 0 0 0 auto; display: flex; align-items: center; gap: 4px; padding: 0; border: 0; }
	.admin-side-link { width: auto; white-space: nowrap; }
	.admin-main { padding: 28px 18px 56px; }
}
/* 15 · Grelha de produto, detalhe e correções */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; }
.product-body { flex: 1; display: flex; flex-direction: column; }
.product-body .btn { margin-top: auto; }
.trust { list-style: none; margin: 0; padding: 0; padding-block: 18px; }
.trust li { list-style: none; }
.breadcrumb { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 20px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--cobalt); }
.section-head .entry-title { margin: 0; }
.section-head .entry-meta { margin: 0; white-space: nowrap; }
.hero-art::after {
	width: 12%;
	background: transparent;
	border: 2px solid rgba(200, 134, 42, 0.8);
	box-shadow: none;
}
.product-detail { align-items: start; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); }
.product-detail .product-media { min-height: 440px; }
.product-body > p:nth-of-type(3) { color: var(--ink-soft); line-height: 1.65; max-width: 48ch; }
.product-body > p:nth-of-type(4) { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.product-body > p:nth-of-type(4)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* Backoffice: coluna fixa e detalhes */
.admin-shell::before {
	content: "";
	position: fixed;
	inset: 0 auto 0 0;
	width: 252px;
	background: #fff;
	border-right: 1px solid var(--line);
	z-index: 0;
}
.admin-side { background: transparent; border-right: 0; z-index: 1; }
.admin-main { position: relative; z-index: 1; }
.admin-main h1.entry-title { margin-bottom: var(--space-2); }
.admin-main h2.entry-title { margin-top: var(--space-3); }
.admin-main .entry ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.admin-main .entry li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.admin-main table button, .admin-main table .btn {
	border: 1px solid var(--line-strong);
	background: #fff;
	border-radius: 8px;
	padding: 6px 12px;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ink-soft);
	cursor: pointer;
	transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease;
}
.admin-main table button:hover, .admin-main table .btn:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.admin-main table form { margin: 0; }

@media (max-width: 960px) {
	.admin-shell::before { display: none; }
	.admin-side { background: #fff; }
	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.product-detail { grid-template-columns: minmax(0, 1fr); }
	.product-detail .product-media { min-height: 320px; }
}
@media (max-width: 760px) {
	.product-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.product-detail .product-media { min-height: 240px; }
}/* 16 · Mobile */
@media (max-width: 760px) {
	.hero-art { order: 0; max-width: 260px; }
	.product-grid, #destaques .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.product-grid, #destaques .product-grid { grid-template-columns: minmax(0, 1fr); }
	.section-head { flex-wrap: wrap; gap: 6px; }
	.section-link { font-size: 0.86rem; }
}@media (max-width: 960px) {
	.admin-side { flex-wrap: wrap; row-gap: 6px; }
	.admin-side-foot { order: -1; margin: 0 0 0 auto; }
	.admin-nav { order: 3; flex: 1 0 100%; min-width: 0; }
}@media (max-width: 960px) {
	.admin-brand { order: -2; }
	.admin-side-foot { order: -1; margin: 0 0 0 auto; }
	.admin-nav ul { scrollbar-width: none; max-width: 100%; }
	.admin-nav ul::-webkit-scrollbar { display: none; }
}/* 17 · Entrada no backoffice */
.login-page .content-shell { max-width: 440px; margin-inline: auto; }
.login-page .entry-title { font-size: 2rem; margin-bottom: 18px; }
.login-page form { width: 100%; }
.login-page .btn { width: 100%; }

/* 18 · Backoffice v2 */
.adm {
  --abg: #f2f5fa;
  --panel: #ffffff;
  --aline: #e3e9f2;
  --ink: #0e1a29;
  --muted: #64748b;
  --brand: #2f6fbd;
  --brand-deep: #16406f;
  --navy: #0b1c33;
  --accent: #c8862a;
  --ok: #16795e;
  --bad: #b3261e;
  --warn: #b45309;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  margin: 0;
  background: var(--abg);
  color: var(--ink);
  font: 15px/1.55 var(--font-sans);
}
.adm *,
.adm *::before,
.adm *::after { box-sizing: border-box; }
.adm a { color: inherit; }
.adm .ic { vertical-align: -0.2em; flex: none; }
.adm :focus-visible { outline: 3px solid rgba(47, 111, 189, 0.5); outline-offset: 2px; }
.adm .grow { flex: 1; }
.adm .muted { color: var(--muted); }
.adm .small { font-size: 0.82rem; }
.adm .strong { font-weight: 700; }
.adm .r { text-align: right; }
.adm .nowrap { white-space: nowrap; }
.adm .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.adm code { background: #eef2f8; border-radius: 5px; padding: 0.08rem 0.35rem; font-size: 0.85em; }

.adm-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: 0 0 10px 0;
}
.adm-skip:focus { left: 0; }

/* Barra lateral */
.adm .side {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 1.15rem 0.85rem 1rem;
  background: linear-gradient(180deg, #0b1c33 0%, #102a49 58%, #153a63 100%);
  color: #c8d6ea;
  overflow: hidden;
  z-index: 40;
}
.adm .side__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.25rem 0.45rem 1.15rem;
  text-decoration: none;
  color: #fff;
}
.adm .side__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(140deg, #3f86d6, #2f6fbd);
  box-shadow: 0 8px 20px rgba(18, 74, 143, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.adm .side__brand-txt { display: grid; gap: 1px; line-height: 1.1; }
.adm .side__brand-txt strong { font-size: 1.02rem; letter-spacing: -0.02em; }
.adm .side__brand-txt small {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8fa6c4;
}
.adm .side nav { display: grid; gap: 2px; align-content: start; overflow-y: auto; scrollbar-width: thin; }
.adm .side__h {
  margin: 1.05rem 0.55rem 0.3rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #7c92b1;
}
.adm .side nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.56rem 0.65rem;
  border-radius: 10px;
  color: #c8d6ea;
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 500;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.adm .side nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; transform: translateX(2px); }
.adm .side nav a.on {
  background: linear-gradient(100deg, #2f6fbd, #3f86d6);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(9, 53, 105, 0.5);
}
.adm .side nav a.on .ic { color: #fff; }
.adm .side nav a .ic { opacity: 0.88; }
.adm .pill {
  margin-left: auto;
  min-width: 1.5rem;
  padding: 0.06rem 0.42rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}
.adm .pill--hot { background: #e0a24a; color: #2a1a04; box-shadow: 0 4px 10px rgba(224, 162, 74, 0.4); }
.adm .pill--soft { background: rgba(255, 255, 255, 0.14); color: #e8f0fb; }
.adm .side__foot { margin-top: auto; padding: 0.9rem 0.55rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); display: grid; gap: 0.45rem; }
.adm .side__foot-note { margin: 0; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #7c92b1; }
.adm .side__foot-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #c8d6ea;
  text-decoration: none;
}
.adm .side__foot-link:hover { color: #fff; text-decoration: underline; }

/* Conteúdo e topo */
.adm .main { min-width: 0; }
.adm .top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.62rem clamp(1rem, 2.4vw, 2rem);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--aline);
  backdrop-filter: blur(8px);
}
.adm .top__site {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-deep);
  text-decoration: none;
}
.adm .top__site:hover { color: var(--brand); text-decoration: underline; }
.adm .top__date { font-size: 0.78rem; color: var(--muted); }
.adm .top__user { display: flex; align-items: center; gap: 0.55rem; padding-left: 0.9rem; border-left: 1px solid var(--aline); }
.adm .top__avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(140deg, #16406f, #2f6fbd);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}
.adm .top__user-meta { display: grid; line-height: 1.15; }
.adm .top__user-meta strong { font-size: 0.82rem; }
.adm .top__user-meta small { font-size: 0.7rem; color: var(--muted); }
.adm .top form { margin: 0; }
.adm .content {
  padding: 1.5rem clamp(1rem, 2.4vw, 2.2rem) 4rem;
  max-width: 1560px;
}

/* Botões */
.adm .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.58rem 1.05rem;
  border: 1px solid var(--brand);
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font: 600 0.9rem var(--font-sans);
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.adm .btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; box-shadow: 0 8px 18px rgba(22, 64, 111, 0.22); }
.adm .btn:active { transform: translateY(1px); }
.adm .btn--ghost { background: #fff; border-color: var(--aline); color: var(--ink); }
.adm .btn--ghost:hover { background: #f4f7fc; border-color: #c7d4e6; color: var(--brand-deep); box-shadow: none; }
.adm .btn--danger { background: var(--bad); border-color: var(--bad); }
.adm .btn--danger:hover { background: #8f1e17; border-color: #8f1e17; }
.adm .btn--danger-ghost { color: var(--bad); }
.adm .btn--danger-ghost:hover { background: #fdf0ef; border-color: #e8b4b0; color: var(--bad); }
.adm .btn--sm { padding: 0.36rem 0.72rem; font-size: 0.82rem; border-radius: 8px; }
.adm .btn--white { background: #fff; border-color: #fff; color: var(--brand-deep); }
.adm .btn--white:hover { background: #eef5fd; border-color: #eef5fd; color: var(--brand-deep); }
.adm .btn--glass { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.adm .btn--glass:hover { background: rgba(255, 255, 255, 0.26); border-color: rgba(255, 255, 255, 0.55); box-shadow: none; }
.adm .btn.block { display: flex; width: 100%; margin-bottom: 0.55rem; }
.adm .link { background: none; border: 0; color: var(--brand-deep); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* Cartões e estrutura */
.adm .card { background: var(--panel); border: 1px solid var(--aline); border-radius: 16px; box-shadow: 0 6px 20px rgba(15, 40, 70, 0.05); }
.adm .pad { padding: 1.35rem; margin-bottom: 1.1rem; }
.adm .card h2 { margin: 0 0 0.85rem; font-size: 1rem; letter-spacing: -0.01em; }
.adm .card h2 .muted { font-weight: 500; font-size: 0.8rem; }
.adm .card h3 { margin: 1.1rem 0 0.4rem; font-size: 0.9rem; }
.adm .card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.8rem; padding: 1.25rem 1.4rem 0.9rem; }
.adm .card-head h2 { margin: 0; }
.adm .card--note { background: #fbfcfe; }
.adm .page { animation: admRise 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 55ms); }
.adm .pagebar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.adm .pagebar h1 { margin: 0; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); letter-spacing: -0.03em; line-height: 1.15; display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.adm .pagebar h1 small { font-size: 0.78rem; font-weight: 700; color: var(--brand-deep); background: #e7eefb; border-radius: 999px; padding: 0.14rem 0.55rem; }
.adm .pagebar p { margin: 0.3rem 0 0; font-size: 0.86rem; }
.adm .pagebar__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.adm .backlink { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; font-weight: 700; color: var(--brand-deep); text-decoration: none; margin-bottom: 0.35rem; }
.adm .backlink .ic { transform: rotate(180deg); }
.adm .backlink:hover { color: var(--brand); text-decoration: underline; }

/* Formulários */
.adm .field { display: grid; gap: 0.28rem; margin-bottom: 0.95rem; }
.adm .field small { color: var(--muted); font-size: 0.78rem; }
.adm .lbl { font-size: 0.83rem; font-weight: 650; }
.adm .lbl small { font-weight: 400; color: var(--muted); margin-left: 0.35rem; }
.adm input:not([type="checkbox"]):not([type="radio"]),
.adm select,
.adm textarea {
  width: 100%;
  padding: 0.58rem 0.75rem;
  border: 1px solid #cdd8e7;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
}
.adm input:focus,
.adm select:focus,
.adm textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(47, 111, 189, 0.16); }
.adm textarea { resize: vertical; }
.adm .input-prefix { display: flex; align-items: center; border: 1px solid #cdd8e7; border-radius: 9px; background: #fff; overflow: hidden; }
.adm .input-prefix span { padding: 0.58rem 0.1rem 0.58rem 0.75rem; color: var(--muted); font-size: 0.85rem; }
.adm .input-prefix input { border: 0 !important; box-shadow: none !important; padding-left: 0.1rem !important; }
.adm .check { display: flex; align-items: flex-start; gap: 0.55rem; padding: 0.65rem; border: 1px solid var(--aline); border-radius: 10px; background: #fbfcfe; cursor: pointer; }
.adm .check input { margin-top: 0.2rem; accent-color: var(--brand); width: 16px; height: 16px; }
.adm .check span { display: grid; gap: 1px; }
.adm .check strong { font-size: 0.86rem; }
.adm .check small { color: var(--muted); font-size: 0.77rem; }
.adm .editor { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.2rem; align-items: start; }
.adm .editor__main { min-width: 0; }
.adm .editor__side { display: grid; gap: 0; }
.adm .savebar { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; padding: 0.1rem 0 0.4rem; }
.adm .savebar .muted { font-size: 0.8rem; }
.adm .editor__main > form + .card { margin-top: 1.3rem; }

/* Alertas */
.adm .alert { border-radius: 12px; padding: 0.9rem 1.1rem; margin-bottom: 1.1rem; border: 1px solid; font-size: 0.88rem; }
.adm .alert ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.adm .alert--bad { background: #fdf1f0; border-color: #f0c4c0; color: #7f1d17; }

/* Tabelas */
.adm .tablewrap { overflow: auto; }
.adm .adm-table { width: 100%; border-collapse: collapse; }
.adm .adm-table th {
  padding: 0.7rem 1.15rem;
  border-bottom: 1px solid var(--aline);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
}
.adm .adm-table td { padding: 0.8rem 1.15rem; border-bottom: 1px solid var(--aline); vertical-align: middle; font-size: 0.88rem; }
.adm .adm-table tr:last-child td { border-bottom: 0; }
.adm .adm-table tbody tr { transition: background 0.15s ease; }
.adm .adm-table tbody tr:hover { background: #f8fbfe; }
.adm .adm-table td.actions { text-align: right; white-space: nowrap; }
.adm .adm-table td.actions .btn { margin-left: 0.3rem; }
.adm .cell-user { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: inherit; }
.adm a.cell-user:hover b { color: var(--brand-deep); text-decoration: underline; }
.adm .cell-stack { display: grid; gap: 1px; min-width: 0; line-height: 1.3; }
.adm .cell-stack b { font-size: 0.88rem; }
.adm .cell-stack small { font-size: 0.75rem; color: var(--muted); }
.adm .avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: hsl(var(--h, 214) 72% 93%);
  color: hsl(var(--h, 214) 48% 32%);
  font-size: 0.85rem;
  font-weight: 800;
}
.adm .avatar--sm { width: 32px; height: 32px; font-size: 0.76rem; }
.adm .avatar--lg { width: 48px; height: 48px; font-size: 1rem; }
.adm .chip { display: inline-block; padding: 0.16rem 0.55rem; border-radius: 999px; background: #eef3f9; color: #334a63; font-size: 0.76rem; font-weight: 600; white-space: nowrap; }
.adm .stock-pill { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.adm .stock-pill.is-ok { background: #e6f4ee; color: #14664f; }
.adm .stock-pill.is-low { background: #fdf3e3; color: #8a5a12; }
.adm .stock-pill.is-out { background: #fbeceb; color: #93231c; }
.adm .adm-badge { display: inline-flex; align-items: center; gap: 0.32rem; padding: 0.16rem 0.55rem; border-radius: 999px; font-size: 0.73rem; font-weight: 750; white-space: nowrap; }
.adm .adm-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.adm .adm-badge.is-pending { background: #fdf3e3; color: #8a5a12; }
.adm .adm-badge.is-paid { background: #e6f4ee; color: #14664f; }
.adm .adm-badge.is-sent { background: #e8f0fb; color: #1c4a86; }
.adm .adm-badge.is-cancelled { background: #fbeceb; color: #93231c; }
.adm .star {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--aline);
  border-radius: 9px;
  background: #fff;
  color: #93a2b5;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.adm .star:hover { color: var(--accent); border-color: #e3c48e; background: #fdf9f1; }
.adm .star.is-on { color: var(--accent); border-color: #e6c993; background: #fdf7ec; }
.adm .star.is-on .ic { fill: currentColor; }
.adm .rowmenu { position: relative; display: inline-block; }
.adm .rowmenu summary { list-style: none; cursor: pointer; }
.adm .rowmenu summary::-webkit-details-marker { display: none; }
.adm .rowmenu__box {
  width: 220px;
  margin-top: 0.4rem;
  padding: 0.7rem;
  border: 1px solid var(--aline);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 40, 70, 0.16);
  text-align: left;
  position: absolute;
  right: 0;
  z-index: 25;
}
.adm .rowmenu__box p { margin: 0 0 0.55rem; font-size: 0.8rem; color: var(--ink); }
.adm .adm-table td.actions .rowmenu__box .btn { margin: 0; }

/* Filtros e separadores */
.adm .filters { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.adm .filters__search { position: relative; flex: 1 1 280px; max-width: 420px; display: flex; align-items: center; }
.adm .filters__search .ic { position: absolute; left: 0.75rem; color: var(--muted); pointer-events: none; }
.adm .filters__search input[type="search"] { padding-left: 2.4rem; }
.adm .filters select { width: auto; min-width: 180px; }
.adm .tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.adm .tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--aline);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.adm .tab b { font-size: 0.72rem; background: #eef2f8; border-radius: 999px; padding: 0.06rem 0.42rem; color: var(--muted); }
.adm .tab:hover { border-color: #c7d4e6; background: #f7fafd; }
.adm .tab.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.adm .tab.on b { background: rgba(255, 255, 255, 0.22); color: #fff; }

/* Vazio */
.adm .empty { display: grid; place-items: center; gap: 0.4rem; padding: 3rem 1.5rem; text-align: center; color: var(--muted); }
.adm .empty .ic { color: #9fb2c7; }
.adm .empty h2 { margin: 0.35rem 0 0; color: var(--ink); font-size: 1.05rem; }
.adm .empty p { margin: 0 0 0.8rem; max-width: 44ch; font-size: 0.88rem; }

/* Painel: hero */
.adm .dh-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.2rem;
  margin-bottom: 1.15rem;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(120deg, #0b1c33 0%, #16406f 55%, #2f6fbd 100%);
  background-size: 200% 200%;
  box-shadow: 0 18px 44px rgba(11, 28, 51, 0.28);
  animation: admRise 0.6s both, admGrad 14s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 55ms), 0s;
}
.adm .dh-hero h1 { margin: 0; color: #fff; font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.15rem); letter-spacing: -0.03em; line-height: 1.15; }
.adm .dh-eyebrow { margin: 0 0 0.35rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.adm .dh-sub { margin: 0.55rem 0 1.15rem; color: rgba(255, 255, 255, 0.88); font-size: 0.92rem; }
.adm .dh-sub strong { color: #fff; }
.adm .dh-hero__cta { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.adm .dh-wave { display: inline-block; transform-origin: 70% 70%; animation: admWave 2.6s 1s ease-in-out 2; }
.adm .dh-hero__art { width: 230px; flex: none; position: relative; }
.adm .dh-orbit { transform-origin: 120px 80px; animation: admSpin 26s linear infinite; }
.adm .dh-orbit--2 { animation-duration: 38s; animation-direction: reverse; }
.adm .dh-orbit--3 { animation-duration: 60s; }
.adm .dh-sat { transform-origin: 120px 80px; animation: admSpin 7s linear infinite; }
.adm .dh-sat--2 { animation-duration: 11s; animation-direction: reverse; }
.adm .dh-blob { position: absolute; border-radius: 50%; opacity: 0.45; animation: admFloat 9s ease-in-out infinite; }
.adm .dh-blob--a { width: 240px; height: 240px; right: -60px; top: -90px; background: radial-gradient(circle, #6db3ff, transparent 70%); }
.adm .dh-blob--b { width: 180px; height: 180px; left: 38%; bottom: -100px; background: radial-gradient(circle, #e0a24a, transparent 70%); animation-delay: -3s; opacity: 0.3; }
.adm .dh-blob--c { width: 120px; height: 120px; left: -30px; top: 20%; background: radial-gradient(circle, #fff, transparent 70%); animation-delay: -6s; opacity: 0.16; }

/* Painel: KPIs */
.adm .dh-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.85rem; margin-bottom: 1.15rem; }
.adm .dh-kpi {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.2rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--aline);
  border-radius: 17px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 40, 70, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.adm .dh-kpi:hover { transform: translateY(-4px); border-color: rgba(47, 111, 189, 0.35); box-shadow: 0 16px 34px rgba(15, 60, 110, 0.14); }
.adm .dh-kpi__ic {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.45rem;
  border-radius: 13px;
  background: linear-gradient(140deg, #2f6fbd, #4b8bd9);
  color: #fff;
  box-shadow: 0 8px 18px rgba(47, 111, 189, 0.33);
  transition: transform 0.3s ease;
}
.adm .dh-kpi:hover .dh-kpi__ic { transform: rotate(-8deg) scale(1.07); }
.adm .dh-kpi:nth-child(2n) .dh-kpi__ic { background: linear-gradient(140deg, #c8862a, #e0a24a); box-shadow: 0 8px 18px rgba(200, 134, 42, 0.32); }
.adm .dh-kpi:nth-child(3n) .dh-kpi__ic { background: linear-gradient(140deg, #16795e, #2fa37e); box-shadow: 0 8px 18px rgba(22, 121, 94, 0.3); }
.adm .dh-kpi:nth-child(4n) .dh-kpi__ic { background: linear-gradient(140deg, #b3261e, #d6554c); box-shadow: 0 8px 18px rgba(179, 38, 30, 0.28); }
.adm .dh-kpi strong { font-size: clamp(1.45rem, 1.2rem + 0.7vw, 1.95rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.adm .dh-kpi__l { color: var(--muted); font-size: 0.8rem; }
.adm .dh-kpi__spark { position: absolute; right: 10px; top: 16px; width: 76px; height: 28px; overflow: visible; }
.adm .dh-kpi__spark polyline { fill: none; stroke: var(--brand); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }

/* Painel: grelha */
.adm .dh-row { display: grid; grid-template-columns: 2fr 1fr; gap: 1.1rem; margin-bottom: 1.1rem; }
.adm .dh-row--2 { grid-template-columns: 1.55fr 1fr; align-items: start; }
.adm .dh-card { background: #fff; border: 1px solid var(--aline); border-radius: 18px; padding: 1.2rem 1.3rem; box-shadow: 0 4px 14px rgba(15, 40, 70, 0.05); min-width: 0; }
.adm .dh-card header { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.adm .dh-card h2 { margin: 0; font-size: 1rem; }
.adm .dh-card header a { margin-left: auto; display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.8rem; font-weight: 700; color: var(--brand-deep); text-decoration: none; }
.adm .dh-card header a:hover { text-decoration: underline; }
.adm .dh-legend { display: flex; gap: 1rem; margin: 0 0 0 auto; padding: 0; list-style: none; font-size: 0.76rem; color: var(--muted); }
.adm .dh-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 0.3rem; background: var(--brand); }
.adm .dh-chart { display: block; width: 100%; height: auto; }
.adm .dh-grid { stroke: #e8eef5; stroke-dasharray: 3 4; }
.adm .dh-axis { font: 600 10px var(--font-sans); fill: #8497a8; }
.adm .dh-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: admDraw 1.4s 0.2s cubic-bezier(0.4, 0.1, 0.2, 1) forwards; }
.adm .dh-area { opacity: 0; animation: admFade 0.8s 0.7s forwards; }
.adm .dh-dot { opacity: 0; transform-box: fill-box; transform-origin: center; animation: admPop 0.35s var(--d, 0.8s) cubic-bezier(0.3, 1.6, 0.5, 1) forwards; }
.adm .dh-card--seo { display: flex; flex-direction: column; align-items: center; text-align: center; }
.adm .dh-card--seo header { align-self: stretch; }
.adm .dh-donut { --donut: #d64545; position: relative; width: 148px; height: 148px; margin: 0.25rem 0 0.7rem; border-radius: 50%; background: conic-gradient(var(--donut) calc(var(--v, 0) * 1%), #e8eef5 0); box-shadow: inset 0 0 0 1px rgba(15, 40, 70, 0.04); }
.adm .dh-donut::before { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #fff; }
.adm .dh-donut--ok { --donut: #1f9d55; }
.adm .dh-donut--warn { --donut: #e8960c; }
.adm .dh-donut--bad { --donut: #d64545; }
.adm .dh-donut b { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; }
.adm .dh-seo__t { margin: 0 0 0.8rem; color: var(--muted); font-size: 0.86rem; }
.adm .dh-seo__t strong { color: var(--ink); }
.adm .dh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.adm .dh-list li { min-width: 0; }
.adm .dh-list a { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem; border-radius: 11px; color: var(--ink); text-decoration: none; transition: background 0.15s ease, transform 0.15s ease; }
.adm .dh-list a:hover { background: #f2f7fc; transform: translateX(2px); }
.adm .dh-list__t { display: grid; min-width: 0; flex: 1; gap: 1px; }
.adm .dh-list__t b { font-size: 0.86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm .dh-list__t small { color: var(--muted); font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm .dh-av { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #e6f1f8; color: var(--brand-deep); font-size: 0.8rem; font-weight: 800; }
.adm .dh-empty { display: flex; align-items: center; gap: 0.6rem; padding: 1.1rem 0.35rem; margin: 0; color: var(--muted); font-size: 0.86rem; }
.adm .dh-empty .ic { flex: none; color: #9fb2c7; }
.adm .dh-card .adm-table th { padding: 0.65rem 0.75rem; }
.adm .dh-card .adm-table td { padding: 0.7rem 0.75rem; }
.adm .dh-card .cell-stack b { white-space: nowrap; }
.adm .dh-card .cell-stack small { max-width: 185px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm .dh-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0.85rem; }
.adm .dh-tile {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--aline);
  border-radius: 15px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.adm .dh-tile .ic { color: var(--brand); transition: color 0.25s ease, transform 0.3s ease; }
.adm .dh-tile:hover { transform: translateY(-3px); background: linear-gradient(135deg, #16406f, #2f6fbd); color: #fff; box-shadow: 0 14px 30px rgba(22, 64, 111, 0.26); }
.adm .dh-tile:hover .ic { color: #fff; transform: scale(1.12) rotate(-5deg); }

/* Categorias */
.adm .catlist { display: grid; }
.adm .catlist__head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 84px auto 92px; gap: 0.55rem; padding: 0.7rem 1.15rem; border-bottom: 1px solid var(--aline); font-size: 0.69rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.adm .catrow { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 84px auto 92px; align-items: center; gap: 0.55rem; padding: 0.7rem 1.15rem; border-bottom: 1px solid var(--aline); }
.adm .catrow:last-child { border-bottom: 0; }
.adm .catrow__form { display: contents; }
.adm .catrow__form .field { margin: 0; min-width: 0; }
.adm .catrow__count { font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.adm .catrow__count b { color: var(--ink); }
.adm .catrow .rowmenu { flex: none; }
.adm .catrow .rowmenu summary { text-align: center; }
.adm .note-list { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.82rem; color: var(--muted); }
.adm .note-list li { display: flex; align-items: flex-start; gap: 0.45rem; }
.adm .note-list .ic { flex: none; margin-top: 2px; color: var(--brand); }
.adm .mini-list { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.3rem; font-size: 0.82rem; }
.adm .mini-list a { color: var(--brand-deep); text-decoration: none; }
.adm .mini-list a:hover { text-decoration: underline; }

/* SEO */
.adm .serp { border: 1px solid var(--aline); border-radius: 12px; padding: 0.9rem 1rem; background: #fff; font-family: Arial, sans-serif; max-width: 620px; }
.adm .serp__url { display: block; color: #188038; font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm .serp__title { display: block; color: #1a0dab; font-size: 1.1rem; font-weight: 400; line-height: 1.3; margin: 0.1rem 0; }
.adm .serp__desc { display: block; color: #4d5156; font-size: 0.85rem; }
.adm .checks { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.55rem; text-align: left; font-size: 0.8rem; width: 100%; }
.adm .checks li { display: grid; gap: 1px; padding-left: 1.05rem; position: relative; }
.adm .checks li::before { content: ""; position: absolute; left: 0; top: 0.42rem; width: 9px; height: 9px; border-radius: 50%; }
.adm .checks li.ok::before { background: #1f9d55; }
.adm .checks li.bad::before { background: #d64545; }
.adm .checks li span { font-weight: 600; color: var(--ink); }
.adm .checks li small { color: var(--muted); font-size: 0.75rem; }
.adm .card--seo { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Detalhe de encomenda */
.adm .totals { display: grid; gap: 0.35rem; justify-content: end; padding: 1rem 1.15rem 1.2rem; border-top: 1px solid var(--aline); }
.adm .totals > div { display: grid; grid-template-columns: 120px auto; gap: 1rem; align-items: baseline; justify-content: end; text-align: right; font-size: 0.85rem; }
.adm .totals span { color: var(--muted); }
.adm .totals__final { padding-top: 0.45rem; border-top: 1px solid var(--aline); font-size: 1rem !important; }
.adm .totals__final b { font-size: 1.15rem; }
.adm .customer { display: flex; align-items: center; gap: 0.75rem; padding: 0.35rem 0 0.9rem; border-bottom: 1px solid var(--aline); }
.adm .customer .cell-stack a { color: var(--brand-deep); text-decoration: none; font-size: 0.8rem; }
.adm .customer .cell-stack a:hover { text-decoration: underline; }
.adm .address { margin: 0; font-size: 0.86rem; color: var(--ink-soft); line-height: 1.55; }

/* Animações */
@keyframes admRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes admGrad { 0%, 100% { background-position: 0 50%; } 50% { background-position: 100% 50%; } }
@keyframes admFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes admSpin { to { transform: rotate(360deg); } }
@keyframes admWave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(16deg); } 20%, 40% { transform: rotate(-8deg); } 50% { transform: rotate(10deg); } }
@keyframes admDraw { to { stroke-dashoffset: 0; } }
@keyframes admFade { to { opacity: 1; } }
@keyframes admPop { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: none; } }
@keyframes admDonut { from { stroke-dasharray: 0 100; } }

/* Responsivo */
@media (max-width: 1180px) {
  .adm .dh-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adm .editor { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 980px) {
  .adm .dh-row,
  .adm .dh-row--2 { grid-template-columns: 1fr; }
  .adm .dh-hero__art { display: none; }
  .adm .dh-hero { padding: 1.6rem; }
  .adm .editor { grid-template-columns: 1fr; }
  .adm .card--seo { align-items: flex-start; }
  .adm .checks { max-width: 520px; }
}
@media (max-width: 820px) {
  .adm { grid-template-columns: 1fr; }
  .adm .side {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.8rem;
    overflow-x: auto;
  }
  .adm .side__brand { padding: 0; flex: none; }
  .adm .side__brand-txt { display: none; }
  .adm .side__mark { width: 34px; height: 34px; font-size: 0.8rem; }
  .adm .side nav { display: flex; gap: 3px; overflow: visible; }
  .adm .side__h { display: none; }
  .adm .side nav a { padding: 0.42rem 0.6rem; white-space: nowrap; font-size: 0.82rem; }
  .adm .side nav a:hover { transform: none; }
  .adm .side nav a span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .adm .side nav a .ic { margin: 0; }
  .adm .pill { margin-left: 0.2rem; }
  .adm .side__foot { display: none; }
  .adm .content { padding: 1.1rem 1rem 3rem; }
  .adm .top { padding: 0.5rem 1rem; gap: 0.6rem; }
  .adm .top__date { display: none; }
  .adm .top__user-meta { display: none; }
  .adm .top__user { padding-left: 0.5rem; }
  .adm .dh-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adm .catlist__head { display: none; }
  .adm .catrow { grid-template-columns: 1fr 1fr; align-items: end; }
  .adm .catrow__form .field { grid-column: span 1; }
  .adm .catrow__count { padding-bottom: 0; }
}
@media (max-width: 560px) {
  .adm .pagebar { align-items: flex-start; }
  .adm .dh-kpis { grid-template-columns: 1fr 1fr; }
  .adm .dh-kpi strong { font-size: 1.35rem; }
  .adm .dh-hero h1 { font-size: 1.45rem; }
  .adm .dh-hero__cta .btn { flex: 1 1 auto; }
  .adm .filters select { flex: 1 1 100%; }
  .adm .rowmenu__box { position: static; width: 100%; }
  .adm .adm-table th,
  .adm .adm-table td { padding: 0.65rem 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .adm .dh-hero,
  .adm .dh-kpi,
  .adm .dh-card,
  .adm .dh-tile,
  .adm .dh-blob,
  .adm .dh-orbit,
  .adm .dh-sat,
  .adm .dh-wave,
  .adm .page { animation: none !important; }
  .adm .dh-line,
  .adm .dh-kpi__spark polyline { stroke-dashoffset: 0; animation: none; }
  .adm .dh-dot,
  .adm .dh-area { opacity: 1; animation: none; }
  .adm .dh-donut__fg { animation: none; }
}

/* ============================================================
   19 · Loja Azul — frontend editorial (2026)
   Camada nova, isolada do backoffice (body.adm).
   ============================================================ */

:root {
	--font-editorial: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--cream: #fbf8f1;
	--navy: #0b1c33;
	--blue: #2f6fbd;
	--line-soft: #e9e4da;
	--shadow-soft: 0 24px 60px rgba(11, 28, 51, 0.10);
}

body:not(.adm) {
	background-color: #faf8f2;
	background-image:
		radial-gradient(900px 380px at 85% 0%, rgba(120, 160, 220, 0.10), transparent 65%),
		linear-gradient(180deg, #fdfbf7 0%, #faf8f2 460px);
}

body:not(.adm) h1,
body:not(.adm) h2,
body:not(.adm) h3 {
	letter-spacing: -0.035em;
}

body:not(.adm) .eyebrow {
	margin: 0 0 0.55rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #6b7c93;
}

body:not(.adm) .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------- Announcement ---------- */

.announce {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.5rem 1rem;
	background: var(--navy);
	color: #e8eef8;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
	text-align: center;
}

.announce:hover {
	color: #fff;
	background: #102848;
}

.announce__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #8ab4ff;
	box-shadow: 0 0 0 3px rgba(138, 180, 255, 0.18);
	flex: none;
}

.announce__sep { opacity: 0.4; }
.announce__soft { color: #a9bcd6; }

/* ---------- Header ---------- */

body:not(.adm) .site-header {
	background: rgba(252, 250, 246, 0.92);
	border-bottom: 1px solid var(--line-soft);
	backdrop-filter: saturate(150%) blur(14px);
}

body:not(.adm) .header-inner {
	min-height: 78px;
	gap: 1.1rem;
}

body:not(.adm) .brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	color: var(--navy);
	text-decoration: none;
}

body:not(.adm) .brand-mark {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 13px;
	background: linear-gradient(150deg, #16406f, #2f6fbd 60%, #6f9ade);
	color: #fff;
	font-family: var(--font-editorial);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	box-shadow: 0 6px 16px rgba(22, 64, 111, 0.22);
	flex: none;
}

body:not(.adm) .brand-text {
	display: grid;
	line-height: 1.05;
	font-family: var(--font-serif);
	font-size: 1.12rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

body:not(.adm) .brand-text small {
	font-family: var(--font-sans);
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: #7c8a9c;
	margin-top: 4px;
}

body:not(.adm) .site-nav {
	margin-left: auto;
}

body:not(.adm) .site-nav ul {
	gap: 1.45rem;
}

body:not(.adm) .site-nav a {
	font-size: 0.8rem;
	font-weight: 650;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #45556a;
	border-bottom-color: transparent;
}

body:not(.adm) .site-nav a:hover,
body:not(.adm) .site-nav .current-menu-item > a {
	color: var(--navy);
	border-bottom-color: var(--blue);
}

body:not(.adm) .header-actions {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.header-search {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	padding: 0.18rem 0.2rem 0.18rem 0.8rem;
	border: 1px solid #ddd8cd;
	border-radius: 999px;
	background: #fff;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.header-search:focus-within {
	border-color: #9db6d8;
	box-shadow: 0 0 0 3px rgba(47, 111, 189, 0.12);
}

.header-search input {
	width: 136px;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 0.82rem;
	color: var(--navy);
	padding: 0.35rem 0;
	outline: none;
}

.header-search input::placeholder {
	color: #97a3b2;
}

.header-search button {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: var(--navy);
	color: #fff;
	cursor: pointer;
	flex: none;
}

.header-search button:hover {
	background: var(--blue);
}

body:not(.adm) .cart-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.58rem 0.78rem;
	border-radius: 999px;
	background: transparent;
	border: 1px solid #ddd8cd;
	color: var(--navy);
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

body:not(.adm) .cart-link:hover {
	background: #fff;
	border-color: #c9c2b5;
	color: var(--navy);
}

body:not(.adm) .cart-count {
	display: inline-grid;
	place-items: center;
	min-width: 19px;
	height: 19px;
	padding-inline: 5px;
	border-radius: 999px;
	background: var(--navy);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
}

body:not(.adm) .menu-toggle {
	padding: 0.5rem 0.85rem;
	border-radius: 999px;
	border-color: #ddd8cd;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	display: none;
}

/* ---------- Hero ---------- */

body:not(.adm) .hero--home {
	padding-block: clamp(2.6rem, 1.6rem + 5vw, 5.4rem);
	background:
		radial-gradient(760px 500px at 78% 10%, rgba(163, 190, 231, 0.34), transparent 62%),
		radial-gradient(560px 460px at 8% 92%, rgba(211, 194, 164, 0.24), transparent 65%),
		linear-gradient(180deg, #fdfbf7, #f7f4ec);
	color: var(--navy);
	overflow: hidden;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: clamp(2rem, 1rem + 4vw, 4.5rem);
	align-items: center;
}

.hero-copy h1 {
	margin: 0 0 1.1rem;
	font-size: clamp(2.7rem, 1.8rem + 4.4vw, 4.9rem);
	font-weight: 600;
	line-height: 0.99;
	letter-spacing: -0.055em;
	max-width: 13ch;
}

.hero-copy h1 em {
	font-family: var(--font-editorial);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.03em;
	color: var(--blue);
}

.hero-lede {
	max-width: 46ch;
	margin: 0 0 1.8rem;
	font-size: clamp(1rem, 0.94rem + 0.3vw, 1.12rem);
	line-height: 1.65;
	color: #4c5b6e;
}

.hero-eyebrow {
	margin: 0 0 1rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #70829a;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-bottom: 2.2rem;
}

body:not(.adm) .btn--lg {
	padding: 0.95rem 1.55rem;
	font-size: 0.92rem;
	border-radius: 999px;
}

body:not(.adm) .hero-actions .btn--outline {
	border-color: #c9c2b5;
	color: var(--navy);
	background: rgba(255, 255, 255, 0.5);
}

body:not(.adm) .hero-actions .btn--outline:hover {
	border-color: var(--navy);
	background: #fff;
	color: var(--navy);
}

.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 1.6rem;
	margin: 0;
	padding: 1.2rem 0 0;
	list-style: none;
	border-top: 1px solid rgba(11, 28, 51, 0.10);
}

.hero-trust li {
	display: grid;
	gap: 1px;
}

.hero-trust strong {
	font-family: var(--font-editorial);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--navy);
}

.hero-trust span {
	font-size: 0.74rem;
	color: #73808f;
}

/* Hero stage */

.hero-stage {
	position: relative;
	min-height: 520px;
	display: grid;
	place-items: center;
	isolation: isolate;
}

.stage-halo {
	position: absolute;
	width: min(420px, 92%);
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(circle at 34% 28%, #ffffff 0%, #eaf1fb 38%, #cfdef5 68%, #b8cdec 100%);
	box-shadow:
		inset 0 30px 70px rgba(255, 255, 255, 0.75),
		inset 0 -40px 80px rgba(63, 104, 168, 0.18),
		0 40px 80px rgba(31, 64, 112, 0.16);
}

.stage-ring {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(31, 78, 120, 0.16);
}

.stage-ring--a {
	width: min(490px, 104%);
	aspect-ratio: 1;
	border-style: dashed;
	animation: stageSpin 60s linear infinite;
}

.stage-ring--b {
	width: min(350px, 78%);
	aspect-ratio: 1;
	border-color: rgba(31, 78, 120, 0.10);
}

.stage-crystal {
	position: relative;
	z-index: 2;
	width: min(300px, 66%);
	height: auto;
	filter: drop-shadow(0 34px 44px rgba(31, 64, 112, 0.28));
	animation: stageFloat 9s ease-in-out infinite;
}

.stage-shard {
	position: absolute;
	z-index: 1;
	width: 34px;
	height: 34px;
	background: linear-gradient(150deg, #ffffff, #b9d0ee);
	clip-path: polygon(50% 0, 100% 64%, 62% 100%, 8% 74%, 18% 22%);
	opacity: 0.9;
	filter: drop-shadow(0 8px 14px rgba(31, 64, 112, 0.18));
}

.stage-shard--a {
	left: 8%;
	top: 24%;
	transform: rotate(-18deg) scale(1.15);
	animation: stageFloat 11s ease-in-out -3s infinite;
}

.stage-shard--b {
	right: 9%;
	bottom: 24%;
	transform: rotate(24deg) scale(0.85);
	opacity: 0.7;
	animation: stageFloat 13s ease-in-out -6s infinite;
}

.stage-shard--c {
	right: 18%;
	top: 12%;
	transform: rotate(62deg) scale(0.55);
	opacity: 0.55;
}

.stage-card {
	position: absolute;
	z-index: 3;
	display: grid;
	gap: 1px;
	padding: 0.8rem 1rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 16px 38px rgba(11, 28, 51, 0.14);
	backdrop-filter: blur(10px);
	line-height: 1.2;
}

.stage-card b {
	font-family: var(--font-editorial);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--navy);
}

.stage-card span {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7a8798;
}

.stage-card--ship {
	left: 0;
	bottom: 16%;
	animation: stageFloat 10s ease-in-out -2s infinite;
}

.stage-card--rating {
	right: 0;
	top: 14%;
	animation: stageFloat 12s ease-in-out -5s infinite;
}

.stage-card--rating span {
	color: #c8862a;
	letter-spacing: 0.12em;
}

@keyframes stageFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

@keyframes stageSpin {
	to { transform: rotate(360deg); }
}

/* ---------- Trust strip ---------- */

.trust-strip {
	border-block: 1px solid var(--line-soft);
	background: rgba(255, 255, 255, 0.6);
}

.trust-strip__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.15rem 1.2rem;
	border-left: 1px solid var(--line-soft);
}

.trust-item:first-child { border-left: 0; padding-left: 0; }

.trust-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #eef3fa;
	color: #2c5a96;
	flex: none;
}

.trust-item > span:last-child {
	display: grid;
	gap: 1px;
	line-height: 1.3;
}

.trust-item strong {
	font-size: 0.83rem;
	font-weight: 700;
	color: var(--navy);
}

.trust-item small {
	font-size: 0.74rem;
	color: #73808f;
}

/* ---------- Section heads ---------- */

body:not(.adm) .section {
	padding-block: clamp(2.8rem, 2rem + 3vw, 4.8rem);
}

body:not(.adm) .section--tight {
	padding-block: clamp(1.8rem, 1.2rem + 2vw, 3rem);
}

body:not(.adm) .section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.2rem;
	flex-wrap: wrap;
	margin-bottom: 1.8rem;
}

body:not(.adm) .section-head h2 {
	margin: 0;
	font-size: clamp(1.9rem, 1.4rem + 1.7vw, 2.7rem);
	line-height: 1.05;
}

body:not(.adm) .section-link {
	position: relative;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--navy);
	text-decoration: none;
	border-bottom: 1px solid #c5beb1;
	padding-bottom: 3px;
	white-space: nowrap;
}

body:not(.adm) .section-link:hover {
	color: var(--blue);
	border-bottom-color: var(--blue);
}

/* ---------- Categories ---------- */

body:not(.adm) .cat-grid--rich {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.7rem;
}

body:not(.adm) .cat-tile--rich {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	min-height: 92px;
	padding: 0.95rem 1rem;
	border: 1px solid var(--line-soft);
	border-radius: 16px;
	background: #fff;
	color: var(--navy);
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body:not(.adm) .cat-tile--rich::after {
	content: "";
	position: absolute;
	width: 120px;
	height: 120px;
	right: -50px;
	bottom: -60px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(47, 111, 189, 0.14), transparent 68%);
	transition: transform 0.25s ease;
}

body:not(.adm) .cat-tile--rich:hover {
	transform: translateY(-3px);
	border-color: #cfd9e8;
	box-shadow: 0 16px 34px rgba(11, 28, 51, 0.09);
	color: var(--navy);
}

body:not(.adm) .cat-tile--rich:hover::after { transform: scale(1.5); }

.cat-tile__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: #f0f4fa;
	color: #34629e;
	flex: none;
}

.cat-tile__icon .glyph { width: 23px; height: 23px; }

.cat-tile__body {
	display: grid;
	gap: 1px;
	min-width: 0;
	line-height: 1.25;
}

.cat-tile__body strong {
	font-family: var(--font-editorial);
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.cat-tile__body small {
	font-size: 0.72rem;
	color: #7b8797;
}

.cat-tile__arrow {
	margin-left: auto;
	font-size: 1rem;
	color: #a7b1bf;
	transition: transform 0.2s ease, color 0.2s ease;
}

body:not(.adm) .cat-tile--rich:hover .cat-tile__arrow {
	transform: translateX(3px);
	color: var(--blue);
}

/* ---------- Product grid + cards ---------- */

body:not(.adm) .product-grid--rich {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.1rem;
}

body:not(.adm) .product-card--rich {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line-soft);
	border-radius: 18px;
	background: #fff;
	overflow: hidden;
	transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

body:not(.adm) .product-card--rich:hover {
	transform: translateY(-4px);
	border-color: #d3cdc0;
	box-shadow: 0 22px 46px rgba(11, 28, 51, 0.10);
}

body:not(.adm) .product-card--rich .product-media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 4 / 3.55;
	background:
		radial-gradient(circle at 64% 28%, #ffffff 0%, transparent 46%),
		linear-gradient(155deg, #eef3fa 0%, #e2eaf6 55%, #d6e2f2 100%);
	overflow: hidden;
}

body:not(.adm) .product-card--rich:nth-child(4n + 2) .product-media {
	background:
		radial-gradient(circle at 38% 24%, #ffffff 0%, transparent 48%),
		linear-gradient(155deg, #f7f2e9 0%, #efe6d6 58%, #e4d7c2 100%);
}

body:not(.adm) .product-card--rich:nth-child(4n + 3) .product-media {
	background:
		radial-gradient(circle at 60% 30%, #ffffff 0%, transparent 46%),
		linear-gradient(155deg, #eef6f2 0%, #dfeee6 58%, #cfe3d8 100%);
}

body:not(.adm) .product-card--rich:nth-child(4n + 4) .product-media {
	background:
		radial-gradient(circle at 40% 26%, #ffffff 0%, transparent 46%),
		linear-gradient(155deg, #f4eef7 0%, #e7dced 58%, #d8cae2 100%);
}

body:not(.adm) .product-card--rich .product-media::before {
	content: "";
	position: absolute;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.7);
	box-shadow: inset 0 0 0 16px rgba(255, 255, 255, 0.16);
}

.pc-glyph {
	position: absolute;
	top: 0.85rem;
	right: 0.9rem;
	color: rgba(30, 62, 104, 0.4);
}

.pc-glyph .glyph { width: 24px; height: 24px; }

.pc-mark {
	position: relative;
	z-index: 1;
	font-family: var(--font-editorial);
	font-size: clamp(3.6rem, 2.4rem + 2.4vw, 5rem);
	font-weight: 400;
	line-height: 1;
	color: rgba(17, 44, 79, 0.72);
	text-shadow: 0 10px 24px rgba(17, 44, 79, 0.14);
	transition: transform 0.3s ease;
}

body:not(.adm) .product-card--rich:hover .pc-mark { transform: scale(1.05); }

.pc-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	background: rgba(11, 28, 51, 0.88);
	color: #fff;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.pc-cta {
	position: absolute;
	left: 0.8rem;
	right: 0.8rem;
	bottom: 0.8rem;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.55rem 0.8rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--navy);
	font-size: 0.74rem;
	font-weight: 650;
	letter-spacing: 0.02em;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

body:not(.adm) .product-card--rich:hover .pc-cta {
	opacity: 1;
	transform: translateY(0);
}

body:not(.adm) .product-card--rich .product-body {
	display: grid;
	gap: 0.28rem;
	padding: 1rem 1.05rem 1.05rem;
}

body:not(.adm) .product-card--rich .product-cat {
	margin: 0;
	font-size: 0.66rem;
	font-weight: 750;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: #7d8a99;
}

body:not(.adm) .product-card--rich .product-title {
	margin: 0;
	font-family: var(--font-editorial);
	font-size: 1.06rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

body:not(.adm) .product-card--rich .product-title a {
	color: var(--navy);
	text-decoration: none;
}

body:not(.adm) .product-card--rich .product-title a:hover {
	color: var(--blue);
}

.pc-meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.6rem;
	margin-top: 0.15rem;
}

.pc-stars {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: #c8862a;
}

.pc-price {
	font-size: 0.95rem;
	font-weight: 750;
	color: var(--navy);
	white-space: nowrap;
}

.pc-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	margin-top: 0.45rem;
	padding-top: 0.6rem;
	border-top: 1px solid #f0ece3;
}

.pc-stock {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.68rem;
	font-weight: 650;
	letter-spacing: 0.02em;
}

.pc-stock::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
}

.pc-stock.is-ok { color: #1a7a5f; }
.pc-stock.is-low { color: #a06a12; }
.pc-stock.is-out { color: #a63428; }

.pc-buy {
	font-size: 0.7rem;
	font-weight: 650;
	color: var(--navy);
	text-decoration: none;
	border-bottom: 1px solid #c9c2b5;
	padding-bottom: 1px;
}

.pc-buy:hover { color: var(--blue); border-bottom-color: var(--blue); }

/* ---------- Promise ---------- */

.promise {
	padding-block: clamp(3rem, 2rem + 4vw, 5.2rem);
	background:
		radial-gradient(700px 420px at 12% 10%, rgba(120, 160, 220, 0.16), transparent 65%),
		#0d2138;
	color: #eef3fa;
	overflow: hidden;
}

.promise__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(2rem, 1rem + 4vw, 4.5rem);
	align-items: center;
}

.promise__art {
	position: relative;
	min-height: 430px;
	display: grid;
	place-items: center;
}

.promise__orb {
	position: absolute;
	width: min(360px, 88%);
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.5), transparent 40%),
		linear-gradient(150deg, #2c5f9c, #163a63 55%, #0b1c33);
	box-shadow: inset 0 0 80px rgba(2, 10, 20, 0.5), 0 40px 80px rgba(0, 0, 0, 0.3);
}

.promise__line {
	position: absolute;
	width: min(430px, 100%);
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1px dashed rgba(190, 214, 245, 0.28);
	animation: stageSpin 80s linear infinite;
}

.promise__quote {
	position: relative;
	z-index: 2;
	max-width: 300px;
	margin: 0;
	padding: 1.6rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(9px);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.promise__quote p {
	margin: 0 0 0.9rem;
	font-family: var(--font-editorial);
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
	font-style: italic;
	line-height: 1.45;
	color: #f4f8ff;
}

.promise__quote cite {
	font-size: 0.68rem;
	font-style: normal;
	font-weight: 650;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #9fb6d4;
}

.promise__stamp {
	position: absolute;
	right: 6%;
	bottom: 6%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 86px;
	height: 86px;
	border-radius: 50%;
	background: #e9dfca;
	color: #6d5626;
	font-family: var(--font-editorial);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: 0.06em;
	text-align: center;
	transform: rotate(-8deg);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.promise__stamp small {
	font-family: var(--font-sans);
	font-size: 0.52rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.promise .eyebrow { color: #8fb0d6; }

.promise__copy h2 {
	margin: 0 0 1rem;
	font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem);
	line-height: 1.02;
	color: #f7fafd;
	max-width: 18ch;
}

.promise__copy > p {
	max-width: 48ch;
	color: #b7c8dc;
	line-height: 1.7;
}

.promise__list {
	display: grid;
	gap: 1rem;
	margin: 1.8rem 0 2rem;
	padding: 0;
	list-style: none;
}

.promise__list li {
	display: flex;
	gap: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(190, 214, 245, 0.16);
}

.promise__num {
	font-family: var(--font-editorial);
	font-size: 0.95rem;
	color: #8fb0d6;
	flex: none;
	padding-top: 2px;
}

.promise__list li > span:last-child {
	display: grid;
	gap: 0.2rem;
}

.promise__list strong {
	font-size: 0.92rem;
	font-weight: 650;
	color: #f2f6fb;
}

.promise__list small {
	font-size: 0.82rem;
	line-height: 1.55;
	color: #a9bdd4;
}

.promise .btn--outline {
	border-color: rgba(255, 255, 255, 0.4);
	color: #f2f6fb;
	background: transparent;
}

.promise .btn--outline:hover {
	background: #fff;
	border-color: #fff;
	color: var(--navy);
}

/* ---------- Journal ---------- */

.journal-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.1rem;
}

.journal-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line-soft);
	border-radius: 18px;
	background: #fff;
	overflow: hidden;
	transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.journal-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 44px rgba(11, 28, 51, 0.09);
}

.journal-card__cover {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background:
		radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.6), transparent 48%),
		linear-gradient(150deg, #e8eff9, #cadcef);
	overflow: hidden;
}

.journal-card:nth-child(2n) .journal-card__cover {
	background:
		radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.6), transparent 46%),
		linear-gradient(150deg, #f4eee2, #e3d5bd);
}

.journal-card:nth-child(3n) .journal-card__cover {
	background:
		radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.55), transparent 46%),
		linear-gradient(150deg, #e9f1ee, #cfe2da);
}

.journal-card__topic {
	position: absolute;
	top: 0.8rem;
	left: 0.8rem;
	z-index: 2;
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: #3c5470;
	font-size: 0.62rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.journal-card__glyph {
	position: absolute;
	right: 1rem;
	bottom: 0.8rem;
	color: rgba(20, 48, 82, 0.4);
}

.journal-card__glyph .glyph { width: 54px; height: 54px; stroke-width: 1; }

.journal-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1.1rem 1.15rem 1.2rem;
	flex: 1;
}

.journal-meta {
	margin: 0;
	font-size: 0.68rem;
	font-weight: 650;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #84909f;
}

.journal-card__body h3 {
	margin: 0;
	font-family: var(--font-editorial);
	font-size: 1.18rem;
	line-height: 1.28;
	letter-spacing: -0.01em;
}

.journal-card__body h3 a {
	color: var(--navy);
	text-decoration: none;
}

.journal-card__body h3 a:hover { color: var(--blue); }

.journal-card__body > p {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.6;
	color: #5a6a7d;
}

.journal-link {
	margin-top: auto;
	padding-top: 0.5rem;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: var(--navy);
	text-decoration: none;
}

.journal-link span { transition: transform 0.2s ease; display: inline-block; }
.journal-link:hover { color: var(--blue); }
.journal-link:hover span { transform: translateX(3px); }

/* Newsletter */

.newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	gap: 1.5rem;
	align-items: center;
	margin-top: 1.8rem;
	padding: clamp(1.5rem, 1rem + 2vw, 2.6rem);
	border-radius: 22px;
	background:
		radial-gradient(600px 300px at 90% 0%, rgba(138, 180, 255, 0.28), transparent 65%),
		linear-gradient(130deg, #0d2138, #173d66 70%, #245a92);
	color: #f0f5fb;
}

.newsletter .eyebrow { color: #9db8d8; }

.newsletter h3 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
	color: #fff;
}

.newsletter p {
	margin: 0;
	color: #b6c8dc;
	font-size: 0.9rem;
	max-width: 42ch;
}

.newsletter__form {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.newsletter__form input {
	flex: 1 1 210px;
	min-width: 0;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font: inherit;
	font-size: 0.88rem;
	outline: none;
}

.newsletter__form input::placeholder { color: #a9bdd4; }

.newsletter__form input:focus {
	border-color: rgba(255, 255, 255, 0.7);
	background: rgba(255, 255, 255, 0.16);
}

.newsletter__form .btn {
	background: #f6f1e6;
	border-color: #f6f1e6;
	color: var(--navy);
}

.newsletter__form .btn:hover {
	background: #fff;
	border-color: #fff;
	color: var(--navy);
}

/* ---------- Footer ---------- */

body:not(.adm) .site-footer {
	margin-top: 0;
	padding-top: clamp(2.8rem, 2rem + 3vw, 4.4rem);
	background: #0b1c33;
	color: #b9c8d9;
	border-top: 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr));
	gap: 2rem;
	padding-bottom: 2.6rem;
}

body:not(.adm) .brand--footer {
	margin-bottom: 1rem;
	color: #fff;
}

body:not(.adm) .brand--footer .brand-text { color: #fff; }
body:not(.adm) .brand--footer .brand-text small { color: #8fa5bd; }
body:not(.adm) .brand--footer .brand-mark {
	background: rgba(255, 255, 255, 0.1);
	box-shadow: none;
	color: #e8f0fb;
}

.footer-brand p {
	max-width: 34ch;
	font-size: 0.86rem;
	line-height: 1.7;
	color: #a5b7cb;
}

.footer-note {
	font-size: 0.74rem;
	color: #7f94ab;
}

.footer-grid h3 {
	margin: 0.2rem 0 0.9rem;
	font-family: var(--font-sans);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #e8eef7;
}

.footer-grid ul {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.84rem;
}

.footer-grid ul a {
	color: #a9bbcf;
	text-decoration: none;
}

.footer-grid ul a:hover { color: #fff; }

.footer-grid ul li {
	color: #8ea3b9;
	line-height: 1.5;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-block: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.74rem;
	color: #8095ab;
}

.footer-bottom p { margin: 0; }

/* ---------- Category hero + chips ---------- */

.cat-hero {
	padding-block: clamp(1.4rem, 1rem + 2vw, 2.6rem) clamp(1.6rem, 1.2rem + 2vw, 2.8rem);
	background:
		radial-gradient(680px 340px at 82% 8%, rgba(150, 182, 226, 0.30), transparent 62%),
		linear-gradient(180deg, #fdfbf7, #f6f2e9);
	border-bottom: 1px solid var(--line-soft);
}

.cat-hero__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
}

.cat-hero h1 {
	margin: 0 0 0.7rem;
	font-size: clamp(2.4rem, 1.8rem + 3vw, 3.9rem);
	line-height: 1;
}

.cat-hero__lede {
	max-width: 54ch;
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.65;
	color: #526275;
}

.cat-hero__badge {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.9rem 1.1rem;
	border-radius: 18px;
	border: 1px solid rgba(11, 28, 51, 0.08);
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(8px);
	flex: none;
}

.cat-hero__glyph {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border-radius: 14px;
	background: #eaf1fb;
	color: #2f5f9c;
}

.cat-hero__glyph .glyph { width: 27px; height: 27px; }

.cat-hero__count {
	display: grid;
	line-height: 1;
	font-family: var(--font-editorial);
	font-size: 1.9rem;
	font-weight: 500;
	color: var(--navy);
}

.cat-hero__count small {
	margin-top: 4px;
	font-family: var(--font-sans);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #7f8c9c;
}

.chip-row {
	display: flex;
	gap: 0.45rem;
	flex-wrap: wrap;
	margin-bottom: 1.7rem;
}

.chip-row .chip {
	display: inline-flex;
	align-items: center;
	padding: 0.42rem 0.85rem;
	border: 1px solid #ddd7ca;
	border-radius: 999px;
	background: #fff;
	color: #4a5a6d;
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.chip-row .chip:hover {
	border-color: #b9c8dc;
	color: var(--navy);
	background: #f7fafd;
}

.chip-row .chip.is-active {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

body:not(.adm) .breadcrumb {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	margin-bottom: 1.4rem;
	font-size: 0.74rem;
	color: #7d8a99;
}

body:not(.adm) .breadcrumb a {
	color: #5d6c7e;
	text-decoration: none;
}

body:not(.adm) .breadcrumb a:hover { color: var(--navy); text-decoration: underline; }

.empty-note {
	padding: 2.2rem;
	border: 1px dashed #d8d1c3;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.6);
	text-align: center;
	color: #5a6a7d;
}

.empty-note p { margin: 0 0 1rem; }

/* ---------- PDP ---------- */

.pdp-section { padding-top: 1.6rem; }

.pdp {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	gap: clamp(1.6rem, 1rem + 3vw, 3.6rem);
	align-items: start;
}

.pdp-gallery {
	position: sticky;
	top: 104px;
	display: grid;
	gap: 0.7rem;
}

.pdp-stage {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1.02;
	border-radius: 22px;
	border: 1px solid var(--line-soft);
	background:
		radial-gradient(circle at 64% 26%, #ffffff 0%, transparent 46%),
		linear-gradient(155deg, #eef3fa 0%, #e1e9f5 55%, #d2dfef 100%);
	overflow: hidden;
}

.pdp-stage__ring {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.8);
}

.pdp-stage__ring--a {
	width: 62%;
	aspect-ratio: 1;
	box-shadow: inset 0 0 0 18px rgba(255, 255, 255, 0.18);
}

.pdp-stage__ring--b {
	width: 86%;
	aspect-ratio: 1;
	border-style: dashed;
	border-color: rgba(31, 78, 120, 0.16);
	animation: stageSpin 70s linear infinite;
}

.pdp-stage__glyph {
	position: absolute;
	top: 1.1rem;
	right: 1.1rem;
	color: rgba(30, 62, 104, 0.4);
}

.pdp-stage__glyph .glyph { width: 30px; height: 30px; }

.pdp-stage__mark {
	position: relative;
	z-index: 1;
	font-family: var(--font-editorial);
	font-size: clamp(7rem, 4rem + 8vw, 11rem);
	font-weight: 400;
	line-height: 1;
	color: rgba(17, 44, 79, 0.76);
	text-shadow: 0 22px 40px rgba(17, 44, 79, 0.16);
}

.pdp-stage__caption {
	position: absolute;
	left: 1.1rem;
	bottom: 1rem;
	padding: 0.3rem 0.6rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	font-size: 0.64rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #56708f;
}

.pdp-thumbs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
}

.pdp-thumb {
	display: grid;
	place-items: center;
	aspect-ratio: 1.6;
	border: 1px solid var(--line-soft);
	border-radius: 12px;
	background: #f3f6fb;
	color: #3b5f8f;
	font-family: var(--font-editorial);
	font-size: 1.2rem;
}

.pdp-thumb.is-active { border-color: #9db6d8; box-shadow: 0 0 0 2px rgba(47, 111, 189, 0.12); }
.pdp-thumb--alt { background: #f6f2e9; color: #8a6b35; }
.pdp-thumb--dark { background: #0f2946; color: #dbe7f6; font-size: 0.85rem; letter-spacing: 0.08em; }
.pdp-thumb .glyph { width: 22px; height: 22px; }

.pdp-info { padding-top: 0.4rem; }

.pdp-info h1 {
	margin: 0 0 0.7rem;
	font-size: clamp(2rem, 1.5rem + 2.6vw, 3.4rem);
	line-height: 1.02;
}

.pdp-rating {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 1.2rem;
	font-size: 0.78rem;
	color: #7b8797;
}

.pdp-price {
	margin: 0 0 1rem;
	font-size: 1.55rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	color: var(--navy);
}

.pdp-price small {
	margin-left: 0.35rem;
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0;
	color: #8b96a4;
}

.pdp-lede {
	max-width: 52ch;
	margin: 0 0 1.2rem;
	font-size: 0.95rem;
	line-height: 1.7;
	color: #4f5f72;
}

body:not(.adm) .stock-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 1.3rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 650;
}

body:not(.adm) .stock-pill.is-ok { background: #e9f4ef; color: #176b52; }
body:not(.adm) .stock-pill.is-low { background: #fbf2e2; color: #8a5a12; }
body:not(.adm) .stock-pill.is-out { background: #fbeceb; color: #93231c; }

.stock-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.pdp-form {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	margin-bottom: 1.4rem;
}

.pdp-form .qty {
	width: 78px;
	padding: 0.85rem 0.6rem;
	border: 1px solid #d8d2c6;
	border-radius: 999px;
	background: #fff;
	color: var(--navy);
	font: inherit;
	font-size: 0.9rem;
	text-align: center;
	outline: none;
}

.pdp-form .qty:focus {
	border-color: #9db6d8;
	box-shadow: 0 0 0 3px rgba(47, 111, 189, 0.12);
}

.pdp-form .btn { flex: 1 1 220px; border-radius: 999px; }

.pdp-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.6rem;
	margin: 0 0 1.6rem;
	padding: 0;
	list-style: none;
}

.pdp-benefits li {
	display: grid;
	gap: 2px;
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--line-soft);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.65);
	line-height: 1.3;
}

.pdp-benefits strong {
	font-size: 0.78rem;
	color: var(--navy);
}

.pdp-benefits span {
	font-size: 0.7rem;
	color: #7b8797;
}

.pdp-details {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line-soft);
}

.pdp-details details {
	border-bottom: 1px solid var(--line-soft);
}

.pdp-details summary {
	position: relative;
	padding: 0.95rem 1.4rem 0.95rem 0;
	cursor: pointer;
	list-style: none;
	font-size: 0.86rem;
	font-weight: 650;
	color: var(--navy);
}

.pdp-details summary::-webkit-details-marker { display: none; }

.pdp-details summary::after {
	content: "+";
	position: absolute;
	right: 0.2rem;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--font-editorial);
	font-size: 1.15rem;
	color: #7b8797;
}

.pdp-details details[open] summary::after { content: "–"; }

.pdp-details p {
	margin: 0;
	padding: 0 1.5rem 1rem 0;
	font-size: 0.86rem;
	line-height: 1.7;
	color: #5a6a7d;
}

/* ---------- Content pages / prose ---------- */

.page-hero,
.article-hero,
.journal-hero {
	padding-block: clamp(1.6rem, 1.2rem + 2.4vw, 3.4rem);
	background:
		radial-gradient(680px 340px at 84% 4%, rgba(150, 182, 226, 0.28), transparent 62%),
		linear-gradient(180deg, #fdfbf7, #f6f2e9);
	border-bottom: 1px solid var(--line-soft);
}

.page-hero__inner,
.article-hero__inner,
.journal-hero__inner {
	max-width: 900px;
}

.page-hero h1,
.article-hero h1,
.journal-hero h1 {
	margin: 0 0 0.9rem;
	font-size: clamp(2.4rem, 1.8rem + 3.4vw, 4.2rem);
	line-height: 1;
	letter-spacing: -0.05em;
}

.page-hero__lede,
.article-hero__lede,
.journal-hero__lede {
	max-width: 62ch;
	margin: 0;
	font-family: var(--font-editorial);
	font-size: clamp(1.05rem, 0.98rem + 0.5vw, 1.3rem);
	line-height: 1.55;
	color: #4f5f72;
}

.journal-hero__lede { font-family: var(--font-sans); font-size: 1rem; color: #56677b; }

.prose-section { padding-top: clamp(1.8rem, 1.3rem + 2vw, 3rem); }

.prose-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: clamp(1.6rem, 1rem + 3vw, 3.4rem);
	align-items: start;
}

.prose-wrap--article { max-width: 980px; }

.prose {
	font-size: 1rem;
	line-height: 1.8;
	color: #34465b;
}

.prose > .lead,
.prose > p:first-of-type.lead {
	font-family: var(--font-editorial);
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.42rem);
	line-height: 1.55;
	color: var(--navy);
}

.prose p { margin: 0 0 1.15rem; }
.prose h2 {
	margin: 2rem 0 0.7rem;
	font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
	line-height: 1.15;
	color: var(--navy);
}
.prose h3 {
	margin: 1.6rem 0 0.5rem;
	font-size: 1.25rem;
	color: var(--navy);
}
.prose ul,
.prose ol {
	margin: 0 0 1.2rem;
	padding-left: 1.2rem;
}
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: var(--navy); }
.prose a { color: #245a96; }
.prose blockquote {
	margin: 1.8rem 0;
	padding: 1.1rem 1.3rem;
	border-left: 3px solid #8fb0d6;
	border-radius: 0 12px 12px 0;
	background: #f3f7fc;
	font-family: var(--font-editorial);
	font-size: 1.15rem;
	font-style: italic;
	line-height: 1.55;
	color: #2f4d70;
}
.prose hr {
	margin: 2rem 0;
	border: 0;
	border-top: 1px solid var(--line-soft);
}

.prose-aside {
	position: sticky;
	top: 104px;
	display: grid;
	gap: 0.8rem;
}

.aside-card {
	padding: 1.3rem;
	border: 1px solid var(--line-soft);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(11, 28, 51, 0.04);
}

.aside-card h2 {
	margin: 0 0 0.6rem;
	font-size: 1.25rem;
}

.aside-card p {
	font-size: 0.84rem;
	line-height: 1.6;
	color: #5a6a7d;
}

.aside-card--cta {
	background:
		radial-gradient(300px 200px at 90% 0%, rgba(138, 180, 255, 0.25), transparent 65%),
		linear-gradient(140deg, #0d2138, #1b446f);
	color: #e9f0f8;
	border: 0;
}

.aside-card--cta .eyebrow { color: #9db8d8; }
.aside-card--cta h2 { color: #fff; }
.aside-card--cta p { color: #b6c8dc; }

.aside-link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.6rem;
	padding: 0.62rem 0;
	border-top: 1px solid #f0ece3;
	font-size: 0.82rem;
	font-weight: 600;
	color: #34465b;
	text-decoration: none;
	line-height: 1.4;
}

.aside-link:first-of-type { margin-top: 0.7rem; border-top: 0; }
.aside-link:hover { color: var(--blue); }
.aside-link span { flex: none; }

.aside-card .btn.block { display: flex; width: 100%; justify-content: center; }
.aside-card .aside-link + .aside-link { border-top: 1px solid #f0ece3; }

/* Journal listing */

.journal-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	gap: 1.4rem;
	margin-bottom: 2.4rem;
	align-items: stretch;
}

.journal-feature__cover {
	position: relative;
	display: block;
	min-height: 320px;
	border-radius: 22px;
	background:
		radial-gradient(circle at 70% 24%, rgba(255, 255, 255, 0.6), transparent 46%),
		linear-gradient(150deg, #e6eef9, #c3d6ed 60%, #a9c2e2);
	overflow: hidden;
}

.journal-feature__glyph {
	position: absolute;
	right: 1.4rem;
	bottom: 1.2rem;
	color: rgba(20, 48, 82, 0.36);
}

.journal-feature__glyph .glyph { width: 110px; height: 110px; stroke-width: 0.9; }

.journal-feature__mark {
	position: absolute;
	left: 1.4rem;
	bottom: 0.8rem;
	font-family: var(--font-editorial);
	font-size: clamp(4rem, 3rem + 4vw, 7rem);
	line-height: 0.9;
	color: rgba(17, 44, 79, 0.2);
}

.journal-feature__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.7rem;
	padding: clamp(1rem, 0.6rem + 1.4vw, 2rem);
	border: 1px solid var(--line-soft);
	border-radius: 22px;
	background: #fff;
}

.journal-feature__body h2 {
	margin: 0;
	font-family: var(--font-editorial);
	font-size: clamp(1.7rem, 1.3rem + 2vw, 2.6rem);
	line-height: 1.08;
}

.journal-feature__body h2 a { color: var(--navy); text-decoration: none; }
.journal-feature__body h2 a:hover { color: var(--blue); }
.journal-feature__body > p { margin: 0; font-size: 0.92rem; line-height: 1.65; color: #5a6a7d; }
.journal-feature__body .btn { align-self: flex-start; margin-top: 0.3rem; }

.journal-grid--wide { margin-top: 0.5rem; }

/* Flash alert (storefront) */

body:not(.adm) .flash,
body:not(.adm) .alert {
	width: 100%;
	max-width: var(--wrap);
	margin: 0.9rem auto 0;
	padding: 0.8rem 1.1rem;
	border-radius: 12px;
	font-size: 0.85rem;
}

body:not(.adm) .flash--ok { background: #e9f4ef; color: #14664f; border: 1px solid #bfe2d4; }
body:not(.adm) .flash--error { background: #fbeceb; color: #8f2a22; border: 1px solid #efc7c2; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	body:not(.adm) .cat-grid--rich { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body:not(.adm) .product-grid--rich { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.header-search input { width: 110px; }
	.hero-stage { min-height: 430px; }
}

@media (max-width: 960px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
	.hero-stage { min-height: 400px; order: 2; }
	.hero-copy h1 { max-width: 16ch; }
	.promise__grid { grid-template-columns: minmax(0, 1fr); }
	.promise__art { min-height: 340px; order: 2; }
	.promise__orb { width: min(300px, 80%); }
	.newsletter { grid-template-columns: minmax(0, 1fr); }
	.newsletter__form { justify-content: flex-start; }
	.trust-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust-item:nth-child(3) { border-left: 0; padding-left: 0; }
	.trust-item { border-top: 1px solid var(--line-soft); }
	.trust-item:nth-child(-n + 2) { border-top: 0; }
	.pdp { grid-template-columns: minmax(0, 1fr); }
	.pdp-gallery { position: static; }
	.pdp-stage { aspect-ratio: 1.25; }
	.prose-wrap { grid-template-columns: minmax(0, 1fr); }
	.prose-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.journal-feature { grid-template-columns: minmax(0, 1fr); }
	.journal-feature__cover { min-height: 240px; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body:not(.adm) .site-nav { display: none; }
	body:not(.adm) .menu-toggle { display: inline-block; }
	body:not(.adm) .header-inner { flex-wrap: wrap; padding-block: 0.55rem; }
	body:not(.adm) .brand { margin-right: auto; }
	body:not(.adm) .header-actions { order: 3; }
	body:not(.adm) .menu-toggle { order: 2; margin-left: auto; }
	body:not(.adm) .site-nav {
		order: 4;
		flex-basis: 100%;
		margin-left: 0;
		padding-top: 0.4rem;
	}
	#nav-toggle:checked ~ .site-nav { display: block; }
	body:not(.adm) .site-nav ul { flex-direction: column; gap: 0.15rem; padding-bottom: 0.4rem; }
	body:not(.adm) .site-nav a { display: block; padding: 0.55rem 0; border-bottom: 1px solid var(--line-soft); }
	.cat-hero__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
	.header-search { display: none; }
	body:not(.adm) .cart-label { display: none; }
	body:not(.adm) .cart-link { padding: 0.5rem 0.65rem; }
	.announce__soft,
	.announce__sep { display: none; }
	body:not(.adm) .cat-grid--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body:not(.adm) .product-grid--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
	body:not(.adm) .product-card--rich .product-body { padding: 0.8rem 0.85rem 0.9rem; }
	body:not(.adm) .product-card--rich .product-title { font-size: 0.98rem; }
	.pc-cta { display: none; }
	.journal-grid { grid-template-columns: minmax(0, 1fr); }
	.promise__quote { max-width: 260px; }
	.pdp-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pdp-benefits li { padding: 0.6rem; }
	.pdp-benefits span { font-size: 0.65rem; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
	.prose-aside { grid-template-columns: minmax(0, 1fr); }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
	body:not(.adm) .cat-grid--rich { grid-template-columns: minmax(0, 1fr); }
	body:not(.adm) .product-grid--rich { grid-template-columns: minmax(0, 1fr); }
	.hero-copy h1 { font-size: 2.5rem; }
	.hero-stage { min-height: 330px; }
	.stage-crystal { width: min(230px, 60%); }
	.stage-card { padding: 0.6rem 0.75rem; }
	.stage-card b { font-size: 1rem; }
	.stage-card--ship { left: 0; bottom: 10%; }
	.stage-card--rating { right: 0; top: 8%; }
	.trust-strip__grid { grid-template-columns: minmax(0, 1fr); }
	.trust-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-soft); }
	.trust-item:first-child { border-top: 0; }
	.hero-trust { gap: 1rem; }
	.promise__stamp { width: 68px; height: 68px; font-size: 0.68rem; }
	.pdp-benefits { grid-template-columns: minmax(0, 1fr); }
	.pdp-form .btn { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.stage-crystal,
	.stage-card,
	.stage-shard,
	.stage-ring,
	.promise__line,
	.pdp-stage__ring--b {
		animation: none !important;
	}
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   20 · Categorias com fotografia + footer editorial
   ========================================================================== */

body:not(.adm) .cat-grid--rich {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	counter-reset: none;
}

body:not(.adm) .cat-tile--rich {
	display: block;
	position: relative;
	isolation: isolate;
	min-height: 0;
	padding: 0;
	aspect-ratio: 4 / 4.3;
	border: 0;
	border-radius: 20px;
	background: #0a1a2f;
	color: #fff;
	overflow: hidden;
	box-shadow: 0 18px 40px -34px rgba(8, 24, 46, 0.7);
}

body:not(.adm) .cat-tile--rich::before,
body:not(.adm) .cat-tile--rich::after {
	content: none;
	display: none;
}

.cat-tile__media {
	position: absolute;
	inset: 0;
	display: block;
	overflow: hidden;
}

.cat-tile__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.cat-tile__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(6, 18, 34, 0.04) 0%,
		rgba(6, 18, 34, 0.2) 44%,
		rgba(6, 18, 34, 0.86) 100%
	);
}

body:not(.adm) .cat-tile--rich .cat-tile__icon {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.26);
	backdrop-filter: blur(8px);
	color: #fff;
	display: grid;
	place-items: center;
}

body:not(.adm) .cat-tile--rich .cat-tile__icon .glyph {
	width: 20px;
	height: 20px;
}

body:not(.adm) .cat-tile--rich .cat-tile__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: grid;
	gap: 4px;
	padding: 1.1rem 1.15rem 1.2rem;
}

body:not(.adm) .cat-tile--rich .cat-tile__body strong {
	font-family: var(--font-editorial);
	font-size: clamp(1.06rem, 1rem + 0.22vw, 1.24rem);
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -0.015em;
	color: #fff;
	text-shadow: 0 1px 12px rgba(4, 12, 24, 0.35);
}

body:not(.adm) .cat-tile--rich .cat-tile__body small {
	font-family: var(--font-sans);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

body:not(.adm) .cat-tile--rich .cat-tile__arrow {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin: 0;
	border-radius: 50%;
	background: rgba(10, 26, 47, 0.34);
	border: 1px solid rgba(255, 255, 255, 0.34);
	backdrop-filter: blur(8px);
	color: #fff;
	font-size: 0.92rem;
	transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

body:not(.adm) .cat-tile--rich:hover,
body:not(.adm) .cat-tile--rich:focus-visible {
	transform: translateY(-4px);
	border-color: transparent;
	box-shadow: 0 26px 50px -30px rgba(8, 24, 46, 0.55);
	color: #fff;
}

body:not(.adm) .cat-tile--rich:hover .cat-tile__media img,
body:not(.adm) .cat-tile--rich:focus-visible .cat-tile__media img {
	transform: scale(1.06);
}

body:not(.adm) .cat-tile--rich:hover .cat-tile__arrow,
body:not(.adm) .cat-tile--rich:focus-visible .cat-tile__arrow {
	background: #fff;
	border-color: #fff;
	color: #0b1c33;
	transform: translateX(2px);
}

body:not(.adm) .cat-tile--rich:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 3px;
}

/* Footer editorial */

body:not(.adm) .site-footer {
	padding-top: 0;
	background: #081726;
}

.footer-scene {
	position: relative;
	isolation: isolate;
	display: grid;
	align-items: end;
	min-height: clamp(280px, 32vw, 430px);
	overflow: hidden;
	background: #0b1c33;
}

.footer-scene > img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 72%;
	filter: saturate(1.04) brightness(0.96);
}

.footer-scene__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(6, 18, 34, 0.9) 0%, rgba(6, 18, 34, 0.62) 38%, rgba(6, 18, 34, 0.12) 70%, rgba(6, 18, 34, 0.32) 100%),
		linear-gradient(0deg, #081726 0%, rgba(8, 23, 38, 0) 34%);
}

.footer-scene__inner {
	display: grid;
	justify-items: start;
	gap: 0.85rem;
	padding-block: clamp(2.2rem, 1.8rem + 2vw, 3.8rem);
}

body:not(.adm) .footer-scene__eyebrow {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #a9c4e2;
}

body:not(.adm) .footer-scene__quote {
	max-width: 24ch;
	margin: 0;
	font-family: var(--font-editorial);
	font-size: clamp(1.65rem, 1.15rem + 2.1vw, 2.75rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #fff;
	text-wrap: balance;
}

body:not(.adm) .footer-scene .footer-scene__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	margin-top: 0.5rem;
	padding: 0.8rem 1.2rem;
	border-radius: 999px;
	background: #fff;
	color: #0b1c33;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease;
}

body:not(.adm) .footer-scene .footer-scene__cta:hover {
	background: #eaf1fb;
	color: #0b1c33;
	transform: translateY(-2px);
	text-decoration: none;
}

@media (max-width: 1100px) {
	body:not(.adm) .cat-grid--rich { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	body:not(.adm) .cat-grid--rich { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
	body:not(.adm) .cat-tile--rich { aspect-ratio: 4 / 4.6; }
	.footer-scene { min-height: 300px; }
	.footer-scene__veil {
		background:
			linear-gradient(180deg, rgba(6, 18, 34, 0.45) 0%, rgba(6, 18, 34, 0.9) 68%, #081726 100%);
	}
}

@media (max-width: 480px) {
	body:not(.adm) .cat-grid--rich { grid-template-columns: minmax(0, 1fr); }
	body:not(.adm) .cat-tile--rich { aspect-ratio: 16 / 11; }
	.footer-scene__quote { max-width: 24ch; }
}

/* Categoria: painel fotográfico no hero */

body:not(.adm) .cat-hero__aside {
	display: grid;
	gap: 0.7rem;
	width: min(340px, 100%);
	flex: none;
}

body:not(.adm) .cat-hero__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 18px;
	border: 1px solid rgba(11, 28, 51, 0.08);
	background: #eaf1fb;
	box-shadow: 0 22px 44px -36px rgba(11, 28, 51, 0.55);
}

body:not(.adm) .cat-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body:not(.adm) .cat-hero__badge {
	width: 100%;
	justify-content: flex-start;
}

@media (max-width: 960px) {
	body:not(.adm) .cat-hero__aside { width: 100%; max-width: 440px; }
	body:not(.adm) .cat-hero__media { aspect-ratio: 16 / 8; }
}

body:not(.adm) .cat-hero__inner {
	align-items: center;
}

/* Header móvel: marca + carrinho + menu numa linha */
@media (max-width: 960px) {
	body:not(.adm) .header-inner { align-items: center; }
	body:not(.adm) .brand { margin-right: 0; }
	body:not(.adm) .header-actions { order: 1; margin-left: auto; }
	body:not(.adm) .menu-toggle { order: 2; margin-left: 0.55rem; }
	body:not(.adm) .site-nav { order: 3; }
}

/* ---------------------------------------------------------------
   21. Logotipo original (lojaazul.pt) + fotografia de produto real
--------------------------------------------------------------- */
body:not(.adm) .brand-logo {
        display: block;
        height: 44px;
        width: auto;
        max-width: 160px;
        flex: none;
}

body:not(.adm) .brand--footer .brand-logo { height: 52px; }

.pc-photo {
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 8%;
        background: radial-gradient(circle at 50% 42%, #ffffff 0%, #eef3fa 78%, #e2ebf6 100%);
        transition: transform 0.3s ease;
}

body:not(.adm) .product-card--rich:hover .pc-photo { transform: scale(1.04); }

.pdp-stage__photo {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 6%;
}

.pdp-stage--photo { background: #f7fafd; }

/* Fallback quando a imagem remota falha (CDN indisponível) */
body:not(.adm) .product-media.no-photo::after { content: none; }
.product-media.no-photo .pc-glyph,
.product-media.no-photo .pc-mark { display: inline; }
