/*
Theme Name: ArisiMart
Theme URI: https://arisimart.com/
Author: ArisiMart
Description: Fast, lightweight WooCommerce theme for ArisiMart, Chennai's rice store. Brand green and orange, premium layout, no page builder.
Version: 1.2.5
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: arisimart
WC requires at least: 8.0
*/

/* ---------- Tokens ---------- */
:root {
	/* ArisiMart's own colours, same as the old site */
	--am-leaf: #53AA0F;      /* main green (old theme main colour) */
	--am-green: #4A990D;     /* green for text links */
	--am-deep: #3F8A0B;      /* button hover */
	--am-night: #222222;     /* dark text on orange */
	--am-orange: #FFB240;    /* second colour (old theme) */
	--am-orange2: #EE8109;   /* accent orange (old theme) */
	--am-orange-dk: #C25E00; /* orange text on white */
	--am-red: #D9480F;       /* sale badges */
	--am-ink: #222222;
	--am-body: #4F4F4F;
	--am-muted: #7A7A7A;
	--am-ground: #FFFFFF;
	--am-card: #FFFFFF;
	--am-line: #E8ECE4;
	--am-soft: #F1F8E9;
	--am-cream: #FFF6E8;
	--am-radius: 18px;
	--am-shadow: 0 14px 34px rgba(34, 34, 34, .10);
	--am-serif: "Montserrat", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; /* headings */
	--am-sans: "Roboto", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;      /* text */
	--am-wrap: 1240px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--am-ground); color: var(--am-body); font: 400 16px/1.6 var(--am-sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--am-green); text-underline-offset: 3px; }
a:hover { color: var(--am-deep); }
h1, h2, h3, h4 { color: var(--am-ink); line-height: 1.2; margin: 0 0 .5em; }
h1, h2, h3 { font-family: var(--am-serif); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4vw, 48px); }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--am-orange); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 14px; border-radius: 8px; }
.am-wrap { max-width: var(--am-wrap); margin: 0 auto; padding: 0 20px; }
.am-section { padding: 56px 0; }
.am-eyebrow { display: inline-block; font: 700 12px/1 var(--am-serif); letter-spacing: .12em; text-transform: uppercase; color: var(--am-orange-dk); margin-bottom: 10px; }
.am-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 26px; }
.am-head h2 { margin: 0; }
.am-head a { font-weight: 700; text-decoration: none; }

