/*
Theme Name: Tazbi Food
Theme URI: https://example.com
Author: Wallxer
Author URI: https://example.com
Description: Custom WooCommerce theme for Tazbi Food, an online natural food and grocery store in Bangladesh. Provides the header, footer, design tokens, base styles and WooCommerce template overrides. Page layouts are built in Elementor; custom widgets live in the Tazbi Food Core plugin.
Version: 1.0.1
Requires at least: 7.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tazbifood
Tags: e-commerce, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. Fonts (self-hosted, SIL Open Font License; see assets/fonts/OFL-*.txt)
   ========================================================================== */

/* Andika (client, 2026-10-22), the font of tazbifood.com, for all text. It has no Bangla letters:
   Bangla is drawn by the device's own Bangla font (font stacks end in sans-serif), as on
   the client's site. Andika has 400 and 700 only; other weights use the nearest. */

@font-face {
	font-family: "Andika";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/andika-400-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Andika";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/andika-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Andika";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/andika-700-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Andika";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("assets/fonts/andika-700-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   2. Design tokens (the single source; the plugin reads these with fallbacks)
   ========================================================================== */

:root {
	/* Brand. Tazbi Food palette (2026-10-22): #5EA13A, #3F7A23, #FFFFFF, #000000; tints are
	   #5EA13A mixed with white. Token names are from the first design: "gold" = green accent,
	   "green" = dark green, "cream" = page background, "sand" = soft green panel. */
	--bb-green: #3f7a23;
	--bb-green-hover: #32621c;
	--bb-gold: #5ea13a;
	--bb-gold-hover: #4f8e2f;
	--bb-gold-text: #3f7a23;
	--bb-gold-light: #ecf4e7; /* On dark green: 4.6:1. */
	--bb-on-gold: #000000; /* Text on the green accent: 6.6:1 (white is 3.2:1). */

	/* Surfaces */
	--bb-cream: #ffffff;
	--bb-sand: #f2f8ef;
	--bb-white: #fff;
	--bb-placeholder: #e5f0e0;

	/* Text */
	--bb-text: #000000;
	--bb-text-muted: #4d4d4d;
	--bb-text-soft: #5c5c5c;
	--bb-text-strike: #6b6b6b; /* AA-safe (5.3:1 on white); #8a8a8a would fail. */
	--bb-on-dark: #f2f8ef;
	--bb-on-dark-soft: #ecf4e7;

	/* Lines */
	--bb-border: #e5f0e0;
	--bb-border-strong: #dcead4;
	--bb-border-card: #ecf4e7;
	--bb-border-button: #cfe3c4;

	/* Status */
	--bb-red: #c8432e;
	--bb-red-tint: #f7e3de;
	--bb-success: #3f7a23;
	--bb-success-strong: #32621c;
	--bb-success-tint: #ecf4e7;
	--bb-warning: #8a6100;
	--bb-warning-tint: #fff4d6;
	--bb-info: #24507e;
	--bb-info-tint: #e4eef9;
	--bb-whatsapp: #1f8f4e;

	/* Type */
	--bb-font-body: "Andika", sans-serif;
	--bb-font-heading: "Andika", sans-serif;
	--bb-fs-h1: clamp(36px, 5vw, 60px);
	--bb-fs-h2: clamp(30px, 4vw, 46px);
	--bb-fs-h2-lg: clamp(32px, 4.4vw, 54px);
	--bb-fs-h3: clamp(22px, 2vw, 26px);
	--bb-fs-body: 15px;
	--bb-fs-ui: 14px;
	--bb-fs-small: 13px;
	--bb-fs-eyebrow: 12px;

	/* Layout */
	--bb-container: 1280px;
	--bb-gutter: clamp(16px, 4vw, 32px);
	--bb-section: clamp(48px, 7vw, 88px);
	--bb-section-lg: clamp(56px, 8vw, 104px);
	--bb-gap: clamp(12px, 1.6vw, 20px);

	/* Radii */
	--bb-radius-sm: 8px;
	--bb-radius: 12px;
	--bb-radius-md: 14px;
	--bb-radius-lg: 18px;
	--bb-radius-xl: 22px;
	--bb-radius-panel: clamp(22px, 2.6vw, 32px);
	--bb-radius-pill: 999px;

	/* Shadows */
	--bb-shadow-card: 0 10px 28px -18px rgba(0, 0, 0, 0.18);
	--bb-shadow-card-hover: 0 22px 40px -20px rgba(0, 0, 0, 0.3);
	--bb-shadow-pop: 0 24px 48px -24px rgba(0, 0, 0, 0.25);
	--bb-shadow-drawer: -16px 0 48px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   3. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	/* WooCommerce's own colour variables (its defaults are purple / olive): brand palette.
	   Set on body so they win over woocommerce.css :root whatever the load order. */
	--wc-primary: var(--bb-green);
	--wc-primary-text: var(--bb-white);
	--wc-secondary: var(--bb-sand);
	--wc-secondary-text: var(--bb-text);
	--wc-highlight: var(--bb-green);
	--wc-highligh-text: var(--bb-white);
	--wc-green: var(--bb-green);
	--wc-subtext: var(--bb-text-muted);
	margin: 0;
	background: var(--bb-cream);
	color: var(--bb-text);
	font-family: var(--bb-font-body);
	font-size: var(--bb-fs-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	/* clip, not hidden, where supported: hidden makes body a scroll box and breaks position: sticky (FAQ side column). */
	overflow-x: clip;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

a {
	color: var(--bb-gold-text);
	text-decoration: none;
}

a:hover {
	color: var(--bb-green);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	color: var(--bb-green);
	font-family: var(--bb-font-heading);
	font-weight: 600;
	line-height: 1.08;
	text-wrap: balance;
}

h1 {
	font-size: var(--bb-fs-h1);
}

h2 {
	font-size: var(--bb-fs-h2);
}

h3 {
	font-size: var(--bb-fs-h3);
}

h4,
h5,
h6 {
	font-family: var(--bb-font-body);
	font-size: 17px;
	line-height: 1.35;
}

p {
	margin: 0 0 1em;
}

:focus-visible {
	outline: 2px solid var(--bb-gold);
	outline-offset: 3px;
	border-radius: 6px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.bb-skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 18px;
	clip: auto;
	background: var(--bb-green);
	color: var(--bb-sand);
	border-radius: var(--bb-radius-pill);
	font-size: var(--bb-fs-ui);
	font-weight: 500;
}

/* ==========================================================================
   4. Layout helpers and shared pieces
   ========================================================================== */

.bb-container {
	width: 100%;
	max-width: var(--bb-container);
	margin-inline: auto;
	padding-inline: var(--bb-gutter);
}

.bb-main {
	display: block;
	min-height: 50vh;
}

.bb-main--padded {
	padding-block: clamp(24px, 4vw, 48px) var(--bb-section-lg);
}

.bb-eyebrow {
	display: block;
	margin-bottom: 8px;
	color: var(--bb-gold-text);
	font-size: var(--bb-fs-eyebrow);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.bb-icon {
	width: 1em;
	height: 1em;
	flex: none;
	fill: currentColor;
}

.bb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid var(--bb-green);
	border-radius: var(--bb-radius-pill);
	background: var(--bb-green);
	color: var(--bb-sand);
	font-size: var(--bb-fs-ui);
	font-weight: 500;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.bb-btn:hover {
	background: var(--bb-green-hover);
	border-color: var(--bb-green-hover);
	color: var(--bb-sand);
}

.bb-btn--outline {
	border-color: var(--bb-border-button);
	background: transparent;
	color: var(--bb-green);
}

.bb-btn--outline:hover {
	border-color: var(--bb-green);
	background: var(--bb-green);
	color: var(--bb-sand);
}

/* Search form (searchform.php) */
.bb-search {
	display: flex;
	align-items: center;
	height: 48px;
	overflow: hidden;
	border: 1px solid var(--bb-border-strong);
	border-radius: var(--bb-radius-pill);
	background: var(--bb-white);
}

.bb-search:focus-within {
	outline: 2px solid var(--bb-gold);
	outline-offset: 2px;
}

.bb-search__input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 16px;
	border: 0;
	background: transparent;
	font-size: var(--bb-fs-ui);
	outline: none;
}

.bb-search__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 40px;
	margin-right: 4px;
	border: 0;
	border-radius: var(--bb-radius-pill);
	background: var(--bb-green);
	color: var(--bb-sand);
	font-size: 20px;
	cursor: pointer;
}

/* ==========================================================================
   5. Fallback header and footer
   Shown only until Elementor Theme Builder header/footer templates exist.
   ========================================================================== */

.bb-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--bb-border);
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
}

