/*
Theme Name: Activities
Theme URI: https://activities.lt
Author: Activities.lt
Description: Premium active lifestyle WooCommerce theme for Activities.lt.
Version: 1.0.0
Requires at least: 7.0
Requires PHP: 8.2
Text Domain: activities
*/

:root {
  --act-ink: #101311;
  --act-canvas: #f5f3ec;
  --act-lime: #c7ff3d;
  --act-forest: #193729;
  --act-mist: #dfe8df;
  --act-white: #fff;
  --act-muted: #6d726e;
  --act-line: rgba(16, 19, 17, .12);
  --act-radius: 28px;
  --act-shadow: 0 20px 60px rgba(16, 19, 17, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a, button { transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--act-lime); outline-offset: 3px; }

.act-announcement {
  align-items: center;
  background: var(--act-lime);
  color: var(--act-ink);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  gap: 24px;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 34px;
  padding: 7px 18px;
  text-align: center;
  text-transform: uppercase;
}
.act-announcement span + span::before { content: "•"; margin-right: 24px; }

.activities-header {
  backdrop-filter: blur(18px);
  background: rgba(245, 243, 236, .92);
  border-bottom: 1px solid var(--act-line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.activities-header__inner { min-height: 76px; }
.activities-header .wp-block-site-title { font-size: 1.35rem; font-weight: 850; letter-spacing: -.055em; margin: 0; }
.activities-header .wp-block-site-title a { color: var(--act-ink); }
.activities-nav { font-size: .88rem; font-weight: 700; }
.activities-nav a:hover { opacity: .55; }
.activities-header .wc-block-mini-cart__button { padding: 9px; }
.act-header-cta a { background: var(--act-ink); border-radius: 999px; color: var(--act-white) !important; padding: 11px 18px; }
.act-header-cta a:hover { background: var(--act-forest); opacity: 1; }

.act-hero {
  background-color: var(--act-ink);
  background-image: linear-gradient(90deg, rgba(9,12,10,.18), rgba(9,12,10,0) 58%), url("assets/images/activities-hero-v2.jpg");
  background-position: center;
  background-size: cover;
  color: var(--act-white);
  min-height: min(780px, calc(100svh - 110px));
  position: relative;
}
.act-hero::after { background: linear-gradient(0deg, rgba(8,10,9,.45), transparent 42%); content: ""; inset: 0; pointer-events: none; position: absolute; }
.act-hero__inner {
  align-items: flex-end;
  display: flex;
  min-height: inherit;
  padding: clamp(90px, 14vw, 180px) 28px clamp(54px, 8vw, 90px);
  position: relative;
  z-index: 1;
}
.act-hero__content { max-width: 1380px; margin: 0 auto; width: 100%; }
.act-eyebrow { align-items: center; display: flex; font-size: 12px; font-weight: 800; gap: 10px; letter-spacing: .13em; margin-bottom: 24px; text-transform: uppercase; }
.act-eyebrow::before { background: var(--act-lime); border-radius: 99px; content: ""; height: 9px; width: 9px; }
.act-hero h1 { color: var(--act-white); font-size: clamp(3.3rem, 7.8vw, 7.7rem); letter-spacing: -.07em; line-height: .88; margin: 0 0 28px; max-width: 840px; }
.act-hero h1 em { color: var(--act-lime); font-style: normal; }
.act-hero p { color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 560px; }
.act-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.act-button { align-items: center; border: 1px solid transparent; border-radius: 999px; display: inline-flex; font-size: .9rem; font-weight: 800; gap: 18px; justify-content: center; padding: 15px 22px; }
.act-button::after { content: "↗"; font-size: 1.1em; }
.act-button--lime { background: var(--act-lime); color: var(--act-ink); }
.act-button--lime:hover { background: var(--act-white); transform: translateY(-2px); }
.act-button--ghost { border-color: rgba(255,255,255,.4); color: var(--act-white); }
.act-button--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--act-white); }

.act-trust { background: var(--act-ink); color: var(--act-white); }
.act-trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; max-width: 1380px; }
.act-trust__item { border-right: 1px solid rgba(255,255,255,.12); padding: 25px 28px; }
.act-trust__item:last-child { border-right: 0; }
.act-trust__item strong { display: block; font-size: .88rem; }
.act-trust__item span { color: rgba(255,255,255,.55); font-size: .76rem; }

.act-section { margin: 0 auto; max-width: 1380px; padding: clamp(72px, 9vw, 128px) 28px; }
.act-section--compact { padding-bottom: 56px; }
.act-section__head { align-items: end; display: flex; gap: 32px; justify-content: space-between; margin-bottom: 42px; }
.act-kicker { color: var(--act-forest); font-size: 11px; font-weight: 850; letter-spacing: .14em; margin: 0 0 15px; text-transform: uppercase; }
.act-section h2 { font-size: clamp(2.3rem, 5vw, 5rem); margin: 0; max-width: 850px; }
.act-section__head > p { color: var(--act-muted); margin: 0; max-width: 420px; }

