/* ============================================================
   ALAMMAS STORE - Final Theme
   Brand colors: Orange (#da663a) + Brown (#6e342a) from logo
   ============================================================ */

:root {
	--ams-primary: #da663a;
	--ams-primary-dark: #6e342a;
	--ams-primary-light: #fdf2ed;
	--ams-accent: #9d5137;
	--ams-beige: #caa79e;
	--ams-text: #2b1f1a;
	--ams-muted: #7a6760;
	--ams-bg: #fafafa;
	--ams-border: #ece5e1;
	--ams-shadow: 0 2px 12px rgba(110,52,42,.06);
	--ams-shadow-lg: 0 8px 32px rgba(110,52,42,.12);
	--ams-radius: 12px;
	--ams-radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
body.ams {
	margin: 0; padding: 0;
	background: var(--ams-bg);
	color: var(--ams-text);
	font-family: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.ams a { color: inherit; text-decoration: none; transition: color .2s; }
body.ams a:hover { color: var(--ams-primary); }
body.ams img { max-width: 100%; height: auto; display: block; }
body.ams h1, body.ams h2, body.ams h3, body.ams h4 {
	color: var(--ams-primary-dark);
	font-weight: 700;
	margin: 0 0 .5em;
	line-height: 1.3;
}
body.ams p { margin: 0 0 1em; }
body.ams ul, body.ams ol { padding: 0; margin: 0; list-style: none; }
body.ams button { font-family: inherit; cursor: pointer; }

.ams-container {
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: 16px;
}

/* ===== BUTTONS ===== */
.ams-btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: .2s;
	text-decoration: none;
	font-family: inherit;
}
.ams-btn-primary { background: var(--ams-primary); color: #fff; box-shadow: 0 4px 12px rgba(218,102,58,.25); }
.ams-btn-primary:hover { background: var(--ams-primary-dark); color: #fff; transform: translateY(-2px); }

/* ============================================================
   TOPBAR
   ============================================================ */
.ams-topbar {
	background: var(--ams-primary-dark);
	color: #fff;
	font-size: 13px;
	padding: 8px 0;
}
.ams-topbar-row {
	display: flex; justify-content: space-between; align-items: center;
	gap: 16px; flex-wrap: wrap;
}
.ams-topbar-text { opacity: .95; }
.ams-topbar-links { display: flex; gap: 18px; }
.ams-topbar-links a {
	color: #fff;
	opacity: .9;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.ams-topbar-links a:hover { color: #fff; opacity: 1; }

/* ============================================================
   HEADER - Single row layout
   In RTL: [logo] [search-FLEXIBLE] [actions] [burger]
   Search takes ALL remaining space between logo and actions
   ============================================================ */
.ams-header {
	background: #fff;
	border-bottom: 1px solid var(--ams-border);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow .2s;
}
.ams-header.is-scrolled {
	box-shadow: 0 4px 20px rgba(110,52,42,.08);
}

.ams-header-row {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 14px 20px;
	min-height: 88px;
}

/* Force order regardless of HTML order:
   In RTL display: LOGO (right) → SEARCH (middle) → ACTIONS (left)
   Lower order = appears first = appears on RIGHT in RTL */
.ams-header-row .ams-logo-wrap { order: 1; }
.ams-header-row .ams-search { order: 2; }
.ams-header-row .ams-header-actions { order: 3; }
.ams-header-row .ams-burger { order: 4; }

/* Hidden helper rows */
.ams-header-top { display: none; }
.ams-header-search-row { display: none; }
.ams-header-search-row-mobile { display: none; }

.ams-logo-wrap {
	flex-shrink: 0;
}

.ams-header-actions {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.ams-burger {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: transparent;
	border: 0;
	padding: 10px;
	border-radius: 8px;
	flex-shrink: 0;
}
.ams-burger:hover { background: var(--ams-primary-light); }
.ams-burger span {
	display: block;
	width: 22px;
	height: 2.4px;
	background: var(--ams-text);
	border-radius: 2px;
	transition: .3s;
}
.ams-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
.ams-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ams-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }

/* Logo */
.ams-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	color: var(--ams-primary-dark);
}
.ams-logo-img {
	max-height: 52px;
	width: auto;
	display: block;
}
.ams-logo-name strong {
	font-size: 22px;
	font-weight: 800;
	display: block;
	line-height: 1;
}
.ams-logo img.custom-logo { max-height: 52px; width: auto; }
.ams-burger:hover { background: var(--ams-primary-light); }
.ams-burger span {
	display: block;
	width: 22px;
	height: 2.4px;
	background: var(--ams-text);
	border-radius: 2px;
	transition: .3s;
}
.ams-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
.ams-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ams-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }

/* Logo */
.ams-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	color: var(--ams-primary-dark);
}
.ams-logo-img {
	max-height: 52px;
	width: auto;
	display: block;
}
.ams-logo-name strong {
	font-size: 22px;
	font-weight: 800;
	display: block;
	line-height: 1;
}
.ams-logo img.custom-logo { max-height: 52px; width: auto; }

/* ============================================================
   SEARCH BAR - BIG & FLEXIBLE
   Sits in the same row as logo + actions, takes all middle space
   ============================================================ */
.ams-search {
	display: flex;
	align-items: stretch;
	flex: 1 1 auto;    /* TAKES ALL REMAINING SPACE in the row */
	min-width: 0;       /* allow shrinking */
	background: #fff;
	border: 2px solid var(--ams-border);
	border-radius: 14px;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease;
	box-shadow: 0 1px 2px rgba(110, 52, 42, 0.04);
}
.ams-search:hover {
	border-color: var(--ams-primary);
}
.ams-search:focus-within {
	border-color: var(--ams-primary);
	box-shadow: 0 0 0 4px rgba(218, 102, 58, 0.15);
}

/* Icon at start of input - decoration */
.ams-search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 18px;
	color: var(--ams-muted);
	flex-shrink: 0;
	background: transparent;
}

/* Input field - takes ALL available width */
.ams-search-input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 58px;
	padding: 0 4px;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	color: var(--ams-text);
	outline: 0;
	box-shadow: none !important;
}
.ams-search-input:focus {
	outline: 0 !important;
	box-shadow: none !important;
}
.ams-search-input::placeholder {
	color: var(--ams-muted);
	opacity: 0.9;
}
/* Remove ugly browser search clear button */
.ams-search-input::-webkit-search-cancel-button,
.ams-search-input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
}

