/*TEMPORARY*/
.app-offcanvas-lang, .pll-parent-menu-item {visibility: hidden;}


:root {
  --primary-color: #C51D34; /* main brand color */
}
body {
  overflow-x: hidden;
  background-color: #f5f5f7;
}
#single-product-wrapper {
  padding-top: 0 !important;
}
.bg-primary {background-color: #fff !important;}
/* Set Lato as the default Bootstrap 5 sans-serif font */
:root {
  --bs-font-sans-serif: "Lato", Arial, Helvetica, sans-serif;
}
a {
  color:var(--wp--preset--color--red);
}
a:hover {
  color: #000c;
}
.archive h1 {
  font-weight: bold;
}

/* Apply Lato site-wide */
body {
  font-family: var(--bs-font-sans-serif);
}
.text-white {
  color:#fff !important;
}
a {
  transition: transform 0.3s ease; /* płynna animacja */
}
/* SPACING =========================================================================*/
.spacing-120 {
    height: 120px;
    width: 100%;
}
.spacing-100 {
    height: 100px;
    width: 100%;
}
.spacing-80 {
    height: 80px;
    width: 100%;
}
.spacing-60 {
    height: 60px;
    width: 100%;
}
.spacing-40 {
    height: 40px;
    width: 100%;
}


/* Spacer sizes */
.spacer-40  { height: 40px; }
.spacer-80  { height: 80px; }
.spacer-120 { height: 120px; }
.spacer-160 { height: 160px; }


@media (max-width: 767.98px) {

  .container {
    --bs-gutter-x: 3rem;
  }
  .spacing-120 {
    height: 60px;
    width: 100%;
}

}

/* TYPOGRAPHY ====================================================================== */
h5, h6 {line-height: 1.5;}
.product-section-title h2 {
    font-size: 2.25rem;
    font-weight: bold;
    text-align: center;
}

/* Buttons ========================================================================= */
.btn-std-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0px auto 0;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  background-color: #212529;
  color:#fff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.03);

  transition: transform .25s ease, box-shadow .25s ease !important;
  will-change: transform;
  transform: translate3d(0,0,0); /* forces GPU */
  border: none;
}

.btn-std-black:hover{
  transform: translate3d(0,-2px,0) scale(1.00) !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
  color:#fff;
}

.btn-std-black:focus{
  color:#fff;
}

/* FOOTER ================================================ */
#wrapper-footer-full {
  margin-top: 40px;
  padding-top: 100px;
  padding-bottom: 0px;
  border-top: 1px solid #ffffff;
  background-color: #f5f5f7;
}
#wrapper-footer-full h3 {
  font-size: 1.0rem;
  font-weight: bold;
}
#wrapper-footer-full ul {
  padding-left: 0.0rem;
  list-style: none;
}
#wrapper-footer-full a {
  text-decoration: none;
  color: #343a40;
  line-height: 1.8;
  font-size: 0.85rem;
  transition: transform .18s ease, 
              text-decoration-color .18s ease;
}
#wrapper-footer-full a:hover{
  transform: translateY(-2px);        /* subtle lift */
}
#wrapper-footer-full a:hover {
  text-decoration: underline;
}
.site-info, .copy {
  font-size: 0.85rem;
}
.copyright {
  margin-top: 40px;
}
.social-links {
  margin-top: 10px;
}
.copyright ul {
    float: left;
    width: 100%;
    display: block;
}
.copyright ul li {
    margin-top: 14px;
    list-style-type: none;
    float: left;
    display: flex;
    vertical-align: middle;
}
.copyright ul li img {
  width: 28px;
  margin-right: 10px;
}
.copyright ul li:last-child img {
  margin-right: 0px;
}
.f-img-size {
  max-width: 260px;
  margin-bottom: 10px;
}
.f-logo-size {
  display: block;
  margin-top: 30px;
  max-width: 110px;
}
/* END FOOTER ========== */

/* Carousel arrows */
.std-carousel-arrows {
  display: flex;
  gap: 25px;
  justify-content: center;
}

/* Arrow button */
.std-carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: #ffffff;
  color: transparent;
  cursor: pointer;

  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);

  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* Hover */
.std-carousel-arrow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.15);
}

/* Disabled */
.std-carousel-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Icon */
.std-carousel-arrow::before {
  content: '';
  width: 18px;
  height: 18px;
  display: block;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Left arrow */
.std-carousel-arrow--prev::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 19l-7-7 7-7'/%3E%3C/svg%3E");
}

/* Right arrow */
.std-carousel-arrow--next::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}

/* MENU ============================================================================ */
.custom-logo-link img {max-width: 100px;}
.navbar-brand {padding-top: 0 !important;}
.navbar-brand, .navbar-brand:focus, .navbar-brand:hover {color:#000;}
.nav-link:hover, .nav-link:active, .current-menu-item .nav-link, .current-menu-item .nav-link, .nav-link:focus, 
.secondary-menu a:hover, .secondary-menu a:active, .current-menu-item .secondary-menu a, .current-menu-item .secondary-menu a, .secondary-menu a:focus  {
  color: var(--wp--preset--color--red);
}
.navbar-toggler {
  background-color:#fff;
  padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);
  font-size: 22px;
  line-height: 1;
  border: none;
  border-radius: 50%;
  height: 46px;
  width: 46px;
  transition: transform 0.3s ease; /* płynna animacja */
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,1)'  stroke-width='2' stroke-linecap='round' stroke-miterlimit='10'  d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  width: 1.0em;
  height: 1.0em;
}
.navbar-toggler:hover {
  transform: scale(1.2); /* obrót + lekkie powiększenie */
}
.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none;
  box-shadow: none;
}
.offcanvas-header .btn-close {
  margin-right: 0;
}
.nav-link {
  text-transform: uppercase;
  color:#0D0F42;
  font-weight: bold;
  font-size: 0.9rem;
  }
.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 20px;
  padding-left: 20px;
}
/* Main navbar container */
ul.navbar-nav {
  width: 100%;
  display: flex;
  justify-content: center; /* center all main items */
  align-items: center;
  position: relative;
}

/* Second-to-last item (moves group to the right) */
ul.navbar-nav > li:nth-last-child(2) {
  position: absolute;
  right: 58px;
  top: -2px;
  display: flex;
  align-items: center;
}

