@import url("https://fonts.googleapis.com/css2?family=Gidole&display=swap");

/*
 * KLUB-SHOP THEME v2
 * PrestaShop 8.x / Classic child theme
 * Visual direction inspired by PRINT-SPORT layout.
 * Club colors are injected per shop by Club Design Settings.
 */

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
    --club-primary: #c8102e;
    --club-secondary: #191919;
    --club-accent: #ffffff;

    --ks-bg: #ffffff;
    --ks-soft-bg: #f5f5f5;
    --ks-text: #222222;
    --ks-muted: #707070;
    --ks-border: #e7e7e7;
    --ks-container: 1320px;
    --ks-radius: 4px;
    --ks-transition: .2s ease;
}

/* =========================================================
   GLOBAL / TYPOGRAPHY
   ========================================================= */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--ks-bg);
    color: var(--ks-text);
    font-family: "Gidole", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

#wrapper {
    background: #fff;
}

.container {
    width: 100%;
    max-width: var(--ks-container);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4 {
    color: var(--ks-text);
    font-family: "Gidole", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -.015em;
}

h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }

a {
    color: inherit;
    transition: color var(--ks-transition), opacity var(--ks-transition);
}

a:hover,
a:focus {
    color: var(--club-primary);
    text-decoration: none;
}

/* =========================================================
   HEADER - PRINT-SPORT STYLE
   ========================================================= */
#header {
    background: #fff;
    box-shadow: none;
    position: relative;
    z-index: 50;
}

/* top information bar */
#header .header-nav {
    min-height: 34px;
    margin-bottom: 0;
    padding: 0;
    background: var(--club-primary);
    border: 0;
    color: var(--club-accent);
    font-size: 12px;
}

#header .header-nav .container {
    min-height: 34px;
    display: flex;
    align-items: center;
}

#header .header-nav a,
#header .header-nav span,
#header .header-nav i,
#header .header-nav .material-icons {
    color: var(--club-accent);
}

#header .header-nav a:hover {
    color: var(--club-accent);
    opacity: .78;
}

/* main navigation row */
#header .header-top {
    min-height: 82px;
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid var(--ks-border);
}

#header .header-top > .container {
    display: flex;
    align-items: center;
}

#header .logo {
    width: auto;
    max-height: 58px;
}

/* main menu */
#_desktop_top_menu .top-menu > li > a {
    padding: 14px 15px;
    color: #353535;
    font-family: "Gidole", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
}

#_desktop_top_menu .top-menu > li > a:hover,
#_desktop_top_menu .top-menu > li.current > a {
    color: var(--club-primary);
}

#_desktop_top_menu .popover {
    border: 1px solid var(--ks-border);
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(0,0,0,.09);
}

/* search */
#search_widget form input {
    min-width: 245px;
    height: 42px;
    padding: 0 42px 0 14px;
    background: #f5f5f5;
    border: 1px solid #ececec;
    border-radius: 2px;
    color: var(--ks-text);
    font-size: 13px;
}

#search_widget form input:focus {
    background: #fff;
    border-color: var(--club-primary);
    outline: 0;
}

/* account/cart icons */
#header .user-info a,
#header .blockcart a {
    color: #222;
}

#header .user-info a:hover,
#header .blockcart a:hover {
    color: var(--club-primary);
}

/* =========================================================
   HERO
   ========================================================= */
.club-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    margin: 0 0 42px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.club-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.68) 0%,
        rgba(0,0,0,.48) 42%,
        rgba(0,0,0,.12) 72%,
        rgba(0,0,0,0) 100%
    );
}

.club-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--ks-container);
    margin: 0 auto;
    padding: 64px 28px;
    color: #fff;
}

.club-hero-club {
    display: block;
    margin: 0 0 10px;
    color: var(--club-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.club-hero h1 {
    max-width: 720px;
    margin: 0 0 12px;
    color: #fff;
    font-family: "Gidole", Arial, sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.05;
    text-transform: none;
}

.club-hero p {
    max-width: 640px;
    margin: 0 0 24px;
    color: rgba(255,255,255,.92);
    font-size: 18px;
    line-height: 1.45;
}

.club-button,
.club-hero .club-button {
    display: inline-block;
    padding: 12px 23px;
    background: var(--club-primary);
    border: 1px solid var(--club-primary);
    border-radius: var(--ks-radius);
    color: var(--club-accent);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background var(--ks-transition), border-color var(--ks-transition), transform var(--ks-transition);
}

.club-button:hover,
.club-hero .club-button:hover {
    background: var(--club-secondary);
    border-color: var(--club-secondary);
    color: var(--club-accent);
    transform: translateY(-1px);
}

/* =========================================================
   HOME SECTIONS / TITLES
   ========================================================= */
.page-home #main {
    padding-top: 0;
}

.page-home .featured-products,
.page-home .product-accessories,
.page-home section {
    margin-bottom: 48px;
}

.page-home .products-section-title {
    margin: 0 0 26px;
    color: var(--ks-text);
    font-family: "Gidole", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    text-align: left;
    text-transform: uppercase;
}

.page-home .products-section-title::after {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 8px;
    background: var(--club-primary);
}

.page-home .all-product-link {
    margin-top: 15px;
    color: var(--ks-muted);
    font-size: 13px;
    font-weight: 600;
}

.page-home .all-product-link:hover {
    color: var(--club-primary);
}

/* =========================================================
   PRODUCT GRID / CARDS - CLEAN PRINT-SPORT FEEL
   ========================================================= */
.products {
    margin-left: -12px;
    margin-right: -12px;
}

.products .product-miniature {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 28px;
}

.product-miniature .thumbnail-container {
    height: auto;
    margin-bottom: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    transition: transform var(--ks-transition);
}

.product-miniature:hover .thumbnail-container {
    transform: translateY(-3px);
    box-shadow: none;
}

.product-miniature .product-thumbnail {
    display: block;
    overflow: hidden;
    background: #f7f7f7;
}

.product-miniature .product-thumbnail img {
    transition: transform .3s ease;
}

.product-miniature:hover .product-thumbnail img {
    transform: scale(1.02);
}

.product-miniature .product-description {
    position: relative;
    height: auto;
    padding: 12px 0 0;
    background: transparent;
}

.product-miniature .product-title {
    min-height: 40px;
    margin: 0 0 5px;
    text-align: left;
}

.product-miniature .product-title a {
    color: #343434;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.product-miniature .product-title a:hover {
    color: var(--club-primary);
}

.product-price-and-shipping {
    text-align: left;
}

.product-price-and-shipping .price {
    color: var(--club-primary);
    font-size: 17px;
    font-weight: 700;
}

.product-price-and-shipping .regular-price {
    color: #8a8a8a;
    font-size: 12px;
}

/* badges */
.product-flags li.product-flag {
    margin: 7px 0 0 7px;
    padding: 4px 7px;
    background: var(--club-primary);
    border-radius: 0;
    color: var(--club-accent);
    font-size: 10px;
    font-weight: 700;
    box-shadow: none;
}

.product-flags li.product-flag.discount,
.product-flags li.product-flag.on-sale {
    background: var(--club-secondary);
}

/* quick view / favorite style */
.product-miniature .highlighted-informations {
    background: rgba(255,255,255,.95);
}

/* =========================================================
   BUTTONS / FORMS
   ========================================================= */
.btn {
    min-height: 42px;
    padding: 10px 20px;
    border-radius: var(--ks-radius);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:active {
    background: var(--club-primary);
    border-color: var(--club-primary);
    color: var(--club-accent);
}

.btn-primary:hover {
    background: var(--club-secondary);
    border-color: var(--club-secondary);
    color: var(--club-accent);
}

.form-control {
    min-height: 42px;
    border: 1px solid #dcdcdc;
    border-radius: 2px;
    box-shadow: none;
}

.form-control:focus {
    border-color: var(--club-primary);
    box-shadow: none;
}

.custom-radio input[type="radio"]:checked + span,
.custom-checkbox input[type="checkbox"]:checked + span {
    background-color: var(--club-primary);
    border-color: var(--club-primary);
}

/* =========================================================
   CATEGORY / PRODUCT DETAIL
   ========================================================= */
.block-category {
    padding: 24px 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.block-category h1 {
    margin-bottom: 8px;
    font-family: "Gidole", Arial, sans-serif;
    font-size: 34px;
    text-transform: uppercase;
}

#product .product-cover img {
    border-radius: 0;
}

.product-prices .current-price,
.product-prices .current-price span {
    color: var(--club-primary);
    font-size: 28px;
    font-weight: 700;
}

.product-actions .add-to-cart {
    background: var(--club-primary);
    border-color: var(--club-primary);
}

.product-actions .add-to-cart:hover {
    background: var(--club-secondary);
    border-color: var(--club-secondary);
}

.product-variants .form-control-select,
.product-quantity #quantity_wanted {
    min-height: 42px;
    border-radius: 2px;
}

/* =========================================================
   CART / CONTENT BLOCKS
   ========================================================= */
.card,
.block-categories,
#left-column .block,
#right-column .block,
.cart-container,
.cart-summary {
    border: 1px solid var(--ks-border);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

/* =========================================================
   FOOTER - PRINT-SPORT-LIKE LAYERS
   ========================================================= */
#footer {
    margin-top: 58px;
    background: #fff;
    border: 0;
    color: var(--ks-text);
}

/* newsletter area */
#footer .block_newsletter,
#footer .block-newsletter {
    margin: 0;
    padding: 17px 22px;
    background: var(--club-primary);
    color: var(--club-accent);
}

#footer .block_newsletter p,
#footer .block_newsletter h3,
#footer .block_newsletter h4,
#footer .block-newsletter p,
#footer .block-newsletter h3,
#footer .block-newsletter h4 {
    color: var(--club-accent);
}

#footer .block_newsletter input[type="email"],
#footer .block-newsletter input[type="email"] {
    min-height: 40px;
    border: 0;
    border-radius: 2px 0 0 2px;
}

#footer .block_newsletter .btn,
#footer .block-newsletter .btn {
    background: var(--club-secondary);
    border-color: var(--club-secondary);
    color: var(--club-accent);
}

/* main footer */
#footer .footer-container {
    margin-top: 0;
    padding-top: 38px;
    padding-bottom: 35px;
    background: #fff;
    border-top: 1px solid var(--ks-border);
}

#footer .h3,
#footer .h4,
#footer .h3 a,
#footer .h4 a {
    color: #242424;
    font-family: "Gidole", Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

#footer a,
#footer p,
#footer li {
    color: #6f6f6f;
    font-size: 14px;
}

#footer a:hover {
    color: var(--club-primary);
}

/* bottom copyright bar where present */
#footer .copyright,
#footer .footer-copyright,
#footer .copyright-container {
    padding: 12px 0;
    background: var(--club-secondary);
    color: var(--club-accent);
}

/* =========================================================
   CLUB UTILITY CLASSES
   ========================================================= */
.club-bg-primary { background: var(--club-primary); color: var(--club-accent); }
.club-bg-secondary { background: var(--club-secondary); color: var(--club-accent); }
.club-text-primary { color: var(--club-primary); }
.club-text-secondary { color: var(--club-secondary); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
    #search_widget form input {
        min-width: 180px;
    }

    .club-hero {
        min-height: 390px;
    }

    .club-hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    #header .header-nav {
        background: var(--club-primary);
    }

    #header .header-top {
        min-height: auto;
        padding: 10px 0;
    }

    #header .logo {
        max-height: 45px;
    }

    .club-hero {
        min-height: 390px;
        margin-bottom: 32px;
    }

    .club-hero::before {
        background: rgba(0,0,0,.56);
    }

    .club-hero-content {
        padding: 50px 20px;
    }

    .club-hero h1 {
        font-size: 34px;
    }

    .club-hero p {
        font-size: 16px;
    }

    .page-home .products-section-title {
        font-size: 23px;
    }

    .products .product-miniature {
        padding-left: 8px;
        padding-right: 8px;
    }

    #footer .footer-container {
        padding-top: 28px;
    }
}

/* =========================================================
   KLUB-SHOP V3 - PRINT-SPORT-LIKE HEADER / FOOTER
   ========================================================= */

.ks-topbar .container { display: block !important; }
.ks-topbar-row { min-height: 34px; display: flex; align-items: center; }
.ks-topbar-contact { display: flex; align-items: center; gap: 18px; }
.ks-topbar-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.ks-topbar-icon { line-height: 1; }
.ks-topbar-right { display: flex; justify-content: flex-end; align-items: center; }
.ks-topbar-right > * { margin-left: 14px; }

