/*
 * Bulk Medya UK - brand layer
 * Loaded last. Flattens the inherited glassmorphism into the flat
 * orange-on-zinc storefront look: solid surfaces, 8px buttons, no blur,
 * no gradients, 16px cards on a soft shadow.
 */

/* ------------------------------------------------------------- 0. Tokens */

/*
 * The inherited stylesheets declare :root more than once - critical.css sets
 * one palette and storefront.css redefines it further down the file, so editing
 * either one in place is not reliably the last word. brand.css is enqueued
 * last, so the definitive palette lives here and wins outright.
 *
 * Both naming schemes are set: the original --primary-color family and the
 * newer --nt-* system the later components were built against.
 */
:root {
	/* Brand */
	--primary-color: #fd7702;
	--primary-strong: #ea580c;
	--primary-soft: #fdba74;
	--primary-glow: rgba(253, 119, 2, 0.15);
	--secondary-color: #ea580c;
	--accent-color: #f59e0b;

	/* Surfaces - Tailwind zinc, matching the reference storefront */
	--dark-bg: #18181b;
	--surface-bg: #27272a;
	--surface-solid: #27272a;
	--surface-raised: #3f3f46;
	--card-bg: #27272a;

	/* Text */
	--text-main: #e4e4e7;
	--text-strong: #ffffff;
	--text-muted: #a1a1aa;

	/* Lines and status */
	--glass-border: rgba(255, 255, 255, 0.10);
	--glass-glow: rgba(255, 255, 255, 0.03);
	--success-color: #10b981;
	--danger-color: #f43f5e;
	--info-color: #0ea5e9;

	/* Shape */
	--border-radius: 16px;
	--radius-btn: 8px;
	--radius-sm: 6px;
	--shadow-card: 0 8px 16px rgba(0, 0, 0, 0.15);
	--transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

	/* The --nt-* system used by the newer components */
	--nt-bg: #18181b;
	--nt-bg-2: #18181b;
	--nt-elevated: #27272a;
	--nt-card: #27272a;
	--nt-interactive: #3f3f46;
	--nt-text: #e4e4e7;
	--nt-text-2: #a1a1aa;
	--nt-muted: #a1a1aa;
	--nt-muted-2: #71717a;
	--nt-border: rgba(255, 255, 255, 0.10);
	--nt-border-strong: rgba(255, 255, 255, 0.16);
	--nt-border-subtle: rgba(255, 255, 255, 0.06);
	--nt-orange: #fd7702;
	--nt-purple: #ea580c;   /* purple retired - folded into the orange ramp */
	--nt-blue: #0ea5e9;
	--nt-cyan: #06b6d4;
	--nt-emerald: #10b981;
	--nt-danger: #f43f5e;
	--nt-r-sm: 8px;
	--nt-r-md: 16px;
	--nt-r-lg: 16px;
	--nt-r-xl: 20px;
	--nt-shadow: 0 12px 28px rgba(0, 0, 0, 0.30);
	--nt-shadow-soft: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* ---------------------------------------------------------------- 1. Base */

/*
 * The inherited body paints four coloured radial washes (orange, blue, purple,
 * cyan). The reference storefront is flat, so they all come off.
 */
body,
body.nt-v6 {
	background: var(--dark-bg) !important;
	background-image: none !important;
	color: var(--text-main);
	font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* Section-level gradient washes, same reasoning. */
.nt-hero-v6,
.nt-section-band,
.nt-page-hero-v84,
.nt-guide-hero-v9,
.nt-shop-intro-v84 {
	background-image: none !important;
}

.nt-page-hero-v84,
.nt-guide-hero-v9,
.nt-shop-intro-v84 {
	background-color: var(--surface-bg) !important;
	border-radius: var(--border-radius) !important;
	box-shadow: var(--shadow-card) !important;
}

h1, h2, h3, h4, h5, h6 { color: var(--text-strong); letter-spacing: -0.01em; }
h1 { font-weight: 700; }

/* Two-tone headline: brand word in orange, remainder white. */
.nt-display-title__accent,
.nt-final-cta h2 .nt-line span,
.bm-accent { color: var(--primary-color); }

a { color: var(--primary-color); }
a:hover { color: var(--primary-soft); }

::selection { background: var(--primary-color); color: #fff; }

/* -------------------------------------------------- 2. Kill the glass look */

.glass-card,
.nt-rate-card,
.nt-product-card-v6,
.nt-feature-slide,
.category-card,
.archive-sidebar-card,
.nt-category-directory-v6__item,
.faq-item,
.nt-final-cta__panel,
.nt-hero-signal,
.cart-drawer-content,
#searchSuggestionsDropdown {
	background: var(--card-bg) !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	border: 1px solid var(--glass-border) !important;
	border-radius: var(--border-radius) !important;
	box-shadow: var(--shadow-card) !important;
}

/* Hover: orange edge + lift, no colored glow bloom. */
.glass-card:hover,
.nt-rate-card:hover,
.nt-product-card-v6:hover,
.category-card:hover,
.nt-category-directory-v6__item:hover {
	border-color: var(--primary-color) !important;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28) !important;
	transform: translateY(-3px);
}

/* Decorative gradient/halo layers the old theme painted behind cards. */
.brand-glow-halo,
.category-card:before,
.btn-primary::before,
.btn-primary:after,
.btn-secondary::before,
.btn-secondary::after { display: none !important; }

/* --------------------------------------------------------- 3. Buttons */

.btn-primary,
.nt-btn--primary,
.btn-brand-primary,
.btn-large,
button.single_add_to_cart_button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: var(--primary-color) !important;
	background-image: none !important;
	color: #fff !important;
	border: 1px solid var(--primary-color) !important;
	border-radius: var(--radius-btn) !important;
	padding: 10px 20px !important;
	font-weight: 600 !important;
	font-size: 0.9375rem !important;
	box-shadow: none !important;
	transition: background-color .18s ease, transform .18s ease;
}

