/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.catalogue {
  background: #f5f6f7;
}

.catalogue-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  max-width: 1300px;
  margin: auto;
  padding: 50px 20px;
}

.catalogue * {
  box-sizing: border-box;
}

.catalogue-content {
  position: sticky;
  top: 70px;
  align-self: start;
}

@media (max-width: 1100px) {
  .catalogue-content {
    position: static;
    top: auto;
  }
}

/* SIDEBAR */
.catalogue-sidebar {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  height: fit-content;
}

.catalogue-sidebar h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.filter-group + .filter-group {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #ececec;
}

.filter-group__head {
  margin-bottom: 14px;
}

.filter-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  color: #222;
}

.filter-group__title input[type="checkbox"] {
  accent-color: #c21f2f;
}

/* TREE */
.filter-tree {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-parent {
  margin-bottom: 4px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom:initial;
  padding: 2px 0;
  transition: color 0.2s ease;
}

.filter-option:hover {
  color: #c21f2f;
}

.filter-option input[type="checkbox"] {
  accent-color: #c21f2f;
  flex: 0 0 auto;
}

.filter-option.parent {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.filter-children {
  margin-left: 18px;
  padding-left: 12px;
  border-left: 2px solid #eee;
}

.filter-option.child {
  font-size: 13px;
  color: #666;
}

/* ACTIONS */
.filter-actions {
  margin-top: 24px;
}

.catalogue-sidebar button {
  margin-top: 0;
  width: 100%;
  padding: 12px;
  background: #c21f2f;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.catalogue-sidebar button:hover {
  background: #a81b28;
}

.catalogue-sidebar .filter-actions a {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

/* RESULTS BAR */
.panel {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-bottom: 20px;
  overflow: hidden;
}

.panel__in {
  padding: 18px 20px;
}

.results-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.results-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.count {
  color: #6b7280;
  font-size: 14px;
}

.count strong {
  color: #14171a;
  font-weight: 700;
}

/* CHIPS */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(194,31,47,0.08);
  border: 1px solid rgba(194,31,47,0.25);
  color: #c21f2f;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.chip a {
  color: #c21f2f;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}

.chip a:hover {
  color: #a81b28;
}

/* SORT */
.sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.sort select {
  height: 42px;
  min-width: 170px;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
  font-size: 14px;
  color: #14171a;
  outline: none;
}

.sort select:focus {
  border-color: #c21f2f;
  box-shadow: 0 0 0 3px rgba(194,31,47,0.10);
}

/* GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: 0.25s;
  display: flex;
  flex-direction: column;
}

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

.product-image {
  height: 180px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-image__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20,23,26,.06), rgba(194,31,47,.08));
}

.product-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 15px 15px 8px;
}

.product-card .desc {
  font-size: 14px;
  color: #666;
  margin: 0 15px 10px;
  line-height: 1.5;
}

.meta {
  font-size: 12px;
  margin: 0 15px 10px;
  display: flex;
  gap: 10px;
  color: #999;
}

.product-card .btn {
  margin: auto 15px 15px;
  display: inline-block;
  padding: 14px 14px;
  background: #c21f2f;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: 0.2s;
}

.product-card .btn:hover {
  background: #a81b28;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .catalogue-container {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .results-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}

.filter-search {
  margin-bottom: 20px;
}

.filter-search input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
}

.filter-search input:focus {
  border-color: #c21f2f;
  box-shadow: 0 0 0 3px rgba(194,31,47,0.10);
}



/* PRODUCT DATASHEET */
.niooton-product-hero {
    padding: 70px 0;
    margin-bottom: 40px;
    background:
        radial-gradient(circle at top left, rgba(194, 31, 47, 0.08), transparent 32%),
        linear-gradient(135deg, #f7f8fa 0%, #eef1f5 100%);
}

.niooton-product-hero--bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.niooton-product-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 460px);
    gap: 42px;
    align-items: center;
}

.niooton-product-kicker {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(194, 31, 47, 0.08);
    color: #c21f2f;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.niooton-product-hero .entry-title.title {
    margin-bottom: 18px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
}

.niooton-product-hero-summary {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.75;
    color: #f8f8f8;
}

.niooton-product-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    justify-content: center;
}

.niooton-product-hero-visual-card {
    padding: 26px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.niooton-product-hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.niooton-product-page {
    padding-bottom: 70px;
}

.niooton-product-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: start;
}

.niooton-product-main,
.niooton-product-sidebar {
    display: grid;
    gap: 28px;
}

.niooton-product-card {
    padding: 28px;
    border: 1px solid #e8ebef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.niooton-section-heading {
    margin-bottom: 22px;
}

.niooton-section-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #c21f2f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.niooton-section-heading h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
}

.niooton-gallery-main {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: 18px;
    background: #f7f8fa;
}

.niooton-product-main-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.niooton-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
    gap: 12px;
}

.niooton-gallery-thumb-wrap {
    padding: 6px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.niooton-gallery-thumb-wrap:hover,
.niooton-gallery-thumb-wrap.is-active {
    border-color: #c21f2f;
    box-shadow: 0 8px 18px rgba(194, 31, 47, 0.12);
}

.niooton-gallery-thumb {
    display: block;
    width: 100%;
    height: 78px;
    object-fit: cover;
    border-radius: 10px;
}

.niooton-no-image {
    padding: 60px 20px;
    text-align: center;
    border-radius: 18px;
    background: #f8fafc;
    color: #6b7280;
}

.niooton-product-description {
    font-size: 16px;
    line-height: 1.85;
    color: #374151;
}

.niooton-product-description > *:first-child {
    margin-top: 0;
}

.niooton-product-description > *:last-child {
    margin-bottom: 0;
}

.niooton-product-specs-list {
    display: grid;
    gap: 14px;
    margin-bottom: 24px;
}

.niooton-spec-item {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf0f2;
}

.niooton-spec-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.niooton-spec-label {
    color: #6b7280;
    font-weight: 600;
}

.niooton-spec-value {
    color: #111827;
    font-weight: 700;
    text-align: right;
}

.niooton-product-sidebar-actions {
    display: grid;
    gap: 12px;
}

.niooton-highlights-list {
    display: grid;
    gap: 18px;
}

.niooton-highlight-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.niooton-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.niooton-highlight-text strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 16px;
}

.niooton-highlight-text p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.niooton-doc-link {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid #eceff3;
    border-radius: 18px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.niooton-doc-link:hover {
    border-color: #c21f2f;
    box-shadow: 0 10px 24px rgba(194, 31, 47, 0.08);
    transform: translateY(-1px);
}

.niooton-doc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #c21f2f;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.niooton-doc-text strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
}

.niooton-doc-text small {
    color: #6b7280;
    font-size: 13px;
}

@media (max-width: 1199px) {
    .niooton-product-overview {
        grid-template-columns: 1fr 320px;
    }
}

@media (max-width: 991px) {
    .niooton-product-hero {
        padding: 54px 0;
    }

    .niooton-product-hero-inner,
    .niooton-product-overview {
        grid-template-columns: 1fr;
    }

    .niooton-product-hero-visual {
        order: -1;
    }

    .niooton-product-hero .entry-title.title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .niooton-product-card {
        padding: 20px;
        border-radius: 18px;
    }

    .niooton-section-heading h2 {
        font-size: 24px;
    }

    .niooton-spec-item {
        flex-direction: column;
        gap: 6px;
    }

    .niooton-spec-value {
        text-align: left;
    }

    .niooton-doc-link {
        grid-template-columns: 1fr;
    }

    .niooton-doc-icon {
        width: 52px;
        height: 52px;
    }
}

