/* Styles for Valmet (Neles) Catalog and Product pages */

.catalog-page {
  background: #fff;
  color: var(--ink);
  padding: 24px 0 60px;
}

/* Breadcrumbs */
.catalog-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 550;
  color: var(--muted);
}
.catalog-breadcrumbs a {
  color: var(--green-dark);
  transition: color 0.15s ease;
}
.catalog-breadcrumbs a:hover {
  color: var(--green);
}
.catalog-breadcrumbs span {
  color: #a1a9b2;
  user-select: none;
}

/* Catalog Layout */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* Catalog Sidebar */
.catalog-sidebar {
  position: sticky;
  top: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(32, 42, 52, 0.04);
}
.catalog-sidebar h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}
.catalog-sidebar__links {
  display: grid;
  border-top: 1px solid var(--line);
}
.catalog-sidebar__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #4d5864;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.15s ease;
}
.catalog-sidebar__links a:hover,
.catalog-sidebar__links a.is-active {
  color: var(--green-dark);
  font-weight: 750;
}
.catalog-sidebar__group {
  border-bottom: 1px solid var(--line);
}
.catalog-sidebar__group > a {
  border-bottom: 0;
}
.catalog-sidebar__group > .is-parent::after {
  content: "›";
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
  line-height: 1;
}
.catalog-sidebar__group > .is-parent.is-active::after {
  transform: rotate(90deg);
  color: var(--green-dark);
}
.catalog-sidebar__subcategories {
  display: grid;
  gap: 2px;
  padding: 4px 0 12px 14px;
  border-left: 2px solid var(--green-soft);
}
.catalog-sidebar__subcategories a {
  display: block;
  padding: 6px 0;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
}
.catalog-sidebar__subcategories a:hover,
.catalog-sidebar__subcategories a.is-active {
  color: var(--green-dark);
  font-weight: 750;
}

/* Sidebar Help Box */
.catalog-sidebar__help {
  margin-top: 24px;
  padding: 20px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  box-shadow: 0 4px 12px rgba(67, 176, 42, 0.15);
}
.catalog-sidebar__help p {
  margin: 0 0 6px;
  color: var(--green-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.catalog-sidebar__help h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
}
.catalog-sidebar__help a {
  display: inline-flex;
  margin-top: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  transition: color 0.15s ease;
}
.catalog-sidebar__help a:hover {
  color: var(--green-soft);
}

/* Catalog Content */
.catalog-content__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.catalog-content__head p {
  margin: 0 0 4px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.catalog-content__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 850;
  line-height: 1.2;
}
.catalog-content__head span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

/* Category Hero Block */
.catalog-hero {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  margin-bottom: 28px;
}
.catalog-hero h1 {
  margin: 0;
  font-size: 32px;
  font-weight: 850;
  line-height: 1.15;
  color: var(--ink);
}
.catalog-hero p {
  margin: 12px 0 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.5;
  color: #53606d;
}

/* Products Grid */
.catalog-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.catalog-product {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(32, 42, 52, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.catalog-product:hover {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(32, 42, 52, 0.06);
}
.catalog-product .favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}
.catalog-product__image {
  display: block;
  height: 130px;
  margin-bottom: 12px;
  background: #fdfdfd;
  overflow: hidden;
}
.catalog-product__image picture {
  display: block;
  width: 100%;
  height: 100%;
}
.catalog-product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.catalog-product__sku {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}
.catalog-product__name {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  transition: color 0.15s ease;
}
.catalog-product__name:hover {
  color: var(--green-dark);
}
.catalog-product__availability {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}
.catalog-product__bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.catalog-product__bottom span {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}
.catalog-product__cart {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: #fff;
  color: var(--green);
  transition: background 0.15s ease, color 0.15s ease;
}
.catalog-product__cart:hover {
  background: var(--green);
  color: #fff;
}
.catalog-product__cart.is-added {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}
.catalog-product__cart svg {
  width: 16px;
  height: 16px;
}

.catalog-empty {
  padding: 32px;
  border: 1px dashed #cbd4dc;
  border-radius: 5px;
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}

.catalog-cta {
  margin-top: 32px;
  padding: 28px;
  border-radius: 5px;
  background: linear-gradient(135deg, #1f2a34, #2c3a47);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.catalog-cta h3 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}
.catalog-cta p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.45;
}
.catalog-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background 0.15s ease;
}
.catalog-cta a:hover {
  background: var(--green-dark);
}

/* Product Detail Page */
.product-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 350px;
  gap: 32px;
  align-items: start;
}

.product-detail {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(32, 42, 52, 0.03);
}
.product-detail h1 {
  margin: 0 0 16px;
  font-size: 32px;
  font-weight: 850;
  line-height: 1.15;
  color: var(--ink);
}
.product-detail__hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.product-detail__image {
  height: 240px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fdfdfd;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  min-width: 0;
}
.product-detail__image picture {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.product-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-detail__purchase {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}
.product-detail__availability {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}
.product-detail__price {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 850;
  color: var(--ink);
}
.product-detail__purchase p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.product-detail__actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr 48px;
  gap: 12px;
}
.product-detail__cart {
  margin-top: 0;
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.product-detail__cart:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.product-detail__cart.is-added {
  background: #202a31;
  border-color: #202a31;
}
.product-detail__cart svg {
  width: 18px;
  height: 18px;
}
.product-detail__quick-buy {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.product-detail__quick-buy:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: var(--ink);
}
.product-detail__favorite {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  color: #a1a9b2;
  cursor: pointer;
  transition: all 0.15s ease;
}
.product-detail__favorite:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: var(--green);
}
.product-detail__favorite.is-active {
  color: var(--green);
  border-color: var(--green);
}
.product-detail__favorite.is-active svg {
  fill: currentColor;
}

.product-detail__content h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
}
.product-detail__content p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
  color: #4d5864;
}
.product-detail__title {
  margin: 28px 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 2px solid var(--green-soft);
  padding-bottom: 6px;
}
.product-detail__content dl {
  margin: 0;
  border-top: 1px solid var(--line);
}
.product-detail__content dl > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.4;
}
.product-detail__content dl > div:nth-child(even) {
  background: var(--surface);
}
.product-detail__content dt {
  font-weight: 750;
  color: #5c6874;
}
.product-detail__content dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

