/*
Theme Name: Zwirner 2026
Author: Josh Yager
Author URI: https://thedevq.com/
Description: Custom theme for Zwirner - Clean, modern, block-based
Version: 1.0.0
*/

/* -----------------------------------------------------------------------------
 * CSS Variables
 * -------------------------------------------------------------------------- */
:root {
  /* Spacing */
  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 30px;
  --spacing-xl: 60px;

  /* Z-index layers */
  --z-index-dropdown: 3;
  --z-index-overlay: 1;
  --z-index-content: 2;

  /* Transitions */
  --transition-fast: all 0.1s ease-in-out;
  --transition-default: all 0.3s ease-in-out;
}

/* -----------------------------------------------------------------------------
 * Base Elements
 * -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  position: relative;
  overflow-x: hidden;
  font-family: var(--font2);
  font-weight: 400;
  color: #333131;
  line-height: 1.5;
}

p, ul, li {
  font-family: var(--font2);
  font-weight: 400;
  color: #333131;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

/* -----------------------------------------------------------------------------
 * Typography
 * -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font1);
  font-weight: 500;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

/* -----------------------------------------------------------------------------
 * Layout
 * -------------------------------------------------------------------------- */
.container-fluid {
  max-width: 2400px;
  margin: auto;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container .grid,
.container-full .grid {
  margin-right: 0;
  margin-left: 0;
}

/* Force Gutenberg blocks to full width */
.wp-block-acf-hero,
.wp-block-acf-featuredproducts,
.wp-block-acf-industries,
.wp-block-acf-about,
.wp-block-acf-ctabanner,
.wp-block-acf-services,
.wp-block-acf-logobar,
.wp-block-acf-seocontent,
.wp-block-acf-industrycontent,
.wp-block-acf-contactform,
.wp-block-acf-wysiwyg,
.wp-block-acf-zwirnerproducts,
.wp-block-acf-imagecontent,
.wp-block-acf-defaultzwirnerhero,
.is-layout-constrained > *,
.is-layout-flow > * {
  max-width: none !important;
}

/* -----------------------------------------------------------------------------
 * Buttons
 * -------------------------------------------------------------------------- */
.btn {
  text-decoration: none;
  background: var(--primary);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-default);
  border: 2px solid var(--primary);
  border-radius: 4px;
  cursor: pointer;
  min-width:200px;
}

.btn:hover {
  background: var(--tertiary);
  color: black;
  border: 2px solid var(--tertiary);
}

.btn.btn-secondary {
  background: var(--tertiary);
  border: 2px solid var(--tertiary);
}

.btn.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

/* -----------------------------------------------------------------------------
 * Header & Navigation
 * -------------------------------------------------------------------------- */
.header-container {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 10000;
}

.zwirner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 40px;
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  flex: 1;
}

.header-left {
  flex-shrink: 0;
}

.header-logo {
  display: block;
  margin-left: 30px;
}

.header-logo img {
  height: 80px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  align-self: stretch;
  margin: -20px 0;
}

.pnumber {
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  color: #333;
  transition: var(--transition-fast);
  white-space: nowrap;
  padding: 0 25px;
  display: flex;
  align-items: center;
  height: 100%;
}

.pnumber:hover {
  color: var(--primary);
}

.cnect {
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    background: #333;
    padding: 0 55px;
    transition: var(--transition-fast);
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
    border-radius: 0;
}

.cnect:hover {
  background: var(--primary);
}

/* Main Navigation */
.main-navigation {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
  position: relative;
}

.main-navigation > li {
  position: relative;
}

.main-navigation > li > a {
  text-decoration: none;
  font-weight: 500;
  color: #333;
  font-size: 18px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.main-navigation > li > a:hover {
  color: var(--primary);
}

/* Dropdown Styles */
.main-navigation .dropdown-toggle i {
  margin-left: 5px;
  font-size: 12px;
}

.main-navigation .dropdown-menu,
.main-navigation .sub-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border: 1px solid #e5e5e5;
  border-top: 3px solid var(--primary);
  list-style: none;
  margin: 0;
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 10001;
}

.main-navigation li:hover > .dropdown-menu,
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .dropdown-menu,
.main-navigation li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation .dropdown-menu li,
.main-navigation .sub-menu li {
  position: relative;
}

