/* ==========================================================================
   Sportháló Modern European Sports Webshop Stylesheet (custom_modern.css v2.0)
   Harmonized with La Rete Hungária 25-Year Brand & Kenza003 Bootstrap 3 Grid
   ========================================================================== */

/* --- 1. Brand Variables & Base Typography --- */
:root {
  --sp-primary: #3b8e14;         /* La Rete Sports Turf Green */
  --sp-primary-dark: #2c6f0d;    /* Deep Forest Green */
  --sp-primary-light: #5bb112;   /* Vibrant Grass Green */
  --sp-soft-green: #f1faeb;      /* Soft Green Tint */
  --sp-border-green: #c5e8b0;    /* Subtle Green Border */
  --sp-dark: #181c20;            /* Deep Anthracite */
  --sp-navy: #0f172a;            /* Slate 900 Headings */
  --sp-text: #334155;            /* Slate 700 Body */
  --sp-muted: #64748b;           /* Slate 500 Muted */
  --sp-bg-soft: #f8fafc;         /* Slate 50 Surface */
  --sp-border: #e2e8f0;          /* Slate 200 Border */
  --sp-radius: 12px;
  --sp-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --sp-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --sp-shadow-lg: 0 14px 32px rgba(15, 23, 42, 0.12);
}

body {
  color: var(--sp-text);
  background-color: #ffffff;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

/* --- 2. Header & Navigation (Fixed Layout & Proportions) --- */

#header,
#header.home,
#header.homepage {
  position: relative;
  background: #ffffff;
  margin-bottom: 0;
  z-index: 100;
}

/* Prevent floating wrapper-nav from overlapping hero video or breadcrumbs */
#header .wrapper-nav,
.wrapper-nav {
  position: relative !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-bottom: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

/* Fix subpage breadcrumb huge 140px top padding now that header does not overlap */
body .breadcrumb-container {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
  margin-bottom: 28px !important;
}

/* 2.1 Top Dark Utility Bar (.header-nav) */
.header-nav {
  background: var(--sp-dark) !important;
  color: #e2e8f0 !important;
  padding: 6px 0 !important;
  font-size: 13px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 992px) {
  .header-nav > .container > .row {
    display: flex;
    align-items: center;
  }
  .header-nav > .container > .row:before,
  .header-nav > .container > .row:after {
    display: none !important;
  }
}

/* Override huge 18px/25px padding in stylesheet.css */
.header-nav .right-nav > div {
  padding: 4px 10px !important;
}

/* Only top-level links in dark bar get light color; keep dropdown menu links dark! */
.header-nav .right-nav .currency-selector > form > .dropdown > a,
.header-nav .right-nav .language-selector > form > .dropdown > a,
.header-nav .right-nav .user-info > .dropdown > a {
  color: #e2e8f0 !important;
  font-weight: 600;
  transition: color 0.2s ease;
}

.header-nav .right-nav .currency-selector > form > .dropdown > a:hover,
.header-nav .right-nav .language-selector > form > .dropdown > a:hover,
.header-nav .right-nav .user-info > .dropdown > a:hover {
  color: var(--sp-primary-light) !important;
}

.header-nav .right-nav .dropdown-menu {
  background: #ffffff !important;
  border: 1px solid var(--sp-border) !important;
  border-radius: 8px !important;
  box-shadow: var(--sp-shadow-md) !important;
  padding: 6px 0 !important;
  top: 100% !important;
}

.header-nav .right-nav .dropdown-menu li a,
.header-nav .right-nav .dropdown-menu li button {
  color: var(--sp-navy) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 7px 16px !important;
  text-align: left;
}

.header-nav .right-nav .dropdown-menu li a:hover,
.header-nav .right-nav .dropdown-menu li button:hover {
  color: var(--sp-primary) !important;
  background: var(--sp-soft-green) !important;
}

/* Modern Search Input inside Top Bar on Desktop */
@media (min-width: 992px) {
  #_desktop_seach_widget .search-widget {
    display: flex;
    align-items: center;
  }

  #_desktop_seach_widget .search-widget form,
  #_desktop_seach_widget .search-widget form.dropdown-menu,
  #_desktop_seach_widget #search.input-group {
    position: relative !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 300px !important;
    min-width: 240px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  #_desktop_seach_widget .search-widget form input[type="text"] {
    background: #262b31 !important;
    background-color: #262b31 !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 20px !important;
    height: 34px !important;
    width: 100% !important;
    padding: 5px 40px 5px 16px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
  }

  #_desktop_seach_widget .search-widget form input[type="text"]:focus {
    background: #2d333b !important;
    background-color: #2d333b !important;
    border-color: var(--sp-primary-light) !important;
    box-shadow: 0 0 0 2px rgba(91, 177, 18, 0.25) !important;
    outline: none !important;
  }

  #_desktop_seach_widget .search-widget form input[type="text"]::placeholder {
    color: #cbd5e1 !important;
    opacity: 1 !important;
  }

  #_desktop_seach_widget .search-widget form .input-group-btn {
    position: absolute !important;
    right: 2px !important;
    top: 0 !important;
    height: 34px !important;
    width: 36px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 4;
  }

  #_desktop_seach_widget .search-widget form button {
    position: static !important;
    height: 34px !important;
    width: 36px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #cbd5e1 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  #_desktop_seach_widget .search-widget form button:hover {
    color: var(--sp-primary-light) !important;
  }

  #_desktop_seach_widget .search-widget form button i {
    color: inherit !important;
    font-size: 14px !important;
  }

  #_desktop_seach_widget .search-widget form button i:after {
    display: none !important;
  }
}