/* ---------- Buttons ---------- */
/* WooCommerce's own purple "alt" buttons -> brand green */
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt.disabled, .woocommerce button.button.alt:disabled, .woocommerce button.button.alt:disabled[disabled] {
	background: var(--am-leaf); color: #fff; border-radius: 10px; font-weight: 700;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--am-deep); color: #fff; }
.woocommerce span.onsale { background: var(--am-red); }
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price { color: var(--am-leaf); }
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info { border-top-color: var(--am-leaf); }
.am-btn, .button, button.button, a.button, input.button, .wc-block-components-button, #place_order {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px;
	border: 0; border-radius: 10px; background: var(--am-leaf); color: #fff !important; font-family: var(--am-serif); font-weight: 600; font-size: 14px; letter-spacing: .01em;
	text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; line-height: 1.2;
}
.am-btn:hover, .button:hover, button.button:hover, a.button:hover, #place_order:hover { background: var(--am-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(83, 170, 15, .28); }
.am-btn--ghost { background: transparent; color: var(--am-green) !important; border: 1.5px solid var(--am-green); }
.am-btn--ghost:hover { background: var(--am-soft); color: var(--am-deep) !important; }
.am-btn--orange { background: var(--am-orange); color: var(--am-night) !important; }
.am-btn--orange:hover { background: var(--am-orange2); color: var(--am-night) !important; }
.am-btn--dark { background: var(--am-night); }
.button.disabled, .button:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Top bar + header ---------- */
.am-topbar { background: var(--am-leaf); color: #fff; font-size: 13px; }
.am-topbar .am-wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.am-topbar a { color: #fff; }
.am-topbar__links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.am-topbar .am-pin-pill { box-shadow: none; background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); padding: 5px 12px; }
.am-topbar .am-pin-pill .am-pin-label, .am-topbar .am-pin-pill svg { color: #fff; }
.am-topbar .am-pin-pill strong { color: #fff; text-decoration: underline; text-decoration-color: var(--am-orange); text-underline-offset: 3px; }
.am-header { background: #fff; border-bottom: 1px solid var(--am-line); position: sticky; top: 0; z-index: 50; transition: box-shadow .25s; }
.am-header.is-stuck { box-shadow: 0 6px 24px rgba(23, 35, 27, .08); }
.am-header__main { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.am-logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--am-ink); }
.am-logo img { max-height: 52px; width: auto; }
.am-logo__text { font: 800 28px/1 var(--am-serif); letter-spacing: -.5px; color: var(--am-leaf); }
.am-logo__ta { font-size: 13px; font-weight: 600; color: var(--am-orange-dk); }
.am-search { flex: 1 1 300px; display: flex; min-width: 0; }
.am-search input[type=search] { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--am-leaf); border-right: 0; border-radius: 10px 0 0 10px; padding: 0 16px; background: #fff; font-size: 15px; }
.am-search button { width: 52px; height: 46px; border: 0; border-radius: 0 10px 10px 0; background: var(--am-leaf); color: #fff; cursor: pointer; display: grid; place-items: center; }
.am-actions { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; }
.am-actions a { display: inline-flex; align-items: center; gap: 6px; color: var(--am-ink); text-decoration: none; }
.am-actions .am-cart { background: var(--am-leaf); color: #fff; padding: 0 16px; min-height: 44px; border-radius: 12px; }
.am-actions .am-cart:hover { background: var(--am-deep); color: #fff; }
.am-cart__count { background: var(--am-orange); color: var(--am-night); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 6px; }
.am-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--am-line); border-radius: 12px; background: #fff; cursor: pointer; place-items: center; }
.am-nav { border-top: 1px solid var(--am-line); }
.am-nav ul { list-style: none; margin: 0 auto; padding: 0 20px; max-width: var(--am-wrap); display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.am-nav ul::-webkit-scrollbar { display: none; }
.am-nav li { flex: none; }
.am-nav a { display: block; padding: 13px 0; font-family: var(--am-serif); font-size: 14px; font-weight: 600; color: var(--am-ink); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.am-nav a:hover, .am-nav .current-menu-item > a, .am-nav .current-product_cat-ancestor > a, .am-nav a[aria-current] { color: var(--am-leaf); border-bottom-color: var(--am-leaf); }
.am-nav .am-nav--offer a { color: var(--am-orange2); }
.am-nav ul ul { display: none; }
@media (max-width: 860px) {
	.am-header__main { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 12px; }
	.am-header__main { flex-wrap: nowrap; }
	.am-header__main > .am-search { display: none; }
	.am-logo { flex: 1 1 0; min-width: 0; overflow: hidden; }
	.am-logo__text { font-size: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.am-logo__ta { display: none; }
	.am-logo img { max-height: 40px; }
	.am-actions { gap: 8px; flex: none; }
	.am-actions .am-label { display: none; }
	.am-actions > a:not(.am-cart) { width: 40px; height: 44px; justify-content: center; }
	.am-actions .am-cart { padding: 0 12px; }
	.am-menu-toggle { display: inline-grid; flex: none; }
	.am-search--mobile { display: flex !important; padding-bottom: 12px; }
	.am-search--mobile input[type=search] { font-size: 16px; }
	.am-topbar .am-wrap > span { display: none; }
}

/* ---------- Title band ---------- */
.am-band { background: linear-gradient(180deg, var(--am-soft), #fff); border-bottom: 1px solid var(--am-line); color: var(--am-body); }
.am-band .am-wrap { padding-top: 44px; padding-bottom: 40px; }
.am-band h1 { color: var(--am-ink); margin: 6px 0 0; font-size: clamp(32px, 4vw, 50px); }
.am-band p { color: var(--am-body); margin: 10px 0 0; max-width: 720px; }
.am-crumbs, .woocommerce-breadcrumb { font-size: 13px; color: var(--am-muted); }
.am-crumbs a, .woocommerce-breadcrumb a { color: var(--am-green); }
.am-band .woocommerce-breadcrumb { margin: 0; }

/* ---------- Hero ---------- */
.am-hero { position: relative; overflow: hidden; }
.am-hero .am-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 40px; }
.am-hero h1 { margin: 6px 0 18px; line-height: 1.12; }
.am-hero p.lead { font-size: 18px; color: var(--am-body); max-width: 540px; }
.am-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.am-trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; font-size: 14px; color: var(--am-body); }
.am-trust span { display: inline-flex; align-items: center; gap: 8px; }
.am-hero__art { position: relative; min-height: 420px; border-radius: 28px; overflow: hidden; background: radial-gradient(500px 300px at 70% 30%, rgba(255, 178, 64, .35), transparent 60%), radial-gradient(500px 360px at 20% 90%, rgba(83, 170, 15, .35), transparent 60%), linear-gradient(160deg, #F3EDDD, #E7DEC6); }
.am-hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.am-hero__grain { position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.7) 0 2px, transparent 3px), radial-gradient(circle at 70% 60%, rgba(255,255,255,.6) 0 2px, transparent 3px), radial-gradient(circle at 40% 80%, rgba(255,255,255,.5) 0 1.5px, transparent 2.5px); background-size: 42px 42px, 58px 58px, 36px 36px; opacity: .7; animation: am-drift 28s linear infinite; }
@keyframes am-drift { to { background-position: 420px 210px, -290px 580px, 360px -360px; } }
.am-hero__chip { position: absolute; left: 20px; bottom: 20px; background: rgba(255, 255, 255, .96); border-radius: 16px; padding: 14px 18px; box-shadow: var(--am-shadow); display: flex; flex-direction: column; gap: 2px; animation: am-float 6s ease-in-out infinite; }
.am-hero__chip small { color: var(--am-muted); font-weight: 600; }
.am-hero__chip strong { color: var(--am-ink); }
.am-hero__chip b { color: var(--am-green); }
.am-hero__badge { position: absolute; right: 20px; top: 20px; background: var(--am-orange); color: var(--am-night); border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px; animation: am-float 7s ease-in-out infinite reverse; }
@keyframes am-float { 50% { transform: translateY(-8px); } }

/* ---------- Category tiles ---------- */
.am-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.am-cat { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px; background: var(--am-card); border: 1px solid var(--am-line); border-radius: var(--am-radius); text-decoration: none; color: var(--am-ink); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
.am-cat:hover { transform: translateY(-6px); box-shadow: var(--am-shadow); border-color: #CFE5BC; color: var(--am-ink); }
.am-cat__img { width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: linear-gradient(150deg, var(--am-soft), #FFF3E0); display: grid; place-items: center; }
.am-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.am-cat:hover .am-cat__img img { transform: scale(1.07); }
.am-cat__img span { font: 700 40px/1 var(--am-serif); color: var(--am-leaf); }
.am-cat__name { font: 600 15px/1.3 var(--am-serif); text-align: center; }
.am-cat__count { font-size: 12px; color: var(--am-muted); margin-top: -8px; }

/* ---------- Dark combo band ---------- */
.am-dark { background: linear-gradient(180deg, var(--am-cream), #FFFDF8); border-top: 1px solid #FBE3BC; border-bottom: 1px solid #FBE3BC; color: var(--am-body); }
.am-dark h2 { color: var(--am-ink); }
.am-dark .am-eyebrow { color: var(--am-orange-dk); }
.am-dark .am-head a { color: var(--am-orange-dk); }

/* ---------- Why us / B2B / app ---------- */
.am-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; background: var(--am-card); border: 1px solid var(--am-line); border-radius: 24px; padding: 34px; }
.am-why h3 { font-size: 18px; margin: 10px 0 6px; }
.am-why p { font-size: 14px; color: var(--am-body); margin: 0; }
.am-b2b { background: var(--am-orange); border-radius: 24px; padding: 38px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: center; position: relative; overflow: hidden; }
.am-b2b::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 2px dashed rgba(23, 35, 27, .18); }
.am-b2b h2 { margin: 0 0 8px; }
.am-b2b p { color: #3D2600; margin: 0; }
.am-b2b .am-eyebrow { color: #4A2A00; }
.am-b2b__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }
.am-b2b .am-btn--ghost { color: var(--am-night) !important; border-color: var(--am-night); }
.am-b2b .am-btn--ghost:hover { background: rgba(255, 255, 255, .35); }
.am-app { background: var(--am-card); border: 1px solid var(--am-line); border-radius: 24px; padding: 26px 30px; display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
.am-app h2 { font: 700 22px/1.3 var(--am-serif); letter-spacing: 0; margin: 0 0 4px; }
.am-app p { margin: 0; color: var(--am-body); }

/* ---------- Blog cards ---------- */
.am-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.am-post { display: flex; flex-direction: column; gap: 10px; }
.am-post__img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: linear-gradient(150deg, var(--am-soft), #FFF3E0); }
.am-post__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.am-post:hover .am-post__img img { transform: scale(1.05); }
.am-post__cat { font-size: 12px; font-weight: 700; color: var(--am-orange-dk); text-transform: uppercase; letter-spacing: .08em; }
.am-post h3 { font-size: 18px; line-height: 1.35; margin: 0; }
.am-post h3 a { color: var(--am-ink); text-decoration: none; }
.am-post h3 a:hover { color: var(--am-green); }

/* ---------- Content pages ---------- */
.am-content { max-width: 820px; margin: 0 auto; padding: 48px 20px 72px; font-size: 17px; line-height: 1.75; }
.am-content h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 1.6em; }
.am-content h3 { margin-top: 1.4em; }
.am-content ul, .am-content ol { padding-left: 1.3em; }
.am-content li { margin: .3em 0; }
.am-content blockquote { margin: 1.5em 0; padding: 18px 22px; border-radius: 14px; background: var(--am-soft); font-family: var(--am-serif); font-size: 19px; color: var(--am-ink); border-left: 4px solid var(--am-leaf); }
.am-content table { width: 100%; border-collapse: collapse; }
.am-content th, .am-content td { border-bottom: 1px solid var(--am-line); padding: 10px; text-align: left; }
.am-policy { max-width: 1100px; margin: 0 auto; padding: 44px 20px 72px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.am-policy aside { flex: 1 1 240px; display: flex; flex-direction: column; gap: 18px; position: sticky; top: 140px; }
.am-policy article { flex: 999 1 560px; min-width: 0; font-size: 16px; line-height: 1.75; }
.am-policy article h2 { font-size: 26px; margin-top: 1.5em; scroll-margin-top: 150px; }
.am-toc { background: #fff; border: 1px solid var(--am-line); border-radius: 16px; padding: 20px; }
.am-toc h2 { font: 700 13px/1 var(--am-serif); letter-spacing: .1em; text-transform: uppercase; color: var(--am-muted); margin: 0 0 12px; }
.am-toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.am-help { background: #FFF3E0; border: 1px solid #FFD59A; border-radius: 16px; padding: 18px; font-size: 14px; }
.am-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.am-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--am-line); background: #fff; color: var(--am-ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.am-tabs a[aria-current] { background: var(--am-orange); border-color: var(--am-orange); color: var(--am-night); }
@media (max-width: 860px) { .am-policy aside { position: static; } }
.am-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.am-values article { background: #fff; border: 1px solid var(--am-line); border-radius: 20px; padding: 26px; }
.am-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.am-steps li > span { width: 44px; height: 44px; border-radius: 50%; background: var(--am-orange); display: grid; place-items: center; font-weight: 700; color: var(--am-night); margin-bottom: 10px; }
.am-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; background: var(--am-soft); border: 1px solid #DCEBCB; color: var(--am-body); border-radius: 24px; padding: 30px; }
.am-facts b { display: block; font: 800 34px/1.1 var(--am-serif); color: var(--am-leaf); }
.am-contact dl { display: grid; grid-template-columns: 110px 1fr; gap: 12px 16px; margin: 0; }
.am-contact dt { color: var(--am-muted); font-weight: 600; }
.am-contact dd { margin: 0; }

/* ---------- WooCommerce: product grid ---------- */
.woocommerce ul.products, ul.products { list-style: none; margin: 0 0 24px; padding: 0; display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1100px) { .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product { position: relative; width: auto !important; margin: 0 !important; float: none !important; background: var(--am-card); border: 1px solid var(--am-line); border-radius: var(--am-radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s; }
ul.products li.product:hover { transform: translateY(-6px); box-shadow: var(--am-shadow); border-color: #CFE5BC; }
ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; flex: 1; }
ul.products li.product img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; margin: 0 !important; background: #F4F1E8; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
ul.products li.product .am-imgbox { overflow: hidden; border-radius: 12px; }
ul.products li.product:hover img { transform: scale(1.05); }
ul.products li.product .woocommerce-loop-product__title { font: 600 15px/1.4 var(--am-serif) !important; color: var(--am-ink); margin: 2px 0 0 !important; padding: 0 !important; min-height: 40px; }
ul.products li.product .price { color: var(--am-leaf) !important; font-family: var(--am-serif); font-size: 19px !important; font-weight: 700; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; margin: 0 !important; }
ul.products li.product .price del { color: #6B7466; font-size: 13px; font-weight: 500; opacity: 1; }
ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button, ul.products li.product .button { display: flex !important; align-items: center !important; justify-content: center; text-align: center; padding: 0 12px !important; margin: auto 0 0 !important; width: 100%; height: 44px !important; min-height: 0 !important; line-height: 1 !important; background: var(--am-leaf) !important; color: #fff !important; border: 0 !important; border-radius: 10px !important; font: 600 14px/1 var(--am-serif) !important; }
ul.products li.product .button:hover { background: var(--am-deep) !important; }
ul.products li.product .added_to_cart { font-size: 13px; text-align: center; font-weight: 700; }
ul.products li.product .star-rating { font-size: 13px; margin: 0 !important; }
.onsale, span.onsale { position: absolute !important; top: 22px !important; left: 22px !important; right: auto !important; z-index: 2; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 4px 9px !important; border-radius: 8px !important; background: var(--am-red) !important; color: #fff !important; font-size: 12px !important; font-weight: 700; line-height: 1.4 !important; }
.am-loop-cat { font-size: 12px; color: var(--am-muted); font-weight: 600; }
.am-oos { position: absolute; top: 22px; right: 22px; z-index: 2; background: rgba(23, 35, 27, .85); color: #fff; padding: 4px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.am-dark ul.products li.product { border-color: #F6E2C2; }

/* ---------- WooCommerce: shop page ---------- */
.am-shop { padding-top: 36px; padding-bottom: 64px; }
.woocommerce-result-count { color: var(--am-muted); font-size: 14px; margin: 0 0 18px; }
.woocommerce-ordering { margin: 0 0 18px; float: right; }
.woocommerce-ordering select, select, input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], textarea, .select2-container .select2-selection--single {
	min-height: 46px; border: 1px solid #D9D2BF; border-radius: 10px; background: #fff; padding: 8px 12px; font-size: 15px; max-width: 100%;
}
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 28px; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 44px; }
textarea { min-height: 110px; }
.term-description, .am-cat-intro { background: #fff; border: 1px solid var(--am-line); border-radius: 16px; padding: 20px 24px; margin: 0 0 24px; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 8px; padding: 0; justify-content: center; border: 0 !important; }
.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--am-line) !important; background: #fff; text-decoration: none; font-weight: 700; }
.woocommerce-pagination span.current { background: var(--am-green) !important; color: #fff !important; border-color: var(--am-green) !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notices-wrapper > * { border-radius: 14px; border: 0; border-left: 4px solid var(--am-leaf); background: #fff; padding: 14px 18px; box-shadow: 0 4px 16px rgba(23, 35, 27, .06); list-style: none; margin: 0 0 18px; }
.woocommerce-error { border-left-color: var(--am-red); }
.woocommerce-info { border-left-color: var(--am-orange); }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }

/* ---------- Single product ---------- */
.am-product { padding-top: 36px; padding-bottom: 64px; }
.am-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; position: relative; }
@media (max-width: 900px) { .am-product div.product { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.am-product div.product .woocommerce-product-gallery { width: auto !important; float: none !important; background: #fff; border: 1px solid var(--am-line); border-radius: 22px; padding: 16px; margin: 0 !important; position: relative; }
.am-product div.product .woocommerce-product-gallery img { border-radius: 14px; }
.am-product div.product .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px; padding: 0; list-style: none; }
.am-product div.product .flex-control-thumbs li { width: 72px; }
.am-product div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.am-product div.product .product_title { font-size: clamp(28px, 3vw, 40px); margin-bottom: 10px; }
.am-product div.product p.price { font-family: var(--am-serif); font-size: 30px !important; font-weight: 700; color: var(--am-leaf) !important; margin: 6px 0 14px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.am-product div.product p.price del { font-size: 18px; color: #6B7466; font-weight: 500; }
.am-product div.product p.price ins { text-decoration: none; }
.am-product .woocommerce-product-details__short-description { font-size: 16px; color: var(--am-body); }
.am-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0; }
.am-product form.cart .quantity input { width: 84px; min-height: 52px; text-align: center; border-radius: 12px; }
.am-product form.cart .single_add_to_cart_button { min-height: 52px; padding: 0 34px; font-size: 16px; flex: 1 1 200px; }
.am-assure { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 18px 0; }
.am-assure div { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--am-line); border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--am-ink); }
.am-product .product_meta { font-size: 13px; color: var(--am-muted); display: flex; flex-direction: column; gap: 4px; }
.am-product .product_meta a { color: var(--am-muted); }
.am-product .woocommerce-tabs { grid-column: 1 / -1; background: #fff; border: 1px solid var(--am-line); border-radius: 22px; padding: 10px 28px 28px; }
.am-product .woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 22px; padding: 0 !important; margin: 0 0 18px !important; border-bottom: 1px solid var(--am-line); overflow-x: auto; }
.am-product .woocommerce-tabs ul.tabs::before, .am-product .woocommerce-tabs ul.tabs li::before, .am-product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.am-product .woocommerce-tabs ul.tabs li { border: 0 !important; background: none !important; margin: 0 !important; padding: 0 !important; }
.am-product .woocommerce-tabs ul.tabs li a { display: block; padding: 16px 0 !important; font-weight: 700; color: var(--am-muted) !important; text-decoration: none; border-bottom: 3px solid transparent; }
.am-product .woocommerce-tabs ul.tabs li.active a { color: var(--am-ink) !important; border-bottom-color: var(--am-leaf); }
.am-product .woocommerce-Tabs-panel { font-size: 16px; line-height: 1.75; }
.am-product .woocommerce-Tabs-panel h2:first-child { display: none; }
.am-product .woocommerce-Tabs-panel h3 { font-family: var(--am-serif); font-size: 18px; margin-top: 1.4em; }
.am-product .related, .am-product .upsells { grid-column: 1 / -1; }
.am-product .related > h2, .am-product .upsells > h2 { font-size: 30px; }
.am-product .onsale { top: 30px !important; left: 30px !important; }

/* ---------- Cart / checkout / account ---------- */
.am-page { padding-top: 36px; padding-bottom: 64px; }
.woocommerce table.shop_table, table.shop_table { border: 1px solid var(--am-line) !important; border-radius: 18px !important; background: #fff; border-collapse: separate !important; overflow: hidden; width: 100%; }
table.shop_table th, table.shop_table td { padding: 14px 16px !important; border-top: 1px solid #F0EBDE !important; }
table.shop_table thead th { background: #FBFAF6; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--am-muted); }
table.shop_table img { width: 64px; border-radius: 10px; }
.cart-collaterals .cart_totals, .woocommerce-checkout-review-order, .woocommerce-checkout #customer_details { background: #fff; border: 1px solid var(--am-line); border-radius: 18px; padding: 22px; }
.woocommerce-checkout #customer_details { margin-bottom: 24px; }
.woocommerce form .form-row { margin: 0 0 14px; }
.woocommerce form .form-row label { font-weight: 600; font-size: 14px; color: var(--am-ink); margin-bottom: 6px; display: block; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { width: 100%; }
#payment { background: #FBFAF6 !important; border-radius: 16px !important; }
#payment ul.payment_methods { border-bottom-color: var(--am-line) !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--am-line); border-radius: 16px; overflow: hidden; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 18px; text-decoration: none; color: var(--am-ink); font-weight: 600; border-bottom: 1px solid #F0EBDE; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--am-soft); color: var(--am-green); }
.woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: 28px; }
.woocommerce-MyAccount-navigation { flex: 1 1 220px; }
.woocommerce-MyAccount-content { flex: 999 1 520px; min-width: 0; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.u-columns.col2-set, .woocommerce .col2-set { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.col2-set .col-1, .col2-set .col-2 { width: auto !important; float: none !important; }
.woocommerce form.login, .woocommerce form.register { background: #fff; border: 1px solid var(--am-line) !important; border-radius: 18px !important; padding: 24px !important; margin: 0 !important; }

/* ---------- Footer ---------- */
.am-footer { background: #F6F9F2; border-top: 4px solid var(--am-leaf); color: var(--am-body); margin-top: 0; }
.am-footer a { color: var(--am-body); text-decoration: none; }
.am-footer a:hover { color: var(--am-leaf); }
.am-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 32px; }
.am-footer h2 { font: 700 13px/1 var(--am-serif); letter-spacing: .1em; text-transform: uppercase; color: var(--am-ink); margin: 0 0 14px; }
.am-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.am-footer__brand p { font-size: 14px; margin: 12px 0 0; }
.am-footer__brand .am-logo__text { color: var(--am-leaf); }
.am-footer__phone { color: var(--am-orange-dk) !important; font-weight: 700; }
.am-footer__bottom { border-top: 1px solid #DDE6D3; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 26px; font-size: 13px; }
.am-social { display: flex; gap: 10px; margin-top: 16px; }
.am-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #CFDCC2; background: #fff; display: grid; place-items: center; }
.am-social a:hover { border-color: var(--am-leaf); color: var(--am-leaf); }

/* ---------- Motion ---------- */
.am-reveal { opacity: 1; transform: none; }
.am-reveal.am-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.am-reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile menu ---------- */
@media (max-width: 860px) {
	.am-nav { display: none; }
	.am-nav.is-open { display: block; }
	.am-nav.is-open ul { flex-direction: column; gap: 0; padding-bottom: 10px; }
	.am-nav.is-open a { padding: 12px 0; border-bottom: 1px solid #F0EBDE; }
	.am-section { padding: 40px 0; }
	.woocommerce-ordering { float: none; }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px; }
	ul.products li.product { padding: 10px; }
	ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
}

/* The pincode button lives in the top bar with this theme. */
.am-pin-floating { display: none !important; }

@media (min-width: 861px) { .am-search--mobile { display: none !important; } }

/* ---------- 1.1: tidy product cards ---------- */
/* Extra buttons that other plugins add to every card (quick view, wishlist, compare) are hidden. */
ul.products li.product [class*="quick-view"], ul.products li.product [class*="quickview"], ul.products li.product [class*="QuickView"],
ul.products li.product .yith-wcqv-button, ul.products li.product .woosq-btn, ul.products li.product .yith-wcwl-add-to-wishlist,
ul.products li.product .compare, ul.products li.product .tbay-quick-view, ul.products li.product .button.yith-wcqv-button { display: none !important; }
ul.products li.product .am-loop-cat { text-transform: uppercase; letter-spacing: .06em; font-size: 11px; color: var(--am-muted); }
ul.products li.product .woocommerce-loop-product__title { min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
ul.products li.product img { background: #fff; object-fit: contain; }
ul.products li.product .am-imgbox { background: #FAFBF8; border-radius: 12px; }
.am-combo-tag { align-self: flex-start; }
.am-head h2 { position: relative; padding-bottom: 12px; }
.am-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--am-leaf), var(--am-orange)); }
.am-section:nth-of-type(even):not(.am-dark) { background: #FAFCF7; }

/* ---------- 1.1: page layout (everything lines up with the header) ---------- */
.am-wrap.am-section { padding-left: 20px; padding-right: 20px; }
.am-content { max-width: var(--am-wrap); padding: 44px 20px 72px; }
.am-content > * { max-width: 800px; }
.am-policy { max-width: var(--am-wrap); }
.am-section--tint { background: var(--am-soft) !important; }
.am-muted { color: var(--am-muted); }
.am-prose { font-size: 16.5px; line-height: 1.8; color: var(--am-body); max-width: 800px; }
.am-facts + .am-prose { margin-top: 44px; }
.am-prose > :first-child { margin-top: 0; }
.am-prose h2 { font-size: clamp(22px, 2.2vw, 27px); margin: 1.7em 0 .55em; }
.am-prose h3 { font-size: 18px; margin: 1.4em 0 .4em; }
.am-prose p.am-lead { font-size: 19px; line-height: 1.7; color: var(--am-ink); }
.am-prose ul, .am-prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.am-prose li { margin: .35em 0; }
.am-prose li::marker { color: var(--am-leaf); }
.am-prose strong { color: var(--am-ink); }
.am-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.am-prose th, .am-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--am-line); vertical-align: top; }
.am-prose th { background: var(--am-soft); color: var(--am-ink); font-weight: 600; }
.am-note { background: var(--am-cream); border-left: 4px solid var(--am-orange); border-radius: 12px; padding: 14px 18px; margin: 0 0 1.4em; }
.am-cta { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: center; background: linear-gradient(120deg, var(--am-soft), var(--am-cream)); border: 1px solid var(--am-line); border-radius: 22px; padding: 30px 34px; }
.am-cta h2 { margin: 0 0 6px; }
.am-cta p { margin: 0; }
.am-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.am-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-bottom: 44px; }
.am-card { background: #fff; border: 1px solid var(--am-line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.am-card > svg { color: var(--am-leaf); }
.am-card h2 { font-size: 18px; margin: 6px 0 2px; }
.am-card p { margin: 0; }
.am-card .am-btn { margin-top: 8px; }
.am-card__big { font: 700 22px/1.3 var(--am-serif); }
.am-card__big a { color: var(--am-ink); text-decoration: none; }
.am-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .am-split { grid-template-columns: minmax(0, 1fr); } }
.am-map iframe { width: 100%; height: 400px; border: 0; border-radius: 18px; background: var(--am-soft); }
.am-values article > svg { color: var(--am-leaf); }
/* FAQ */
details.am-faq { border: 1px solid var(--am-line); border-radius: 14px; background: #fff; margin: 0 0 10px; }
details.am-faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative; font: 600 16px/1.45 var(--am-serif); color: var(--am-ink); }
details.am-faq summary::-webkit-details-marker { display: none; }
details.am-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 400 24px/1 var(--am-sans); color: var(--am-leaf); }
details.am-faq[open] summary::after { content: "–"; }
details.am-faq[open] summary { color: var(--am-leaf); }
details.am-faq > div { padding: 0 18px 16px; }
details.am-faq > div > :last-child { margin-bottom: 0; }

/* Homepage text block (helps Google understand the shop) */
.am-seo { background: var(--am-soft); border-top: 1px solid var(--am-line); }
.am-seo__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px 48px; }
.am-seo h2 { font-size: 20px; margin: 0 0 10px; }
.am-seo p { font-size: 15px; line-height: 1.75; color: var(--am-body); margin: 0 0 10px; }
/* Offers page: quick links to each section */
.am-jump { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 0 0; }
.am-jump a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--am-line); background: #fff; color: var(--am-ink); text-decoration: none; font: 600 14px/1 var(--am-serif); }
.am-jump a:hover { border-color: var(--am-leaf); color: var(--am-leaf); }

/* 1.1.1: WooCommerce's own layout CSS removes card padding - keep ours */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, ul.products li.product { padding: 14px !important; }
.woocommerce ul.products li.product a img, ul.products li.product a img { margin: 0 !important; }
.am-band p { max-width: 860px; }
/* Cart: quantities update by themselves, so the Update button is not needed */
.woocommerce-cart-form button[name="update_cart"] { display: none !important; }
.woocommerce-cart-form.am-updating { opacity: .6; pointer-events: none; transition: opacity .2s; }
@media (max-width: 860px) { .woocommerce ul.products li.product, ul.products li.product { padding: 10px !important; } }

/* Coupon box on the basket page */
.woocommerce-cart-form .actions .coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--am-cream); border: 1px dashed var(--am-orange); border-radius: 14px; padding: 12px 14px; float: none !important; }
.woocommerce-cart-form .actions .coupon label { display: none !important; }
.woocommerce-cart-form .actions .coupon::before { content: "Have a pamphlet or coupon code?"; flex: 1 1 100%; font: 600 14px/1.3 var(--am-serif); color: var(--am-ink); }
.woocommerce-cart-form .actions .coupon #coupon_code { min-width: 200px; width: auto !important; flex: 1 1 200px; text-transform: uppercase; }
.woocommerce-cart-form .actions .coupon .button { min-height: 46px; background: var(--am-orange) !important; color: var(--am-night) !important; }
.woocommerce-form-coupon-toggle .woocommerce-info { border-left-color: var(--am-orange); }
.am-logo img { mix-blend-mode: multiply; height: 54px; width: auto; max-height: none; } /* old JPG logo has a light grey background */
@media (max-width: 860px) { .am-logo img { height: 40px; } }
.am-footer__brand .am-logo img { height: 56px; mix-blend-mode: normal; }

/* Footer: app download button */
.am-app-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding: 9px 18px 9px 14px; border-radius: 12px; background: #1F1F1F; color: #fff !important; text-decoration: none; transition: transform .2s, background .2s; }
.am-app-btn:hover { background: #000; transform: translateY(-2px); }
.am-app-btn span { display: flex; flex-direction: column; line-height: 1.15; }
.am-app-btn small { font-size: 11px; opacity: .85; }
.am-app-btn b { font: 700 17px/1.2 var(--am-serif); }

/* Hero: offer slider (when no hero photo is set) */
.am-promo { position: relative; min-height: 420px; border-radius: 28px; overflow: hidden; background: radial-gradient(420px 320px at 78% 45%, #FFFFFF 0, rgba(255,255,255,0) 70%), linear-gradient(135deg, #EEF7E3 0%, #FFF4DF 100%); border: 1px solid #F1E6CF; }
.am-promo__slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 10px; padding: 34px 30px 50px 36px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.am-promo__slide.is-on { opacity: 1; visibility: visible; }
.am-promo__tag { display: inline-block; background: var(--am-orange2); color: #fff; font: 700 12px/1 var(--am-serif); letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.am-promo__name { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; margin: 14px 0 8px; }
.am-promo__name a { color: var(--am-ink); text-decoration: none; }
.am-promo__note { font-size: 15px; color: var(--am-body); margin: 0 0 10px; }
.am-promo__price { font: 800 30px/1.1 var(--am-serif); color: var(--am-leaf); margin: 4px 0 8px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.am-promo__price del { font-size: 17px; font-weight: 500; color: #8A8A8A; }
.am-promo__price ins { text-decoration: none; }
.am-promo__save { display: inline-block; background: #FDECEA; color: #B3261E; font: 700 13px/1 var(--am-serif); padding: 7px 10px; border-radius: 8px; }
.am-promo__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
.am-promo__actions .added_to_cart { font-weight: 700; }
.am-promo__more { font-weight: 600; font-size: 14px; }
.am-promo__plate { justify-self: center; width: min(100%, 320px); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 24px 50px rgba(83, 120, 20, .18), inset 0 0 0 10px #FFF8EC; display: grid; place-items: center; overflow: hidden; }
.am-promo__plate img { width: 70% !important; height: 70% !important; object-fit: contain; }
.am-promo__dots { position: absolute; left: 36px; bottom: 20px; display: flex; gap: 8px; z-index: 2; }
.am-promo__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: #CFD8C4; cursor: pointer; transition: width .3s, background .3s; }
.am-promo__dots button.is-on { width: 28px; background: var(--am-leaf); }
@media (max-width: 860px) {
	.am-promo { min-height: 560px; }
	.am-promo__slide { grid-template-columns: minmax(0, 1fr); padding: 24px 20px 46px; align-content: start; }
	.am-promo__plate { order: -1; width: 200px; }
	.am-promo__dots { left: 20px; }
}

/* Footer: parent company and branches */
.am-parent { font-size: 13.5px; line-height: 1.6; margin: 14px 0 0; color: var(--am-body); }
.am-parent strong { color: var(--am-ink); }
.am-branches { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.am-branches__label { flex: 1 1 100%; font: 700 12px/1 var(--am-serif); letter-spacing: .08em; text-transform: uppercase; color: var(--am-ink); margin-bottom: 4px; }
.am-branches span:not(.am-branches__label) { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid #D8E6C8; color: var(--am-ink); }
.am-parent__since { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--am-orange); color: #2B1700; font: 700 11px/1.5 var(--am-serif); }
.am-branches { margin-top: 14px; }

/* Anil Brand */
.am-own { position: absolute; top: 22px; right: 22px; z-index: 2; background: var(--am-orange); color: #2B1700; font: 700 11px/1 var(--am-serif); letter-spacing: .04em; padding: 6px 9px; border-radius: 8px; }
.am-ownstrip .am-own { position: static; display: inline-block; margin-bottom: 6px; }
.am-nav .am-nav--own a { color: var(--am-orange-dk); }
.am-nav .am-nav--own a::after { content: "★"; margin-left: 4px; color: var(--am-orange); }
.am-ownbox { display: flex; flex-direction: column; gap: 4px; background: var(--am-cream); border: 1px solid #F6D7A6; border-left: 4px solid var(--am-orange); border-radius: 12px; padding: 12px 16px; margin: 12px 0; font-size: 14px; }
.am-ownbox strong { font: 700 15px/1.3 var(--am-serif); color: var(--am-ink); }
.am-ownbox--plain { background: var(--am-soft); border-color: #DCEBCB; border-left-color: var(--am-leaf); }
.am-ownstrip { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; background: linear-gradient(120deg, var(--am-cream), #fff); border: 1px solid #F6D7A6; border-radius: 16px; padding: 16px 20px; margin: 0 0 22px; }
.am-ownstrip > div { display: flex; flex-direction: column; gap: 2px; max-width: 720px; }
.am-ownstrip strong { font: 700 18px/1.3 var(--am-serif); color: var(--am-ink); }
.am-ownstrip span:last-child { color: var(--am-body); font-size: 14px; }
/* Brand page */
.am-brandhero { background: radial-gradient(600px 300px at 85% 20%, rgba(255,178,64,.25), transparent 60%), linear-gradient(135deg, #FFF6E8, #F1F8E9); border-bottom: 1px solid var(--am-line); }
.am-brandhero .am-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-top: 46px; padding-bottom: 46px; }
.am-brandhero h1 { margin: 10px 0 14px; }
.am-brandhero .lead { font-size: 18px; color: var(--am-body); max-width: 560px; }
.am-brandhero__plate { justify-self: center; width: min(100%, 340px); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 24px 50px rgba(83, 120, 20, .18), inset 0 0 0 10px #FFF8EC; }
.am-brandhero__plate img { width: 70% !important; height: 70% !important; object-fit: contain; }
@media (max-width: 860px) { .am-brandhero .am-wrap { grid-template-columns: minmax(0, 1fr); } .am-brandhero__plate { width: 220px; order: -1; } }
.am-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.am-checks article { background: #fff; border: 1px solid var(--am-line); border-radius: 16px; padding: 20px; }
.am-checks b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--am-soft); color: var(--am-leaf); font: 800 16px/1 var(--am-serif); margin-bottom: 10px; }
.am-checks h3 { font-size: 16px; margin: 0 0 6px; }
.am-checks p { font-size: 14px; margin: 0; color: var(--am-body); }
.am-ownstrip .am-own { align-self: flex-start; }

/* 1.1.4: login / register page */
.u-columns.col2-set::before, .u-columns.col2-set::after, .woocommerce .col2-set::before, .woocommerce .col2-set::after { display: none !important; content: none !important; }
.woocommerce-account:not(.logged-in) .u-columns.col2-set { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; max-width: 980px; margin: 0 auto; }
.woocommerce-account:not(.logged-in) .u-column1 > h2, .woocommerce-account:not(.logged-in) .u-column2 > h2 { font-size: 22px; margin: 0 0 12px; }
.woocommerce-account:not(.logged-in) .u-column2 > h2::before { content: "New to ArisiMart? "; color: var(--am-muted); font-weight: 600; }
.woocommerce-account:not(.logged-in) > .am-page > .woocommerce > h2 { max-width: 460px; margin: 0 auto 12px; } /* when registration is off */
.woocommerce-account:not(.logged-in) .woocommerce > form.login { max-width: 460px; margin: 0 auto !important; }
.woocommerce form.login, .woocommerce form.register { box-shadow: 0 10px 30px rgba(34, 34, 34, .06); }
.woocommerce form.login .form-row, .woocommerce form.register .form-row { width: 100% !important; float: none !important; }
.woocommerce form.login input.input-text, .woocommerce form.register input.input-text, .woocommerce form.register select, .woocommerce form.register textarea { width: 100% !important; }
.woocommerce form.login .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 0 12px; font-size: 14px; }
.woocommerce form.login .woocommerce-form-login__submit, .woocommerce form.register .woocommerce-form-register__submit { min-width: 140px; }
.woocommerce form.login .lost_password { margin: 14px 0 0; font-size: 14px; }
.woocommerce form.register .woocommerce-privacy-policy-text p, .woocommerce form.register > p:not(.form-row) { font-size: 13px; color: var(--am-muted); line-height: 1.6; }
.woocommerce-account .am-page { padding-top: 40px; }

/* MRP (shown after the selling price) */
.price .am-mrp, .am-promo__price .am-mrp { font-size: .62em; font-weight: 500; color: #8A8A8A; }
.price .am-mrp .woocommerce-Price-amount { color: #8A8A8A; }
.price .am-mrp--same { text-decoration: none; }
.price .am-save, .am-promo__price .am-save { font: 700 11px/1 var(--am-serif); color: #B3261E; background: #FDECEA; padding: 4px 7px; border-radius: 6px; align-self: center; }
.price .am-save .woocommerce-Price-amount { color: #B3261E; }
.price .am-mrp-note { flex-basis: 100%; font-size: 12px; font-weight: 400; color: var(--am-muted); }
ul.products li.product .price .am-save { font-size: 10px; }

/* ---------- 1.2: wishlist ---------- */
/* Our own heart replaces any wishlist plugin's button. */
.yith-wcwl-add-to-wishlist, .tinv-wraper, .woosw-btn { display: none !important; }
ul.products li.product { position: relative; }
.am-wl { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--am-line, #e6e9e1); background: #fff; color: #9aa394; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; box-shadow: 0 2px 6px rgba(0,0,0,.06); transition: color .15s, transform .15s; }
.am-wl:hover { color: #e0435c; transform: scale(1.06); }
.am-wl svg { fill: none; }
.am-wl[aria-pressed="true"] { color: #e0435c; }
.am-wl[aria-pressed="true"] svg { fill: currentColor; }
.am-wl--big { position: static; width: auto; height: auto; border-radius: 999px; padding: 9px 16px; gap: 8px; font: 600 14px/1 Roboto, sans-serif; color: var(--am-ink, #24301c); margin: 4px 0 16px; box-shadow: none; }
.am-wl--big[aria-pressed="true"] { color: #e0435c; border-color: #f4c3cc; background: #fff5f7; }
.am-wl-link { position: relative; }
.am-wl-count { position: absolute; top: -9px; left: 9px; min-width: 16px; height: 16px; border-radius: 8px; background: #e0435c; color: #fff; font: 700 10px/16px Roboto, sans-serif; text-align: center; padding: 0 5px; }
.am-wl-empty { text-align: center; padding: 48px 16px 64px; color: var(--am-muted); }
.am-wl-empty svg { color: #e0435c; }
.am-wl-empty h2 { color: var(--am-ink, #24301c); margin: 12px 0 6px; }
.am-wl-empty .am-btn { margin-top: 16px; }

/* ---------- 1.2: category filters ---------- */
.am-filters { display: grid; gap: 10px; margin: 0 0 18px; padding: 14px 16px; background: #FAFCF7; border: 1px solid var(--am-line, #e6e9e1); border-radius: 14px; }
.am-filter { display: flex; align-items: center; gap: 12px; min-width: 0; }
.am-filter__lbl { flex: none; width: 74px; font: 700 12px/1.2 Montserrat, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--am-muted); }
.am-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; min-width: 0; }
.am-chips::-webkit-scrollbar { display: none; }
.am-chip { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--am-line, #e6e9e1); background: #fff; color: var(--am-ink, #24301c); font: 500 13px/1.2 Roboto, sans-serif; text-decoration: none; white-space: nowrap; }
.am-chip:hover { border-color: var(--am-leaf); color: var(--am-leaf); }
.am-chip.is-on { background: var(--am-leaf); border-color: var(--am-leaf); color: #fff; }
@media (max-width: 600px) { .am-filter { flex-direction: column; align-items: stretch; gap: 6px; } .am-filter__lbl { width: auto; } }

/* ---------- 1.2: free gift offer (coupon) ---------- */
.am-gift-offer { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(120deg, #FFF6E5 0%, #FFFDF7 55%, #F2F9EA 100%); border: 1px solid #F6D9A6; }
.am-gift-offer + .am-gift-offer { margin-top: 16px; }
.am-gift-offer__tag { display: inline-block; background: var(--am-orange2); color: #fff; font: 700 12px/1 Montserrat, sans-serif; letter-spacing: .04em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.am-gift-offer h2 { margin: 10px 0 6px; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.2; }
.am-gift-offer p { margin: 0; color: var(--am-muted); font-size: 14px; }
.am-gift-code { display: inline-block; padding: 2px 10px; border: 2px dashed var(--am-leaf); border-radius: 8px; color: var(--am-leaf); background: #fff; letter-spacing: .04em; }
.am-gift-offer__tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.am-gift-tier { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--am-line, #e6e9e1); border-radius: 14px; padding: 10px 12px; min-width: 0; }
.am-gift-tier__img { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #FAFBF8; }
.am-gift-tier__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.am-gift-tier__min { display: block; white-space: nowrap; font: 700 12px/1.3 Montserrat, sans-serif; color: var(--am-orange2); }
.am-gift-tier strong { display: block; font-size: 14px; line-height: 1.3; }
@media (max-width: 760px) { .am-gift-offer { grid-template-columns: 1fr; padding: 18px; } }
.am-in-app .am-app-btn { display: none !important; }

/* ---------- 1.2: blog articles with infographics ---------- */
.am-post-hero { margin: 0; text-align: center; }
/* Article page: article on the left, "More articles" and topics on the right; stacked on phones. */
.am-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "main pic" "main side"; grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 22px; align-items: start; padding-top: 44px; padding-bottom: 64px; }
.am-post-pic { grid-area: pic; }
.am-post-main { grid-area: main; }
.am-post-side { grid-area: side; }
.am-post-layout .am-content { max-width: none; margin: 0; padding: 0; }
.am-post-layout .am-content > * { max-width: none; }
.am-post-side { display: grid; gap: 18px; }
.am-side-box { background: #fff; border: 1px solid var(--am-line); border-radius: 18px; padding: 20px; }
.am-side-box h2 { font-size: 17px; margin: 0 0 14px; }
.am-side-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.am-side-posts a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; text-decoration: none; color: var(--am-ink); }
.am-side-posts img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; object-position: top; background: var(--am-soft); }
.am-side-posts strong { display: block; font: 600 14px/1.35 var(--am-serif); }
.am-side-posts small { display: block; color: var(--am-muted); font-size: 12px; margin-top: 3px; }
.am-side-posts a:hover strong { color: var(--am-leaf); }
.am-side-all { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--am-leaf); }
.am-chips--wrap { flex-wrap: wrap; overflow: visible; }
.am-side-cta { display: grid; gap: 6px; background: linear-gradient(135deg, #F2F9EA, #FFF6E5); }
.am-side-cta span { color: var(--am-muted); font-size: 14px; margin-bottom: 8px; }
.am-side-cta .am-btn { justify-self: start; }
.am-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--am-line); }
.am-post-nav a { display: block; padding: 14px 16px; border: 1px solid var(--am-line); border-radius: 14px; text-decoration: none; color: var(--am-ink); font: 600 15px/1.4 var(--am-serif); }
.am-post-nav a:hover { border-color: var(--am-leaf); }
.am-post-nav span { display: block; font: 500 12px var(--am-sans); color: var(--am-muted); margin-bottom: 4px; }
.am-post-nav__next { grid-column: 2; text-align: right; }
@media (max-width: 960px) {
  .am-post-layout { grid-template-columns: 1fr; grid-template-areas: "pic" "main" "side"; grid-template-rows: auto; row-gap: 28px; padding-top: 28px; }
  .am-post-pic { max-width: 520px; width: 100%; justify-self: center; }
  .am-post-nav { grid-template-columns: 1fr; }
  .am-post-nav__next { grid-column: 1; text-align: left; }
}
/* Tamil articles: a little more line spacing for Tamil letters. */
.am-lang-ta .am-content { line-height: 1.95; }
.am-lang-ta h1, .am-lang-ta h2, .am-lang-ta h3 { letter-spacing: 0; line-height: 1.35; }
.am-post-hero a { display: block; }
.am-post-hero img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--am-line, #e6e9e1); box-shadow: 0 10px 30px rgba(36, 48, 28, .08); }
.am-post-hero figcaption { font-size: 12px; color: var(--am-muted); margin-top: 8px; }
.am-content table { clear: both; width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 15px; }
.am-content th, .am-content td { border: 1px solid var(--am-line, #e6e9e1); padding: 10px 12px; text-align: left; vertical-align: top; }
.am-content th { background: #F4F9EE; font-family: Montserrat, sans-serif; font-size: 14px; }
@media (max-width: 600px) { .am-content table { display: block; overflow-x: auto; } }
.am-content .am-post-cta { clear: both; margin-top: 32px; padding: 16px 18px; border-radius: 14px; background: #FFF6E5; border: 1px solid #F6D9A6; }
.am-content::after { content: ""; display: table; clear: both; }

/* ---------- 1.2.5: quantity boxes, + / - buttons, "added" toast ---------- */
.quantity.am-qtybox { display: inline-flex; align-items: stretch; border: 1px solid var(--am-line); border-radius: 12px; overflow: hidden; background: #fff; }
.quantity.am-qtybox input.qty { width: 52px !important; min-width: 52px; min-height: 42px; border: 0 !important; border-radius: 0 !important; padding: 0 2px !important; text-align: center; font-size: 15px; -moz-appearance: textfield; box-shadow: none !important; }
.quantity input.qty { min-width: 56px; padding-left: 4px; padding-right: 4px; text-align: center; }
.quantity.am-qtybox input.qty::-webkit-outer-spin-button, .quantity.am-qtybox input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.am-qtybtn { width: 38px; border: 0; background: #F6F3EA; color: var(--am-ink, #222); font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
.am-qtybtn:hover { background: #EEE8D8; }
.am-product form.cart .quantity.am-qtybox input.qty { min-height: 52px; }
.single_add_to_cart_button.loading { opacity: .7; }
.am-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: #1f2a12; color: #fff; padding: 14px 20px; border-radius: 14px; font-size: 15px; z-index: 9999; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: transform .25s ease; max-width: calc(100% - 32px); }
.am-toast.is-on { transform: translate(-50%, 0); }
.am-toast a { color: #FFC56B; font-weight: 600; }
.am-toast--error { background: #8a1c1c; }
@media (prefers-reduced-motion: reduce) { .am-toast { transition: none; } }
.am-product form.cart .added_to_cart, .single-product form.cart .added_to_cart { display: none; } /* the toast already links to the cart */
