/* ===== RESET & BASE ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --bg:#ffffff;

  /* Main text */
  --fg:#0F172A;
  --text:var(--fg); /* alias because some rules use --text */

  /* Brand (EcoPress) */
  --primary:#22A56B;
  --primary-fg:#ffffff;
  --primary-hover:#178A58;

  /* Mint surfaces */
  --secondary:#F3FBF7;
  --secondary-fg:#178A58;

  --muted:#F6FBF8;
  --muted-fg:#64748B;

  --border:#CFE8DC;

  /* Optional accent from leaf */
  --accent:#8FD14F;
  --accent-fg:#1F3B2B;

  --radius:0.75rem;

  /* Shadows (premium) */
  --shadow:0 10px 25px rgba(2,6,23,.08);
  --shadow-lg:0 18px 40px rgba(2,6,23,.12);

  --font:"Inter",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

html{scroll-behavior:smooth}
body{font-family:var(--font);color:var(--fg);background:var(--bg);line-height:1.65;font-size:15px}

a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button{cursor:pointer;font-family:inherit;border:none;background:none}
ul{list-style:none}

/* ===== TYPOGRAPHY ===== */
h1{font-size:48px;line-height:1.1;font-weight:800;letter-spacing:-0.02em}
h2{font-size:36px;line-height:1.15;font-weight:700;letter-spacing:-0.015em}
h3{font-size:22px;line-height:1.3;font-weight:600}
p,.text,.section-subtitle{color:#475569;line-height:1.65;font-size:15px}
.section-subtitle{max-width:640px;margin:12px auto 0;font-size:16px}
.card-title{font-size:18px;font-weight:600;line-height:1.35}
.card-text{font-size:14px;color:#64748B}

@media(max-width:768px){
  h1{font-size:34px}
  h2{font-size:28px}
}


html {
  scroll-behavior: smooth;
}

/* ===== UTILITIES ===== */
.container{max-width:1400px;margin:0 auto;padding:0 1.5rem}

/* ===== BUTTONS ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.625rem 1.5rem;
  border-radius:var(--radius);
  font-weight:600;
  font-size:.875rem;
  transition:background .2s,color .2s,box-shadow .2s,transform .2s;
}
.btn--primary{background:var(--primary);color:var(--primary-fg)}
.btn--primary:hover{background:var(--primary-hover)}
.btn--sm{padding:.5rem 1rem;font-size:.8125rem}
.btn--outline{border:1px solid var(--primary);color:var(--primary);background:transparent}
.btn--outline:hover{background:var(--primary);color:var(--primary-fg)}
.btn--white{background:var(--bg);color:var(--primary);padding:.75rem 2rem;font-size:1rem}
.btn--white:hover{background:#F3F4F6}
.btn--ghost{background:transparent;color:var(--fg)}
.btn--ghost:hover{color:var(--primary)}

/* ===== HEADER ===== */
.header{
  position:sticky;top:0;z-index:100;
  background:var(--bg);
  border-bottom:1px solid var(--border)
}
.header__inner{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:1rem;padding-bottom:1rem
}
.header__logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-size:1.5rem;
  font-weight:700;
  color:var(--primary);
}
.site-logo{
  height:34px;
  width:auto;
  display:block;
}
.header__nav{display:flex;align-items:center;gap:2rem}
.header__link{font-size:.8125rem;font-weight:500;transition:color .2s}
.header__link:hover,.header__link--active{color:var(--primary)}
.header__cart{position:relative;padding:.5rem;top:5px;border-radius:.5rem;transition:background .2s}
.header__cart:hover{background:var(--secondary)}
.header__cart svg{color:var(--fg)}
.header__cart-badge{
  position:absolute;top:-.25rem;right:-.25rem;
  width:1.25rem;height:1.25rem;border-radius:50%;
  background:var(--primary);color:var(--primary-fg);
  font-size:.6875rem;display:flex;align-items:center;justify-content:center;font-weight:700
}
.header__mobile-actions{display:none;align-items:center;gap:.75rem}
.header__burger{padding:.25rem}

@media(max-width:768px){
  .header__nav{display:none}
  .header__mobile-actions{display:flex}
}

/* ===== MOBILE DRAWER ===== */
.mobile-drawer{position:fixed;inset:0;z-index:200;pointer-events:none}
.mobile-drawer--open{pointer-events:auto}
.mobile-drawer__overlay{position:absolute;inset:0;background:rgba(0,0,0,.4);opacity:0;transition:opacity .3s}
.mobile-drawer--open .mobile-drawer__overlay{opacity:1}
.mobile-drawer__panel{
  position:absolute;top:0;right:0;bottom:0;width:280px;background:var(--bg);
  transform:translateX(100%);transition:transform .3s ease;
  padding:1.5rem;display:flex;flex-direction:column
}
.mobile-drawer--open .mobile-drawer__panel{transform:translateX(0)}
.mobile-drawer__close{align-self:flex-end;padding:.25rem}
.mobile-drawer__nav{display:flex;flex-direction:column;gap:1.5rem;margin-top:2rem}
.mobile-drawer__link{
  font-size:1.125rem;font-weight:500;padding:.5rem 0;
  border-bottom:1px solid var(--border);transition:color .2s
}
.mobile-drawer__link:hover{color:var(--primary)}

/* ===== HERO ===== */
.hero{position:relative;overflow:hidden}
.hero .carousel__track{display:flex;transition:transform .5s ease}
.hero-slide{position:relative;min-width:100%;height:500px}
@media(min-width:769px){.hero-slide{height:600px}}
.hero-slide__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-slide__overlay{
  position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(255,255,255,.82),rgba(255,255,255,.62))
}
.hero-slide__content{
  position:relative;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;
  height:100%;padding:2rem 1.5rem
}
.hero-slide__title{font-size:3rem;font-weight:800;line-height:1.1;margin-bottom:1rem}
@media(min-width:769px){.hero-slide__title{font-size:3.75rem}}
.hero-slide__title span:first-child{color:var(--primary)}
.hero-slide__desc{font-size:1.125rem;color:var(--muted-fg);max-width:36rem;margin-bottom:2rem}
.hero-slide__actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}

/* ===== CAROUSEL (shared) ===== */
.carousel{position:relative;overflow:hidden}
.carousel__track{display:flex;transition:transform .4s ease}

.carousel__btn{
  position:absolute;top:50%;
  transform:translateY(-50%);
  width:2.75rem;height:2.75rem;border-radius:999px;
  background:rgba(255,255,255,.96);
  border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  z-index:10;
  transition:background .2s,border-color .2s,box-shadow .2s,transform .2s;
}
.carousel__btn:hover{
  background:#fff;
  border-color:var(--primary);
  box-shadow:0 10px 22px rgba(2,6,23,.10);
  transform:translateY(-50%) scale(1.04);
}
.carousel__btn:focus-visible{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 4px rgba(34,165,107,.18);
}
.carousel__btn--prev{left:.75rem}
.carousel__btn--next{right:.75rem}
@media(max-width:768px){
  .carousel__btn--prev,.carousel__btn--next{display:none}
}

/* ===== SECTIONS ===== */
.section{padding:4.5rem 0}
.section--alt{background:var(--secondary)}
.section__header{text-align:center;margin-bottom:3rem}
.section__title{font-size:2.25rem;font-weight:800;margin-bottom:1rem}
.section__subtitle{color:var(--muted-fg);max-width:36rem;margin:0 auto}

/* ===== PRODUCT CARD ===== */
.product-card{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:18px;
  padding:1.5rem 1.5rem 1.35rem;
  transition:box-shadow .2s, transform .2s;
  flex:0 0 calc((100% - (var(--gap, 1.5rem) * 3)) / 4);
  min-width:0;
}

.product-card__img-wrap{
  border-radius:14px;
  height:260px;
  overflow:hidden;
  background:#fff;
  margin-bottom:1.1rem;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-card__img-wrap img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:1.25rem;
}
.product-card__title{
  font-weight:800;
  font-size:1.25rem;
  margin-bottom:.5rem;
  color:var(--text);
}
.product-card__desc{
  font-size:1rem;
  line-height:1.5;
  color:var(--muted-fg);
}

/* Multi-item carousel (Products / Testimonials) */
.carousel--multi{overflow:visible;padding:0}
.carousel--multi .carousel__viewport{
  overflow-x: hidden;
  overflow-y: visible;
  margin:0 5.25rem; /* space for arrows */
}
.carousel--multi .carousel__track{--gap:1.5rem;gap:var(--gap)}
.carousel--multi .carousel__btn--prev{left:1rem}
.carousel--multi .carousel__btn--next{right:1rem}