/* Search BUTTON - LARGE & prominent */
.ams-search-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-shrink: 0;
	height: 58px;
	min-width: 120px;
	padding: 0 28px;
	border: 0;
	background: var(--ams-primary);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s ease;
	white-space: nowrap;
}
.ams-search-btn:hover,
.ams-search-btn:focus {
	background: var(--ams-primary-dark);
	color: #fff;
	outline: 0;
}
.ams-search-btn-icon {
	display: none; /* hidden on desktop, shown on mobile */
	align-items: center;
}
.ams-search-btn-text {
	display: inline-block;
}

/* Header actions */
.ams-header-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}
.ams-act-btn {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 50px;
	height: 50px;
	padding: 4px 8px;
	border-radius: 10px;
	color: var(--ams-text);
	transition: .15s;
	font-size: 11px;
	font-weight: 600;
}
.ams-act-btn:hover {
	background: var(--ams-primary-light);
	color: var(--ams-primary);
}
.ams-act-label {
	font-size: 10.5px;
	font-weight: 600;
	margin-top: 2px;
	white-space: nowrap;
}
.ams-act-wa { color: #25D366; }
.ams-act-count {
	position: absolute;
	top: 4px;
	inset-inline-end: 4px;
	background: var(--ams-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: "Inter", sans-serif;
}

/* Nav */
.ams-nav {
	background: #fff;
	border-top: 1px solid var(--ams-border);
}
.ams-nav-menu {
	display: flex;
	gap: 4px;
	align-items: center;
	flex-wrap: wrap;
}
.ams-nav-menu > li > a {
	display: inline-flex;
	align-items: center;
	padding: 14px 16px;
	font-weight: 600;
	font-size: 14px;
	color: var(--ams-text);
	border-bottom: 3px solid transparent;
	transition: .15s;
	white-space: nowrap;
	margin-bottom: -1px;
}
.ams-nav-menu > li > a:hover,
.ams-nav-menu > li.current-menu-item > a {
	color: var(--ams-primary);
	border-bottom-color: var(--ams-primary);
}
.ams-nav-menu > li { position: relative; }
.ams-nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: 0;
	min-width: 220px;
	background: #fff;
	border: 1px solid var(--ams-border);
	border-radius: 10px;
	box-shadow: var(--ams-shadow-lg);
	padding: 8px;
	margin: 4px 0 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: .2s;
	z-index: 50;
}
.ams-nav-menu > li:hover > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.ams-nav-menu .sub-menu li a {
	display: block;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 14px;
}
.ams-nav-menu .sub-menu li a:hover {
	background: var(--ams-primary-light);
	color: var(--ams-primary);
}

/* Drawer */
.ams-drawer { position: fixed; inset: 0; z-index: 500; pointer-events: none; }
.ams-drawer[aria-hidden="false"] { pointer-events: auto; }
.ams-drawer-backdrop {
	position: absolute; inset: 0;
	background: rgba(43,31,26,.55);
	opacity: 0;
	transition: .25s;
}
.ams-drawer[aria-hidden="false"] .ams-drawer-backdrop { opacity: 1; }
.ams-drawer-panel {
	position: absolute; top: 0; bottom: 0;
	inset-inline-start: -320px;
	width: 300px;
	background: #fff;
	display: flex; flex-direction: column;
	transition: .3s;
	box-shadow: 0 0 30px rgba(0,0,0,.2);
}
.ams-drawer[aria-hidden="false"] .ams-drawer-panel { inset-inline-start: 0; }
.is-rtl .ams-drawer-panel { inset-inline-start: auto; inset-inline-end: -320px; }
.is-rtl .ams-drawer[aria-hidden="false"] .ams-drawer-panel { inset-inline-end: 0; }
.ams-drawer-head {
	display: flex; justify-content: space-between; align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid var(--ams-border);
}
.ams-drawer-close {
	width: 38px; height: 38px;
	background: var(--ams-primary-light);
	color: var(--ams-primary);
	border: 0;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.ams-drawer-search { padding: 14px 20px; border-bottom: 1px solid var(--ams-border); }
.ams-drawer-search input {
	width: 100%; height: 42px; padding: 0 14px;
	border: 1px solid var(--ams-border);
	border-radius: 8px;
	font: inherit;
	outline: 0;
}
.ams-drawer-menu {
	flex: 1; overflow-y: auto;
	padding: 6px 0;
}
.ams-drawer-menu li a {
	display: block;
	padding: 14px 20px;
	border-bottom: 1px solid var(--ams-border);
	font-weight: 600;
	font-size: 14.5px;
}
.ams-drawer-menu li a:hover { background: var(--ams-primary-light); color: var(--ams-primary); }
.ams-drawer-foot { padding: 16px 20px; border-top: 1px solid var(--ams-border); }
.ams-drawer-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ams-primary);
	font-weight: 700;
}

