/* Al Maryum redesign 2026-11 — follows "Al Maryum homepage design.pdf" */
:root {
	--am-ink: #111111;
	--am-text: #222222;
	--am-muted: #6b6b6b;
	--am-line: #e4e4e4;
	--am-tile: #f3f3f1;
	--am-panel: #f4f2ee;
	--am-sale: #b4232a;
	--am-wa: #0b6b4f;
	--am-white: #ffffff;
	--am-font: "Jost", "Helvetica Neue", Arial, sans-serif;
	--am-wrap: 1240px;
	--am-gut: 36px;
}
@media (max-width: 760px) { :root { --am-gut: 16px; } }

body.am-rd { font-family: var(--am-font); color: var(--am-text); background: var(--am-white); -webkit-font-smoothing: antialiased; }
body.am-rd h1, body.am-rd h2, body.am-rd h3, body.am-rd h4,
body.am-rd .am-btn, body.am-rd input, body.am-rd select, body.am-rd button { font-family: var(--am-font); }
body.am-rd :is(h1,h2,h3) { color: var(--am-ink); letter-spacing: 0; }
body.am-rd a:focus-visible, body.am-rd button:focus-visible, body.am-rd summary:focus-visible, body.am-rd select:focus-visible, body.am-rd input:focus-visible { outline: 2px solid var(--am-ink); outline-offset: 2px; }
.am-rd .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.am-wrap { max-width: calc(var(--am-wrap) + 2 * var(--am-gut)); margin: 0 auto; padding: 0 var(--am-gut); }
.am-ico { display: block; flex: none; }
.am-muted { color: var(--am-muted); }
.am-center { text-align: center; }

/* Hide replaced theme chrome */
.am-rd .pressmart-mobile-navbar, .am-rd .mobile-navbar, .am-rd #simple-chat-button--container,
.am-rd #trp-floater-ls, .am-rd .trp-language-switcher.trp-floating-switcher, .am-rd .pressmart-back-to-top, .am-rd .scroll-top { display: none !important; }

/* Full-width canvas for our templates */
.am-rd-home #main-content > .container, .am-rd-catalog #main-content > .container { max-width: none; width: 100%; padding: 0; }
.am-rd-home #main-content > .container > .row, .am-rd-catalog #main-content > .container > .row { margin: 0; display: block; }
.am-rd-home #main-content, .am-rd-catalog #main-content { padding: 0; margin: 0; }