@media(max-width:1023px){
  .carousel--multi .carousel__viewport{margin:0 4rem;}
}
@media(max-width:768px){
  .carousel--multi .carousel__viewport{margin:0 3.25rem;}
}
@media(max-width:480px){
  .carousel--multi .carousel__viewport{margin:0 2.75rem;}
  .carousel--multi .carousel__btn--prev{left:.5rem}
  .carousel--multi .carousel__btn--next{right:.5rem}
}

/* Product responsive widths */
@media(max-width:1023px){
  .product-card{flex-basis:calc((100% - (var(--gap, 1.5rem) * 2)) / 3)}
}
@media(max-width:768px){
  .product-card{flex-basis:calc((100% - var(--gap, 1.5rem)) / 1)}
}
@media(max-width:480px){
  .product-card{flex-basis:100%}
}

/* ===== FEATURES ===== */
.features__grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
@media(max-width:768px){.features__grid{grid-template-columns:1fr}}
.features__media{position:relative;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-lg)}
.features__video-thumb{width:100%;height:100%;object-fit:cover}
.features__video-wrapper{position:relative;width:100%;height:100%}
.features__play-btn{
  position:absolute;top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:5rem;height:5rem;border-radius:50%;
  background:var(--primary);color:var(--primary-fg);
  display:flex;align-items:center;justify-content:center;
  transition:transform .2s,background .2s;
  box-shadow:0 4px 20px rgba(0,0,0,.2)
}
.features__play-btn:hover{
  transform:translate(-50%,-50%) scale(1.1);
  background:var(--primary-hover);
}
.features__list{display:flex;flex-direction:column;gap:1.5rem}
.feature-item{display:flex;gap:1rem}
.feature-item__icon{
  flex-shrink:0;width:3rem;height:3rem;border-radius:.5rem;
  background:rgba(34,165,107,.10);
  display:flex;align-items:center;justify-content:center;
  color:var(--primary)
}
.feature-item__title{font-weight:800;font-size:1.125rem;margin-bottom:.25rem}
.feature-item__text{font-size:.875rem;color:var(--muted-fg)}

/* ===== TESTIMONIAL CARD ===== */
.testimonial-card{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.1rem 1.15rem;
  flex:0 0 calc((100% - (var(--gap, 1.5rem) * 3)) / 4);
  min-width:auto;
  transition:box-shadow .2s;
}
.testimonial-card:hover{box-shadow:var(--shadow-lg)}
.testimonial-card__header{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}
.testimonial-card__avatar{
  width:3rem;height:3rem;border-radius:50%;
  background:var(--secondary);
  display:flex;align-items:center;justify-content:center;
  color:var(--primary);font-weight:800;font-size:.875rem
}
.testimonial-card__avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
}

.testimonial-card__name{font-weight:800}
.testimonial-card__role{font-size:.8125rem;color:var(--muted-fg)}
.testimonial-card__stars{display:flex;gap:.25rem;margin-bottom:.75rem}
.testimonial-card__stars svg{
  color:var(--primary);
  fill:none;
}

.testimonial-card__stars svg.is-filled{
  fill:currentColor;
}

.testimonial-card__text{font-size:.875rem;color:var(--muted-fg)}

@media(max-width:1023px){
  .testimonial-card{flex:0 0 calc((100% - (var(--gap, 1.5rem) * 2)) / 3);}
}
@media(max-width:768px){
  .testimonial-card{flex:0 0 calc((100% - (var(--gap, 1.5rem) * 1)) / 1);}
}
@media(max-width:480px){
  .testimonial-card{flex:0 0 100%;}
}

/* ===== EVENTS ===== */
.events__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
@media(max-width:768px){.events__grid{grid-template-columns:1fr}}
.event-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.event-card__img{aspect-ratio:16/9;overflow:hidden}
.event-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.event-card:hover .event-card__img img{transform:scale(1.05)}
.event-card__body{padding:1.5rem}
.event-card__title{font-weight:800;font-size:1.25rem;margin-bottom:1rem}
.event-card__meta{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1.5rem}
.event-card__meta-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--muted-fg)}
.event-card__meta-item svg{color:var(--primary);flex-shrink:0}

/* ===== CTA BOX ===== */
.cta-box{background:var(--primary);border-radius:1.5rem;padding:3rem;text-align:center}
.cta-box__title{font-size:2.25rem;font-weight:800;color:var(--primary-fg);margin-bottom:1rem}
.cta-box__text{font-size:1.125rem;color:rgba(255,255,255,.9);max-width:36rem;margin:0 auto 2rem}

/* ===== FOOTER ===== */
.footer{border-top:1px solid var(--border);padding:3rem 0 0}
.footer__inner{display:grid;grid-template-columns:repeat(4,1fr);gap:3rem;margin-bottom:2rem}
@media(max-width:768px){.footer__inner{grid-template-columns:1fr}}
.footer__logo{display:flex;align-items:center;gap:10px;margin-bottom:1rem}
.footer__logo .site-logo{height:30px}
.footer__text{font-size:.875rem;color:var(--muted-fg)}
.footer__heading{font-weight:800;margin-bottom:1rem}
.footer__links{display:flex;flex-direction:column;gap:.5rem}
.footer__links a{font-size:.875rem;color:var(--muted-fg);transition:color .2s}
.footer__links a:hover{color:var(--primary)}
.footer__contacts{display:flex;flex-direction:column;gap:.75rem}
.footer__contacts li{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--muted-fg)}
.footer__contacts svg{color:var(--primary)}
.footer__bottom{border-top:1px solid var(--border);padding:2rem 0;text-align:center;font-size:.875rem;color:var(--muted-fg)}

/* ===== SCROLL TO TOP ===== */
.scroll-top{
  position:fixed;bottom:2rem;right:2rem;
  width:2.5rem;height:2.5rem;border-radius:50%;
  background:var(--primary);color:var(--primary-fg);
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-lg);
  opacity:0;pointer-events:none;
  transition:opacity .3s,transform .3s;
  transform:translateY(1rem);
  z-index:90
}
.scroll-top--visible{opacity:1;pointer-events:auto;transform:translateY(0)}

/* ===== MULTIPAGE: PAGE HERO / ABOUT / SHOP / CONTACT ===== */
.page-hero{
  padding:6.75rem 0 3.25rem;
  background:linear-gradient(180deg,#F3FBF7 0%, #ffffff 80%);
}
.page-hero__inner{text-align:center;padding-top:.25rem}
.page-hero__title{
  text-align:center;
  font-size:3rem;
  line-height:1.1;
  margin:0 0 .75rem;
  font-weight:800;
}


.wp-singular.single-post .breadcrumbs {
    margin-top: -25px;
    margin-bottom: 50px;
}

.wp-singular.single-post .page-hero__title {
    display: none;
}

.page-hero__title span{color:var(--primary)}
.page-hero__subtitle,
.page-hero__text{
  text-align:center;
  max-width:56rem;
  margin:0 auto;
  padding-top:.25rem;
  color:var(--muted-fg);
}

/* Stats */
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.25rem;
  margin-top:3.25rem;
  margin-bottom:2.75rem;
}
.stat-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:1.25rem 1.1rem;
  text-align:center;
  box-shadow:0 1px 0 rgba(2,6,23,.02);
}
.stat-card__value{
  font-weight:900;
  font-size:1.6rem;
  color:var(--primary);
  margin:0;
}
.stat-card__label{
  margin:.4rem 0 0;
  font-size:.9rem;
  color:var(--muted-fg);
}

/* Team */
.about-team{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:2rem;
  align-items:center;
  margin-top:1.75rem;
  margin-bottom:3.25rem;
}
.about-team__img{
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 14px 28px rgba(2,6,23,.14);
}
.about-team__img img{width:100%;height:320px;object-fit:cover}
.about-team__title{margin:.25rem 0 .65rem;font-size:1.9rem;font-weight:800}
.about-team__text{color:var(--muted-fg);margin:0 0 .75rem;line-height:1.7}

/* Values */
#values{margin-top:3.25rem}
#values .section__header{margin-bottom:1.75rem}
.values-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.4rem;
  margin-top:1.5rem;
  margin-bottom:3.25rem;
}
.value-card{
  display:flex;
  gap:1rem;
  align-items:flex-start;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:1.25rem;
}
.value-card__icon{
  width:40px;height:40px;
  display:flex;align-items:center;justify-content:center;
  border-radius:12px;
  background:rgba(34,165,107,.10);
  color:var(--primary);
  flex:0 0 auto;
}
.value-card__title{margin:0 0 .25rem;font-weight:900}
.value-card__text{margin:0;color:var(--muted-fg);line-height:1.6}

/* Story */
.story{
  margin-top:1.75rem;
  margin-bottom:3.75rem;
  background:var(--primary);
  border-radius:18px;
  padding:3.25rem 3.5rem;
  color:#fff;
  box-shadow:0 16px 35px rgba(34,165,107,.25);
  text-align:center;
}
.story__title{
  margin:0 0 1.25rem;
  font-size:2.25rem;
  font-weight:900;
}
.story__text{
  color:#fff;
  opacity:.94;
  font-size:16px;
  max-width:56rem;
  margin:0 auto;
  line-height:1.75;
}
.story__text + .story__text{margin-top:1rem}

