/**
* Solid Theme Styles
* Modern e-commerce design with professional look and sales focus
* Inspired by solidnedrzwi.pl
*/

/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/
/**
 * UWAGA: Solid Theme NIE UŻYWA tych zmiennych dla kolorów primary/accent!
 * Wszystkie kolory są HARDCODED w CSS aby zapewnić stały wygląd.
 *
 * KOLORY WYMUSZANE W CAŁYM THEME (nie można zmienić w backendzie):
 * - Primary Red: #CA000F (używane 44x) - ALL ELEMENTS INCLUDING SEARCH!
 * - Hover Red: #a50009 (używane 13x)
 * - Red Transparent: rgba(202, 0, 15, 0.1-0.9) (używane 8x)
 *
 * NIE MA NIEBIESKIEGO - WSZYSTKO CZERWONE #CA000F!
 * Tylko neutralne zmienne są używane (typography, borders, itp.)
 */
:root {
  /* Typography - From solidnedrzwi.pl */
  --default-font: "Rubik", sans-serif;
  --heading-font: "Rubik", sans-serif;
  --nav-font: "Rubik", sans-serif;

  /* Neutral Colors (używane w theme) */
  --background-color: #ffffff;
  --default-color: #363f4d;
  --heading-color: #363f4d;
  --surface-color: #f8f9fa;
  --contrast-color: #ffffff;
  --border-color: #e5e5e5;
  --light-gray: #f5f5f5;

  /* Navigation Colors */
  --nav-bg-color: #ffffff;
  --nav-color: #434343;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #434343;

  /* Button Colors - Secondary Only (Primary używa hardcoded #CA000F) */
  --btn-secondary-bg: #222222;
  --btn-secondary-hover: #000000;
}

/*--------------------------------------------------------------
# General Styles
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 13px;
  line-height: 1.428571429;
  font-weight: 400;
}

/* Centered layout - max-width for main container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

a {
  color: #CA000F;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #a50009;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/*--------------------------------------------------------------
# Navigation / Header - Two-Tier Layout (Solid Theme)
--------------------------------------------------------------*/

/* TIER 1: Header with Logo + Horizontal Menu */
.header.solid-header {
  background-color: var(--nav-bg-color);
  border: none;
  box-shadow: none;
  position: relative;
  z-index: 8;
}

.header.solid-header .header-inner {
  position: relative;
  z-index: 8;
  padding: 15px 0;
}

.header.solid-header .logo-container {
  display: inline-block;
  vertical-align: top;
}

.header.solid-header .logo h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  font-family: var(--heading-font);
  margin: 0;
}

.header.solid-header .logo img {
  max-height: 50px;
  width: auto;
}

/* Horizontal Navigation Menu */
.header.solid-header .hoz-menu {
  text-align: right;
}

.header.solid-header .hozmenu ul {
  display: inline-block;
  list-style: none;
  padding: 0;
  margin: 0;
  vertical-align: top;
}

.header.solid-header .hozmenu ul li {
  display: inline-block;
  margin-right: 25px;
  position: relative;
}

.header.solid-header .hozmenu ul li:last-child {
  margin-right: 0;
}

.header.solid-header .hozmenu a {
  color: var(--nav-color);
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 0;
  display: inline-block;
  transition: color 0.3s ease;
}

.header.solid-header .hozmenu a:hover,
.header.solid-header .hozmenu a.active {
  color: #CA000F;
}

/* ======================================== */
/* MEGA MENU - Categories Dropdown         */
/* ======================================== */

/* Container for mega menu item */
.header.solid-header .hozmenu ul li.has-mega-menu {
  position: static;
}

/* Trigger link with arrow */
.header.solid-header .hozmenu .mega-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.header.solid-header .hozmenu .mega-menu-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.header.solid-header .hozmenu li.has-mega-menu:hover .mega-menu-arrow {
  transform: rotate(180deg);
}

/* Mega menu dropdown container */
.header.solid-header .hozmenu .mega-menu {
  --mega-menu-columns: 6;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 3px solid #CA000F;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 24px 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.header.solid-header .hozmenu li.has-mega-menu:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mega menu inner container - default columns layout */
.header.solid-header .mega-menu-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.header.solid-header .mega-menu-column {
  flex: 0 0 auto;
  min-width: 180px;
  max-width: 220px;
  text-align: left;
}

/* LAYOUT: Grid */
.header.solid-header .mega-menu.mega-menu-grid .mega-menu-container {
  justify-content: center;
  gap: 16px;
}

.header.solid-header .mega-menu.mega-menu-grid .mega-menu-column {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.header.solid-header .mega-menu.mega-menu-grid .mega-menu-column:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* LAYOUT: List */
.header.solid-header .mega-menu.mega-menu-list-layout .mega-menu-container {
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  max-width: 600px;
}

.header.solid-header .mega-menu.mega-menu-list-layout .mega-menu-column {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 6px;
  transition: background 0.2s;
}

.header.solid-header .mega-menu.mega-menu-list-layout .mega-menu-column:hover {
  background: #f8f9fa;
}

.header.solid-header .mega-menu.mega-menu-list-layout .mega-menu-heading {
  border-bottom: none;
  margin-bottom: 0;
  padding: 0;
  font-size: 14px;
}

.header.solid-header .mega-menu.mega-menu-list-layout .mega-menu-list {
  display: none;
}


.header.solid-header .mega-menu-column.mega-menu-empty {
  flex: 0 0 100%;
  width: 100%;
  text-align: center;
  padding: 24px;
}

/* Category heading (main category link) */
.header.solid-header .mega-menu-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #212529;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid #CA000F;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.2s ease;
  text-align: left;
}

.header.solid-header .mega-menu-heading:hover {
  color: #CA000F;
}

/* Product count badge */
.header.solid-header .mega-menu-count {
  font-size: 11px;
  font-weight: 400;
  color: #888;
  margin-left: auto;
}

/* Category description */
.header.solid-header .mega-menu-desc {
  font-size: 12px;
  color: #666;
  margin: 0 0 10px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Subcategories list */
.header.solid-header .mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.header.solid-header .mega-menu-list li {
  display: block;
  margin: 0;
  padding: 0;
}

.header.solid-header .mega-menu-list li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 5px 0;
  font-size: 13px;
  color: #555;
  text-transform: none;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: left;
}

.header.solid-header .mega-menu-list li a:hover {
  color: #CA000F;
  padding-left: 6px;
}

.header.solid-header .mega-menu-list li a .mega-menu-count {
  font-size: 10px;
  margin-left: auto;
}

/* Footer with "All products" link */
.header.solid-header .mega-menu-footer {
  flex: 0 0 100%;
  width: 100%;
  border-top: 1px solid #eee;
  margin-top: 12px;
  padding-top: 16px;
  text-align: center;
}

.header.solid-header .hozmenu .mega-menu-all-link,
.header.solid-header .mega-menu-footer a.mega-menu-all-link {
  display: inline-block;
  padding: 14px 56px;
  background: #CA000F;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.header.solid-header .mega-menu-all-link:hover {
  background: #CA000F;
  color: #fff !important;
  text-decoration: none;
}

.header.solid-header .mega-menu-all-link i {
  margin-right: 8px;
}

/* Empty state link */
.header.solid-header .mega-menu-link {
  display: inline-block;
  margin-top: 10px;
  color: #CA000F;
  text-decoration: none;
  font-weight: 500;
}

.header.solid-header .mega-menu-link:hover {
  text-decoration: underline;
}

/* Responsive: Tablet */
@media (max-width: 991px) {
  .header.solid-header .mega-menu-container {
    justify-content: center;
    gap: 30px;
  }
  .header.solid-header .mega-menu-column {
    min-width: 150px;
    max-width: 180px;
  }
}

/* Responsive: Mobile - Convert to vertical list layout */
@media (max-width: 767px) {
  .header.solid-header .hozmenu .mega-menu {
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    border-top: none;
    z-index: 9999;
  }

  .header.solid-header .mega-menu-container {
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    max-width: none;
    padding: 0;
  }

  .header.solid-header .mega-menu-column {
    flex: 0 0 auto;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    border-bottom: 1px solid #eee;
    padding: 0;
  }

  .header.solid-header .mega-menu-heading {
    display: block;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    background: #f8f9fa;
    border-bottom: 2px solid #CA000F;
    margin: 0;
  }

  .header.solid-header .mega-menu-heading:hover {
    background: #f0f0f0;
  }

  .header.solid-header .mega-menu-list {
    padding: 0;
  }

  .header.solid-header .mega-menu-list li a {
    display: block;
    padding: 14px 20px 14px 36px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
  }

  .header.solid-header .mega-menu-list li a:hover {
    background: rgba(202, 0, 15, 0.05);
    padding-left: 40px;
  }

  .header.solid-header .mega-menu-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 16px 20px;
    border-top: 2px solid #CA000F;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  }

  .header.solid-header .mega-menu-all-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  /* Hide desc and count on mobile */
  .header.solid-header .mega-menu-desc,
  .header.solid-header .mega-menu-count {
    display: none;
  }

  /* Close button for mobile mega menu */
  .header.solid-header .mega-menu::before {
    content: '✕ Zamknij';
    display: block;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #CA000F;
    background: #fff;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    text-align: right;
  }
}

/* ======================================== */
/* END MEGA MENU                           */
/* ======================================== */

/* TIER 2: Top Menu with Categories + Search */
.top-menu {
  position: relative;
  z-index: 7;
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  overflow: visible;
}

.top-menu .container,
.top-menu .row,
.top-menu .col-menu {
  overflow: visible;
}

/* Vertical Category Menu (Left Side) - Hamburger Style */
.vertical-categories {
  background: white;
  border-radius: 4px;
  position: relative;
  z-index: 100;
  overflow: visible;
}

.vertical-categories .category-title {
  background: #CA000F;
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding: 0 20px;
  height: 56px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px;
}

.vertical-categories .category-title:hover {
  background: #a50009;
}

.vertical-categories .category-title i {
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.vertical-categories .category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: white;
  border: 1px solid var(--border-color);
  border-top: 1px solid #CA000F;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 4px 4px;
  max-height: 400px;
  overflow-y: auto;
}

.vertical-categories.open .category-list {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  padding: 10px 0;
  display: block !important;
  pointer-events: auto !important;
}

.vertical-categories .category-list li {
  margin: 0;
}

.vertical-categories .category-list a {
  color: var(--default-color);
  font-size: 14px;
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.vertical-categories .category-list a:hover {
  color: #CA000F;
  background: var(--light-gray);
  border-left-color: #CA000F;
}

/* Hierarchical Categories */
.vertical-categories .category-divider {
  height: 1px;
  background: var(--border-color);
  margin: 8px 0;
}

.vertical-categories .vertical-category-item {
  position: relative;
  margin: 0;
}

.vertical-categories .category-item-wrapper {
  position: relative;
  transition: background 0.15s ease;
}

.vertical-categories .category-item-wrapper:hover {
  background: rgba(202, 0, 15, 0.04);
}

.vertical-categories .category-item-wrapper:hover .category-link {
  color: #CA000F;
  border-left-color: #CA000F;
}

.vertical-categories .category-toggle-btn {
  transition: all 0.15s ease;
  opacity: 0.6;
}

.vertical-categories .category-toggle-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.vertical-categories .category-toggle-btn.expanded {
  opacity: 0.8;
}

.vertical-categories .category-link {
  color: #434343;
  font-weight: 500;
}

.vertical-categories .category-child .category-link {
  color: #666;
  font-weight: 400;
}

.vertical-categories .category-children {
  background: rgba(0, 0, 0, 0.015);
  border-left: 1px solid rgba(202, 0, 15, 0.1);
  margin-left: 10px;
}

.vertical-categories .category-children .category-children {
  background: rgba(0, 0, 0, 0.025);
}

/* Search Bar (Right Side) */
.col-search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.top-search {
  flex: 0 1 auto;
  max-width: 680px;
  width: 100%;
}

#search.input-group {
  display: flex;
  width: 100%;
  height: 56px;
}

#search input {
  height: 56px;
  border: 2px solid #CA000F;
  font-size: 14px;
  color: #a4a4a4;
  font-weight: 400;
  background: transparent;
  border-radius: 4px 0 0 4px;
  padding: 0 15px;
  flex: 1;
  line-height: 56px;
}

