/*!
 * Versai.cz — Complete UI/UX Overhaul (Erika Fashion Mobile-First Edition) + Video Gallery (versai-custom.css ?v=7)
 * Compatible with Shoptet Generation 3 templates (Tango / Step / Disco / Samba / Classic)
 *
 * Upload in Shoptet Admin:
 *   Vzhled a obsah -> Správce souborů -> /user/documents/upload/versai-custom.css
 *
 * Include in Vzhled a obsah -> Editor -> HTML kód:
 *   Záhlaví: <link rel="stylesheet" href="/user/documents/upload/versai-custom.css?v=7">
 *   Zápatí:  <script src="/user/documents/upload/versai-custom.js?v=7" defer></script>
 */

[hidden] {
  display: none !important;
}

/* ==========================================================================
   EXISTING VIDEO GALLERY MODULE (100% INTACT)
   1. Main Product Stage (.p-image) — 2:3 Portrait & Mobile Swipe Ready
   ========================================================================== */
.p-image-wrapper .p-image {
  position: relative;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

/* Inline Video Stage inside .p-image */
.v-vs {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  max-height: min(780px, 78vh);
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

.v-vs iframe,
.v-vs video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.v-vs video {
  object-fit: contain;
}

/* ==========================================================================
   2. Main Stage Prev / Next Navigation Buttons (Mobile & YouTube Iframe Safe)
   ========================================================================== */
.v-stage-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 18px;
  transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.v-stage-btn:hover,
.v-stage-btn:focus {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  outline: none;
  transform: translateY(-50%) scale(1.06);
}

.v-stage-btn--prev {
  left: 10px;
}

.v-stage-btn--next {
  right: 10px;
}

@media (min-width: 768px) {
  .p-image:not(:hover) .v-stage-btn {
    opacity: 0;
  }
  .p-image:hover .v-stage-btn {
    opacity: 1;
  }
}

/* ==========================================================================
   3. Video Thumbnail Styling (.p-thumbnail.v-vt)
   ========================================================================== */
.p-thumbnails a.cbox-gal {
  display: none !important;
}

.v-vt {
  position: relative;
  overflow: hidden;
  background: #111;
}

.v-vt img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  filter: brightness(0.82);
  display: block;
}

.v-vt::after {
  content: "\25B6";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.78);
  border: 2px solid #fff;
  color: #fff;
  font: 13px/32px sans-serif;
  text-align: center;
  padding-left: 2px;
  z-index: 2;
  transition: transform 0.2s ease, background-color 0.2s ease;
  pointer-events: none;
}

.v-vt.highlighted::after,
.v-vt:hover::after {
  background: #000;
  transform: scale(1.1);
}

/* Smooth horizontal touch scrolling for thumbnails on mobile */
@media (max-width: 767px) {
  .p-thumbnails {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .p-thumbnails::-webkit-scrollbar {
    display: none;
  }
  .p-thumbnails-inner {
    position: relative !important;
    width: max-content !important;
    left: 0 !important;
  }
}

/* ==========================================================================
   4. Fullscreen Lightbox (Colorbox) Video Modal (.is-video)
   ========================================================================== */
#colorbox.is-video #cboxLoadedContent {
  background-color: #000 !important;
  overflow: hidden !important;
}

.v-cbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.v-cbox-stage iframe,
.v-cbox-stage video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.v-cbox-stage video {
  object-fit: contain;
}

/* Keep Colorbox Prev/Next/Close controls visible over dark video player */
#colorbox.is-video #cboxPrevious,
#colorbox.is-video #cboxNext {
  z-index: 10;
}

#colorbox.is-video #cboxPrevious::before,
#colorbox.is-video #cboxNext::before,
#colorbox.is-video #cboxClose::before {
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   MODULE 2: COLOR PALETTE, DESKTOP SEARCH & ACCOUNT ICON, MOBILE HEADER & SUBCATEGORIES
   Palette: Background #FFFFFF, Primary text/buttons #111111, Warm beige #F5F2EB
   ========================================================================== */
:root {
  --v-bg: #ffffff;
  --v-primary: #111111;
  --v-beige: #f5f2eb;
  --v-beige-border: #e5e0d5;
  --v-muted: #6e6e6e;
  --color-primary: #111111 !important;
  --color-primary-h: 0 !important;
  --color-primary-s: 0% !important;
  --color-primary-l: 7% !important;
  --color-primary-hover: #000000 !important;
  --color-secondary: #111111 !important;
  --color-secondary-hover: #2b2b2b !important;
  --colors-surface-primary: #ffffff !important;
  --colors-surface-secondary: #f5f2eb !important;
  --color-header-background: #ffffff !important;
  --_color-header-mobile-text: #111111 !important;
  --_color-header-mobile-nav-bg: transparent !important;
}

body {
  background-color: var(--v-bg) !important;
  color: var(--v-primary) !important;
  -webkit-font-smoothing: antialiased;
}

/* Global Button & Accent Normalization */
.btn.btn-conversion,
.btn.btn-primary,
.btn.btn-cart {
  background-color: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
}

.btn.btn-conversion:hover,
.btn.btn-primary:hover,
.btn.btn-cart:hover {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}

/* Flags / Badges in Luxury Monochrome + Warm Beige */
.flags .flag.flag-new {
  background-color: #111111 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 4px 8px !important;
  border-radius: 2px !important;
}