/* Shop */
.shop-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.25rem;
  margin-top:1.75rem;
}
.shop-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(2,6,23,.06);
}
.shop-card__img{
  position:relative;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  height:200px;
}
.shop-card__img img{max-height:170px;width:auto}
.shop-card__badge{
  position:absolute;
  top:12px;
  right:12px;
  background:var(--primary);
  color:#fff;
  font-weight:800;
  font-size:.72rem;
  padding:.25rem .55rem;
  border-radius:999px;
}
.shop-card__body{padding:1.1rem 1.15rem 1.25rem}
.shop-card__title{margin:0;font-weight:900}
.shop-card__desc{margin:.4rem 0 1rem;color:var(--muted-fg);line-height:1.55}
.shop-card__rating{display:flex;align-items:center;gap:.5rem;margin:.3rem 0 .9rem}
.shop-card__stars{display:flex;gap:.15rem;color:var(--primary)}
.star{display:inline-flex}
.star--empty{opacity:.25}
.shop-card__reviews{color:var(--muted-fg);font-size:.85rem}
.shop-card__row{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.shop-card__price{font-weight:900;color:var(--primary);font-size:1.1rem}
.shop-card__btn{
  margin-top:.9rem;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  border:1px solid rgba(34,165,107,.18);
  background:var(--primary);
  color:#fff;
  font-weight:900;
  padding:.7rem .9rem;
  border-radius:12px;
  cursor:pointer;
  transition:transform .12s ease, filter .12s ease;
}
.shop-card__btn:hover{filter:brightness(.96);transform:translateY(-1px)}
.shop-card__btn:active{transform:translateY(0)}

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.5rem;
  margin-top:1.75rem;
}
.contact-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:1.5rem;
}
.contact-info{display:flex;gap:1rem;align-items:flex-start}
.contact-info__icon{
  width:44px;height:44px;
  border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(34,165,107,.10);
  color:var(--primary);
  flex:0 0 auto;
}
.contact-info__title{font-weight:900;margin:0 0 .25rem}
.contact-info__text{color:var(--muted-fg);line-height:1.6}
.form__label{display:block;font-size:.9rem;color:var(--muted-fg);margin:.25rem 0 .35rem}
.form__input,.form__textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  padding:.85rem .95rem;
  font:inherit;
  outline:none;
}
.form__input:focus,.form__textarea:focus{
  border-color:rgba(34,165,107,.55);
  box-shadow:0 0 0 4px rgba(34,165,107,.12)
}
.form__textarea{resize:vertical}

/* ===== HOME MORE BUTTON ===== */
.home-more{display:flex;justify-content:center;margin-top:28px}
.home-more .btn{
  border-radius:999px;
  padding:.85rem 2.1rem;
  font-size:.95rem;
  letter-spacing:.01em;
  box-shadow:0 10px 25px rgba(2,6,23,.10);
  border:1px solid rgba(34,165,107,.18);
}
.home-more .btn::after{
  content:'→';
  margin-left:.65rem;
  font-weight:800;
  line-height:1;
}
.home-more .btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(2,6,23,.14);
}
.home-more .btn:active{
  transform:translateY(0px);
  box-shadow:0 10px 22px rgba(2,6,23,.10);
}
@media (max-width:480px){
  .home-more{padding:0 16px}
  .home-more .btn{width:100%;max-width:360px}
}

/* ===== RESPONSIVE (multipage) ===== */
@media (max-width:1023px){
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .about-team{grid-template-columns:1fr}
  .about-team__img img{height:280px}
  .shop-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width:768px){
  .story{padding:2.25rem 1.5rem;margin-bottom:3.25rem}
  .story__title{font-size:1.85rem}
  .story__text{font-size:15px}
}
@media (max-width:640px){
  .page-hero{padding:5rem 0 2rem}
  .page-hero__title{font-size:2.25rem}
  .values-grid{grid-template-columns:1fr}
  .shop-grid{grid-template-columns:1fr}
}

.features__video-wrapper{
  position:relative;
  width:100%;
  height:100%;
  cursor:pointer;
}

.features__video-thumb{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.features__play-btn{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  z-index:3;
  background:var(--primary);
  color:var(--primary-fg);
  border-radius:50%;
  padding:1rem;
  transition:transform .2s,background .2s;
}
.features__play-btn:hover{
  transform:translate(-50%,-50%) scale(1.08);
  background:var(--primary-hover);
}

.features__video-wrapper iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  border-radius:inherit;
  z-index:2;
}

/* =========================================================
   WOOCOMMERCE (EcoPress shop layout)
   Clean, conflict-free styles
========================================================= */

/* Container used by shop templates */
.ep-container{
  max-width: 1400px;
  /*margin: 0 auto;*/
  /*padding: 0 24px;*/
}

/* Make shop page background mint */
.ep-shop-page{
  background: #f3fbf6;
}