.bb-site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px;
	padding-block: 12px;
}

.bb-site-header__brand {
	display: flex;
	align-items: center;
	flex: none;
	color: var(--bb-green);
	font-family: var(--bb-font-heading);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
}

.bb-site-header__brand .custom-logo {
	width: auto;
	height: clamp(40px, 4.4vw, 54px);
}

.bb-site-header__search {
	flex: 1 1 100%;
	order: 3;
}

.bb-site-header__actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}

.bb-site-header__action {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	height: 44px;
	padding: 0 10px;
	border-radius: var(--bb-radius);
	color: var(--bb-green);
	font-size: 22px;
}

.bb-site-header__action:hover {
	background: var(--bb-sand);
}

.bb-site-header__action--cart {
	padding: 0 14px 0 12px;
	border-radius: var(--bb-radius-pill);
	background: var(--bb-green);
	color: var(--bb-sand);
}

.bb-site-header__action--cart:hover {
	background: var(--bb-green-hover);
	color: var(--bb-sand);
}

.bb-cart-count {
	font-size: var(--bb-fs-small);
	font-weight: 600;
}

.bb-site-nav {
	border-top: 1px solid var(--bb-border);
}

.bb-site-nav ul {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.bb-site-nav a {
	display: flex;
	align-items: center;
	height: 48px;
	padding: 0 14px;
	color: var(--bb-text);
	font-size: var(--bb-fs-ui);
	font-weight: 500;
	white-space: nowrap;
}

.bb-site-nav a:hover,
.bb-site-nav .current-menu-item > a {
	color: var(--bb-gold-text);
}

.bb-site-footer {
	background: var(--bb-green);
	color: var(--bb-on-dark);
}

.bb-site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding-block: 28px;
	font-size: var(--bb-fs-small);
}

