/* Hasan Minimart redesign (Oct 2026) */
:root:root{
	--hm-green:#123A2C;--hm-green-2:#0C2A1F;--hm-green-3:#1E5A43;--hm-leaf:#2F8F4E;
	--hm-gold:#E8B04B;--hm-gold-2:#F6CC6E;--hm-cream:#FBF7EE;--hm-cream-2:#F4EEDF;--hm-line:#E9E1CD;
	--hm-ink:#1E2621;--hm-muted:#5F6862;
	--theme-palette-color-1:#123A2C;--theme-palette-color-2:#1E5A43;
	--theme-link-initial-color:#123A2C;--theme-link-hover-color:#2F8F4E;
	--theme-button-background-initial-color:#123A2C;--theme-button-background-hover-color:#1E5A43;
	--theme-button-text-initial-color:#fff;--theme-button-text-hover-color:#fff;
	--theme-font-family:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;
	--theme-button-border-radius:999px;
}
body{font-family:var(--theme-font-family);background:var(--hm-cream);color:var(--hm-ink)}
body h1,body h2,body h3,body h4,body h5,body h6,body .woocommerce-loop-product__title,body .product_title,body input,body button,body select,body textarea{font-family:Poppins,system-ui,sans-serif}
#header.ct-header,#footer.ct-footer,[data-row="top"].ct-header-row{display:none!important}
.hm-i{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.hm-wrap{max-width:1240px;margin:0 auto;padding:0 20px;box-sizing:border-box}
.hm-header a,.hm-footer a,.hm-home a{text-decoration:none}

/* header */
.hm-header{position:sticky;top:0;z-index:50;box-shadow:0 2px 14px rgba(0,0,0,.18)}
.admin-bar .hm-header{top:32px}
.hm-top{background:var(--hm-green);color:#fff}
.hm-top-in{display:flex;align-items:center;gap:28px;padding:12px 20px}
.hm-logo{display:flex;align-items:center;gap:10px;color:var(--hm-gold-2)!important;flex:none}
.hm-logo svg{width:50px;height:44px}
.hm-logo b{display:block;font-size:1.65rem;font-weight:800;line-height:1;letter-spacing:.01em;color:var(--hm-gold-2)}
.hm-logo b em{font-style:normal;color:var(--hm-gold-2)}
.hm-logo small{display:block;color:#E4EEE8;font-size:.78rem;letter-spacing:.02em;margin-top:3px}
.hm-search{flex:1;display:flex;max-width:620px;margin:0 auto;background:#fff;border-radius:999px;overflow:hidden;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.hm-search input[type=search]{flex:1;border:0!important;background:transparent!important;padding:0 22px!important;height:46px;font-size:.92rem;color:var(--hm-ink);outline:0;box-shadow:none!important;min-width:0;border-radius:0!important}
.hm-search button{border:0;background:var(--hm-gold);color:var(--hm-green-2);width:60px;display:grid;place-items:center;cursor:pointer;border-radius:0 999px 999px 0;padding:0}
.hm-search button:hover{background:var(--hm-gold-2)}
.hm-actions{display:flex;align-items:center;gap:22px;flex:none}
.hm-actions a{display:flex;align-items:center;gap:8px;color:#fff!important;font-size:.85rem;font-weight:500}
.hm-actions .hm-i{width:24px;height:24px}
.hm-cart-ic{position:relative;display:flex}
.hm-cart-count{position:absolute;top:-8px;right:-9px;background:var(--hm-gold);color:var(--hm-green-2);font-size:.68rem;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px}
.hm-burger{display:none;background:transparent;border:1px solid rgba(255,255,255,.35);color:#fff;border-radius:10px;padding:7px;cursor:pointer}
.hm-nav{background:var(--hm-green-2);border-top:1px solid rgba(255,255,255,.08)}
.hm-nav>ul{display:flex;justify-content:space-between;list-style:none;margin:0 auto;padding:0 20px}
.hm-nav li{position:relative;list-style:none;margin:0}
.hm-nav>ul>li>a{display:flex;align-items:center;gap:7px;color:#fff;font-size:.88rem;font-weight:500;padding:12px 6px;border-bottom:3px solid transparent}
.hm-nav>ul>li>a .hm-i{width:16px;height:16px}
.hm-nav>ul>li>a:hover,.hm-nav>ul>li>a.on{color:var(--hm-gold-2)}
.hm-nav>ul>li>a.on{border-color:var(--hm-gold)}
.hm-sub{display:none;position:absolute;left:0;top:100%;min-width:240px;max-height:70vh;overflow:auto;background:#fff;border-radius:0 0 12px 12px;box-shadow:0 14px 30px rgba(0,0,0,.18);padding:8px 0;margin:0;z-index:60}
.hm-sub a{display:block;padding:7px 18px;color:var(--hm-ink);font-size:.86rem}
.hm-sub li.child a{padding-left:30px;color:var(--hm-muted);font-size:.82rem}
.hm-sub a:hover{background:var(--hm-cream);color:var(--hm-green)}
.has-sub:hover>.hm-sub,.has-sub:focus-within>.hm-sub{display:block}

/* buttons */
.hm-btn{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:.92rem;letter-spacing:.02em;border-radius:999px;padding:13px 26px;transition:transform .15s,box-shadow .15s}
.hm-btn:hover{transform:translateY(-2px)}
.hm-btn .hm-i{width:18px;height:18px}
.hm-btn-gold{background:linear-gradient(180deg,var(--hm-gold-2),var(--hm-gold));color:var(--hm-green-2)!important;box-shadow:0 8px 20px rgba(232,176,75,.35)}
.hm-btn-green{background:var(--hm-green);color:#fff!important}

/* hero */
.hm-home{background:var(--hm-cream)}
/* Hero: plain green, no photo. Only Hasan's own photos go on the site (the Gemini hero was removed 2026-10-22); add his hero photo here later */
.hm-hero{background:var(--hm-green);overflow:hidden}
.hm-hero-in{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:clamp(300px,26vw,400px);padding-top:34px;padding-bottom:34px}
.hm-hero h1{font-family:"Playfair Display",Georgia,serif!important;font-weight:700;font-size:clamp(2rem,4.2vw,3.2rem);line-height:1.12;color:#fff;margin:0 0 14px}
.hm-hero h1 span{display:block;color:var(--hm-gold-2)}
.hm-hero-copy>p{font-size:1.05rem;color:#DCE8E1;margin:0 auto 24px;max-width:430px}
.hm-hero .hm-pill{display:flex!important;width:fit-content;max-width:100%;margin:22px auto 0!important;background:var(--hm-green-2);border:1px solid rgba(255,255,255,.12)}
.hm-pill{display:inline-flex!important;align-items:center;gap:10px;background:var(--hm-green);color:#fff!important;border-radius:999px;padding:10px 18px!important;font-size:.85rem!important;margin:22px 0 0!important}
.hm-pill .hm-i{color:var(--hm-gold-2)}

/* categories: Hasan's square tiles (his mockup, 25 Oct 2026); photo + real-text label bar, green/gold alternating */
.hm-cats{padding-top:32px!important;padding-bottom:12px!important}
.hm-cats-head{text-align:center;margin:0 0 18px}
.hm-cats-head h2{font-family:"Playfair Display",Georgia,serif!important;font-size:clamp(1.5rem,2.6vw,2rem);margin:0;color:var(--hm-green)}
.hm-cats-head p{font-family:Caveat,cursive;font-size:1.55rem;line-height:1.1;color:var(--hm-green-3);margin:2px 0 0}
.hm-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.hm-cat{display:flex;flex-direction:column;background:#01572F;border-radius:14px;overflow:hidden;box-shadow:0 4px 14px rgba(18,58,44,.12);transition:transform .2s,box-shadow .2s}
.hm-cat:nth-child(even){background:#B9870B}
.hm-cat:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(18,58,44,.2)}
.hm-cat img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.hm-cat-name{flex:1;display:flex;align-items:center;gap:12px;min-height:76px;padding:12px 14px;color:#fff;font-weight:700;font-size:1.12rem;line-height:1.2;text-shadow:0 1px 2px rgba(0,0,0,.25)}
.hm-cat-ic{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;border:2px solid rgba(255,255,255,.92)}
.hm-cat-ic .hm-i{width:25px;height:25px}

/* sections */
.hm-sec{padding-top:28px!important;padding-bottom:30px!important}
.hm-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 16px}
.hm-sec-head h2{font-family:"Playfair Display",Georgia,serif!important;font-size:clamp(1.5rem,2.6vw,2rem);margin:0;color:var(--hm-ink)}
.hm-sec-head p{margin:2px 0 0;color:var(--hm-muted);font-size:.9rem}
.hm-sec-head a,.hm-box-head a{display:inline-flex;align-items:center;gap:6px;color:var(--hm-green)!important;font-weight:600;font-size:.86rem;text-decoration:underline!important;flex:none}
.hm-sec-head a .hm-i,.hm-box-head a .hm-i{width:16px;height:16px}
.hm-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:14px}
.hm-card{background:#fff;border:1px solid var(--hm-line);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:6px;text-align:center}
.hm-card-img img{width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain;border-radius:8px}
.hm-card-name{color:var(--hm-ink)!important;font-size:.84rem;line-height:1.3;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em}
.hm-card-price{font-weight:700;color:var(--hm-ink);font-size:.95rem}
.hm-card-price del{color:#9A9A9A;font-weight:400;font-size:.8rem}
.hm-add.button{margin-top:auto;background:var(--hm-green)!important;color:#fff!important;border-radius:8px!important;font-size:.78rem!important;font-weight:600;padding:8px 6px!important;min-height:0!important;line-height:1.2!important;width:100%;text-align:center;border:0}
.hm-add.button:hover{background:var(--hm-green-3)!important}
.hm-add.added{display:none!important}
.hm-card .added_to_cart{font-size:.78rem;font-weight:600;color:var(--hm-leaf)!important;padding:8px 0}

/* meat banner */
/* No meat photos until Hasan sends his own (the stock ones were removed 2026-10-22) */
.hm-meat{position:relative;background:linear-gradient(90deg,var(--hm-green-2) 0%,var(--hm-green) 55%,var(--hm-green-3) 100%);color:#fff;overflow:hidden;margin:18px 0}
.hm-meat-in{position:relative;z-index:1;padding-top:40px!important;padding-bottom:40px!important}
.hm-eyebrow{color:var(--hm-gold-2);font-weight:700;letter-spacing:.14em;font-size:.8rem;text-transform:uppercase;margin:0 0 6px}
.hm-meat h2{font-family:"Playfair Display",Georgia,serif!important;color:#fff;font-size:clamp(1.6rem,3vw,2.3rem);margin:0 0 8px}
.hm-meat p{color:#DCE8E1;margin:0 0 20px}
.hm-badge{position:absolute;right:3%;top:50%;transform:translateY(-50%) rotate(-8deg);width:118px;height:118px;border-radius:50%;background:rgba(12,42,31,.88);border:2px solid var(--hm-gold);display:grid;place-items:center;text-align:center;font-family:Caveat,cursive;font-size:1.35rem;line-height:1;color:var(--hm-gold-2);z-index:2}

/* duo rails */
.hm-duo{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:12px!important;padding-bottom:28px!important}
.hm-box{background:#fff;border:1px solid var(--hm-line);border-radius:14px;padding:16px;min-width:0}
.hm-box-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}
.hm-box-head h2{display:flex;align-items:center;gap:8px;font-size:1.12rem;margin:0;color:var(--hm-ink)}
.hm-box-head h2 .hm-i{color:var(--hm-gold);width:22px;height:22px}
.hm-rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 40px)/5);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:thin}
.hm-rail .hm-card{scroll-snap-align:start;padding:8px;border-radius:10px}
.hm-rail .hm-card-name{font-size:.74rem}
.hm-rail .hm-card-price{font-size:.82rem}

/* why + coverage */
.hm-why{background:#E9F0E4;padding:26px 0;border-top:1px solid #DCE6D5;border-bottom:1px solid #DCE6D5}
.hm-why h2{text-align:center;font-family:"Playfair Display",Georgia,serif!important;font-size:1.55rem;margin:0 0 18px;color:var(--hm-ink)}
.hm-why-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.hm-why-grid>div{text-align:center;padding:0 14px}
.hm-why-grid>div+div{border-left:1px solid #CFDCC8}
.hm-why-grid .hm-i{width:30px;height:30px;color:var(--hm-green)}
.hm-why-grid h3{font-size:.95rem;margin:6px 0 2px;color:var(--hm-ink)}
.hm-why-grid p{margin:0;font-size:.82rem;color:var(--hm-muted)}
.hm-coverage{display:flex;align-items:center;gap:26px;background:#F2EEE2;border:1px solid var(--hm-line);border-radius:14px;margin:26px auto!important;padding:18px 24px!important}
.hm-cov-label{display:flex;align-items:center;gap:12px;color:var(--hm-green);padding-right:26px;border-right:1px solid var(--hm-line)}
.hm-cov-label .hm-i{width:34px;height:34px}
.hm-coverage p{flex:1;margin:0;font-size:.9rem;color:#3B4540}
.hm-coverage .hm-btn{padding:11px 20px;font-size:.86rem}

/* footer */
.hm-footer{background:var(--hm-green);color:#E2ECE6;font-size:.86rem}
.hm-foot-cols{display:grid;grid-template-columns:1.3fr 1.2fr 1.2fr .9fr 1fr;gap:24px;padding-top:30px!important;padding-bottom:24px!important;align-items:start}
.hm-foot-cols>div+div{border-left:1px solid rgba(255,255,255,.12);padding-left:20px}
.hm-footer h4{display:flex;align-items:center;gap:8px;color:#fff;font-size:.92rem;margin:0 0 6px}
.hm-footer h4 .hm-i{color:var(--hm-gold-2);width:18px;height:18px}
.hm-footer p{margin:0;line-height:1.55}
.hm-footer a{color:#fff!important}
.hm-logo.is-small b{font-size:1.35rem}
.hm-foot-script{font-family:Caveat,cursive;color:var(--hm-gold-2);font-size:1.7rem;line-height:1.1;text-align:center;transform:rotate(-4deg)}
.hm-foot-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;border-top:1px solid rgba(255,255,255,.12);padding-top:14px!important;padding-bottom:16px!important;font-size:.78rem;color:#AFC4B8}
.hm-foot-bottom nav{display:flex;flex-wrap:wrap;gap:6px 18px}
.hm-foot-bottom a{color:#D6E3DB!important}

/* store-wide: product grids and buttons in the new colours */
.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button,.single_add_to_cart_button,.wc-block-components-button,.checkout-button{background:var(--hm-green)!important;color:#fff!important;border-radius:999px!important}
.woocommerce ul.products li.product .button:hover,.single_add_to_cart_button:hover{background:var(--hm-green-3)!important}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price{color:var(--hm-green)}
.onsale{background:var(--hm-gold)!important;color:var(--hm-green-2)!important}

@media (max-width:1100px){
	.hm-grid{grid-template-columns:repeat(4,1fr)}
	.hm-rail{grid-auto-columns:calc((100% - 30px)/4)}
	.hm-nav>ul>li>a{font-size:.82rem;padding:12px 4px}
}
@media (max-width:900px){
	.admin-bar .hm-header{top:0}
	.hm-header{position:relative}
	.hm-top-in{flex-wrap:wrap;gap:12px;padding:10px 16px}
	.hm-logo svg{width:40px;height:36px}
	.hm-logo b{font-size:1.25rem}
	.hm-logo small{font-size:.68rem}
	.hm-actions{margin-left:auto;gap:14px}
	.hm-actions a span:not(.hm-cart-ic):not(.hm-cart-count){display:none}
	.hm-burger{display:grid;place-items:center}
	.hm-search{order:3;flex-basis:100%;max-width:none}
	.hm-search input[type=search]{height:42px}
	.hm-nav{display:none}
	.hm-nav.open{display:block}
	.hm-nav>ul{flex-direction:column;padding:6px 16px 12px}
	.hm-nav>ul>li>a{padding:10px 2px;border-bottom:1px solid rgba(255,255,255,.08)}
	.hm-sub{position:static;display:none;box-shadow:none;border-radius:8px;max-height:none;margin:4px 0 8px}
	.has-sub.open>.hm-sub{display:block}
	.has-sub:hover>.hm-sub{display:none}
	.has-sub.open:hover>.hm-sub{display:block}
	.hm-hero-in{min-height:0;padding-top:30px;padding-bottom:30px}
	.hm-cat-grid{grid-template-columns:repeat(3,1fr);gap:14px}
	.hm-cat-name{font-size:1rem;gap:10px;min-height:68px;padding:10px 12px}
	.hm-cat-ic{width:40px;height:40px}
	.hm-cat-ic .hm-i{width:21px;height:21px}
	.hm-duo{grid-template-columns:1fr}
	.hm-why-grid{grid-template-columns:1fr 1fr;row-gap:18px}
	.hm-why-grid>div:nth-child(3){border-left:0}
	.hm-coverage{flex-direction:column;align-items:flex-start;gap:12px}
	.hm-cov-label{border:0;padding:0}
	.hm-foot-cols{grid-template-columns:1fr 1fr}
	.hm-foot-cols>div+div{border-left:0;padding-left:0}
	.hm-badge{display:none}
}
@media (max-width:600px){
	.hm-top-in{flex-wrap:wrap}
	.hm-logo{min-width:0}
	.hm-logo svg{width:34px;height:30px}
	.hm-logo b{font-size:1.05rem}
	.hm-logo small{display:none}
	.hm-actions{gap:10px}
	.hm-cat-grid{grid-template-columns:repeat(2,1fr);gap:10px}
	.hm-cat{border-radius:12px}
	.hm-cat-name{font-size:.84rem;gap:8px;min-height:58px;padding:8px 10px}
	.hm-cat-ic{width:32px;height:32px;border-width:1.5px}
	.hm-cat-ic .hm-i{width:17px;height:17px}
	.hm-grid{grid-template-columns:repeat(2,1fr);gap:10px}
	.hm-rail{grid-auto-columns:40%}
	.hm-meat-in{padding-top:28px!important;padding-bottom:28px!important}
	.hm-btn{width:100%;justify-content:center}
	.hm-pill{font-size:.78rem!important}
	.hm-foot-cols{grid-template-columns:1fr}
	.hm-foot-script{text-align:left;transform:none}
	.hm-sec-head{flex-direction:column;align-items:flex-start}
}

/* archive banners: plain green band instead of the old category artwork */
.hero-section[data-type="type-2"]{background:linear-gradient(90deg,var(--hm-green-2),var(--hm-green-3))!important;min-height:0!important}
.hero-section[data-type="type-2"]>figure{display:none!important}
.hero-section[data-type="type-2"] .entry-header{padding-top:34px!important;padding-bottom:34px!important}
.hero-section[data-type="type-2"] .page-title,.hero-section[data-type="type-2"] h1{color:#fff!important;font-family:"Playfair Display",Georgia,serif!important;font-size:clamp(1.8rem,3.4vw,2.6rem)!important}
.hero-section[data-type="type-2"] .ct-breadcrumbs,.hero-section[data-type="type-2"] .ct-breadcrumbs a,.hero-section[data-type="type-2"] .page-description{color:#DCE8E1!important}
.widget-title,.ct-widget .widget-title,.wc-block-product-filters h2{font-family:Poppins,system-ui,sans-serif!important;font-size:1.05rem!important}