/* Buttons + links */
.am-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 26px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--am-ink); border-radius: 0; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; line-height: 1.2; }
.am-btn-dark { background: var(--am-ink); color: #fff !important; }
.am-btn-dark:hover { background: #333; border-color: #333; }
.am-btn-outline { background: #fff; color: var(--am-ink) !important; }
.am-btn-outline:hover { background: var(--am-ink); color: #fff !important; }
.am-btn-wa { background: var(--am-wa); border-color: var(--am-wa); color: #fff !important; text-transform: none; letter-spacing: 0; font-size: 15px; }
.am-link { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--am-ink) !important; text-decoration: underline; text-underline-offset: 5px; }
.am-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; background: none; border: 0; color: var(--am-ink) !important; cursor: pointer; position: relative; }

/* Promo bar + header */
.am-promo { background: var(--am-ink); color: #fff; text-align: center; }
.am-promo p { margin: 0; padding: 9px var(--am-gut); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.am-header { position: sticky; top: 0; z-index: 90; background: #fff; border-bottom: 1px solid var(--am-line); }
.admin-bar .am-header { top: 32px; }
.am-header-in { max-width: calc(var(--am-wrap) + 2 * var(--am-gut)); margin: 0 auto; padding: 8px var(--am-gut); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.am-logo img { display: block; height: 56px; width: auto; }
.am-menu-btn { display: none; }
.am-nav ul { display: flex; justify-content: center; gap: 34px; margin: 0; padding: 0; list-style: none; }
.am-nav a { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--am-ink) !important; text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.am-nav a:hover, .am-nav a[aria-current] { border-bottom-color: var(--am-ink); }
.am-tools { display: flex; align-items: center; gap: 4px; }
.am-currency { font-size: 12px; letter-spacing: .06em; margin-inline-end: 10px; }
.am-lang { font-size: 15px; color: var(--am-ink) !important; text-decoration: none; margin-inline-end: 8px; }
.am-bag-count { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--am-ink); color: #fff; font-size: 10px; line-height: 17px; text-align: center; }
.am-search { max-width: 760px; margin: 0 auto; padding: 0 var(--am-gut) 14px; display: flex; gap: 8px; }
.am-search[hidden] { display: none; }
.am-search input { flex: 1; min-height: 44px; border: 1px solid var(--am-ink); padding: 0 14px; font-size: 16px; border-radius: 0; }

@media (max-width: 1080px) {
	.am-nav { display: none; }
	.am-menu-btn { display: inline-flex; }
	.am-header-in { grid-template-columns: 1fr auto 1fr; gap: 8px; padding-top: 6px; padding-bottom: 6px; }
	.am-logo { justify-self: center; }
	.am-logo img { height: 46px; }
	.am-tools { justify-self: end; }
	.am-currency, .am-tools .am-lang, .am-account { display: none; }
}

/* Drawer (menu) */
.am-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.4); }
.am-drawer[hidden] { display: none; }
.am-drawer-panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(86vw, 360px); background: #fff; padding: 16px 20px 24px; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.am-drawer-head { display: flex; align-items: center; justify-content: space-between; }
.am-drawer-head img { height: 44px; width: auto; }
.am-drawer-nav, .am-drawer-sub { list-style: none; margin: 0; padding: 0; }
.am-drawer-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--am-line); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--am-ink) !important; text-decoration: none; }
.am-drawer-sub a { display: block; padding: 9px 0; font-size: 15px; color: var(--am-text) !important; text-decoration: none; }
.am-lock { overflow: hidden; }

/* Hero */
.am-hero { position: relative; }
.am-hero-track { display: grid; grid-template-columns: 1fr 1fr; }
.am-hero-slide { position: relative; display: block; aspect-ratio: 468 / 480; overflow: hidden; background: #eee; }
.am-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; transition: transform .6s ease; }
.am-hero-slide:hover .am-hero-img { transform: scale(1.02); }
.am-hero-card { position: absolute; inset-inline-start: 4.5%; bottom: 4.5%; background: #fff; padding: 14px 22px 12px; display: flex; flex-direction: column; gap: 6px; }
.am-hero-title { font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; color: var(--am-ink); }
.am-hero-card .am-link { font-size: 11px; }
.am-hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 6px rgba(0,0,0,.15); display: none; align-items: center; justify-content: center; cursor: pointer; color: var(--am-ink); }
.am-hero-arrow.am-prev { inset-inline-start: 12px; }
.am-hero-arrow.am-next { inset-inline-end: 12px; }
@media (max-width: 760px) {
	.am-hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.am-hero-track::-webkit-scrollbar { display: none; }
	.am-hero-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
	.am-hero-arrow { display: inline-flex; }
}

/* Trust bar */
.am-trust { list-style: none; margin: 0; padding: 14px var(--am-gut); display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--am-line); max-width: calc(var(--am-wrap) + 2 * var(--am-gut)); margin-inline: auto; }
.am-trust li { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--am-text); }
.am-trust .am-ico { width: 18px; height: 18px; }
@media (max-width: 900px) {
	.am-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
	.am-trust li { font-size: 12.5px; align-items: flex-start; }
}

/* Sections + grids */
.am-section { padding-block: 56px 8px; }
.am-section h2, .am-head h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; margin: 0 0 22px; }
.am-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.am-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px 12px; }
.am-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.am-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .am-grid-5, .am-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .am-grid-5, .am-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; } .am-section { padding-block: 40px 4px; } }
.am-center .am-btn { margin-top: 26px; min-width: 210px; }

