/*
 * Windshield Autoglas — Custom CSS overrides
 * Loaded last, overrides all other styles.
 */

/* ── Variables via CSS custom properties ── */
:root {
  --ws-primary: #003087;
  --ws-dark: #1f2933;
  --ws-light-bg: #f4f6f8;
  --ws-text: #1e1e1e;
  --ws-text-muted: #6b7280;
  --ws-success: #2f8f4e;
  --ws-footer-bg: #1f2933;
  --ws-footer-color: #ffffff;
}

/* ── Container — design: 1364px content width at 1920 viewport ── */
.container {
  max-width: 1364px;
}
@media (min-width: 1400px) {
  .container {
    max-width: 1364px;
  }
}

/* ── Header ── */
#header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

/* ── Main nav links ── */
.ws-nav-link {
  color: var(--ws-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.ws-nav-link:hover,
.ws-nav-link.active {
  color: var(--ws-success);
  text-decoration: none;
}

/* ── Header icons ── */
.ws-header-icon {
  color: var(--ws-dark);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.ws-header-icon:hover {
  opacity: 0.7;
  text-decoration: none;
}
.ws-header-cart {
  color: var(--ws-dark);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.ws-header-cart:hover {
  opacity: 0.7;
  text-decoration: none;
}

/* ── Model Search Bar ── */
.ws-model-search {
  background-color: var(--ws-dark);
  padding: 0.6rem 0;
}
.ws-model-search__label {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  white-space: normal;
  max-width: 90px;
  line-height: 1.3;
}
.ws-model-search__form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}
.ws-model-search select,
.ws-model-search input[type="text"] {
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.875rem;
  padding: 0 0.75rem;
  flex: 1;
  min-width: 0;
}
.ws-model-search select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}
.ws-model-search select option {
  background: var(--ws-dark);
  color: #ffffff;
}
.ws-model-search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.ws-model-search__spacer {
  display: block;
  width: 2rem;
  flex-shrink: 0;
}
.ws-model-search__divider {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  padding: 0 0.15rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.ws-model-search__btn {
  height: 42px;
  padding: 0 1.5rem;
  border: none;
  border-radius: 0.375rem;
  background-color: var(--ws-success);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}
.ws-model-search__btn:hover {
  background-color: #267a40;
}
/* Mobile: adjust HSN/TSN bar spacing */
@media (max-width: 991.98px) {
  .ws-model-search__form {
    flex-wrap: wrap;
  }
}

/* ── Mobile header ── */
@media (max-width: 991.98px) {
  #header .container > .d-flex {
    height: 60px !important;
  }
  .ws-header-icon svg {
    width: 24px;
    height: 24px;
  }
  .ws-header-cart svg {
    width: 22px;
    height: 22px;
  }
}

/* ── Search modal ── */
#wsSearchModal {
  z-index: 1060;
}
#wsSearchModal + .modal-backdrop,
.modal-backdrop {
  z-index: 1055;
}

/* ── Modal backdrop fix — ensure modal dialog sits above backdrop ── */
.modal {
  z-index: 1060;
}
#wsSearchModal .modal-content {
  border-radius: 0.75rem;
  position: relative;
  z-index: 1;
}
#wsSearchModal .form-control {
  border-color: #d1d5db;
  border-radius: 0.5rem 0 0 0.5rem;
}
#wsSearchModal .form-control:focus {
  border-color: var(--ws-primary);
  box-shadow: 0 0 0 3px rgba(0, 48, 135, 0.1);
}
#wsSearchModal .btn-primary {
  background-color: var(--ws-primary);
  border-color: var(--ws-primary);
  border-radius: 0 0.5rem 0.5rem 0;
}
#wsSearchModal .btn-primary:hover {
  background-color: #002060;
}

/* ── Footer — override NOVA #footer styles ── */
footer#footer,
footer#footer.ws-footer,
#footer {
  background-color: #1f2933 !important;
  color: #ffffff !important;
  border-top: none !important;
}
#footer .container {
  color: #ffffff;
}
/* NOVA copyright bar — also dark */
#footer #copyright,
#copyright {
  background-color: #1f2933 !important;
  color: rgba(255, 255, 255, 0.7) !important;
}
/* NOVA footnote-vat hide */
#footer .footnote-vat {
  display: none;
}
.ws-footer a,
#footer.ws-footer a {
  color: #ffffff !important;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.ws-footer a:hover,