.ks-main-header { min-height: 78px; }
.ks-header-row { display: flex; align-items: center; }
.ks-logo-wrap { display: flex; align-items: center; }
.ks-logo-heading { margin: 0; line-height: 1; }
.ks-logo-wrap img { width: auto; max-height: 54px; }
.ks-header-tools { display: flex; align-items: center; justify-content: flex-end; }
.ks-header-tools #_desktop_top_menu { flex: 1 1 auto; }
.ks-header-tools #search_widget { margin-left: 18px; }

.ks-footer-contact { background: #8d8d8d; color: #fff; padding: 25px 0; }
.ks-footer-contact .row { display: flex; align-items: center; }
.ks-footer-contact-title { font-family: "Gidole", Arial, sans-serif; font-size: 22px; font-weight: 700; }
.ks-footer-contact-text { margin-top: 4px; font-size: 17px; }
.ks-footer-contact-data { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.ks-footer-contact-link { color: #fff !important; font-size: 16px; font-weight: 700; }
.ks-footer-contact-link span { margin-right: 6px; }

.ks-footer-newsletter { background: var(--club-primary); color: var(--club-accent); }
.ks-footer-newsletter > .container { padding-top: 0; padding-bottom: 0; }
.ks-footer-newsletter .block_newsletter,
.ks-footer-newsletter .block-newsletter { width: 100%; background: transparent !important; padding: 17px 0 !important; }
.ks-footer-newsletter .block_newsletter .row,
.ks-footer-newsletter .block-newsletter .row { align-items: center; }
.ks-footer-newsletter .block_newsletter p,
.ks-footer-newsletter .block-newsletter p,
.ks-footer-newsletter .block_newsletter h3,
.ks-footer-newsletter .block-newsletter h3 { color: var(--club-accent) !important; }

.ks-footer-main { border-top: 0 !important; padding-top: 36px !important; padding-bottom: 34px !important; }
.ks-footer-main-row { display: flex; align-items: flex-start; }
.ks-footer-brand { padding-right: 32px; }
.ks-footer-logo img { width: auto; max-width: 220px; max-height: 64px; }
.ks-footer-club-name { margin-top: 14px; color: #222; font-family: "Gidole", Arial, sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; }
.ks-footer-meta { margin-top: 7px; color: #6f6f6f; font-size: 13px; }
.ks-footer-links .block-contact,
.ks-footer-links .links { margin-top: 0; }

.ks-footer-bottom { background: var(--club-secondary); color: var(--club-accent); padding: 11px 0; }
.ks-footer-copy { margin: 0; color: var(--club-accent); font-size: 12px; }

@media (max-width: 767px) {
  .ks-mobile-nav { min-height: 48px; display: flex; align-items: center; }
  .ks-footer-contact .row,
  .ks-footer-main-row { display: block; }
  .ks-footer-contact-data { margin-top: 16px; justify-content: flex-start; align-items: flex-start; flex-direction: column; gap: 8px; }
  .ks-footer-brand { margin-bottom: 26px; }
  .ks-footer-logo img { max-height: 48px; }
}

/* =========================================================
   KLUB-SHOP V7 - GIDOLE TYPOGRAPHY
   ========================================================= */
body,
button,
input,
select,
textarea,
.btn,
#header,
#footer,
.product-miniature {
    font-family: "Gidole", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4,
.products-section-title,
.product-miniature .product-title,
.product-miniature .product-title a {
    font-family: "Gidole", Arial, sans-serif;
}

.product-miniature .product-title a {
    font-size: 15px;
    font-weight: 500;
}

.product-price-and-shipping .price {
    font-family: "Gidole", Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

/* =========================================================
   KLUB-SHOP HEADER V6
   Explicit desktop layout: logo / menu / search / user / cart
   ========================================================= */

@media (min-width: 768px) {
  #header .ks-topbar {
    min-height: 34px;
    background: var(--club-primary);
  }

  #header .ks-topbar .container {
    min-height: 34px;
  }

  #header .ks-topbar-inner {
    width: 100%;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  #header .ks-topbar-contact {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  #header .ks-topbar-item,
  #header .ks-topbar-brand {
    color: #fff !important;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
  }

  #header .ks-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  #header .ks-main-header {
    min-height: 86px;
    padding: 0;
    background: #fff;
    border-bottom: 1px solid #e9e9e9;
    box-shadow: 0 2px 9px rgba(0,0,0,.035);
  }

  #header .ks-main-header > .container {
    display: block;
  }

  #header .ks-header-grid {
    min-height: 86px;
    display: grid;
    grid-template-columns: minmax(160px, 210px) minmax(360px, 1fr) minmax(220px, 270px) auto;
    align-items: center;
    column-gap: 26px;
  }

  #header .ks-logo-wrap,
  #header .ks-mainmenu,
  #header .ks-search-wrap,
  #header .ks-header-actions {
    min-width: 0;
  }

  #header .ks-logo-heading {
    margin: 0;
  }

  #header .ks-logo-wrap img.logo,
  #header .ks-logo-wrap .logo {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 58px;
  }

  /* MAIN MENU */
  #header .ks-mainmenu {
    align-self: stretch;
    display: flex;
    align-items: center;
  }

  #header .ks-mainmenu #_desktop_top_menu,
  #header .ks-mainmenu #_desktop_top_menu.position-static,
  #header .ks-mainmenu .menu {
    position: relative !important;
    width: 100%;
    margin: 0;
  }

  #header .ks-mainmenu .top-menu[data-depth="0"] {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 28px;
    margin: 0;
    padding: 0;
  }

  #header .ks-mainmenu .top-menu[data-depth="0"] > li {
    position: relative !important;
    display: block;
    float: none !important;
    margin: 0;
    padding: 0;
  }

  #header .ks-mainmenu .top-menu[data-depth="0"] > li > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 86px;
    padding: 0 !important;
    color: #252525;
    font-family: "Gidole", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: .18px;
    text-transform: uppercase;
    white-space: nowrap;
  }

  #header .ks-mainmenu .top-menu[data-depth="0"] > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    height: 3px;
    background: var(--club-primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .18s ease;
  }

  #header .ks-mainmenu .top-menu[data-depth="0"] > li:hover > a,
  #header .ks-mainmenu .top-menu[data-depth="0"] > li.current > a {
    color: var(--club-primary);
  }

  #header .ks-mainmenu .top-menu[data-depth="0"] > li:hover > a::after,
  #header .ks-mainmenu .top-menu[data-depth="0"] > li.current > a::after {
    transform: scaleX(1);
  }

  /* COMPACT DROPDOWN - never full width */
  #header .ks-mainmenu .top-menu[data-depth="0"] > li > .sub-menu,
  #header .ks-mainmenu .top-menu[data-depth="0"] > li > .popover,
  #header .ks-mainmenu .top-menu[data-depth="0"] > li > .popover.sub-menu {
    position: absolute !important;
    top: calc(100% - 1px) !important;
    left: -16px !important;
    right: auto !important;
    z-index: 1000;
    display: none !important;
    width: 280px !important;
    min-width: 220px !important;
    max-width: 320px !important;
    margin: 0 !important;
    padding: 10px 0 !important;
    background: #fff !important;
    border: 0 !important;
    border-top: 3px solid var(--club-primary) !important;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 14px 32px rgba(0,0,0,.14) !important;
    transform: none !important;
  }

  #header .ks-mainmenu .top-menu[data-depth="0"] > li:hover > .sub-menu,
  #header .ks-mainmenu .top-menu[data-depth="0"] > li:hover > .popover,
  #header .ks-mainmenu .top-menu[data-depth="0"] > li:hover > .popover.sub-menu {
    display: block !important;
  }

  #header .ks-mainmenu .sub-menu .top-menu,
  #header .ks-mainmenu .popover .top-menu {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #header .ks-mainmenu .sub-menu li,
  #header .ks-mainmenu .popover li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #header .ks-mainmenu .sub-menu li a,
  #header .ks-mainmenu .popover li a {
    display: block !important;
    width: 100%;
    padding: 11px 18px !important;
    color: #333 !important;
    font-size: 15px !important;
    line-height: 1.35;
    font-weight: 600 !important;
    text-transform: none !important;
    white-space: normal;
  }

  #header .ks-mainmenu .sub-menu li a:hover,
  #header .ks-mainmenu .popover li a:hover {
    background: #f4f6f8;
    color: var(--club-primary) !important;
  }

  /* SEARCH */
  #header .ks-search-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  #header .ks-search-wrap #search_widget {
    float: none !important;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
  }

  #header .ks-search-wrap #search_widget form {
    position: relative !important;
    display: block;
    width: 100%;
    margin: 0;
  }

  #header .ks-search-wrap #search_widget form input {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    height: 44px;
    margin: 0;
    padding: 0 48px 0 15px !important;
    background: #f5f5f5;
    border: 1px solid #e2e2e2;
    border-radius: 3px;
    color: #333;
    font-size: 15px;
    line-height: 44px;
    box-shadow: none;
  }

  #header .ks-search-wrap #search_widget form input:focus {
    background: #fff;
    border-color: var(--club-primary);
    outline: 0;
  }

  #header .ks-search-wrap #search_widget form button {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #header .ks-search-wrap #search_widget form button .material-icons,
  #header .ks-search-wrap #search_widget form button i {
    margin: 0 !important;
    color: #333 !important;
    font-size: 22px !important;
    line-height: 1 !important;
  }

  /* HEADER ACTIONS */
  #header .ks-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
  }

  #header .ks-header-actions .user-info,
  #header .ks-header-actions .blockcart,
  #header .ks-header-actions .cart-preview {
    float: none !important;
    margin: 0 !important;
  }

  #header .ks-header-actions .user-info a,
  #header .ks-header-actions .blockcart a,
  #header .ks-header-actions .cart-preview a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 9px;
    background: #fff !important;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    color: #252525 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #header .ks-header-actions .material-icons {
    margin: 0 3px 0 0 !important;
    color: #252525 !important;
    font-size: 23px !important;
  }

  #header .ks-header-actions .user-info a:hover,
  #header .ks-header-actions .blockcart a:hover,
  #header .ks-header-actions .cart-preview a:hover {
    border-color: var(--club-primary);
    color: var(--club-primary) !important;
  }

  #header .ks-header-actions .user-info a:hover .material-icons,
  #header .ks-header-actions .blockcart a:hover .material-icons,
  #header .ks-header-actions .cart-preview a:hover .material-icons {
    color: var(--club-primary) !important;
  }

  #header .ks-header-actions .blockcart.inactive,
  #header .ks-header-actions .blockcart.cart-preview.inactive {
    background: transparent !important;
  }

  /* Prevent old hook/layout rules from creating a second desktop row */
  #header .ks-main-header .header-top-right,
  #header .ks-main-header > .container > .row.ks-header-row {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #header .ks-header-grid {
    grid-template-columns: 150px minmax(300px, 1fr) 210px auto;
    column-gap: 16px;
  }

  #header .ks-mainmenu .top-menu[data-depth="0"] {
    gap: 18px;
  }

  #header .ks-mainmenu .top-menu[data-depth="0"] > li > a {
    font-size: 13px;
  }

  #header .ks-logo-wrap img.logo,
  #header .ks-logo-wrap .logo {
    max-width: 145px;
  }
}

/* =========================================================
   KLUB-SHOP V8 — PRODUCT PAGE
   Print-Sport inspired, club-color aware
   ========================================================= */

body#product #wrapper { background:#fff; }
body#product #wrapper > .container { max-width:1320px; }
body#product .breadcrumb { margin:18px 0 28px; font-size:13px; color:#888; }
body#product .breadcrumb a { color:#777; }
body#product .breadcrumb a:hover { color:var(--club-primary); }

body#product .product-container { align-items:flex-start; margin-bottom:44px; }
body#product .product-container > .col-md-6:first-child { padding-right:42px; }
body#product .product-container > .col-md-6:last-child { padding-left:42px; }

/* gallery */
body#product .page-content { background:#fff; box-shadow:none; }
body#product .product-cover { background:#fff; }
body#product .product-cover img { width:100%; max-height:620px; object-fit:contain; box-shadow:none; }
body#product .product-images > li.thumb-container { margin-right:12px; }
body#product .product-images > li.thumb-container > .thumb { width:88px; height:88px; object-fit:contain; border:1px solid #e5e5e5; border-radius:2px; padding:4px; background:#fff; }
body#product .product-images > li.thumb-container > .thumb.selected,
body#product .product-images > li.thumb-container > .thumb:hover { border:2px solid var(--club-primary); }