.main-navigation .dropdown-menu a,
.main-navigation .sub-menu a {
  display: block;
  padding: 12px 24px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.main-navigation .dropdown-menu a:hover,
.main-navigation .sub-menu a:hover {
  background: linear-gradient(90deg, #f8f8f8 0%, #fff 100%);
  color: var(--primary);
  padding-left: 28px;
}

/* Nested Dropdowns */
.main-navigation .sub-menu .sub-menu {
  left: 100%;
  top: 0;
}

/* Mobile Menu Button */
.mburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 20px;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.mburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  transition: var(--transition-fast);
}

/* Mobile Menu */
nav#menu:not(.mm-menu) {
  display: none;
}

.mm-menu {
  --mm-color-background: #fff;
}

.mm-listitem__text, .mm-navbar__title>span {
  font-weight: 600;
  color: var(--primary);
}

/* -----------------------------------------------------------------------------
 * Product Card (shared component)
 * -------------------------------------------------------------------------- */
.zwirner-product-card {
  position: relative;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition-default);
  margin-bottom: 30px;
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
}

.zwirner-product-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.zwirner-product-card__image {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
  background: #f0f0f0;
  border-radius: 8px 8px 0 0;
}

/* Ribbon with wrap-behind fold effect */
.zwirner-product-card__ribbon {
  position: absolute;
  top: 18px;
  left: -8px;
  color: #fff;
  padding: 10px 20px 10px 16px;
  font-weight: 700;
  font-size: 0.8rem;
  z-index: 5;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Folded triangle — sits above the ribbon, top-left corner */
.zwirner-product-card__ribbon::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 8px 8px;
}

.zwirner-product-card__ribbon--pending {
  background: #f0ad4e;
}

.zwirner-product-card__ribbon--pending::before {
  border-color: transparent transparent #c4882a transparent;
}

.zwirner-product-card__ribbon--sold {
  background: #dc3232;
}

.zwirner-product-card__ribbon--sold::before {
  border-color: transparent transparent #a52222 transparent;
}

.zwirner-product-card__ribbon--featured {
  background: #F8EE04;
  color: #000;
}

.zwirner-product-card__ribbon--featured::before {
  border-color: transparent transparent #B7B230 transparent;
}

.zwirner-product-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-default);
  z-index: 2;
}

.zwirner-product-card:hover .zwirner-product-card__image img {
  transform: scale(1.05);
}