.flags .flag.flag-tip,
.flags .flag.flag-action {
  background-color: #f5f2eb !important;
  color: #111111 !important;
  border: 1px solid #e5e0d5 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 4px 8px !important;
  border-radius: 2px !important;
}

/* FIX #4: Desktop Header, Sleek Search Bar, Black Pill Search Button & SINGLE Account Icon */
@media (min-width: 768px) {
  .top-navigation-bar {
    background-color: #f5f2eb !important;
    border-bottom: 1px solid #e5e0d5 !important;
    border-top: 0 !important;
  }

  #header {
    background-color: #ffffff !important;
    border-bottom: 1px solid #eeeae0 !important;
  }

  #header .site-name img {
    max-height: 54px !important;
    width: auto !important;
    object-fit: contain !important;
  }

  /* Ensure desktop search form is cleanly visible & styled */
  #header .search,
  #header .search-form {
    display: block !important;
  }

  #header .search-form fieldset {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  #header .search-form .query-input,
  #header .search-form .search-input,
  .search-form input[type="search"] {
    height: 42px !important;
    border-radius: 50px !important;
    border: 1px solid #dedad0 !important;
    background-color: #faf9f6 !important;
    color: #111111 !important;
    padding: 0 18px !important;
    font-size: 13px !important;
    box-shadow: none !important;
    outline: none !important;
    flex: 1 1 auto !important;
    transition: border-color 0.2s ease, background-color 0.2s ease !important;
  }

  #header .search-form .query-input:focus,
  #header .search-form .search-input:focus,
  .search-form input[type="search"]:focus {
    border-color: #111111 !important;
    background-color: #ffffff !important;
  }

  /* Transform purple "HLEDAT" button into a sleek matte black pill button */
  .search-form button,
  .search-form .btn,
  .btn.btn-default.search-button,
  #formSearchForm button[type="submit"],
  button[data-testid="searchBtn"] {
    background: #111111 !important;
    background-color: #111111 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    border: none !important;
    box-shadow: none !important;
    height: 42px !important;
    padding: 0 24px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
  }

  .search-form button:hover,
  .search-form .btn:hover,
  .btn.btn-default.search-button:hover,
  #formSearchForm button[type="submit"]:hover,
  button[data-testid="searchBtn"]:hover {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none !important;
  }

  /* Desktop Navigation Buttons: Single Account SVG Icon + Cart Icon side-by-side */
  #header .header-top .navigation-buttons {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 14px !important;
  }

  /* Hide Shoptet's default ::before icon font on our custom desktop account button & hide duplicate native login triggers */
  #header .navigation-buttons > a.v-desktop-account-btn::before,
  #header .navigation-buttons > a.v-desktop-account-btn::after,
  :where(.ums_mobile_header_v1--on) .navigation-buttons > a.v-desktop-account-btn::before,
  :where(.ums_mobile_header_v1--on) .navigation-buttons > a.v-desktop-account-btn::after {
    content: none !important;
    display: none !important;
  }

  /* Hide any text label inside .v-desktop-account-btn and any duplicate login links on desktop */
  .v-desktop-account-btn span,
  #header .navigation-buttons > a[data-target="login"]:not(.v-desktop-account-btn),
  .top-navigation-bar .top-nav-button-login,
  .top-navigation-bar .top-nav-button-account,
  .top-navigation-bar .responsive-tools > a[data-target="login"] {
    display: none !important;
  }

  #header .navigation-buttons > a.v-desktop-account-btn,
  .v-desktop-account-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #111111 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    background: transparent !important;
    border: 0 !important;
    transition: opacity 0.2s ease !important;
  }

  .v-desktop-account-btn:hover {
    color: #111111 !important;
    opacity: 0.72 !important;
    text-decoration: none !important;
  }

  .v-desktop-account-btn svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #111111 !important;
    display: block !important;
    flex-shrink: 0 !important;
  }

  #header .header-top .btn.cart-count {
    color: #111111 !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  #header .header-top .btn.cart-count::before {
    color: #111111 !important;
    margin-right: 10px !important;
  }
}

@media (max-width: 767px) {
  .v-desktop-account-btn {
    display: none !important;
  }
}