#search input:focus {
  outline: none;
  border-color: #CA000F;
  box-shadow: 0 0 0 0.2rem rgba(202, 0, 15, 0.15);
}

#search .input-group-btn {
  display: flex;
}

#search .input-group-btn button {
  background: #CA000F;
  border: 0;
  height: 56px;
  width: 56px;
  min-width: 56px;
  border-radius: 0 4px 4px 0;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

#search .input-group-btn button i {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#search .input-group-btn button:hover {
  background: #a50009;
}

/* Cart Icon */
.box-cart.cart-desktop {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.box-cart .cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--default-color);
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.box-cart .cart-link:hover {
  color: #CA000F;
}

.box-cart .cart-count {
  background: #CA000F;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  min-width: 20px;
  text-align: center;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: var(--default-color);
  font-size: 28px;
  line-height: 0;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: all 0.3s;
}

.mobile-nav-toggle:hover {
  color: #CA000F;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-navmenu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: white;
  z-index: 9998;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-navmenu.active {
  right: 0;
}

.mobile-nav-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-header h3 {
  margin: 0;
  font-size: 18px;
  color: var(--heading-color);
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 0;
  cursor: pointer;
  color: var(--default-color);
  transition: color 0.3s;
}

.mobile-nav-close:hover {
  color: #CA000F;
}

.mobile-navmenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-navmenu ul li {
  border-bottom: 1px solid var(--border-color);
}

.mobile-navmenu ul li a {
  display: block;
  padding: 15px 20px;
  color: var(--default-color);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s;
}

.mobile-navmenu ul li a:hover,
.mobile-navmenu ul li a.active {
  background: var(--light-gray);
  color: #CA000F;
  padding-left: 30px;
}

/* Responsive Design */
@media (max-width: 991px) {
  .top-menu {
    padding: 15px 0;
  }

  .col-search {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .top-search {
    max-width: 100%;
  }

  .box-cart.cart-desktop {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .header.solid-header .logo h1 {
    font-size: 20px;
  }

  .top-menu .row > div:last-child {
    margin-bottom: 0;
  }

  #search.input-group {
    height: 48px;
  }

  #search input {
    height: 48px;
    font-size: 13px;
    line-height: 48px;
  }

  #search .input-group-btn button {
    height: 48px;
    width: 48px;
    min-width: 48px;
    font-size: 18px;
  }

  .vertical-categories .category-title {
    font-size: 14px;
    height: 48px;
  }

  .vertical-categories .category-list a {
    padding: 8px 15px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero.solid-hero {
  width: 100%;
  min-height: 500px;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.hero.solid-hero.hero-with-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('') center/cover;
}

.hero.solid-hero .hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero.solid-hero .container {
  position: relative;
  z-index: 2;
}

.hero.solid-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 20px;
}

.hero.solid-hero p {
  font-size: 18px;
  color: var(--default-color);
  margin-bottom: 30px;
}

.hero.solid-hero .btn-primary {
  background-color: #CA000F;
  border-color: #CA000F;
  color: white;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hero.solid-hero .btn-primary:hover {
  background-color: #a50009;
  border-color: #a50009;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(202, 0, 15, 0.3);
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 60px 0;
}

section.section-gray {
  background-color: var(--surface-color);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--heading-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #CA000F;
}

.section-title p {
  font-size: 16px;
  color: #666;
  margin-top: 10px;
}

/*--------------------------------------------------------------
# Product Cards (Offer Items)
--------------------------------------------------------------*/
.product-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.product-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-card-image-wrapper {
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 15px;
  box-sizing: border-box;
}

.product-card .card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 10px;
}

.product-card .price {
  font-size: 24px;
  font-weight: 700;
  color: #CA000F;
  margin: 10px 0;
}

.product-card .btn {
  margin-top: auto;
  background-color: #CA000F;
  border-color: #CA000F;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.product-card .btn:hover {
  background-color: #a50009;
  border-color: #a50009;
}

/*--------------------------------------------------------------
# Features Section (Solid Corporate Style)
--------------------------------------------------------------*/
section.solid-features,
.website-section .solid-features,
.solid-features {
  background-color: #f5f5f5 !important;
  background-image: none !important;
  margin: 0 !important;
  padding: 40px 0 !important;
}

/* Override any wrapper background for Solid features */
.website-section:has(.solid-features) {
  background-color: transparent !important;
  background-image: none !important;
}

.solid-features .features-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.solid-features .feature-col {
  position: relative;
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.solid-features .feature-col:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
  width: 1px;
  background: #ddd;
}

.solid-features .feature-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  width: 100%;
}

.solid-features .feature-icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  background: none !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}

.solid-features .feature-icon i,
.solid-features .feature-icon i.bi,
.solid-features .feature-icon i[class*="bi-"] {
  font-size: 32px !important;
  color: #CA000F !important;
  line-height: 1;
  background: none !important;
  background-color: transparent !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #CA000F !important;
}

.solid-features .feature-text {
  flex: 1;
}

.solid-features .feature-text h3 {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #CA000F !important;
  margin: 0 0 3px 0 !important;
  text-transform: none !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}