/* title + lead */
body#product .ks-product-title,
body#product h1.h1 { font-family:"Gidole",Arial,sans-serif; font-size:31px; line-height:1.15; font-weight:500; text-transform:none; color:#252525; margin:0 0 10px; }
body#product .ks-product-lead { font-size:14px; line-height:1.55; color:#888; padding-bottom:15px; margin-bottom:14px; border-bottom:1px solid #ededed; }

/* price */
body#product .product-prices { margin:8px 0 12px; }
body#product .current-price { margin:0; }
body#product .current-price .current-price-value,
body#product .current-price-value { font-family:"Gidole",Arial,sans-serif; font-size:27px; line-height:1.1; font-weight:500; color:var(--club-primary); }
body#product .tax-shipping-delivery-label { display:block; margin-top:3px; font-size:11px; color:#999; }
body#product .regular-price { font-size:14px; color:#999; }

/* variants */
body#product .product-actions { margin-top:15px; }
body#product .product-variants { padding-top:5px; }
body#product .product-variants > .product-variants-item { margin:0 0 18px; }
body#product .product-variants .control-label { display:block; margin-bottom:8px; font-size:14px; font-weight:600; color:#333; }
body#product .product-variants select { min-width:220px; height:42px; border:1px solid #dcdcdc; background:#fff; font-family:"Gidole",Arial,sans-serif; font-size:14px; }
body#product .product-variants .input-container label,
body#product .product-variants label { font-family:"Gidole",Arial,sans-serif; }
body#product .product-variants .radio-label { min-width:44px; min-height:38px; padding:9px 12px; margin:0 7px 7px 0; border:1px solid #ddd; border-radius:3px; background:#fff; font-size:13px; font-weight:500; box-shadow:none; }
body#product .product-variants input:checked + span,
body#product .product-variants input:checked + .radio-label,
body#product .product-variants .radio-label:hover { border-color:var(--club-primary); color:var(--club-primary); }

/* own print / native PrestaShop customization fields */
body#product .ks-print-box { margin:18px 0 20px; border:1px solid #e4e4e4; border-top:3px solid var(--club-primary); background:#fafafa; }
body#product .ks-print-box__head { padding:15px 17px 10px; }
body#product .ks-print-box__eyebrow { display:none; }
body#product .ks-print-box__title { display:block; font-size:17px; font-weight:600; color:#222; }
body#product .ks-print-box__note { display:block; margin-top:3px; font-size:12px; color:#888; }
body#product .ks-print-box__fields { padding:0 17px 15px; }
body#product .product-customization { margin:0; }
body#product .product-customization .product-customization-item { margin:0 0 12px; }
body#product .product-customization label { display:block; margin-bottom:5px; font-size:13px; font-weight:600; color:#444; }
body#product .product-customization textarea,
body#product .product-customization input[type="text"] { width:100%; min-height:42px; padding:9px 11px; border:1px solid #d8d8d8; border-radius:2px; background:#fff; font-family:"Gidole",Arial,sans-serif; font-size:14px; box-shadow:none; }
body#product .product-customization textarea:focus,
body#product .product-customization input[type="text"]:focus { outline:0; border-color:var(--club-primary); }
body#product .product-customization .btn { background:#333; border-color:#333; }

/* availability */
body#product #product-availability { display:flex; align-items:center; min-height:42px; margin:8px 0 15px; padding:10px 13px; border-radius:3px; background:#eef8f0; color:#357a45; font-size:13px; font-weight:600; }
body#product #product-availability .material-icons { color:#45a05a; margin-right:5px; }

/* quantity + CTA */
body#product .product-add-to-cart { margin-top:8px; }
body#product .product-quantity { display:flex; align-items:stretch; gap:12px; }
body#product .product-quantity .qty { margin:0; }
body#product #quantity_wanted { height:48px; width:64px; border:1px solid #ddd; border-radius:3px; text-align:center; }
body#product .product-quantity .add { flex:1; margin:0; }
body#product .add-to-cart { width:100%; min-height:48px; padding:0 28px; border:1px solid var(--club-primary); border-radius:3px; background:var(--club-primary); color:#fff; font-family:"Gidole",Arial,sans-serif; font-size:15px; font-weight:600; text-transform:uppercase; box-shadow:none; }
body#product .add-to-cart:hover,
body#product .add-to-cart:focus { filter:brightness(.9); background:var(--club-primary); border-color:var(--club-primary); color:#fff; }

/* benefits */
body#product .ks-product-benefits { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:16px 0 6px; }
body#product .ks-product-benefit { display:flex; align-items:center; gap:7px; min-height:40px; padding:8px 10px; border:1px solid #e5e5e5; background:#fafafa; font-size:12px; color:#555; }
body#product .ks-benefit-check { display:inline-flex; align-items:center; justify-content:center; width:19px; height:19px; flex:0 0 19px; border-radius:50%; background:var(--club-primary); color:#fff; font-size:12px; font-weight:700; }

/* misc info */
body#product .product-information .product-additional-info { margin-top:10px; }
body#product .product-reference,
body#product .product-quantities { font-size:12px; color:#777; }
body#product .social-sharing { margin-top:15px; }

/* tabs — similar to Print-Sport */
body#product .tabs { margin-top:45px; padding:0; box-shadow:none; background:#fff; }
body#product .tabs .nav-tabs { display:flex; justify-content:center; border-bottom:1px solid #e6e6e6; }
body#product .tabs .nav-tabs .nav-item { margin:0 14px; }
body#product .tabs .nav-tabs .nav-link { padding:13px 8px; border:0; background:transparent; color:#999; font-size:14px; font-weight:500; text-transform:none; }
body#product .tabs .nav-tabs .nav-link.active { color:#222; border-bottom:2px solid var(--club-primary); }
body#product .tabs .tab-content { padding:22px 12px 10px; color:#666; font-size:14px; line-height:1.65; }
body#product .tabs .product-description p { margin-bottom:12px; }

/* accessories */
body#product .product-accessories { margin-top:55px; }
body#product .product-accessories > .h5 { font-size:24px; font-weight:500; color:#222; text-transform:uppercase !important; }

@media (max-width:991px) {
  body#product .product-container > .col-md-6:first-child,
  body#product .product-container > .col-md-6:last-child { padding-left:15px; padding-right:15px; }
  body#product .ks-product-title,
  body#product h1.h1 { font-size:27px; margin-top:20px; }
  body#product .ks-product-benefits { grid-template-columns:1fr; }
}

@media (max-width:575px) {
  body#product .product-cover img { max-height:430px; }
  body#product .product-quantity { flex-wrap:wrap; }
  body#product .product-quantity .add { flex:1 0 calc(100% - 80px); }
  body#product .tabs .nav-tabs { justify-content:flex-start; overflow-x:auto; flex-wrap:nowrap; }
  body#product .tabs .nav-tabs .nav-item { flex:0 0 auto; margin:0 8px; }
}

/* =========================================================
   KLUB-SHOP V9 — PRODUCT PAGE FINAL TUNING
   ========================================================= */
body#product .ks-product-title,
body#product h1.h1 {
  color: var(--club-primary) !important;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: .1px;
  margin-bottom: 12px;
}
body#product .ks-product-lead {
  font-size: 15px;
  line-height: 1.55;
  color: #767676;
  padding-bottom: 16px;
  margin-bottom: 14px;
}
@media (min-width: 992px) {
  body#product .product-container > .col-md-6:first-child { padding-right:34px; }
  body#product .product-container > .col-md-6:last-child { padding-left:34px; }
  body#product .product-cover img { max-height:670px; }
}
body#product .current-price .current-price-value,
body#product .current-price-value { font-size:29px; font-weight:500; }
body#product .product-discount .discount,
body#product .discount-percentage,
body#product .discount-amount {
  display:inline-flex; align-items:center; min-height:29px; padding:4px 9px;
  margin-left:8px; border-radius:2px; background:#eef5fb;
  color:var(--club-primary); font-size:13px; font-weight:600; line-height:1;
}
body#product .product-variants .radio-label {
  min-width:46px; min-height:40px; padding:10px 13px; margin:0 8px 8px 0; font-size:14px;
}
body#product .product-variants .color {
  width:24px; height:24px; border:2px solid #fff; box-shadow:0 0 0 1px #d5d5d5;
}
body#product .product-variants .input-color:checked + span,
body#product .product-variants .color:hover { box-shadow:0 0 0 2px var(--club-primary); }
body#product #product-availability {
  min-height:44px; margin:12px 0 16px; padding:11px 14px; background:#eef8f0;
  color:#337546; border:1px solid #d8eddd; font-size:14px;
}
body#product #product-availability:empty { display:none !important; }
body#product #quantity_wanted { height:50px; width:68px; }
body#product .add-to-cart { min-height:50px; font-size:16px; letter-spacing:.1px; }
body#product .ks-product-benefits { gap:10px; margin:18px 0 8px; }
body#product .ks-product-benefit {
  min-height:44px; padding:10px 12px; background:#fff; border:1px solid #e4e4e4; font-size:13px;
}
body#product .ks-benefit-check { width:20px; height:20px; flex-basis:20px; }
body#product .blockreassurance_product,
body#product .block-reassurance,
body#product #block-reassurance,
body#product .product-information .blockreassurance_product { display:none !important; }
body#product .social-sharing { display:none !important; }
body#product .product-information .product-additional-info { margin-top:8px; }
body#product .product-reference,
body#product .product-quantities,
body#product .product-manufacturer { margin-top:6px; }
body#product .tabs { margin-top:28px; }
body#product .tabs .tab-content { padding-top:20px; }
body#product #main { padding-bottom:20px; }
body#product .product-container { margin-bottom:20px; }
body#product .ks-print-box { margin:16px 0 18px; background:#fbfbfb; }
body#product .ks-print-box__title { color:var(--club-primary); font-size:18px; }
body#product .ks-print-box__note { font-size:13px; }
@media (max-width:991px) {
  body#product .ks-product-title,
  body#product h1.h1 { font-size:29px; }
  body#product .current-price .current-price-value,
  body#product .current-price-value { font-size:27px; }
}

/* =========================================================
   KLUB-SHOP V10 — PRODUCT BUY FLOW / ALIGNMENT
   Price after variants, centered variant labels, clean quantity.
   ========================================================= */

/* Price now lives below variants and above quantity/cart. */
body#product .ks-price-after-variants {
  margin: 4px 0 16px;
  padding-top: 14px;
  border-top: 1px solid #ececec;
}
body#product .ks-price-after-variants .product-prices {
  margin: 0;
}
body#product .ks-price-after-variants .current-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
body#product .ks-price-after-variants .current-price .current-price-value,
body#product .ks-price-after-variants .current-price-value {
  font-size: 31px;
  line-height: 1.1;
  font-weight: 600;
  color: var(--club-primary);
}
body#product .ks-price-after-variants .tax-shipping-delivery-label {
  margin-top: 5px;
}

/* Size/variant text must be optically centered in each square. */
body#product .product-variants .radio-label {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 46px;
  width: auto;
  height: 42px;
  min-height: 42px;
  padding: 0 13px !important;
  line-height: 1 !important;
  text-align: center;
  vertical-align: middle;
}
body#product .product-variants .radio-label span,
body#product .product-variants .radio-label strong {
  line-height: 1 !important;
}

/* Quantity label. */
body#product .product-add-to-cart > .control-label {
  display: block;
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* Quantity + cart row. */
body#product .product-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
}
body#product .product-quantity .qty {
  flex: 0 0 124px;
  width: 124px;
  margin: 0 !important;
}
body#product .product-quantity .add {
  flex: 1 1 auto;
  margin: 0 !important;
}