/* Hero */
.ep-shop-hero{
  padding: 56px 0 24px;
}
.ep-title{
  font-size: 44px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 10px;
  color: #0f172a;
}
.ep-title span{ color: #23a86b; }
.ep-subtitle{
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  color: #64748b;
  line-height: 1.6;
}

/* Match header width with shop container ON SHOP PAGES only */
body.woocommerce .header .container,
body.woocommerce .header__inner.container{
  max-width: 1400px;
}

/* Logo sizing (covers WP logo variants) */
.header .custom-logo-link img,
.header img.custom-logo,
.header .site-branding img,
.header .wp-block-site-logo img,
.header .header__logo img,
.header a.header__logo img,
.header .site-logo{
  max-height: 52px !important;
  height: 52px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
}
.header__inner{
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/* Product card */
.woocommerce ul.products li.product.ep-card{
  background: #fff;
  border: 1px solid #dfeee6;
  border-radius: 18px;
  padding: 18px;
  /*box-shadow: 0 6px 18px rgba(18,68,38,.06);*/
  position: relative;
  overflow: hidden;
}

/* Badge (from tag) */
.ep-badge{
  position: absolute;
  top: 14px;
  right: 14px;
  background: #23a86b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

/* Image */
.ep-thumb img{
  width: 100% !important;
  height: 190px !important;
  object-fit: contain !important;
  display: block;
  margin: 0 0 12px !important;
}

/* Name + desc */
.ep-name{
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  margin-bottom: 6px;
}
.ep-desc{
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
  min-height: 44px;
}

/* Rating */
.woocommerce .star-rating{ margin: 10px 0 0; }
.ep-count{
  margin-left: 8px;
  color: #94a3b8;
  font-size: 13px;
}

/* Price */
.ep-price{
  margin: 12px 0 14px;
  font-weight: 900;
  color: #23a86b;
  font-size: 18px;
}
.ep-price del{ opacity: .6; }
.ep-price ins{ text-decoration: none; }

/* Add to cart button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product button.button{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: #23a86b;
  color: #fff;
  font-weight: 800;
  border: 0;
}
.woocommerce ul.products li.product .button:hover{ filter: brightness(.95); }

/* CTA block */
.ep-shop-cta{
  padding: 100px 0 70px;
}
.ep-shop-cta .ep-container{
  background: #23a86b;
  border-radius: 22px;
  padding: 42px 28px;
  text-align: center;
  color: #fff;
}
.ep-shop-cta h2{
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 900;
}
.ep-shop-cta p{
  margin: 0 auto 18px;
  max-width: 760px;
  opacity: .95;
  line-height: 1.6;
      color: #fff;
}
.ep-cta-btn{
  display: inline-block;
  background: #fff;
  color: #0f172a;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

/* =========================================================
   FINAL GRID FIX: forces 4 products per row on desktop
   (Overrides themes that set flex/width !important)
========================================================= */
html body.woocommerce.archive ul.products,
html body.woocommerce.archive.woocommerce-page ul.products,
html body.post-type-archive-product ul.products,
html body.tax-product_cat ul.products,
html body.tax-product_tag ul.products{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;

  flex: unset !important;
  flex-wrap: unset !important;
  justify-content: unset !important;
  align-items: unset !important;

  width: 100% !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

@media (max-width: 1100px){
  html body.woocommerce.archive ul.products,
  html body.woocommerce.archive.woocommerce-page ul.products,
  html body.post-type-archive-product ul.products,
  html body.tax-product_cat ul.products,
  html body.tax-product_tag ul.products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px){
  html body.woocommerce.archive ul.products,
  html body.woocommerce.archive.woocommerce-page ul.products,
  html body.post-type-archive-product ul.products,
  html body.tax-product_cat ul.products,
  html body.tax-product_tag ul.products{
    grid-template-columns: 1fr !important;
  }
}

/* li.product reset */
html body.woocommerce.archive ul.products > li.product,
html body.woocommerce.archive.woocommerce-page ul.products > li.product,
html body.post-type-archive-product ul.products > li.product,
html body.tax-product_cat ul.products > li.product,
html body.tax-product_tag ul.products > li.product{
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  min-width: 0 !important;
  flex: unset !important;
  clear: none !important;
}


/* FIX: WooCommerce ::before / ::after lauž grid (no clearfix in grid layout) */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after{
  content: none !important;
  display: none !important;
}

/* =======================================================================
   WOOCOMMERCE – GLOBAL LAYOUT (EcoPress)
   Mērķis: viss WooCommerce saturs 1400px, bez sānjoslām, vienots dizains.
   ======================================================================= */

:root{
  --ep-max:1400px;
  --ep-gap:24px;
  --ep-card-radius:18px;
  --ep-card-border:#dfeee6;
  --ep-surface:#f3fbf6;
}

/* Woo lapām – mint fons */
body.woocommerce,
body.woocommerce-page{
  background:var(--ep-surface);
}

/* Noņem sānjoslu Woo lapās (tema parasti ieliek #secondary) */
body.woocommerce #secondary,
body.woocommerce-page #secondary,
body.woocommerce aside#secondary,
body.woocommerce-page aside#secondary{
  display:none !important;
}

/* Galvenais wrapperis 1400px */
body.woocommerce #primary,
body.woocommerce-page #primary,
body.woocommerce .content-area,
body.woocommerce-page .content-area,
body.woocommerce .site-main,
body.woocommerce-page .site-main{
  width:100% !important;
  max-width:var(--ep-max) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

body.woocommerce #primary,
body.woocommerce-page #primary,
body.woocommerce .content-area,
body.woocommerce-page .content-area{
  padding-left:15px !important;
  padding-right:15px !important;
}

/* Breadcrumbs + ordering – sakārto */
body.woocommerce .woocommerce-breadcrumb{
  font-size:13px;
  color:#64748b;
  margin:18px 0 22px !important;
}
body.woocommerce .woocommerce-ordering{
  margin:0 0 16px !important;
}
body.woocommerce .woocommerce-result-count{
  margin:0 0 16px !important;
  color:#64748b;
}

/* =======================================================================
   ARCHIVE (Shop / Category / Tag) – 4 kolonnas, bez ::before/::after
   ======================================================================= */

body.woocommerce ul.products,
body.woocommerce-page ul.products{
  list-style:none !important;
  padding:0 !important;
  margin:28px 0 0 !important;

  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:var(--ep-gap) !important;
  width:100% !important;
  max-width:none !important;
}

@media (max-width:1100px){
  body.woocommerce ul.products,
  body.woocommerce-page ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width:640px){
  body.woocommerce ul.products,
  body.woocommerce-page ul.products{
    grid-template-columns:1fr !important;
  }
}

body.woocommerce ul.products::before,
body.woocommerce ul.products::after,
body.woocommerce-page ul.products::before,
body.woocommerce-page ul.products::after{
  content:none !important;
  display:none !important;
}

/* li.product reset (tema bieži uzliek float/width) */
body.woocommerce ul.products > li.product,
body.woocommerce-page ul.products > li.product{
  float:none !important;
  width:auto !important;
  margin:0 !important;
  max-width:none !important;
  clear:none !important;
}

/* Kartītes – ja tu izmanto ep-card klasi template'ā */
body.woocommerce ul.products li.product.ep-card{
  background:#fff;
  border:1px solid var(--ep-card-border);
  border-radius:var(--ep-card-radius);
  padding:18px;
  /*box-shadow:0 6px 18px rgba(18,68,38,.06);*/
  position:relative;
  overflow:hidden;
}

/* =======================================================================
   SINGLE PRODUCT – 2 kolonnas, bez liekām bloku platumu problēmām
   ======================================================================= */

body.single-product.woocommerce div.product{
  display:grid !important;
  grid-template-columns:1.25fr .75fr;
  grid-template-columns: 600px auto;
  gap:34px;
  align-items:start;
}






@media (max-width:980px){
  body.single-product.woocommerce div.product{
    grid-template-columns:1fr;
    gap:24px;
  }
}

/* Galerija kā “karte” */
body.single-product.woocommerce div.product div.images{
  width:auto !important;
  float:none !important;
  margin:0 !important;
  background:#fff;
  border:1px solid var(--ep-card-border);
  border-radius:var(--ep-card-radius);
  padding:18px;
  box-shadow:0 6px 18px rgba(18,68,38,.06);
}
body.single-product.woocommerce div.product div.images img{
  border-radius:14px;
  width:100% !important;
  height:auto !important;
  object-fit:contain;
  background:#fff;
}

/* Summary kā “karte” */
body.single-product.woocommerce div.product div.summary{
  width:auto !important;
  float:none !important;
  margin:0 !important;
  background:#fff;
  border:1px solid var(--ep-card-border);
  border-radius:var(--ep-card-radius);
  padding:22px;
  box-shadow:0 6px 18px rgba(18,68,38,.06);
}

/* Nosaukums + cena */
body.single-product.woocommerce .product_title{
  font-size:44px;
  line-height:1.05;
  font-weight:900;
  letter-spacing:-0.02em;
  margin:0 0 12px !important;
  color:#0f172a;
}
@media (max-width:980px){
  body.single-product.woocommerce .product_title{font-size:34px;}
}

body.single-product.woocommerce .summary .price{
  font-weight:900;
  font-size:22px;
  color:var(--primary);
  margin:0 0 14px !important;
}
body.single-product.woocommerce .summary .price del{opacity:.55;}
body.single-product.woocommerce .summary .price ins{text-decoration:none;}

/* Apraksts īsais */
body.single-product.woocommerce .summary .woocommerce-product-details__short-description{
  color:#64748b;
  line-height:1.7;
  margin:0 0 18px !important;
}

/* Quantity + poga */
body.single-product.woocommerce form.cart{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin:18px 0 0 !important;
}

body.single-product.woocommerce .quantity{
  margin:0 !important;
}
body.single-product.woocommerce .quantity input.qty{
  width:88px !important;
  height:44px !important;
  border:1px solid var(--border) !important;
  border-radius:12px !important;
  padding:0 10px !important;
  font-weight:700;
  color:#0f172a;
  background:#fff;
}

body.single-product.woocommerce .single_add_to_cart_button,
body.single-product.woocommerce button.single_add_to_cart_button{
  height:44px !important;
  padding:0 18px !important;
  border-radius:12px !important;
  background:var(--primary) !important;
  color:#fff !important;
  font-weight:900 !important;
  border:0 !important;
  box-shadow:0 10px 22px rgba(2,6,23,.10);
}
body.single-product.woocommerce .single_add_to_cart_button:hover{
  filter:brightness(.96);
}

/* Meta (kategorija utt.) */
body.single-product.woocommerce .product_meta{
  margin-top:14px !important;
  font-size:13px;
  color:#64748b;
}
body.single-product.woocommerce .product_meta a{color:var(--primary);font-weight:700;}











/* =======================================================================
   Tabs (Apraksts / Atsauksmes) – pilns platums zem produkta
   ======================================================================= */

body.single-product.woocommerce .woocommerce-tabs{
  grid-column:1 / -1;
  margin-top:28px !important;
}

body.single-product.woocommerce .woocommerce-tabs ul.tabs{
  margin:0 0 14px !important;
  padding:0 !important;
  border-bottom:1px solid var(--border) !important;
  display:flex;
  gap:10px;
}
body.single-product.woocommerce .woocommerce-tabs ul.tabs::before,
body.single-product.woocommerce .woocommerce-tabs ul.tabs::after{
  content:none !important;
  display:none !important;
}
body.single-product.woocommerce .woocommerce-tabs ul.tabs li{
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 !important;
}
body.single-product.woocommerce .woocommerce-tabs ul.tabs li a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  font-weight:800;
  font-size:14px;
  color:#0f172a;
  background:#fff;
  border:1px solid var(--border);
}
body.single-product.woocommerce .woocommerce-tabs ul.tabs li.active a{
  background:rgba(34,165,107,.10);
  border-color:rgba(34,165,107,.35);
  color:var(--primary);
}

body.single-product.woocommerce .woocommerce-tabs .panel{
  background:#fff;
  border:1px solid var(--ep-card-border);
  border-radius:var(--ep-card-radius);
  padding:18px;
  box-shadow:0 6px 18px rgba(18,68,38,.06);
}

/* =======================================================================
   Related products – 4 kolonnas, bez sānjoslas ietekmes
   ======================================================================= */

body.single-product.woocommerce section.related,
body.single-product.woocommerce section.upsells{
  grid-column:1 / -1;
  margin-top:28px !important;
      margin-bottom: 70px;
}

.woocommerce-Tabs-panel--description > h2 {
  display: none;
}

body.single-product.woocommerce section.related > h2,
body.single-product.woocommerce section.upsells > h2{
  font-size:28px;
  font-weight:900;
  margin:0 0 14px !important;
  color:#0f172a;
}

body.single-product.woocommerce section.related ul.products,
body.single-product.woocommerce section.upsells ul.products{
  margin-top:0 !important;
}

/* =======================================================================
   Cart / Checkout / My Account – 1400px + kartes
   ======================================================================= */

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-account .woocommerce{
  max-width:var(--ep-max);
  margin:0 auto;
  padding:24px;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-checkout form.checkout,
body.woocommerce-account .woocommerce-MyAccount-content{
  background:#fff;
  border:1px solid var(--ep-card-border);
  border-radius:var(--ep-card-radius);
  padding:18px;
  box-shadow:0 6px 18px rgba(18,68,38,.06);
}

/* =======================================================================
   Header logo (drošs “noķērējs”)
   ======================================================================= */

.header .custom-logo-link img,
.header img.custom-logo,
.header .site-branding img,
.header .wp-block-site-logo img,
.header .header__logo img,
.header a.header__logo img{
  max-height:38px !important;
  height:38px !important;
  width:auto !important;
  max-width:260px !important;
  object-fit:contain !important;
}





/* =====================================================
   REAL FIX – īstais Woo Blocks kolonu wrappers
===================================================== */

.wc-block-cart__content,
.wc-block-checkout__content{
  display:flex !important;
  gap:48px !important;
  align-items:flex-start !important;
}

/* kolonnas */
.wc-block-cart__main,
.wc-block-checkout__main{
  padding:0 !important;
}

.wc-block-cart__sidebar,
.wc-block-checkout__sidebar{
  padding:0 !important;
}

/* MOBILE */
@media (max-width: 991px){

  .wc-block-cart__content,
  .wc-block-checkout__content{
    flex-direction:column !important;
    gap:32px !important;
  }

}




/* ===================================================
   SAFE FIX – only spacing for Woo Blocks cart/checkout
=================================================== */

.wc-block-cart__content,
.wc-block-checkout__content{
  gap:40px !important;
  align-items:flex-start;
}

.wc-block-cart__main,
.wc-block-checkout__main,
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar{
  padding:0 !important;
}

.wc-block-components-main,
.wc-block-components-sidebar{
  padding:24px !important;
}

@media (max-width: 991px){
  .wc-block-cart__content,
  .wc-block-checkout__content{
    gap:28px !important;
  }
}


/* ===================================================
   Woo Blocks – visual styling only (SAFE)
=================================================== */

/* Kartes (abas kolonnas) */
.wc-block-components-main,
.wc-block-components-sidebar{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 6px 18px rgba(18,68,38,.06);
}

/* Virsraksti */
.wc-block-components-title,
.wc-block-cart__totals-title,
.wc-block-checkout__form-title{
  font-weight:900;
  color:var(--fg);
}

/* Formas inputi */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-select select{
  border:1px solid var(--border) !important;
  border-radius:12px !important;
  padding:10px 12px !important;
  font-family:var(--font);
  font-size:14px;
  background:#fff;
}

.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus,
.wc-block-components-select select:focus{
  outline:none !important;
  border-color:rgba(34,165,107,.55) !important;
  box-shadow:0 0 0 4px rgba(34,165,107,.12) !important;
}

/* Primārā poga (Continue / Place order / Update utt.) */
.wc-block-components-button:not(.is-link){
  background:var(--primary) !important;
  color:#fff !important;
  border-radius:12px !important;
  font-weight:800 !important;
  padding:12px 16px !important;
  border:0 !important;
  box-shadow:0 8px 18px rgba(2,6,23,.10);
}

.wc-block-components-button:not(.is-link):hover{
  background:var(--primary-hover) !important;
}

/* Link tipa pogas (remove, edit u.c.) */
.wc-block-components-button.is-link{
  color:var(--primary) !important;
  font-weight:700;
}

/* Produkta rinda */
.wc-block-cart-items__row{
  border-bottom:1px solid var(--border);
  padding-bottom:14px;
  margin-bottom:14px;
}

/* Produkta nosaukums */
.wc-block-components-product-name{
  font-weight:800;
  color:var(--fg);
}

/* Cena */
.wc-block-components-product-price,
.wc-block-components-totals-item__value{
  font-weight:900;
  color:var(--primary);
}

/* Quantity */
.wc-block-components-quantity-selector input{
  border:1px solid var(--border) !important;
  border-radius:10px !important;
  height:36px;
}

/* Totals rinda */
.wc-block-components-totals-item{
  padding:8px 0;
  border-bottom:1px dashed var(--border);
}

.wc-block-components-totals-item:last-child{
  border-bottom:0;
}

/* Kupona ievade */
.wc-block-components-totals-coupon__form input{
  border-radius:12px !important;
  border:1px solid var(--border) !important;
}


/* DROŠS FIX – atstarpe starp groza kolonnām */

body .wc-block-cart__sidebar,
body .wc-block-checkout__sidebar{
  margin-left:48px !important;
}

/* mobile – lai nebūtu tukšums */
@media (max-width: 991px){
  body .wc-block-cart__sidebar,
  body .wc-block-checkout__sidebar{
    margin-left:0 !important;
  }
}


/* ===============================
   Checkout – atpakaļ 2 kolonnas
   =============================== */

@media (min-width: 992px){

  body .wc-block-checkout__content{
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
  }

  body .wc-block-checkout__main{
    flex: 1 1 auto !important;
    min-width: 0;
  }

  body .wc-block-checkout__sidebar{
    flex: 0 0 380px !important;
    margin-left: 48px !important;
  }

}


/* ===============================
   CART – 2 kolonnas desktopā
   =============================== */

@media (min-width: 992px){

  body .wc-block-cart__content{
    display:flex !important;
    flex-direction:row !important;
    align-items:flex-start !important;
  }

  body .wc-block-cart__main{
    flex:1 1 auto !important;
    min-width:0;
  }

  body .wc-block-cart__sidebar{
    flex:0 0 380px !important;
    margin-left:48px !important;
  }

}

/* mobile – zem sevis */
@media (max-width: 991px){

  body .wc-block-cart__content{
    flex-direction:column !important;
  }

  body .wc-block-cart__sidebar{
    margin-left:0 !important;
  }

}



/* Neizstiept groza kopsavilkuma kolonnu augstumā */
body .wc-block-cart__sidebar{
  align-self:flex-start !important;
}


body .wc-block-cart__sidebar .wc-block-components-card{
  height:auto !important;
}




/* Hide "New in store" block in empty cart (Woo Blocks) */
body.woocommerce-cart .wp-block-woocommerce-product-new{
    display:none !important;
}






/* ===============================
   MY ACCOUNT / LOGIN PAGE
================================= */

.woocommerce-account main,
.woocommerce-account .section {
  padding: 60px 0;
}

.woocommerce-account h1,
.woocommerce-account h2 {
  margin-bottom: 30px;
}

/* Kartes stils (tāds pats kā grozam) */
.woocommerce-account .woocommerce {
  max-width: 720px;
}

.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

/* Label */
.woocommerce-account label {
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

/* Input */
.woocommerce-account input[type="text"],
.woocommerce-account input[type="email"],
.woocommerce-account input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f8fafc;
  transition: all .2s ease;
  font-size: 15px;
}

.woocommerce-account input:focus {
  border-color: var(--primary);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.15);
}

/* Poga */
.woocommerce-account button.button {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  transition: all .2s ease;
}

.woocommerce-account button.button:hover {
  background: var(--primary-hover);
}

/* Atcerēties mani + forgot password */
.woocommerce-account .woocommerce-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.woocommerce-account .lost_password {
  margin-top: 15px;
}

.woocommerce-account .lost_password a {
  color: var(--primary);
  text-decoration: none;
}

.woocommerce-account .lost_password a:hover {
  text-decoration: underline;
}

/* Password eye ikona */
.woocommerce-account .show-password-input {
  right: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .woocommerce-account .woocommerce form.login,
  .woocommerce-account .woocommerce form.register {
    padding: 25px;
    border-radius: 18px;
  }
}




/*GALERY*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}


@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}



.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}


.gallery-item {
  aspect-ratio: 4 / 3;
}

.gallery-item {
  aspect-ratio: 1 / 1;
}


.woocommerce span.onsale {
    min-height: 3.236em;
    min-width: 3.236em;
    padding: 8px;
    font-size: 1em;
    font-weight: 700;
    position: absolute;
    text-align: center;
    line-height: 3.236;
    top: -.5em;
    left: -.5em;
    margin: 0;
    border-radius: 12px;
    background-color: #22a56b;
    color: #fff;
    font-size: .857em;
    z-index: 9;
}



.added_to_cart {
  display: none !important;
}





/* default */
.woocommerce a.button.add_to_cart_button {
  position: relative;
  transition: all .3s ease;
}

/* loading state */
.add_to_cart_button.is-loading {
  opacity: .6;
  pointer-events: none;
}

/* success state */
.add_to_cart_button.added {
  background: #2ea44f !important;
  color: #fff !important;
}

/* hide ugly link */
.added_to_cart {
  display: none !important;
}


.add_to_cart_button.added::after {
  content: "✓";
  margin-left: 8px;
  font-weight: bold;
}



.single_add_to_cart_button {
  transition: all .3s ease;
}

.single_add_to_cart_button.is-loading {
  opacity: .6;
  pointer-events: none;
}

.single_add_to_cart_button.added {
  background: #2ea44f !important;
  color: #fff !important;
}

.single_add_to_cart_button.added::after {
  content: " ✓";
  margin-left: 8px;
  font-weight: bold;
}



/* Remove ugly blue focus border */
button:focus,
a:focus,
input:focus,
.single_add_to_cart_button:focus {
  outline: none !important;
  box-shadow: none !important;
}


.single_add_to_cart_button:focus-visible {
  outline: none !important;
}


.single_add_to_cart_button {
  position: relative;
  transition: all .3s ease;
}

.single_add_to_cart_button.is-loading {
  opacity: .6;
  pointer-events: none;
}

.single_add_to_cart_button.added {
  background: #2ea44f !important;
  color: #fff !important;
}

.single_add_to_cart_button.added::after {
  content: " ✓";
  margin-left: 8px;
  font-weight: 700;
}




/* Remove blue focus outline everywhere */
*:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Chrome / Edge modern focus */
*:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* WooCommerce buttons */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  box-shadow: none !important;
}


.woocommerce a.button:focus,
.woocommerce button.button:focus,
.single_add_to_cart_button:focus {
  outline: none !important;
  box-shadow: none !important;
}



/*single page*/
.event-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-top: -100px;
}


.event-image img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 30px;
}

.event-text {
  font-size: 18px;
  line-height: 1.7;
}

.event-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.event-card {
  background: #f3f6f4;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #d9e5df;
}

.event-card h2 {
  margin-bottom: 25px;
}

.event-item {
  margin-bottom: 18px;
  font-size: 16px;
}

@media (max-width: 992px) {
  .event-layout {
    grid-template-columns: 1fr;
  }
}


/*single2*/
.event-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.event-modal.active {
  display: block;
}

.event-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px);
}