#footer.ws-footer a:hover {
  color: #ffffff !important;
  opacity: 0.8;
  text-decoration: none;
}
.ws-footer__heading {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1rem;
}
.ws-footer__brand-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}
.ws-footer__links li {
  margin-bottom: 0.5rem;
}
.ws-footer__links li a,
#footer .ws-footer__links li a {
  font-size: 14px;
  color: #ffffff !important;
}
.ws-footer__links li a:hover,
#footer .ws-footer__links li a:hover {
  color: #ffffff !important;
  opacity: 0.8;
}

/* ── Footer grid layout ── */
.ws-footer {
  padding: 3rem 0 1.5rem;
}
.ws-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.ws-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.ws-footer__payments {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.ws-footer__social {
  display: flex;
  gap: 1rem;
}

/* ── Footer mobile ── */
@media (max-width: 767.98px) {
  .ws-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .ws-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
@media (max-width: 575.98px) {
  .ws-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ── USP Cards ── */
.ws-usp-card {
  background: #f4f6f8;
  border-radius: 0.75rem;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
}
.ws-usp-card__icon {
  margin-bottom: 1rem;
}
.ws-usp-card__icon svg {
  width: 48px;
  height: 48px;
}
.ws-usp-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e1e1e;
  margin: 0 0 0.25rem 0;
}
.ws-usp-card p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}
/* Remove OPC Row column padding for tighter USP gap */
.ws-usps .col,
.ws-usps [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}

/* ══════════════════════════════════════════
   Category / Product Listing Page
   ══════════════════════════════════════════ */

/* ── Product Card — design: white bg, 12px radius ── */
.ws-card {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ws-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card image area — design: 329x276 container, 290x194 image centered, #f4f6f8, 12px radius */
.ws-card__image {
  position: relative;
  padding: 41px 20px;
  text-align: center;
  background: #f4f6f8;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 276px;
}
.ws-card__image img {
  max-height: 194px;
  max-width: 290px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Card body — design: 20px horizontal padding, 16px top, 20px bottom */
.ws-card__body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Card title — design: 18px, weight 400, #1f2933, 24px line-height */
.ws-card__title {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 0.5rem;
  min-height: 48px;
  color: #1f2933;
}
.ws-card__title a {
  color: var(--ws-dark);
  text-decoration: none;
}
.ws-card__title a:hover {
  color: var(--ws-success);
  text-decoration: none;
}

/* Feature bullets — design: 14px, #6b7280, 23px between items */
.ws-card__features {
  margin: 0 0 0.75rem 0;
  flex: 1;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #6b7280;
  line-height: 23px;
}
.ws-card__features-desc {
  margin-bottom: 0.25rem;
}
.ws-card__features-desc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ws-card__features-desc ul li,
.ws-card__features-desc li {
  position: relative;
  padding-left: 1rem;
}
.ws-card__features-desc ul li::before,
.ws-card__features-desc li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--ws-text-muted);
}
/* Strip any inline styles from short description */
.ws-card__features-desc p {
  margin: 0;
}
.ws-card__features-delivery {
  color: var(--ws-text-muted);
}

/* Footer row: price left, button right */
.ws-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

/* Price — design: 20px, weight 500, #1f2933 | VAT: 14px, #6b7280 */
.ws-card__price {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ws-card__price .price_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ws-card__price .price_wrapper .price {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #1f2933;
  line-height: 1.2;
}
.ws-card__price .price_label {
  display: none;
}
.ws-card__price .tax-info {
  font-size: 14px;
  color: #6b7280;
  display: block;
  margin-top: 2px;
}
.ws-card__price .streichpreis {
  font-size: 0.8rem;
}

/* Cart button — design: 167x40px, #2f8f4e, border-radius 8px, 14px white */
.ws-card__cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  height: 40px;
  min-width: 167px;
  border: none;
  border-radius: 8px;
  background-color: #2f8f4e;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}
.ws-card__cart-btn:hover {
  background-color: #267a40;
  color: #ffffff;
  text-decoration: none;
}
.ws-card__cart-btn--outline {
  background-color: transparent;
  border: 1px solid var(--ws-dark);
  color: var(--ws-dark);
}
.ws-card__cart-btn--outline:hover {
  background-color: var(--ws-dark);
  color: #ffffff;
}

/* ── Override NOVA productbox defaults ── */
.ws-card.productbox {
  border: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0;
  background: #ffffff;
}
.ws-card .productbox-quick-actions {
  display: none !important;
}

/* ── Category layout row — design: 16px gap between sidebar & content ── */
.ws-category-layout {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.ws-category-layout > .sidepanel-left {
  flex: 0 0 329px;
  max-width: 329px;
  padding-right: 16px;
  padding-left: 0;
}
.ws-category-layout > .ws-products-col {
  flex: 1;
  max-width: calc(100% - 329px);
  padding-left: 0;
  padding-right: 0;
  margin-left: 0 !important;
}

/* ── Product list grid — design: 16px gap, 3 columns ── */
.product-list {
  margin-left: -8px;
  margin-right: -8px;
}
.product-list .product-wrapper {
  margin-bottom: 16px;
  padding-left: 8px;
  padding-right: 8px;
}
/* Product card in 3-column grid: each card ~329px at 1364px container */
@media (min-width: 992px) {
  .ws-products-col .product-list .product-wrapper {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}
/* Mobile: sidebar goes full-width below content */
@media (max-width: 991.98px) {
  .ws-category-layout > .sidepanel-left {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
  }
  .ws-category-layout > .ws-products-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ── Sort bar — design: 1364x61px, #f4f6f8, border-radius 12px ── */
.productlist-page-nav {
  font-family: "Inter", sans-serif;
  margin-bottom: 40px;
  background-color: #f4f6f8;
  border: none;
  padding: 0 20px;
  border-radius: 12px;
  height: 61px;
  display: flex;
  align-items: center;
}
.productlist-page-nav-header-m {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 41px;
}
/* Result count — design: 16px, #1f2933 */
.productlist-page-nav .productlist-result-count {
  font-size: 16px;
  color: #1f2933;
  font-weight: 400;
  line-height: 1.5;
}
/* Sort dropdown — design: 147x41px, #1f2933, border-radius 6px, 14px white */
.productlist-page-nav .displayoptions {
  display: flex;
  align-items: center;
}
.productlist-page-nav .displayoptions .dropdown > .btn,
.productlist-page-nav .displayoptions .btn-outline-secondary {
  background-color: #1f2933;
  color: #ffffff;
  border-color: #1f2933;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  padding: 0 1rem;
  min-width: 147px;
  height: 41px;
  line-height: 41px;
  white-space: nowrap;
}
.productlist-page-nav .displayoptions .dropdown > .btn:hover,
.productlist-page-nav .displayoptions .btn-outline-secondary:hover {
  background-color: #2d3a47;
  border-color: #2d3a47;
  color: #ffffff;
}
.productlist-page-nav .displayoptions .dropdown > .btn:focus,
.productlist-page-nav .displayoptions .btn-outline-secondary:focus {
  box-shadow: none;
  outline: none;
}
/* Hide items-per-page and layout toggles — design only shows sort */
.productlist-page-nav .filter-type-FilterItemLimits {
  display: none !important;
}
.productlist-page-nav .layout-options,
.productlist-page-nav .layout-btn-group {
  display: none !important;
}

/* ── Category page heading ── */
.productlist-header-description-image {
  display: none;
}
.productlist-page-nav-top,
.productlist-page-nav-bottom {
  border-color: #e5e7eb;
}
#content h1,
.title h1.h2 {
  font-family: "Inter", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ws-dark);
}
#content .desc p {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: var(--ws-text-muted);
  margin-bottom: 1.5rem;
}

/* ── Category sidebar — single continuous panel ── */
/* Design: 329px wide, #f4f6f8, border-radius 12px, 30px padding */
#sidepanel_left,
#sidepanel,
.sidepanel-left {
  font-family: "Inter", sans-serif;
  flex: 0 0 329px;
  max-width: 329px;
}

/* Kill any NOVA orange/primary accent on sidebar */
#sidepanel_left a,
#sidepanel_left .nav-link,
#sidepanel_left .btn-link,
#sidepanel_left .card-header a,
#sidepanel_left .card-header .btn-link {
  color: #1f2933 !important;
}
#sidepanel_left a:hover,
#sidepanel_left .nav-link:hover {
  color: #1f2933 !important;
  opacity: 0.7;
}
#sidepanel_left .nav-link.active,
#sidepanel_left a.active {
  color: #1f2933 !important;
  font-weight: 600;
  background: transparent !important;
}