/* Last item (stays at the far right) */
ul.navbar-nav > li:last-child {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
}
/* Fix for center menu */
.m-item-to-center {
  margin-right: 65px;
}
@media (min-width: 768px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}
@media (max-width: 1040px) {
  .navbar-expand-md .navbar-nav .nav-link {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 1200px) {
  .navbar-expand-lg .navbar-nav .nav-link {
      padding-right: 10px;
      padding-left: 10px;
  }
}
/* Base style for custom login icon using SVG mask */
.menu-login-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #000000; /* default icon color */
  -webkit-mask-image: url('/wp-content/themes/zeutec-web/assets/icons/login-icon.svg'); /* SVG path */
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  mask-image: url('/wp-content/themes/zeutec-web/assets/icons/login-icon.svg');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;

  transition: background-color 0.3s ease; /* smooth hover effect */
}

/* Menu link hover changes icon color */
ul.navbar-nav > li > a:hover .menu-login-icon {
  background-color: var(--primary-color);
}

/* ===========================
   Minimal, modern dropdown
   =========================== */

/* Base dropdown menu style */
.navbar .dropdown-menu {
  border: none;                    /* remove default border */
  border-radius: 12px;             /* soft rounded corners */
  padding: 10px;
  margin-top: 0.0rem;             /* small offset from toggle */
  min-width: 120px;                /* comfortable width */
  background-color: #ffffff;       /* clean white background */
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12); /* soft shadow */
}

/* Dropdown items */
.navbar .dropdown-menu .dropdown-item {
  background-color: #fff ;
  font-size: 0.9rem;               /* slightly smaller text */
  font-weight: 400;
  padding: 0.55rem 1.2rem;         /* fixed padding */
  color: #111111;
  white-space: nowrap;             /* keep on one line */
  transition:
    color 0.2s ease,
    transform 0.2s ease;           /* animate transform instead of padding */
}

/* Hover / focus state */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus {
  color: var(--primary-color);
  transform: translateX(4px);      /* subtle slide-in effect without resizing */
}

/* Active item (current page) */
.navbar .dropdown-menu .dropdown-item.active,
.navbar .dropdown-menu .dropdown-item:active {
  color: var(--primary-color);
}

/* Optional: first and last item with softer edges */
.navbar .dropdown-menu .dropdown-item:first-child {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.navbar .dropdown-menu .dropdown-item:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

/* ===========================
   Dropdown toggle (caret)
   =========================== */

/* Make toggle look clean and aligned */
.navbar .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;                    /* spacing between text and caret */
}

/* Replace default Bootstrap caret */
.navbar .dropdown-toggle::after {
  border: none;                    /* remove default triangle */
  /* content: "▾";  */                  /* minimal chevron */
  /* font-size: 0.7rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.8; */
}

/* Rotate caret when dropdown is open */
.navbar .dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* ===========================
   Desktop: open on hover
   (keep click behavior on mobile)
   =========================== */

@media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: block;                /* always in flow for animation */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .navbar .dropdown:hover > .dropdown-menu,
  .navbar .dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
/*FIX FOR POLYLAND DROPDOWN MENU */
@media (min-width: 768px) {
    ul.navbar-nav > li:last-child .dropdown-menu {
        top: 40px;
        right: 0;
    }
}

/*BUTTONS===================================================================================================*/
.gradient-btn {
  border-radius: 50px;
  padding: 10px 60px;
  min-width: 100px;
  background: linear-gradient(to right, #FC0441, #F62DA8);
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease; /* smooth animation */
}
.gradient-btn:hover {
  color: #fff;
  transform: translateY(-3px); /* lift up on hover */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2); /* optional nice shadow */
}

