/*
Theme Name: Luchiana-Child
Theme URI: https://parkofideas.com/luchiana/
Text Domain: luchiana-child
Description: Strike Pesca Sport — Luchiana child (Strike colors)
License: GNU General Public License v2.0 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Version: 3.4
Template: luchiana
Author: DoctorPC
Author URI: https://doctorpc.it
*/

:root {
  --strike-navy: #0A2A45;
  --strike-blue: #1A8FD1;
  --strike-sky: #5EB8E8;
  --strike-ice: #F2F9FC;
}

/* ========== Header / sticky ========== */
.c-header__logo-img {
  width: auto !important;
  max-width: 160px !important;
  max-height: 44px !important;
  height: auto !important;
  object-fit: contain !important;
}
/* Dark logo -> white only over sea hero (not sticky) */
.home .c-header:not(.c-header--sticky) .c-header__logo-img {
  filter: brightness(0) invert(1);
}
.home .c-header--sticky .c-header__logo-img,
body:not(.home) .c-header__logo-img {
  filter: none !important;
}

.home #main-header .c-header:not(.c-header--sticky),
.home .c-header:not(.c-header--sticky) {
  background: transparent !important;
  box-shadow: none !important;
}
.home .c-header:not(.c-header--sticky) .c-header__row {
  background: transparent !important;
}
.home .c-header:not(.c-header--sticky) .c-top-menu__link,
.home .c-header:not(.c-header--sticky) .c-header__buttons a,
.home .c-header:not(.c-header--sticky) .c-header__buttons i {
  color: #fff !important;
}
.home .c-header--sticky,
.home .c-header--sticky .c-header__row {
  background: #fff !important;
}
.home .c-header--sticky .c-top-menu__link,
.home .c-header--sticky .c-header__buttons a,
.home .c-header--sticky .c-header__buttons i {
  color: var(--strike-navy) !important;
}

body:not(.home) #main-header,
body:not(.home) .c-header,
body:not(.home) .c-header__row {
  background: #fff !important;
}
body:not(.home) .c-top-menu__link,
body:not(.home) .c-header__buttons a,
body:not(.home) .c-header__buttons i {
  color: var(--strike-navy) !important;
}

/* ========== Buttons / shop shared ========== */
.woocommerce a.button,
.woocommerce button.button,
button.button,
input[type="submit"],
.single_add_to_cart_button,
.strike-btn--primary {
  background-color: var(--strike-blue) !important;
  border-color: var(--strike-blue) !important;
  color: #fff !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.single_add_to_cart_button:hover,
.strike-btn--primary:hover {
  background-color: var(--strike-navy) !important;
  border-color: var(--strike-navy) !important;
}

ul.products .tinv-wraper,
ul.products a.compare,
.c-product-grid__item .tinv-wraper,
.c-product-grid__item a.compare { display: none !important; }
.c-product-grid__title { color: var(--strike-navy) !important; }

/* ========== Home full-bleed ========== */
.home .l-inner > .c-page-header { display: none !important; }
.home .l-inner {
  padding: 0 !important;
  max-width: none !important;
}
.home .l-inner > .l-section {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
.home .l-inner > .l-section > .l-section__container,
.home .l-inner > .l-section .l-section__content,
.home .c-post__wrap,
.home .c-post__inner,
.home .c-post__content,
.home .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
.home .l-section--container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.home .l-section--top-margin-60,
.home .l-section--bottom-margin,
.home .l-section--top-margin {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.strike-wrap {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.strike-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.strike-btn--ghost {
  color: #fff !important;
  border-color: rgba(255,255,255,.7);
  background: transparent !important;
}
.strike-btn--ghost:hover {
  background: rgba(255,255,255,.12) !important;
}

/* Hero */
.strike-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  margin: 0 !important;
}
.strike-hero__bg,
.strike-hero__veil {
  position: absolute;
  inset: 0;
}
.strike-hero__bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.strike-hero__veil {
  background:
    linear-gradient(180deg, rgba(10,42,69,.55) 0%, rgba(10,42,69,.28) 45%, rgba(10,42,69,.62) 100%);
}
.strike-hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2.5rem));
  text-align: center;
  padding: 6.5rem 0 4rem;
}
.strike-hero__brand {
  width: min(180px, 42vw);
  height: auto;
  margin: 0 auto 1.1rem;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.25));
}
.strike-hero__title {
  margin: 0 0 .75rem !important;
  color: #fff !important;
  font-size: clamp(2rem, 5vw, 3.4rem) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1 !important;
}
.strike-hero__text {
  margin: 0 auto 1.6rem;
  max-width: 34rem;
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  line-height: 1.65;
}
.strike-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
}