/* Card */
.am-card { display: flex; flex-direction: column; margin: 0; }
.am-card-media { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; background: var(--am-tile); }
.am-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: opacity .35s ease; }
.am-card-img2 { opacity: 0; }
@media (hover: hover) { .am-card:hover .am-card-img2 { opacity: 1; } }
.am-badge { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--am-ink); color: #fff; font-size: 11px; padding: 3px 6px; line-height: 1.2; }
.am-badge-muted { background: #fff; color: var(--am-ink); border: 1px solid var(--am-ink); }
.am-card.is-soldout .am-card-media img { opacity: .6; }
.am-card-body { padding-top: 12px; flex: 1; }
.am-card-title { font-size: 14.5px; font-weight: 400; margin: 0 0 2px; line-height: 1.35; }
.am-card-title a { color: var(--am-ink) !important; text-decoration: none; }
.am-card-sub { font-size: 12.5px; color: var(--am-muted); margin: 0 0 4px; }
.am-price, .am-price .price { font-size: 14px; font-weight: 500; color: var(--am-ink); }
.am-price del, .am-price del .amount { color: var(--am-muted); font-weight: 400; font-size: 13px; opacity: 1; }
.am-price ins { text-decoration: none; color: var(--am-sale); }
.am-price ins .amount { color: var(--am-sale); }
.am-price { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 7px; flex-wrap: wrap-reverse; }
.am-price .woocommerce-Price-currencySymbol { font-size: inherit; }
.am-card-btn { margin-top: 12px; width: 100%; min-height: 40px; padding: 8px 10px; font-size: 12px; }
@media (max-width: 640px) { .am-card-btn { font-size: 11px; letter-spacing: .06em; } }

/* Shop by fabric */
.am-fabric-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.am-fabric-grid a { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 10px; background: var(--am-tile); color: var(--am-ink) !important; font-size: 15px; text-decoration: none; transition: background .2s; }
.am-fabric-grid a:hover { background: #e9e8e4; }
@media (max-width: 760px) { .am-fabric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .am-fabric-grid a { min-height: 54px; font-size: 14px; } }

/* Made to measure */
.am-mtm { display: grid; grid-template-columns: 1fr 1fr; background: var(--am-panel); margin-top: 64px; }
.am-mtm-media img { display: block; width: 100%; height: 100%; max-height: 560px; object-fit: cover; object-position: center 18%; }
.am-mtm-copy { padding: clamp(28px, 4vw, 56px) clamp(20px, 3.4vw, 34px); align-self: center; max-width: 470px; }
.am-mtm-copy h2 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; margin: 0 0 18px; }
.am-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.am-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.am-steps span { flex: none; width: 26px; height: 26px; border: 1px solid var(--am-ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 1px; }
.am-btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .am-mtm { grid-template-columns: 1fr; margin-top: 48px; } .am-mtm-media img { aspect-ratio: 4 / 4.2; max-height: none; } .am-btn-row .am-btn { flex: 1 1 100%; } }

/* Reviews (real reviews only) */
.am-review-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.am-review-grid li { border: 1px solid var(--am-line); padding: 18px; }
.am-stars { color: #a87b2d; letter-spacing: 2px; margin: 0 0 6px; }
@media (max-width: 760px) { .am-review-grid { grid-template-columns: 1fr; } }

/* FAQ */
.am-faq { max-width: 600px; margin: 0 auto; padding-inline: var(--am-gut); box-sizing: content-box; }
.am-faq h2 { text-align: center; margin-bottom: 26px; }
.am-faq details, .am-fgroup { border-top: 1px solid var(--am-line); }
.am-faq details:first-of-type { border-top-color: #777; }
.am-faq details:last-of-type { border-bottom: 1px solid var(--am-line); }
.am-faq summary, .am-fgroup summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-size: 15.5px; color: var(--am-ink); }
.am-faq summary::-webkit-details-marker, .am-fgroup summary::-webkit-details-marker { display: none; }
.am-faq summary .am-ico, .am-fgroup summary .am-ico { width: 16px; height: 16px; transition: transform .2s; }
.am-faq details[open] summary .am-ico, .am-fgroup[open] summary .am-ico { transform: rotate(180deg); }
.am-faq details p { margin: -4px 0 18px; font-size: 14px; line-height: 1.6; color: #444; }

/* Newsletter */
.am-newsletter { background: var(--am-panel); text-align: center; padding: 48px var(--am-gut); margin-top: 64px; }
.am-newsletter h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; margin: 0 0 8px; }
.am-newsletter p { margin: 0 0 18px; font-size: 15px; }
.am-nl-form { display: flex; gap: 6px; max-width: 440px; margin: 0 auto; }
.am-nl-form input[type=email] { flex: 1; min-width: 0; min-height: 46px; border: 1px solid var(--am-ink); padding: 0 14px; font-size: 16px; background: #fff; border-radius: 0; }
.am-hp { position: absolute; left: -9999px; }
.am-nl-msg { font-weight: 500; }
.am-nl-err { color: var(--am-sale); }
@media (max-width: 480px) { .am-nl-form { flex-direction: column; } }

/* Footer */
.am-footer { background: var(--am-ink); color: #e9e9e9; padding-top: 48px; }
.am-footer a { color: #e9e9e9 !important; text-decoration: none; }
.am-footer a:hover { color: #fff !important; text-decoration: underline; }
.am-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; }
.am-footer-brand img { height: 64px; width: auto; filter: invert(1); margin-bottom: 12px; }
.am-footer-brand p { margin: 0; font-size: 14px; }
.am-footer h2 { color: #fff !important; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; }
.am-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14px; }
.am-footer-bottom { border-top: 1px solid #333; padding-block: 18px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 12.5px; }
.am-footer-bottom p { margin: 0; color: #bbb; }
.am-pays { display: flex; flex-wrap: wrap; gap: 6px; }
.am-pay { border: 1px solid #444; padding: 3px 8px; font-size: 11px; color: #ddd; border-radius: 3px; }
@media (max-width: 760px) { .am-footer-grid { grid-template-columns: 1fr 1fr; } .am-footer-brand { grid-column: 1 / -1; } .am-footer { padding-bottom: 72px; } }

/* Floating WhatsApp */
.am-wa-float { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 80; display: inline-flex; align-items: center; gap: 8px; background: var(--am-wa); color: #fff !important; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.am-wa-float .am-ico { width: 18px; height: 18px; }
@media (max-width: 640px) { .am-wa-float { padding: 12px; } .am-wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); } .am-wa-float .am-ico { width: 24px; height: 24px; } }

/* ---------- Catalog ---------- */
.am-catalog { padding-bottom: 56px; }
.am-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--am-muted); padding: 18px 0 6px; }
.am-crumbs a { color: var(--am-muted) !important; text-decoration: none; }
.am-crumbs [aria-current] { color: var(--am-ink); }
.am-cat-head h1 { font-size: clamp(26px, 3vw, 36px); font-weight: 500; margin: 6px 0 8px; }
.am-cat-desc { max-width: 760px; color: #444; font-size: 14.5px; line-height: 1.6; }
.am-cat-desc p { margin: 0 0 8px; }
.am-cat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 18px; scrollbar-width: none; }
.am-cat-chips::-webkit-scrollbar { display: none; }
.am-cat-chips a { flex: none; padding: 9px 16px; border: 1px solid var(--am-line); font-size: 13px; color: var(--am-ink) !important; text-decoration: none; white-space: nowrap; }
.am-cat-chips a.is-on, .am-cat-chips a:hover { border-color: var(--am-ink); background: var(--am-ink); color: #fff !important; }
.am-cat-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; align-items: start; }
.am-filters { position: sticky; top: 96px; max-height: calc(100vh - 110px); overflow-y: auto; scrollbar-width: thin; padding-inline-end: 10px; }
.am-filters-head { display: none; }
.am-filters-foot { display: none; }
.am-fgroup summary { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 14px 0; }
.am-fgroup:last-child { border-bottom: 1px solid var(--am-line); }
.am-fcount { display: inline-flex; min-width: 18px; height: 18px; border-radius: 9px; background: var(--am-ink); color: #fff; font-size: 10.5px; align-items: center; justify-content: center; padding: 0 5px; letter-spacing: 0; margin-inline-start: 4px; margin-inline-end: auto; }
.am-fopts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 2px; }
.am-fgroup-colour .am-fopts { grid-template-columns: 1fr 1fr; column-gap: 22px; }
.am-fopt { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--am-text) !important; text-decoration: none; min-height: 36px; }
.am-fopt:hover .am-fname { text-decoration: underline; }
.am-fn { margin-inline-start: auto; color: var(--am-muted); font-size: 12px; }
.am-cb { flex: none; width: 18px; height: 18px; border: 1px solid #999; display: inline-flex; align-items: center; justify-content: center; color: transparent; }
.am-cb .am-ico { width: 14px; height: 14px; }
.am-radio { border-radius: 50%; }
.am-fopt.is-on .am-cb { background: var(--am-ink); border-color: var(--am-ink); color: #fff; }
.am-fopt.is-on .am-fname { font-weight: 500; color: var(--am-ink); }
.am-sw { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.am-fopt.is-on .am-sw { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--am-ink); }
.am-fstock { padding: 10px 0; }
.am-toggle { flex: none; width: 34px; height: 20px; border-radius: 10px; background: #ccc; position: relative; transition: background .2s; }
.am-toggle::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.am-fopt.is-on .am-toggle { background: var(--am-ink); }
.am-fopt.is-on .am-toggle::after { transform: translateX(14px); }
[dir=rtl] .am-fopt.is-on .am-toggle::after { transform: translateX(-14px); }

.am-toolbar { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--am-line); margin-bottom: 18px; }
.am-filters-open { display: none; min-height: 40px; padding: 8px 16px; }
.am-count { margin: 0; color: var(--am-muted); font-size: 13.5px; }
.am-sort { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.am-sort label { font-size: 13px; color: var(--am-muted); margin: 0; }
.am-sort select { min-height: 40px; border: 1px solid var(--am-line); padding: 0 32px 0 12px; font-size: 14px; background-color: #fff; border-radius: 0; color: var(--am-ink); max-width: 190px; }
.am-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 18px; }
.am-chips a { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; background: var(--am-tile); font-size: 13px; color: var(--am-ink) !important; text-decoration: none; }
.am-chips a.am-chips-clear { background: none; text-decoration: underline; text-underline-offset: 4px; }
.am-pages { margin-top: 40px; }
.am-pages ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.am-pages a, .am-pages span { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--am-line); color: var(--am-ink) !important; text-decoration: none; font-size: 14px; }
.am-pages .current { background: var(--am-ink); border-color: var(--am-ink); color: #fff !important; }
.am-empty { text-align: center; padding: 56px 16px; background: var(--am-panel); }
.am-empty h2 { font-size: 22px; font-weight: 500; }
.am-empty .am-btn { margin: 6px 3px; }

@media (max-width: 960px) {
	.am-cat-layout { grid-template-columns: 1fr; }
	.am-filters-open { display: inline-flex; }
	.am-filters { position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 210; width: min(88vw, 380px); max-height: none; background: #fff; display: flex; flex-direction: column; transform: translateX(-102%); transition: transform .25s ease; }
	[dir=rtl] .am-filters { transform: translateX(102%); }
	.am-filters.is-open { transform: none; }
	.am-filters-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--am-line); }
	.am-filters-head h2 { font-size: 18px; font-weight: 500; margin: 0; }
	.am-filters-body { flex: 1; overflow-y: auto; padding: 0 16px; }
	.am-filters-foot { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--am-line); }
	.am-filters-foot .am-btn { flex: 1; padding-inline: 10px; }
	.am-filters-scrim { position: fixed; inset: 0; z-index: 205; background: rgba(0,0,0,.4); }
	.am-filters-scrim[hidden] { display: none; }
	.am-count { display: none; }
	.am-sort label { display: none; }
}
@media (max-width: 400px) { .am-sort select { max-width: 160px; } }

/* Theme overrides */
.am-rd-catalog .pressmart-canvas-sidebar, .am-rd-home .pressmart-canvas-sidebar { display: none !important; }
.am-rd .am-icon-btn, .am-rd .am-hero-arrow:focus { box-shadow: none; border: 0; background: none; border-radius: 0; min-height: 0; }
.am-rd .am-hero-arrow { background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.15); border-radius: 50%; }
.am-rd .am-price ins, .am-rd .am-price del { background: none; padding: 0; margin: 0; }
.am-rd .am-btn { box-shadow: none; }

/* Arabic */
html[lang^="ar"] body.am-rd, html[lang^="ar"] body.am-rd :is(h1,h2,h3,h4,.am-btn,input,select,button) { font-family: "Tajawal", "Jost", Arial, sans-serif; }
html[lang^="ar"] .am-rd :is(.am-nav a, .am-btn, .am-link, .am-promo p, .am-footer h2, .am-fgroup summary, .am-drawer-nav a) { letter-spacing: 0; }
html[lang^="ar"] .am-rd .am-price { direction: ltr; justify-content: flex-start; flex-direction: row; }
html[lang^="ar"] .am-rd .am-price ins { order: -1; }

/* SEO blocks */
.am-faq-inline { max-width: 760px; padding-bottom: 32px; }
.am-faq-inline h2 { text-align: start; font-size: 22px; }
.single-product .am-faq-inline { clear: both; padding-top: 32px; }
.am-seo-desc h3 { font-size: 17px; font-weight: 500; margin: 20px 0 8px; }
.am-seo-desc ul, .am-seo-short ul { padding-inline-start: 20px; margin: 0 0 12px; }
.am-seo-desc li, .am-seo-short li { margin: 3px 0; }

/* v1.1: tall cards, fabric photo tiles, rails, why-us + SEO text (casbasics-inspired) */
body.am-rd-home, body.am-rd-catalog { background: #fcfbf8; }
.am-rd-home .am-header, .am-rd-catalog .am-header { background: #fcfbf8; }
.am-card-media { background: #f1efea; }
.am-fabric-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 18px; }
.am-fabric-grid a { flex-direction: column; gap: 10px; min-height: 0; padding: 0; background: none; text-align: center; }
.am-fabric-grid a:hover { background: none; }
.am-fabric-img { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #ece9e3; }
.am-fabric-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .4s ease; }
.am-fabric-grid a:hover .am-fabric-img img { transform: scale(1.06); }
.am-fabric-name { font-size: 15px; font-weight: 500; }
.am-fabric-n { font-size: 12px; color: var(--am-muted); margin-top: -8px; }
@media (max-width: 900px) { .am-fabric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; } .am-fabric-name { font-size: 13.5px; } }
.am-rail-nav { display: flex; align-items: center; gap: 6px; }
.am-rail-btn { width: 36px; height: 36px; border: 1px solid var(--am-line); background: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--am-ink); margin-inline-end: 4px; padding: 0; }
.am-rail-btn .am-ico { width: 16px; height: 16px; }
[dir=rtl] .am-rail-btn .am-ico { transform: scaleX(-1); }
.am-rail-track { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 12px) / 5); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.am-rail-track::-webkit-scrollbar { display: none; }
.am-rail-track > li { scroll-snap-align: start; }
@media (max-width: 1100px) { .am-rail-track { grid-auto-columns: calc((100% - 2 * 12px) / 3.2); } }
@media (max-width: 640px) { .am-rail-track { grid-auto-columns: 46%; gap: 10px; } .am-rail-btn { display: none; } }
.am-why { background: var(--am-panel); margin-top: 64px; padding: 56px 0; }
.am-why h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; text-align: center; margin: 0 0 28px; }
.am-why-grid { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.am-why-grid .am-ico { width: 30px; height: 30px; margin: 0 auto 10px; }
.am-why-grid h3 { font-size: 16px; font-weight: 500; margin: 0 0 6px; }
.am-why-grid p { font-size: 14px; color: #555; margin: 0; line-height: 1.55; }
.am-seo-text { max-width: 760px; margin: 0 auto; text-align: center; }
.am-seo-text h2 { font-size: 20px; margin-bottom: 12px; }
.am-seo-text p { font-size: 14.5px; line-height: 1.7; color: #444; }
.am-seo-text a { color: var(--am-ink) !important; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .am-why-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; } .am-why { padding: 44px 0; margin-top: 48px; } }
.am-why + .am-faq { margin-top: 56px; }

/* ===== v1.2 Motion & hover (UI/UX Pro Max: 150–300ms micro, 450–700ms reveals, transform/opacity only, no layout shift) ===== */
:root {
	--am-ease: cubic-bezier(.22, .61, .36, 1);
	--am-ease-io: cubic-bezier(.65, 0, .35, 1);
	--am-fast: 200ms;
	--am-med: 320ms;
	--am-slow: 650ms;
}
html { scroll-behavior: smooth; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; animation-timing-function: var(--am-ease); }
.am-rd a, .am-rd button, .am-rd summary, .am-rd select, .am-rd label[for] { cursor: pointer; }

/* Links: underline that draws in from the start edge */
.am-link { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px; padding-bottom: 3px; transition: background-size var(--am-med) var(--am-ease), opacity var(--am-fast); }
.am-nav a { border-bottom: 0 !important; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size var(--am-med) var(--am-ease); }
.am-nav a[aria-current] { background-size: 100% 1px; }
[dir=rtl] .am-link, [dir=rtl] .am-nav a { background-position: 100% 100%; }
.am-footer a, .am-drawer-sub a, .am-crumbs a { transition: color var(--am-fast), opacity var(--am-fast); }

/* Buttons: fill sweeps across */
.am-btn { position: relative; overflow: hidden; isolation: isolate; transition: color var(--am-med) var(--am-ease), border-color var(--am-med) var(--am-ease), background-color var(--am-med) var(--am-ease), transform var(--am-fast) var(--am-ease); }
.am-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left center; transition: transform var(--am-med) var(--am-ease); }
[dir=rtl] .am-btn::before { transform-origin: right center; }
.am-btn-outline::before { background: var(--am-ink); }
.am-btn-dark::before { background: #3a3a3a; }
.am-btn-wa::before { background: #095a43; }
.am-btn:active { transform: scale(.98); }

/* Icon buttons, rail arrows, hero arrows */
.am-icon-btn .am-ico, .am-rail-btn, .am-hero-arrow { transition: transform var(--am-fast) var(--am-ease), background-color var(--am-fast), color var(--am-fast), border-color var(--am-fast), box-shadow var(--am-fast); }

/* Header: glass + compact after scrolling */
.am-header { transition: background-color var(--am-med) var(--am-ease), box-shadow var(--am-med) var(--am-ease), border-color var(--am-med); }
.am-header-in { transition: padding var(--am-med) var(--am-ease); }
.am-logo img { transition: height var(--am-med) var(--am-ease); }
.am-header.is-scrolled { background: rgba(252, 251, 248, .86) !important; -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); border-bottom-color: transparent; }
.am-search:not([hidden]) { animation: am-drop var(--am-med) var(--am-ease) both; }
@keyframes am-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Hero: gentle settle on load, card rises */
.am-hero-img { animation: am-settle 1.6s var(--am-ease); }
.am-hero-card { animation: am-rise .8s .25s var(--am-ease) backwards; transition: transform var(--am-med) var(--am-ease), box-shadow var(--am-med) var(--am-ease); }
.am-hero-slide:nth-child(2) .am-hero-card { animation-delay: .4s; }
@keyframes am-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes am-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.am-hero-slide .am-hero-img { transition: transform 1.1s var(--am-ease); }

/* Product cards */
.am-card-media img { transition: opacity 450ms var(--am-ease), transform 900ms var(--am-ease); will-change: transform; }
.am-badge { transition: transform var(--am-med) var(--am-ease); }
.am-card-title a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size var(--am-med) var(--am-ease); }
[dir=rtl] .am-card-title a { background-position: 100% 100%; }

/* Fabric tiles */
.am-fabric-img { transition: box-shadow var(--am-med) var(--am-ease); }
.am-fabric-name { transition: letter-spacing var(--am-med) var(--am-ease); }

/* FAQ accordions: smooth open (where supported) + fade */
.am-rd { interpolate-size: allow-keywords; }
.am-faq details::details-content, .am-fgroup::details-content { height: 0; overflow: clip; transition: height var(--am-med) var(--am-ease), content-visibility var(--am-med) allow-discrete; }
.am-faq details[open]::details-content, .am-fgroup[open]::details-content { height: auto; }
.am-faq details[open] p { animation: am-fade var(--am-med) var(--am-ease) both; }
@keyframes am-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.am-faq summary, .am-fgroup summary { transition: color var(--am-fast); }

/* Filters + chips */
.am-fopt { transition: color var(--am-fast); }
.am-cb, .am-sw, .am-toggle { transition: background-color var(--am-fast), border-color var(--am-fast), box-shadow var(--am-fast), transform var(--am-fast) var(--am-ease); }
.am-chips a, .am-cat-chips a, .am-pages a { transition: background-color var(--am-fast), color var(--am-fast), border-color var(--am-fast); }
.am-chips a { animation: am-pop var(--am-med) var(--am-ease) both; }
@keyframes am-pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

/* Drawers: slide + fading scrim (JS toggles .is-open) */
.am-drawer { opacity: 0; transition: opacity var(--am-med) var(--am-ease); }
.am-drawer.is-open { opacity: 1; }
.am-drawer-panel { transform: translateX(-100%); transition: transform 420ms var(--am-ease); }
[dir=rtl] .am-drawer-panel { transform: translateX(100%); }
.am-drawer.is-open .am-drawer-panel { transform: none; }
.am-drawer-nav li { opacity: 0; transform: translateX(-10px); transition: opacity 360ms var(--am-ease), transform 360ms var(--am-ease); }
.am-drawer.is-open .am-drawer-nav li { opacity: 1; transform: none; }
.am-drawer.is-open .am-drawer-nav li:nth-child(2) { transition-delay: 40ms; }
.am-drawer.is-open .am-drawer-nav li:nth-child(3) { transition-delay: 80ms; }
.am-drawer.is-open .am-drawer-nav li:nth-child(4) { transition-delay: 120ms; }
.am-drawer.is-open .am-drawer-nav li:nth-child(5) { transition-delay: 160ms; }
@media (max-width: 960px) {
	.am-filters { transition: transform 420ms var(--am-ease); }
	.am-filters-scrim { opacity: 0; transition: opacity var(--am-med) var(--am-ease); }
	.am-filters-scrim.is-open { opacity: 1; }
}

/* WhatsApp button */
.am-wa-float { transition: transform var(--am-fast) var(--am-ease), box-shadow var(--am-fast) var(--am-ease), background-color var(--am-fast); animation: am-rise .6s 1s var(--am-ease) backwards; }

/* Scroll reveal (only when JS is running; above-the-fold content never hidden) */
.am-js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity var(--am-slow) var(--am-ease), transform var(--am-slow) var(--am-ease); transition-delay: calc(var(--i, 0) * 60ms); }
.am-js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hover effects: mouse/trackpad only (touch gets tap feedback instead) */
@media (hover: hover) and (pointer: fine) {
	.am-link:hover { background-size: 0 1px; background-position: 100% 100%; }
	[dir=rtl] .am-link:hover { background-position: 0 100%; }
	.am-nav a:hover { background-size: 100% 1px; }
	.am-btn:hover::before { transform: scaleX(1); }
	.am-btn-outline:hover { color: #fff !important; background: #fff; }
	.am-btn-dark:hover { background: var(--am-ink); border-color: #3a3a3a; }
	.am-icon-btn:hover .am-ico { transform: translateY(-1px) scale(1.08); }
	.am-rail-btn:hover { background: var(--am-ink); border-color: var(--am-ink); color: #fff; }
	.am-hero-arrow:hover { transform: translateY(-50%) scale(1.06); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
	.am-hero-slide:hover .am-hero-img { transform: scale(1.035); }
	.am-hero-slide:hover .am-hero-card { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.45); }
	.am-hero-slide:hover .am-link { background-size: 0 1px; background-position: 100% 100%; }
	.am-card:hover .am-card-media img { transform: scale(1.045); }
	.am-card:hover .am-badge { transform: translateY(-2px); }
	.am-card:hover .am-card-title a { background-size: 100% 1px; }
	.am-card-btn { transition: color var(--am-med) var(--am-ease), border-color var(--am-med), transform var(--am-fast); }
	.am-card:hover .am-card-btn::before { transform: scaleX(1); }
	.am-card:hover .am-card-btn { color: #fff !important; }
	.am-fabric-grid a:hover .am-fabric-img { box-shadow: 0 0 0 2px #fcfbf8, 0 0 0 3px var(--am-ink); }
	.am-fabric-grid a:hover .am-fabric-name { letter-spacing: .02em; }
	.am-footer a:hover { opacity: .75; text-decoration: none; }
	.am-drawer-sub a:hover, .am-crumbs a:hover { color: var(--am-ink) !important; }
	.am-faq summary:hover, .am-fgroup summary:hover { color: #555; }
	.am-fopt:hover .am-cb { border-color: var(--am-ink); }
	.am-fopt:hover .am-sw { transform: scale(1.12); }
	.am-chips a:hover { background: #e7e4dd; }
	.am-pages a:hover { border-color: var(--am-ink); }
	.am-wa-float:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -8px rgba(11, 107, 79, .55); }
	.am-why-grid li .am-ico { transition: transform var(--am-med) var(--am-ease); }
	.am-why-grid li:hover .am-ico { transform: translateY(-3px); }
	.am-mtm-media { overflow: hidden; }
	.am-mtm-media img { transition: transform 1.1s var(--am-ease); }
	.am-mtm:hover .am-mtm-media img { transform: scale(1.03); }
}
/* Touch feedback */
@media (hover: none) {
	.am-card:active .am-card-media img { transform: scale(1.02); }
	.am-fabric-grid a:active .am-fabric-img { box-shadow: 0 0 0 2px #fcfbf8, 0 0 0 3px var(--am-ink); }
}

/* Respect reduced motion: no movement, instant states */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	@view-transition { navigation: none; }
	.am-rd *, .am-rd *::before, .am-rd *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
	.am-js [data-reveal] { opacity: 1; transform: none; }
	.am-card:hover .am-card-media img, .am-hero-slide:hover .am-hero-img, .am-mtm:hover .am-mtm-media img { transform: none; }
}

/* Product attribute facts */
.am-pfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 16px 0 18px; padding: 14px 16px; background: var(--am-panel); font-family: var(--am-font); }
.am-pfact dt { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--am-muted); font-weight: 500; margin: 0 0 2px; }
.am-pfact dd { margin: 0; font-size: 14.5px; color: var(--am-ink); }
.am-pfact a { color: var(--am-ink) !important; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1px; transition: background-size var(--am-med) var(--am-ease); }
@media (hover: hover) and (pointer: fine) { .am-pfact a:hover { background-size: 0 1px; background-position: 100% 100%; } }
html[lang^="ar"] .am-pfact dt { letter-spacing: 0; }
