/* Permanent Offers page. Existing header, footer and theme tokens remain authoritative. */
body.page-template-page-offers .main-page-wrapper{background:var(--hm-bg)}
.hm-offers{width:min(1240px,100%);margin:0 auto;padding:16px 0 36px;color:var(--hm-text);font-size:16px;line-height:1.55}
.hm-offers *{box-sizing:border-box;min-width:0}
.hm-offers section{margin-bottom:20px;scroll-margin-top:110px}
.hm-offers h1,.hm-offers h2,.hm-offers h3{font-family:inherit;color:var(--hm-text);font-weight:800;letter-spacing:-.025em;text-wrap:balance}
.hm-offers h2{font-size:clamp(25px,2.6vw,36px);line-height:1.12;margin:0 0 12px}
.hm-offers p{margin:0 0 14px}
.hm-offers a:focus-visible,.hm-offers button:focus-visible,.hm-offers input:focus-visible{outline:3px solid var(--hm-green-dark);outline-offset:4px}
.hm-o-notices:empty{display:none}
.hm-o-hero{display:grid;grid-template-columns:1fr 1fr;border-radius:16px;overflow:hidden;background:var(--hm-green-soft);align-items:center;min-height:470px}
.hm-o-hero-copy{padding:clamp(24px,3.7vw,48px)}
.hm-o-label{display:inline-block;border:1px solid var(--hm-border);border-radius:999px;padding:5px 14px;background:var(--hm-surface);color:var(--hm-green-dark);font-weight:800;font-size:14px;line-height:1.3}
.hm-offers h1{font-size:clamp(36px,4.4vw,62px);line-height:1.03;margin:18px 0;letter-spacing:-.035em}
.hm-o-hero h1 span{color:var(--hm-green-dark)}
.hm-o-hero-copy p{font-size:18px;max-width:37ch}
.hm-o-portrait{align-self:stretch;position:relative;min-height:0}
.hm-o-portrait img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.hm-o-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.hm-o-button,.hm-offers .single_add_to_cart_button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border-radius:7px;border:1px solid #145c24;background:#145c24;color:#fff;font-weight:750;text-decoration:none;line-height:1.25;box-shadow:none}
.hm-o-button:hover,.hm-offers .single_add_to_cart_button:hover{background:#0c4219;color:#fff}
.hm-o-button-outline{background:var(--hm-surface);color:var(--hm-green-dark);border-color:var(--hm-green-dark)}
.hm-o-button-outline:hover{background:var(--hm-green-soft);color:var(--hm-green-dark)}
.hm-o-current{padding:28px;background:var(--hm-surface-soft);border-radius:16px}
.hm-o-section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}
.hm-o-section-heading h2{margin:0;font-size:clamp(29px,3vw,40px)}
.hm-o-section-heading h2 span{color:var(--hm-green-dark);font-size:.66em}
.hm-o-campaign-dates{font-size:14px;line-height:1.65;color:var(--hm-text);margin:0!important}
.hm-o-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hm-o-product{display:flex;flex-direction:column;padding:18px;background:var(--hm-surface);border-radius:12px;box-shadow:var(--hm-shadow)}
.hm-o-product-image{display:block;background:#fff;border-radius:8px;padding:8px}
.hm-o-product-image img{width:100%;height:200px;object-fit:contain;display:block}
.hm-o-product h3{font-size:17px;line-height:1.4;letter-spacing:0;margin:14px 0 8px;min-height:4.2em}
.hm-o-product h3 a{color:var(--hm-text)}
.hm-o-price{font-size:29px;line-height:1.4;font-weight:800;color:var(--hm-green-dark);margin:0 0 8px}
.hm-o-price del{font-size:17px;color:var(--hm-text-muted)}
.hm-o-price ins{color:inherit;background:none;text-decoration:none}
.hm-o-product form.cart{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 12px}
.hm-o-product .quantity{flex:none;margin:0!important}
.hm-o-product .quantity input{min-height:44px}
.hm-o-product .single_add_to_cart_button{flex:1;padding:10px;font-size:14px}
.hm-o-product .stock{font-size:13px;color:var(--hm-text-muted);margin-bottom:8px}
.hm-o-product .out-of-stock{font-weight:700;color:var(--hm-text)}
.hm-o-product button:disabled{min-height:44px;border-radius:7px;opacity:.65;cursor:not-allowed;background:var(--hm-border);color:var(--hm-text);margin-bottom:12px}
.hm-o-details{font-size:14px;font-weight:700;color:var(--hm-green-dark);text-decoration:underline;text-underline-offset:3px}
.hm-o-product>.hm-o-details{margin-top:auto}
.hm-o-collect-note{font-size:14px;margin:20px 0 0!important}
.hm-o-collect-note a{color:var(--hm-green-dark);text-decoration:underline}
.hm-o-flyer{display:flex;align-items:center;gap:24px;background:#09622d;color:#fff;padding:26px 32px;border-radius:14px}
.hm-o-flyer h2{font-size:clamp(23px,2.4vw,32px);color:#fff;line-height:1.25;margin-bottom:4px;letter-spacing:-.02em}
.hm-o-flyer h2 strong{color:#ffe339;white-space:nowrap;font-size:1.25em}
.hm-o-flyer p{margin:0}
.hm-o-flyer-icon{flex:none;display:block;width:74px;transform:rotate(-9deg)}
.hm-o-flyer-icon svg{width:100%;height:74px}
.hm-o-flyer-terms{flex:0 0 210px;font-size:14px;line-height:1.5}
.hm-o-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.hm-o-tile{display:flex;align-items:center;gap:12px;border-radius:10px;padding:18px 12px;min-height:106px;color:#fff;font-size:16px;line-height:1.2;font-weight:800}
.hm-o-tile:hover{color:#fff;filter:brightness(.92)}
.hm-o-tile>span:last-child{margin-left:auto;font-size:28px}
.hm-o-tile-icon{display:block;flex:0 0 42px}
.hm-o-tile-icon svg{display:block;width:42px;height:46px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hm-o-tile-red{background:#cb293d}.hm-o-tile-yellow{background:#ffda28;color:#17211a}.hm-o-tile-yellow:hover{color:#17211a}.hm-o-tile-pink{background:#b91d6f}.hm-o-tile-green{background:#087c36}.hm-o-tile-orange{background:#a94700}.hm-o-tile-blue{background:#086ec1}.hm-o-tile-sky{background:#006e9b}.hm-o-tile-purple{background:#7142b5}.hm-o-tile-teal{background:#007d80}
.hm-o-coming{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 36px;background:var(--hm-green-soft);border-radius:12px}
.hm-o-coming h2{color:var(--hm-green-dark);margin:12px 0 6px}
.hm-o-coming p{margin:0}
.hm-o-coming-icon{display:flex;color:var(--hm-green-dark);gap:12px}
.hm-o-coming-icon svg{width:70px;height:70px;fill:none;stroke:currentColor;stroke-width:1.5}
.hm-o-visit{display:grid;grid-template-columns:1.3fr 1fr auto;gap:24px;align-items:center;padding:24px;border:1px solid var(--hm-border);border-radius:12px;background:var(--hm-surface)}
.hm-o-visit h2{font-size:28px;color:var(--hm-green-dark)}
.hm-o-visit h2 svg{width:28px;height:28px;vertical-align:middle;fill:none;stroke:currentColor}
.hm-o-visit p{font-size:14px;margin-bottom:10px}
.hm-o-visit .hm-o-actions{flex-direction:column}
.hm-o-store-image img{display:block;width:100%;height:190px;border-radius:8px;object-fit:cover}
.hm-o-more-heading{margin-top:28px!important}
.hm-o-specials{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hm-o-specials .hm-product-card{display:flex;position:relative;flex-direction:column;gap:10px;background:var(--hm-surface);color:var(--hm-text);padding:18px;border-radius:12px}
.hm-o-specials .hm-product-card__media{display:block;background:#fff;border-radius:6px}
.hm-o-specials img{display:block;width:100%;height:180px;object-fit:contain}
.hm-o-specials .hm-product-card__badge{align-self:flex-start;background:var(--hm-green-soft);color:var(--hm-green-dark);padding:3px 9px;border-radius:5px;font-weight:700}
.hm-o-specials .hm-product-card__title{font-weight:700}
.hm-o-specials .hm-product-card__price{color:var(--hm-green-dark);font-weight:800}
@media(min-width:1025px){body.page-template-page-offers .harus-mobile-toggle{display:none!important}}
@media(max-width:1100px){.hm-o-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.hm-o-products{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-o-visit{grid-template-columns:1.3fr 1fr}.hm-o-visit>.hm-o-actions{grid-column:1/-1;flex-direction:row}.hm-o-hero-copy{padding:28px}.hm-offers h1{font-size:clamp(35px,4.8vw,52px)}}
@media(max-width:767px){.hm-offers{padding-top:8px}.hm-o-hero{grid-template-columns:1fr}.hm-o-hero-copy{padding:26px 22px}.hm-offers h1{font-size:clamp(36px,7.6vw,54px)}.hm-o-portrait{min-height:0;aspect-ratio:1.15}.hm-o-portrait img{height:100%;object-position:center 40%}.hm-o-current{padding:20px 16px}.hm-o-section-heading{display:block}.hm-o-campaign-dates{margin-top:14px!important}.hm-o-flyer{padding:24px 20px;gap:16px;flex-wrap:wrap}.hm-o-flyer-icon{width:48px}.hm-o-flyer-icon svg{height:52px}.hm-o-flyer>div{flex:1}.hm-o-flyer-terms{flex-basis:100%}.hm-o-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.hm-o-tile{font-size:15px;padding:16px 12px;gap:8px;min-height:100px}.hm-o-tile-icon{flex-basis:32px}.hm-o-tile-icon svg{width:32px}.hm-o-coming{padding:24px}.hm-o-coming-icon{display:none}.hm-o-visit{grid-template-columns:1fr;padding:20px}.hm-o-visit>.hm-o-actions{grid-column:auto}.hm-o-specials{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.hm-o-products{grid-template-columns:1fr}.hm-o-product h3{min-height:0}.hm-o-product-image img{height:230px}.hm-o-product{padding:20px}.hm-o-product form.cart{flex-wrap:nowrap}.hm-o-current{padding:22px 14px}.hm-o-price{font-size:30px}}
@media(max-width:350px){.hm-o-tiles,.hm-o-specials{grid-template-columns:1fr}.hm-o-actions{align-items:stretch}.hm-o-actions a{width:100%;text-align:center}.hm-o-hero-copy{padding:22px 18px}.hm-o-product{padding:16px}.hm-o-product form.cart{flex-wrap:wrap}.hm-offers h1{font-size:35px}}

.hm-o-product .quantity button{min-width:36px;min-height:44px}
.hm-o-product .quantity input.qty{width:40px;min-height:44px}
/* WoodMart's dark primary button changes its background; keep its label readable. */
:root[data-hm-theme-resolved="dark"] .hm-offers .single_add_to_cart_button{color:#07120a!important}
.hm-offers .quantity button,.hm-offers .quantity input.qty{color:var(--hm-text)!important;background:var(--hm-surface)!important;border-color:var(--hm-text-muted)}