/* TouchSpin: turn Classic's vertical arrows into - 1 +. */
body#product .product-quantity .bootstrap-touchspin {
  position: relative;
  display: block;
  width: 124px;
  height: 50px;
}
body#product .product-quantity .bootstrap-touchspin #quantity_wanted,
body#product .product-quantity #quantity_wanted {
  box-sizing: border-box;
  width: 124px !important;
  height: 50px !important;
  min-height: 50px;
  margin: 0 !important;
  padding: 0 39px !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 4px !important;
  background: #fff;
  color: #252525;
  font-family: "Gidole", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 50px;
  text-align: center;
  box-shadow: none !important;
  -moz-appearance: textfield;
}
body#product #quantity_wanted::-webkit-outer-spin-button,
body#product #quantity_wanted::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
body#product .product-quantity .bootstrap-touchspin .input-group-btn-vertical {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 50px !important;
  pointer-events: none;
}
body#product .product-quantity .bootstrap-touchspin .btn-touchspin {
  position: absolute !important;
  top: 0 !important;
  width: 38px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #333 !important;
  box-shadow: none !important;
  pointer-events: auto;
  font-size: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body#product .product-quantity .bootstrap-touchspin .bootstrap-touchspin-down {
  left: 0 !important;
  right: auto !important;
  border-right: 1px solid #e5e5e5 !important;
}
body#product .product-quantity .bootstrap-touchspin .bootstrap-touchspin-up {
  right: 0 !important;
  left: auto !important;
  border-left: 1px solid #e5e5e5 !important;
}
body#product .product-quantity .bootstrap-touchspin .bootstrap-touchspin-down::before,
body#product .product-quantity .bootstrap-touchspin .bootstrap-touchspin-up::before {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  color: #333;
}
body#product .product-quantity .bootstrap-touchspin .bootstrap-touchspin-down::before { content: "−"; }
body#product .product-quantity .bootstrap-touchspin .bootstrap-touchspin-up::before { content: "+"; }
body#product .product-quantity .bootstrap-touchspin .btn-touchspin i {
  display: none !important;
}
body#product .product-quantity .bootstrap-touchspin .btn-touchspin:hover::before {
  color: var(--club-primary);
}

/* Cart button: perfectly center icon and text on one baseline. */
body#product .add-to-cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  height: 50px;
  min-height: 50px;
  line-height: 1 !important;
}
body#product .add-to-cart .material-icons,
body#product .add-to-cart i.material-icons {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px;
  height: 22px;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 22px !important;
  font-size: 21px !important;
  vertical-align: middle !important;
  transform: none !important;
}

/* Availability/delivery: center the status icon vertically with its text. */
body#product #product-availability {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body#product #product-availability .alert {
  box-sizing: border-box;
  min-height: 44px;
  margin: 12px 0 16px;
  padding: 10px 13px;
  border: 1px solid #d8eddd;
  border-radius: 3px;
  background: #eef8f0;
  color: #337546;
}
body#product #product-availability .alert-content-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  min-height: 22px;
}
body#product #product-availability .alert-content-wrapper > div:first-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}
body#product #product-availability .material-icons {
  display: block !important;
  width: 22px;
  height: 22px;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 22px !important;
  font-size: 20px !important;
  text-align: center;
  transform: none !important;
}
body#product #product-availability .alert-content-wrapper > div:last-child,
body#product #product-availability .alert-content-wrapper > div:last-child > div {
  line-height: 1.25;
}

@media (max-width: 575px) {
  body#product .product-quantity {
    align-items: stretch;
    flex-wrap: wrap;
  }
  body#product .product-quantity .qty {
    flex: 0 0 124px;
  }
  body#product .product-quantity .add {
    flex: 1 1 180px;
  }
}

/* =========================================================
   KLUB-SHOP V11 — PRODUCT DELIVERY + FULL-WIDTH TABS
   ========================================================= */

/* Delivery / availability: restore the soft green status box. */
body#product #product-availability {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 12px 0 16px !important;
  padding: 10px 14px !important;
  border: 1px solid #cfe8d5 !important;
  border-radius: 4px !important;
  background: #edf8f0 !important;
  color: #26863b !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

/* Some PS 8 combinations wrap availability in an inner alert. Keep only one box. */
body#product #product-availability .alert {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
}

body#product #product-availability,
body#product #product-availability .alert-content-wrapper,
body#product #product-availability .product-available,
body#product #product-availability .product-last-items {
  align-items: center !important;
}

body#product #product-availability .alert-content-wrapper {
  display: flex !important;
  gap: 7px;
  min-height: 22px;
}

body#product #product-availability .material-icons,
body#product #product-availability i.material-icons {
  display: inline-flex !important;
  flex: 0 0 20px;
  width: 20px !important;
  height: 20px !important;
  margin: 0 6px 0 0 !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  color: #26863b !important;
  font-size: 19px !important;
  line-height: 20px !important;
  vertical-align: middle !important;
  transform: none !important;
}

/* Hide availability completely if PS leaves an actually empty node. */
body#product #product-availability:empty {
  display: none !important;
}

/* ---------------------------------------------------------
   Product tabs — visually span the whole two-column product area.
   We deliberately keep the working Classic markup intact and
   expand the tabs out of the right column. This avoids breaking
   AJAX product refresh / variants while giving a full-width layout.
   --------------------------------------------------------- */
@media (min-width: 768px) {
  body#product .product-container > .col-md-6:last-child {
    position: static;
  }

  body#product .product-container {
    position: relative;
  }

  body#product .product-container .tabs {
    width: 100% !important;
    max-width: none !important;
    margin-top: 42px !important;
  }

  /* The tabs are still emitted in the right column by Classic.
     Pull them to the full row width using the known 50/50 grid. */
  body#product .product-container > .col-md-6:last-child .tabs {
    position: relative;
    left: calc(-100% - 15px);
    width: calc(200% + 30px) !important;
  }
}

body#product .tabs {
  clear: both;
  padding-top: 0;
}

body#product .tabs .nav-tabs {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid #e7e7e7;
}

body#product .tabs .nav-tabs .nav-item {
  margin: 0 16px;
}

body#product .tabs .nav-tabs .nav-link {
  position: relative;
  padding: 12px 4px 13px;
  border: 0 !important;
  background: transparent !important;
  color: #777;
  font-family: "Gidole", Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
}

body#product .tabs .nav-tabs .nav-link.active,
body#product .tabs .nav-tabs .nav-link:hover {
  color: var(--club-primary) !important;
}

body#product .tabs .nav-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--club-primary);
}

body#product .tabs .tab-content {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 8px;
}

body#product .tabs .tab-pane,
body#product .tabs .product-description {
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 767px) {
  body#product .product-container > .col-md-6:last-child .tabs {
    position: static;
    left: auto;
    width: 100% !important;
    margin-top: 28px !important;
  }

  body#product .tabs .nav-tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  body#product .tabs .nav-tabs .nav-item {
    margin: 0 18px 0 0;
    flex: 0 0 auto;
  }

  body#product .tabs .tab-content {
    padding: 22px 0 0;
  }
}

/* =========================================================
   Klub-shop v12 – explicit native product customization
   ========================================================= */
body#product .ks-print-box.product-customization {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 16px 0 20px !important;
  padding: 0 !important;
  border: 1px solid #dce6f3 !important;
  border-top: 3px solid var(--club-primary) !important;
  border-radius: 4px !important;
  background: #f7faff !important;
}
body#product .ks-print-box__head {
  padding: 14px 16px 8px !important;
}
body#product .ks-print-box__title {
  display: block !important;
  color: var(--club-primary) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
body#product .ks-print-box__note {
  display: block !important;
  margin-top: 4px !important;
  color: #6d7680 !important;
  font-size: 13px !important;
}
body#product .ks-customization-form {
  margin: 0 !important;
}
body#product .ks-print-box__fields {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  padding: 8px 16px 4px !important;
}
body#product .ks-customization-item {
  display: block !important;
  margin: 0 !important;
}
body#product .ks-customization-item:nth-child(3) {
  grid-column: 1 / -1 !important;
}
body#product .ks-customization-item label {
  display: block !important;
  margin: 0 0 6px !important;
  color: #333 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
body#product .ks-customization-item textarea.product-message {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  min-height: 44px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  resize: vertical !important;
  border: 1px solid #ccd5df !important;
  border-radius: 3px !important;
  background: #fff !important;
  color: #222 !important;
  font: 14px/1.4 "Gidole", Arial, sans-serif !important;
  box-shadow: none !important;
}
body#product .ks-customization-item:nth-child(3) textarea.product-message {
  min-height: 66px !important;
  height: 66px !important;
}
body#product .ks-customization-item textarea.product-message:focus {
  outline: 0 !important;
  border-color: var(--club-primary) !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,.03) !important;
}
body#product .ks-required {
  color: #c73535 !important;
}
body#product .ks-customization-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  padding: 10px 16px 15px !important;
}
body#product .ks-save-customization {
  margin: 0 !important;
  padding: 10px 16px !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: var(--club-primary) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
body#product .ks-customization-help {
  color: #39824a !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
@media (max-width: 575px) {
  body#product .ks-print-box__fields {
    grid-template-columns: 1fr !important;
  }
  body#product .ks-customization-item:nth-child(3) {
    grid-column: auto !important;
  }
}

/* =========================================================
   KLUB-SHOP V13 — CLUB PRODUCT PRINT DIRECT HOOK
   ========================================================= */
body#product .ks-clubprint-slot:empty { display:none; }
body#product .clubprint-native-box { margin: 16px 0 20px; }
body#product .clubprint-fields {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
body#product .clubprint-field--note { grid-column:1 / -1; }
body#product .clubprint-native-box input.form-control,
body#product .clubprint-native-box textarea.form-control {
  width:100%;
  min-height:42px;
  border:1px solid #d8d8d8;
  border-radius:3px;
  background:#fff;
  box-shadow:none;
}
body#product .clubprint-native-box textarea.form-control { min-height:72px; resize:vertical; }
body#product .ks-customization-actions {
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  padding:0 17px 16px;
}
body#product .ks-save-customization {
  min-height:42px;
  padding:0 17px;
  border-color:var(--club-primary)!important;
  background:var(--club-primary)!important;
  color:#fff!important;
}
body#product .ks-customization-help { font-size:12px; color:#5d795f; }
@media (max-width:575px) {
  body#product .clubprint-fields { grid-template-columns:1fr; }
  body#product .clubprint-field--note { grid-column:auto; }
}

/* =========================================================
   Klub-shop v15 – personalization below variants + switch
   ========================================================= */
body#product .ks-clubprint-slot {
  margin: 12px 0 18px;
}

body#product .clubprint-native-box {
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  background: #f7faff;
  overflow: hidden;
}

body#product .ks-print-toggle-row {
  min-height: 64px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: default;
}

body#product .ks-print-toggle-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

body#product .ks-print-toggle-copy .ks-print-box__title {
  color: var(--club-primary);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

body#product .ks-print-toggle-copy .ks-print-box__note {
  color: #67717d;
  font-size: 13px;
  line-height: 1.35;
}

body#product .ks-switch {
  position: relative;
  width: 46px;
  height: 26px;
  margin: 0;
  flex: 0 0 46px;
  cursor: pointer;
}

body#product .ks-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body#product .ks-switch__slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c9d0d8;
  transition: .2s ease;
}

body#product .ks-switch__slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
  transition: .2s ease;
}

body#product .ks-switch input:checked + .ks-switch__slider {
  background: var(--club-primary);
}

body#product .ks-switch input:checked + .ks-switch__slider::before {
  transform: translateX(20px);
}

body#product .ks-print-box__body {
  padding: 15px 16px 16px;
  border-top: 1px solid #dce5ef;
  background: #fff;
}

body#product .ks-print-box__body[hidden] {
  display: none !important;
}

body#product .clubprint-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, .48fr);
  gap: 12px;
}

body#product .clubprint-field--note {
  grid-column: 1 / -1;
}

body#product .ks-customization-actions {
  margin-top: 12px;
}

@media (max-width: 575.98px) {
  body#product .clubprint-fields {
    grid-template-columns: 1fr;
  }
  body#product .clubprint-field--note {
    grid-column: auto;
  }
}

/* =========================================================
   Klub-shop v17 – availability next to variants + sold-out sizes
   ========================================================= */
body#product .ks-availability-slot {
  width: 100%;
  margin: 12px 0 14px;
}

body#product .ks-availability-slot--empty {
  display: none !important;
}

body#product .ks-availability-slot #product-availability {
  display: flex !important;
  align-items: center !important;
  width: 100%;
  min-height: 42px;
  margin: 0 !important;
  padding: 10px 14px !important;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

body#product .ks-availability-slot #product-availability .material-icons,
body#product .ks-availability-slot #product-availability i {
  margin: 0 7px 0 0 !important;
  line-height: 1 !important;
}

body#product .ks-availability-slot.ks-stock-ok #product-availability {
  color: #26863b !important;
  background: #edf8f0 !important;
  border: 1px solid #cfe8d5 !important;
}

body#product .ks-availability-slot.ks-stock-low #product-availability {
  color: #946200 !important;
  background: #fff8e6 !important;
  border: 1px solid #f0ddb0 !important;
}