/* All cards merged into one visual block */
#sidepanel_left .card,
#sidepanel .card {
  background: #f4f6f8;
  border: none !important;
  border-radius: 0 !important;
  margin-bottom: 0;
  overflow: visible;
  box-shadow: none !important;
}
/* First card: round top 12px */
#sidepanel_left .card:first-child,
#sidepanel .card:first-child {
  border-radius: 12px 12px 0 0 !important;
}
/* Last card: round bottom 12px */
#sidepanel_left .card:last-child,
#sidepanel .card:last-child {
  border-radius: 0 0 12px 12px !important;
}
/* Single card: fully rounded 12px */
#sidepanel_left .card:first-child:last-child,
#sidepanel .card:first-child:last-child {
  border-radius: 12px !important;
}
/* Divider between sections — design: #e2e2e2, 1px */
#sidepanel_left .card:not(:last-child),
#sidepanel .card:not(:last-child) {
  border-bottom: 1px solid #e2e2e2 !important;
}

/* Section header — design: 18px, weight 400, #1f2933 */
#sidepanel_left .card-header,
#sidepanel .card-header {
  background: transparent !important;
  border-bottom: none !important;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #1f2933;
  padding: 1.25rem 30px 0.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

/* Strip Bootstrap btn-link chrome from toggle anchors */
#sidepanel_left .card-header .btn-link,
#sidepanel_left .card-header > a,
#sidepanel .card-header .btn-link,
#sidepanel .card-header > a {
  color: #1f2933 !important;
  font-weight: 400;
  font-size: 18px;
  text-decoration: none !important;
  padding: 0;
  border: none;
  background: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: none !important;
}
#sidepanel_left .card-header .btn-link:hover,
#sidepanel_left .card-header .btn-link:focus,
#sidepanel_left .card-header > a:hover,
#sidepanel_left .card-header > a:focus,
#sidepanel .card-header .btn-link:hover,
#sidepanel .card-header .btn-link:focus {
  color: #1f2933 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none;
}