.solid-features .feature-text p {
  font-size: 12px !important;
  color: #888 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}

/* Responsive - 2 columns on tablet */
@media (max-width: 991px) {
  .solid-features .feature-col {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 25px;
  }

  .solid-features .feature-col:nth-child(2)::after,
  .solid-features .feature-col:nth-child(4)::after {
    display: none;
  }
}

/* Responsive - 1 column on mobile */
@media (max-width: 575px) {
  .solid-features .feature-col {
    flex: 0 0 100%;
    max-width: 100%;
    justify-content: center;
  }

  .solid-features .feature-col::after {
    display: none !important;
  }

  .solid-features .feature-item {
    justify-content: flex-start;
  }
}

/* Legacy grid fallback */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-box {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.feature-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.feature-box .icon {
  font-size: 48px;
  color: #CA000F;
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-box p {
  color: #666;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-solid-primary {
  background-color: #CA000F;
  border-color: #CA000F;
  color: white;
  padding: 10px 28px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-solid-primary:hover {
  background-color: #a50009;
  border-color: #a50009;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(202, 0, 15, 0.3);
}

.btn-solid-secondary {
  background-color: transparent;
  border: 2px solid var(--btn-secondary-bg);
  color: var(--btn-secondary-bg);
  padding: 10px 28px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-solid-secondary:hover {
  background-color: var(--btn-secondary-bg);
  border-color: var(--btn-secondary-bg);
  color: white;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer.solid-footer {
  background-color: #222222;
  color: #b0b0b0;
  padding: 50px 0 20px;
}

.footer.solid-footer h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer.solid-footer a {
  color: #b0b0b0;
  transition: all 0.3s ease;
}

.footer.solid-footer a:hover {
  color: #CA000F;
}

.footer.solid-footer .footer-links ul {
  list-style: none;
  padding: 0;
}

.footer.solid-footer .footer-links li {
  padding: 8px 0;
}

.footer.solid-footer .social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer.solid-footer .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer.solid-footer .social-links a:hover {
  background-color: #CA000F;
  color: white;
}

.footer.solid-footer .copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-info {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 4px;
}

.contact-info .info-item {
  display: flex;
  align-items: start;
  margin-bottom: 25px;
}

.contact-info .info-item i {
  font-size: 24px;
  color: #CA000F;
  margin-right: 15px;
  margin-top: 5px;
}

.contact-info .info-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-info .info-item p {
  margin: 0;
  color: #666;
}

/* Contact Forms - General Form Styles */
.solid-contact form,
.contact-section form,
.solid-hero form {
  width: 100%;
}

.solid-contact .form-control,
.contact-section .form-control,
.solid-hero .form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
  width: 100%;
}

.solid-contact .form-control:focus,
.contact-section .form-control:focus,
.solid-hero .form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #CA000F;
  box-shadow: 0 0 0 0.2rem rgba(202, 0, 15, 0.15);
}

.solid-contact button[type="submit"],
.contact-section button[type="submit"],
.solid-hero button[type="submit"] {
  background-color: #CA000F;
  border-color: #CA000F;
  color: white;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.solid-contact button[type="submit"]:hover,
.contact-section button[type="submit"]:hover,
.solid-hero button[type="submit"]:hover {
  background-color: #a50009;
  border-color: #a50009;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(202, 0, 15, 0.3);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services-section.solid-services .service-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.services-section.solid-services .service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: #CA000F;
}

.services-section.solid-services .service-card .icon {
  font-size: 48px;
  color: #CA000F;
  margin-bottom: 20px;
}

.services-section.solid-services .service-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.services-section.solid-services .service-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.services-section.solid-services .service-card .btn {
  background-color: transparent;
  border: 2px solid #CA000F;
  color: #CA000F;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.services-section.solid-services .service-card .btn:hover {
  background-color: #CA000F;
  color: white;
}

/*--------------------------------------------------------------
# CTA (Call to Action) Section
--------------------------------------------------------------*/
.cta-section.solid-cta {
  background: linear-gradient(135deg, #CA000F 0%, #a50009 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.cta-section.solid-cta h2 {
  color: white;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-section.solid-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-section.solid-cta .btn {
  background-color: white;
  border-color: white;
  color: #CA000F;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cta-section.solid-cta .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/*--------------------------------------------------------------
# About Section - Banner Style
--------------------------------------------------------------*/
.about-section.solid-about.solid-about-banner {
  padding: 70px 0;
  margin: 30px 0 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-section.solid-about .solid-about-content {
  text-align: center;
  padding: 20px 40px;
}

.about-section.solid-about .solid-about-title {
  color: white;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.about-section.solid-about .solid-about-text {
  color: white;
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-section.solid-about .solid-about-text p {
  color: white;
  margin-bottom: 0.5rem;
}

.about-section.solid-about .solid-about-text strong {
  font-weight: 700;
}

.about-section.solid-about .solid-about-button {
  margin-top: 1.5rem;
}

.about-section.solid-about .solid-about-btn {
  display: inline-block;
  background-color: #CA000F;
  border: 2px solid #CA000F;
  color: white;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.about-section.solid-about .solid-about-btn:hover {
  background-color: #a50009;
  border-color: #a50009;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(202, 0, 15, 0.3);
}

@media (max-width: 768px) {
  .about-section.solid-about.solid-about-banner {
    padding: 50px 0;
  }

  .about-section.solid-about .solid-about-content {
    padding: 15px 20px;
  }

  .about-section.solid-about .solid-about-title {
    font-size: 1.5rem;
  }

  .about-section.solid-about .solid-about-text {
    font-size: 1rem;
  }
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq-section.solid-faq .faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-section.solid-faq .faq-question {
  padding: 20px;
  background: var(--surface-color);
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  padding-right: 50px;
}

.faq-section.solid-faq .faq-question:hover {
  background: var(--light-gray);
  color: #CA000F;
}

.faq-section.solid-faq .faq-question:after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #CA000F;
  transition: transform 0.3s ease;
}

.faq-section.solid-faq .faq-item.active .faq-question:after {
  content: "-";
  transform: translateY(-50%) rotate(180deg);
}

.faq-section.solid-faq .faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-section.solid-faq .faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.solid-testimonials {
  background-color: var(--light-gray);
}

.solid-testimonials .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.solid-testimonials .section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.solid-testimonials .section-header p {
  color: #666;
  font-size: 15px;
}

.solid-testimonials .testimonial-card {
  background: #ffffff;
  padding: 30px;
  border: none;
  border-radius: 0;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.solid-testimonials .testimonial-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.solid-testimonials .testimonial-card .quote-icon {
  color: #CA000F;
  font-size: 2.5rem;
  opacity: 0.2;
  position: absolute;
  top: 20px;
  right: 25px;
}

.solid-testimonials .testimonial-card .rating {
  margin-bottom: 15px;
}

.solid-testimonials .testimonial-card .rating .bi-star-fill {
  color: #CA000F;
  font-size: 14px;
  margin-right: 2px;
}

.solid-testimonials .testimonial-card .rating .bi-star {
  color: #ddd;
  font-size: 14px;
  margin-right: 2px;
}

.solid-testimonials .testimonial-card .testimonial-content {
  color: #555;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}

.solid-testimonials .testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: auto;
}

.solid-testimonials .testimonial-card .author-image {
  width: 55px;
  height: 55px;
  border-radius: 0;
  margin-right: 15px;
  object-fit: cover;
}

.solid-testimonials .testimonial-card .author-info h6 {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 3px;
}

.solid-testimonials .testimonial-card .author-info span {
  font-size: 13px;
  color: #888;
}

/* Legacy fallback styles */
.testimonial-card {
  background: white;
  padding: 30px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 30px;
}

.testimonial-card .testimonial-text {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-card .author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-card .author-info h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-card .author-info p {
  font-size: 14px;
  color: #777;
  margin: 0;
}

/*--------------------------------------------------------------
# Price Table / Price List
--------------------------------------------------------------*/
.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.price-item:last-child {
  border-bottom: none;
}

.price-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--heading-color);
}

.price-item p {
  font-size: 14px;
  color: #666;
  margin: 5px 0 0 0;
}

.price-item .price {
  font-size: 20px;
  font-weight: 700;
  color: #CA000F;
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(202, 0, 15, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay i {
  font-size: 36px;
  color: white;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .hero.solid-hero h1 {
    font-size: 32px;
  }

  .hero.solid-hero p {
    font-size: 16px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }

  .product-card-image-wrapper {
    height: 200px;
  }
}

/*--------------------------------------------------------------
# Solid Hero Slider - Mobile Responsive Styles
--------------------------------------------------------------*/

/* Tablet - adjust spacing and arrow size */
@media (max-width: 991px) {
  .hero.solid-hero.solid-hero-slider {
    min-height: 400px;
  }

  .hero.solid-hero.solid-hero-slider .swiper-slide > .container {
    padding-left: 50px !important;
    padding-right: 50px !important;
  }

  .hero.solid-hero.solid-hero-slider .swiper-button-prev,
  .hero.solid-hero.solid-hero-slider .swiper-button-next {
    width: 40px !important;
    height: 40px !important;
  }

  .hero.solid-hero.solid-hero-slider .swiper-button-prev::after,
  .hero.solid-hero.solid-hero-slider .swiper-button-next::after {
    font-size: 16px !important;
  }

  .hero.solid-hero.solid-hero-slider h1 {
    font-size: 36px !important;
  }

  .hero.solid-hero.solid-hero-slider p {
    font-size: 16px !important;
  }
}

/* Phone landscape - more padding, smaller arrows */
@media (max-width: 767px) {
  .hero.solid-hero.solid-hero-slider {
    min-height: 350px;
  }

  .hero.solid-hero.solid-hero-slider .swiper-slide > .container {
    padding-left: 45px !important;
    padding-right: 45px !important;
  }

  /* Move arrows to edges */
  .hero.solid-hero.solid-hero-slider .swiper-button-prev {
    left: 5px !important;
  }

  .hero.solid-hero.solid-hero-slider .swiper-button-next {
    right: 5px !important;
  }

  .hero.solid-hero.solid-hero-slider .swiper-button-prev,
  .hero.solid-hero.solid-hero-slider .swiper-button-next {
    width: 36px !important;
    height: 36px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 50% !important;
  }

  .hero.solid-hero.solid-hero-slider .swiper-button-prev::after,
  .hero.solid-hero.solid-hero-slider .swiper-button-next::after {
    font-size: 14px !important;
  }

  .hero.solid-hero.solid-hero-slider h1 {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  .hero.solid-hero.solid-hero-slider p {
    font-size: 15px !important;
  }

  .hero.solid-hero.solid-hero-slider .hero-buttons {
    margin-top: 1rem !important;
  }

  .hero.solid-hero.solid-hero-slider .btn-hero-primary,
  .hero.solid-hero.solid-hero-slider .btn-hero-secondary {
    padding: 10px 24px !important;
    font-size: 14px !important;
  }
}

/* Phone portrait - hide arrows, use dots only */
@media (max-width: 480px) {
  .hero.solid-hero.solid-hero-slider {
    min-height: 320px;
  }

  .hero.solid-hero.solid-hero-slider .swiper-slide > .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 50px !important; /* Space for dots */
  }

  /* Hide navigation arrows on very small screens */
  .hero.solid-hero.solid-hero-slider .swiper-button-prev,
  .hero.solid-hero.solid-hero-slider .swiper-button-next {
    display: none !important;
  }

  /* Pagination dots - make more prominent */
  .hero.solid-hero.solid-hero-slider .swiper-pagination {
    bottom: 15px !important;
  }

  .hero.solid-hero.solid-hero-slider .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    margin: 0 6px !important;
  }

  .hero.solid-hero.solid-hero-slider h1 {
    font-size: 24px !important;
    margin-bottom: 12px !important;
  }

  .hero.solid-hero.solid-hero-slider p {
    font-size: 14px !important;
    margin-bottom: 15px !important;
  }

  .hero.solid-hero.solid-hero-slider .hero-buttons {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .hero.solid-hero.solid-hero-slider .btn-hero-primary,
  .hero.solid-hero.solid-hero-slider .btn-hero-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 20px !important;
  }
}

/* Single Hero mode - mobile adjustments */
@media (max-width: 767px) {
  .hero.solid-hero:not(.solid-hero-slider) .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .hero.solid-hero:not(.solid-hero-slider) .col-lg-6 {
    text-align: center;
  }

  .hero.solid-hero:not(.solid-hero-slider) .hero-buttons {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .hero.solid-hero:not(.solid-hero-slider) {
    min-height: 350px;
  }

  .hero.solid-hero:not(.solid-hero-slider) .hero-buttons {
    flex-direction: column !important;
    width: 100% !important;
  }

  .hero.solid-hero:not(.solid-hero-slider) .btn-hero-primary,
  .hero.solid-hero:not(.solid-hero-slider) .btn-hero-secondary {
    width: 100% !important;
    justify-content: center !important;
  }
}

/*--------------------------------------------------------------
# Solid Featured Categories - Mobile Responsive Styles
--------------------------------------------------------------*/

/* Tablet - reduce gaps, container padding */
@media (max-width: 991px) {
  .solid-featured-categories .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .solid-featured-categories .row.g-4 {
    --bs-gutter-x: 1rem !important;
    --bs-gutter-y: 1rem !important;
  }

  .solid-featured-categories .section-title {
    margin-bottom: 1.5rem !important;
  }

  .solid-featured-categories .section-title h2 {
    font-size: 1.5rem !important;
  }
}

/* Phone landscape - smaller gaps, edge-to-edge tiles */
@media (max-width: 767px) {
  .solid-featured-categories {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .solid-featured-categories .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .solid-featured-categories .row.g-4 {
    --bs-gutter-x: 8px !important;
    --bs-gutter-y: 8px !important;
  }

  .solid-featured-categories .section-title {
    margin-bottom: 1rem !important;
    padding: 0 8px;
  }

  .solid-featured-categories .section-title h2 {
    font-size: 1.35rem !important;
  }

  .solid-featured-categories .section-title p {
    font-size: 0.9rem !important;
  }

  /* Tile adjustments */
  .solid-featured-categories .tile-image-wrapper {
    padding-top: 55% !important;
    border-radius: 4px !important;
  }

  .solid-featured-categories .tile-text-box {
    padding: 0.6rem 1rem !important;
    max-width: 95% !important;
  }

  .solid-featured-categories .tile-name {
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
  }

  .solid-featured-categories .tile-description {
    font-size: 0.75rem !important;
    display: none !important; /* Hide on mobile to save space */
  }
}

/* Phone portrait - ultra compact, maximum space usage */
@media (max-width: 480px) {
  .solid-featured-categories {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .solid-featured-categories .container {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .solid-featured-categories .row.g-4 {
    --bs-gutter-x: 6px !important;
    --bs-gutter-y: 6px !important;
  }

  .solid-featured-categories .section-title {
    margin-bottom: 0.75rem !important;
  }

  .solid-featured-categories .section-title h2 {
    font-size: 1.2rem !important;
  }

  /* Tiles - bigger and edge-to-edge */
  .solid-featured-categories .tile-image-wrapper {
    padding-top: 60% !important;
    border-radius: 3px !important;
  }

  .solid-featured-categories .tile-text-box {
    padding: 0.5rem 0.75rem !important;
    max-width: 98% !important;
  }

  .solid-featured-categories .tile-name {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
  }

  /* Category tile link - no extra margins */
  .solid-featured-categories .category-tile {
    border-radius: 3px !important;
  }
}

/* Very small phones - single column option */
@media (max-width: 360px) {
  .solid-featured-categories .row.g-4 {
    --bs-gutter-x: 4px !important;
    --bs-gutter-y: 4px !important;
  }

  .solid-featured-categories .container {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .solid-featured-categories .tile-text-box {
    padding: 0.4rem 0.6rem !important;
  }

  .solid-featured-categories .tile-name {
    font-size: 0.8rem !important;
  }
}

/*--------------------------------------------------------------
# Product Options - Solid Theme Override (All Types)
--------------------------------------------------------------*/

/* === Button Group (Grupa przycisków) === */
.button-group-option .button-display::after {
  background: #CA000F !important;
}

.button-group-option.has-image input[type="radio"]:checked + .button-display {
  border-color: #CA000F !important;
  outline-color: #CA000F !important;
}

.button-group-option.text-only input[type="radio"]:checked + .button-display {
  background-color: #CA000F !important;
  border-color: #CA000F !important;
}

.button-group-option.has-image:hover .button-display,
.button-group-option.text-only:hover .button-display {
  border-color: #CA000F !important;
}

/* === Color Swatches (Próbki kolorów) === */
.swatch-option input[type="radio"]:checked + .swatch-display {
  border-color: #CA000F !important;
  box-shadow: 0 0 0 3px rgba(202, 0, 15, 0.2) !important;
}

.swatch-option:hover .swatch-display {
  border-color: #CA000F !important;
}

/* === Custom Select Dropdown (Lista rozwijana) === */
.custom-select.open .custom-select-trigger {
  border-color: #CA000F !important;
  box-shadow: 0 0 0 0.25rem rgba(202, 0, 15, 0.15) !important;
}

.custom-select-trigger-price {
  color: #CA000F !important;
}

.custom-select-search-input:focus {
  border-color: #CA000F !important;
  box-shadow: 0 0 0 0.2rem rgba(202, 0, 15, 0.1) !important;
}

.custom-select-option.selected {
  background-color: rgba(202, 0, 15, 0.1) !important;
  color: #CA000F !important;
}

.custom-select-option.selected:hover {
  background-color: rgba(202, 0, 15, 0.15) !important;
}

.custom-select-option.selected .option-price {
  color: #CA000F !important;
}

.custom-select:focus .custom-select-trigger {
  border-color: #CA000F !important;
  box-shadow: 0 0 0 0.25rem rgba(202, 0, 15, 0.15) !important;
}

/* === Checkboxes & Radio Buttons (Pola wyboru) === */
.product-option .form-check-input:checked {
  background-color: #CA000F !important;
  border-color: #CA000F !important;
}

.product-option .form-check-input:focus {
  border-color: #CA000F !important;
  box-shadow: 0 0 0 0.25rem rgba(202, 0, 15, 0.25) !important;
}

/* === Button Options (Przyciski opcji) === */
.button-option input[type="radio"]:checked + .button-display {
  border-color: #CA000F !important;
  background-color: #CA000F !important;
}

.button-option:hover .button-display {
  border-color: #CA000F !important;
}

/* === Text/Textarea/Date/File inputs focus === */
.product-option input:focus,
.product-option textarea:focus,
.product-option select:focus {
  border-color: #CA000F !important;
  box-shadow: 0 0 0 0.2rem rgba(202, 0, 15, 0.15) !important;
}

/* === Product thumbnails === */
.product-thumbnail:hover,
.product-thumbnail.active {
  border-color: #CA000F !important;
}

/* === Price modifier color === */
.price-modifier {
  color: #CA000F !important;
}

/* === Product Specifications === */
.specifications-header i {
  color: #CA000F !important;
}

.specifications-expand-btn {
  color: #CA000F !important;
}

/* === Product Availability Info Badge === */
.availability-badge {
  background: linear-gradient(135deg, rgba(202, 0, 15, 0.1) 0%, rgba(202, 0, 15, 0.05) 100%) !important;
  border-color: rgba(202, 0, 15, 0.2) !important;
}

.availability-badge i {
  color: #CA000F !important;
}

/* Mobile: Remove badge border completely */
@media (max-width: 991px) {
  .availability-badge {
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
  }

  .product-availability-info::before,
  .product-availability-info::after,
  .availability-badge::before,
  .availability-badge::after {
    display: none !important;
  }
}

.availability-value {
  color: #CA000F !important;
}

/* === Custom Select Search Input - fix icon overlap === */
.custom-select-search-input {
  padding-left: 25px !important;
}

/*--------------------------------------------------------------
# Top Bar - Mobile Responsive Styles (Solid Theme)
--------------------------------------------------------------*/

/* Mobile layout - 2 rows like mockup */
@media (max-width: 991px) {
  .top-bar {
    height: auto !important;
    line-height: 1.4 !important;
    padding: 8px 0 0 0 !important;
  }

  .top-bar .container {
    padding: 0 !important;
  }

  .top-bar .top-bar-content {
    flex-direction: column !important;
    height: auto !important;
    gap: 0 !important;
  }

  /* Row 1: Phone numbers only */
  .top-bar .top-bar-left {
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    padding: 10px 15px !important;
    border-bottom: none !important;
    background: transparent !important;
  }

  /* Phone items styling - CONSISTENT SIZE */
  .top-bar .top-bar-item[href^="tel:"] {
    padding: 0 10px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
  }

  .top-bar .top-bar-item[href^="tel:"] i {
    font-size: 17px !important;
  }

  /* "Lub" separator between phones */
  .top-bar .top-bar-left .top-bar-item[href^="tel:"] + span[style*="width: 3px"] {
    display: none !important;
  }

  .top-bar .top-bar-left .top-bar-item[href^="tel:"]:not(:last-of-type)::after {
    content: "Lub";
    margin-left: 12px;
    margin-right: 4px;
    font-size: 15px;
    color: #666;
    font-weight: 400;
  }

  /* Hide ALL separators in top-bar-left on mobile (any span with width or background) */
  .top-bar .top-bar-left span[style*="width: 3px"],
  .top-bar .top-bar-left span[style*="width:3px"],
  .top-bar .top-bar-left span[style*="background-color"]:not(.top-bar-item),
  .top-bar .top-bar-left span[style*="border-radius: 2px"] {
    display: none !important;
  }

  /* Hide email in top-bar-left on mobile (it's shown in top-bar-right) */
  .top-bar .top-bar-left .top-bar-email,
  .top-bar .top-bar-left [data-email],
  .top-bar .top-bar-left span.top-bar-item[onclick*="copyEmail"] {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  /* Also hide separators that follow hidden emails */
  .top-bar .top-bar-left .top-bar-email + span,
  .top-bar .top-bar-left [data-email] + span {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Row 2: Email, Account, Social - NO BORDER - CONSISTENT SIZE */
  .top-bar .top-bar-right {
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 10px 15px !important;
    flex-wrap: nowrap !important;
    border-top: none !important;
    border-bottom: none !important;
  }

  /* All items in right section - SAME SIZE AS ROW 1 */
  .top-bar .top-bar-right .top-bar-item,
  .top-bar .top-bar-right > a,
  .top-bar .top-bar-right > span:not([style*="width"]) {
    padding: 0 10px !important;
    font-size: 16px !important;
  }

  .top-bar .top-bar-right .top-bar-social {
    padding: 0 10px !important;
    font-size: 20px !important;
  }

  /* Vertical separators between items */
  .top-bar .top-bar-right > span[style*="width: 3px"] {
    display: block !important;
    width: 1px !important;
    height: 20px !important;
    background: rgba(0,0,0,0.15) !important;
    margin: 0 6px !important;
  }

  /* Mobile Email - CONSISTENT with Row 1 */
  .top-bar .top-bar-right .top-bar-email-mobile {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 10px !important;
    font-size: 16px !important;
    color: #CA000F !important;
    cursor: pointer !important;
  }

  .top-bar .top-bar-right .top-bar-email-mobile i {
    font-size: 17px !important;
  }

  .top-bar .top-bar-right .top-bar-email-mobile .email-text {
    display: inline !important;
    white-space: nowrap !important;
  }

  /* Customer Account button - CONSISTENT with Row 1 */
  .top-bar .top-bar-right .top-bar-account {
    height: auto !important;
  }

  .top-bar .top-bar-right .top-bar-account-btn {
    font-size: 16px !important;
    padding: 0 10px !important;
    gap: 5px !important;
  }

  .top-bar .top-bar-right .top-bar-account-btn i.bi-person-circle {
    font-size: 17px !important;
  }

  .top-bar .top-bar-right .top-bar-account-btn i.bi-chevron-down {
    font-size: 11px !important;
  }
}

/* Small screens (phones) - CONSISTENT SIZING */
@media (max-width: 767px) {
  .top-bar {
    padding: 6px 0 0 0 !important;
  }

  .top-bar .top-bar-left {
    padding: 8px 10px !important;
  }

  /* Row 1 - phones */
  .top-bar .top-bar-item[href^="tel:"] {
    font-size: 14px !important;
    padding: 0 8px !important;
  }

  .top-bar .top-bar-item[href^="tel:"] i {
    font-size: 15px !important;
  }

  .top-bar .top-bar-left .top-bar-item[href^="tel:"]:not(:last-of-type)::after {
    font-size: 13px;
  }

  /* Row 2 - SAME SIZE as Row 1 */
  .top-bar .top-bar-right {
    padding: 8px 10px !important;
  }

  .top-bar .top-bar-right .top-bar-item,
  .top-bar .top-bar-right > a,
  .top-bar .top-bar-right > span:not([style*="width"]) {
    font-size: 14px !important;
    padding: 0 8px !important;
  }

  .top-bar .top-bar-right .top-bar-social {
    font-size: 17px !important;
    padding: 0 8px !important;
  }

  /* Mobile Email - CONSISTENT */
  .top-bar .top-bar-right .top-bar-email-mobile {
    font-size: 14px !important;
    padding: 0 8px !important;
    gap: 5px !important;
  }

  .top-bar .top-bar-right .top-bar-email-mobile i {
    font-size: 15px !important;
  }

  /* Customer Account button - CONSISTENT */
  .top-bar .top-bar-right .top-bar-account-btn {
    font-size: 14px !important;
    padding: 0 8px !important;
    gap: 4px !important;
  }

  .top-bar .top-bar-right .top-bar-account-btn i.bi-person-circle {
    font-size: 15px !important;
  }

  .top-bar .top-bar-right .top-bar-account-btn i.bi-chevron-down {
    font-size: 10px !important;
  }
}

/* Extra small screens - CONSISTENT SIZING */
@media (max-width: 480px) {
  .top-bar {
    padding: 5px 0 0 0 !important;
  }

  .top-bar .top-bar-left {
    padding: 6px 8px !important;
  }

  /* Row 1 - phones */
  .top-bar .top-bar-item[href^="tel:"] {
    font-size: 12px !important;
    padding: 0 6px !important;
  }

  .top-bar .top-bar-item[href^="tel:"] i {
    font-size: 13px !important;
  }

  .top-bar .top-bar-item[href^="tel:"]:not(:last-of-type)::after {
    font-size: 11px;
    margin-left: 6px;
    margin-right: 0;
  }

  /* Row 2 - SAME SIZE as Row 1 */
  .top-bar .top-bar-right {
    padding: 6px 8px !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }

  .top-bar .top-bar-right .top-bar-item,
  .top-bar .top-bar-right > a {
    font-size: 12px !important;
    padding: 0 6px !important;
  }

  .top-bar .top-bar-right .top-bar-social {
    font-size: 15px !important;
    padding: 0 6px !important;
  }

  /* Mobile Email - CONSISTENT */
  .top-bar .top-bar-right .top-bar-email-mobile {
    font-size: 12px !important;
    padding: 0 6px !important;
    gap: 4px !important;
  }

  .top-bar .top-bar-right .top-bar-email-mobile i {
    font-size: 13px !important;
  }

  .top-bar .top-bar-right .top-bar-email-mobile .email-text {
    display: inline !important;
    font-size: 12px !important;
  }

  /* Customer Account - CONSISTENT */
  .top-bar .top-bar-right .top-bar-account-btn {
    font-size: 12px !important;
    padding: 0 6px !important;
    gap: 3px !important;
  }

  .top-bar .top-bar-right .top-bar-account-btn span {
    display: inline !important;
    font-size: 12px !important;
  }

  .top-bar .top-bar-right .top-bar-account-btn i.bi-chevron-down {
    font-size: 9px !important;
  }

  .top-bar .top-bar-right .top-bar-account-btn i.bi-person-circle {
    font-size: 13px !important;
  }

  /* Hide some separators on very small */
  .top-bar .top-bar-right > span[style*="width: 3px"]:not(:first-of-type) {
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Solid Header - Mobile Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .header.solid-header {
    padding: 10px 0 !important;
    border-bottom: 1px solid var(--border-color);
  }

  .header.solid-header .header-inner {
    padding: 0;
  }

  .header.solid-header .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .header.solid-header .row {
    display: contents !important;
  }

  .header.solid-header .logo-container,
  .header.solid-header [class*="col-"] {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
  }

  /* Logo on left - BIGGER */
  .header.solid-header .logo {
    display: flex;
    align-items: center;
  }

  .header.solid-header .logo img {
    max-height: 66px !important;
    height: auto !important;
  }

  .header.solid-header .logo h1 {
    font-size: 28px !important;
  }

  /* Mobile Cart in header - next to logo */
  .header.solid-header .box-cart.cart-mobile {
    display: flex !important;
    align-items: center;
    margin-left: auto;
    padding: 0;
    flex: none !important;
    width: auto !important;
  }

  .header.solid-header .box-cart.cart-mobile .cart-link {
    font-size: 26px;
    position: relative;
    color: var(--default-color);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .header.solid-header .box-cart.cart-mobile .cart-link:hover {
    color: #CA000F;
  }

  .header.solid-header .box-cart.cart-mobile .cart-count {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 600;
    padding: 0 5px;
    background: #CA000F;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide desktop menu on mobile */
  .header.solid-header .hoz-menu,
  .header.solid-header .hozmenu {
    display: none !important;
  }

  /* Hide mobile toggle in header - will be in separate row */
  .header.solid-header .mobile-nav-toggle {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .header.solid-header {
    padding: 8px 0 !important;
  }

  .header.solid-header .logo img {
    max-height: 48px !important;
  }

  .header.solid-header .logo h1 {
    font-size: 22px !important;
  }

  .header.solid-header .box-cart.cart-mobile .cart-link {
    font-size: 24px;
    padding: 6px;
  }

  .header.solid-header .box-cart.cart-mobile .cart-count {
    min-width: 16px;
    height: 16px;
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .header.solid-header .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .header.solid-header .logo img {
    max-height: 43px !important;
  }

  .header.solid-header .logo h1 {
    font-size: 20px !important;
  }
}

/*--------------------------------------------------------------
# Top Menu (Tier 2) - Mobile Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .top-menu {
    padding: 0 !important;
    border-bottom: none !important;
  }

  .top-menu .container {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }

  .top-menu .row {
    display: contents !important;
  }

  /* Hide categories dropdown on mobile */
  .top-menu .col-menu,
  .top-menu .vertical-categories {
    display: none !important;
  }

  /* Reorder: MENU button first, then search */
  .top-menu .col-search {
    width: 100% !important;
    flex: none !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    order: 2 !important;
    padding: 0 !important;
  }

  /* Hide cart in top-menu (it's in header now) */
  .top-menu .box-cart {
    display: none !important;
  }

  /* ========== MOBILE INTEGRATED HEADER (x-kom style) ========== */
  /* Container: Search + MENU button in one row */
  .solid-mobile-header {
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    background: #fff !important;
    border: none !important;
    height: 58px !important;
  }

  /* Red MENU button - compact with hamburger + "Menu" text */
  .solid-mobile-menu-btn {
    display: flex !important;
    flex-shrink: 0 !important;
    background: #B3000D !important;
    color: white !important;
    padding: 0 18px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: background 0.2s ease !important;
    min-width: auto !important;
    width: auto !important;
  }

  .solid-mobile-menu-btn:hover {
    background: #950008 !important;
  }

  .solid-mobile-menu-btn i {
    font-size: 21px !important;
    order: -1 !important; /* hamburger first */
  }

  .solid-mobile-menu-btn span {
    margin-top: 2px !important;
  }

  /* Search bar - takes remaining space (left side) */
  .solid-mobile-search {
    display: flex !important;
    flex: 1 !important;
    align-items: center !important;
    background: #f5f5f5 !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .solid-mobile-search input {
    flex: 1 !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    font-size: 14px !important;
    padding: 0 12px !important;
    outline: none !important;
    line-height: 1.2 !important;
    display: flex !important;
    align-items: center !important;
  }

  .solid-mobile-search input::placeholder {
    color: #888 !important;
    font-size: 15px !important;
  }

  .solid-mobile-search input:focus {
    outline: none !important;
    box-shadow: none !important;
  }

  .solid-mobile-search button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 100% !important;
    background: #CA000F !important;
    border: none !important;
    color: white !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  .solid-mobile-search button:hover {
    background: #a50009 !important;
  }

  .solid-mobile-search button i {
    font-size: 17px !important;
    line-height: 1 !important;
  }

  /* Hide old search bar when mobile header is present */
  .top-search {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .solid-mobile-header {
    height: 54px !important;
  }

  .solid-mobile-search input {
    font-size: 14px !important;
    padding: 0 10px !important;
  }

}

@media (max-width: 480px) {
  .solid-mobile-header {
    height: 50px !important;
  }

  .solid-mobile-menu-btn {
    padding: 0 14px !important;
    font-size: 15px !important;
    gap: 8px !important;
  }

  .solid-mobile-search input {
    font-size: 13px !important;
    padding: 0 8px !important;
  }

  .solid-mobile-search input::placeholder {
    font-size: 13px !important;
  }

}

/* Hide mobile header on desktop */
@media (min-width: 992px) {
  .solid-mobile-header {
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation Menu - Enhanced Styles
--------------------------------------------------------------*/
.mobile-navmenu {
  width: 85vw;
  max-width: 320px;
}

@media (max-width: 480px) {
  .mobile-navmenu {
    width: 100vw;
    max-width: none;
    right: -100vw;
  }

  .mobile-navmenu.active {
    right: 0;
  }
}

.mobile-navmenu .mobile-nav-header {
  padding: 16px 20px;
  background: #f8f9fa;
  border-bottom: 2px solid #CA000F;
}

.mobile-navmenu .mobile-nav-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
}

.mobile-navmenu .mobile-nav-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 24px;
  transition: all 0.2s ease;
}

.mobile-navmenu .mobile-nav-close:hover {
  background: #CA000F;
  border-color: #CA000F;
  color: white;
}

.mobile-navmenu ul {
  padding: 10px 0;
}

.mobile-navmenu ul li {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-navmenu ul li a {
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-navmenu ul li a:hover,
.mobile-navmenu ul li a.active {
  background: rgba(202, 0, 15, 0.05);
  color: #CA000F;
  padding-left: 24px;
}

.mobile-navmenu ul li a.active {
  border-left: 3px solid #CA000F;
}

/* Mobile search in menu */
.mobile-navmenu .product-search-form {
  padding: 15px 20px;
  border-top: 1px solid var(--border-color);
  margin-top: 10px;
}

.mobile-navmenu .product-search-form .input-group {
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid #CA000F;
}

.mobile-navmenu .product-search-form .form-control {
  border: none;
  padding: 12px 15px;
  font-size: 14px;
}

.mobile-navmenu .product-search-form .btn-search {
  background: #CA000F;
  border: none;
  color: white;
  padding: 0 16px;
}

.mobile-navmenu .product-search-form .btn-search:hover {
  background: #a50009;
}

/* Mobile categories section in menu */
.mobile-navmenu .mobile-categories {
  padding: 15px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 10px;
}

.mobile-navmenu .mobile-categories-title {
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile nav overlay enhanced */
.mobile-nav-overlay {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/*--------------------------------------------------------------
# Solid Mobile Dropdown Menu (slides down from MENU button)
--------------------------------------------------------------*/

/* Hide old sidebar menu when dropdown is used */
@media (max-width: 991px) {
  /* When there's a solid-mobile-dropdown, hide the old sidebar nav */
  body:has(.solid-mobile-dropdown) .mobile-navmenu,
  body:has(.solid-mobile-dropdown) .mobile-nav-overlay {
    display: none !important;
  }
}

/* Dropdown container - full width breakout from container */
.solid-mobile-dropdown {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.35s ease-out;
  border-bottom: 2px solid #CA000F;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  /* Break out of container to full width */
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

@media (max-width: 991px) {
  .solid-mobile-dropdown {
    display: block;
  }
}

.solid-mobile-dropdown.open {
  max-height: 500px;
  transition: max-height 0.4s ease-in;
}

/* Menu list */
.solid-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.solid-dropdown-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.solid-dropdown-menu li:last-child {
  border-bottom: none;
}

.solid-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.solid-dropdown-menu li a:hover,
.solid-dropdown-menu li a:focus {
  background-color: #f8f8f8;
  color: #CA000F;
}

.solid-dropdown-menu li a.active {
  color: #CA000F;
  background-color: #fff5f5;
  border-left: 3px solid #CA000F;
  padding-left: 17px;
}

/* Submenu indicator - single plus/minus icon */
.solid-dropdown-menu li.has-submenu > a::after {
  content: "+";
  font-size: 18px;
  font-weight: 300;
  color: #999;
  transition: transform 0.2s ease;
  margin-left: auto;
  flex-shrink: 0;
}

.solid-dropdown-menu li.has-submenu.open > a::after {
  content: "−";
  color: #CA000F;
}

/* Mobile submenu styles */
.solid-dropdown-menu .mobile-submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f8f9fa;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.solid-dropdown-menu li.has-submenu.open > .mobile-submenu {
  display: block;
  max-height: 2000px;
  transition: max-height 0.5s ease-in;
}

.solid-dropdown-menu .mobile-submenu li {
  border-bottom: 1px solid #eee;
}

.solid-dropdown-menu .mobile-submenu li:last-child {
  border-bottom: none;
}

.solid-dropdown-menu .mobile-submenu li a {
  padding: 12px 20px 12px 36px;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  background: transparent;
}

.solid-dropdown-menu .mobile-submenu li a:hover {
  background: #f0f0f0;
  color: #CA000F;
}

/* Nested submenu (2nd level) */
.solid-dropdown-menu .mobile-submenu .mobile-submenu {
  background: #fff;
}

.solid-dropdown-menu .mobile-submenu .mobile-submenu li a {
  padding-left: 52px;
  font-size: 13px;
  color: #666;
}

.solid-dropdown-menu .mobile-submenu li.has-submenu > a {
  font-weight: 500;
  color: #333;
}

.solid-dropdown-menu .mobile-submenu li.has-submenu > a::after {
  content: "+";
  font-size: 16px;
  font-weight: 300;
  color: #999;
  margin-left: auto;
}

.solid-dropdown-menu .mobile-submenu li.has-submenu.open > a::after {
  content: "−";
  color: #CA000F;
  transform: none;
}

/* Hide inline chevron icons - we use ::after instead */
.solid-dropdown-menu li.has-submenu > a > .bi-chevron-down,
.solid-dropdown-menu li.has-submenu > a > i {
  display: none;
}

/* "Wszystkie produkty" link in mobile */
.solid-dropdown-menu .mobile-all-products a {
  background: #CA000F !important;
  color: #fff !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px !important;
  padding: 14px 20px 14px 36px !important;
}

.solid-dropdown-menu .mobile-all-products a:hover {
  background: #a50009 !important;
}

/* Increase max-height for dropdown with categories */
.solid-mobile-dropdown.open {
  max-height: 80vh;
  overflow-y: auto;
}

/* MENU button open state */
.solid-mobile-menu-btn.open {
  background-color: #a50009 !important;
}

.solid-mobile-menu-btn.open i {
  transform: rotate(90deg);
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
  .solid-dropdown-menu li a {
    padding: 14px 16px;
    font-size: 15px;
  }

  .solid-dropdown-menu li a.active {
    padding-left: 13px;
  }
}

@media (max-width: 480px) {
  .solid-dropdown-menu li a {
    padding: 12px 14px;
    font-size: 14px;
  }

  .solid-dropdown-menu li a.active {
    padding-left: 11px;
  }
}

/*--------------------------------------------------------------
# Product Detail Page - Mobile Responsive Styles (Solid Theme)
--------------------------------------------------------------*/

/* Tablet and smaller - reduce spacing between image and product info */
@media (max-width: 991px) {
  /* Reduce section padding on product pages */
  .product-hero.py-4 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.25rem !important;
  }

  /* Reduce the main product section padding */
  .product-detail-section {
    padding-top: 0.5rem !important;
    padding-bottom: 2rem !important;
  }

  /* Reduce gap between image column and info column when stacked */
  .product-detail-row {
    --bs-gutter-y: 1.25rem !important;
    --bs-gutter-x: 0 !important;
  }

  .product-detail-row.g-5 {
    --bs-gutter-y: 1.25rem !important;
  }

  /* Product info container - add proper top padding */
  .product-info {
    padding-top: 0.5rem !important;
    margin-top: 0 !important;
  }

  /* Product title - proper spacing */
  .product-title {
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
  }

  /* System options (Producent, Model) - VERY tight spacing to badge */
  .product-system-options {
    margin-bottom: 0.125rem !important;
    border: none !important;
  }

  /* Reduce gap between meta info and availability badge */
  .product-meta {
    margin-bottom: 0.125rem !important;
  }

  .product-availability-info {
    margin-top: 0.0625rem !important;
    margin-bottom: 0.625rem !important;
  }

  .product-availability-info.mb-4 {
    margin-bottom: 0.625rem !important;
  }

  .availability-badge {
    border: none !important;
    box-shadow: none !important;
  }

  /* Product image wrapper */
  .product-images {
    margin-bottom: 0 !important;
  }

  .product-main-image {
    margin-bottom: 10px !important;
  }

  /* Product options panel - wider on mobile, NO background */
  .product-options {
    margin-left: -0.75rem !important;
    margin-right: -0.75rem !important;
    padding: 1rem 0.75rem !important;
    border-radius: 8px !important;
    background: transparent !important;
    border: none !important;
  }

  /* Option swatches - bigger for touch, using grid */
  .product-options .option-button-group {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(55px, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .product-options .button-group-option.has-image {
    width: 100% !important;
  }

  .product-options .button-group-option.has-image .button-display {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    border-radius: 8px !important;
  }

  /* Product actions row - better spacing */
  .product-actions-row {
    gap: 0.75rem !important;
  }

  /* Remove empty space from options section */
  .product-options.mb-4 {
    margin-bottom: 0.75rem !important;
  }

  /* Sticky purchase bar for tablet - two rows: price above, buttons below */
  .product-purchase-section {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 12px 20px !important;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1) !important;
    border-radius: 18px 18px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  /* Price row - label and value on ONE line */
  .product-purchase-section .product-total-price {
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }

  .product-purchase-section .product-total-price .d-flex {
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

  .product-purchase-section .price-label {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #6c757d !important;
    white-space: nowrap !important;
  }

  .product-purchase-section .product-final-price {
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    color: #CA000F !important;
    white-space: nowrap !important;
  }

  /* Actions row - quantity + button side by side */
  .product-purchase-section .product-actions {
    width: 100% !important;
    margin: 0 !important;
  }

  .product-purchase-section .product-actions-row {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
  }

  .product-purchase-section .quantity-selector {
    flex: 0 0 auto !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
  }

  .product-purchase-section .btn-add-to-cart {
    flex: 1 1 auto !important;
    padding: 0 24px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    height: 48px !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* No extra padding - sticky bar is fixed at bottom */
  .product-info {
    padding-bottom: 0 !important;
  }

  /* Reduce spacing before tabs/description section on tablet */
  .product-tabs-row {
    margin-top: 1.25rem !important;
  }

  /* Single tab mode - no tab header, just content */
  .product-tabs.single-tab {
    padding-top: 0 !important;
  }
}

/* Phone landscape */
@media (max-width: 767px) {
  /* Even less padding on breadcrumb section */
  .product-hero.py-4 {
    padding-top: 0.375rem !important;
    padding-bottom: 0.125rem !important;
  }

  /* Main section - tighter padding */
  .product-detail-section {
    padding-top: 0.25rem !important;
    padding-bottom: 1.5rem !important;
  }

  /* Balanced gap between image and info - not too close, not too far */
  .product-detail-row {
    --bs-gutter-y: 1rem !important;
  }

  .product-detail-row.g-5 {
    --bs-gutter-y: 1rem !important;
  }

  /* Product info - proper padding from top */
  .product-info {
    padding-top: 0.75rem !important;
  }

  .product-main-image {
    margin-bottom: 8px !important;
  }

  /* Container padding - reduce for more horizontal space */
  .product-detail-section .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* Product options - maximize horizontal space, full width, NO borders, NO background */
  .product-options {
    margin-left: -12px !important;
    margin-right: -12px !important;
    padding: 1rem 12px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  /* Option swatches - MAXIMUM size using CSS grid */
  .product-options .option-button-group {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .product-options .button-group-option.has-image {
    width: 100% !important;
  }

  .product-options .button-group-option.has-image .button-display {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    border-radius: 8px !important;
  }

  /* Product title - proper spacing */
  .product-title {
    margin-top: 0 !important;
    margin-bottom: 0.625rem !important;
    font-size: 1.375rem !important;
    line-height: 1.25 !important;
  }

  /* Price section - tighter spacing */
  .product-price-section {
    margin-bottom: 0.5rem !important;
  }

  /* System options (Producent, Model) - VERY tight to badge */
  .product-system-options {
    margin-bottom: 0 !important;
    border: none !important;
  }

  /* Meta info - tight */
  .product-meta {
    margin-bottom: 0 !important;
  }

  /* Availability badge - directly under Producent/Model, VERY close */
  .product-availability-info {
    margin-top: 0 !important;
    margin-bottom: 0.625rem !important;
  }

  .product-availability-info.mb-4 {
    margin-bottom: 0.625rem !important;
  }

  .availability-badge {
    padding: 0.375rem 0.75rem !important;
    font-size: 0.8125rem !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* ========================================
     MOBILE STICKY PURCHASE BAR - Phone
     ======================================== */

  /* Remove empty space from options section on mobile */
  .product-options.mb-4 {
    margin-bottom: 0.5rem !important;
  }

  .product-purchase-section {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12) !important;
    border-radius: 16px 16px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  /* Price row - label and value on ONE line */
  .product-purchase-section .product-total-price {
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }

  .product-purchase-section .product-total-price .d-flex {
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: 6px !important;
  }

  .product-purchase-section .price-label {
    font-size: 0.8125rem !important;
    font-weight: 500 !important;
    color: #6c757d !important;
    white-space: nowrap !important;
  }

  .product-purchase-section .product-final-price {
    font-size: 1.1875rem !important;
    font-weight: 700 !important;
    color: #CA000F !important;
    white-space: nowrap !important;
  }

  /* Actions row - quantity + button side by side */
  .product-purchase-section .product-actions {
    width: 100% !important;
    margin: 0 !important;
  }

  .product-purchase-section .product-actions-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    align-items: center !important;
  }

  .product-purchase-section .quantity-selector {
    flex: 0 0 auto !important;
    min-width: 100px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
  }

  .product-purchase-section .quantity-selector input {
    width: 32px !important;
    font-size: 0.9375rem !important;
    height: 100% !important;
  }

  .product-purchase-section .quantity-selector .btn {
    width: 34px !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Add to cart button - fills ALL remaining space, same height as quantity */
  .product-purchase-section .btn-add-to-cart {
    flex: 1 1 auto !important;
    padding: 0 16px !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    height: 46px !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* No extra padding - sticky bar is fixed at bottom */
  .product-info {
    padding-bottom: 0 !important;
  }

  /* Reduce spacing before tabs/description section on mobile */
  .product-tabs-row {
    margin-top: 1rem !important;
  }

  /* Single tab mode - no tab header, just content */
    .product-tabs.single-tab {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .product-meta {
        border: 0;
    }
}

/* Phone portrait - maximum space efficiency */
@media (max-width: 480px) {
  /* Breadcrumb - minimal */
  .product-hero.py-4 {
    padding-top: 0.25rem !important;
    padding-bottom: 0 !important;
  }

  .product-hero .breadcrumb {
    font-size: 0.75rem !important;
    margin-bottom: 0 !important;
  }

  /* Main section - minimal top padding */
  .product-detail-section {
    padding-top: 0.125rem !important;
    padding-bottom: 1rem !important;
  }

  /* Balanced gap - comfortable but not too much */
  .product-detail-row {
    --bs-gutter-y: 0.875rem !important;
  }

  .product-detail-row.g-5 {
    --bs-gutter-y: 0.875rem !important;
  }

  /* Product info - proper padding from top for breathing room */
  .product-info {
    padding-top: 0.625rem !important;
  }

  /* Product image */
  .product-main-image {
    margin-bottom: 6px !important;
    border-radius: 8px !important;
  }

  /* Product images container */
  .product-images {
    margin-bottom: 0 !important;
  }

  /* Product thumbnails - tighter */
  .product-thumbnails {
    margin-top: 4px !important;
    gap: 4px !important;
  }

  /* Container - edge-to-edge feel */
  .product-detail-section .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Product options - full width, edge-to-edge, maximum horizontal space, NO borders, NO background */
  .product-options {
    margin-left: -8px !important;
    margin-right: -8px !important;
    padding: 0.875rem 8px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  /* Options heading */
  .product-options h5 {
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
  }

  /* Option labels */
  .product-option .form-label {
    font-size: 0.875rem !important;
    margin-bottom: 0.375rem !important;
  }

  /* Button group options - MAXIMUM size swatches using CSS grid */
  .product-options .option-button-group {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .product-options .button-group-option.has-image {
    width: 100% !important;
  }

  .product-options .button-group-option.has-image .button-display {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    border-radius: 6px !important;
  }

  .product-options .button-group-option.text-only .button-display {
    padding: 0.4rem 0.75rem !important;
    min-height: 36px !important;
    font-size: 0.8rem !important;
  }

  /* Custom select - more compact */
  .product-options .custom-select-trigger {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
  }

  /* Product title - proper spacing */
  .product-title {
    font-size: 1.25rem !important;
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
  }

  /* Price section */
  .product-price-section {
    margin-bottom: 0.375rem !important;
  }

  /* Price */
  .product-price {
    font-size: 1.5rem !important;
  }

  /* System options (Producent, Model) - NO margin, badge directly below */
  .product-system-options {
    margin-bottom: 0 !important;
    border: none !important;
  }

  /* Meta info - minimal */
  .product-meta {
    margin-bottom: 0 !important;
  }

  /* Availability badge - VERY tight to Producent/Model */
  .product-availability-info {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
  }

  .product-availability-info.mb-4 {
    margin-bottom: 0.5rem !important;
  }

  .availability-badge {
    padding: 0.3rem 0.625rem !important;
    font-size: 0.8rem !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* ========================================
     MOBILE STICKY PURCHASE BAR - Solid Theme (480px)
     ======================================== */

  /* Remove empty space from options section */
  .product-options.mb-4 {
    margin-bottom: 0.25rem !important;
  }

  /* Sticky bar - two rows: price on top, buttons below */
  .product-purchase-section {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1) !important;
    border-radius: 14px 14px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  /* Price row - label and value on ONE line */
  .product-purchase-section .product-total-price {
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
  }

  .product-purchase-section .product-total-price .d-flex {
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-end !important;
    gap: 5px !important;
  }

  .product-purchase-section .price-label {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #6c757d !important;
    white-space: nowrap !important;
  }

  .product-purchase-section .product-final-price {
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    color: #CA000F !important;
    white-space: nowrap !important;
  }

  /* Actions row - quantity + button side by side */
  .product-purchase-section .product-actions {
    width: 100% !important;
    margin: 0 !important;
  }

  .product-purchase-section .product-actions-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    align-items: center !important;
  }

  /* Compact quantity selector */
  .product-purchase-section .quantity-selector {
    flex: 0 0 auto !important;
    min-width: 92px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
  }

  .product-purchase-section .quantity-selector input {
    width: 28px !important;
    font-size: 0.875rem !important;
    height: 100% !important;
  }

  .product-purchase-section .quantity-selector .btn {
    width: 32px !important;
    height: 100% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Add to cart button - fills ALL remaining space, same height */
  .product-purchase-section .btn-add-to-cart {
    flex: 1 1 auto !important;
    padding: 0 12px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    height: 42px !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .product-purchase-section .btn-add-to-cart i {
    font-size: 0.9375rem !important;
    margin-right: 4px !important;
  }

  /* No extra padding - sticky bar is fixed at bottom */
  .product-info {
    padding-bottom: 0 !important;
  }

  /* Reduce spacing before tabs/description section on mobile */
  .product-tabs-row {
    margin-top: 0.75rem !important;
  }

  /* Single tab mode - no tab header, just content */
  .product-tabs.single-tab {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .product-meta{
    border: 0;
  }
}

/*--------------------------------------------------------------
# Solid Theme - Mobile Edge-to-Edge Sections
# Hero, CTA, and About sections should have no padding on mobile
--------------------------------------------------------------*/

@media (max-width: 767px) {
  /* Hero section - reduced height on mobile (30% smaller) */
  .hero.solid-hero {
    min-height: 350px !important;
  }

  .hero.solid-hero.solid-hero-slider {
    min-height: 350px !important;
  }

  .hero.solid-hero h1 {
    font-size: 28px !important;
    margin-bottom: 0.5rem !important;
  }

  .hero.solid-hero p {
    font-size: 14px !important;
    margin-bottom: 1rem !important;
  }

  .hero.solid-hero .hero-buttons {
    margin-top: 1rem !important;
  }

  .hero.solid-hero .btn-hero-primary,
  .hero.solid-hero .btn-hero-secondary {
    padding: 10px 20px !important;
    font-size: 16px !important;
  }

  /* Website section wrappers - remove all container padding for Hero, CTA, About */
  .website-section[data-section-type="Hero"],
  .website-section[data-section-type="Cta"],
  .website-section[data-section-type="About"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
  }

  .website-section[data-section-type="Hero"] > .container,
  .website-section[data-section-type="Hero"] > .container-fluid,
  .website-section[data-section-type="Cta"] > .container,
  .website-section[data-section-type="Cta"] > .container-fluid,
  .website-section[data-section-type="About"] > .container,
  .website-section[data-section-type="About"] > .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Hero section - full width edge-to-edge on mobile */
  .hero.solid-hero {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero.solid-hero > .container,
  .hero.solid-hero .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .hero.solid-hero .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero.solid-hero .col-lg-6,
  .hero.solid-hero [class*="col-"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Hero background image - ensure full coverage */
  .hero.solid-hero .hero-background {
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
  }

  /* Hero slider - full width on mobile */
  .hero.solid-hero.solid-hero-slider {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero.solid-hero.solid-hero-slider .swiper {
    width: 100% !important;
  }

  .hero.solid-hero.solid-hero-slider .swiper-slide > .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100% !important;
  }

  /* CTA section - full width edge-to-edge on mobile */
  .cta-section.solid-cta {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .cta-section.solid-cta > .container,
  .cta-section.solid-cta .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .cta-section.solid-cta .cta-box {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* About section - full width edge-to-edge on mobile */
  .about-section.solid-about.solid-about-banner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .about-section.solid-about > .container,
  .about-section.solid-about .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .about-section.solid-about .solid-about-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