body#product .ks-availability-slot.ks-stock-out #product-availability {
  color: #c72d32 !important;
  background: #fff0f1 !important;
  border: 1px solid #efb8bc !important;
}

body#product .ks-availability-slot.ks-stock-ok #product-availability .material-icons,
body#product .ks-availability-slot.ks-stock-ok #product-availability i {
  color: #26863b !important;
}
body#product .ks-availability-slot.ks-stock-low #product-availability .material-icons,
body#product .ks-availability-slot.ks-stock-low #product-availability i {
  color: #946200 !important;
}
body#product .ks-availability-slot.ks-stock-out #product-availability .material-icons,
body#product .ks-availability-slot.ks-stock-out #product-availability i {
  color: #c72d32 !important;
}

/* Completely sold-out attribute value. Keep it selectable so the customer can
   inspect the state, but make the unavailable option obvious. */
body#product .product-variants .radio-label.ks-sold-out,
body#product .product-variants .radio-label.ks-current-unavailable {
  position: relative;
  color: #c72d32 !important;
  border-color: #e55359 !important;
  background: #fff7f7 !important;
  opacity: .78;
}

body#product .product-variants .radio-label.ks-sold-out::after,
body#product .product-variants .radio-label.ks-current-unavailable::after {
  content: '';
  position: absolute;
  left: 5px;
  right: 5px;
  top: 50%;
  height: 1px;
  background: #e55359;
  transform: rotate(-35deg);
  transform-origin: center;
  pointer-events: none;
}

body#product .product-variants input:checked + .radio-label.ks-sold-out,
body#product .product-variants input:checked + .radio-label.ks-current-unavailable {
  color: #b51f25 !important;
  border-color: #d52f36 !important;
  box-shadow: 0 0 0 1px #d52f36 inset !important;
}


/* =========================================================
   Klub-shop v18 – keep sold-out styling after AJAX variant refresh
   ========================================================= */
body#product .product-variants input:checked + .radio-label.ks-sold-out,
body#product .product-variants input:checked + .radio-label.ks-current-unavailable,
body#product .product-variants input:checked + span.radio-label.ks-sold-out,
body#product .product-variants input:checked + span.radio-label.ks-current-unavailable {
  color:#b51f25 !important;
  border-color:#d52f36 !important;
  background:#fff7f7 !important;
  box-shadow:0 0 0 1px #d52f36 inset !important;
}

body#product .product-variants input:checked + .radio-label.ks-sold-out::after,
body#product .product-variants input:checked + .radio-label.ks-current-unavailable::after,
body#product .product-variants input:checked + span.radio-label.ks-sold-out::after,
body#product .product-variants input:checked + span.radio-label.ks-current-unavailable::after {
  display:block !important;
  background:#d52f36 !important;
}

/* =========================================================
   Klub-shop v19 – sold-out styles survive PrestaShop AJAX
   The exact sold-out attribute selectors are injected into <head> by product.tpl.
   ========================================================= */
body#product .product-variants input:checked + .radio-label.ks-sold-out,
body#product .product-variants input:checked + .radio-label.ks-current-unavailable {
  background:#fff7f7!important;
  color:#b51f25!important;
  border-color:#d52f36!important;
}

/* =========================================================
   KLUB-SHOP v20 — CATEGORY / PRODUCT LISTING
   ========================================================= */

/* Main listing spacing */
body#category #content-wrapper,
body#search #content-wrapper,
body#manufacturer #content-wrapper,
body#new-products #content-wrapper,
body#prices-drop #content-wrapper,
body#best-sales #content-wrapper {
  padding-top: 2px;
}

/* Compact category header — replaces the large Classic box */
body#category .ks-category-head {
  margin: 0 0 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid #e7e7e7;
  background: transparent;
}

body#category .ks-category-title {
  margin: 0;
  color: #222;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: uppercase;
}

body#category .ks-category-description {
  max-width: 760px;
  margin-top: 8px;
  color: #777;
  font-size: 14px;
  line-height: 1.55;
}

body#category .ks-category-description p:last-child { margin-bottom: 0; }

/* Hide old category visual box if a module/parent still outputs it */
body#category .block-category,
body#category .category-cover {
  box-shadow: none !important;
}
body#category .block-category { display: none !important; }

/* =========================================================
   LEFT CATEGORY MENU
   ========================================================= */
body#category #left-column .block-categories,
body#category #left-column .category-top-menu {
  background: #fff;
}

body#category #left-column .block-categories {
  margin-bottom: 24px;
  padding: 18px 18px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  box-shadow: none;
}

body#category #left-column .block-categories .h6,
body#category #left-column .block-categories .block-title,
body#category #left-column .block-categories > h4 {
  margin: 0 0 12px !important;
  padding: 0 0 11px !important;
  border-bottom: 1px solid #e9e9e9;
  color: #222 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: .045em;
  text-transform: uppercase;
}

/* We only want the simple main-category navigation in club shops */
body#category #left-column .block-categories .category-sub-menu {
  margin: 0;
  padding: 0;
}

body#category #left-column .block-categories .category-sub-menu li {
  margin: 0;
  border: 0;
}

body#category #left-column .block-categories .category-sub-menu li > a,
body#category #left-column .block-categories .category-top-menu > li > a {
  position: relative;
  display: block;
  padding: 10px 11px !important;
  border-radius: 2px;
  color: #333 !important;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  text-decoration: none !important;
  transition: background .16s ease,color .16s ease,padding .16s ease;
}

body#category #left-column .block-categories a:hover {
  background: color-mix(in srgb, var(--club-primary) 7%, white) !important;
  color: var(--club-primary) !important;
  padding-left: 14px !important;
}

body#category #left-column .block-categories .current > a,
body#category #left-column .block-categories a[aria-current="page"] {
  background: color-mix(in srgb, var(--club-primary) 9%, white) !important;
  color: var(--club-primary) !important;
  font-weight: 700;
}

body#category #left-column .block-categories .current > a::before,
body#category #left-column .block-categories a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--club-primary);
}

/* Make the +/- tree controls quiet and compact */
body#category #left-column .block-categories .navbar-toggler {
  top: 3px;
  right: 2px;
  width: 32px;
  height: 32px;
  color: #777;
}

body#category #left-column .block-categories .navbar-toggler .material-icons {
  font-size: 19px;
}

/* =========================================================
   LIST TOP — count + sorting
   ========================================================= */
body#category #products .products-selection,
body#category #products #js-product-list-top {
  margin-bottom: 18px;
}

body#category #products .products-selection .total-products,
body#category #products .products-selection .sort-by-row {
  color: #777;
  font-size: 13px;
}

body#category #products .products-sort-order .select-title {
  min-width: 210px;
  padding: 11px 14px;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #fff;
  box-shadow: none;
}

/* =========================================================
   PRODUCT GRID — 4 cards desktop
   ========================================================= */
body#category #js-product-list .products,
body#search #js-product-list .products,
body#manufacturer #js-product-list .products,
body#new-products #js-product-list .products,
body#prices-drop #js-product-list .products,
body#best-sales #js-product-list .products {
  margin-right: -10px;
  margin-left: -10px;
}

body#category #js-product-list .products > .product,
body#search #js-product-list .products > .product,
body#manufacturer #js-product-list .products > .product,
body#new-products #js-product-list .products > .product,
body#prices-drop #js-product-list .products > .product,
body#best-sales #js-product-list .products > .product {
  padding-right: 10px;
  padding-left: 10px;
  margin-bottom: 28px;
}

/* Modern clean card */
body#category .product-miniature,
body#search .product-miniature,
body#manufacturer .product-miniature,
body#new-products .product-miniature,
body#prices-drop .product-miniature,
body#best-sales .product-miniature {
  position: relative;
  height: 100%;
}

body#category .product-miniature .thumbnail-container,
body#search .product-miniature .thumbnail-container,
body#manufacturer .product-miniature .thumbnail-container,
body#new-products .product-miniature .thumbnail-container,
body#prices-drop .product-miniature .thumbnail-container,
body#best-sales .product-miniature .thumbnail-container {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 0 15px;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #fff;
  box-shadow: none !important;
  transition: border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

body#category .product-miniature:hover .thumbnail-container,
body#search .product-miniature:hover .thumbnail-container {
  border-color: #e8e8e8;
  box-shadow: 0 7px 22px rgba(0,0,0,.055) !important;
  transform: translateY(-2px);
}

/* Image zone */
body#category .product-miniature .thumbnail-top,
body#search .product-miniature .thumbnail-top,
body#manufacturer .product-miniature .thumbnail-top,
body#new-products .product-miniature .thumbnail-top,
body#prices-drop .product-miniature .thumbnail-top,
body#best-sales .product-miniature .thumbnail-top {
  position: relative;
  width: 100%;
  height: 285px;
  overflow: hidden;
  background: #fff;
}

body#category .product-miniature .product-thumbnail,
body#search .product-miniature .product-thumbnail {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

body#category .product-miniature .product-thumbnail img,
body#search .product-miniature .product-thumbnail img,
body#manufacturer .product-miniature .product-thumbnail img,
body#new-products .product-miniature .product-thumbnail img,
body#prices-drop .product-miniature .product-thumbnail img,
body#best-sales .product-miniature .product-thumbnail img {
  position: static !important;
  display: block;
  width: auto !important;
  max-width: 92% !important;
  height: auto !important;
  max-height: 268px !important;
  margin: auto;
  object-fit: contain;
  transition: transform .2s ease;
}

body#category .product-miniature:hover .product-thumbnail img,
body#search .product-miniature:hover .product-thumbnail img {
  transform: scale(1.025);
}

/* Hide quick view — whole card / product name is enough */
body#category .product-miniature .quick-view,
body#search .product-miniature .quick-view,
body#manufacturer .product-miniature .quick-view,
body#new-products .product-miniature .quick-view,
body#prices-drop .product-miniature .quick-view,
body#best-sales .product-miniature .quick-view {
  display: none !important;
}

/* Description under image */
body#category .product-miniature .product-description,
body#search .product-miniature .product-description,
body#manufacturer .product-miniature .product-description,
body#new-products .product-miniature .product-description,
body#prices-drop .product-miniature .product-description,
body#best-sales .product-miniature .product-description {
  position: static !important;
  width: auto !important;
  height: auto !important;
  min-height: 96px;
  margin: 0;
  padding: 12px 14px 0;
  background: transparent;
  text-align: left;
}

body#category .product-miniature .product-title,
body#search .product-miniature .product-title,
body#manufacturer .product-miniature .product-title,
body#new-products .product-miniature .product-title,
body#prices-drop .product-miniature .product-title,
body#best-sales .product-miniature .product-title {
  min-height: 42px;
  margin: 0 0 7px;
  font-size: 15px !important;
  line-height: 1.35;
  font-weight: 500;
  text-transform: none;
}

body#category .product-miniature .product-title a,
body#search .product-miniature .product-title a,
body#manufacturer .product-miniature .product-title a,
body#new-products .product-miniature .product-title a,
body#prices-drop .product-miniature .product-title a,
body#best-sales .product-miniature .product-title a {
  color: #2b2b2b !important;
  text-decoration: none;
}

body#category .product-miniature:hover .product-title a,
body#search .product-miniature:hover .product-title a {
  color: var(--club-primary) !important;
}

body#category .product-miniature .product-price-and-shipping,
body#search .product-miniature .product-price-and-shipping,
body#manufacturer .product-miniature .product-price-and-shipping,
body#new-products .product-miniature .product-price-and-shipping,
body#prices-drop .product-miniature .product-price-and-shipping,
body#best-sales .product-miniature .product-price-and-shipping {
  margin: 0;
  text-align: left;
}

body#category .product-miniature .price,
body#search .product-miniature .price,
body#manufacturer .product-miniature .price,
body#new-products .product-miniature .price,
body#prices-drop .product-miniature .price,
body#best-sales .product-miniature .price {
  color: var(--club-primary) !important;
  font-size: 17px !important;
  line-height: 1.2;
  font-weight: 700 !important;
}

/* Keep flags compact and meaningful */
body#category .product-miniature .product-flags,
body#search .product-miniature .product-flags {
  top: 10px;
  left: 10px;
  margin: 0;
}

body#category .product-miniature .product-flag,
body#search .product-miniature .product-flag {
  min-height: auto;
  margin-bottom: 5px;
  padding: 5px 8px;
  border-radius: 2px;
  background: var(--club-primary);
  font-size: 10px;
  line-height: 1.1;
  font-weight: 700;
  box-shadow: none;
}