/* Download button */
.tech-download .tech-btn{
  border:1px solid var(--primary-color, #C51D34);
  color: var(--primary-color, #C51D34);
  padding: 10px 22px;
  border-radius: 9999px;
  font-weight: 600;
  background: transparent;
  margin-bottom: 40px;
  transition: transform 0.25s ease, box-shadow 0.25s ease; /* smooth animation */
}
.tech-download .tech-btn:hover{
  background: var(--primary-color, #C51D34);

  color: #fff;
   transform: translateY(-3px); /* lift up on hover */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2); /* optional nice shadow */
}

/*CONTACT FORMS=========================================================================================================*/
/* ============ CF7 Minimal Form Styles ============
   - Inputs only bottom border
   - Message textarea has full rounded border
   - Placeholder color #999, text color #000
   - Focus/filled state switches border to #000
   - Pill-shaped submit button with #000 bg and #fff text
   ================================================= */

/* Scope styles to this form only */
.cf7-minimal .wpcf7-form-control:not(.wpcf7-submit) {
  /* Reset and base look for inputs */
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  color: #000000;                    /* Filled text color */
  font: inherit;
  padding: 10px 15px;                   /* Vertical padding, no side to keep line look */
  border: none;
  border-bottom: 1px solid #CCCCCC;  /* Bottom line only */
  border-radius: 0;                  /* No rounding for standard fields */
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

/* Placeholder color */
.cf7-minimal ::placeholder { color: #999999; opacity: 1; }
.cf7-minimal ::-webkit-input-placeholder { color: #999999; }
.cf7-minimal :-ms-input-placeholder { color: #999999; }

/* Focus and filled state -> bottom line becomes #000 */
.cf7-minimal input[type="text"]:focus,
.cf7-minimal input[type="tel"]:focus,
.cf7-minimal input[type="email"]:focus {
  border-bottom-color: #000000;
}
.cf7-minimal input[type="text"]:not(:placeholder-shown),
.cf7-minimal input[type="tel"]:not(:placeholder-shown),
.cf7-minimal input[type="email"]:not(:placeholder-shown) {
  border-bottom-color: #000000;
}

/* MESSAGE field special look (rounded box with full border) */
.cf7-minimal .message-field {
  /* Override the base input rule above */
  padding: 12px 16px !important;               /* Comfortable inner space */
  border: 1px solid #CCCCCC !important;        /* Full border */
  border-radius: 25px !important;              /* Rounded as requested */
  min-height: 130px;
  resize: vertical;                 /* Allow vertical resize if desired */
  margin-top: 3rem;
}
/* Message focus/filled -> full border becomes #000 */
.cf7-minimal .message-field:focus,
.cf7-minimal .message-field:not(:placeholder-shown) {
  border-color: #000000 !important;
}

/* Acceptance row */
.cf7-minimal .cf7-acceptance {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 24px;
  font-size: 0.95rem;
}
.cf7-minimal .cf7-acceptance a {
  text-decoration: underline;
  color:#999999
}
.cf7-minimal .cf7-acceptance a:hover {
  color:var(--primary-color);
}
.wpcf7-acceptance {
  border:none !important;
}
/* Submit button: pill shape, black bg, white text */
.cf7-minimal input.wpcf7-submit {
  background: #000000;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px; /* Pill (half-circles on sides) */
  padding: 12px 28px;
  font: inherit;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
  display: inline-block;
}
/* Button hover/active feedback */
.cf7-minimal input.wpcf7-submit:hover { opacity: 0.9; }
.cf7-minimal input.wpcf7-submit:active { transform: translateY(1px); }
.wpcf7 input[type=submit]:disabled {
  background-color: #CCCCCC;
  color:#fff;
}
/* Remove default CF7 validation outlines but keep accessibility */
.cf7-minimal .wpcf7-not-valid {
  /* Keep red text from CF7 messages; border color we control above */
  box-shadow: none !important;
}

/* Autofill adjustments (WebKit) to keep text visible on black/white themes */
.cf7-minimal input:-webkit-autofill,
.cf7-minimal input:-webkit-autofill:focus {
  -webkit-text-fill-color: #000000;
  transition: background-color 9999s ease-out 0s; /* Prevent yellow bg flash */
}

.form-control, .wpcf7 .wpcf7-validation-errors, .wpcf7 input[type=color], .wpcf7 input[type=date], .wpcf7 input[type=datetime-local], .wpcf7 input[type=datetime], .wpcf7 input[type=email],
.wpcf7 input[type=file], .wpcf7 input[type=month], .wpcf7 input[type=number], .wpcf7 input[type=range], .wpcf7 input[type=search], .wpcf7 input[type=submit], .wpcf7 input[type=tel],
.wpcf7 input[type=text], .wpcf7 input[type=time], .wpcf7 input[type=url], .wpcf7 input[type=week], .wpcf7 select, .wpcf7 textarea {
  box-shadow:none !important;
}
.wpcf7 .wpcf7-not-valid-tip {
  display: inline-block;
  background: var(--bs-gray-200);
  padding: 3px 10px;
  border-radius: 5px;
  margin-top: 5px;
  font-size: 0.9rem;
}
/*END CONTACT FORMS*/

/* MODALS IMPROVEMENT ==============================================================*/


/* Fade-in animation on scroll */
.fade-row {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When visible */
.fade-row.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Row fade-in animation on scroll */
.fade-row {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When row becomes visible */
.fade-row.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax image inside the row */
.ar-parallax {
  display: block;
  will-change: transform;
}

/* Optional: limit parallax to desktop only */
@media (max-width: 767.98px) {
  .ar-parallax {
    transform: none !important;
  }
}

/* Row fade-in animation on scroll */
.fade-row {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When row becomes visible */
.fade-row.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax targets */
.ar-parallax,
.ar-parallax-soft {
  will-change: transform; /* Hint for browser optimizations */
}

/* Optional: disable parallax on small devices */
@media (max-width: 767.98px) {
  .ar-parallax,
  .ar-parallax-soft {
    transform: none !important;
  }
}


/* Accessories STYLES ======================================================
================================================================================= */

.accessories-filters .nav-link{
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  color: #111;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.accessories-filters .nav-link.active{
  background: #111;
  border-color: #111;
  color: #fff;
}
.accessories-filters .nav-link:hover {
  border-color: #111;
}

.accessory-card .card {
  border:none;
  color:#000;
  border-radius: 20px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.accessory-card .card-body {
  padding: 20px;
}
.accessory-card .card h3 {
  font-weight: bold;
}
.accessory-card:hover .card {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.accessories-grid img {
  padding: 40px;
}
.accessories-grid .ratio::before {
  min-height: 310px;
}

.accessory-arrow {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  font-weight: 700;
  line-height: 1;
}

.accessory-card:hover .accessory-arrow {
  border-color: rgba(0,0,0,.35);
}

.acc-main-image {
  background: #fff;
  padding: 40px;
  text-align: center;
  border-radius: 20px;
}
.accessory-single .content {
/*  padding: 40px; */
}


/* =================================================
   ACCESSORY SINGLE – BOOTSTRAP CAROUSEL FIX + LAYOUT
================================================= */

.accessory-single-back {
  margin-top: 20px;
  display: inline-block;
  font-weight: 500;
  text-decoration: none;
  color: #111;
}

.accessory-single-back:hover{
  text-decoration: underline;
}

/* Same style as News back button */
.accessory-single-back{
  all: unset;
}

.accessory-single-back,
.news-single-back{
  display: inline-block;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  cursor: pointer;
}

.accessory-single-back:hover,
.news-single-back:hover{
  text-decoration: underline;
}

.accessory-title {margin-bottom: 20px;}

.accessory-carousel{
  width: 100%;
  margin: 0 auto;
  background: transparent;
}

/* Fixed height */
.accessory-carousel .carousel-inner{
  height: 500px;
}

/* IMPORTANT:
   Bootstrap hides slides using display:none.
   We must NOT override it globally with flex.
*/
.accessory-carousel .carousel-item{
  height: 500px;
  background: transparent !important;
  display: none; /* keep non-active slides hidden */
}

/* Show only active/transitioning slides and center content */
.accessory-carousel .carousel-item.active,
.accessory-carousel .carousel-item-next,
.accessory-carousel .carousel-item-prev{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image: whole visible, centered, with padding */
.accessory-carousel .carousel-item img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;

  padding: 24px;
  object-fit: contain;
  object-position: center;

  display: block;
}

/* Optional: indicators a bit lower */
.accessory-carousel .carousel-indicators{
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px){
  .accessory-carousel .carousel-inner,
  .accessory-carousel .carousel-item{
    height: 260px;
  }
  .accessory-carousel .carousel-item {
    mix-blend-mode: darken;
  }
  .accessory-carousel .carousel-item img{
    padding: 16px;
    border-radius: 15px;

  }
}

/* =================================================
   Accessory slider – BIGGER outline arrows
================================================= */

/* Wrapper button */
.accessory-carousel .carousel-control-prev,
.accessory-carousel .carousel-control-next {
  width: 64px;
  height: 64px;
  top: 50%;
  transform: translateY(-50%);
}

.accessory-carousel .carousel-control-prev-icon,
.accessory-carousel .carousel-control-next-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fff;

  background-size: 22px 22px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 6px 20px rgba(0,0,0,0.13);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

/* Hover */
.accessory-carousel .carousel-control-prev-icon:hover,
.accessory-carousel .carousel-control-next-icon:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.20);
  transform: scale(1.06);
}

/* LEFT – line arrow */
.accessory-carousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}

/* RIGHT – line arrow */
.accessory-carousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}

/* =================================================
   Accessory slider – thumbnails
================================================= */

.accessory-thumbnails{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Single thumbnail */
.accessory-thumb{
  width: 72px;
  height: 72px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;

  border-radius: 5px;
  overflow: hidden;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Image */
.accessory-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 5px;
}

/* Hover */
.accessory-thumb:hover{
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

/* Active thumbnail */
.accessory-thumb.active{
  outline: 1px solid #111;
  outline-offset: 1px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

@media (max-width: 768px){
  .accessory-thumb{
    width: 56px;
    height: 56px;
    border-radius: 10px;
  }
}

/* =================================================
   Accessory slider – mobile progress bar
================================================= */

.accessory-progress{
  margin-top: 12px;
}

.accessory-progress-track{
  width: 100%;
  height: 6px;
  background: #d9d9d9;      /* gray */
  border-radius: 999px;
  overflow: hidden;
}

.accessory-progress-fill{
  height: 100%;
  width: 0%;
  background: #111;         /* black */
  border-radius: 999px;
  transition: width 0.35s ease;
}

/* Hide thumbnails on mobile */
@media (max-width: 767px){
  .accessory-thumbnails{
    display: none !important;
  }
}

/* Mobile swipe helpers for carousel */
.accessory-carousel .carousel-inner{
  touch-action: pan-y;
}

.accessory-carousel .carousel-item img{
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

/* Hide by default (desktop) */
.accessory-progress{
  display: none;
  margin-top: 12px;
}

.accessory-progress-track{
  width: 100%;
  height: 6px;
  background: #d9d9d9;
  border-radius: 999px;
  overflow: hidden;
}

.accessory-progress-fill{
  height: 100%;
  width: 0%;
  background: #111;
  border-radius: 999px;
  transition: width 0.35s ease;
}
.accessory-carousel {
  -webkit-tap-highlight-color: transparent;
}

.accessory-carousel .carousel-item img{
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

/* Show on mobile */
@media (max-width: 767px){
  .accessory-progress{
    display: block;
  }

  .accessory-thumbnails{
    display: none !important;
  }
}

@media (max-width: 767px){
  .accessory-carousel .carousel-control-prev,
  .accessory-carousel .carousel-control-next{
    display: none !important;
  }
}
.accessory-carousel .carousel-item img{
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}




/* =================================================
   ACCESSORY PHOTO GALLERY – desktop thumbs + modal (mobile unchanged)
================================================= */

.acc-gallery-desktop{
  max-width: 1200px;
  margin: 0 auto;
}

.acc-gallery-hero{
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  max-width: 800px;
  margin:0 auto
}

.acc-gallery-hero img{
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

.acc-gallery-thumbs{
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.acc-gallery-thumb{
  border: 0;
  padding: 0;
  background: transparent;
  width: 110px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.acc-gallery-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (hover:hover){
  .acc-gallery-thumb:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.14);
  }
}

/* =================================================
   MODAL LAYOUT
================================================= */

.acc-gallery-modal .modal-dialog{
  max-width: 1440px;
    max-height: 820px;
}

.acc-gallery-modal__content{
  border-radius: 18px;
  overflow: hidden;
  border: 0;
}

.acc-gallery-modal__close{
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  font-size: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.acc-gallery-modal__grid{
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
  padding: 48px 24px 48px 60px;
  background: #fff;
}

.acc-gallery-modal__thumbs{
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  gap: 12px;
  align-content: start;
  max-height: 76vh;
  overflow: auto;
  padding-right: 6px;
}

.acc-gallery-modal__thumb{
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
}

.acc-gallery-modal__thumb img{
  width: 100%;
  height: 110px;
  object-fit: contain;
}

.acc-gallery-modal__thumb.is-active{
  border:1px solid #000;
}

.acc-gallery-modal__preview{
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  height: 684px;
}

.acc-gallery-modal__big{
  width: 100%;
  height: 100%;
  max-height: 76vh;
  object-fit: contain;
  display: block;
}

/* Keep mobile carousel untouched */
.acc-gallery-mobile-img{
  border-radius: 16px;
}


/* =================================================
   OVERRIDE – modal thumbnails 64x64
================================================= */

.acc-gallery-modal__thumb{
  width: 80px;
  height: 80px;
}

.acc-gallery-modal__thumb img{
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* Keep nice grid spacing */
.acc-gallery-modal__thumbs{
  grid-template-columns: repeat(2, 64px);
  gap: 12px;
}


/* Desktop hero */
.acc-img-slider {
  margin: 60px 0;
}
.accg-hero{
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 15px;
  overflow: hidden;
  display: block;
  margin: 0 auto;
}

.accg-hero img{
  /*width: 100%;*/
  height: auto;
  max-height: 600px;
  display: block;
  margin-left:auto;
  margin-right:auto;
  mix-blend-mode: darken;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.accg-hero img:hover{
  transform: scale(1.02);
}

/* Desktop thumbs (max 5 +N) */
.accg-thumbs{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.accg-thumb{
  width: 88px;
  height: 88px;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  cursor: pointer;
}

.accg-thumb img{
    width: 60px;
    height: 60px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.accg-thumb--more{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.06);
}

.accg-more{
  font-weight: 700;
  font-size: 16px;
  color: #111;
}

/* Modal */
.modal.show .modal-dialog {
    max-width: 1440px;
    max-height: 820px;
}
.accg-modal__content{
  border: 0;
  border-radius: 18px;
  overflow: hidden;

}

.accg-modal__close{
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  font-size: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.accg-modal__grid{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 100px;
  padding: 48px 24px 24px 60px;
  background: #fff;
}

/* 64x64 thumbs in 2 columns */
.accg-modal__thumbs{
  display: grid;
  grid-template-columns: repeat(2, 80px);
  gap: 15px;
  align-content: start;
  max-height: 76vh;
  overflow: auto;
}

.accg-modal__thumb{
  width: 82px;
  height: 82px;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  cursor: pointer;
}

.accg-modal__thumb img{
  width: 60px;
  height: 60px;
  object-fit: contain;

}

.accg-modal__thumb.is-active, .accg-thumbs .accg-thumb.is-active{
  box-shadow: 0 0 0 3px rgba(197,29,52,.35), 0 10px 26px rgba(0,0,0,.14);
}

.accg-modal__preview{
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76vh;
}

.accg-modal__big{
  width: 100%;
  height: 100%;
  max-height: 76vh;
  object-fit: contain;
  display: block;
  padding: 0px 40px;
}


/* =================================================
   OVERRIDE – gallery layout tuning
================================================= */

/* Center whole desktop gallery container */
.accg-desktop{
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Main (hero) image – max 800px */
.accg-hero{
  max-width: 800px;
  width: 100%;
}

/* Thumbnails container centered under hero */
.accg-thumbs{
  justify-content: center;
}

/* Remove shadows from thumbnails */
.accg-thumb,
.accg-modal__thumb{
  box-shadow: none !important;
}

/* Active thumbnail – black border */
.accg-thumb.is-active,
.accg-modal__thumb.is-active, .accg-thumbs .accg-thumb.is-active {
  border: 1px solid #000;
}
.accg-thumbs .accg-thumb.is-active {
  border-color: #000;
}

/* Ensure inactive thumbs have no border */
.accg-thumb,
.accg-modal__thumb{
  border: 1px solid #ddd;
}

/* Optional: keep clean hover (no elevation) */
@media (hover:hover){
  .accg-thumb:hover,
  .accg-modal__thumb:hover{
    transform: none;
    border: 1px solid #000;
  }
}

/* ========================================
   FAQ (Tabs: Order / Instrument)
   – Bootstrap 5 accordions + custom tabs
   ======================================== */

/* Base style for accordion inside tab pane */
.faq-tab-pane .accordion {
  margin: 1rem 0;
  transition: box-shadow 0.5s ease;
  box-shadow: none;
}

/* Shadow only when tab pane is visible AND has shadow flag */
.faq-tab-pane.is-visible.has-shadow .accordion {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

/* Segmented tab control wrapper */
.faq-tabs-pill {
  position: relative;                 /* needed for the sliding background */
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  padding: 4px;
  background: #fff;
  margin-bottom: 80px;
}

/* Sliding background "pill" */
.faq-tabs-pill::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 3px;
  height: calc(100% - 8px);
  width: var(--slider-width, 0px);    /* dynamic width from JS */
  background: var(--primary-color);   /* active pill color */
  border-radius: 9999px;
  transform: translateX(var(--slider-x, 0px)); /* dynamic X from JS */
  transition: transform 0.30s ease, width 0.30s ease;
  z-index: 1;
}

/* Tab button */
.faq-tab-btn {
  position: relative;
  z-index: 2;                          /* above sliding background */
  border: 0;
  background: transparent;
  padding: 16px 44px;
  border-radius: 9999px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.15s ease;
}

/* Hover state */
.faq-tab-btn:hover {
  transform: translateY(-1px);
  color: var(--primary-color);
}

/* Active tab — only text color, background is handled by ::before */
.faq-tab-btn.active {
  color: #fff;
}

/* Keep white text on active even on hover */
.faq-tab-btn.active:hover {
  color: #fff;
}

/* Fade-only effect for tab panes */
.faq-tab-pane {
  opacity: 0;
  transition: opacity .25s ease; /* smooth fade */
}

/* Visible state */
.faq-tab-pane.is-visible {
  opacity: 1;
}

.faq-tab-pane .accordion {
  border-radius: 0;
}
/* Accordion look & feel */
.faq-accordion-item{
  border:0;
  overflow:hidden;
}
.faq-accordion-item .accordion-button{
  font-size: 1.125rem;
  box-shadow:none;
  font-weight:600;
  padding-right:5rem; /* room for icon */
  padding-left: 1.5rem;
  border-left:4px solid #D1DEE8;
  border-bottom: 1px solid #D1DEE8;
  padding-top:20px;
}
.faq-accordion-item .accordion-button:hover {
  background:rgb(251, 251, 255);
}
.faq-accordion-item .accordion-button:focus{
  background:#f5f9ff;
  outline-offset:2px;
  box-shadow:none;
}
.faq-accordion-item .accordion-button:not(.collapsed){
  border-left:4px solid #1DC566; /* green stripe (keep as requested) */
  border-bottom: transparent;
  background:#f5f9ff;
  color:var(--primary-color);
}
.faq-accordion-item .accordion-body{
  background:#f5f9ff;
  border-left:4px solid #1DC566;
  padding-left: 1.5rem;
  padding-right:5rem; /* room for icon */
}
.accordion-button::after, .accordion-button:not(.collapsed)::after {
  background-image: none;
}
/* Remove rounded corners inside FAQ accordions */
.faq-section .accordion,
.faq-section .accordion-item,
.faq-section .accordion-button,
.faq-section .accordion-body {
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-border-radius: 0;
  border-radius: 0 !important;
}

/* Plus → X icon on the right (replace with your SVG if needed) */
.faq-icon{
  width:20px;
  height:20px;
  display:inline-block;
  position:absolute;
  right:1rem;
  top:50%;
  transform:translateY(-50%);
  /*
  border: 2px solid #212529;
  padding: 12px;
  border-radius: 50%;
  */
}
.accordion-button .faq-icon::before,
.accordion-button .faq-icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:11px;
  height:2px;
  background:#111;
  transform:translate(-50%, -50%);
}
.accordion-button .faq-icon::after{
  transform:translate(-50%, -50%) rotate(90deg);
}
.accordion-button:not(.collapsed) .faq-icon::before{
  transform:translate(-50%, -50%) rotate(45deg);
  width:11px;
}
.accordion-button:not(.collapsed) .faq-icon::after{
  transform:translate(-50%, -50%) rotate(-45deg);
  width:11px;
}
/* Smooth rotation animation for FAQ icon */
.faq-icon,
.faq-icon::before,
.faq-icon::after {
    transition: all .35s ease;
    transform-origin: center;
}


/* Small improvements on mobile */
@media (max-width: 767.98px){
  .faq-tabs-pill{
    width: 70%;
    margin-bottom: 30px;
  }

  .faq-tab-btn{
    flex: 1 1 50%;
    padding: 14px 20px 13px;
    font-size: 16px;
    color:#000;
  }
  .faq-accordion-item .accordion-button{ padding-right:2.5rem; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce){
  .faq-tab-btn,
  .faq-tab-pane{ transition:none; }
}

/*END FAQ============================================================*/


/* ========================================
   TECHNICAL INFORMATION – accordion + table
   Matches FAQ styles (no tabs)
   ======================================== */

.tech-section { margin: 3rem 0; }

/* Layout */
.tech-flex{
  display: flex;
  align-items: center;       /* vertical alignment */
  justify-content: center;   /* horizontal centering between image and table */
  gap: 40px;                 /* consistent space between columns */
}
.tech-media{ flex: 0 0 45%; }
.tech-media{ flex: 0 0 auto; }
.tech-image{
  width: 100%;
  height: auto;
  object-fit: cover;
  padding: 20px;
}

/* Accordion visuals (reuse FAQ spirit) */
.tech-accordion .accordion { border-radius: 0; }
.tech-accordion-item{
  border:0;
  overflow:hidden;
}
.tech-accordion-item .accordion-button{
  font-size: 1.125rem;
  box-shadow:none;
  font-weight:600;
  padding-right:4rem;   /* room for icon */
  padding-left: 1.5rem;
  border-left:4px solid #D1DEE8;
  border-bottom: 1px solid #D1DEE8;
  padding-top:20px;
}
.tech-accordion-item .accordion-button:hover{ background:rgb(251, 251, 255); }
.tech-accordion-item .accordion-button:focus{
  background:#f5f9ff;
  outline-offset:2px;
  box-shadow:none;
}
.tech-accordion-item .accordion-button:not(.collapsed){
  border-left:4px solid #1DC566;  /* green stripe */
  border-bottom: transparent;
  background:#f5f9ff;
  color:var(--primary-color);
}
.tech-accordion-item .accordion-body{
  background:#f5f9ff;
  border-left:4px solid #1DC566;
  padding-left: 1.5rem;
  padding-right:4rem;  /* room for icon */
}

/* Initial state - no shadow */
.tech-accordion {
    transition: box-shadow 0.5s ease;
    box-shadow: none;
}

/* Active state with shadow */
.tech-accordion.has-shadow {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}


/* Remove default Bootstrap rounded corners */
.tech-section .accordion,
.tech-section .accordion-item,
.tech-section .accordion-button,
.tech-section .accordion-body{
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-border-radius: 0;
  border-radius: 0 !important;
}

/* Reuse FAQ icon style (circle with plus->X) */
.tech-accordion .accordion-button .faq-icon{
  width:20px; height:20px;
  position:absolute; right:1rem; top:50%;
  transform:translateY(-50%);
  /*
  border: 2px solid #212529;
  padding: 12px;
  border-radius:50%;
  */
}
.accordion-button::after, .accordion-button:not(.collapsed)::after{ background-image: none; }

/* Table styles (2 columns) */
.tech-spec-table{
  --row-sep: #E5EEF5;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.tech-spec-table tbody tr + tr td{ border-top: 1px solid var(--row-sep); }

/* Left column: smaller, right-aligned, bold */
.tech-spec-label{
  width: 32%;
  min-width: 220px;
  padding: .85rem .75rem;
  text-align: right;
  vertical-align: top;
  color:#1f2937;
}
/* Right column: larger, left-aligned */
.tech-spec-value{
  width: 68%;
  padding: .85rem .75rem;
  text-align: left;
  vertical-align: top;
}

/* Mobile tweaks */
@media (max-width: 767.98px){
  .tech-media{ margin-bottom: 1rem; }
  .tech-spec-label{ width: 40%; min-width: 140px; }
}
/* END technical information ========================================================*/


/* =========================
   DOWNLOADS (PDF list)
========================= */
.accessory-downloads-section{
  padding: 30px 0;
}

.accessory-downloads-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 840px;
  margin: 0 auto;
}

.accessory-download-item{
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: #111;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.accessory-download-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
  border-color: rgba(0,0,0,0.12);
  color: #111;
}

.accessory-download-icon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.05);
  color: #111;
  flex: 0 0 auto;
}

.accessory-download-title{
  font-size: 16px;
  line-height: 1.25;
}

.accessory-download-meta{
  display: block;
  margin-top: 2px;
  font-size: 13px;
  opacity: 0.7;
}

.accessory-download-cta{
  font-weight: 600;
  opacity: 0.9;
}

@media (max-width: 575px){
  .accessory-download-item{
    padding: 14px 14px;
  }
  .accessory-download-cta span:first-child{
    display: none; /* hide "Download" text on very small screens */
  }
}

/*Support*/
  .support-page .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
.sup_title {
  background: url('/wp-content/uploads/2026/02/support-bg.webp') no-repeat top right;
  border-radius: 20px;
  height: 260px;
}
.sup_title h1 {
  color:#fff;
  padding-left:60px;
  margin-bottom: 0;
}
.sn-info {
  border: 2px solid #212529;
  border-radius: 20px;
  padding: 20px 25px;
  display: inline-flex;
  margin-top: 50px;
  margin-bottom: 15px;
}
.sn-info p {
  font-size: 1.2rem;
  margin-bottom:0;
}
.support-contact-desc p {
  margin-bottom: 0;
}
.support-contact-desc a {
  color:#000;
}
.support-contact-desc a:hover {
  color: var(--primary-color);
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .support-page .container {
    padding-top: 20px;
  }

  .sup_title {
    height: 140px;
    justify-content: center;   /* horizontal center */
    text-align: center;
    background-size: auto 180px;
    background-position: right center;
  }
  .sup_title h1 {
    padding-left:0px;
  }
  .sup-top-text h3 {
    margin-bottom: 20px;
  }
  .sup-top-text h5 {
    font-size: 1.2rem;
  }
  .sn-info {
    margin-top: 35px;
    margin-bottom: 0;
  }
  .sn-info p {
    font-size: 1.05rem;
  }
}

/* =================================================
    HOMEPAGE – HERO SLIDER 
================================================= */
.hp-hero-slider {
  margin-bottom: 80px;
}
.hp-hero-slider .carousel-item {
  position: relative; 
}

.hp-hero-slider__img {
  width: 100%;
  height: clamp(520px, 80vh, 900px);
  object-fit: cover;
  display: block;
}

/* Overlay covering entire slide */
.hp-hero-slider__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* horizontal center */
  text-align: center;
  padding: 20px;
}

/* Optional dark overlay for readability */
.hp-hero-slider__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* Content above overlay */
.hp-hero-slider__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #fff;
}
.hp-hero-slider__content h2 {
  font-weight: 600;
  font-size: 40px;
}
/* buttons in the same position */
.hp-hero-slider__btn {
  position: absolute;
  left: 50%;
  bottom: 120px; /* space from bottom */
  transform: translateX(-50%);
  z-index: 3;
}
.hp-hero-slider .carousel-indicators {
  bottom: 20px;
}
.hp-hero-slider__btn .btn {
  padding: 13px 34px;
  font-size: 16px;
  border-radius: 50px;
  font-weight: 600;
  background: #000;
  border-color: #000;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hp-hero-slider__btn .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}
/* ACTIVE (kliknięcie) */
.hp-hero-slider__btn .btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  background-color: #000; /* <-- wstaw swój kolor */
  border-color: #000;     /* <-- wstaw swój kolor */
}

/* FOCUS (Bootstrap nadpisuje – trzeba jawnie ustawić) */
.hp-hero-slider__btn .btn:focus,
.hp-hero-slider__btn .btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(0,0,0,0.25);
  outline: none;
}
@media (max-width: 768px) {
  .hp-hero-slider__btn {
    bottom: 100px;
  }
  .hp-hero-slider {
    margin-bottom: 0px;
  }
  .hp-hero-slider .carousel-inner, .hp-hero-slider .carousel-item {
    max-height: 500px;
  }
  .hp-hero-slider__overlay {
    padding: 60px;
  }
}

/* =================================================
 HOMEPAGE - OVERVIEW SECTION
================================================= */
.hp-overview {
  /*background: #fff;*/
  padding-top: 120px;
  padding-bottom: 120px;
  margin-bottom: 80px;
}

.hp-overview__title {
  font-weight: 700;
}

.hp-overview__subtitle {
  font-size: 22px;
  opacity: 1;
  margin-bottom: 80px;
}

.hp-overview h3 {
  font-weight: bold;
}

.hp-overview__content h3 {
  font-size: 1.5rem;
}

.hp-overview__content li {
  line-height: 2;
}

.hp-overview__content p:last-child {
  margin-bottom: 0;
}

.hp-overview__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

@media (max-width: 767.98px) {
  .hp-overview {
    padding-top: 120px;
    padding-bottom: 20px;
  }
}

/* =================================================
   HOMEPAGE – Products slider
================================================= */

.w-2040 {
  max-width: 1500px;
  padding-left: 40px;
  padding-right: 40px;
}

.hp-products__title{
  font-weight: 700;
}

.hp-products__subtitle{
  opacity: .8;
}

.hp-products__slider{
  position: relative;
}

.hp-products__viewport{
  overflow: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 30px;
  padding-top:10px;
}

.hp-products__viewport::-webkit-scrollbar{
  display: none;
}

.hp-products__track{
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.hp-products__card{
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  flex: 0 0 calc((100% - 24px*3) / 4);
}
@media (max-width: 1599.98px){ 
  .hp-products__card{ flex: 0 0 calc((100% - 24px*2) / 3); }
}

@media (max-width: 1199.98px){
  .hp-products__card{ flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 575.98px){
  .hp-products__card{ flex-basis: 100%; }
}

.hp-products__card-inner{
  background: #fff;
  border-radius: 18px;
  padding-top: 24px;
  padding-bottom: 18px;
  padding-left: 24px;
  padding-right: 24px;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0,0,0,.03);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}

.hp-products__card:hover .hp-products__card-inner{
  transform: translateY(-0px);
  box-shadow: 0 10px 15px rgba(0,0,0,.14);
  color:#000;
}

.hp-products__logo img{
  height: 28px;
  width: auto;
  display: block;
}

.hp-products__image{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0 10px;
  min-height: 250px;
}

.hp-products__image img{
  max-width: 100%;
  height: auto;
  display: block;
  max-height: 200px;
}

.hp-products__image img {
  transition: transform 0.4s ease;
}

.hp-products__card:hover .hp-products__image img {
  transform: scale(1.08);
}
.hp-products__image {
  overflow: hidden;
}

.hp-products__bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.hp-products__card-title{
  font-weight: 600;
  line-height: 1.2;
  max-width: 75%;
}

.hp-products__btn{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.hp-products__btn::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  content: '';
  width: 18px;
  height: 18px;
  display: block;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.hp-products__btn img{
  width: 18px;
  height: 18px;
  display: block;
}

.hp-products__btn-fallback{
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.hp-products__arrows{
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}

.hp-products__arrow{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  position: relative;
}

.hp-products__arrow::before{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
  transform: rotate(45deg);
}

.hp-products__arrow[data-hp-products-prev]::before{
  transform: rotate(-135deg);
}
@media (max-width: 767.98px) { 
  .hp-hero-slider__content h2 {
    font-size: 1.6rem;
  }
}

/* =================================================
   HOMEPAGE – Slider progress bar
================================================= */

.hp-products__nav{
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1240px;
  margin: 20px auto;
}

.hp-products__progress{
  flex: 1 1 auto;
  height: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  overflow: hidden;
  position: relative;
}

.hp-products__progress-bar{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: rgba(0,0,0,.75);
  transition: width .45s cubic-bezier(.22,.61,.36,1);
}


/* Keep arrows on the right */
.hp-products__arrows{
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 0;
  flex: 0 0 auto;
}

/* Job Opportunities */
.job-acc .accordion-button {
  font-size: 1.275rem;
  font-weight: 600;

}

.job-opportunities-page .container {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
.job-opp_title {
  background: url('/wp-content/uploads/2026/02/job-opportunities-bg01.webp') no-repeat 0px -76px;
  border-radius: 20px;
  height: 260px;
}
.job-opp_title h1 {
  color:#fff;
  padding-left:60px;
  margin-bottom: 0;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .job-opportunities-page .container {
    padding-top: 20px;
  }

  .job-opp_title {
    height: 140px;
    justify-content: center;   /* horizontal center */
    text-align: center;
    background-size: auto 180px;
    background-position: right center;
  }
  .job-opp_title h1 {
    padding-left:0px;
  }
  .job-acc .accordion-button {
    font-size: 1rem;
  }
}
/* =================================================
 HOMEPAGE - APP WORX SECTION 
  ================================================= */
.hp-appworx {
  background: #fff;
  padding-top: 160px;
  padding-bottom: 120px;
  margin-top: 80px;
  margin-bottom: 80px;
}

.hp-appworx__title {
  font-weight: 700;
}

.hp-appworx__logo {
  height: 51px;
  width: auto;
  display: block;
}

.hp-appworx__subtitle {
  font-size: 22px;
  opacity: 0.85;
  margin-bottom: 40px;
}
.hp-appworx h3 {
  font-weight: bold;
}

.hp-appworx__content p:last-child {
  margin-bottom: 0;
}
.hp-appworx__content h3 {
  font-size: 1.5rem;
}
.hp-appworx__content li {
  line-height: 2;
}
.hp-appworx__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Button hover like your previous */
.hp-appworx__btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-appworx__btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.hp-appworx__btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}
@media (max-width: 767.98px) {
  .hp-appworx {
    padding-top: 120px;
    padding-bottom: 80px;
  }
}
/* =================================================
 HOMEPAGE - MAP
  ================================================= */
.map-content .section-title {
  margin-bottom: 40px;
}

/* About page */
.about-page h2, .about-page h3, .about-page h4, .about-page h5 {font-weight: bold;}
.about-page h4 {line-height: 1.5;}

.about-gallery-carousel .carousel-indicators {
  position: static;
  margin-top: 12px;
  margin-bottom: 0;
}

.about-gallery-carousel .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

/* =============================== Terms page – clean typography */
.terms-page .terms-title{
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.terms-page .terms-content{
  font-size: 16px;
  line-height: 1.75;
  max-width: 78ch;
}

.terms-page .terms-content > *:first-child{ margin-top: 0; }
.terms-page .terms-content > *{ margin: 0 0 1rem; }

.terms-page .terms-content h2{
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.25;
  margin-top: 2.2rem;
  margin-bottom: .8rem;
}

.terms-page .terms-content h3{
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.3;
  margin-top: 1.6rem;
  margin-bottom: .6rem;
}

.terms-page .terms-content h4{
  font-size: 18px;
  line-height: 1.35;
  margin-top: 1.2rem;
  margin-bottom: .5rem;
}

.terms-page .terms-content ul,
.terms-page .terms-content ol{
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.terms-page .terms-content li{ margin-bottom: .35rem; }

.terms-page .terms-content a{
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.terms-page .terms-content hr{
  margin: 2rem 0;
  opacity: .15;
}

.terms-page .terms-content blockquote{
  border-left: 3px solid rgba(0,0,0,.15);
  padding-left: 1rem;
  margin: 1.5rem 0;
  opacity: .95;
}

.terms-page .terms-content table{
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
}

.terms-page .terms-content table th,
.terms-page .terms-content table td{
  padding: .75rem;
  border: 1px solid rgba(0,0,0,.12);
  vertical-align: top;
}

.terms-page .terms-content table th{
  font-weight: 600;
}




/* ===================================== Webserver */


/* ===================================== Worx */
.black-bg {
  margin-top:160px;
  margin-bottom:160px;
  background: #000;
  padding-top: 120px;
  padding-bottom: 120px;
  color:#fff;
}
.container-worx-slider {
  max-width: 878px;
  margin-left: auto;
  margin-right: auto;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  --bs-gutter-x: 2.0rem;
  font-size: 1.1rem;
}
.black-bg .product-section-title {
  margin-bottom: 60px;
}

.black-bg .presentation-slider__desc{
  background: #000;
}

.black-bg .hp-products__progress {
  background: rgb(255 255 255 / 18%);
}

.black-bg .hp-products__progress-bar {
  background: rgba(255,255,255,.45);
}
.black-bg .presentation-slider__card-inner {
  background: #000;
}

.black-bg .hp-products__arrow {
  border: 2px solid #bfbfbf;
  background: #000000;
}
.black-bg .hp-products__arrow::before {
  border-top: 2px solid #bfbfbf;
  border-right: 2px solid #bfbfbf;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .black-bg {
    margin-top: 120px;
    margin-bottom: 0px;
    background: #000;
    padding-top: 60px;
    padding-bottom: 60px;

  }
  .black-bg .hp-products__nav {
    margin-top:0;
  }
  .black-bg .presentation-slider__desc {
    padding-bottom: 0;
  }
  
}

/* =================================================
PAGE GRAIN
  ================================================= */

/* GRAIN page hero - full viewport background */
.grain-hero{
  width: 100vw;
  height: 100vh;
  position: relative;

  /* Replace with your background image in CSS */
  background-image: url('/wp-content/uploads/2026/03/grain-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Center content */
.grain-hero__inner{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
}

/* Logo size control */
.grain-hero__logo{
  max-width: min(420px, 80vw);
  height: auto;
  display: block;
}

/* Launching label */
.grain-hero__launching{
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Optional: spacing under hero content */
.grain-content{

}
/* =========================================
   GRAIN LOGO ANIMATION
========================================= */

/* Initial state */
.grain-logo-animate{
  opacity: 0;
  transform: scale(0.92);
  animation: grainLogoIntro 1.8s cubic-bezier(.19,1,.22,1) forwards,
             grainLogoBreath 6s ease-in-out 2s infinite;
}

/* Smooth intro */
@keyframes grainLogoIntro{
  0%{
    opacity: 0;
    transform: scale(0.92);
  }
  100%{
    opacity: 1;
    transform: scale(1);
  }
}

/* Subtle breathing effect */
@keyframes grainLogoBreath{
  0%, 100%{
    transform: scale(1);
  }
  50%{
    transform: scale(1.02);
  }
}

.grain-logo-animate{
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  animation: grainLogoIntro 1.8s cubic-bezier(.19,1,.22,1) forwards,
             grainLogoBreath 6s ease-in-out 2s infinite,
             grainLogoGlow 4s ease-in-out 2s infinite;
}

@keyframes grainLogoGlow{
  0%,100%{
    filter: drop-shadow(0 0 0 rgba(255,255,255,0));
  }
  50%{
    filter: drop-shadow(0 0 18px rgba(255,255,255,0.35));
  }
}

/* =========================================
   GRAIN HERO BACKGROUND LOADING EFFECT
========================================= */

.grain-hero{
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  background: #000; /* instant fallback color */
}

/* Background layer */
.grain-hero__bg{
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2026/03/grain-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Smooth reveal effect */
  opacity: 0;
  filter: blur(40px);
  transform: scale(1.05);
  animation: grainBgReveal 2s ease forwards;
}

/* Smooth loading animation */
@keyframes grainBgReveal{
  0%{
    opacity: 0;
    filter: blur(40px);
    transform: scale(1.05);
  }
  100%{
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

/* Center content */
.grain-hero__inner{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Center logo only */
.grain-hero__inner{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Launching soon positioned 20% from bottom */
.grain-hero__launching{
  position: absolute;
  bottom: 10vh; /* 20% of viewport height */
  left: 50%;
  transform: translateX(-50%);
  
  font-size: 18px;
  letter-spacing: 1px;
}


/* ===================  GRAIN MENU ITEM =============== */
/* Hide original text */
.grain-menu-item a {
    font-size: 0;
    text-transform: none;
}

/* GR */
.grain-menu-item a::before {
    content: "Gr";
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* AI */
.grain-menu-item a span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.grain-menu-item a span::before {
    content: "ai";
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: -2px 4px;
    position: relative;
    z-index: 2;
}

/* 4 corner dots */
.grain-menu-item a span::after {
    content: "";
    position: absolute;
    width: 23px;   /* orbit size */
    height: 23px;
    pointer-events: none;

    background:
        radial-gradient(circle, currentColor 60%, transparent 61%) top left,
        radial-gradient(circle, currentColor 60%, transparent 61%) top right,
        radial-gradient(circle, currentColor 60%, transparent 61%) bottom left,
        radial-gradient(circle, currentColor 60%, transparent 61%) bottom right;

    background-size: 4px 4px;
    background-repeat: no-repeat;

    transform-origin: center;
    transition: transform 0.6s ease;
}
.grain-menu-item a:hover span::after {
    transform: rotate(180deg);
}

/* N */
.grain-menu-item a::after {
    content: "n";
    font-size: 16px;
    font-weight: 600;
}
/* END GRAIN MENU ITEM =============== */