/* Sidebar Request Form Card (Redesigned Premium Style) */
.side-cta {
  position: relative;
  padding: 30px 20px 24px;
  border: 1px solid #eef2f5;
  border-top: 3px solid var(--green);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(32, 42, 54, 0.05);
}
.side-cta__eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
}
.side-cta__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.side-cta p {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
}
.product-request-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-request-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}
.product-request-form input:not([type="checkbox"]):not([type="file"]),
.product-request-form textarea {
  width: 100%;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 550;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.product-request-form input:focus,
.product-request-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(67, 176, 42, 0.12);
}
.product-request-form textarea {
  height: 80px;
  padding-top: 10px;
  resize: vertical;
}
.product-request-form .side-cta__file {
  cursor: pointer;
  width: 100%;
}
.product-request-form .side-cta__file input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.product-request-form .side-cta__file span {
  width: 100%;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.product-request-form .side-cta__file span:hover {
  border-color: var(--green);
  background: #f1f5f9;
  color: var(--green-dark);
}
.product-request-form .side-cta__file svg {
  width: 16px;
  height: 16px;
  color: #64748b;
  flex-shrink: 0;
}
.product-request-form .cf-turnstile {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 65px;
  height: 65px;
  overflow: hidden;
}
.product-request-form button[type="submit"] {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(67, 176, 42, 0.15);
  transition: all 0.15s ease;
}
.product-request-form button[type="submit"]:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 16px rgba(67, 176, 42, 0.25);
}
.product-request-form button[type="submit"]:active {
  transform: scale(0.98);
}
.product-request-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.side-cta__status {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  margin-top: 6px;
}
.side-cta__status[data-state="success"] {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.side-cta__status[data-state="error"] {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Similar Products Section */
.related-products {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.related-products__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.related-products__title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.related-products__heading a {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 750;
  transition: color 0.15s ease;
}
.related-products__heading a:hover {
  color: var(--green);
}
.related-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.related-products__grid .catalog-product {
  min-height: 290px;
  padding: 12px;
}
.related-products__grid .catalog-product__image {
  height: 100px;
  margin-bottom: 8px;
}
.related-products__grid .catalog-product__name {
  font-size: 13px;
  line-height: 1.25;
}
.related-products__grid .catalog-product__availability {
  font-size: 12px;
  margin-bottom: 8px;
}
.related-products__grid .catalog-product__bottom {
  padding-top: 8px;
}

/* Quick Buy Modal */
.quick-buy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s ease, opacity 0.25s ease;
}
.quick-buy-modal.is-active {
  visibility: visible;
  opacity: 1;
}
.quick-buy-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}
.quick-buy-modal__content {
  position: relative;
  width: min(480px, calc(100% - 24px));
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  z-index: 2;
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.quick-buy-modal.is-active .quick-buy-modal__content {
  transform: scale(1);
}
.quick-buy-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: 0;
  font-size: 32px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.15s ease;
  padding: 4px;
}
.quick-buy-modal__close:hover {
  color: var(--green-dark);
}
.quick-buy-modal__header {
  margin-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}
.quick-buy-modal__header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 850;
  color: var(--ink);
}
.quick-buy-modal__header p {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 800;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.quick-buy-modal__product {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #eef2f5;
  border-radius: 8px;
  margin-bottom: 20px;
}
.quick-buy-modal__product-image {
  width: 60px;
  height: 60px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.quick-buy-modal__product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.quick-buy-modal__product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.quick-buy-modal__product-sku {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}
.quick-buy-modal__product-name {
  font-size: 14px;
  font-weight: 750;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quick-buy-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.quick-buy-modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quick-buy-modal__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}
.quick-buy-modal__form input {
  width: 100%;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  outline: 0;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 550;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.quick-buy-modal__form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(67, 176, 42, 0.12);
}
.quick-buy-modal__form .cf-turnstile {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 65px;
  height: 65px;
  overflow: hidden;
}
.quick-buy-modal__form button[type="submit"] {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(67, 176, 42, 0.15);
  transition: all 0.15s ease;
}
.quick-buy-modal__form button[type="submit"]:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 16px rgba(67, 176, 42, 0.25);
}
.quick-buy-modal__form button[type="submit"]:active {
  transform: scale(0.98);
}
.quick-buy-modal__form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.quick-buy-modal__status {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  margin-top: 6px;
}
.quick-buy-modal__status[data-state="success"] {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.quick-buy-modal__status[data-state="error"] {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

@media (max-width: 480px) {
  .quick-buy-modal__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Shopping Cart Page Styles */
[hidden] {
  display: none !important;
}
.cart-page-container {
  padding: 10px 0 40px;
}
.cart-page-container h1 {
  font-size: 32px;
  font-weight: 850;
  color: var(--ink);
  margin-bottom: 24px;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 350px;
  gap: 32px;
  align-items: start;
}
.cart-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.cart-summary-text {
  font-size: 15px;
  font-weight: 750;
  color: #4d5864;
}
.clear-cart-btn {
  background: transparent;
  border: 0;
  padding: 0;
  color: #ef4444;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s ease;
}
.clear-cart-btn:hover {
  color: #dc2626;
  text-decoration: underline;
}
.cart-table {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1.5fr 110px 100px 30px;
  align-items: center;
  gap: 20px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(32, 42, 52, 0.02);
}
.cart-item__image {
  width: 80px;
  height: 80px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}
.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cart-item__details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.cart-item__sku {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
}
.cart-item__name {
  font-size: 15px;
  font-weight: 750;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item__name:hover {
  color: var(--green-dark);
}
.cart-item__quantity {
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
  height: 36px;
  width: 110px;
  background: #fff;
}
.qty-btn {
  width: 32px;
  height: 100%;
  background: #f8fafc;
  border: 0;
  font-size: 16px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: background 0.15s ease;
}
.qty-btn:hover {
  background: #e2e8f0;
}
.qty-input {
  width: 46px;
  height: 100%;
  border: 0;
  border-left: 1px solid #cbd5e1;
  border-right: 1px solid #cbd5e1;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  outline: 0;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-input[type=number] {
  -moz-appearance: textfield;
}
.cart-item__price {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  text-align: right;
}
.cart-item__remove {
  background: transparent;
  border: 0;
  font-size: 28px;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.15s ease;
  padding: 0;
  line-height: 1;
  text-align: center;
}
.cart-item__remove:hover {
  color: #ef4444;
}
.cart-empty-state {
  padding: 60px 24px;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
}
.cart-empty-icon {
  width: 64px;
  height: 64px;
  color: #94a3b8;
  margin-bottom: 18px;
}
.cart-empty-state h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
}
.cart-empty-state p {
  font-size: 15px;
  color: #64748b;
  margin: 0 0 24px;
  max-width: 480px;
  margin-inline: auto;
}

/* Responsive Cart Page Queries */
@media (max-width: 1200px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cart-checkout-sidebar {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 760px) {
  .cart-item {
    grid-template-columns: 60px 1fr auto;
    grid-template-rows: auto auto;
    gap: 12px;
    padding: 12px;
  }
  .cart-item__image {
    width: 60px;
    height: 60px;
  }
  .cart-item__details {
    grid-column: 2 / span 2;
  }
  .cart-item__quantity {
    grid-column: 2;
    grid-row: 2;
  }
  .cart-item__price {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
    align-self: center;
  }
  .cart-item__remove {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    text-align: right;
  }
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .catalog-sidebar {
    position: static;
  }
  .catalog-sidebar__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
  .catalog-sidebar__help {
    display: none;
  }
  .product-page-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .side-cta {
    max-width: 450px;
    margin: 0 auto;
  }
  .product-detail__hero {
    grid-template-columns: 1fr 1fr;
  }
  .related-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .catalog-sidebar__links {
    grid-template-columns: 1fr;
  }
  .catalog-content__head h2 {
    font-size: 24px;
  }
  .catalog-hero {
    padding: 24px;
  }
  .catalog-hero h1 {
    font-size: 26px;
  }
  .catalog-products {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail h1 {
    font-size: 26px;
  }
  .product-detail__hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .product-detail__image {
    height: 200px;
  }
  .product-detail__content dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .catalog-products {
    grid-template-columns: 1fr;
  }
  .related-products__grid {
    grid-template-columns: 1fr;
  }
}

/* Informational Pages Styles */
.info-card {
  padding: 30px;
}
.info-card h2 {
  margin: 32px 0 16px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 2px solid var(--green-soft);
  padding-bottom: 8px;
}
.info-card h2:first-of-type {
  margin-top: 0;
}
.info-card h3 {
  margin: 24px 0 12px;
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
}
.info-card p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #4d5864;
}
.info-card ul, .info-card ol {
  margin: 0 0 20px;
  padding-left: 20px;
}
.info-card li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #4d5864;
}
.info-card strong {
  color: var(--ink);
  font-weight: 700;
}
.legal-page {
  padding: 44px 0 72px;
  background: #f8fafb;
}
.legal-layout {
  display: block;
}
.legal-document {
  width: min(100%, 1040px);
  max-width: none;
  margin-inline: auto;
  padding: 46px 56px 50px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(32, 42, 52, .05);
}
.legal-document h1 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -.4px;
}
.legal-document h2 {
  max-width: 820px;
  font-size: 24px;
  line-height: 1.24;
}
.legal-document p,
.legal-document li {
  max-width: 860px;
  font-size: 16px;
  line-height: 1.68;
}
.legal-document__date {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 14px !important;
  padding: 0 11px;
  border-radius: 3px;
  background: var(--green-soft);
  color: var(--green-dark) !important;
  font-size: 13px !important;
  font-weight: 800;
}
.legal-document a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-request-form .privacy-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  color: #4d5864;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
.product-request-form .privacy-consent input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--green);
}
.product-request-form .privacy-consent a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Advantage Grid for About Page */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}
.advantage-item {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.advantage-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}
.advantage-item h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}
.advantage-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #4d5864;
}

/* Map Container for Contacts Page */
.map-container {
  margin-top: 24px;
  height: 380px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  background: #f8fafc;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Mobile responsive adjustments for info pages */
@media (max-width: 760px) {
  .info-card {
    padding: 20px;
  }
  .legal-page {
    padding: 24px 0 48px;
  }
  .legal-document {
    padding: 26px 22px 30px;
  }
  .legal-document h1 {
    font-size: 30px;
  }
  .legal-document h2 {
    font-size: 21px;
  }
  .advantage-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .map-container {
    height: 280px;
  }
}
