/* ---------- Inner pages ---------- */
.white-board--inner {
  padding-bottom: 0;
}

.inner-main {
  padding: 20px 0 40px;
}

.masthead--inner {
  padding-bottom: 22px;
}

.masthead-page {
  position: relative;
  z-index: 2;
  padding: 10px 0 6px;
}

.breadcrumb--light .breadcrumb-list {
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb--light .breadcrumb-list li + li::before {
  color: rgba(255, 255, 255, 0.38);
}

.breadcrumb--light a {
  color: rgba(255, 255, 255, 0.88);
}

.breadcrumb--light a:hover {
  color: #fff;
}

.breadcrumb--light [aria-current="page"] {
  color: #fff;
}

.masthead-page-head {
  margin-top: 12px;
}

.masthead-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 6px;
}

.masthead-lead {
  max-width: 56ch;
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumb {
  margin-bottom: 18px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: 12.5px;
  color: var(--muted);
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: #b8c4b8;
  font-weight: 500;
}

.breadcrumb-list a {
  color: var(--sage-deep);
  font-weight: 600;
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: var(--orange);
}

.breadcrumb-list [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.page-head {
  margin-bottom: 28px;
}

.page-head h1 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 8px;
}

.page-head p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.page-band {
  background: var(--sage-band);
  border-radius: 32px;
  padding: 24px 22px;
  margin-bottom: 28px;
}

.page-band--peach {
  background: linear-gradient(135deg, #fde9e4 0%, #fff 100%);
}

.content-card {
  background: var(--white);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: 0 8px 24px rgba(40, 70, 50, 0.06);
}

.content-card + .content-card {
  margin-top: 18px;
}

.content-card h2,
.content-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.95;
}

.content-card ul,
.content-card ol {
  padding-inline-start: 20px;
  margin-top: 8px;
}

.content-card li + li {
  margin-top: 6px;
}

/* Shop layout */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.shop-toolbar .result-count {
  font-size: 13px;
  color: var(--muted);
}

.shop-toolbar .result-count strong {
  color: var(--ink);
}

.shop-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.shop-sort select {
  border: 1.5px solid #dce8dc;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 16px;
  background: var(--white);
  border-radius: 22px;
  padding: 18px 16px;
  box-shadow: 0 8px 24px rgba(40, 70, 50, 0.06);
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.filter-head h2 {
  font-size: 15px;
  font-weight: 800;
}

.filter-clear {
  font-size: 12px;
  color: var(--orange);
  font-weight: 700;
}

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

.filter-group h3 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.filter-options {
  display: grid;
  gap: 8px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
}

.filter-option input {
  accent-color: var(--orange);
}

.price-range {
  display: grid;
  gap: 10px;
}

.price-range input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.products-grid .product-card {
  height: 100%;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.page-link {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--white);
  border: 1.5px solid #e3ece3;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: all 0.2s ease;
}

.page-link:hover,
.page-link.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.page-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.product-gallery {
  background: var(--white);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(40, 70, 50, 0.06);
}

.product-gallery-main {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 12px;
}

.product-gallery-main .wire-box,
.product-gallery-main img {
  width: 100%;
  min-height: 320px;
  border-radius: 20px;
  object-fit: cover;
}

.product-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.product-gallery-thumbs button {
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.product-gallery-thumbs button.is-active {
  border-color: var(--orange);
}

.product-gallery-thumbs .wire-box {
  min-height: 72px;
  border-radius: 12px;
}

.product-info {
  background: var(--white);
  border-radius: 28px;
  padding: 24px 22px;
  box-shadow: 0 8px 24px rgba(40, 70, 50, 0.06);
}

.product-info h1,
.product-name {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 8px;
}

.product-info h1 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 8px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}

.product-price-lg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.product-price-lg .disc {
  font-size: 13px;
}

.product-price-lg strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
}

.product-price-lg .old {
  font-size: 14px;
}

.option-group {
  margin-bottom: 16px;
}

.option-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option-pill {
  min-width: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid #dce8dc;
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-pill.is-active,
.option-pill:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #dce8dc;
  border-radius: 999px;
  overflow: hidden;
}

.qty-stepper button {
  width: 38px;
  height: 38px;
  border: 0;
  background: #f5faf5;
  font-size: 18px;
  cursor: pointer;
}

.qty-stepper input {
  width: 44px;
  border: 0;
  text-align: center;
  font-weight: 700;
  background: transparent;
}

.product-tabs {
  margin-top: 8px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tab-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid #dce8dc;
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn.is-active {
  background: var(--sage-band);
  border-color: var(--sage);
  color: var(--sage-deep);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.spec-table th,
.spec-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #edf2ed;
  text-align: start;
}

.spec-table th {
  width: 34%;
  color: var(--muted);
  font-weight: 600;
}

/* Categories page */
.category-grid-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(40, 70, 50, 0.06);
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card .cat-photo {
  aspect-ratio: 1.2;
  border-radius: 16px;
}

.category-card h2 {
  font-size: 15px;
  font-weight: 800;
}

.category-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
}

.category-card .cat-count {
  font-size: 12px;
  color: var(--sage-deep);
  font-weight: 700;
}

/* Blog listing */
.blog-grid-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-grid-page .blog-card {
  width: auto;
  flex: unset;
}

/* Single blog */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.article-cover {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 20px;
}

.article-cover .wire-box {
  min-height: 280px;
}

.article-body h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 24px 0 10px;
}

