/* Site overrides on top of the archived Shoptet bundle. */

/* Header sits on a light photo: dark text and icons.
   White is kept only on the green sticky bar (html.scrolled) -- that bar has its own dark-green background. */
html:not(.scrolled) .header__title,
html:not(.scrolled) .header-title,
html:not(.scrolled) .navigation-buttons > a,
html:not(.scrolled) .navigation-buttons > a:hover,
html:not(.scrolled) .navigation-buttons > div > button,
html:not(.scrolled) .top-nav-button,
html:not(.scrolled) #topNavigationDropdown,
html:not(.scrolled) .navigation-in a,
html:not(.scrolled) .menu-helper > span {
  color: var(--colors-foregrounds-content-primary, #1f1f1f) !important;
}
html:not(.scrolled) .navigation-in > ul > li > a:hover,
html:not(.scrolled) .navigation-in > ul > li.exp > a,
html:not(.scrolled) .navigation-buttons > a:hover,
html:not(.scrolled) .navigation-buttons > a:focus-visible {
  color: var(--color-primary) !important;
}
/* the dropdown with sub-categories is a white card: its links keep the normal dark text */
html:not(.scrolled) .navigation-in ul.menu-level-2 a { color: var(--colors-foregrounds-content-primary, #1f1f1f) !important; }
html:not(.scrolled) .navigation-in ul.menu-level-2 a:hover { color: var(--color-primary) !important; }

/* homepage hero h1: light outline so it stays readable over the photo */
.type-index .header-title h1{
  -webkit-text-stroke:6px #fff;
  paint-order:stroke fill;
  text-shadow:0 0 10px rgba(255,255,255,.9);
}
@media (max-width:767px){.type-index .header-title h1{-webkit-text-stroke:4px #fff}}

/* ---- homepage blog carousel ---- */
.blog-carousel{margin:50px 0 40px}
.blog-carousel__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:20px}
.blog-carousel__heading{margin:0;font-size:28px;line-height:1.2}
.blog-carousel__all{white-space:nowrap;color:var(--color-primary)}
.blog-carousel__wrap{position:relative}
.blog-carousel__track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline-offset:4px}
.blog-carousel__track::-webkit-scrollbar{display:none}
.blog-carousel__item{flex:0 0 calc((100% - 40px) / 3);scroll-snap-align:start;display:flex;flex-direction:column;background:#fff;border:1px solid #e6e6e6;border-radius:6px;overflow:hidden}
.blog-carousel__image{display:block;aspect-ratio:740/423;overflow:hidden;background:#f3f3f3}
.blog-carousel__image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.blog-carousel__item:hover .blog-carousel__image img{transform:scale(1.04)}
.blog-carousel__text{padding:16px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.blog-carousel__date{font-size:13px;color:#777}
.blog-carousel__title{margin:0;font-size:18px;line-height:1.3}
.blog-carousel__title a{color:inherit;text-decoration:none}
.blog-carousel__title a:hover{color:var(--color-primary)}
.blog-carousel__desc{margin:0;font-size:14px;line-height:1.5;color:#444;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.blog-carousel__btn{position:absolute;top:calc(50% - 40px);width:42px;height:42px;border:0;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.25);color:var(--color-primary);font-size:28px;line-height:1;cursor:pointer;z-index:2;display:flex;align-items:center;justify-content:center;padding:0 0 3px}
.blog-carousel__btn--prev{left:-14px}
.blog-carousel__btn--next{right:-14px}
.blog-carousel__btn:disabled{opacity:.35;cursor:default}
.blog-carousel__dots{display:flex;justify-content:center;gap:8px;margin-top:18px}
.blog-carousel__dot{width:10px;height:10px;border-radius:50%;border:0;padding:0;background:#cfcfcf;cursor:pointer}
.blog-carousel__dot.is-active{background:var(--color-primary)}
@media (max-width:991px){.blog-carousel__item{flex-basis:calc((100% - 20px) / 2)}}
@media (max-width:575px){
  .blog-carousel__heading{font-size:22px}
  .blog-carousel__item{flex-basis:85%}
  .blog-carousel__btn{display:none}
}