/* Compact Single-Row Mobile Header (100% PRESERVED): Hamburger (Left), Logo (Center), Search/Account/Cart (Right) */
@media (max-width: 767px) {
  .top-navigation-bar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 54px !important;
    background-color: #ffffff !important;
    border-top: 0 !important;
    border-bottom: 1px solid #ece8df !important;
    box-shadow: 0 1px 4px rgba(17, 17, 17, 0.04) !important;
    z-index: 100 !important;
    transform: none !important;
  }

  .top-navigation-bar .container {
    height: 54px !important;
    padding: 0 8px !important;
    display: flex !important;
    align-items: center !important;
  }

  .top-navigation-bar .top-navigation-tools {
    width: 100% !important;
    flex: 1 1 100% !important;
    display: block !important;
  }

  .top-navigation-bar .responsive-tools {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: 54px !important;
    padding: 0 !important;
    width: 100% !important;
  }

  /* Left: Hamburger Menu Button */
  .top-navigation-bar .responsive-tools > a[data-target="navigation"] {
    position: absolute !important;
    left: 2px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111111 !important;
    background: transparent !important;
    z-index: 5 !important;
  }

  .top-navigation-bar .responsive-tools > a[data-target="navigation"]::before {
    background: transparent !important;
    color: #111111 !important;
    font-size: 20px !important;
    width: 32px !important;
    line-height: 32px !important;
    border-radius: 0 !important;
  }

  /* Right Icons: Search, Account/Login, Cart */
  .top-navigation-bar .responsive-tools > a[data-target="search"] {
    position: absolute !important;
    right: 76px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111111 !important;
    z-index: 5 !important;
  }

  .top-navigation-bar .responsive-tools > a[data-target="login"] {
    position: absolute !important;
    right: 40px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111111 !important;
    z-index: 5 !important;
  }

  .top-navigation-bar .responsive-tools > a[data-target="search"]::before,
  .top-navigation-bar .responsive-tools > a[data-target="login"]::before {
    color: #111111 !important;
    font-size: 18px !important;
    line-height: 32px !important;
  }

  /* Anchor #header directly to the 54px compact top bar */
  body #header,
  body:where(.ums_mobile_header_v1--on) #header {
    position: fixed !important;
    top: 54px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: #ffffff !important;
    z-index: 101 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Center: Website Logo */
  body #header .site-name,
  body:where(.ums_mobile_header_v1--on) #header .site-name {
    position: absolute !important;
    top: -54px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 6 !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 160px !important;
    text-align: center !important;
  }

  body #header .site-name > a {
    height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  body #header .site-name img {
    max-height: 34px !important;
    max-width: 148px !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Far Right: Cart Icon */
  body #header .cart-count,
  body:where(.ums_mobile_header_v1--on) #header .cart-count {
    position: absolute !important;
    top: -45px !important;
    right: 6px !important;
    left: auto !important;
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #111111 !important;
    transform: none !important;
    z-index: 6 !important;
  }

  body #header .cart-count::before {
    color: #111111 !important;
    font-size: 20px !important;
    margin: 0 !important;
  }

  body #header .header-top {
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }

  /* Search drawer when toggled on mobile */
  body.search-window-visible #header .search {
    display: block !important;
    padding: 10px 12px 12px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #ece8df !important;
  }

  body.search-window-visible #header .search-form button {
    background: #111111 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    border: none !important;
  }

  body .overall-wrapper,
  body:where(.ums_mobile_header_v1--on) .overall-wrapper,
  body:where(.ums_mobile_header_v1--on).type-index .overall-wrapper {
    padding-top: 54px !important;
  }
}

/* ==========================================================================
   REFINEMENT 3: BLACK PILL FILTER BUTTON ("OTEVŘÍT FILTR")
   ========================================================================== */
#filters-wrapper .filter-button,
#filters-wrapper .unveil-button,
.filters-unveil-button-wrapper .btn,
.filters-unveil-button-wrapper a.unveil-button,
.filter-section-button .toggle-filters,
.btn-filter {
  background: #111111 !important;
  background-color: #111111 !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  border: none !important;
  box-shadow: 0 3px 10px rgba(17, 17, 17, 0.1) !important;
  padding: 10px 24px !important;
  height: auto !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, transform 0.15s ease !important;
}

#filters-wrapper .filter-button:hover,
#filters-wrapper .unveil-button:hover,
.filters-unveil-button-wrapper .btn:hover,
.filters-unveil-button-wrapper a.unveil-button:hover,
.filter-section-button .toggle-filters:hover,
.btn-filter:hover {
  background: #000000 !important;
  background-color: #000000 !important;
  color: #ffffff !important;
  border: none !important;
}

#filters-wrapper .unveil-button::after,
.filters-unveil-button-wrapper .btn::after,
.filter-section-button .toggle-filters::after {
  color: #ffffff !important;
}

/* ==========================================================================
   REFINEMENT 4: SUBCATEGORY CIRCLES (STORIES BAR) — NO BROKEN CAMERA ICONS
   & STYLISH UPPERCASE TEXT DIRECTLY INSIDE THE CIRCLE
   ========================================================================== */
ul.subcategories,
ul.subcategories.with-image {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 14px !important;
  margin: 10px 0 24px 0 !important;
  padding: 6px 10px 10px 10px !important;
  list-style: none !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  align-items: center !important;
}

ul.subcategories::-webkit-scrollbar {
  display: none !important;
}

ul.subcategories > li {
  flex: 0 0 90px !important;
  width: 90px !important;
  max-width: 90px !important;
  height: 90px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

@media (min-width: 768px) {
  ul.subcategories > li {
    flex: 0 0 110px !important;
    width: 110px !important;
    max-width: 110px !important;
    height: 110px !important;
  }
}

ul.subcategories > li.divider {
  display: none !important;
}

ul.subcategories > li > a,
ul.subcategories.with-image > li > a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 90px !important;
  height: 90px !important;
  min-height: 90px !important;
  border-radius: 50% !important;
  background-color: #f5f2eb !important;
  border: 1.5px solid #e5e0d5 !important;
  overflow: hidden !important;
  padding: 8px !important;
  margin: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(17, 17, 17, 0.05) !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease !important;
}