body#category .product-miniature .product-flag.out_of_stock,
body#category .product-miniature .product-flag.out-of-stock,
body#category .product-miniature .product-flag.unavailable,
body#search .product-miniature .product-flag.out_of_stock,
body#search .product-miniature .product-flag.out-of-stock,
body#search .product-miniature .product-flag.unavailable {
  background: #d94b4b !important;
}

/* Wishlist button lighter */
body#category .product-miniature .wishlist-button-add,
body#search .product-miniature .wishlist-button-add {
  top: 10px !important;
  right: 10px !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: none !important;
}

/* Footer/pagination spacing */
body#category #js-product-list-bottom,
body#category .pagination { margin-top: 8px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1199px) {
  body#category .product-miniature .thumbnail-top,
  body#search .product-miniature .thumbnail-top { height: 255px; }
  body#category .product-miniature .product-thumbnail img,
  body#search .product-miniature .product-thumbnail img { max-height: 238px !important; }
}

@media (max-width: 767px) {
  body#category .ks-category-head { margin-bottom: 12px; padding-bottom: 12px; }
  body#category .ks-category-title { font-size: 23px; }
  body#category .ks-category-description { font-size: 13px; }

  body#category .product-miniature .thumbnail-top,
  body#search .product-miniature .thumbnail-top { height: 205px; }
  body#category .product-miniature .product-thumbnail img,
  body#search .product-miniature .product-thumbnail img { max-height: 192px !important; }
  body#category .product-miniature .product-description,
  body#search .product-miniature .product-description { padding: 10px 8px 0; min-height: 92px; }
  body#category .product-miniature .product-title,
  body#search .product-miniature .product-title { font-size: 13px !important; min-height: 36px; }
  body#category .product-miniature .price,
  body#search .product-miniature .price { font-size: 15px !important; }
}

/* =========================================================
   KLUB-SHOP v21 — CATEGORY VISUAL POLISH
   soft catalogue background + white navigation/cards
   ========================================================= */

/* Soft catalogue canvas. Header/footer remain unchanged. */
body#category #wrapper,
body#search #wrapper,
body#manufacturer #wrapper,
body#new-products #wrapper,
body#prices-drop #wrapper,
body#best-sales #wrapper {
  background: #f4f5f6 !important;
}

body#category #wrapper .container,
body#search #wrapper .container {
  background: transparent !important;
}

/* Stronger, cleaner category heading */
body#category .ks-category-head {
  margin-bottom: 20px !important;
  padding: 4px 0 17px !important;
  border-bottom: 1px solid #dfe2e5 !important;
}

body#category .ks-category-title {
  color: var(--club-primary) !important;
  font-size: 34px !important;
  line-height: 1.08 !important;
  font-weight: 700 !important;
  letter-spacing: .015em !important;
}

/* Left menu becomes a distinct white tile */
body#category #left-column .block-categories {
  padding: 20px 18px 16px !important;
  border: 1px solid #e2e5e8 !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(0,0,0,.045) !important;
}

body#category #left-column .block-categories .h6,
body#category #left-column .block-categories .block-title,
body#category #left-column .block-categories > h4 {
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* Sorting control as a quiet white surface on the grey canvas */
body#category #products .products-sort-order .select-title {
  border-color: #e0e3e6 !important;
  border-radius: 5px !important;
  background: #fff !important;
}

/* Larger product tiles: three columns on normal desktop. */
body#category #js-product-list .products,
body#search #js-product-list .products,
body#manufacturer #js-product-list .products,
body#new-products #js-product-list .products,
body#prices-drop #js-product-list .products,
body#best-sales #js-product-list .products {
  margin-right: -12px !important;
  margin-left: -12px !important;
}

body#category #js-product-list .products > .product,
body#search #js-product-list .products > .product,
body#manufacturer #js-product-list .products > .product,
body#new-products #js-product-list .products > .product,
body#prices-drop #js-product-list .products > .product,
body#best-sales #js-product-list .products > .product {
  padding-right: 12px !important;
  padding-left: 12px !important;
  margin-bottom: 30px !important;
}

/* On very wide monitors return to four columns. */
@media (min-width: 1600px) {
  body#category #js-product-list .products > .ks-product-col,
  body#search #js-product-list .products > .ks-product-col,
  body#manufacturer #js-product-list .products > .ks-product-col,
  body#new-products #js-product-list .products > .ks-product-col,
  body#prices-drop #js-product-list .products > .ks-product-col,
  body#best-sales #js-product-list .products > .ks-product-col {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }
}

/* White card stands out against catalogue background */
body#category .product-miniature .thumbnail-container,
body#search .product-miniature .thumbnail-container,
body#manufacturer .product-miniature .thumbnail-container,
body#new-products .product-miniature .thumbnail-container,
body#prices-drop .product-miniature .thumbnail-container,
body#best-sales .product-miniature .thumbnail-container {
  padding-bottom: 18px !important;
  border: 1px solid #e5e7ea !important;
  border-radius: 7px !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(0,0,0,.045) !important;
}

body#category .product-miniature:hover .thumbnail-container,
body#search .product-miniature:hover .thumbnail-container {
  border-color: color-mix(in srgb, var(--club-primary) 25%, #e5e7ea) !important;
  box-shadow: 0 9px 25px rgba(0,0,0,.075) !important;
  transform: translateY(-3px) !important;
}

/* Give the product itself more visual weight */
body#category .product-miniature .thumbnail-top,
body#search .product-miniature .thumbnail-top,
body#manufacturer .product-miniature .thumbnail-top,
body#new-products .product-miniature .thumbnail-top,
body#prices-drop .product-miniature .thumbnail-top,
body#best-sales .product-miniature .thumbnail-top {
  height: 330px !important;
  border-radius: 7px 7px 0 0;
}

body#category .product-miniature .product-thumbnail img,
body#search .product-miniature .product-thumbnail img,
body#manufacturer .product-miniature .product-thumbnail img,
body#new-products .product-miniature .product-thumbnail img,
body#prices-drop .product-miniature .product-thumbnail img,
body#best-sales .product-miniature .product-thumbnail img {
  max-width: 94% !important;
  max-height: 310px !important;
}

body#category .product-miniature .product-description,
body#search .product-miniature .product-description,
body#manufacturer .product-miniature .product-description,
body#new-products .product-miniature .product-description,
body#prices-drop .product-miniature .product-description,
body#best-sales .product-miniature .product-description {
  min-height: 108px !important;
  padding: 15px 16px 0 !important;
}

body#category .product-miniature .product-title,
body#search .product-miniature .product-title,
body#manufacturer .product-miniature .product-title,
body#new-products .product-miniature .product-title,
body#prices-drop .product-miniature .product-title,
body#best-sales .product-miniature .product-title {
  margin-bottom: 9px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

body#category .product-miniature .price,
body#search .product-miniature .price,
body#manufacturer .product-miniature .price,
body#new-products .product-miniature .price,
body#prices-drop .product-miniature .price,
body#best-sales .product-miniature .price {
  font-size: 19px !important;
}

/* Wishlist is not useful in the club-shop flow */
body#category .product-miniature .wishlist-button-add,
body#search .product-miniature .wishlist-button-add,
body#manufacturer .product-miniature .wishlist-button-add,
body#new-products .product-miniature .wishlist-button-add,
body#prices-drop .product-miniature .wishlist-button-add,
body#best-sales .product-miniature .wishlist-button-add {
  display: none !important;
}

/* Keep mobile cards comfortable, not oversized */
@media (max-width: 1199px) {
  body#category .product-miniature .thumbnail-top,
  body#search .product-miniature .thumbnail-top { height: 285px !important; }
  body#category .product-miniature .product-thumbnail img,
  body#search .product-miniature .product-thumbnail img { max-height: 267px !important; }
}

@media (max-width: 767px) {
  body#category .ks-category-title { font-size: 27px !important; }
  body#category .product-miniature .thumbnail-top,
  body#search .product-miniature .thumbnail-top { height: 215px !important; }
  body#category .product-miniature .product-thumbnail img,
  body#search .product-miniature .product-thumbnail img { max-height: 198px !important; }
  body#category .product-miniature .product-description,
  body#search .product-miniature .product-description { padding: 11px 10px 0 !important; }
  body#category .product-miniature .product-title,
  body#search .product-miniature .product-title { font-size: 14px !important; }
  body#category .product-miniature .price,
  body#search .product-miniature .price { font-size: 16px !important; }
}

/* =========================================================
   KLUB-SHOP v22 — MODERN CLUB CATALOGUE
   white cards/menu on a soft grey catalogue canvas
   ========================================================= */

/* Wider, airier catalogue composition */
body#category #wrapper,
body#search #wrapper {
  background: #f2f4f6 !important;
}

body#category #wrapper > .container,
body#search #wrapper > .container {
  max-width: 1320px !important;
  width: calc(100% - 32px) !important;
}

/* Slightly narrower sidebar, more room for products */
@media (min-width: 992px) {
  body#category #left-column,
  body#search #left-column {
    flex: 0 0 20% !important;
    max-width: 20% !important;
  }
  body#category #content-wrapper.left-column,
  body#search #content-wrapper.left-column {
    flex: 0 0 80% !important;
    max-width: 80% !important;
  }
}

/* Category title: strong but simple */
body#category .ks-category-head {
  margin: 0 0 16px !important;
  padding: 3px 0 14px !important;
  border-bottom: 1px solid #d9dee3 !important;
}
body#category .ks-category-title {
  position: relative;
  display: inline-block;
  margin: 0 !important;
  padding: 0 0 10px !important;
  color: var(--club-primary) !important;
  font-size: 34px !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: .01em !important;
}
body#category .ks-category-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: var(--club-primary);
}

/* Left category navigation = clean white card */
body#category #left-column .block-categories {
  overflow: hidden;
  margin-bottom: 24px !important;
  padding: 15px 14px 14px !important;
  border: 1px solid #e2e6ea !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 7px 22px rgba(35,49,62,.06) !important;
}

/* Replace generic root title visually with KATEGORIE */
body#category #left-column .block-categories .h6,
body#category #left-column .block-categories .block-title,
body#category #left-column .block-categories > h4 {
  margin: 0 0 10px !important;
  padding: 0 8px 11px !important;
  border-bottom: 1px solid #edf0f2 !important;
  color: #27313a !important;
  font-size: 0 !important;
  font-weight: 700 !important;
}
body#category #left-column .block-categories .h6::before,
body#category #left-column .block-categories .block-title::before,
body#category #left-column .block-categories > h4::before {
  content: "KATEGORIE";
  font-size: 17px;
  letter-spacing: .03em;
}

body#category #left-column .block-categories .category-sub-menu li {
  margin: 0 !important;
}
body#category #left-column .block-categories .category-sub-menu li > a {
  position: relative;
  display: block !important;
  min-height: 38px;
  margin: 2px 0 !important;
  padding: 10px 30px 10px 10px !important;
  border-radius: 4px;
  color: #3b454f !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  transition: background .15s ease, color .15s ease;
}
body#category #left-column .block-categories .category-sub-menu li > a:hover {
  background: #f5f8fb !important;
  color: var(--club-primary) !important;
}
body#category #left-column .block-categories .category-sub-menu li > a[aria-current="page"],
body#category #left-column .block-categories .category-sub-menu li.current > a,
body#category #left-column .block-categories .category-sub-menu li.current-category > a {
  background: color-mix(in srgb, var(--club-primary) 9%, white) !important;
  color: var(--club-primary) !important;
  box-shadow: inset 3px 0 0 var(--club-primary);
  font-weight: 700 !important;
}

/* compact the list/sort toolbar */
body#category #products .products-selection,
body#search #products .products-selection {
  margin-bottom: 18px !important;
}
body#category #products .products-sort-order .select-title,
body#search #products .products-sort-order .select-title {
  min-height: 44px;
  padding: 12px 16px !important;
  border: 1px solid #dde2e7 !important;
  border-radius: 5px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(30,40,50,.025) !important;
}

/* Product grid */
body#category #js-product-list .products,
body#search #js-product-list .products {
  margin-right: -9px !important;
  margin-left: -9px !important;
}
body#category #js-product-list .products > .product,
body#search #js-product-list .products > .product {
  padding-right: 9px !important;
  padding-left: 9px !important;
  margin-bottom: 18px !important;
}

/* Ensure 4 equal columns from desktop upward */
@media (min-width: 1200px) {
  body#category #js-product-list .products > .ks-product-col,
  body#search #js-product-list .products > .ks-product-col {
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
  }
}