/* ============================================================
   HERO
   ============================================================ */
.ams-hero {
	padding: 24px 0 0;
}
.ams-hero-track {
	position: relative;
	border-radius: var(--ams-radius-lg);
	overflow: hidden;
	height: 380px;
	background: linear-gradient(135deg, var(--ams-primary) 0%, var(--ams-primary-dark) 100%);
}
.ams-hero-slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	display: flex; align-items: center;
	padding: 50px 60px;
	opacity: 0;
	transition: opacity .5s;
}
.ams-hero-slide.is-active { opacity: 1; z-index: 2; }
.ams-hero-slide::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(110,52,42,.85), rgba(110,52,42,.3));
}
.is-rtl .ams-hero-slide::before {
	background: linear-gradient(270deg, rgba(110,52,42,.85), rgba(110,52,42,.3));
}
.ams-hero-content {
	position: relative;
	color: #fff;
	max-width: 540px;
}
.ams-hero-title {
	color: #fff;
	font-size: clamp(24px, 3.4vw, 42px);
	font-weight: 800;
	margin: 0 0 14px;
	line-height: 1.2;
}
.ams-hero-sub {
	font-size: 16px;
	opacity: .95;
	margin: 0 0 24px;
	line-height: 1.65;
}
.ams-hero-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: #fff;
	color: var(--ams-primary-dark);
	padding: 14px 32px;
	border-radius: 10px;
	font-weight: 700;
	font-size: 15px;
	transition: .2s;
	box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.ams-hero-btn:hover { background: var(--ams-primary-dark); color: #fff; transform: translateY(-2px); }

.ams-hero-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
}
.ams-hero-dot {
	width: 32px; height: 4px;
	background: var(--ams-border);
	border: 0;
	border-radius: 2px;
	transition: .2s;
	padding: 0;
}
.ams-hero-dot.is-active { background: var(--ams-primary); width: 48px; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.ams-cats-section { padding: 36px 0 0; }
.ams-cats-row {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
	background: #fff;
	padding: 24px;
	border-radius: var(--ams-radius-lg);
	box-shadow: var(--ams-shadow);
}
.ams-cat-item {
	display: flex; flex-direction: column; align-items: center;
	gap: 12px;
	text-align: center;
	padding: 14px;
	border-radius: 10px;
	transition: .2s;
}
.ams-cat-item:hover { background: var(--ams-primary-light); }
.ams-cat-icon {
	width: 74px; height: 74px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ams-primary-light), #f9e7df);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 32px;
	transition: .2s;
}
.ams-cat-item:hover .ams-cat-icon {
	background: linear-gradient(135deg, var(--ams-primary), var(--ams-primary-dark));
	transform: scale(1.05);
}
.ams-cat-icon img { width: 70%; height: 70%; object-fit: contain; }
.ams-cat-name { font-size: 13px; font-weight: 600; color: var(--ams-text); line-height: 1.35; }

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.ams-products-section { padding: 36px 0 0; }
.ams-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	gap: 14px;
	flex-wrap: wrap;
}
.ams-section-header-center {
	flex-direction: column; justify-content: center; text-align: center;
	margin-bottom: 28px;
}
.ams-section-title {
	margin: 0;
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 800;
	color: var(--ams-primary-dark);
	position: relative;
	padding-inline-start: 14px;
}
.ams-section-title::before {
	content: ""; position: absolute;
	inset-inline-start: 0;
	top: 50%; transform: translateY(-50%);
	width: 4px; height: 24px;
	background: var(--ams-primary);
	border-radius: 2px;
}
.ams-section-header-center .ams-section-title { padding-inline-start: 0; }
.ams-section-header-center .ams-section-title::before { display: none; }
.ams-section-sub { color: var(--ams-muted); font-size: 14px; margin: 6px 0 0; }
.ams-section-link {
	color: var(--ams-primary);
	font-weight: 600;
	font-size: 14px;
	padding: 8px 16px;
	border-radius: 8px;
	background: var(--ams-primary-light);
	transition: .15s;
}
.ams-section-link:hover { background: var(--ams-primary); color: #fff; }

/* Products slider */
.ams-prods-slider { position: relative; }
.ams-prods-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 60px) / 4);
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 4px 4px 16px;
	scrollbar-width: thin;
	scrollbar-color: var(--ams-border) transparent;
}
.ams-prods-track::-webkit-scrollbar { height: 5px; }
.ams-prods-track::-webkit-scrollbar-thumb { background: var(--ams-border); border-radius: 3px; }
.ams-prods-track > * { scroll-snap-align: start; }
.is-rtl .ams-prods-track { direction: rtl; }