@media (min-width: 768px) {
  ul.subcategories > li > a,
  ul.subcategories.with-image > li > a {
    width: 110px !important;
    height: 110px !important;
    min-height: 110px !important;
    padding: 10px !important;
  }
}

ul.subcategories > li > a:hover,
ul.subcategories > li > a:focus {
  border-color: #111111 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(17, 17, 17, 0.12) !important;
}

/* Never show Shoptet's default camera/folder icon pseudo-elements */
ul.subcategories > li > a::before,
ul.subcategories > li > a::after,
ul.subcategories > li > a .image::before,
ul.subcategories > li > a .image::after {
  display: none !important;
  content: none !important;
}

ul.subcategories > li > a .image,
ul.subcategories.with-image > li > a .image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 50% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  z-index: 1 !important;
  background: transparent !important;
  display: block !important;
}

ul.subcategories > li > a .image img,
ul.subcategories.with-image > li > a .image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  filter: blur(1.5px) brightness(0.62) !important;
  transform: scale(1.08) !important;
  transition: transform 0.3s ease, filter 0.3s ease !important;
}

ul.subcategories > li > a:hover .image img {
  filter: blur(1px) brightness(0.54) !important;
  transform: scale(1.14) !important;
}

/* Hide broken/placeholder images completely so warm beige #F5F2EB circle shows cleanly */
ul.subcategories > li > a.v-subcat--no-img .image,
ul.subcategories > li > a.v-subcat--no-img .image img,
ul.subcategories > li > a .image img[src*="folder.svg"],
ul.subcategories > li > a .image img[data-src*="folder.svg"],
ul.subcategories > li > a .image img[src*=" empty"],
ul.subcategories > li > a .image img[src*="placeholder"] {
  display: none !important;
}

/* Category name centered DIRECTLY INSIDE the circle */
ul.subcategories > li > a .text,
ul.subcategories.with-image > li > a .text {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  padding: 0 2px !important;
  margin: 0 !important;
  font-size: 10.5px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-height: 3.6em !important;
  white-space: normal !important;
  word-break: break-word !important;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65) !important;
}

@media (min-width: 768px) {
  ul.subcategories > li > a .text,
  ul.subcategories.with-image > li > a .text {
    font-size: 11.5px !important;
  }
}

/* Matte black text #111111 on warm beige #F5F2EB when no valid photo exists */
ul.subcategories > li > a.v-subcat--no-img .text {
  color: #111111 !important;
  text-shadow: none !important;
}

/* ==========================================================================
   FIX #3 & REFINEMENT 5: "NEJPRODÁVANĚJŠÍ" (BESTSELLERS) IN CATEGORIES
   Force immediate horizontal swipeable carousel on mobile & desktop on initial load
   ========================================================================== */
.products-top-wrapper {
  margin: 8px 0 26px 0 !important;
  padding: 16px 14px !important;
  background-color: #faf8f4 !important;
  border: 1px solid #ede8dd !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}

.products-top-wrapper .products-top-header {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #111111 !important;
  margin: 0 0 14px 0 !important;
  text-align: left !important;
}

#productsTop,
#productsTop.products-inline,
#productsTop.products-inline.products-top,
.products-inline.products-top {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  gap: 12px !important;
  padding: 0 0 8px 0 !important;
  margin: 0 !important;
  width: 100% !important;
  scrollbar-width: thin;
  align-items: stretch !important;
}

#productsTop::-webkit-scrollbar {
  height: 4px;
}

#productsTop::-webkit-scrollbar-thumb {
  background: #d5cfc2;
  border-radius: 4px;
}

/* Show ALL bestseller cards in the horizontal carousel immediately on mobile & desktop */
#productsTop > .product,
#productsTop > .product.active,
#productsTop > .product.inactive,
#productsTop > .product.revealed,
#productsTop > .p-switchable,
#productsTop.products-inline > div,
#productsTop.products-inline.products-top > div.product,
#productsTop.products-inline.products-top > div.product.inactive,
#productsTop.products-inline.products-top > div.product.revealed {
  position: relative !important;
  height: auto !important;
  overflow: visible !important;
  transform: none !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 0 0 44% !important;
  width: 44% !important;
  max-width: 44% !important;
  min-width: 148px !important;
  scroll-snap-align: start !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

@media (min-width: 768px) {
  #productsTop > .product,
  #productsTop > .product.active,
  #productsTop > .product.inactive,
  #productsTop > .product.revealed,
  #productsTop.products-inline.products-top > div.product,
  #productsTop.products-inline.products-top > div.product.inactive,
  #productsTop.products-inline.products-top > div.product.revealed {
    flex: 0 0 195px !important;
    width: 195px !important;
    max-width: 195px !important;
  }
}

.products-top-wrapper .button-wrapper,
.products-top-wrapper .toggle-top-products {
  display: none !important;
}

#productsTop > div .p,
#productsTop.products-inline.products-top > div .p {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  background: #ffffff !important;
  border: 1px solid #eae5da !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

#productsTop > div .p a.image,
#productsTop > div .p .image,
#productsTop.products-inline.products-top > div .p a.image,
#productsTop.products-inline.products-top > div .p .image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background-color: #f5f2eb !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

#productsTop > div .p a.image img,
#productsTop > div .p .image img,
#productsTop.products-inline.products-top > div .p a.image img,
#productsTop.products-inline.products-top > div .p .image img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