.btn-primary:hover,
.nt-btn--primary:hover,
.btn-brand-primary:hover,
button.single_add_to_cart_button:hover,
.woocommerce a.button.alt:hover {
	background: var(--primary-strong) !important;
	border-color: var(--primary-strong) !important;
	transform: translateY(-1px);
}

.btn-secondary,
.nt-btn--quiet,
.woocommerce a.button,
.woocommerce button.button {
	background: transparent !important;
	background-image: none !important;
	color: var(--text-main) !important;
	border: 1px solid var(--surface-raised) !important;
	border-radius: var(--radius-btn) !important;
	padding: 10px 20px !important;
	font-weight: 500 !important;
	box-shadow: none !important;
}

.btn-secondary:hover,
.nt-btn--quiet:hover {
	background: var(--surface-bg) !important;
	border-color: var(--primary-color) !important;
	color: var(--text-strong) !important;
}

.btn-whatsapp {
	background: #25d366 !important;
	background-image: none !important;
	border-radius: var(--radius-btn) !important;
	box-shadow: none !important;
}

/* Buttons square off at 8px; chips and badges stay pill-shaped. */
.btn-primary, .btn-secondary, .nt-btn { border-radius: var(--radius-btn) !important; }

:focus-visible {
	outline: 2px solid var(--primary-color);
	outline-offset: 2px;
}

/* ------------------------------------------- 4. Product grid: 2 up / 4 up */

.products-grid,
.products-grid.marketplace-grid,
.nt-product-grid,
.woocommerce ul.products,
.nt-shop-results-v84 ul.products {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 12px !important;
	width: 100%;
	margin: 0 0 48px !important;
	padding: 0 !important;
	list-style: none !important;
}

.woocommerce ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	clear: none !important;
}

@media (min-width: 640px) {
	.products-grid,
	.products-grid.marketplace-grid,
	.nt-product-grid,
	.woocommerce ul.products,
	.nt-shop-results-v84 ul.products { gap: 16px !important; }
}

@media (min-width: 768px) {
	.products-grid,
	.products-grid.marketplace-grid,
	.nt-product-grid,
	.woocommerce ul.products,
	.nt-shop-results-v84 ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

@media (min-width: 1024px) {
	.products-grid,
	.products-grid.marketplace-grid,
	.nt-product-grid,
	.woocommerce ul.products,
	.nt-shop-results-v84 ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 20px !important;
	}
}