.ams-slider-nav {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	width: 42px; height: 42px;
	background: #fff;
	border: 1px solid var(--ams-border);
	border-radius: 50%;
	color: var(--ams-text);
	font-size: 22px;
	z-index: 5;
	box-shadow: var(--ams-shadow);
	transition: .2s;
}
.ams-slider-nav:hover {
	background: var(--ams-primary);
	color: #fff;
	border-color: var(--ams-primary);
}
.ams-slider-prev { inset-inline-start: -16px; }
.ams-slider-next { inset-inline-end: -16px; }
.is-rtl .ams-slider-prev,
.is-rtl .ams-slider-next { transform: translateY(-50%) scaleX(-1); }

/* ============================================================
   MID BANNERS
   ============================================================ */
.ams-mid-banner { padding: 36px 0 0; }
.ams-banner-wide {
	display: block;
	height: 220px;
	background: linear-gradient(135deg, var(--ams-primary), var(--ams-primary-dark));
	background-size: cover;
	background-position: center;
	border-radius: var(--ams-radius-lg);
	position: relative;
	overflow: hidden;
	transition: .25s;
}
.ams-banner-wide-alt {
	background: linear-gradient(135deg, var(--ams-accent), var(--ams-primary-dark));
}
.ams-banner-wide:hover {
	transform: translateY(-2px);
	box-shadow: var(--ams-shadow-lg);
}
.ams-banner-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.5), transparent);
}
.is-rtl .ams-banner-overlay {
	background: linear-gradient(270deg, rgba(0,0,0,.5), transparent);
}
.ams-banner-content {
	position: relative; z-index: 2;
	color: #fff;
	padding: 40px 50px;
	max-width: 500px;
	height: 100%;
	display: flex; flex-direction: column;
	justify-content: center;
}
.ams-banner-content h2 {
	color: #fff;
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 800;
	margin: 0 0 8px;
}
.ams-banner-content p {
	margin: 0 0 16px;
	opacity: .95;
	font-size: 15px;
}
.ams-banner-cta {
	display: inline-block;
	background: #fff;
	color: var(--ams-primary-dark);
	padding: 10px 22px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 14px;
	align-self: flex-start;
	transition: .2s;
}
.ams-banner-wide:hover .ams-banner-cta {
	background: var(--ams-primary-dark);
	color: #fff;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.ams-tst-section { padding: 56px 0 0; }
.ams-tst-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.ams-tst-card {
	background: #fff;
	border: 1px solid var(--ams-border);
	border-radius: var(--ams-radius);
	padding: 24px;
	transition: .2s;
}
.ams-tst-card:hover {
	box-shadow: var(--ams-shadow-lg);
	transform: translateY(-3px);
	border-color: transparent;
}
.ams-tst-stars {
	color: var(--ams-primary);
	font-size: 17px;
	letter-spacing: 2px;
	margin-bottom: 12px;
}
.ams-tst-quote {
	color: var(--ams-text);
	font-size: 14.5px;
	line-height: 1.75;
	margin: 0 0 14px;
}
.ams-tst-author {
	font-size: 13px;
	font-weight: 700;
	color: var(--ams-primary-dark);
}

/* ============================================================
   FEATURES STRIP
   ============================================================ */
.ams-features-section { padding: 56px 0 0; }
.ams-features-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	background: #fff;
	padding: 26px;
	border-radius: var(--ams-radius-lg);
	box-shadow: var(--ams-shadow);
}
.ams-feature-item {
	display: flex; align-items: center; gap: 14px;
}
.ams-feature-icon {
	width: 54px; height: 54px;
	border-radius: 12px;
	background: var(--ams-primary-light);
	color: var(--ams-primary);
	display: inline-flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	font-size: 26px;
}
.ams-feature-text strong {
	color: var(--ams-text);
	font-size: 14px;
	font-weight: 700;
	display: block;
}
.ams-feature-text span {
	color: var(--ams-muted);
	font-size: 12.5px;
	display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ams-footer {
	background: var(--ams-primary-dark);
	color: rgba(255,255,255,.85);
	margin-top: 72px;
}

.ams-footer-trust {
	background: rgba(255,255,255,.05);
	padding: 24px 0;
	border-bottom: 1px solid rgba(255,255,255,.06);
}
.ams-footer-trust-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.ams-trust-item {
	display: flex; align-items: center; gap: 14px;
	color: #fff;
}
.ams-trust-item svg, .ams-trust-item span:first-child {
	color: var(--ams-primary);
	flex-shrink: 0;
}
.ams-trust-item strong { display: block; font-size: 14px; font-weight: 700; }
.ams-trust-item small { display: block; font-size: 12px; opacity: .75; color: #fff; }

.ams-newsletter {
	background: var(--ams-primary);
	padding: 32px 0;
}
.ams-newsletter-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 28px;
	align-items: center;
}
.ams-newsletter-text h3 {
	color: #fff;
	margin: 0 0 4px;
	font-size: 22px;
}
.ams-newsletter-text p {
	color: rgba(255,255,255,.92);
	margin: 0;
	font-size: 14px;
}
.ams-newsletter-form {
	display: flex;
	background: #fff;
	border-radius: 12px;
	padding: 6px;
	min-width: 400px;
}
.ams-newsletter-form input {
	flex: 1;
	border: 0;
	outline: 0;
	background: transparent;
	padding: 0 18px;
	font: inherit;
	color: var(--ams-text);
	min-width: 0;
}
.ams-newsletter-form button {
	background: var(--ams-primary-dark);
	color: #fff;
	border: 0;
	padding: 12px 28px;
	border-radius: 8px;
	font-weight: 700;
	font-family: inherit;
}
.ams-newsletter-form button:hover { background: var(--ams-accent); }

.ams-footer-main { padding: 48px 0; }
.ams-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 40px;
}
.ams-footer-logo img {
	background: rgba(255,255,255,.95);
	padding: 8px 14px;
	border-radius: 10px;
	max-height: 56px;
}
.ams-footer-logo .ams-logo-name strong { color: #fff; }
.ams-footer-about {
	margin: 18px 0;
	color: rgba(255,255,255,.78);
	font-size: 14px;
	line-height: 1.85;
}
.ams-footer-social { display: flex; gap: 8px; }
.ams-footer-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,.08);
	color: #fff;
	transition: .2s;
}
.ams-footer-social a:hover {
	background: var(--ams-primary);
	transform: translateY(-2px);
}