#productsTop > div .p .p-in,
#productsTop.products-inline.products-top > div .p .p-in {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 1 auto !important;
  padding: 8px 10px 10px !important;
  width: 100% !important;
}

#productsTop > div .p .name,
#productsTop.products-inline.products-top > div .p .name {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  color: #111111 !important;
  text-decoration: none !important;
  text-align: left !important;
  margin: 0 0 6px 0 !important;
  min-height: 32px !important;
  max-height: 33px !important;
}

#productsTop > div .p .ratings-wrapper,
#productsTop > div .p .price-standard-wrapper,
#productsTop > div .p .price-save,
#productsTop.products-inline.products-top > div .p .ratings-wrapper,
#productsTop.products-inline.products-top > div .p .price-standard-wrapper,
#productsTop.products-inline.products-top > div .p .price-save {
  display: none !important;
}

#productsTop > div .p .price-final,
#productsTop > div .p .price-final strong,
#productsTop.products-inline.products-top > div .p .price-final,
#productsTop.products-inline.products-top > div .p .price-final strong {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

/* ==========================================================================
   REFINEMENT 6: SUBTLE CATEGORY SEO DESCRIPTIONS (ERIKA STYLE)
   Prevent long category descriptions from pushing products down the screen
   ========================================================================== */
.category-top .category-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  margin: 8px 0 8px 0 !important;
  color: #111111 !important;
}

.category-perex:not(.empty-content),
.category-top-description,
.category__secondDescription {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #666666 !important;
  margin: 4px 0 14px 0 !important;
  padding: 0 !important;
}

/* Normalize oversized inline styles inside category-perex */
.category-perex:not(.empty-content) *,
.category-top-description * {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #666666 !important;
}

.category-perex:not(.empty-content) h2,
.category-perex:not(.empty-content) h3,
.category-perex:not(.empty-content) strong {
  font-weight: 600 !important;
  color: #333333 !important;
}

.category-perex:not(.empty-content) p,
.category-perex:not(.empty-content) ul,
.category-perex:not(.empty-content) blockquote {
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.category-perex.v-perex-collapsible:not(.is-expanded) {
  max-height: 42px !important;
  overflow: hidden !important;
  position: relative !important;
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

.v-perex-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 2px 0;
  margin: 0 0 12px 0;
  font-size: 12px;
  font-weight: 600;
  color: #111111;
  text-decoration: underline;
  cursor: pointer;
}

/* ==========================================================================
   MODULE 3 & REFINEMENT 1: STRICT CATALOG IMAGE ALIGNMENT (3:4 UNIFORM CROP)
   ========================================================================== */

/* Strictly hide broken short description snippet (sizing tables) on catalog cards */
.products-block .p-desc,
.p-in .p-desc,
.p-bottom .p-desc,
.products-block [data-testid="productCardShortDescr"] {
  display: none !important;
}

/* Streamline catalog cards like Erika Fashion: hide empty star rows & bulky Detail button */
.products-block .p .ratings-wrapper,
.products-block .p .p-tools,
.products-block .p .p-code {
  display: none !important;
}

/* Enforce strict 3:4 vertical rectangle container & edge-to-edge image crop */
.products-block .p .image,
.products-block .p a.image,
.p-in .image,
.v-rv-card__image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background-color: #f5f2eb !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  border-radius: 3px !important;
  flex-shrink: 0 !important;
}

/* Fallback for older browsers without aspect-ratio */
@supports not (aspect-ratio: 3 / 4) {
  .products-block .p .image,
  .products-block .p a.image,
  .p-in .image,
  .v-rv-card__image {
    height: 0 !important;
    padding-bottom: 133.3333% !important;
  }
}

.products-block .p .image::before,
.products-block .p .image::after,
.products-block .p a.image::before,
.products-block .p a.image::after {
  display: none !important;
  content: none !important;
}

.products-block .p .image img,
.products-block .p a.image img,
.p-in .image img,
.v-rv-card__image img {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  transition: transform 0.35s ease;
}

@media (min-width: 768px) {
  .products-block .p:hover a.image img,
  .v-rv-card:hover .v-rv-card__image img {
    transform: scale(1.03);
  }
}

/* Clean Typography for Product Title, Price & Available Sizes on Cards */
.products-block .p .p-in {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex: 1 1 auto !important;
  padding: 0 2px !important;
}

.products-block .p .name,
.products-block.products .p .name,
.v-rv-card__name {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  color: #111111 !important;
  height: auto !important;
  min-height: 35px !important;
  max-height: 36px !important;
  margin-bottom: 4px !important;
  text-align: left !important;
  text-decoration: none !important;
}

.products-block .p .p-bottom {
  margin-top: 2px !important;
}

.products-block .p .p-bottom > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
}

.products-block .p .p-bottom .prices {
  width: 100% !important;
  flex-basis: auto !important;
  text-align: left !important;
}

.products-block .p .price-final,
.products-block.products .p .price strong,
.products-block.products .p .price span,
.v-rv-card__price {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  line-height: 1.2 !important;
}

/* Injected Available Sizes Row Below Price on Catalog Cards */
.v-card-sizes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  min-height: 18px;
  font-size: 11px;
  line-height: 1.2;
  color: #555555;
  letter-spacing: 0.03em;
}