.event-modal__content {
  position: relative;
  max-width: 500px;
  margin: 10vh auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  z-index: 2;
  animation: fadeIn .3s ease;
}

.event-modal__close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.event-form input,
.event-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.event-form textarea {
  min-height: 100px;
  resize: vertical;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ===== MODAL ===== */

/* ===== CF7 RESET MODAL ===== */

.event-modal .wpcf7 {
  margin-top: 10px;
}

.event-modal .wpcf7 form {
  margin: 0;
}

.event-modal .wpcf7 input,
.event-modal .wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 15px;
  transition: all .2s ease;
  outline: none;
  box-shadow: none;
}

.event-modal .wpcf7 input:focus,
.event-modal .wpcf7 textarea:focus {
  border-color: #2f9e63;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47,158,99,.15);
}

/* Remove ugly CF7 default styles */
.event-modal .wpcf7-response-output {
  margin: 10px 0 0;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
}

.event-modal .wpcf7-not-valid-tip {
  font-size: 13px;
  margin-top: -12px;
  margin-bottom: 10px;
}

/* Submit button */
.event-modal .wpcf7-submit {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: #2f9e63;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
}

.event-modal .wpcf7-submit:hover {
  background: #268552;
}

/* Remove CF7 spinner alignment issue */
.event-modal .wpcf7-spinner {
  display: none;
}