.act-category-grid { display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); }
.act-category {
  background: var(--act-mist);
  border-radius: var(--act-radius);
  color: var(--act-ink);
  grid-column: span 4;
  min-height: 310px;
  overflow: hidden;
  padding: 26px;
  position: relative;
}
.act-category:nth-child(1), .act-category:nth-child(4) { grid-column: span 6; }
.act-category:nth-child(2) { background: var(--act-forest); color: var(--act-white); }
.act-category:nth-child(3) { background: var(--act-lime); }
.act-category:nth-child(4) { background: #ded8ca; }
.act-category:nth-child(5) { background: #dce5ec; }
.act-category:nth-child(6) { background: var(--act-ink); color: var(--act-white); }
.act-category__number { font-size: 11px; font-weight: 850; letter-spacing: .12em; opacity: .55; }
.act-category h3 { bottom: 22px; font-size: clamp(1.65rem, 3vw, 3rem); left: 26px; margin: 0; max-width: 75%; position: absolute; }
.act-category__arrow { align-items: center; border: 1px solid currentColor; border-radius: 99px; bottom: 24px; display: flex; height: 44px; justify-content: center; position: absolute; right: 24px; width: 44px; }
.act-category::before { border: 1px solid currentColor; border-radius: 50%; content: ""; height: 160px; opacity: .15; position: absolute; right: -40px; top: -42px; width: 160px; }
.act-category:hover { box-shadow: var(--act-shadow); transform: translateY(-5px); }

.act-product-section { background: var(--act-white); }
.act-products-wrap { margin: 0 auto; max-width: 1380px; padding: 0 28px 110px; }
.act-products-wrap .products { display: grid !important; gap: 28px 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.act-products-wrap .product { margin: 0 !important; padding: 0 !important; width: auto !important; }
.woocommerce ul.products li.product a img { background: #efeee8; border-radius: 20px; margin-bottom: 18px; transition: transform .35s ease; }
.woocommerce ul.products li.product:hover a img { transform: translateY(-4px); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--act-ink); font-size: 1rem; font-weight: 750; padding: 0; }
.woocommerce ul.products li.product .price { color: var(--act-ink); font-size: .92rem; font-weight: 850; }
.woocommerce ul.products li.product .button { background: transparent; border-bottom: 1px solid var(--act-ink); border-radius: 0; color: var(--act-ink); font-size: .78rem; margin-top: 10px; padding: 5px 0; }
.woocommerce span.onsale { background: var(--act-lime); color: var(--act-ink); font-size: .7rem; font-weight: 850; left: 12px; min-height: auto; padding: 5px 10px; top: 12px; }

.act-editorial { background: var(--act-forest); border-radius: var(--act-radius); color: var(--act-white); display: grid; grid-template-columns: 1.05fr .95fr; margin: 0 auto 110px; max-width: 1380px; overflow: hidden; }
.act-editorial__copy { padding: clamp(42px, 7vw, 90px); }
.act-editorial__copy h2 { color: var(--act-white); font-size: clamp(2.5rem, 5vw, 5.8rem); margin: 0 0 24px; }
.act-editorial__copy p { color: rgba(255,255,255,.7); max-width: 500px; }
.act-editorial__visual { align-items: center; background: radial-gradient(circle at 50% 35%, #d8ff70 0, var(--act-lime) 26%, #9bcf20 72%); display: flex; justify-content: center; min-height: 520px; overflow: hidden; position: relative; }
.act-watch { align-items: center; background: var(--act-ink); border: 8px solid #2c302d; border-radius: 34px; box-shadow: 0 34px 70px rgba(0,0,0,.3); color: var(--act-lime); display: flex; flex-direction: column; height: 230px; justify-content: center; transform: rotate(-9deg); width: 190px; }
.act-watch::before, .act-watch::after { background: #232724; border-radius: 18px; content: ""; height: 190px; position: absolute; width: 84px; z-index: -1; }
.act-watch::before { top: -165px; }.act-watch::after { bottom: -165px; }
.act-watch strong { font-size: 3.2rem; letter-spacing: -.08em; line-height: 1; }.act-watch span { font-size: .72rem; font-weight: 800; letter-spacing: .1em; margin-top: 10px; text-transform: uppercase; }

.act-benefits { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin: 0 auto 110px; max-width: 1380px; background: var(--act-line); border: 1px solid var(--act-line); }
.act-benefit { background: var(--act-canvas); padding: 42px; }
.act-benefit__icon { color: var(--act-forest); font-size: 1.5rem; }.act-benefit h3 { font-size: 1.25rem; margin: 32px 0 10px; }.act-benefit p { color: var(--act-muted); font-size: .9rem; margin: 0; }

.act-shop-hero { background: var(--act-ink); color: var(--act-white); padding: 90px 28px 70px; }
.act-shop-hero__inner { margin: auto; max-width: 1380px; }.act-shop-hero h1 { color: var(--act-white); font-size: clamp(3rem, 7vw, 7rem); margin: 0 0 16px; }.act-shop-hero p { color: rgba(255,255,255,.65); max-width: 580px; }
.act-shop-main { margin: auto; max-width: 1380px; padding: 70px 28px 110px; }
.single-product .wp-site-blocks main { margin: auto; max-width: 1380px; padding: 70px 28px; }
.single-product div.product .woocommerce-product-gallery img { border-radius: 24px; }.single-product div.product .product_title { font-size: clamp(2.5rem, 5vw, 5rem); }.single-product div.product .price { color: var(--act-forest); font-size: 1.5rem; font-weight: 850; }
.woocommerce .quantity .qty, .woocommerce input.input-text { border: 1px solid var(--act-line); border-radius: 12px; min-height: 48px; }.woocommerce button.button.alt, .woocommerce a.button.alt { background: var(--act-ink); border-radius: 999px; color: var(--act-white); padding: 16px 24px; }.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover { background: var(--act-forest); }

.activities-footer { background: var(--act-ink); color: var(--act-white); margin-top: 0; }
.activities-footer a { color: var(--act-white); }.activities-footer__top { border-bottom: 1px solid rgba(255,255,255,.12); padding: 74px 28px 58px; }.activities-footer__grid { display: grid; gap: 50px; grid-template-columns: 2fr repeat(3, 1fr); margin: auto; max-width: 1380px; }.activities-footer__brand h2 { color: var(--act-white); font-size: clamp(2.5rem, 5vw, 5rem); margin: 0 0 20px; }.activities-footer__brand p { color: rgba(255,255,255,.58); max-width: 430px; }.activities-footer h4 { color: var(--act-lime); font-size: .7rem; letter-spacing: .12em; margin: 0 0 20px; text-transform: uppercase; }.activities-footer ul { list-style: none; margin: 0; padding: 0; }.activities-footer li { margin: 9px 0; }.activities-footer li a { color: rgba(255,255,255,.72); font-size: .88rem; }.activities-footer li a:hover { color: var(--act-lime); }.activities-footer__bottom { color: rgba(255,255,255,.45); display: flex; font-size: .72rem; justify-content: space-between; margin: auto; max-width: 1380px; padding: 24px 28px; }

@media (max-width: 1000px) {
  .activities-nav { display: none; }
  .act-trust__inner { grid-template-columns: repeat(2, 1fr); }
  .act-trust__item:nth-child(2) { border-right: 0; }
  .act-category, .act-category:nth-child(1), .act-category:nth-child(4) { grid-column: span 6; }
  .act-products-wrap .products { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .activities-footer__grid { grid-template-columns: 2fr 1fr 1fr; }.activities-footer__grid > div:last-child { grid-column: 2; }
}
@media (max-width: 700px) {
  .act-announcement span:not(:first-child) { display: none; }
  .activities-header__inner { min-height: 66px; padding-left: 18px !important; padding-right: 18px !important; }
  .act-header-cta { display: none; }
  .act-hero { background-position: 58% center; min-height: 690px; }
  .act-hero::before { background: linear-gradient(0deg, rgba(8,10,9,.92) 0, rgba(8,10,9,.22) 70%); content: ""; inset: 0; position: absolute; }
  .act-hero__inner { align-items: flex-end; padding: 140px 20px 44px; }
  .act-hero h1 { font-size: clamp(3.25rem, 15vw, 5.4rem); }
  .act-hero p { font-size: .98rem; max-width: 92%; }
  .act-trust__item { padding: 20px; }
  .act-section { padding-left: 20px; padding-right: 20px; }
  .act-section__head { align-items: start; flex-direction: column; }
  .act-category, .act-category:nth-child(1), .act-category:nth-child(4) { grid-column: 1 / -1; min-height: 220px; }
  .act-products-wrap { padding-left: 20px; padding-right: 20px; }
  .act-products-wrap .products { gap: 24px 10px; }
  .act-editorial { border-radius: 0; grid-template-columns: 1fr; margin-bottom: 70px; }.act-editorial__visual { min-height: 410px; }.act-watch { transform: rotate(-7deg) scale(.82); }
  .act-benefits { grid-template-columns: 1fr; margin-bottom: 70px; }.act-benefit { padding: 30px 24px; }
  .activities-footer__grid { grid-template-columns: 1fr 1fr; }.activities-footer__brand { grid-column: 1 / -1; }.activities-footer__grid > div:last-child { grid-column: auto; }.activities-footer__bottom { flex-direction: column; gap: 8px; }
}