/* 2.2 Brand & Contact Header Row (.header-top) */
.header-top {
  display: block !important;
  padding: 12px 0 !important;
  background: #ffffff;
}

.header-top .desktop-logo {
  padding: 6px 15px !important;
}

#logo {
  margin: 0 !important;
}

#logo img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 992px) {
  .desktop-custominfo {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
    padding: 8px 15px !important;
  }
}

@media (max-width: 991px) {
  .desktop-custominfo {
    display: none !important;
  }
}

.contact-num,
.contact-email {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
}

/* Keep 40x40 inline-block so SVG <use x="32%" y="24%"> stays centered */
.contact-num .call-img,
.contact-email .email-img {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  background: var(--sp-soft-green);
  display: inline-block !important;
  vertical-align: middle;
  fill: var(--sp-primary) !important;
}

.contact-num .call-num,
.contact-email .cont-email {
  font-size: 14px;
  font-weight: 700;
  color: var(--sp-navy) !important;
  padding: 0 !important;
}

.contact-num:hover .call-num,
.contact-email:hover .cont-email {
  color: var(--sp-primary) !important;
}

/* 2.3 Main Navigation Bar (.nav-full-height / .nav-full-width) */
.nav-full-height {
  background: #ffffff;
  border-top: 1px solid var(--sp-border);
  border-bottom: 2px solid var(--sp-primary);
  min-height: 48px;
}

.nav-full-width {
  background: #ffffff;
}

@media (max-width: 767px) {
  .nav-full-width,
  .nav-full-width.fixed-header {
    background-color: var(--sp-primary) !important;
  }
}

/* Keep Bootstrap .container > .row structure intact so floats & dropdowns work */
.nav-full-width > .container {
  display: block !important;
}

/* Categories Mega Menu Trigger (#_desktop_top_menu)
   Must preserve padding-left: 48px and height: 46px so .wrapper-menu hamburger icon
   at left: 30px, top: 16px and #top-menu at top: 46px align properly! */
#_desktop_top_menu {
  float: left !important;
  position: relative;
  padding: 0 15px;
}