.v-card-sizes__item {
  display: inline-block;
  font-weight: 500;
  color: #444444;
}

.v-card-sizes__item.is-soldout {
  color: #b5b5b5;
  text-decoration: line-through;
}

/* Remove ugly Shoptet cell borders on desktop & mobile catalog grids */
.products-block > div {
  border: 0 !important;
}

/* Force 2-Column Mobile Grid with 10px Gaps on main catalog grids (excluding horizontal carousels) */
@media (max-width: 767px) {
  .products-block:not(.products-related):not(.products-alternative):not(.products-top),
  .products-block.products:not(.products-related):not(.products-alternative):not(.products-top),
  .columns-mobile-2 .products-block:not(.products-related):not(.products-alternative):not(.products-top) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 10px !important;
    padding: 0 10px !important;
    margin: 0 !important;
  }

  .products-block:not(.products-related):not(.products-alternative):not(.products-top) > div,
  .products-block.products:not(.products-related):not(.products-alternative):not(.products-top) > div,
  .columns-mobile-2 .products-block:not(.products-related):not(.products-alternative):not(.products-top) > div {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
  }
}

/* ==========================================================================
   FIX #5: PRODUCT GALLERY — SWIPE/ARROWS + LIGHTBOX ZOOM ON IMAGE TAP
   ========================================================================== */
.p-image-wrapper .p-image a.p-main-image {
  display: block;
  position: relative;
  cursor: zoom-in;
}

/* ==========================================================================
   MODULE 4: PRODUCT DETAIL — VARIANT PILLS (SIZES, ONESIZE & COLOR SWATCHES)
   ========================================================================== */
#product-detail-form table.detail-parameters {
  width: 100% !important;
  margin: 12px 0 16px 0 !important;
  border-collapse: collapse !important;
}

#product-detail-form table.detail-parameters tr.variant-list {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  border: 0 !important;
}

#product-detail-form table.detail-parameters tr.variant-list th {
  padding: 0 !important;
  border: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #111111 !important;
}

#product-detail-form table.detail-parameters tr.variant-list td {
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Hide native Shoptet select & raw radio labels once our Variant Pills are initialized */
.v-variants-enhanced select,
.v-variants-enhanced label.advanced-parameter {
  display: none !important;
}

.v-variant-pills-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin: 4px 0 14px 0;
}

.v-variant-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v-variant-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111111;
}

.v-variant-group__selected {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #555555;
}

.v-variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Rectangular Erika-Style Pill Button */
.v-pill-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 54px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d8d4ca;
  border-radius: 4px;
  background-color: #ffffff;
  color: #111111;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.v-pill-btn:hover:not(:disabled):not(.is-disabled) {
  border-color: #111111;
  background-color: #f5f2eb;
}

.v-pill-btn.is-active {
  background-color: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
}

/* Sold-Out Pill — Clickable for Watchdog ("Hlídat") + Keep Native Bottom Watchdog Link Visible */
.v-pill-btn:disabled,
.v-pill-btn.is-disabled,
.v-pill-btn.is-unavailable,
.v-pill.is-disabled,
.v-pill.is-unavailable {
  background-color: #f7f5f0 !important;
  border-color: #d8d4ca !important;
  color: #8c887f !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  opacity: 0.94 !important;
  gap: 6px;
}

.v-pill-btn.is-disabled:hover,
.v-pill-btn.is-unavailable:hover,
.v-pill.is-disabled:hover,
.v-pill.is-unavailable:hover {
  border-color: #111111 !important;
  background-color: #f0ece1 !important;
  color: #111111 !important;
  opacity: 1 !important;
}

.v-pill-btn.is-disabled .v-pill-label,
.v-pill-btn.is-unavailable .v-pill-label,
.v-pill.is-disabled .v-pill-label,
.v-pill.is-unavailable .v-pill-label {
  text-decoration: line-through;
  color: #9a968d;
}

.v-pill-watchdog {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #111111 !important;
  background-color: #e7e2d5;
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.15;
  text-decoration: none !important;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.v-pill-btn.is-disabled:hover .v-pill-watchdog,
.v-pill-btn.is-unavailable:hover .v-pill-watchdog,
.v-pill.is-disabled:hover .v-pill-watchdog,
.v-pill.is-unavailable:hover .v-pill-watchdog {
  background-color: #111111;
  color: #ffffff !important;
}

.link-icon.watchdog,
.link-icons .watchdog,
a[href*="hlidat"] {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Color Swatch Dot inside Pill */
.v-pill-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.22);
  flex-shrink: 0;
  display: inline-block;
}

.v-pill-btn.is-active .v-pill-swatch {
  border-color: rgba(255, 255, 255, 0.75);
}

/* Thumbnail Variant Pill (when variant has an associated photo) */
.v-pill-btn--thumb {
  height: 54px;
  padding: 4px 12px 4px 5px;
  min-width: 92px;
  justify-content: flex-start;
}

.v-pill-thumb {
  width: 38px;
  height: 44px;
  border-radius: 3px;
  object-fit: cover;
  background-color: #f5f2eb;
  flex-shrink: 0;
  display: block;
}

/* Attention pulse when user clicks Add-to-Cart before picking a variant */
@keyframes vPillPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(214, 53, 0, 0); }
  50% { box-shadow: 0 0 0 5px rgba(214, 53, 0, 0.22); }
}