/* ------------------------------------------------- 5. Product card box */

.nt-product-card-v6 {
	display: flex !important;
	flex-direction: column;
	padding: 14px !important;
	height: 100%;
	overflow: hidden;
}

/*
 * 16:10 rather than square. A square tile pushed the card past 440px tall,
 * which meant only one row of a 4-up grid was ever visible without scrolling.
 */
.nt-product-card-v6__media {
	position: relative;
	background: var(--surface-raised) !important;
	border-radius: 12px !important;
	aspect-ratio: 16 / 10;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
	overflow: hidden;
}

/*
 * Availability pill sits on the tile, not in the flow below it.
 * `top: auto` matters: the inherited rule sets both top and bottom, which
 * stretched the pill to the full height of the tile and, with a 999px radius,
 * rendered it as a large ellipse behind the icon.
 */
.nt-product-card-v6__status {
	position: absolute;
	top: auto !important;
	right: auto !important;
	left: 8px !important;
	bottom: 8px !important;
	height: auto !important;
	width: auto !important;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(24, 24, 27, .85) !important;
	border: 1px solid var(--glass-border);
	border-radius: 999px !important;
	padding: 3px 9px !important;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.4;
}

.nt-product-card-v6__status i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	display: block;
}

.nt-product-card-v6__discount {
	position: absolute;
	right: 8px;
	top: 8px;
	background: var(--primary-color);
	color: #fff;
	border-radius: 999px;
	padding: 3px 8px;
	font-size: 0.6875rem;
	font-weight: 700;
}

.nt-product-card-v6__media i { font-size: 2rem; color: var(--primary-color); }
.nt-product-card-v6__image { width: 100%; height: 100%; object-fit: cover; }

/* Icon stand-in shown until a real account screenshot is uploaded. */
.nt-product-icon-fallback {
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	background: linear-gradient(180deg, rgba(253,119,2,.10), rgba(253,119,2,.02));
	color: var(--primary-color);
	font-size: clamp(1.75rem, 6vw, 2.5rem);
}

.nt-product-card-v6__eyebrow {
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--primary-color) !important;
}

.nt-product-card-v6__body {
	padding: 2px 2px 0 !important;
	flex: 1 1 auto;
}

.nt-product-card-v6__body h3 {
	font-size: 0.9375rem !important;
	line-height: 1.35 !important;
	font-weight: 600;
	margin: 4px 0 6px !important;
	/* Two lines maximum: a runaway title should not set the row height for
	   every other card in the grid. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nt-product-card-v6__price { margin: 0 !important; }

.nt-product-card-v6__price strong,
.nt-rate-card__price strong { color: var(--primary-color) !important; font-size: 1.125rem; }

.nt-product-card-v6__actions { margin-top: auto; padding-top: 12px; }
.nt-product-card-v6__actions .nt-btn { width: 100%; justify-content: center; }

.nt-product-card-v6__status.is-available { color: var(--success-color) !important; }
.nt-product-card-v6__status.is-unavailable { color: var(--text-muted) !important; }

/* On a 2-up mobile grid the card has ~160px to work with - tighten it. */
@media (max-width: 639px) {
	.nt-product-card-v6 { padding: 10px !important; }
	.nt-product-card-v6__body h3 { font-size: 0.8125rem !important; }
	.nt-product-card-v6__price strong { font-size: 1rem; }
	.nt-product-card-v6__actions .nt-btn { padding: 8px 10px !important; font-size: 0.8125rem !important; }
	/* Detail stays visible; the width is reclaimed from padding instead. */
}

/* ------------------------------------------------- 5b. Hero proof list */

.nt-hero-proof {
	list-style: none;
	margin: 26px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
}

.nt-hero-proof li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: var(--text-muted);
}

.nt-hero-proof i { color: var(--primary-color); font-size: 0.875rem; }

.nt-hero-starting {
	margin-top: 14px;
	font-size: 0.9375rem;
	color: var(--text-muted);
}

/* -------------------------------------------------- 6. Promo countdown bar */

.bm-promobar {
	position: relative;
	z-index: 60;
	background: var(--surface-bg);
	border-bottom: 1px solid var(--glass-border);
	color: var(--text-main);
	font-size: 0.8125rem;
}