#_desktop_top_menu .home-title {
  background-color: var(--sp-primary) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 15px 15px 15px 48px !important;
  width: 269px !important;
  height: 46px !important;
  line-height: 16px !important;
  margin: 0 !important;
  border-radius: 6px 6px 0 0 !important;
  display: block !important;
  text-align: left !important;
  transition: background-color 0.2s ease;
}

#_desktop_top_menu:hover .home-title {
  background-color: var(--sp-primary-dark) !important;
}

#top-menu {
  border: 1px solid var(--sp-border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: var(--sp-shadow-md);
  background-color: #ffffff !important;
}

#top-menu > li > a:hover {
  color: var(--sp-primary) !important;
  background-color: var(--sp-soft-green);
}

/* Horizontal Menu Links (#_desktop_link_menu) */
@media (min-width: 992px) {
  #_desktop_link_menu {
    float: left !important;
    display: inline-block !important;
    margin-left: 8px;
  }

  #header_ishiheaderlinks .bullet {
    padding: 5px 0 !important;
    margin: 0 !important;
  }

  #header_ishiheaderlinks .bullet li a.extra-link {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--sp-navy) !important;
    padding: 9px 16px !important;
    line-height: 18px !important;
    border-radius: 6px;
    display: inline-block;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  #header_ishiheaderlinks .bullet li a.extra-link:hover {
    color: var(--sp-primary) !important;
    background-color: var(--sp-soft-green);
  }
}

/* Cart Button (#_desktop_cart) - Single clean pill without nested grey box */
#_desktop_cart {
  float: right !important;
  padding: 4px 15px !important;
}

#_desktop_cart #cart > .btn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

@media (min-width: 992px) {
  #_desktop_cart .blockcart .cart-link {
    background: var(--sp-soft-green) !important;
    border: 1px solid var(--sp-border-green) !important;
    border-radius: 24px !important;
    padding: 4px 16px 4px 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.2s ease;
  }

  #_desktop_cart .blockcart:hover .cart-link {
    background: #e2f5d5 !important;
    border-color: var(--sp-primary) !important;
  }

  #_desktop_cart .blockcart .cart-img {
    fill: var(--sp-primary) !important;
    height: 26px !important;
    width: 34px !important;
    padding: 0 4px !important;
  }

  #_desktop_cart .blockcart .cart-content .cart-products-count {
    font-weight: 700 !important;
    font-size: 13px !important;
    color: var(--sp-navy) !important;
    letter-spacing: 0.2px !important;
  }
}

/* --- 3. Section Headers --- */
.category-block-header {
  text-align: center;
  margin-bottom: 32px;
}

.category-block-subtitle {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--sp-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
}

.category-block-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--sp-navy);
  margin: 0 0 12px 0;
  letter-spacing: -0.4px;
  text-transform: none;
}

.category-block-divider {
  width: 52px;
  height: 3px;
  background: var(--sp-primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* --- 4. Modern Categories Section (Clean White Cards + Unobstructed 4:3 Photos) --- */
.modern-categories-section {
  padding: 36px 0 40px 0;
  margin-bottom: 0 !important;
  background: #ffffff;
}

.modern-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.modern-category-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sp-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.modern-category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sp-shadow-md);
  border-color: var(--sp-border-green);
}

.modern-category-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
}

.modern-category-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
}

.modern-category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.modern-category-card:hover .modern-category-img {
  transform: scale(1.06);
}

.modern-category-body {
  padding: 14px 16px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-grow: 1;
}

.modern-category-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--sp-navy);
  margin: 0;
  line-height: 1.3;
  text-align: left;
  transition: color 0.2s ease;
}

.modern-category-card:hover .modern-category-name {
  color: var(--sp-primary);
}