.zwirner-product-card__content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.zwirner-product-card__title {
  font-size: 1rem;
  margin: 0 0 10px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

.zwirner-product-card__title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

.zwirner-product-card__title a:hover {
  color: var(--primary, #000);
}

.zwirner-product-card__sku {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 15px;
  text-align: center;
}

.zwirner-product-card__link {
  display: inline-block;
  background: var(--primary, #000);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  padding: 12px 24px;
  border-radius: 4px;
  text-align: center;
  transition: var(--transition-fast);
}

.zwirner-product-card__link:hover {
  background: var(--primary-dark, #222);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* -----------------------------------------------------------------------------
 * Footer
 * -------------------------------------------------------------------------- */
.zwirner-footer a {
  text-decoration: none;
  transition: var(--transition-fast);
}

.zwirner-footer__top {
  padding: 25px 0;
  background: #fff;
}

.zwirner-footer__top-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.zwirner-footer__badge-img {
  max-height: 45px;
  width: auto;
}

.zwirner-footer__info {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  color: #333;
}

.zwirner-footer__info a {
  color: #333;
  font-weight: 600;
}

.zwirner-footer__info a:hover {
  color: #000;
}

.zwirner-footer__divider {
  margin: 0 15px;
  color: #999;
}

.zwirner-footer__nav {
  padding: 40px 0;
  background: #000;
}

.zwirner-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.zwirner-footer__nav-list a {
  color: #fff;
  font-size: 1.15rem;
}

.zwirner-footer__nav-list a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.zwirner-footer__bottom {
  padding: 25px 0;
  background: #e0e0e0;
}

.zwirner-footer__legal {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.zwirner-footer__legal a {
  color: #666;
}

.zwirner-footer__legal a:hover {
  color: #000;
}

/* -----------------------------------------------------------------------------
 * Breadcrumbs
 * -------------------------------------------------------------------------- */
.zwirner-breadcrumbs {
  background: #f5f5f5;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.zwirner-breadcrumbs__nav {
  font-size: 0.85rem;
  color: #666;
}

.zwirner-breadcrumbs__nav a {
  color: #666;
  text-decoration: none;
  transition: var(--transition-fast);
}

.zwirner-breadcrumbs__nav a:hover {
  color: var(--primary);
}

.zwirner-breadcrumbs__nav .breadcrumb_last {
  color: #333;
  font-weight: 500;
}

/* -----------------------------------------------------------------------------
 * Category Toolbar
 * -------------------------------------------------------------------------- */
.category-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 15px 20px;
}

.category-toolbar__count {
  font-size: 36px;
  color: #333;
  margin: 0;
  white-space: nowrap;
}

.category-toolbar__search {
  max-width: 420px;
  width: 100%;
}

.category-toolbar__search .zwirner-search-filter__toggle-switch {
  margin-top: 10px;
}

.category-toolbar__size-filter {
  margin-top: 14px;
}

.category-toolbar__size-label {
  display: block;
  font-family: var(--font2);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: #555;
}

.category-toolbar__size-select {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 32px 0 12px;
  font-family: var(--font2);
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.category-toolbar__size-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 767px) {
  .category-toolbar {
    flex-direction: column;
    gap: 15px;
    padding: 20px 15px 15px;
  }

  .category-toolbar__count {
    font-size: 24px;
    white-space: normal;
  }

  .category-toolbar__search {
    max-width: 100%;
  }
}

/* -----------------------------------------------------------------------------
 * Search / Filter Bar
 * -------------------------------------------------------------------------- */
.zwirner-search-filter {
  margin: 20px 0;
}

.zwirner-search-filter__form {
  max-width: 500px;
}

.zwirner-search-filter--search-page .zwirner-search-filter__form {
  max-width: 600px;
}

.zwirner-search-filter__wrapper {
  display: flex;
  border: 2px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s;
}

.zwirner-search-filter__wrapper:focus-within {
  border-color: var(--primary, #000);
}

.zwirner-search-filter__input {
  flex: 1;
  border: none;
  padding: 14px 18px;
  font-size: 15px;
  outline: none;
  font-family: var(--font2);
  background: transparent;
}

.zwirner-search-filter__input::placeholder {
  color: #999;
}

.zwirner-search-filter__button {
  background: var(--primary, #000);
  border: none;
  color: #fff;
  padding: 14px 22px;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 16px;
}

.zwirner-search-filter__button:hover {
  background: var(--tertiary, #FFD700);
  color: #000;
}

.zwirner-search-filter__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #555;
  user-select: none;
}

.zwirner-search-filter__toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary, #000);
  cursor: pointer;
}

.zwirner-search-filter__toggle span {
  line-height: 1;
}

/* Toggle Switch */
.zwirner-search-filter__toggle-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  cursor: pointer;
  user-select: none;
}

.zwirner-search-filter__toggle-switch input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.zwirner-search-filter__toggle-track {
  position: relative;
  width: 44px;
  height: 24px;
  background: #ccc;
  border-radius: 12px;
  transition: background 0.25s ease;
  flex-shrink: 0;
}

.zwirner-search-filter__toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.zwirner-search-filter__toggle-switch input:checked ~ .zwirner-search-filter__toggle-track {
  background: var(--primary, #000);
}

.zwirner-search-filter__toggle-switch input:checked ~ .zwirner-search-filter__toggle-track .zwirner-search-filter__toggle-knob {
  transform: translateX(20px);
}

.zwirner-search-filter__toggle-switch input:focus-visible ~ .zwirner-search-filter__toggle-track {
  outline: 2px solid var(--primary, #000);
  outline-offset: 2px;
}

.zwirner-search-filter__toggle-label {
  font-size: 0.9rem;
  color: #555;
  line-height: 1;
}

/* -----------------------------------------------------------------------------
 * Pagination
 * -------------------------------------------------------------------------- */
.zwirner-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 40px 0;
}

.zwirner-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.zwirner-pagination .page-numbers:hover {
  background: #f5f5f5;
  border-color: var(--primary);
}

.zwirner-pagination .page-numbers.current {
  background: var(--primary, #000);
  color: #fff;
  border-color: var(--primary, #000);
}

.zwirner-pagination .page-numbers.prev,
.zwirner-pagination .page-numbers.next {
  font-weight: 600;
}

/* -----------------------------------------------------------------------------
 * Product Gallery (Single Product)
 * -------------------------------------------------------------------------- */
.product-gallery {
  margin-bottom: 30px;
}

.product-gallery__main {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  background: #f5f5f5;
}

.product-gallery__main img {
  width: 100%;
  height: auto;
  display: block;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.product-gallery__thumb {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition-fast);
  background: #f5f5f5;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.active {
  border-color: var(--primary, #000);
}

.product-gallery__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------------------------------------------
 * Single Product Layout
 * -------------------------------------------------------------------------- */
.single-product-page {
  padding: 0;
  position: relative;
  background: whitesmoke;
}

.single-product-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: #ffffff;
  z-index: 0;
}

.single-product-page > .container {
  position: relative;
  z-index: 1;
}

.single-product-page > .container > .grid > .col-xs-12.col-md-6:first-child {
  padding-top: 40px;
  padding-bottom: 60px;
  padding-right: 30px;
}

.single-product-page > .container > .grid > .col-xs-12.col-md-6:last-child {
  padding-top: 40px;
  padding-bottom: 60px;
  padding-left: 30px;
}

.single-product-page h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.product-sale-banner {
  display: inline-block;
  color: #fff;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.product-sale-banner--pending {
  background: #f0ad4e;
}

.product-sale-banner--sold {
  background: #dc3232;
}

.product-sale-banner--featured {
  background: #F8EE04;
  color: #000;
}

.product-sku {
  font-size: 28px;
  color: #000;
  margin-bottom: 20px;
}

.product-specs {
  list-style: disc;
  padding-left: 20px;
  columns: 2;
  column-gap: 30px;
  margin-bottom: 30px;
}

.product-specs li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  break-inside: avoid;
}

.product-specs li strong {
  color: #333;
}

.product-sidebar {
  background: transparent;
  padding: 0;
}

.product-sidebar__form-heading {
  font-size: 1.6rem;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

/* Gravity Forms Styling (Product Sidebar) */
.product-sidebar .gform_heading {
  display: none !important;
}

.product-sidebar .gform_body .gform_fields {
  gap: 15px !important;
  grid-row-gap: 15px !important;
}

.product-sidebar .gform_body .gfield {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

.product-sidebar .gform_body .gfield_label {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
  color: #333 !important;
}

.product-sidebar .gform_body input[type="text"],
.product-sidebar .gform_body input[type="email"],
.product-sidebar .gform_body input[type="tel"],
.product-sidebar .gform_body textarea,
.product-sidebar .gform_body select {
  width: 100% !important;
  height: 55px !important;
  padding: 14px 12px !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  font-size: 0.9rem !important;
  font-family: var(--font2) !important;
  transition: border-color 0.2s ease !important;
  box-shadow: none !important;
}

.product-sidebar .gform_body input:focus,
.product-sidebar .gform_body textarea:focus,
.product-sidebar .gform_body select:focus {
  border-color: var(--primary, #000) !important;
  outline: none !important;
}

.product-sidebar .gform_body textarea {
  min-height: 100px !important;
  resize: vertical !important;
}

.product-sidebar .gform_footer,
.product-sidebar .gform_page_footer {
  margin-top: 20px !important;
  padding: 0 !important;
}

.product-sidebar .gform_footer input[type="submit"],
.product-sidebar .gform_footer button,
.product-sidebar .gform_button {
  width: 100% !important;
  background: var(--primary, #000) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px 24px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  font-family: var(--font1) !important;
  text-transform: none !important;
}

.product-sidebar .gform_footer input[type="submit"]:hover,
.product-sidebar .gform_footer button:hover,
.product-sidebar .gform_button:hover {
  background: var(--tertiary, #FFD700) !important;
  color: #000 !important;
}

.product-sidebar .gfield_required {
  color: var(--primary, #000) !important;
}

.product-sidebar .gform_validation_errors,
.product-sidebar .validation_message {
  font-size: 0.85rem !important;
}

.product-sidebar .gfield--type-checkbox legend {
  display: none !important;
}

.product-description {
  margin-bottom: 25px;
  line-height: 1.7;
  color: #555;
}

.product-sidebar__questions {
  margin-top: 30px;
  padding: 25px 0;
  background: transparent;
  border-top: 1px solid #ddd;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.product-sidebar__questions-text {
  text-align: center;
}

.product-sidebar__questions-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.product-sidebar__questions h4 {
  font-size: 24px;
  margin-bottom: 4px;
}

.product-sidebar__questions a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.product-sidebar__badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.product-sidebar__badges img {
  max-height: 70px;
  width: auto;
}

/* Related Products */
.related-products {
  padding: 60px 0;
  background: #43464B;
}

.related-products__heading {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #fff;
}


/* -----------------------------------------------------------------------------
 * Category Hero
 * -------------------------------------------------------------------------- */
.category-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.category-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
}

.category-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 60px 0;
}

.category-hero h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 10px;
}

.category-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0;
}

.category-count {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 25px 0 15px;
}

/* Call Today Shortcode CTA */
.zwirner-calltoday {
  margin-top: 25px;
}

.zwirner-calltoday__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary, #1a1a1a);
  color: #fff;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary, #1a1a1a);
}

.zwirner-calltoday__link:hover {
  background: transparent;
  color: var(--primary, #1a1a1a);
}

.zwirner-calltoday__link span {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.zwirner-calltoday__link:hover span {
  transform: translateX(4px);
}

/* SEO Content Sections */
.seo-content-section {
  padding: 50px 0;
}

.seo-content-section h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.seo-content-section + .seo-content-section {
  padding-top: 0;
}

/* -----------------------------------------------------------------------------
 * Utility Classes
 * -------------------------------------------------------------------------- */
.mobileonly,
.mobileOnly {
  display: none;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* -----------------------------------------------------------------------------
 * Browser Customization
 * -------------------------------------------------------------------------- */
::selection {
  background: #1a1a1a;
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: #f5f5f5;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--tertiary);
}

/* -----------------------------------------------------------------------------
 * Media Queries
 * -------------------------------------------------------------------------- */
@media (max-width: 1530px) {
  .main-navigation {
    gap: 20px;
  }

  .header-inner {
    gap: 30px;
  }

  .main-navigation > li > a {
    font-size: 16px;
  }

  .cnect {
    padding: 0 30px;
  }

  .pnumber {
    padding: 0 15px;
    font-size: 16px;
  }
}

@media (max-width: 1199px) {
  .mainLogo {
    margin: 0 auto;
    width: 200px;
  }

  .menutop {
    display: none;
  }

  .mobilemen {
    display: inherit;
  }

  .mobileonly,
  .mobileOnly {
    display: initial;
  }

  .desktopOnly {
    display: none;
  }

  .header-nav {
    display: none;
  }

  .mburger {
    display: flex;
  }

  .zwirner-header {
    padding: 15px 20px;
  }

  .header-right {
    margin: -15px 0;
  }

  .header-logo {
    margin-left: 0;
  }

  .header-logo img {
    height: 60px;
  }

  .pnumber {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 2rem;
  }

  h4 {
    font-size: 1.75rem;
  }

  h5 {
    font-size: 1.5rem;
  }

  .product-specs {
    columns: 1;
  }

  .category-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .zwirner-header {
    padding: 12px 15px;
    gap: 15px;
  }

  .header-right {
    margin: -12px 0;
  }

  .header-logo img {
    height: 50px;
  }

  .pnumber {
    display: none;
  }

  .cnect {
    font-size: 12px;
    padding: 8px 15px;
  }

  /* Footer responsive */
  .zwirner-footer__top {
    padding: 30px 0;
  }

  .zwirner-footer__badges {
    justify-content: center;
    margin-bottom: 20px;
  }

  .zwirner-footer__contact {
    text-align: center;
  }

  .zwirner-footer__nav-list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
  }

  .zwirner-footer__legal {
    text-align: center;
  }

  /* Product gallery responsive */
  .product-gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .single-product-page::before {
    display: none;
  }

  .single-product-page {
    background: #fff;
  }

  .single-product-page > .container > .grid > .col-xs-12.col-md-6:first-child {
    padding-right: 0;
  }

  .single-product-page > .container > .grid > .col-xs-12.col-md-6:last-child {
    padding-left: 0;
    padding-top: 0;
  }

  .product-sidebar {
    margin-top: 30px;
  }

  .product-sidebar__form-heading {
    background: #1a1a1a;
    color: #fff;
    margin: 0;
    padding: 30px 24px 0;
    border-radius: 8px 8px 0 0;
  }

  .product-sidebar .gform_wrapper {
    background: #1a1a1a;
    padding: 20px 24px 30px;
    border-radius: 0 0 8px 8px;
  }

  .product-sidebar .gform_body .gfield_label {
    color: rgba(255, 255, 255, 0.85);
  }

  .product-sidebar .gform_body .gfield_description,
  .product-sidebar .gform_body .gfield_checkbox label,
  .product-sidebar .gform_body .gfield_radio label,
  .product-sidebar .gform_body .gchoice label {
    color: rgba(255, 255, 255, 0.7);
  }

  .product-sidebar .gform_body input[type="text"],
  .product-sidebar .gform_body input[type="email"],
  .product-sidebar .gform_body input[type="tel"],
  .product-sidebar .gform_body textarea,
  .product-sidebar .gform_body select {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
  }

  .product-sidebar .gform_body input::placeholder,
  .product-sidebar .gform_body textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }

  .product-sidebar .gform_body input:focus,
  .product-sidebar .gform_body textarea:focus,
  .product-sidebar .gform_body select:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
  }

  .product-sidebar .gform_footer input[type="submit"],
  .product-sidebar .gform_footer button,
  .product-sidebar .gform_button {
    background: var(--tertiary) !important;
    color: #1a1a1a !important;
    border-color: var(--tertiary) !important;
  }

  .product-sidebar .gform_footer input[type="submit"]:hover,
  .product-sidebar .gform_footer button:hover,
  .product-sidebar .gform_button:hover {
    background: transparent !important;
    color: var(--tertiary) !important;
  }

  /* Category hero responsive */
  .category-hero {
    min-height: 200px;
  }

  .category-hero__content {
    padding: 40px 0;
  }

  /* Pagination responsive */
  .zwirner-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: 0.85rem;
  }
}

/* -----------------------------------------------------------------------------
 * 404 Page
 * -------------------------------------------------------------------------- */
.page-404 {
  padding: 100px 0 120px;
  text-align: center;
}

.page-404__inner {
  max-width: 560px;
  margin: 0 auto;
}

.page-404__heading {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 16px;
  letter-spacing: -4px;
  color: var(--primary, #000);
}

.page-404__tagline {
  font-size: 1.35rem;
  color: #333;
  margin: 0 0 8px;
  font-weight: 500;
}

.page-404__sub {
  font-size: 1.05rem;
  color: #666;
  margin: 0 0 32px;
}

.page-404__search {
  max-width: 480px;
  margin: 0 auto 28px;
}

.page-404__contact-btn {
  display: inline-block;
  background: var(--primary, #000);
  color: #fff;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-404__contact-btn:hover {
  background: var(--tertiary, #FFD700);
  color: #000;
}

@media (max-width: 767px) {
  .page-404 {
    padding: 60px 0 80px;
  }

  .page-404__heading {
    font-size: 5rem;
  }

  .page-404__tagline {
    font-size: 1.15rem;
  }
}

/* -----------------------------------------------------------------------------
 * HTML Sitemap
 * -------------------------------------------------------------------------- */
.zwirner-sitemap {
  display: grid;
  gap: 48px;
}

.zwirner-sitemap__section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary, #000);
  display: inline-block;
}

.zwirner-sitemap__section > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
}

.zwirner-sitemap__section li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  break-inside: avoid;
}

.zwirner-sitemap__section li:last-child {
  border-bottom: none;
}

.zwirner-sitemap__section li a {
  color: #333;
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
  font-weight: 600;
}

.zwirner-sitemap__section li a:hover {
  color: var(--primary, #000);
  padding-left: 4px;
}

/* Child categories indented */
.zwirner-sitemap__section .children {
  list-style: none;
  padding-left: 16px;
  margin-top: 6px;
  display: block;
}

.zwirner-sitemap__section .children li {
  border-bottom: none;
  padding: 4px 0;
}

.zwirner-sitemap__section .children li a {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

.zwirner-sitemap__section .children li a:hover {
  color: var(--primary, #000);
}

/* Category count styling */
.zwirner-sitemap__section li .count,
.zwirner-sitemap__section li > span {
  color: #999;
  font-size: 0.85rem;
  margin-left: 4px;
}

@media (max-width: 991px) {
  .zwirner-sitemap__section > ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .zwirner-sitemap__section > ul {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------------------------------------------
 * Product Sold Page
 * -------------------------------------------------------------------------- */
.product-sold-hero {
  background: var(--dark, #1e1e1e);
  padding: 60px 0;
  text-align: center;
}

.product-sold-hero__content h1 {
  color: #fff !important;
  font-size: 36px;
  margin: 0 0 15px;
}

.product-sold-hero__content p {
  color: #ccc;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.product-sold-hero__content p strong {
  color: #fff;
}

.product-sold-hero__cta {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-sold-hero__cta .btn--primary {
  background: var(--tertiary, #ffef00) !important;
  color: #000 !important;
}

.product-sold-hero__cta .btn--primary:hover {
  background: #fff !important;
  color: #000 !important;
}

.product-sold-hero__cta .btn--outline {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #fff !important;
}

.product-sold-hero__cta .btn--outline:hover {
  background: #fff !important;
  color: #000 !important;
}

/* Newsletter section */
.product-sold-newsletter {
  background: #f5f5f5;
  padding: 50px 0;
  text-align: center;
}

.product-sold-newsletter__content h2 {
  font-size: 28px;
  margin: 0 0 10px;
}

.product-sold-newsletter__content p {
  font-size: 16px;
  color: #555;
  margin: 0 0 25px;
}

.product-sold-newsletter__content .gform_wrapper {
  max-width: 550px !important;
  margin: 0 auto !important;
}

.product-sold-newsletter__content .gform_required_legend {
  display: none !important;
}

.product-sold-newsletter__content .gform_wrapper form {
  display: flex !important;
  gap: 0 !important;
  justify-content: center !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
}

.product-sold-newsletter__content .gform_wrapper .gform_body {
  flex: 1 !important;
  margin: 0 !important;
}

.product-sold-newsletter__content .gform_wrapper .gfield {
  margin: 0 !important;
  padding: 0 !important;
}

.product-sold-newsletter__content .gform_wrapper .gfield_label {
  display: none !important;
}

.product-sold-newsletter__content .gform_wrapper input[type="email"],
.product-sold-newsletter__content .gform_wrapper input[type="text"] {
  width: 100% !important;
  padding: 14px 18px !important;
  border: 2px solid #ddd !important;
  border-right: none !important;
  border-radius: 4px 0 0 4px !important;
  font-size: 15px !important;
  background: #fff !important;
  height: 50px !important;
  box-sizing: border-box !important;
}

.product-sold-newsletter__content .gform_wrapper input[type="email"]:focus,
.product-sold-newsletter__content .gform_wrapper input[type="text"]:focus {
  border-color: var(--tertiary, #ffef00) !important;
  outline: none !important;
}

.product-sold-newsletter__content .gform_wrapper .gform_footer,
.product-sold-newsletter__content .gform_wrapper .gform_page_footer {
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.product-sold-newsletter__content .gform_wrapper input[type="submit"],
.product-sold-newsletter__content .gform_wrapper button[type="submit"] {
  background: var(--tertiary, #ffef00) !important;
  color: #000 !important;
  border: 2px solid var(--tertiary, #ffef00) !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 0 4px 4px 0 !important;
  cursor: pointer !important;
  height: 50px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  transition: background 0.2s, color 0.2s !important;
}

.product-sold-newsletter__content .gform_wrapper input[type="submit"]:hover,
.product-sold-newsletter__content .gform_wrapper button[type="submit"]:hover {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

.product-sold-newsletter__content .gform_wrapper .gfield_description,
.product-sold-newsletter__content .gform_wrapper .gfield_validation_message {
  text-align: left !important;
  font-size: 13px !important;
}