/* Chevron — open state (^) — design: #1f2933 */
#sidepanel_left .card-header [data-toggle="collapse"]::after,
#sidepanel_left .card-header .btn-link::after,
#sidepanel .card-header [data-toggle="collapse"]::after,
#sidepanel .card-header .btn-link::after {
  content: "\203A";
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 300;
  color: #1f2933;
  line-height: 1;
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
/* Chevron — collapsed state (v) */
#sidepanel_left .card-header [data-toggle="collapse"].collapsed::after,
#sidepanel_left .card-header .btn-link.collapsed::after,
#sidepanel .card-header [data-toggle="collapse"].collapsed::after,
#sidepanel .card-header .btn-link.collapsed::after {
  transform: rotate(90deg);
}

/* Section body — design: 30px horizontal padding */
#sidepanel_left .card-body,
#sidepanel .card-body {
  padding: 0 30px 1.25rem;
}

/* Filter list items — design: 16px, #1f2933, 28px line-height */
#sidepanel_left .nav-link,
#sidepanel .nav-link {
  font-size: 16px;
  color: #1f2933 !important;
  padding: 0.35rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none !important;
  border: none !important;
  line-height: 28px;
  background: transparent !important;
}
#sidepanel_left .nav-link:hover,
#sidepanel .nav-link:hover {
  color: #1f2933 !important;
  opacity: 0.7;
  text-decoration: none !important;
}
/* Active — no orange, no underline, just bold */
#sidepanel_left .nav-link.active,
#sidepanel .nav-link.active {
  color: #1f2933 !important;
  font-weight: 600;
  border: none !important;
  background: transparent !important;
}