.modern-category-arrow {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: var(--sp-soft-green);
  color: var(--sp-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.modern-category-card:hover .modern-category-arrow {
  background: var(--sp-primary);
  color: #ffffff;
  transform: translateX(2px);
}

@media (max-width: 991px) {
  .modern-categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 575px) {
  .modern-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .modern-category-body {
    padding: 10px 12px;
  }
  .modern-category-name {
    font-size: 14px;
  }
}

/* --- 5. Manufacturer Trust & AI Assistant Section (Bootstrap 3 Flex Fix) --- */
.sporthalo-trust-section {
  padding: 40px 0 36px 0;
  margin-bottom: 36px !important;
  background: var(--sp-bg-soft);
  border-top: 1px solid var(--sp-border);
  border-bottom: 1px solid var(--sp-border);
}

.sporthalo-trust-row {
  display: flex;
  flex-wrap: wrap;
}

/* Critical Bootstrap 3 fix: prevent .row:before/.row:after from breaking 50%+50% flex columns */
.sporthalo-trust-row:before,
.sporthalo-trust-row:after {
  display: none !important;
}

.sporthalo-trust-col {
  display: flex;
  margin-bottom: 20px;
}

.trust-card {
  background: #ffffff;
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  padding: 28px 26px;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--sp-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sp-shadow-md);
}

.trust-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  color: var(--sp-primary);
  background: var(--sp-soft-green);
  border: 1px solid var(--sp-border-green);
  padding: 4px 12px;
  border-radius: 9999px;
  letter-spacing: 0.7px;
  margin-bottom: 14px;
}