/* CF7 submit button inside modal */
.event-modal .wpcf7-submit {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: none !important;

  background: #2f9e63 !important;
  color: #ffffff !important;

  font-size: 16px;
  font-weight: 600;
  cursor: pointer;

  transition: all .25s ease;
}

/* hover */
.event-modal .wpcf7-submit:hover {
  background: #248a54 !important;
}

/* disabled state (sending) */
.event-modal .wpcf7-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}





/*PROFILE CSS*/

/* ===== SAFE MY ACCOUNT LAYOUT ===== */

/* =========================
   MY ACCOUNT (LOGGED IN)
========================= */

.woocommerce-account.logged-in .woocommerce {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  width: 260px;
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,.05);
}

.woocommerce-account.logged-in 
.woocommerce-MyAccount-navigation,
.woocommerce-account.logged-in 
.woocommerce-MyAccount-content {
  float: none !important;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  flex: 1;
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.05);
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation li {
  margin-bottom: 8px;
}

.woocommerce-account.logged-in .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  color: #1f2937;
  transition: .2s ease;
}

.woocommerce-account.logged-in 
.woocommerce-MyAccount-navigation a:hover {
  background: #f3f6f4;
  color: #2f9e63;
}

.woocommerce-account.logged-in 
.woocommerce-MyAccount-navigation .is-active a {
  background: #2f9e63;
  color: #fff;
}

/* =========================
   LOGIN PAGE (NOT LOGGED IN)
========================= */

body.woocommerce-account:not(.logged-in) .woocommerce {
  display: flex;
  justify-content: center;
}

body.woocommerce-account:not(.logged-in) form.login {
  width: 100%;
  max-width: 420px;
  margin: 40px auto 80px;
  padding: 50px 42px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e6f0ea;
  box-shadow: 0 25px 70px rgba(0,0,0,.08);
}

/* Inputs */
body.woocommerce-account:not(.logged-in) input.input-text {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #d9e5df;
  background: #f7faf8;
  transition: .2s ease;
}

body.woocommerce-account:not(.logged-in) input.input-text:focus {
  border-color: #2f9e63;
  background: #ffffff;
  outline: none;
}

/* Button */
body.woocommerce-account:not(.logged-in) button.button {
  width: 100%;
  background: #2f9e63;
  color: #ffffff;
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  transition: .2s ease;
}

body.woocommerce-account:not(.logged-in) button.button:hover {
  background: #248a54;
}

body.woocommerce-account:not(.logged-in) .lost_password a {
  color: #2f9e63;
  font-weight: 500;
}


/* =========================
   PERFECT WC LOGIN CENTER
========================= */

body.woocommerce-account:not(.logged-in) .woocommerce {
  display: grid;
  justify-content: center;
}

body.woocommerce-account:not(.logged-in) .woocommerce h2 {
  text-align: center;
  margin-bottom: 25px;
}

/* LOGIN CARD SIZE FIX */

body.woocommerce-account:not(.logged-in) form.login {
  width: 100%;
  max-width: 520px; /* <-- bija 440 */

  margin: 0 auto;
  background: #fff;
  padding: 60px 55px;
  border-radius: 26px;
  border: 1px solid #e6f0ea;
  box-shadow: 0 25px 70px rgba(0,0,0,.08);
}




/* =========================
   ACCOUNT FORM CLEAN STYLE
========================= */

.woocommerce-account form .form-row {
  margin-bottom: 20px;
}

.woocommerce-account form label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: #1f2937;
}

/* Inputs */
.woocommerce-account input.input-text,
.woocommerce-account input[type="password"],
.woocommerce-account input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #d9e5df;
  background: #f7faf8;
  transition: .2s ease;
}

.woocommerce-account input:focus {
  border-color: #2f9e63;
  background: #ffffff;
  outline: none;
}

/* Remove ugly password fieldset box */
.woocommerce-account fieldset {
  border: none;
  padding: 0;
  margin-top: 30px;
}

.woocommerce-account fieldset legend {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111827;
}

/* Save button */
.woocommerce-account button.button {
  background: #2f9e63;
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  transition: .2s ease;
}

.woocommerce-account button.button:hover {
  background: #248a54;
}


/* Two column layout */
.woocommerce-account .form-row-first,
.woocommerce-account .form-row-last {
  width: 48%;
}

.woocommerce-account .form-row-first {
  float: left;
}

.woocommerce-account .form-row-last {
  float: right;
}

.woocommerce-account .clear {
  clear: both;
}



/* =========================
   ADDRESS PAGE STYLE
========================= */