/* THE key change: one continuous pure-white card, including under image */
body#category .product-miniature .thumbnail-container,
body#search .product-miniature .thumbnail-container {
  overflow: hidden !important;
  height: 100% !important;
  min-height: 445px !important;
  padding: 0 0 18px !important;
  border: 1px solid #e2e6ea !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 6px 20px rgba(32,47,59,.06) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}
body#category .product-miniature:hover .thumbnail-container,
body#search .product-miniature:hover .thumbnail-container {
  transform: translateY(-3px) !important;
  border-color: color-mix(in srgb, var(--club-primary) 24%, #e2e6ea) !important;
  box-shadow: 0 11px 30px rgba(32,47,59,.10) !important;
}

body#category .product-miniature .thumbnail-top,
body#search .product-miniature .thumbnail-top,
body#category .product-miniature .product-thumbnail,
body#search .product-miniature .product-thumbnail {
  height: 310px !important;
  background: #fff !important;
}
body#category .product-miniature .product-thumbnail,
body#search .product-miniature .product-thumbnail {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 12px 2px !important;
}
body#category .product-miniature .product-thumbnail img,
body#search .product-miniature .product-thumbnail img {
  width: auto !important;
  max-width: 96% !important;
  height: auto !important;
  max-height: 292px !important;
  object-fit: contain !important;
}

/* Remove Classic's grey information panel completely */
body#category .product-miniature .product-description,
body#search .product-miniature .product-description,
body#category .product-miniature .highlighted-informations,
body#search .product-miniature .highlighted-informations {
  background: #fff !important;
}
body#category .product-miniature .product-description,
body#search .product-miniature .product-description {
  position: relative !important;
  min-height: 118px !important;
  padding: 14px 16px 8px !important;
  border: 0 !important;
}
body#category .product-miniature .product-title,
body#search .product-miniature .product-title {
  min-height: 42px !important;
  margin: 0 0 8px !important;
  text-align: left !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}
body#category .product-miniature .product-title a,
body#search .product-miniature .product-title a {
  color: #39434c !important;
}
body#category .product-miniature .product-price-and-shipping,
body#search .product-miniature .product-price-and-shipping {
  text-align: left !important;
}
body#category .product-miniature .price,
body#search .product-miniature .price {
  color: var(--club-primary) !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
}

/* Cleaner flags like the concept */
body#category .product-miniature .product-flags,
body#search .product-miniature .product-flags {
  top: 12px !important;
  left: 12px !important;
}
body#category .product-miniature .product-flag,
body#search .product-miniature .product-flag {
  margin: 0 5px 5px 0 !important;
  padding: 6px 9px !important;
  border-radius: 3px !important;
  font-size: 9px !important;
  font-weight: 700 !important;
}
body#category .product-miniature .product-flag.out_of_stock,
body#category .product-miniature .product-flag.out-of-stock,
body#category .product-miniature .product-flag.unavailable,
body#search .product-miniature .product-flag.out_of_stock,
body#search .product-miniature .product-flag.out-of-stock,
body#search .product-miniature .product-flag.unavailable {
  background: #e94f55 !important;
}

/* No wishlist button in club-shop catalogue */
body#category .product-miniature .wishlist-button-add,
body#search .product-miniature .wishlist-button-add {
  display: none !important;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
  body#category #js-product-list .products > .ks-product-col,
  body#search #js-product-list .products > .ks-product-col {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
  }
  body#category .product-miniature .thumbnail-top,
  body#search .product-miniature .thumbnail-top,
  body#category .product-miniature .product-thumbnail,
  body#search .product-miniature .product-thumbnail { height: 270px !important; }
  body#category .product-miniature .product-thumbnail img,
  body#search .product-miniature .product-thumbnail img { max-height: 252px !important; }
  body#category .product-miniature .thumbnail-container,
  body#search .product-miniature .thumbnail-container { min-height: 410px !important; }
}

/* Mobile remains two cards per row */
@media (max-width: 767px) {
  body#category #wrapper > .container,
  body#search #wrapper > .container {
    width: calc(100% - 18px) !important;
  }
  body#category .ks-category-title { font-size: 27px !important; }
  body#category .product-miniature .thumbnail-container,
  body#search .product-miniature .thumbnail-container {
    min-height: 330px !important;
    border-radius: 6px !important;
  }
  body#category .product-miniature .thumbnail-top,
  body#search .product-miniature .thumbnail-top,
  body#category .product-miniature .product-thumbnail,
  body#search .product-miniature .product-thumbnail { height: 205px !important; }
  body#category .product-miniature .product-thumbnail img,
  body#search .product-miniature .product-thumbnail img { max-height: 192px !important; }
  body#category .product-miniature .product-description,
  body#search .product-miniature .product-description {
    min-height: 104px !important;
    padding: 11px 10px 6px !important;
  }
  body#category .product-miniature .product-title,
  body#search .product-miniature .product-title {
    min-height: 38px !important;
    font-size: 13px !important;
  }
  body#category .product-miniature .price,
  body#search .product-miniature .price { font-size: 16px !important; }
}

/* =========================================================
   KLUB-SHOP v23 – tighter catalogue grid + finished sidebar
   ========================================================= */

/* Give the catalogue more horizontal room */
@media (min-width: 992px) {
  body#category #left-column,
  body#search #left-column {
    flex: 0 0 17.5% !important;
    max-width: 17.5% !important;
    padding-right: 10px !important;
  }
  body#category #content-wrapper.left-column,
  body#search #content-wrapper.left-column {
    flex: 0 0 82.5% !important;
    max-width: 82.5% !important;
    padding-left: 10px !important;
  }
}

/* Tighter product spacing – cards themselves become wider */
body#category #js-product-list .products,
body#search #js-product-list .products {
  margin-right: -5px !important;
  margin-left: -5px !important;
}
body#category #js-product-list .products > .product,
body#search #js-product-list .products > .product {
  padding-right: 5px !important;
  padding-left: 5px !important;
  margin-bottom: 12px !important;
}

/* Slightly larger visual area inside each card */
@media (min-width: 1200px) {
  body#category .product-miniature .thumbnail-container,
  body#search .product-miniature .thumbnail-container {
    min-height: 465px !important;
  }
  body#category .product-miniature .thumbnail-top,
  body#search .product-miniature .thumbnail-top,
  body#category .product-miniature .product-thumbnail,
  body#search .product-miniature .product-thumbnail {
    height: 325px !important;
  }
  body#category .product-miniature .product-thumbnail img,
  body#search .product-miniature .product-thumbnail img {
    max-height: 307px !important;
  }
}

/* Finished left category menu */
body#category #left-column .block-categories,
body#search #left-column .block-categories {
  padding: 17px 12px 14px !important;
  border-radius: 8px !important;
}

body#category #left-column .block-categories .category-sub-menu > li,
body#search #left-column .block-categories .category-sub-menu > li {
  border-bottom: 1px solid #f0f2f4;
}
body#category #left-column .block-categories .category-sub-menu > li:last-child,
body#search #left-column .block-categories .category-sub-menu > li:last-child {
  border-bottom: 0;
}

body#category #left-column .block-categories .category-sub-menu li > a,
body#search #left-column .block-categories .category-sub-menu li > a {
  position: relative;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 12px 28px 12px 10px !important;
  border-radius: 4px;
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* Club shops use only the main category level in the sidebar */
body#category #left-column .block-categories li[data-depth="0"] > .collapse-icons,
body#search #left-column .block-categories li[data-depth="0"] > .collapse-icons,
body#category #left-column .block-categories li[data-depth="0"] > .collapse,
body#search #left-column .block-categories li[data-depth="0"] > .collapse {
  display: none !important;
}

/* Clean chevron instead of PrestaShop + / - controls */
body#category #left-column .block-categories li[data-depth="0"] > a::after,
body#search #left-column .block-categories li[data-depth="0"] > a::after {
  content: "›";
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-52%);
  color: #9aa4ad;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

body#category #left-column .block-categories li[data-depth="0"] > a:hover::after,
body#search #left-column .block-categories li[data-depth="0"] > a:hover::after,
body#category #left-column .block-categories li.ks-current-cat > a::after,
body#search #left-column .block-categories li.ks-current-cat > a::after {
  color: var(--club-primary) !important;
}

/* Exact current category – class added by the tiny script in category.tpl */
body#category #left-column .block-categories li.ks-current-cat > a,
body#search #left-column .block-categories li.ks-current-cat > a {
  background: color-mix(in srgb, var(--club-primary) 10%, white) !important;
  color: var(--club-primary) !important;
  box-shadow: inset 3px 0 0 var(--club-primary) !important;
  font-weight: 700 !important;
}

/* Keep only first level visible even if a branch is expanded by PrestaShop */
body#category #left-column .block-categories li[data-depth="0"] ul.category-sub-menu,
body#search #left-column .block-categories li[data-depth="0"] ul.category-sub-menu {
  display: none !important;
}

@media (max-width: 991px) {
  body#category #left-column .block-categories li[data-depth="0"] ul.category-sub-menu,
  body#search #left-column .block-categories li[data-depth="0"] ul.category-sub-menu {
    display: none !important;
  }
}

/* =========================================================
   KLUB-SHOP v24 – tighter product cards
   ========================================================= */

/* Smaller gaps between cards while keeping a 4-column layout */
body#category #js-product-list .products,
body#search #js-product-list .products {
  margin-right: -3px !important;
  margin-left: -3px !important;
}
body#category #js-product-list .products > .product,
body#search #js-product-list .products > .product {
  padding-right: 3px !important;
  padding-left: 3px !important;
  margin-bottom: 8px !important;
}

/* More compact lower white area below the photo */
body#category .product-miniature .thumbnail-container,
body#search .product-miniature .thumbnail-container {
  min-height: 420px !important;
  padding-bottom: 8px !important;
}
body#category .product-miniature .product-description,
body#search .product-miniature .product-description {
  min-height: 92px !important;
  padding: 10px 14px 4px !important;
}
body#category .product-miniature .product-title,
body#search .product-miniature .product-title {
  min-height: 38px !important;
  margin-bottom: 5px !important;
}

@media (min-width: 1200px) {
  body#category .product-miniature .thumbnail-container,
  body#search .product-miniature .thumbnail-container {
    min-height: 430px !important;
  }
  body#category .product-miniature .thumbnail-top,
  body#search .product-miniature .thumbnail-top,
  body#category .product-miniature .product-thumbnail,
  body#search .product-miniature .product-thumbnail {
    height: 312px !important;
  }
  body#category .product-miniature .product-thumbnail img,
  body#search .product-miniature .product-thumbnail img {
    max-height: 296px !important;
  }
}

/* =========================================================
   KLUB-SHOP v25 – true tight grid + compact card height
   ========================================================= */

/* Classic theme keeps the thumbnail-container narrower than its Bootstrap
   column. Force the visible white card to fill the whole grid column. */
body#category #js-product-list .products > .product,
body#search #js-product-list .products > .product {
  padding-right: 4px !important;
  padding-left: 4px !important;
  margin-bottom: 8px !important;
}
body#category #js-product-list .products,
body#search #js-product-list .products {
  margin-right: -4px !important;
  margin-left: -4px !important;
}

body#category .product-miniature,
body#search .product-miniature,
body#category .product-miniature .thumbnail-container,
body#search .product-miniature .thumbnail-container {
  width: 100% !important;
  max-width: none !important;
}

/* Remove the artificial vertical reserve below price. */
body#category .product-miniature .thumbnail-container,
body#search .product-miniature .thumbnail-container {
  height: auto !important;
  min-height: 0 !important;
  padding-bottom: 0 !important;
}
body#category .product-miniature .product-description,
body#search .product-miniature .product-description {
  height: auto !important;
  min-height: 84px !important;
  padding: 10px 14px 10px !important;
}
body#category .product-miniature .product-title,
body#search .product-miniature .product-title {
  min-height: 36px !important;
  margin-bottom: 4px !important;
}

/* Keep the image dominant while cards become wider. */
@media (min-width: 1200px) {
  body#category .product-miniature .thumbnail-top,
  body#search .product-miniature .thumbnail-top,
  body#category .product-miniature .product-thumbnail,
  body#search .product-miniature .product-thumbnail {
    height: 300px !important;
  }
  body#category .product-miniature .product-thumbnail img,
  body#search .product-miniature .product-thumbnail img {
    max-height: 286px !important;
  }
}