.trust-card-badge.ai-badge {
  color: #1e293b;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.trust-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--sp-soft-green);
  color: var(--sp-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.trust-card-icon.ai-icon {
  background: var(--sp-navy);
  color: #ffffff;
}

.trust-card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.trust-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--sp-navy);
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.trust-card-desc {
  font-size: 14px;
  color: var(--sp-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.trust-card-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--sp-text);
  font-weight: 600;
}

.trust-card-points i {
  color: var(--sp-primary);
  margin-right: 6px;
  width: 16px;
  text-align: center;
}

.trust-card-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.btn-trust-primary,
.btn-trust-ai {
  background: var(--sp-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 11px 20px !important;
  border-radius: 8px !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(59, 142, 20, 0.22);
}

.btn-trust-ai {
  background: var(--sp-navy) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.20);
}

.btn-trust-primary:hover {
  background: var(--sp-primary-dark) !important;
  transform: translateY(-2px);
}

.btn-trust-ai:hover {
  background: var(--sp-primary) !important;
  transform: translateY(-2px);
}

.btn-trust-phone {
  background: #ffffff !important;
  color: var(--sp-navy) !important;
  border: 1px solid var(--sp-border) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-trust-phone:hover {
  background: var(--sp-soft-green) !important;
  border-color: var(--sp-primary) !important;
  color: var(--sp-primary) !important;
}

/* --- 6. Products & Special Offers Blocks (Fixed Hover Price & Button Bugs) --- */

.ishispecial {
  margin-bottom: 48px !important;
}

/* Never hide the product price on hover! */
.product-thumb .caption .price,
.product-thumb:hover .caption .price {
  opacity: 1 !important;
  visibility: visible !important;
}

/* General Product Card (.product-thumb) */
.product-thumb {
  background: #ffffff !important;
  border: 1px solid var(--sp-border) !important;
  border-radius: var(--sp-radius) !important;
  padding: 14px !important;
  box-shadow: var(--sp-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-thumb:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow-md);
  border-color: var(--sp-border-green) !important;
}

.product-thumb .image {
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

/* Clean Quickview / Wishlist overlay icons in top-right of image */
.product-thumb .image .button-group {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  z-index: 5;
}

.product-thumb .image .button-group > div button,
.product-thumb .image .button-group > div .quickbox {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--sp-navy) !important;
  fill: var(--sp-navy) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.product-thumb .image .button-group > div button i,
.product-thumb .image .button-group > div .quickbox i {
  display: inline-block !important;
  font-size: 14px !important;
  color: inherit !important;
}

.product-thumb .image .button-group > div button:hover,
.product-thumb .image .button-group > div .quickbox:hover {
  background: var(--sp-primary) !important;
  color: #ffffff !important;
  fill: #ffffff !important;
}

/* Always-visible Add to Cart button (no sliding over the price!) */
.product-thumb .btn-cart {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  opacity: 1 !important;
  transform: none !important;
  -webkit-transform: none !important;
  display: block !important;
  width: 100%;
  margin-top: 10px;
}

.product-thumb .btn-cart button {
  background: var(--sp-primary) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  text-transform: none !important;
  padding: 9px 14px !important;
  border-radius: 8px !important;
  border: none !important;
  width: 100% !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.product-thumb .btn-cart button i {
  display: inline-block !important;
  color: #ffffff !important;
  font-size: 14px !important;
}

.product-thumb .btn-cart button .lblcart {
  display: inline !important;
  color: #ffffff !important;
}

.product-thumb .btn-cart button:hover {
  background: var(--sp-primary-dark) !important;
}

.product-thumb .btn-cart button.sold-out,
.product-thumb .btn-cart button:disabled {
  background: #94a3b8 !important;
  cursor: not-allowed;
}

/* Special Offers Horizontal Cards (.ishispecialblock .modern-special-card) */
.ishispecialblock .product-layout.product-container {
  padding: 10px 8px !important;
}

@media (min-width: 992px) {
  .ishispecialblock .product-layout .product-thumb.modern-special-card {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 14px;
    padding: 14px !important;
  }

  .ishispecialblock .product-layout .product-thumb.modern-special-card .image_box {
    width: 42% !important;
    float: none !important;
    padding: 0 !important;
    flex-shrink: 0;
  }

  .ishispecialblock .product-layout .product-thumb.modern-special-card .caption {
    width: 58% !important;
    float: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    text-align: left !important;
  }
}

.product-title-modern {
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin: 0 0 6px 0 !important;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-title-modern a {
  color: var(--sp-navy) !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.product-title-modern a:hover {
  color: var(--sp-primary) !important;
}

.ishispecialblock .product-thumb .caption .description {
  font-size: 12px !important;
  color: var(--sp-muted) !important;
  line-height: 1.4 !important;
  margin: 0 0 8px 0 !important;
  width: 100% !important;
  height: 34px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-thumb .caption .price {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--sp-primary) !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3;
}

.product-thumb .caption .price .price-new {
  color: var(--sp-primary) !important;
  font-weight: 800;
}

.product-thumb .caption .price .price-old {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  text-decoration: line-through;
  margin-left: 5px;
}

.ishispecialblock .product-thumb .caption .price .price-tax {
  display: block !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: var(--sp-muted) !important;
  margin-top: 2px;
}

/* --- 7. Footer (Clean Light Surface for Crisp Logo & Zero Blurry Halo) --- */
body #footer,
#common-home #footer,
#footer.home-footer {
  background: #f8fafc !important;
  color: var(--sp-text) !important;
  border-top: 1px solid var(--sp-border) !important;
  margin-top: 0 !important;
}

body #footer .footer-before {
  padding: 36px 0 10px 0 !important;
}

body #footer .ishistoreinfoblock .store-logo img {
  max-width: 190px !important;
  height: auto !important;
}

/* Remove the white glowing text-shadow from stylesheet.css */
body #footer h5,
body #footer .h3,
body #footer .footer-title,
body #footer a,
body #footer p,
body #footer li,
body #footer .block-contact .block .content,
body #footer .block-contact .block .icon,
body #footer .footer-aftertext p {
  text-shadow: none !important;
}

body #footer h5,
body #footer .h3,
body #footer .footer-title {
  color: var(--sp-navy) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  margin-bottom: 16px !important;
}

body #footer a,
body #footer p,
body #footer li,
body #footer .block-contact .block .content {
  color: var(--sp-text) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

body #footer a:hover {
  color: var(--sp-primary) !important;
}