.bb-site-footer a {
	color: var(--bb-sand);
}

.bb-site-footer a:hover {
	color: var(--bb-gold-light);
}

.bb-site-footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb-site-footer p {
	margin: 0;
	color: var(--bb-on-dark-soft);
}

/* ==========================================================================
   6. Content templates (page, single, archive, search, 404)
   ========================================================================== */

.bb-page-header {
	margin-bottom: clamp(24px, 4vw, 40px);
}

.bb-page-header p {
	max-width: 640px;
	color: var(--bb-text-muted);
}

.bb-entry {
	max-width: 780px;
}

.bb-entry--wide {
	max-width: none;
}

.bb-entry__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin-bottom: 20px;
	color: var(--bb-text-soft);
	font-size: var(--bb-fs-small);
}

.bb-entry__thumb {
	margin: 0 0 28px;
	overflow: hidden;
	border-radius: var(--bb-radius-xl);
	background: var(--bb-placeholder);
}

.bb-entry__thumb img {
	width: 100%;
}

.bb-entry__content {
	color: var(--bb-text-muted);
}

.bb-entry__content > * {
	margin-block: 0 1.1em;
}

.bb-entry__content h2 {
	margin-top: 1.4em;
	font-size: clamp(26px, 3vw, 34px);
}

.bb-entry__content h3 {
	margin-top: 1.2em;
}

.bb-entry__content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bb-entry__content blockquote {
	margin-inline: 0;
	padding: 18px 22px;
	border-left: 3px solid var(--bb-gold);
	border-radius: 0 var(--bb-radius) var(--bb-radius) 0;
	background: var(--bb-sand);
	color: var(--bb-green);
	font-family: var(--bb-font-heading);
	font-size: 22px;
	line-height: 1.35;
}

.bb-entry__content table {
	width: 100%;
	border-collapse: collapse;
}

.bb-entry__content th,
.bb-entry__content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--bb-border);
	text-align: left;
}

.bb-entry__content::after {
	content: "";
	display: table;
	clear: both;
}

.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
}

.wp-caption,
.gallery-caption,
.bypostauthor,
.sticky {
	max-width: 100%;
}

.wp-caption-text {
	margin-top: 6px;
	color: var(--bb-text-soft);
	font-size: var(--bb-fs-small);
}

.bb-posts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: clamp(16px, 2vw, 28px);
}

.bb-post-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bb-post-card__thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 20px;
	background: var(--bb-placeholder);
}

.bb-post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bb-post-card__meta {
	color: var(--bb-text-soft);
	font-size: var(--bb-fs-eyebrow);
}

.bb-post-card__title {
	margin: 0;
	font-size: var(--bb-fs-h3);
	line-height: 1.15;
}

.bb-post-card__title a {
	color: inherit;
}

.bb-post-card__excerpt {
	margin: 0;
	color: var(--bb-text-muted);
	font-size: var(--bb-fs-ui);
}

.bb-pagination {
	margin-top: clamp(28px, 4vw, 48px);
}

.bb-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.bb-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--bb-border-button);
	border-radius: var(--bb-radius-pill);
	background: var(--bb-white);
	color: var(--bb-green);
	font-size: var(--bb-fs-ui);
	font-weight: 500;
}