/* =========================================================
   KLUB-SHOP V27 - HEADER + FOOTER REFINEMENT
   ========================================================= */

/* HEADER: slimmer, cleaner, catalogue-consistent */
@media (min-width: 768px) {
  #header .ks-topbar,
  #header .ks-topbar .container,
  #header .ks-topbar-inner {
    min-height: 30px !important;
  }

  #header .ks-topbar-item,
  #header .ks-topbar-brand {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .15px;
  }

  #header .ks-main-header {
    min-height: 74px !important;
    border-bottom: 1px solid #e5e8eb !important;
    box-shadow: 0 3px 14px rgba(31,42,55,.045) !important;
  }

  #header .ks-header-grid {
    min-height: 74px !important;
    grid-template-columns: minmax(145px, 190px) minmax(340px, 1fr) minmax(210px, 245px) auto !important;
    column-gap: 22px !important;
  }

  #header .ks-logo-wrap img.logo,
  #header .ks-logo-wrap .logo {
    max-width: 165px !important;
    max-height: 48px !important;
  }

  #header .ks-mainmenu .top-menu[data-depth="0"] {
    gap: 25px !important;
  }

  #header .ks-mainmenu .top-menu[data-depth="0"] > li > a {
    min-height: 74px !important;
    font-size: 15px !important;
    letter-spacing: .12px !important;
  }

  #header .ks-mainmenu .top-menu[data-depth="0"] > li > a::after {
    bottom: 10px !important;
    height: 2px !important;
    border-radius: 3px;
  }

  #header .ks-search-wrap #search_widget form input {
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 6px !important;
    background: #f4f6f8 !important;
    border-color: #e0e4e8 !important;
    font-size: 14px !important;
  }

  #header .ks-search-wrap #search_widget form input:focus {
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,.025) !important;
  }

  #header .ks-header-actions {
    gap: 8px !important;
  }

  #header .ks-header-actions .user-info a,
  #header .ks-header-actions .blockcart a,
  #header .ks-header-actions .cart-preview a {
    min-height: 40px !important;
    padding: 0 11px !important;
    border: 1px solid #e2e5e8 !important;
    border-radius: 6px !important;
    background: #fff !important;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
  }

  #header .ks-header-actions .user-info a:hover,
  #header .ks-header-actions .blockcart a:hover,
  #header .ks-header-actions .cart-preview a:hover {
    border-color: var(--club-primary) !important;
    background: #f8fafc !important;
  }
}

/* FOOTER: layered but visually lighter */
.ks-footer-contact {
  background: #85898d !important;
  padding: 20px 0 !important;
}

.ks-footer-contact-title {
  font-size: 20px !important;
  line-height: 1.15;
}

.ks-footer-contact-text {
  margin-top: 3px !important;
  font-size: 14px !important;
  opacity: .95;
}

.ks-footer-contact-link {
  font-size: 14px !important;
}

.ks-footer-newsletter {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}

.ks-footer-newsletter .block_newsletter,
.ks-footer-newsletter .block-newsletter {
  padding: 14px 0 !important;
}

.ks-footer-newsletter input[type="email"],
.ks-footer-newsletter .form-control {
  height: 40px !important;
  border-radius: 5px 0 0 5px !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ks-footer-newsletter .btn,
.ks-footer-newsletter button[type="submit"] {
  min-height: 40px !important;
  border-radius: 0 5px 5px 0 !important;
  border: 0 !important;
  background: #4c5054 !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.ks-footer-main,
#footer .footer-container {
  background: #fff !important;
}

.ks-footer-main {
  padding-top: 30px !important;
  padding-bottom: 28px !important;
}

.ks-footer-logo img {
  max-width: 185px !important;
  max-height: 54px !important;
}

.ks-footer-club-name {
  margin-top: 11px !important;
  font-size: 16px !important;
}

.ks-footer-links .h3,
.ks-footer-links .h4,
.ks-footer-links .h3 a,
.ks-footer-links .h4 a,
#footer .footer-container .h3,
#footer .footer-container .h4 {
  color: #24272a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .25px;
  text-transform: uppercase;
}

.ks-footer-links a,
.ks-footer-links p,
.ks-footer-links li,
#footer .footer-container a,
#footer .footer-container p,
#footer .footer-container li {
  color: #777d82 !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.ks-footer-links a:hover,
#footer .footer-container a:hover {
  color: var(--club-primary) !important;
}

.ks-footer-bottom {
  padding: 9px 0 !important;
  background: #4a4d50 !important;
}

.ks-footer-copy {
  font-size: 11px !important;
  color: rgba(255,255,255,.58) !important;
}

@media (max-width: 767px) {
  .ks-footer-contact {
    padding: 18px 0 !important;
  }
  .ks-footer-contact-title {
    font-size: 18px !important;
  }
  .ks-footer-main {
    padding-top: 24px !important;
    padding-bottom: 22px !important;
  }
}


/* =========================================================
   KLUB-SHOP V28 — CLUB BRAND HEADER
   ========================================================= */

@media (min-width: 768px) {
  #header .ks-main-header-v28 {
    padding: 0 !important;
    background: transparent !important;
  }

  #header .ks-brand-row {
    position: relative;
    background: var(--club-primary) !important;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  }

  #header .ks-brand-grid {
    min-height: 132px;
    display: grid;
    grid-template-columns: 150px minmax(360px, 1fr) 245px 112px;
    align-items: center;
    gap: 28px;
  }

  #header .ks-club-logo {
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 132px;
  }

  #header .ks-club-logo .ks-logo-heading {
    margin: 0 !important;
    line-height: 1;
  }

  #header .ks-club-logo img.logo,
  #header .ks-club-logo .logo {
    display: block;
    width: auto !important;
    max-width: 122px !important;
    max-height: 116px !important;
    margin: 0 !important;
    object-fit: contain;
  }

  /* Search: large pill, deliberately the central action */
  #header .ks-search-v28,
  #header .ks-search-v28 #search_widget {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
  }

  #header .ks-search-v28 #search_widget form {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #header .ks-search-v28 #search_widget form input {
    width: 100% !important;
    height: 52px !important;
    padding: 0 56px 0 22px !important;
    border: 0 !important;
    border-radius: 28px !important;
    background: #fff !important;
    color: #252525 !important;
    font-size: 15px !important;
    box-shadow: 0 5px 18px rgba(0,0,0,.12) !important;
  }

  #header .ks-search-v28 #search_widget form input::placeholder {
    color: #777 !important;
    opacity: 1;
  }

  #header .ks-search-v28 #search_widget form i.material-icons.search {
    top: 50% !important;
    right: 18px !important;
    left: auto !important;
    width: 28px !important;
    height: 28px !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--club-primary) !important;
    font-size: 25px !important;
    line-height: 28px !important;
  }

  #header .ks-created-by {
    min-width: 0;
    padding-left: 24px;
    border-left: 1px solid rgba(255,255,255,.55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  #header .ks-created-label {
    display: block;
    margin-bottom: 7px;
    color: rgba(255,255,255,.86);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.2px;
    line-height: 1;
  }

  #header .ks-print-sport-logo {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
  }

  /* Account + cart: icons only */
  #header .ks-header-actions-v28 {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 10px !important;
  }

  #header .ks-header-actions-v28 .user-info,
  #header .ks-header-actions-v28 .blockcart,
  #header .ks-header-actions-v28 .cart-preview {
    position: relative;
    float: none !important;
    margin: 0 !important;
    background: transparent !important;
  }

  #header .ks-header-actions-v28 .user-info a,
  #header .ks-header-actions-v28 .blockcart a,
  #header .ks-header-actions-v28 .cart-preview a {
    position: relative;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.78) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.06) !important;
    color: #fff !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #header .ks-header-actions-v28 .material-icons {
    margin: 0 !important;
    color: #fff !important;
    font-size: 24px !important;
    line-height: 1 !important;
  }

  /* Hide textual labels but keep module links and cart count functional */
  #header .ks-header-actions-v28 .user-info a > span:not(.material-icons),
  #header .ks-header-actions-v28 .user-info .account,
  #header .ks-header-actions-v28 .user-info .logout,
  #header .ks-header-actions-v28 .blockcart .cart-products-count,
  #header .ks-header-actions-v28 .blockcart .hidden-sm-down,
  #header .ks-header-actions-v28 .cart-preview .cart-products-count,
  #header .ks-header-actions-v28 .cart-preview .hidden-sm-down {
    font-size: 0 !important;
  }

  /* Rebuild cart quantity as a small badge */
  #header .ks-header-actions-v28 .blockcart .cart-products-count,
  #header .ks-header-actions-v28 .cart-preview .cart-products-count {
    position: absolute !important;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #e53935;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700;
    line-height: 20px !important;
    text-align: center;
    z-index: 4;
  }

  #header .ks-header-actions-v28 a:hover {
    background: rgba(255,255,255,.16) !important;
    border-color: #fff !important;
  }

  /* White navigation row */
  #header .ks-menu-row {
    background: #fff;
    border-bottom: 1px solid #e7e9eb;
    box-shadow: 0 3px 12px rgba(0,0,0,.035);
  }

  #header .ks-mainmenu-v28,
  #header .ks-mainmenu-v28 #_desktop_top_menu,
  #header .ks-mainmenu-v28 .top-menu {
    width: 100%;
  }

  #header .ks-mainmenu-v28 .top-menu[data-depth="0"] {
    min-height: 58px;
    margin: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center;
    gap: 38px !important;
  }

  #header .ks-mainmenu-v28 .top-menu[data-depth="0"] > li {
    display: flex;
    align-items: stretch;
    margin: 0 !important;
  }

  #header .ks-mainmenu-v28 .top-menu[data-depth="0"] > li > a {
    position: relative;
    display: flex !important;
    align-items: center;
    padding: 0 2px !important;
    color: #222 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .2px;
    line-height: 58px !important;
  }

  #header .ks-mainmenu-v28 .top-menu[data-depth="0"] > li > a:hover,
  #header .ks-mainmenu-v28 .top-menu[data-depth="0"] > li.current > a {
    color: var(--club-primary) !important;
  }

  #header .ks-mainmenu-v28 .top-menu[data-depth="0"] > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--club-primary);
    transform: scaleX(0);
    transition: transform .18s ease;
  }

  #header .ks-mainmenu-v28 .top-menu[data-depth="0"] > li > a:hover::after,
  #header .ks-mainmenu-v28 .top-menu[data-depth="0"] > li.current > a::after {
    transform: scaleX(1);
  }

  /* neutralize older desktop header layout */
  #header .ks-main-header-v28 .ks-header-grid,
  #header .ks-main-header-v28 .ks-header-tools {
    display: none !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  #header .ks-brand-grid {
    grid-template-columns: 118px minmax(280px, 1fr) 190px 104px;
    gap: 18px;
    min-height: 116px;
  }
  #header .ks-club-logo { height: 116px; }
  #header .ks-club-logo img.logo,
  #header .ks-club-logo .logo {
    max-width: 104px !important;
    max-height: 100px !important;
  }
  #header .ks-print-sport-logo { width: 170px; }
  #header .ks-created-by { padding-left: 16px; }
  #header .ks-mainmenu-v28 .top-menu[data-depth="0"] { gap: 24px !important; }
}

/* Mobile v28 */
@media (max-width: 767px) {
  #header .ks-topbar {
    min-height: 58px !important;
    background: var(--club-primary) !important;
  }

  #header .ks-mobile-nav-v28 {
    min-height: 58px;
    display: grid !important;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 8px;
  }

  #header .ks-mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
  }

  #header .ks-mobile-menu-btn .material-icons {
    color: #fff !important;
    font-size: 28px;
  }

  #header .ks-mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #header .ks-mobile-logo img {
    max-height: 48px !important;
    max-width: 92px !important;
    width: auto !important;
  }

  #header .ks-mobile-actions {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  #header .ks-mobile-actions a {
    color: #fff !important;
  }

  #header .ks-mobile-actions .material-icons {
    color: #fff !important;
  }

  #header .ks-mobile-search {
    padding: 9px 0 10px;
    background: var(--club-primary);
  }

  #header .ks-mobile-search #search_widget {
    width: 100% !important;
    margin: 0 !important;
  }

  #header .ks-mobile-search #search_widget form input {
    height: 42px !important;
    border: 0 !important;
    border-radius: 22px !important;
    padding-left: 17px !important;
    background: #fff !important;
  }

  #header .ks-mobile-search #search_widget form i.material-icons.search {
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--club-primary) !important;
  }
}