.woocommerce-account .woocommerce-Addresses {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

.woocommerce-account .woocommerce-Address {
  flex: 1;
  background: #ffffff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.05);
  border: 1px solid #e6f0ea;
}

.woocommerce-account .woocommerce-Address h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.woocommerce-account .woocommerce-Address a {
  color: #2f9e63;
  font-weight: 600;
}




/* ===== PRODUCT GALLERY CLEAN STYLE ===== */

.woocommerce div.product div.images {
  border-radius: 24px;
  overflow: hidden;
}

.woocommerce div.product div.images img {
  border-radius: 20px;
  transition: transform .4s ease;
}


/* Thumbnails */
.woocommerce div.product div.thumbnails {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.woocommerce div.product div.thumbnails img {
  border-radius: 12px;
  opacity: .7;
  transition: .2s ease;
  cursor: pointer;
}

.woocommerce div.product div.thumbnails img:hover {
  opacity: 1;
  transform: scale(1.05);
}




/* ===== Modern Product Gallery ===== */

/* Galvenā bilde */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  border-radius: 24px;
  overflow: hidden;
}

/* Tikai galvenā bilde zoom */
.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child img {
  transition: transform .5s ease;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child:hover img {
  transform: scale(1.06);
}

/* Thumbnails */
.woocommerce div.product div.thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.woocommerce div.product div.thumbnails img {
  border-radius: 12px;
  opacity: 0.6;
  transition: .2s ease;
  cursor: pointer;
}

/* Hover tikai konkrētajai thumbnail */
.woocommerce div.product div.thumbnails a:hover img {
  opacity: 1;
}

/* Active thumbnail */
.woocommerce div.product div.thumbnails .flex-active-slide img {
  opacity: 1;
  box-shadow: 0 0 0 2px #2f9e63;
}





/* ============================= */
/* PRODUCT CARD TEXT LIMIT */
/* ============================= */

/* TITLE — max 2 lines */
.product-card__title {
  font-weight: 600;
  line-height: 1.35;
  min-height: 2.7em; /* rezervē vietu */

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
}

/* DESCRIPTION — max 2 lines */
.product-card__desc {
  line-height: 1.5;
  color: #64748b;
  min-height: 3em;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card__price {
  margin-top: auto;
}




/* ===================================== */
/* ECO PRESS – Woo Archive Hover Effect */
/* ===================================== */


.woocommerce ul.products li.product {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: 
    transform .35s cubic-bezier(.22,.61,.36,1),
    box-shadow .35s ease,
    border-color .35s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .06);
  border: 1px solid #e6f0ea;
}

/* LIFT EFFECT */
.woocommerce ul.products li.product:hover {
  /*transform: translateY(-8px);*/
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
  border-color: #d2e7dc;
  z-index: 2;
}

/* IMAGE WRAPPER */
.woocommerce ul.products li.product img {
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}

/* IMAGE ZOOM (subtle) */
.woocommerce ul.products li.product:hover img {
  transform: scale(1.06);
}

/* TITLE COLOR SHIFT */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  transition: color .25s ease;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: #2f9e63;
}

/* PRICE SMOOTH */
.woocommerce ul.products li.product .price {
  transition: opacity .25s ease;
}

/* BUTTON APPEAR EFFECT */
.woocommerce ul.products li.product .button {
  transition: all .25s ease;
}

/*.woocommerce ul.products li.product:hover .button {*/
/*  transform: translateY(-2px);*/
/*}*/



/* ================================= */
/* CUSTOM PRODUCT — REAL HOVER FIX */
/* ================================= */

.product-card {
  position: relative;
}

/* mēs paceļam SATURU, nevis AOS elementu */
.product-card > * {
  transition:
    transform .35s cubic-bezier(.22,.61,.36,1),
    box-shadow .35s ease;
}

/* LIFT */
/*.product-card:hover > * {*/
/*  transform: translateY(-8px);*/
/*}*/

/* SHADOW */
.product-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}






/* =============================== */
/* ECO MINI CART POPUP */
/* =============================== */

/* ===================================== */
/* ECO CART POPUP – POLISHED VERSION */
/* ===================================== */

.eco-cart-popup {
  position: fixed;
  top: 24px;
  right: 24px;
  width: auto;
  max-width: 380px;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}

.eco-cart-popup.active {
  transform: translateX(0);
}

/* Card */
.eco-cart-popup__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;

  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e6f0ea;

  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}

/* PERFECT CIRCLE */
.eco-cart-popup__icon {
  width: 42px;
  height: 42px;
  min-width: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #2f9e63;
  color: #fff;

  border-radius: 50%;
  font-weight: 600;
  font-size: 18px;
}

/* Text */
.eco-cart-popup__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eco-cart-popup__title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.eco-cart-popup__product {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.3;
}

/* BUTTON FIX */
.eco-cart-popup__btn {
  margin-left: auto;
  white-space: nowrap; /* 🔥 novērš 2 rindas */

  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;

  background: #2f9e63;
  color: #fff;
  text-decoration: none;

  border-radius: 12px;
  transition: background .25s ease, transform .2s ease;
}

.eco-cart-popup__btn:hover {
  background: #248a54;
  transform: translateY(-1px);
}


/* ===================================== */
/* ECO PRESS – EMPTY CART BLOCK (REAL FIX) */
/* ===================================== */

/* Visa tukšā groza zona */
.wp-block-woocommerce-empty-cart-block {

  max-width: 720px;
  margin: 100px auto;
  padding: 70px 60px;

  background: #ffffff;
  border-radius: 30px;
  border: 1px solid #e6f0ea;

  box-shadow: 0 35px 90px rgba(0,0,0,.07);
  text-align: center;
  position: relative;
}

/* Ikona virs teksta */
.wp-block-woocommerce-empty-cart-block::before {
  content: "🛒";
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100px;
  height: 100px;
  margin: 0 auto 30px;

  font-size: 42px;
  background: #f3f6f4;
  border-radius: 50%;
}

/* Pirmais virsraksts */
.wp-block-woocommerce-empty-cart-block h2:first-of-type {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111827;
}

/* ECOPRESS virsraksts */
.wp-block-woocommerce-empty-cart-block h2:last-of-type {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 15px;
  color: #111827;
}

/* Separatora līnija */
.wp-block-woocommerce-empty-cart-block .wp-block-separator {
  margin: 20px auto;
  width: 60px;
  border-color: #e6f0ea;
}

.img_bank_link {
    margin: 14px 0;
    border: solid 1px #efefef;
    padding: 12px;
}



/* ========================= */
/* LEGAL PAGES STYLE */
/* ========================= */

.legal-content {
  margin: 50px auto;
  line-height: 1.75;
  font-size: 15px;
  color: #334155;
}

/* virsraksts */
.legal-content h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 32px;
  color: #0f172a;
}

/* rindkopas */
.legal-content p {
  margin-bottom: 18px;
}

/* saraksti */
.legal-content ul {
  margin: 18px 0 24px 22px;
}

.legal-content li {
  margin-bottom: 10px;
}

/* numerācija izceļas */
.legal-content strong {
  color: #111827;
}

/* epasts */
.legal-content a {
  color: #2f9e63;
  font-weight: 600;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}



.legal-content p {
  margin-bottom: 18px;
}

.legal-content ul {
  margin: 18px 0 24px 22px;
}

.legal-content li {
  margin-bottom: 8px;
}


/* ===================================== */
/* CONTENT TYPOGRAPHY FIX */
/* ===================================== */

/*.entry-content {*/
/*  max-width: 820px;*/
/*}*/

/* PARAGRAPHS */
.entry-content p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

/* HEADINGS */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2rem;
  margin-bottom: .7rem;
  font-weight: 700;
}

/* LISTS */
.entry-content ul {
  margin: 1rem 0 1.4rem;
  padding-left: 1.2rem;
}

.entry-content li {
  margin-bottom: .4rem;
}

/* FIRST HEADING SMALLER GAP */
.entry-content h2:first-child {
  margin-top: 0;
}


/* ============================= */
/* TYPOGRAPHY HIERARCHY FIX */
/* ============================= */

.entry-title {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
}

.entry-content h2 {
  font-size: 28px;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: .8rem;
  font-weight: 700;
}

.entry-content h3 {
  font-size: 22px;
  margin-top: 1.5rem;
  margin-bottom: .6rem;
}


/* ===================================== */
/* ECO PRESS – Legal page check list */
/* ===================================== */

.entry-content ul {
  list-style: none;
  padding-left: 0;
  margin: 1.2rem 0;
}

.entry-content ul li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 10px;
  line-height: 1.7;
}

/* GREEN CHECK ICON */
.entry-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;

  width: 22px;
  height: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  font-weight: 700;

  color: #fff;
  background: #2f9e63;
  border-radius: 50%;

  box-shadow: 0 4px 10px rgba(47,158,99,.25);
}




.ecopress-terms-block {
  margin-top: 20px;
  font-size: 15px;
}