/* Count badge — design: 16px, #6b7280, right-aligned */
#sidepanel_left .badge,
#sidepanel .badge {
  background-color: transparent !important;
  color: #6b7280 !important;
  font-weight: 400;
  font-size: 16px;
  padding: 0;
  margin-left: 0.2rem;
  border-radius: 0;
}

/* Sidebar filter dropdowns */
#sidepanel_left select,
#sidepanel_left .custom-select,
#sidepanel .custom-select {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  font-size: 14px;
  color: #1f2933;
  padding: 0.5rem 0.75rem;
  background-color: #ffffff;
  margin-bottom: 0.5rem;
  width: 100%;
}

/* Price range slider */
#sidepanel_left .noUi-connect,
#sidepanel .noUi-connect {
  background: #2f8f4e;
}
#sidepanel_left .noUi-handle,
#sidepanel .noUi-handle {
  border-color: #2f8f4e;
}

/* Hide category box in sidebar — design doesn't show it */
#sidepanel_left .box-categories,
#sidepanel .box-categories {
  display: none !important;
}

/* ── "Zeige alle X Ergebnisse" link ── */
.productlist-page-nav-bottom .result-count-link,
.productlist-page-nav-bottom .productlist-result-count {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--ws-text-muted);
  text-decoration: none;
}

/* ── Fix sort bar bottom (pagination area) — no background, no rounded corners ── */
.productlist-page-nav-bottom .productlist-page-nav {
  background: transparent;
  border-radius: 0;
  height: auto;
  padding: 0;
  margin-bottom: 0;
}

/* ── Breadcrumb — design: 1364x234px, #1f2933, border-radius 20px ── */
.breadcrumb-container:has(.breadcrumb) {
  background-color: #1f2933;
  border-radius: 20px;
  padding: 0 2rem !important;
  margin-bottom: 40px;
  max-width: 1364px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 234px;
  min-height: 234px;
}
.breadcrumb-container .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.breadcrumb-container .breadcrumb-item a,
.breadcrumb-container .breadcrumb-item span {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.breadcrumb-container .breadcrumb-item a:hover {
  color: #ffffff;
}
.breadcrumb-container .breadcrumb-item.active a,
.breadcrumb-container .breadcrumb-item.active span,
.breadcrumb-container .breadcrumb-item.last a,
.breadcrumb-container .breadcrumb-item.last span {
  color: #ffffff;
}
.breadcrumb-container .breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: rgba(255, 255, 255, 0.5);
  padding: 0 0.5rem;
}
/* Hide back-to-list and nav arrows in breadcrumb */
.breadcrumb-container .breadcrumb-backtolist,
.breadcrumb-container .breadcrumb-arrow {
  display: none;
}
.breadcrumb-container .navigation-arrows {
  display: none;
}
.breadcrumb-wrapper {
  border: none;
  margin: 0;
}
/* ── Pagination — design: 26x26px, border-radius 4px, #707070 border ── */
.pagination {
  gap: 0;
  justify-content: flex-start;
}
.productlist-page-nav-bottom {
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  height: auto;
}
.productlist-page-nav-bottom .pagination-wrapper,
.productlist-page-nav-bottom nav {
  display: flex;
  justify-content: flex-start;
}
.pagination .page-item {
  margin: 0 4px;
}
.pagination .page-link {
  font-family: "Open Sans", "Inter", sans-serif;
  color: #828282;
  background: transparent;
  border: none;
  border-radius: 4px;
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 14px;
  line-height: 1;
  opacity: 0.6;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    opacity 0.15s ease;
}
.pagination .page-link:hover {
  background-color: #f4f6f8;
  color: #1f2933;
  opacity: 1;
}
/* Active — design: #1f2933 fill, white text, 26x26, 4px radius */
.pagination .page-item.active .page-link {
  background-color: #1f2933;
  border-color: #1f2933;
  color: #ffffff;
  border-radius: 4px;
  opacity: 1;
}
.pagination .page-item.disabled .page-link {
  color: #828282;
  background: transparent;
  opacity: 0.3;
}
/* Pagination prev/next arrows */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  border: 1px solid #707070;
  opacity: 1;
}