body #footer .block-contact .block .icon {
  color: var(--sp-primary) !important;
}

body #footer .footer-after {
  background: #f1f5f9 !important;
  border-top: 1px solid var(--sp-border) !important;
  padding: 18px 0 !important;
  margin-top: 20px !important;
}

/* --- 8. Modern Ishi Slider (Full-Width Hero Banner on Desktop & Mobile) & Thinner Hero Video Strip --- */
.ishislider {
  margin-bottom: 28px !important;
  background-color: #0f172a;
}

.ishislider .slideshow__link {
  position: relative;
  display: flex !important;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

/* Soft localized left-side gradient so photos stay vibrant and bright while left text is 100% legible */
.ishislider .slideshow__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.54) 0%, rgba(15, 23, 42, 0.24) 44%, rgba(15, 23, 42, 0) 75%);
  z-index: 1;
  pointer-events: none;
}

.ishislider .slideshow__link img {
  width: 100% !important;
  height: 540px !important;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ishislider .container {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
}

.ishislider .slider-content {
  padding: 20px 15px !important;
  max-width: 680px;
}

.ishislider .slider-content .sub-title {
  display: block !important;
  font-size: 22px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0.3px !important;
  background: transparent !important;
  color: #ffffff !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin-bottom: 8px !important;
  box-shadow: none !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.58) !important;
}

.ishislider .slider-content .main-title {
  font-size: 52px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 16px !important;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.65) !important;
  letter-spacing: -0.01em !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.ishislider .slider-content .desc,
.ishislider .slider-content .desc p {
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  color: #f8fafc !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65) !important;
  margin-bottom: 22px !important;
}

.ishislider .slider-content .desc p {
  margin-bottom: 0 !important;
}

.ishislider .slider-content .slider-btn span {
  display: inline-block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  line-height: 1.3 !important;
  padding: 12px 26px !important;
  border-radius: 6px !important;
  background-color: #5bb112 !important;
  border: 1px solid #5bb112 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32) !important;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.ishislider .slider-content .slider-btn span:hover {
  background-color: var(--sp-primary) !important;
  border-color: var(--sp-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45) !important;
}

@media (max-width: 991px) {
  .ishislider .slideshow__link img {
    height: 420px !important;
  }
  .ishislider .slider-content .sub-title {
    font-size: 18px !important;
  }
  .ishislider .slider-content .main-title {
    font-size: 36px !important;
  }
}

@media (max-width: 767px) {
  .ishislider .slideshow__link::before {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.62) 100%);
  }
  .ishislider .slideshow__link img {
    height: 320px !important;
    min-height: 300px !important;
  }
  .ishislider .slider-content {
    width: 100% !important;
    float: none !important;
    text-align: center !important;
    padding: 16px 12px !important;
  }
  .ishislider .slider-content .sub-title {
    font-size: 15px !important;
    margin-bottom: 6px !important;
  }
  .ishislider .slider-content .main-title {
    font-size: 26px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }
  .ishislider .slider-content .desc,
  .ishislider .slider-content .desc p {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin-bottom: 14px !important;
  }
  .ishislider .slider-content .slider-btn span {
    font-size: 13px !important;
    padding: 10px 22px !important;
  }
}

/* Ensure Hero Video remains a sleek panoramic strip even if legacy inline vars exist */
@media (min-width: 768px) {
  .hero-video-section .hero-video-wrapper {
    height: 430px !important;
    min-height: 430px !important;
    max-height: 450px !important;
    aspect-ratio: unset !important;
  }
}
@media (max-width: 767px) {
  .hero-video-section .hero-video-wrapper {
    height: 260px !important;
    min-height: 260px !important;
  }
}
.hero-video-section .hero-video-element,
.hero-video-section .hero-desktop-img,
.hero-video-section .hero-mobile-img {
  object-position: center 54% !important;
}