.v-variant-pills-wrap.v-needs-selection .v-pill-btn:not(.is-disabled),
body.variant-not-chosen .v-variant-pills-wrap .v-pill-btn:not(.is-disabled) {
  border-color: #d63500;
  animation: vPillPulse 0.9s ease 2;
}

.v-variant-pills-wrap.v-needs-selection .v-variant-group__selected,
body.variant-not-chosen .v-variant-pills-wrap .v-variant-group__selected {
  color: #d63500;
  font-weight: 600;
}

/* ==========================================================================
   MODULE 5: ERIKA-STYLE BLACK PILL ADD-TO-CART BUTTON & 2 TRUST BADGES
   ========================================================================== */
.p-info-wrapper .add-to-cart,
#product-detail-form .add-to-cart {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  margin: 14px 0 16px 0 !important;
}

/* Keep quantity spinner offscreen (NOT display:none) so Shoptet's Bootstrap tooltip calls never crash */
.p-info-wrapper .add-to-cart .quantity,
#product-detail-form .add-to-cart .quantity {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}

.p-info-wrapper .add-to-cart-button,
#product-detail-form .add-to-cart-button,
button.add-to-cart-button {
  width: 100% !important;
  height: 52px !important;
  border-radius: 50px !important;
  background-color: #111111 !important;
  border: 1px solid #111111 !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 24px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.12) !important;
  transition: background-color 0.2s ease, transform 0.15s ease !important;
}

.p-info-wrapper .add-to-cart-button:hover,
#product-detail-form .add-to-cart-button:hover {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}

.p-info-wrapper .add-to-cart-button:active,
#product-detail-form .add-to-cart-button:active {
  transform: scale(0.99);
}

/* 2-Column Luxury Trust Badges Row */
.v-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 14px 0 18px 0;
}

.v-trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  background-color: #f5f2eb;
  border: 1px solid #e7e2d7;
  border-radius: 6px;
}

.v-trust-badge__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-trust-badge__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.v-trust-badge__text {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  color: #111111;
}

/* ==========================================================================
   REFINEMENT 8: PRODUCT PAGE 3-TAB ACCORDION (POPIS, DOPLŇKOVÉ PARAMETRY, DISKUZE)
   Placed right below #product-detail-form; hide "Detailní informace" link
   ========================================================================== */
p[data-testid="productCardDescr"],
.p-info-wrapper a[href="#description"] {
  display: none !important;
}

.v-product-accordion {
  width: 100%;
  margin: 18px 0 18px 0;
  border-top: 1px solid #e5e0d5;
}

.v-acc-item {
  border-bottom: 1px solid #e5e0d5;
}

.v-acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111111;
  transition: color 0.2s ease;
}

.v-acc-header:hover {
  color: #000000;
}

.v-acc-icon {
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: #111111;
  transition: transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.v-acc-item.is-open .v-acc-icon {
  transform: rotate(45deg);
}

.v-acc-body {
  display: none;
  padding: 2px 4px 18px 4px;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

.v-acc-item.is-open .v-acc-body {
  display: block;
}

.v-acc-body h2,
.v-acc-body h3 {
  font-size: 15px !important;
  font-weight: 600 !important;
  margin: 0 0 10px 0 !important;
  color: #111111 !important;
}

.v-acc-body table.detail-parameters {
  width: 100% !important;
  margin: 4px 0 !important;
  border-collapse: collapse !important;
}

.v-acc-body table.detail-parameters th,
.v-acc-body table.detail-parameters td {
  padding: 8px 6px !important;
  border-bottom: 1px solid #eeeae0 !important;
  font-size: 13px !important;
  text-align: left !important;
}

/* Hide the old duplicate bottom tabs section once moved into the 3-row Accordion */
.shp-tabs-wrapper.p-detail-tabs-wrapper.v-tabs-converted {
  display: none !important;
}

/* ==========================================================================
   FIX #2: "NAPOSLEDY PROHLÍŽENÉ" & "SOUVISEJÍCÍ PRODUKTY"
   SINGLE-ROW HORIZONTAL SWIPEABLE CAROUSEL (SLIDER) WITH ARROWS ON DESKTOP
   ========================================================================== */
.products-related-header,
.products-alternative-header,
.v-rv-section__title {
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #111111 !important;
  margin: 32px 0 16px 0 !important;
  padding: 0 10px !important;
  text-align: center !important;
}

/* Hide Shoptet's legacy "Zobrazit další produkty" button under related products */
.browse-p {
  display: none !important;
}

.v-carousel-wrap {
  position: relative;
  width: 100%;
}

/* Single-Row Horizontal Swipeable Track for Související & Naposledy prohlížené */
.products-block.products-related,
.products-block.products-alternative,
#versai-recently-viewed .v-rv-grid,
#versai-recently-viewed .v-rv-track,
.v-rv-section .v-rv-grid,
.v-rv-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  gap: 14px !important;
  padding: 4px 10px 14px 10px !important;
  margin: 0 0 24px 0 !important;
  scrollbar-width: none;
  align-items: stretch !important;
}

.products-block.products-related::-webkit-scrollbar,
.products-block.products-alternative::-webkit-scrollbar,
#versai-recently-viewed .v-rv-track::-webkit-scrollbar,
.v-rv-grid::-webkit-scrollbar {
  display: none !important;
}

@media (min-width: 768px) {
  .products-block.products-related,
  .products-block.products-alternative,
  #versai-recently-viewed .v-rv-track,
  .v-rv-grid {
    padding: 4px 2px 14px 2px !important;
    gap: 16px !important;
  }
}

/* Individual Slide Widths: ~2.2 cards visible on mobile, 4 cards on desktop */
.products-block.products-related > div,
.products-block.products-related > div.product,
.products-block.products-related > div.product.inactive,
.products-block.products-alternative > div,
.products-block.products-alternative > div.product,
.products-block.products-alternative > div.product.inactive,
#versai-recently-viewed .v-rv-card,
.v-rv-card {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 44% !important;
  width: 44% !important;
  max-width: 44% !important;
  min-width: 150px !important;
  scroll-snap-align: start !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  text-decoration: none !important;
  color: #111111 !important;
}

@media (min-width: 768px) {
  .products-block.products-related > div,
  .products-block.products-related > div.product,
  .products-block.products-related > div.product.inactive,
  .products-block.products-alternative > div,
  .products-block.products-alternative > div.product,
  .products-block.products-alternative > div.product.inactive,
  #versai-recently-viewed .v-rv-card,
  .v-rv-card {
    flex: 0 0 calc((100% - 48px) / 4) !important;
    width: calc((100% - 48px) / 4) !important;
    max-width: 280px !important;
    min-width: 210px !important;
  }
}

#versai-recently-viewed,
.v-rv-section {
  width: 100%;
  max-width: 1440px;
  margin: 36px auto 36px auto;
  padding: 24px 10px 0 10px;
  border-top: 1px solid #e5e0d5;
  clear: both;
}

.v-rv-card__info {
  display: flex;
  flex-direction: column;
  padding: 0 2px;
}

/* Desktop Left/Right Carousel Navigation Arrows */
.v-carousel-arrow {
  display: none;
}

@media (min-width: 768px) {
  .v-carousel-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #dcd7cc;
    color: #111111;
    box-shadow: 0 4px 12px rgba(17, 17, 17, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
  }

  .v-carousel-arrow:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
    transform: translateY(-50%) scale(1.06);
  }

  .v-carousel-arrow--prev {
    left: -14px;
  }

  .v-carousel-arrow--next {
    right: -14px;
  }
}