/* Sections */
.strike-section {
  padding: 4.5rem 0;
  background: #fff;
}
.strike-section--soft { background: var(--strike-ice); }
.strike-section--cats { background: #fff; }
.strike-section__head {
  margin-bottom: 2rem;
  max-width: 40rem;
}
.strike-section__head h2 {
  margin: 0 0 .5rem !important;
  color: var(--strike-navy) !important;
  font-size: clamp(1.6rem, 3vw, 2.1rem) !important;
  letter-spacing: 0.04em;
}
.strike-section__head p {
  margin: 0;
  color: #5a7388;
  line-height: 1.6;
}

/* Categories */
.strike-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.strike-cat {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none !important;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(10,42,69,.08);
}
.strike-cat__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .45s ease;
}
.strike-cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,42,69,.15), rgba(10,42,69,.72));
}
.strike-cat__name {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.strike-cat:hover .strike-cat__media { transform: scale(1.05); }

/* Store */
.strike-section--store { background: var(--strike-navy); color: #fff; }
.strike-store {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: stretch;
}
.strike-store__copy h2 {
  color: #fff !important;
  margin: 0 0 .9rem !important;
  font-size: clamp(1.7rem, 3vw, 2.2rem) !important;
}
.strike-store__copy p {
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  max-width: 34rem;
}
.strike-store__meta {
  list-style: none;
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.strike-store__meta li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: .5rem;
  color: rgba(255,255,255,.92);
}
.strike-store__meta a { color: #fff !important; text-decoration: underline; }
.strike-store__panel, .strike-store__map {
  min-height: 280px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

/* Product grids inside home */
.home .strike-section ul.products,
.home .strike-section .c-product-grid {
  margin-top: .5rem !important;
}

/* Product page bits kept */
.woocommerce div.product form.cart .variations select {
  width: 100%;
  max-width: 360px;
  border: 1px solid #c5d5e0;
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  color: var(--strike-navy);
  background: #fff;
}
.c-product__excerpt,
.woocommerce-product-details__short-description {
  max-width: 40rem;
  line-height: 1.7;
  color: #334e63;
}
.woocommerce-Tabs-panel {
  max-width: 52rem;
  line-height: 1.75;
  color: #334e63;
}
.woocommerce-Tabs-panel h2:first-child { display: none; }

/* Footer */
.c-footer {
  background: #071c2e !important;
  color: rgba(255,255,255,.86) !important;
  padding: 0 !important;
}
.c-footer .entry-content { max-width: none !important; margin: 0 !important; padding: 0 !important; }
.strike-footer {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.25rem 0 2.5rem;
}
.strike-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.strike-footer__brand img {
  width: 110px;
  height: auto;
  margin-bottom: .85rem;
  display: block;
  object-fit: contain;
}
.strike-footer__brand p {
  margin: 0;
  max-width: 18rem;
  line-height: 1.6;
  color: rgba(255,255,255,.75);
}
.strike-footer__col h3 {
  margin: 0 0 .85rem !important;
  color: #fff !important;
  font-size: .95rem !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.strike-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.strike-footer__col a {
  color: rgba(255,255,255,.8) !important;
  text-decoration: none !important;
}
.strike-footer__col a:hover { color: #fff !important; }
.c-footer__copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 0;
  padding: 1rem 0 1.4rem !important;
  text-align: center;
  color: rgba(255,255,255,.55) !important;
}

@media (max-width: 980px) {
  .strike-cats { grid-template-columns: repeat(2, 1fr); }
  .strike-store { grid-template-columns: 1fr; }
  .strike-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .strike-cats { grid-template-columns: 1fr; }
  .strike-footer__grid { grid-template-columns: 1fr; }
  .strike-hero__content { padding-top: 5.5rem; }
  .strike-store__meta li { grid-template-columns: 1fr; }
}


.home .c-product-grid__description,
.home ul.products .woocommerce-product-details__short-description,
.home ul.products .c-product-grid__excerpt {
  display: none !important;
}

.home .c-product-grid__short-desc { display: none !important; }

/* Brands carousel */
.strike-section--brands {
  background: #fff;
  padding-bottom: 3.5rem;
  overflow: hidden;
}
.strike-section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}
.strike-btn--ghost-dark {
  color: var(--strike-navy) !important;
  border: 1px solid rgba(10,42,69,.25);
  background: transparent !important;
  white-space: nowrap;
}
.strike-btn--ghost-dark:hover {
  background: var(--strike-navy) !important;
  color: #fff !important;
  border-color: var(--strike-navy);
}
.strike-brands {
  margin-top: 1.75rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.strike-brands__track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: strikeBrandsMarquee 45s linear infinite;
}
.strike-brands:hover .strike-brands__track {
  animation-play-state: paused;
}
.strike-brands__item {
  flex: 0 0 auto;
  width: 160px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--strike-ice);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  box-shadow: inset 0 0 0 1px rgba(10,42,69,.06);
}
.strike-brands__item img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .85;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
.strike-brands__item:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
@keyframes strikeBrandsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .strike-section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }
  .strike-brands__item {
    width: 132px;
    height: 84px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .strike-brands__track { animation: none; }
}


/* Store / footer maps */
.strike-store__map,
.strike-footer__map,
.strike-store-page__map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  background: #0a2a45;
  min-height: 280px;
}
.strike-store__map iframe,
.strike-footer__map iframe,
.strike-store-page__map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
.strike-footer__map {
  margin-top: 2rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.strike-footer__map iframe { height: 240px; }
.strike-store-page__map iframe { height: 360px; }
.strike-store-page__lead { max-width: 40rem; line-height: 1.7; }
.strike-store-page__meta {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.5rem;
  display: grid;
  gap: .55rem;
}
.strike-footer__grid {
  align-items: start;
}