.bb-pagination .page-numbers.current,
.bb-pagination a.page-numbers:hover {
	border-color: var(--bb-green);
	background: var(--bb-green);
	color: var(--bb-sand);
}

.bb-empty,
.bb-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 620px;
	margin-inline: auto;
	padding-block: clamp(24px, 6vw, 72px);
	text-align: center;
}

.bb-404__code {
	color: var(--bb-gold);
	font-family: var(--bb-font-heading);
	font-size: clamp(88px, 16vw, 160px);
	font-weight: 700;
	line-height: 0.9;
}

.bb-404 h1,
.bb-empty h2 {
	margin: 0;
}

.bb-404 p,
.bb-empty p {
	margin: 0;
	color: var(--bb-text-muted);
}

.bb-404 .bb-search,
.bb-empty .bb-search {
	width: min(100%, 460px);
}

.bb-404__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

/* Comments */
.bb-comments {
	max-width: 780px;
	margin-top: var(--bb-section);
}

.bb-comments ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bb-comments .comment-body {
	margin-bottom: 14px;
	padding: 18px;
	border: 1px solid var(--bb-border-card);
	border-radius: var(--bb-radius-lg);
	background: var(--bb-white);
}

.bb-comments .children {
	padding-left: clamp(12px, 3vw, 32px);
}

.bb-comments .avatar {
	float: left;
	margin-right: 12px;
	border-radius: 50%;
}

.bb-comments label {
	display: block;
	margin-bottom: 6px;
	font-size: var(--bb-fs-small);
	font-weight: 500;
}

.bb-comments input[type="text"],
.bb-comments input[type="email"],
.bb-comments input[type="url"],
.bb-comments textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--bb-border-strong);
	border-radius: var(--bb-radius);
	background: var(--bb-white);
}

.bb-comments .submit {
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--bb-radius-pill);
	background: var(--bb-green);
	color: var(--bb-sand);
	font-weight: 500;
	cursor: pointer;
}

/* ==========================================================================
   7. Elementor defaults
   Low-specificity defaults so built-in widgets match the design before the
   client changes anything. Any value set in a widget's Style tab still wins.
   ========================================================================== */

/* Side gutters on top-level containers only (nested containers stay flush). */
body .e-con.e-parent {
	--container-default-padding-right: var(--bb-gutter);
	--container-default-padding-left: var(--bb-gutter);
}

.elementor-widget-button .elementor-button {
	padding: 15px 24px;
	border-radius: var(--bb-radius-pill);
	background-color: var(--bb-green);
	color: var(--bb-sand);
	fill: var(--bb-sand);
	font-family: var(--bb-font-body);
	font-size: var(--bb-fs-ui);
	font-weight: 500;
	line-height: 1.3;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.elementor-widget-button .elementor-button:hover,
.elementor-widget-button .elementor-button:focus {
	background-color: var(--bb-green-hover);
	color: var(--bb-sand);
}

.elementor-widget-text-editor {
	color: var(--bb-text-muted);
}

.elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   7b. WooCommerce notices ("added to cart", "cart updated", errors)
   The design shows no notice, so these follow its cards: white, rounded, with a
   coloured edge. They appear on the product, cart, checkout and account pages.
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 16px;
	padding: 14px 18px;
	border: 1px solid var(--bb-border-card);
	border-left: 4px solid var(--bb-success);
	border-radius: var(--bb-radius-md);
	background: var(--bb-white);
	color: var(--bb-text);
	font-size: var(--bb-fs-ui);
	line-height: 1.5;
	list-style: none;
}

.woocommerce .woocommerce-info {
	border-left-color: var(--bb-gold);
}

.woocommerce .woocommerce-error {
	border-left-color: var(--bb-red);
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before {
	content: none;
}

.woocommerce .woocommerce-error li {
	margin: 0;
	padding: 0;
}

.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .restore-item,
.woocommerce .woocommerce-message a.wc-forward {
	order: 2;
	margin-left: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bb-gold-text);
	font-size: var(--bb-fs-ui);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce .woocommerce-message .button:hover,
.woocommerce .woocommerce-message a:hover {
	background: transparent;
	color: var(--bb-green);
}

.woocommerce .woocommerce-message:focus-visible,
.woocommerce .woocommerce-error:focus-visible {
	outline: 2px solid var(--bb-gold);
	outline-offset: 2px;
}

/* ==========================================================================
   8. Larger screens
   ========================================================================== */

@media (min-width: 1024px) {
	.bb-site-header__search {
		flex: 1 1 0;
		order: 0;
		max-width: 640px;
		margin-inline: auto;
	}
}

/* ==========================================================================
   9. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}