/* ==========================================================================
   REFINEMENT 11: MINIMALIST ERIKA-STYLE FOOTER (REMOVE GIANT SOCIAL WIDGETS)
   ========================================================================== */
#footer .custom-footer__instagram,
#footer .custom-footer__facebook,
#footer .instagram-widget,
#footer #facebookWidget,
#footer .footer-links-icons,
#footer .footer-rows,
#footer .footer-bottom {
  display: none !important;
}

#footer,
footer.footer {
  background-color: #f5f2eb !important;
  border-top: 1px solid #e5e0d5 !important;
  padding: 36px 0 28px 0 !important;
  margin-top: 40px !important;
  color: #111111 !important;
}

.v-minimal-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

/* Row 1: Contact Details & 3 Circular Black Social Buttons */
.v-minimal-footer__top {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5e0d5;
}

@media (min-width: 768px) {
  .v-minimal-footer__top {
    flex-direction: row;
  }
}

.v-minimal-footer__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  font-size: 13.5px;
  color: #111111;
}

.v-minimal-footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111111 !important;
  text-decoration: none !important;
  font-weight: 500;
}

.v-minimal-footer__contact-item:hover {
  opacity: 0.72;
}

.v-minimal-footer__contact-item svg {
  width: 16px;
  height: 16px;
  stroke: #111111;
  flex-shrink: 0;
}

.v-minimal-footer__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.v-social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #111111 !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.v-social-circle:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.v-social-circle svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  display: block;
}

/* Row 2: Horizontal "Informace pro vás" Links */
.v-minimal-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.v-minimal-footer__links a {
  font-size: 13px;
  font-weight: 500;
  color: #333333 !important;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.v-minimal-footer__links a:hover {
  color: #111111 !important;
  text-decoration: underline !important;
}

/* Row 3: Centered VERSAI VS JEANS Logo & Copyright */
.v-minimal-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
}

.v-minimal-footer__logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #111111 !important;
  text-decoration: none !important;
}

.v-minimal-footer__logo img {
  max-height: 36px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.v-minimal-footer__copy {
  font-size: 12px;
  color: #666666;
}

/* ==========================================================================
   MODULE 6: MOBILE STICKY ADD-TO-CART BAR (100% PRESERVED)
   ========================================================================== */
.v-sticky-atc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid #e5e0d5;
  box-shadow: 0 -4px 16px rgba(17, 17, 17, 0.08);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translateY(110%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.v-sticky-atc.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.v-sticky-atc__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.v-sticky-atc__variant {
  font-size: 11px;
  color: #666666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v-sticky-atc__price {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
}

.v-sticky-atc__btn {
  flex: 1 1 auto;
  max-width: 220px;
  height: 44px;
  border-radius: 50px;
  background-color: #111111;
  border: 1px solid #111111;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .v-sticky-atc {
    display: none !important;
  }
}