/*
 * One line on desktop. The countdown is the widest child, so the tagline is
 * what gets dropped first when space runs out (see the mobile rule below)
 * rather than letting the row wrap into two.
 */
.bm-promobar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: nowrap;
	white-space: nowrap;
}

.bm-promobar__tagline {
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.bm-promobar__badge {
	background: var(--primary-color);
	color: #fff;
	font-weight: 700;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 3px 9px;
	border-radius: 999px;
}

.bm-promobar__code {
	font-weight: 700;
	color: var(--primary-color);
	letter-spacing: .03em;
}

.bm-countdown { display: inline-flex; gap: 5px; }

.bm-countdown span {
	background: var(--dark-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius-sm);
	padding: 3px 6px;
	min-width: 38px;
	text-align: center;
	font-variant-numeric: tabular-nums;
	line-height: 1.15;
}

.bm-countdown b { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--text-strong); }
.bm-countdown small { display: block; font-size: 0.5625rem; color: var(--text-muted); text-transform: uppercase; }

.bm-promobar__close {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: 0;
	color: var(--text-muted);
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	padding: 4px;
}
.bm-promobar__close:hover { color: var(--text-strong); }

@media (max-width: 600px) {
	.bm-promobar__inner { padding: 7px 34px; font-size: 0.75rem; gap: 7px; }
	.bm-promobar__tagline { display: none; }
}

/* ------------------------------------------------------- 7. Stats strip */

.bm-stats { padding: 8px 0 56px; }

.bm-stats__grid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (min-width: 900px) {
	.bm-stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}

.bm-stat {
	background: var(--card-bg);
	border: 1px solid var(--glass-border);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-card);
	padding: 20px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.bm-stat__icon {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	font-size: 1.125rem;
}

.bm-stat--orange .bm-stat__icon { background: rgba(253, 119, 2, .14); color: var(--primary-color); }
.bm-stat--emerald .bm-stat__icon { background: rgba(16, 185, 129, .14); color: var(--success-color); }
.bm-stat--sky .bm-stat__icon { background: rgba(14, 165, 233, .14); color: var(--info-color); }
.bm-stat--rose .bm-stat__icon { background: rgba(244, 63, 94, .14); color: var(--danger-color); }

.bm-stat__value {
	display: block;
	font-size: clamp(1.35rem, 3.4vw, 1.9rem);
	font-weight: 700;
	color: var(--primary-color);
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.bm-stat__label { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }

@media (max-width: 480px) {
	.bm-stat { padding: 14px; gap: 10px; flex-direction: column; text-align: center; }
}

/* ------------------------------------------------------- 8. FAQ accordion */

.faq-item { margin-bottom: 10px; }

.faq-question {
	width: 100%;
	background: transparent;
	border: 0;
	color: var(--text-main);
	font-size: 1rem;
	font-weight: 500;
	text-align: left;
	padding: 18px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
}

.faq-question[aria-expanded="true"] { color: var(--primary-color); }
.faq-question[aria-expanded="true"] .faq-toggle-icon { transform: rotate(45deg); color: var(--primary-color); }
.faq-toggle-icon { transition: transform .2s ease-in-out; color: var(--text-muted); }
.faq-question b { color: var(--primary-color); margin-right: 10px; font-weight: 700; }

/* --------------------------------------------------------- 9. Trim chrome */

.nt-kicker, .nt-technical-kicker, .nt-micro-label {
	color: var(--primary-color) !important;
	text-transform: uppercase;
	letter-spacing: .07em;
	font-weight: 600;
	font-size: 0.8125rem;
}

.nt-section { padding-block: clamp(48px, 7vw, 88px); }
.nt-container, .container { max-width: 1200px; padding-inline: 20px; }

/* Scrollbar, matching the reference storefront. */
* { scrollbar-color: rgba(113,113,122,.5) rgba(113,113,122,.16); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(113,113,122,.16); }
::-webkit-scrollbar-thumb { background: rgba(113,113,122,.5); border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
	.glass-card:hover, .nt-product-card-v6:hover { transform: none; }
}
