.ergg {
    --ergg-green: #688260;
    --ergg-dark: #425d3c;
    --ergg-red: #8e3d45;
    width: 100%; max-width: 100%; margin: 0 auto; padding: 20px 0;
    color: #404040; background: transparent; font-family: inherit;
}
.ergg, .ergg * { box-sizing: border-box; }
.ergg .ergg__heading { margin: 0 0 18px; padding: 0; color: var(--ergg-dark); font: inherit; font-size: 24px; font-weight: 500; line-height: 1.3; }
.ergg .ergg__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
.ergg.ergg--cols-2 .ergg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ergg.ergg--cols-3 .ergg__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ergg .ergg__card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; text-align: left; float: none; width: auto; }
.ergg .ergg__image-link { display: block; position: relative; width: 100%; margin: 0 0 10px; overflow: hidden; aspect-ratio: 1 / 1; background: #f4f1e9; text-decoration: none; }
.ergg.ergg--portrait .ergg__image-link { aspect-ratio: 4 / 5; }
.ergg .ergg__image-link img { display: block; width: 100%; height: 100%; max-width: 100%; margin: 0; padding: 0; border: 0; object-fit: cover; object-position: center; border-radius: 0; }
.ergg .ergg__badge { position: absolute; bottom: 0; left: 0; right: 0; padding: 6px 8px; background: var(--ergg-red); color: #fff; font-size: 12px; line-height: 1.35; text-align: center; overflow-wrap: anywhere; }
.ergg .ergg__title { margin: 0 0 7px; padding: 0; font: inherit; font-size: 16px; font-weight: 500; line-height: 1.4; text-transform: none; letter-spacing: normal; overflow-wrap: anywhere; }
.ergg .ergg__title a { color: var(--ergg-dark); text-decoration: none; }
.ergg .ergg__title a:hover { text-decoration: underline; }
.ergg .ergg__description { margin: 0 0 10px; padding: 0; font-size: 13px; line-height: 1.5; color: #555; overflow-wrap: anywhere; }
.ergg .ergg__price { margin: auto 0 10px; padding-top: 4px; color: #404040; font-size: 16px; line-height: 1.4; font-weight: 500; }
.ergg .ergg__price del { opacity: .7; font-weight: 400; }
.ergg .ergg__price ins { background: none; text-decoration: none; }
.ergg .ergg__button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 10px 8px; margin: 0; border: 1px solid var(--ergg-green); border-radius: 2px; background: #fff; color: var(--ergg-dark); font: inherit; font-size: 14px; line-height: 1.3; font-weight: 500; text-align: center; text-decoration: none; text-transform: none; box-shadow: none; white-space: normal; }
.ergg .ergg__button:hover { background: var(--ergg-dark); border-color: var(--ergg-dark); color: #fff; text-decoration: none; }
.ergg .ergg__card > .ergg__button:last-child { margin-top: auto; }
.ergg a:focus-visible { outline: 3px solid var(--ergg-dark); outline-offset: 3px; }
@media (max-width: 767px) {
    .ergg { padding: 16px 0; }
    .ergg .ergg__grid, .ergg.ergg--cols-2 .ergg__grid, .ergg.ergg--cols-3 .ergg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .ergg .ergg__heading { font-size: 20px; margin-bottom: 12px; }
    .ergg .ergg__title { font-size: 14px; }
    .ergg .ergg__description { font-size: 12px; }
    .ergg .ergg__badge { font-size: 11px; padding: 5px; }
    .ergg .ergg__price { font-size: 14px; }
    .ergg .ergg__button { font-size: 13px; }
}

/* Decorative vector stays sharp and does not intercept button clicks. */
.ergg.ergg--holly .ergg__button { position: relative; overflow: visible; padding-left: 40px; padding-right: 40px; }
.ergg.ergg--holly .ergg__button > .ergg__holly { display: block; position: absolute; right: 0; top: -10px; width: 32px; height: 25px; margin: 0; padding: 0; border: 0; pointer-events: none; z-index: 1; }
.ergg.ergg--holly .ergg__holly > .ergg__holly-image { display: block; position: static; width: 100%; height: 100%; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; object-fit: contain; }


/* One horizontal row, including when earlier mobile grid styles are present. */
body .ergg.ergg--carousel { --ergg-card-basis:calc(50% - 6px); --ergg-track-gap:12px; min-width:0; }
body .ergg.ergg--carousel .ergg__grid {
 display:flex!important;
 flex-direction:row!important;
 flex-wrap:nowrap!important;
 align-items:stretch;
 grid-template-columns:none!important;
 gap:var(--ergg-track-gap, 12px)!important;
 width:100%!important; max-width:100%!important; min-width:0;
 margin:0!important; padding:4px 0 8px;
 overflow-x:auto!important; overflow-y:hidden!important;
 scroll-snap-type:x mandatory;
 overscroll-behavior-x:contain;
 scrollbar-width:thin;
 scrollbar-color:#688260 #f3f5ef;
 -webkit-overflow-scrolling:touch;
}
body .ergg.ergg--carousel .ergg__card {
 flex:0 0 var(--ergg-card-basis, calc(50% - 6px))!important;
 display:flex!important; flex-direction:column!important;
 scroll-snap-align:start;
 width:auto!important; min-width:0!important;
 margin:0!important; padding:0!important; float:none!important;
}
body .ergg.ergg--carousel .ergg__image-link,
body .ergg.ergg--carousel .ergg__button { flex-shrink:0; }
body .ergg .ergg__navigation { display:flex; align-items:center; justify-content:center; gap:16px; margin:12px 0 0; padding:0; }
body .ergg .ergg__navigation[hidden] { display:none!important; }
body .ergg .ergg__arrow { appearance:none; display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; min-width:44px; min-height:44px; margin:0; padding:0; border:1px solid #688260; border-radius:2px; background:#fff; color:#425d3c; font-family:Arial,sans-serif; font-size:28px; font-weight:400; line-height:1; box-shadow:none; cursor:pointer; }
body .ergg .ergg__arrow:hover:not(:disabled) { background:#f3f5ef; }
body .ergg .ergg__arrow:disabled { opacity:.35; cursor:default; }
body .ergg .ergg__position { color:#555; font-size:12px; line-height:1.4; text-align:center; }
body .ergg button:focus-visible, body .ergg .ergg__grid:focus-visible { outline:3px solid #425d3c; outline-offset:3px; }
@media(min-width:768px) {
 body .ergg.ergg--carousel { --ergg-card-basis:calc(25% - 18px); --ergg-track-gap:24px; }
 body .ergg.ergg--carousel.ergg--cols-2 { --ergg-card-basis:calc(50% - 12px); }
 body .ergg.ergg--carousel.ergg--cols-3 { --ergg-card-basis:calc(33.333333% - 16px); }
}

/* Centre carousel controls independently of theme button and float rules. */
body .ergg .ergg__navigation { box-sizing:border-box!important; display:flex!important; flex-direction:row!important; flex-wrap:nowrap!important; align-items:center!important; justify-content:center!important; width:100%!important; max-width:100%!important; gap:16px!important; margin:12px auto 0!important; padding:0!important; float:none!important; clear:both; position:static!important; text-align:center!important; }
body .ergg .ergg__navigation[hidden] { display:none!important; }
body .ergg .ergg__navigation .ergg__arrow { flex:0 0 44px!important; float:none!important; position:static!important; transform:none!important; }
body .ergg .ergg__arrow > span { font:inherit; line-height:inherit; color:inherit; }

/* Self-contained stars do not depend on theme icon fonts. */
.ergg .ergg__rating { display:inline-flex; align-self:flex-start; gap:3px; margin:2px 0 10px; padding:0; line-height:1; text-decoration:none; }
.ergg .ergg__star { display:block; position:relative; width:20px; height:20px; }
.ergg .ergg__star svg { display:block; width:20px; height:20px; max-width:none; fill:#deded8; }
.ergg .ergg__star-fill { display:block; position:absolute; top:0; left:0; height:20px; overflow:hidden; }
.ergg .ergg__star-fill svg { fill:#ffc928; }
.ergg .ergg__playback { text-align:center; margin:8px 0 0; }
.ergg .ergg__playback[hidden] { display:none!important; }
.ergg .ergg__pause { appearance:none; background:white; color:#425d3c; border:1px solid #688260; border-radius:2px; padding:8px 12px; min-height:36px; font:inherit; font-size:12px; cursor:pointer; }
@media(max-width:767px) { .ergg .ergg__rating { gap:2px; } }