.ecopress-terms-block label {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ecopress-terms-block input {
  width: 18px;
  height: 18px;
  accent-color: #2f9e63;
}

.ecopress-terms-block a {
  color: #2f9e63;
  font-weight: 600;
  text-decoration: none;
}

/* EcoPress checkout terms */
.ecopress-terms{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin-top:15px;
    font-size:14px;
    line-height:1.5;
}

.ecopress-terms input{
    margin-top:3px;
    accent-color:#2f9e63;
}

.ecopress-terms a{
    color:#2f9e63;
    font-weight:600;
    text-decoration:none;
}

.ecopress-terms a:hover{
    text-decoration:underline;
}


/* Hide WooCommerce Blocks English notice */
.wc-block-checkout__terms > span:first-child,
.wc-block-checkout__terms p {
    display: none !important;
}



/* FIX horizontal overflow mobile */
html, body {
    overflow-x: hidden;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

/* WooCommerce & container drošība */
.wp-block-group,
.wp-block-cover,
section {
    width: 100%;
    max-width: 100%;
}


img, video {
    max-width: 100%;
    height: auto;
    display: block;
}




/* Mobile hamburger melns */
@media (max-width: 768px) {

    .mobile-menu-toggle,
    .mobile-menu-toggle svg,
    .mobile-menu-toggle i,
    .menu-toggle,
    .menu-toggle svg {
        color: #111 !important;
        fill: #111 !important;
        stroke: #111 !important;
    }

}


/* ===== MOBILE GALLERY HARD FIX ===== */
@media (max-width: 768px){

  .gallery-grid{
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding-left: 16px;
    padding-right: 16px;
  }

  .gallery-item{
    aspect-ratio: auto !important;
    width: 100% !important;
  }

  .gallery-item img{
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }

  body{
    overflow-x: hidden;
  }

}


/* ===== MOBILE HAMBURGER COLOR FIX ===== */

.header__burger,
.header__burger svg,
.header__burger svg path,
.header__burger svg line {
  color: #111 !important;
  fill: #111 !important;
  stroke: #111 !important;
}

.header__burger:active,
.header__burger:focus,
.header__burger:focus-visible {
  background: transparent !important;
  outline: none !important;
}

.header__burger:active svg,
.header__burger:focus svg {
  fill: #111 !important;
  stroke: #111 !important;
}


/* ===== FIX: Mobile drawer close icon color ===== */

.mobile-drawer__close,
.mobile-drawer__close svg,
.mobile-drawer__close svg path,
.mobile-drawer__close svg line {
  color: #111 !important;
  fill: #111 !important;
  stroke: #111 !important;
}

/* Remove iOS tap blue highlight */
.mobile-drawer__close {
  -webkit-tap-highlight-color: transparent;
}

.mobile-drawer__close:focus,
.mobile-drawer__close:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}


.mobile-drawer__close svg {
  width: 24px;
  height: 24px;
}

.mobile-drawer__close svg * {
  stroke: #111 !important;
  fill: #111 !important;
}


/* ===== HOMEPAGE PRODUCT SLIDER MOBILE FIX ===== */

@media (max-width: 768px){

  /* noņem mākslīgos margin sliderim */
  .carousel--multi .carousel__viewport{
    margin: 0 !important;
    padding: 0 16px;
  }

  /* viena kartīte pilnā platumā */
  .product-card{
    flex: 0 0 100% !important;
    width: 100% !important;
  }

  /* lai nav pārāk liels attēla tukšums */
  .product-card__img-wrap{
    height: 220px !important;
  }

}

/* ===== MOBILE CTA BUTTON FIX ===== */

@media (max-width: 768px){

  .btn,
  .wp-block-button__link,
  .button,
  a.button{

    width: auto !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 22px !important;
    font-size: 16px !important;
    font-weight: 600;

    border-radius: 14px !important;

    margin: 20px auto 0;
  }

  /* centrē pogu */
  .wp-block-buttons{
    justify-content: center !important;
  }

}

@media (max-width:768px){

  a.button:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
  }

}

.features__play-btn{
  color: #FF0000 !important;   /* YouTube sarkans */
}

.features__play-btn{
  background: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.features__play-btn svg{
  width: 28px;
  height: 28px;
}



/* CART – produkta bloks mobilajam */
@media (max-width: 768px){

  .wc-block-cart-item__wrap{
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .wc-block-cart-item__prices{
    margin-top: 10px;
    width: 100%;
    text-align: left;
  }

  .wc-block-components-product-name{
    white-space: normal !important;
    word-break: break-word;
  }

  .wc-block-cart-item__total{
    white-space: nowrap;
  }

}



@media (max-width: 768px){

  /* Checkout layout pārtaisām par vienu kolonnu */
  .wc-block-checkout__main,
  .wc-block-checkout__sidebar{
    width: 100% !important;
    max-width: 100% !important;
  }

  .wc-block-components-sidebar{
    position: relative !important;
  }

  /* Produkta nosaukums lai nelūzt pa burtiem */
  .wc-block-components-product-name{
    white-space: normal !important;
    word-break: break-word !important;
    font-size: 16px;
  }

  /* Cena lai nelien ārā */
  .wc-block-components-product-price{
    white-space: nowrap;
  }

}



@media (max-width: 768px){

  .wc-block-checkout{
    display: flex;
    flex-direction: column;
  }

  .wc-block-checkout__sidebar{
    order: 2;
  }

  .wc-block-checkout__actions{
    order: 3;
  }

}



@media (max-width: 768px){

  .wc-block-checkout__main{
    padding: 15px;
  }

  .wc-block-checkout__sidebar{
    margin-top: 20px;
  }

  .wc-block-components-checkout-place-order-button{
    width: 100%;
    font-size: 16px;
    padding: 14px;
  }

}


/* EXTRA SMALL DEVICES (330px utt.) */
@media (max-width: 360px){

  /* Produkta bloks kolonnā */
  .wc-block-components-order-summary-item,
  .wc-block-cart-item__wrap{
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  /* Produkta nosaukums */
  .wc-block-components-product-name{
    font-size: 15px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* Cena zem nosaukuma */
  .wc-block-components-product-price,
  .wc-block-cart-item__total{
    margin-top: 6px !important;
    font-size: 15px !important;
    white-space: nowrap !important;
  }

  /* Novērš overflow */
  .wc-block-components-order-summary,
  .wc-block-cart-items{
    overflow: hidden !important;
  }

}


@media (max-width: 360px){

  .wc-block-components-product-price{
    max-width: 100%;
    word-break: keep-all;
  }

}


/* =========================
   CART MOBILE PERFECT FIX
   ========================= */

@media (max-width: 360px){

  /* Cart row vertikāls */
  .wc-block-cart-items__row{
    display: flex !important;
    flex-direction: column !important;
    gap: 10px;
  }

  /* Produkta info pilnā platumā */
  .wc-block-cart-item__product{
    width: 100% !important;
  }

  /* TOTAL sadaļa zem teksta */
  .wc-block-cart-item__total{
    width: 100% !important;
    text-align: left !important;
  }

  .wc-block-cart-item__total-price-and-sale-badge-wrapper{
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* Cena VIENĀ RINDĀ */
  .wc-block-components-product-price,
  .wc-block-formatted-money-amount{
    white-space: nowrap !important;
    font-size: 18px;
    font-weight: 700;
  }

}


/* =========================
   CART – REMOVE DUPLICATE PRICE (MOBILE)
   ========================= */

@media (max-width: 480px){

  /* Slēpjam produkta line total cenu */
  .wc-block-cart-item__total{
    display: none !important;
  }

}




/* SOCIAL ICONS HEADER */

.header__social{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 24px;
  padding:0 22px;
  border-left:1px solid rgba(0,0,0,0.08);
  border-right:1px solid rgba(0,0,0,0.08);
}

.header__social-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  color:#475569;
  transition:all .25s ease;
}

.header__social-link svg{
  width:18px;
  height:18px;
}

.header__social-link:hover{
  color:#22c55e;
  transform:translateY(-2px) scale(1.1);
  /*filter:drop-shadow(0 0 6px rgba(34,197,94,0.35));*/
}


@media (max-width:900px){
  .header__social{
    display:none;
  }
  .gt_switcher_wrapper {
    display: none!important;
}
}


.mobile-social{
display:flex;
justify-content:center;
gap:22px;
margin-top:35px;
padding-top:25px;
border-top:1px solid rgba(0,0,0,0.08);
}

.mobile-social__link{
display:flex;
align-items:center;
justify-content:center;
width:40px;
height:40px;
color:#475569;
transition:all .25s ease;
}

.mobile-social__link svg{
width:22px;
height:22px;
}

.mobile-social__link:hover{
color:#22c55e;
transform:translateY(-2px) scale(1.15);
}


.mobile-languages{
margin-top:30px;
padding-top:20px;
border-top:1px solid rgba(0,0,0,0.08);
display:flex;
justify-content:center;
}