.article-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
  margin-bottom: 14px;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--muted);
}

.sidebar-card {
  background: var(--white);
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: 0 8px 24px rgba(40, 70, 50, 0.06);
}

.sidebar-card + .sidebar-card {
  margin-top: 16px;
}

.sidebar-card h3 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.sidebar-links a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid #f0f4f0;
}

.sidebar-links a:hover {
  color: var(--orange);
}

/* Forms */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
}

.form-field label span {
  color: var(--orange);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1.5px solid #dce8dc;
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 13.5px;
  background: var(--white);
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sage);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(241, 90, 36, 0.25);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-cards {
  display: grid;
  gap: 12px;
}

.info-card {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(40, 70, 50, 0.05);
}

.info-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--sage-band);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.info-card-icon svg {
  width: 20px;
  height: 20px;
}

.info-card h3 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.info-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(40, 70, 50, 0.05);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sage-band);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-body {
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.95;
}

/* Steps / guide */
.steps-list {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.step-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(40, 70, 50, 0.05);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
}

.step-item h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}

.step-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

/* About page */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.stat-box {
  text-align: center;
  padding: 16px 10px;
  background: var(--white);
  border-radius: 18px;
}

.stat-box strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 4px;
}

.stat-box span {
  font-size: 12px;
  color: var(--muted);
}

/* Track order */
.track-box {
  max-width: 520px;
  margin-inline: auto;
}

.track-result {
  margin-top: 20px;
  padding: 18px;
  border-radius: 18px;
  background: var(--sage-band);
}

.track-result h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
}

.track-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.track-step {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}

.track-step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c5d9c5;
  margin: 0 auto 6px;
}

.track-step.is-done .track-step-dot {
  background: var(--sage-deep);
}

.track-step.is-current .track-step-dot {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(241, 90, 36, 0.2);
}

/* Legal */
.legal-content h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 22px 0 10px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 2;
  margin-bottom: 12px;
}

@media (max-width: 980px) {
  .shop-layout,
  .product-detail,
  .article-layout,
  .contact-grid,
  .about-page-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .products-grid,
  .category-grid-page,
  .blog-grid-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .masthead--inner {
    padding-bottom: 18px;
  }

  .masthead-page {
    padding-top: 6px;
  }

  .masthead-title {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .products-grid,
  .category-grid-page,
  .blog-grid-page,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .product-gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
}