.ams-footer-title {
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255,255,255,.1);
	position: relative;
}
.ams-footer-title::after {
	content: ""; position: absolute;
	bottom: -1px; inset-inline-start: 0;
	width: 36px; height: 2px;
	background: var(--ams-primary);
}

.ams-footer-menu li, .ams-footer-contact li { margin-bottom: 10px; }
.ams-footer-menu a {
	color: rgba(255,255,255,.78);
	font-size: 14px;
	transition: .15s;
}
.ams-footer-menu a:hover {
	color: var(--ams-primary);
	padding-inline-start: 4px;
}
.ams-footer-contact { display: flex; flex-direction: column; gap: 12px; }
.ams-footer-contact li {
	display: flex; align-items: flex-start; gap: 10px;
	color: rgba(255,255,255,.78);
	font-size: 14px;
}
.ams-footer-contact li svg { color: var(--ams-primary); flex-shrink: 0; margin-top: 3px; }
.ams-footer-contact a { color: rgba(255,255,255,.85); }
.ams-footer-contact a:hover { color: var(--ams-primary); }

.ams-footer-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.ams-footer-pay span {
	background: rgba(255,255,255,.08);
	color: #fff;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 11px;
	font-weight: 600;
	font-family: "Inter", sans-serif;
}

.ams-footer-bottom {
	border-top: 1px solid rgba(255,255,255,.08);
	padding: 16px 0;
	font-size: 13px;
	color: rgba(255,255,255,.65);
	background: rgba(0,0,0,.15);
}
.ams-footer-bot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ams-wa-float {
	position: fixed;
	bottom: 24px;
	inset-inline-end: 24px;
	width: 58px; height: 58px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(37,211,102,.5);
	z-index: 100;
	transition: .2s;
}
.ams-wa-float:hover { transform: scale(1.1); color: #fff; }

/* ===== PAGES / POSTS / 404 ===== */
.ams-page-wrap { padding: 0 0 50px; }
.ams-page-hero {
	background: linear-gradient(135deg, var(--ams-primary-light), #fff);
	padding: 48px 0;
	text-align: center;
	margin-bottom: 36px;
	border-bottom: 1px solid var(--ams-border);
}
.ams-page-hero h1 { margin: 0; font-size: clamp(24px, 3vw, 36px); }
.ams-page-content { max-width: 900px; margin: 0 auto; }
.ams-page-article { background: #fff; border-radius: var(--ams-radius-lg); border: 1px solid var(--ams-border); overflow: hidden; }
.ams-page-img img { width: 100%; }
.ams-page-body { padding: 40px; line-height: 1.85; }
.ams-page-body h2, .ams-page-body h3 { margin-top: 1.4em; }
.ams-page-body ul, .ams-page-body ol { padding-inline-start: 22px; }
.ams-page-body li { margin-bottom: 8px; }

.ams-page-title { font-size: 28px; margin: 0 0 30px; }

.ams-blog { padding: 40px 0; }
.ams-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.ams-blog-card {
	background: #fff;
	border: 1px solid var(--ams-border);
	border-radius: var(--ams-radius);
	overflow: hidden;
	transition: .2s;
}
.ams-blog-card:hover { box-shadow: var(--ams-shadow-lg); transform: translateY(-3px); }
.ams-blog-thumb img { width: 100%; height: 200px; object-fit: cover; }
.ams-blog-body { padding: 22px; }
.ams-blog-meta { color: var(--ams-muted); font-size: 12px; margin-bottom: 8px; }
.ams-blog-body h2 { font-size: 18px; margin: 0 0 10px; }
.ams-blog-excerpt { color: var(--ams-muted); font-size: 14px; }

.ams-single { max-width: 900px; margin: 0 auto; }
.ams-single-post { background: #fff; border-radius: var(--ams-radius-lg); border: 1px solid var(--ams-border); overflow: hidden; }
.ams-single-thumb img { width: 100%; }
.ams-single-head { padding: 28px 36px 16px; text-align: center; border-bottom: 1px solid var(--ams-border); }
.ams-single-head h1 { margin: 0 0 12px; font-size: clamp(22px, 2.6vw, 32px); }
.ams-single-meta { color: var(--ams-muted); font-size: 13px; }
.ams-single-body { padding: 30px 36px; line-height: 1.85; }

.ams-empty {
	text-align: center;
	padding: 60px 24px;
	background: #fff;
	border-radius: var(--ams-radius-lg);
	border: 1px solid var(--ams-border);
}
.ams-empty h2, .ams-empty h3 { margin: 0 0 12px; }
.ams-empty p { color: var(--ams-muted); margin-bottom: 20px; }

.ams-404 { padding: 80px 0; min-height: 50vh; display: flex; align-items: center; }
.ams-404-inner { text-align: center; max-width: 500px; margin: 0 auto; }
.ams-404-num {
	font-size: 140px;
	font-weight: 900;
	line-height: 1;
	background: linear-gradient(135deg, var(--ams-primary), var(--ams-primary-dark));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 20px;
	font-family: "Inter", sans-serif;
}
.ams-404-inner h1 { font-size: 28px; margin-bottom: 12px; }
.ams-404-inner p { color: var(--ams-muted); margin-bottom: 24px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
	.ams-cats-row { grid-template-columns: repeat(4, 1fr); }
	.ams-prods-track { grid-auto-columns: calc((100% - 32px) / 3); }
	.ams-tst-grid { grid-template-columns: repeat(2, 1fr); }
	.ams-features-row { grid-template-columns: repeat(2, 1fr); }
	.ams-footer-grid { grid-template-columns: 1fr 1fr; }
	.ams-footer-trust-row { grid-template-columns: repeat(2, 1fr); }
	.ams-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.ams-burger { display: flex; }
	.ams-header-row {
		gap: 12px;
		min-height: 70px;
		padding: 12px 16px;
	}
	/* Tighten search on tablet */
	.ams-search-input { height: 50px; font-size: 14.5px; }
	.ams-search-btn {
		height: 50px;
		min-width: 90px;
		font-size: 14px;
		padding: 0 16px;
	}
	.ams-search-icon { padding: 0 12px; }
	.ams-nav, .ams-topbar-links { display: none; }
	.ams-logo-img { max-height: 44px; }
	.ams-logo-name { display: none; }    /* hide text logo - keep image only */
	.ams-act-label { display: none; }
	.ams-act-btn { min-width: 40px; padding: 6px; }
	.ams-hero-track { height: 280px; }
	.ams-hero-slide { padding: 30px; }
	.ams-cats-row { grid-template-columns: repeat(3, 1fr); padding: 18px; }
	.ams-cat-icon { width: 62px; height: 62px; font-size: 26px; }
	.ams-prods-track { grid-auto-columns: calc((100% - 16px) / 2); }
	.ams-banner-content { padding: 24px 30px; }
	.ams-banner-wide { height: 180px; }
}
@media (max-width: 700px) {
	/* On phones: move search to its OWN row below to keep it usable */
	.ams-header-row .ams-search { display: none; }
	.ams-header-search-row-mobile {
		display: block;
		padding: 0 12px 12px;
	}
	.ams-search-mobile {
		max-width: 100%;
	}
	.ams-search-mobile .ams-search-input { height: 46px; font-size: 14.5px; }
	.ams-search-mobile .ams-search-icon { padding: 0 12px; }
	.ams-search-mobile .ams-search-btn {
		height: 46px;
		min-width: 50px;
		padding: 0 14px;
	}
	.ams-search-mobile .ams-search-btn-text { display: none; }
	.ams-search-mobile .ams-search-btn-icon { display: inline-flex; }
	.ams-header-row {
		min-height: 60px;
		padding: 10px 12px;
	}
}
@media (max-width: 600px) {
	.ams-topbar-text { font-size: 12px; }
	.ams-hero-track { height: 240px; }
	.ams-hero-slide { padding: 22px; }
	.ams-cats-row { grid-template-columns: repeat(2, 1fr); padding: 14px; gap: 10px; }
	.ams-tst-grid, .ams-blog-grid { grid-template-columns: 1fr; }
	.ams-features-row { grid-template-columns: 1fr; padding: 18px; gap: 14px; }
	.ams-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.ams-footer-trust-row { grid-template-columns: 1fr; gap: 14px; }
	.ams-newsletter-row { grid-template-columns: 1fr; text-align: center; }
	.ams-newsletter-form { min-width: 100%; }
	.ams-footer-bot { flex-direction: column; text-align: center; }
	.ams-page-body, .ams-single-body { padding: 22px; }
	.ams-404-num { font-size: 100px; }
}