/* ══════════════════════════════════════════
   Product Detail Page
   ══════════════════════════════════════════ */

/* ── Product title ── */
.product-detail .product-title {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ws-text);
  line-height: 1.3;
}

/* ── Product info meta ── */
.product-detail .info-essential {
  margin-bottom: 1rem;
}
.product-detail .info-essential li {
  font-size: 0.875rem;
  color: var(--ws-text-muted);
  padding: 0.15rem 0;
}
.product-detail .info-essential li strong {
  color: var(--ws-text);
  font-weight: 600;
}

/* ── Product price (detail page) ── */
.product-detail .price_wrapper .price {
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ws-text);
}
.product-detail .price_label,
.product-detail .tax-info {
  font-size: 0.8rem;
  color: var(--ws-text-muted);
}

/* ── Stock & delivery ── */
.product-detail .delivery-status {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
}
.product-detail .delivery-status .status-1 {
  color: var(--ws-success);
  font-weight: 600;
}
.product-detail .delivery-status .status-0 {
  color: #dc3545;
  font-weight: 600;
}

/* ── Quantity & add-to-cart ── */
.product-detail .choose_quantity .form-control {
  height: 48px;
  border-color: #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  text-align: center;
}
.product-detail .form-counter .btn {
  border-color: #e5e7eb;
  color: var(--ws-text-muted);
}
.product-detail .form-counter .btn:hover {
  background-color: var(--ws-light-bg);
}
.product-detail .btn-primary,
#add-to-cart .btn-primary {
  background-color: var(--ws-success);
  border-color: var(--ws-success);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  height: 48px;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}
.product-detail .btn-primary:hover,
#add-to-cart .btn-primary:hover {
  background-color: #267a40;
  border-color: #267a40;
}

/* ── Product gallery ── */
.product-gallery .gallery-wrapper {
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--ws-light-bg);
}
.product-gallery .slick-slide img {
  border-radius: 0.5rem;
}

/* ── Product tabs ── */
#product-tabs .nav-tabs {
  border-bottom: 2px solid #e5e7eb;
}
#product-tabs .nav-tabs .nav-link {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ws-text-muted);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  margin-bottom: -2px;
  transition:
    color 0.2s,
    border-color 0.2s;
}
#product-tabs .nav-tabs .nav-link:hover {
  color: var(--ws-text);
  border-bottom-color: #d1d5db;
}
#product-tabs .nav-tabs .nav-link.active {
  color: var(--ws-success);
  border-bottom-color: var(--ws-success);
  background: transparent;
}
#product-tabs .tab-content {
  padding: 2rem 0;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ws-text-muted);
}
#product-tabs .tab-content h2,
#product-tabs .tab-content h3 {
  font-weight: 700;
  color: var(--ws-text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ── Product description content ── */
.product-detail .shortdesc {
  font-size: 0.9rem;
  color: var(--ws-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

/* ── Related products / cross-selling slider ── */
.recommendations {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}
.recommendations h2,
.recommendations .title-wrapper {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ws-text);
  margin-bottom: 1.5rem;
}

/* ── Contact info card (product detail sidebar) ── */
.ws-contact-card {
  background: var(--ws-light-bg);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.ws-contact-card__heading {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ws-text);
  margin-bottom: 0.75rem;
}
.ws-contact-card__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ws-text);
}
.ws-contact-card__phone svg {
  flex-shrink: 0;
}
.ws-contact-card__phone a {
  color: var(--ws-text);
  text-decoration: none;
}
.ws-contact-card__phone a:hover {
  color: var(--ws-success);
}
.ws-contact-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ws-success);
  text-decoration: none;
}
.ws-contact-card__link:hover {
  text-decoration: underline;
}

/* ── Installment banner ── */
.ws-installment-banner {
  background: var(--ws-light-bg);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: var(--ws-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ws-installment-banner strong {
  color: var(--ws-text);
}
