/* Dudes Custom Styles */
/* https://782633.myshoptet.com/user/documents/css/dudes-custom.css */

/* =============================================
   Hide language switcher — including Google Translate widget
   ============================================= */

/* Shoptet native language/currency switcher (fallback selectors) */
.languagesMenu,
.languagesMenu__box[data-target="language"],
.languagesMenu__box[data-target="currency"],
[data-testid="topnavLanguageDropdown"],
[data-testid="topnavCurrencyDropdown"],
[data-testid="topnavLanguagesMenu"],
.languagesMenu__list--language,
.languagesMenu__list--currency,
a[href*="changeLanguage"],
a[href*="changeCurrency"],
a[href*="language=en"],
a[href*="language=de"],
a[href*="language=fr"],
a[href*="language=es"],
a[href*="language=pl"],

/* Google Translate widget (what je aktualne videt na webu) */
#google_translate_element,
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.skiptranslate,
iframe.goog-te-menu-frame,
iframe[class*="VIpgJd"],
iframe[title="Language Translate Widget"],
div[id^="goog-gt-"],
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
}

/* Google Translate pushes body down with inline top: 40px — reset */
body {
  top: 0 !important;
  position: static !important;
}

/* Hide any Google Translate tooltip/highlight */
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight {
  display: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* =============================================
   Full-width welcome section wrapper
   ============================================= */

.dudes-welcome-section {
  width: 100%;
  background: #030303;
  padding: 0;
  margin: 0;
}

/* =============================================
   Conversion button (Do košíku) – orange
   ============================================= */

.btn-conversion {
  background-color: #fe5b00 !important;
  border-color: #fe5b00 !important;
  transition: background-color 0.2s ease;
}

.btn-conversion:hover {
  background-color: #030303 !important;
  border-color: #030303 !important;
}

/* =============================================
   YouTube video section before footer
   ============================================= */

.dudes-video-section {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  background: #030303;
}

.dudes-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.dudes-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =============================================
   Hide newsletter section
   ============================================= */

.footer-newsletter {
  display: none !important;
}

/* =============================================
   Header – Futura font, uppercase logo
   ============================================= */

/* Shop name – Futura Extra Bold, uppercase */
#header .site-name,
#header .site-name a,
#header .text-logo {
  font-family: 'Jost', 'Futura', 'Century Gothic', sans-serif !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.032em;
  color: #fe5b00 !important;
}

/* Menu links – Futura, orange hover */
#header #navigation a,
#header .menu-helper > span,
#header .menu-helper .menu-level-1 li a {
  font-family: 'Jost', 'Futura', 'Century Gothic', sans-serif !important;
  font-weight: 400 !important;
  transition: color 0.2s ease;
}

#header #navigation a:hover,
#header .menu-helper > span:hover,
#header .menu-helper .menu-level-1 li a:hover {
  color: #fe5b00 !important;
}

/* =============================================
   Nike-style CTA buttons on additional banners
   ============================================= */

.next-to-carousel-banners .banner-wrapper {
  position: relative;
}

.next-to-carousel-banners .banner-wrapper a {
  position: relative;
  display: block;
}

/* Button overlay */
.next-to-carousel-banners .banner-wrapper .dudes-banner-btn {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 10;
  display: inline-block;
  padding: 10px 26px;
  background: #fe5b00;
  color: #fcfcfc;
  font-family: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  pointer-events: none; /* clicks go through to parent <a> */
}

.next-to-carousel-banners .banner-wrapper a:hover .dudes-banner-btn {
  background: #030303;
  color: #fcfcfc;
  transform: scale(1.05);
}

/* =============================================
   About section
   ============================================= */

.welcome {
  padding: 60px 60px 120px;
  max-width: 1200px;
  margin: 0 auto;
  background: #030303;
  color: #fcfcfc;
}

.welcome h2 {
  font-family: 'Jost', 'Futura', 'Century Gothic', sans-serif !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fcfcfc !important;
}

.welcome p {
  margin-bottom: 1.4em;
  color: #fcfcfc !important;
}

.welcome a {
  color: #fcfcfc;
  text-decoration: underline;
  transition: font-weight 0.15s ease;
}

.welcome a:hover {
  font-weight: 700;
}

/* =============================================
   About section – responsive photo grid
   ============================================= */

.dudes-about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0;
}

.dudes-about-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.dudes-about-grid img:hover {
  opacity: 0.85;
}

/* =============================================
   Store info contact box – orange premium
   ============================================= */

.welcome div[style*="background: #f5f5f5"] {
  background: #fe5b00 !important;
  color: #fcfcfc !important;
  border-radius: 30px !important;
  padding: 32px 36px !important;
  margin-bottom: 96px !important;
  font-size: 1.2em !important;
}

.dudes-about-grid {
  margin-top: 16px;
}

.welcome div[style*="background: #f5f5f5"] strong {
  color: #fcfcfc !important;
  font-size: 1.3em !important;
}

.welcome div[style*="background: #f5f5f5"] a {
  color: #fcfcfc !important;
  text-decoration: underline;
}

/* =============================================
   Mobile overrides
   ============================================= */

@media (max-width: 767px) {
  /* Header logo – tighter on mobile */
  #header .site-name,
  #header .site-name a,
  #header .text-logo {
    letter-spacing: 0.01em !important;
    font-size: 18px !important;
  }

  /* Welcome/About section – tight padding on mobile */
  .welcome {
    padding: 24px 16px !important;
  }

  .welcome h2 {
    font-size: 1.25em !important;
    letter-spacing: 0.01em !important;
    line-height: 1.1 !important;
    margin-bottom: 0.4em !important;
  }

  .welcome p {
    margin-bottom: 0.7em !important;
    line-height: 1.4 !important;
    font-size: 14px !important;
  }

  /* Gallery – single photo on mobile */
  .dudes-about-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .dudes-about-grid img {
    border-radius: 8px !important;
    aspect-ratio: 4 / 3 !important;
  }
}

/* =============================================
   Lightbox gallery
   ============================================= */

.dudes-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 3, 3, 0.92);
  align-items: center;
  justify-content: center;
}

.dudes-lightbox.active {
  display: flex;
}

.dudes-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  user-select: none;
}

.dudes-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fcfcfc;
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.dudes-lightbox-close:hover {
  opacity: 1;
}

.dudes-lightbox-prev,
.dudes-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fcfcfc;
  font-size: 48px;
  font-weight: 300;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  user-select: none;
  padding: 20px;
  z-index: 10;
}

.dudes-lightbox-prev:hover,
.dudes-lightbox-next:hover {
  opacity: 1;
}

.dudes-lightbox-prev {
  left: 10px;
}

.dudes-lightbox-next {
  right: 10px;
}

.dudes-lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fcfcfc;
  font-size: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  opacity: 0.7;
}
