/* Bisum dynamic-template helpers. No bs5 layout styles. */
.package-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.product-details .package-switcher {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.package-switcher__option {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 4px;
  min-width: 0;
  min-height: 104px;
  align-content: center;
  padding: 10px 8px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  background: var(--body-background-color, #fff);
  color: #1b1b1b;
  cursor: pointer;
  line-height: 1.25;
  text-align: center;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.package-switcher__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.package-switcher__option:has(.package-switcher__input:checked),
.package-switcher__option.is-active {
  border-color: var(--primary-color, #00234D);
  background: rgba(0, 35, 77, 0.06);
  box-shadow: inset 0 0 0 1px var(--primary-color, #00234D);
  color: #1b1b1b;
}
.package-switcher__option:hover {
  border-color: var(--primary-color, #00234D);
  background: var(--primary-color, #00234D);
  color: #fff;
}
.package-switcher__option:hover .package-switcher__unit {
  color: rgba(255, 255, 255, .78);
}
.package-switcher__option:has(.package-switcher__input:checked):hover,
.package-switcher__option.is-active:hover {
  border-color: var(--primary-color, #00234D);
  background: rgba(0, 35, 77, 0.06);
  color: #1b1b1b;
}
.package-switcher__option:has(.package-switcher__input:checked):hover .package-switcher__unit,
.package-switcher__option.is-active:hover .package-switcher__unit {
  color: var(--secondary-color, #666);
}
.package-switcher__option--empty,
.package-switcher__option--empty:hover {
  border-style: dashed;
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.015);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}
.package-switcher__title {
  font-weight: 600;
}
.package-switcher__title,
.package-switcher__price,
.package-switcher__unit {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}
.package-switcher__price {
  font-size: 0.92rem;
}
.package-switcher__unit {
  font-size: 0.82rem;
  line-height: 1.2;
  color: var(--secondary-color, #666);
}
.product-details .product-variant-other label.package-switcher__option {
  display: grid;
  min-width: 0;
  min-height: 104px;
  align-items: stretch;
  justify-content: stretch;
  padding: 10px 8px;
  border-color: rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  background: var(--body-background-color, #fff);
  color: #1b1b1b;
}
.product-details .product-variant-other label.package-switcher__option:hover {
  border-color: var(--primary-color, #00234D);
  background: var(--primary-color, #00234D);
  color: #fff;
}
.product-details .product-variant-other label.package-switcher__option.is-active,
.product-details .product-variant-other label.package-switcher__option.is-active:hover {
  border-color: var(--primary-color, #00234D);
  background: rgba(0, 35, 77, 0.06);
  color: #1b1b1b;
}
.product-details .product-variant-other label.package-switcher__option.is-active:hover .package-switcher__unit {
  color: var(--secondary-color, #666);
}
.item-option-select .variant-label.active,
.item-option-select .variant-label:has(input:checked) {
  border-color: var(--primary-color, #00234D);
}
.shv-placeholder {
  min-height: 220px;
}
.shv-home-category {
  height: 100%;
  margin-bottom: 24px;
}
.shv-home-category .article-card-img-wrapper {
  display: block;
  aspect-ratio: 420 / 320;
  overflow: hidden;
  background: #f4f5f6;
}
.shv-home-category .article-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
}
.shv-home-category .article-card-heading,
.shv-home-category .article-card-heading a {
  font-size: 16px;
  line-height: 1.3;
}
.product-card {
  height: 100%;
}
.product-card-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f4f5f6;
}
.product-card-img .hover-switch,
.product-card-img img {
  height: 100%;
}
.product-card-img img {
  width: 100%;
  object-fit: cover;
  color: transparent;
}

.product-card-img img.is-image-fallback,
.shv-home-category .article-card-img.is-image-fallback {
  padding: 24px;
  object-fit: contain;
}

@media (max-width: 500px) {
  .shop-grid-item {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .category-grid-item {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }

  .shv-home-category {
    margin-bottom: 16px;
  }

  .shv-home-category .article-card-img-wrapper {
    aspect-ratio: 4 / 3;
  }

  .shv-home-category .article-card-heading {
    margin-top: 8px !important;
  }

  .shv-home-category .article-card-heading,
  .shv-home-category .article-card-heading a {
    font-size: 14px;
  }

  .collection-product-container .product-card,
  .home-recommended-grid .product-card {
    margin-top: 24px;
  }

  .collection-product-container .product-card-img,
  .collection-product-container .product-card-details,
  .home-recommended-grid .product-card-img,
  .home-recommended-grid .product-card-details {
    width: 100%;
    max-width: 320px;
    margin-right: auto;
    margin-left: auto;
  }

  .collection-product-container .product-card-title,
  .home-recommended-grid .product-card-title {
    min-height: 0;
  }

  .collection-product-container .package-switcher,
  .product-details .package-switcher {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .package-switcher__option {
    gap: 3px;
    min-height: 96px;
    padding: 7px 5px;
    font-size: 12px;
  }

  .package-switcher__price {
    font-size: 12px;
  }

  .package-switcher__unit {
    font-size: 10px;
  }

  .product-card-bottom-actions .addtocart-btn {
    min-height: 44px;
  }
}
.img-large-wrapper {
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.img-large-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.img-thumb-wrapper.active {
  border-color: var(--primary-color, #00234D);
}
#city-list {
  position: absolute;
  z-index: 20;
  width: 100%;
  max-height: 220px;
  overflow: auto;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
}
#city-list li {
  padding: 8px 12px;
  cursor: pointer;
}
#city-list li:hover {
  background: rgba(0, 35, 77, 0.06);
}
.shipping-address-form fieldset {
  position: relative;
}
.product-card-title {
  min-height: 4.5em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-bottom-actions .product-wishlist,
.product-form-buttons .product-wishlist {
  border: 1px solid var(--primary-color, #00234D);
  background: transparent;
  min-width: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.likeback.liked path,
.liked path {
  fill: var(--primary-color, #00234D);
}
.swal2-container {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
}
.swal2-popup {
  background: #fff;
  color: #000;
  border-radius: 8px;
  padding: 24px;
  width: 32em;
  max-width: calc(100% - 32px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  text-align: center;
}
.swal-shop-popup {
  width: auto;
  min-width: 320px;
  padding: 24px 28px;
  border: 1px solid rgba(0, 35, 77, 0.08);
}
.swal-shop-content {
  margin: 0 !important;
  padding: 0 !important;
}
.swal-shop-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 52px;
}
.swal-shop-text {
  color: #1b1b1b;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}
.swal2-icon {
  margin: 0 auto 12px;
}
.swal2-title {
  font-size: 18px;
  margin: 0;
}
.order-success-actions {
  margin-top: 32px;
}
.header-wishlist,
.header-cart {
  position: relative;
}
#likedcount,
#cartcount {
  position: absolute;
  top: -10px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary-color, #00234D);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
.swal-shop-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-radius: 50%;
  background: rgba(0, 35, 77, 0.08);
  color: var(--primary-color, #00234D);
}

.mt-10 {
  margin-top: 10px;
}

.order-history-page {
  padding-bottom: 80px;
}

.order-history-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.order-history-header .section-heading {
  margin: 8px 0 12px;
}

.order-history-list {
  display: grid;
  gap: 16px;
}

.order-history-card {
  position: relative;
  border: 1px solid rgba(0, 35, 77, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(12, 18, 38, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.order-history-card:hover {
  border-color: rgba(0, 35, 77, 0.28);
  transform: translateY(-2px);
}

.order-history-link,
.order-history-main,
.order-history-meta {
  display: flex;
  align-items: center;
}

.order-history-link {
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  color: inherit;
}

.order-history-main {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}

.order-history-number {
  color: #1b1b1b;
  font-size: 18px;
  font-weight: 700;
}

.order-history-date {
  color: rgba(0, 0, 0, 0.54);
  font-size: 14px;
}

.order-history-meta {
  justify-content: flex-end;
  gap: 20px;
}

.order-history-total {
  min-width: 140px;
  color: #1b1b1b;
  font-size: 18px;
  text-align: right;
}

.order-history-arrow {
  color: var(--primary-color, #00234D);
  font-size: 24px;
  line-height: 1;
}

.order-history-empty {
  padding: 48px 24px;
  border: 1px solid rgba(0, 35, 77, 0.1);
  border-radius: 8px;
  background: #fff;
}

.order-history-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(0, 35, 77, 0.08);
  color: var(--primary-color, #00234D);
  font-size: 28px;
}

.order-history-empty p {
  margin: 8px 0 24px;
  color: rgba(0, 0, 0, 0.58);
}

@media (max-width: 767.98px) {
  .swal-shop-popup {
    min-width: 0;
    padding: 20px;
  }

  .swal-shop-text {
    font-size: 16px;
  }

  .order-history-page {
    padding-bottom: 56px;
  }

  .order-history-link,
  .order-history-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-history-link {
    gap: 16px;
  }

  .order-history-meta {
    width: 100%;
    gap: 12px;
  }

  .order-history-total {
    min-width: 0;
    text-align: left;
  }

  .order-history-arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
  }
}
.order-summary-item {
  align-items: flex-start;
  gap: 16px;
}
.order-summary-item .subtotal-value {
  max-width: 60%;
  text-align: right;
  line-height: 1.5;
}
.product-wholesale-card {
  padding: 16px;
  border-radius: 8px;
  background: rgba(0, 35, 77, 0.05);
}
.product-wholesale-title {
  margin-bottom: 10px;
  font-weight: 600;
}
.product-wholesale-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0;
  font-size: 14px;
}

.contact-form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form--wrapper .alert {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 8px;
}

.contact-2 .section-subheading ul {
  display: inline-block;
  margin: 8px auto 16px;
  padding-left: 24px;
  text-align: left;
}

.header-bottom .main-menu {
  min-height: 64px;
  align-items: center;
}

#drawer-menu .offcanvas-wrapper {
  width: 100%;
}

#drawer-menu .main-menu .nav-link {
  display: block;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#drawer-menu .main-menu .active > .nav-link {
  color: var(--primary-color, #00234D);
  font-weight: 600;
}

.brand-wordmark {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: var(--primary-color, #00234D);
  font-family: var(--heading-font-family, inherit);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.brand-wordmark:hover {
  color: var(--primary-color, #00234D);
}

.brand-wordmark--footer,
.brand-wordmark--footer:hover {
  color: #fff;
}

@media (max-width: 575.98px) {
  .brand-wordmark {
    font-size: 16px;
  }
}

/* Header sizing and responsive assortment message. */
.site-logo-image {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
}

.header-brand-row {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-logo {
  flex: 0 0 auto;
}

.site-assortment-text {
  max-width: 570px;
  margin: 0;
  color: var(--primary-color, #00234D);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.header-bottom-layout {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 24px;
}

.header-page-navigation {
  min-width: 0;
  flex: 1 1 auto;
}

.header-menu-search {
  flex: 0 0 290px;
}

.header-menu-search .field-search {
  max-width: none;
  background: #f4f5f6;
}

.header-menu-search .field-search:focus-within {
  box-shadow: inset 0 0 0 1px var(--primary-color, #00234D);
}

.header-menu-order {
  flex: 0 0 auto;
}

.header-top {
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-assortment-mobile {
  margin-top: 43px;
  margin-bottom: 16px;
  padding: 16px;
  border-left: 3px solid var(--primary-color, #00234D);
  border-radius: 0 8px 8px 0;
  background: #f4f5f6;
}

.site-assortment-mobile .site-assortment-text {
  max-width: none;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .header-brand-row {
    gap: 24px;
  }

  .site-assortment-text {
    max-width: 480px;
    font-size: 14px;
  }

  .header-bottom-layout {
    gap: 12px;
  }

  .header-menu-search {
    flex-basis: 230px;
  }
}

/* Homepage recommendations. */
.home-recommended {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(0, 35, 77, 0.1);
}

.home-recommended-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-color, #00234D);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-recommended-grid {
  margin-top: 32px;
  row-gap: 32px;
}

/* Checkout: three real stages, one-page form and a clear summary. */
.checkout-page,
.order-page {
  padding-bottom: 100px;
}

.checkout-layout,
.order-layout {
  row-gap: 32px;
}

.checkout-heading-block {
  margin-bottom: 32px;
}

.checkout-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-color, #00234D);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-lead {
  max-width: 680px;
  margin-top: 12px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 15px;
  line-height: 1.65;
}

.checkout-progress--compact {
  position: relative;
  z-index: 0;
  margin: 0 0 40px;
  overflow: hidden;
}

.checkout-progress--compact .checkout-bar {
  display: flex;
  width: 100%;
  padding: 0;
}

.checkout-progress--compact .checkout-bar li {
  display: flex;
  flex: 1 1 33.333%;
  width: 33.333%;
  margin: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.checkout-progress--compact .checkout-bar li::before {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
  font-size: 15px;
  line-height: 40px;
}

.checkout-progress--compact .checkout-bar li::after {
  top: 18px;
  left: -50%;
  width: 100%;
  height: 4px;
}

.checkout-progress--compact .checkout-bar li:first-child::after {
  display: none;
}

.checkout-progress--compact .checkout-bar a,
.checkout-progress--compact .checkout-bar span {
  color: #1b1b1b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.checkout-progress--compact .checkout-bar .step-todo span {
  color: rgba(0, 0, 0, 0.48);
}

.checkout-progress--complete {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.checkout-alert {
  margin: 0 0 24px;
  padding: 16px 20px;
  border: 1px solid rgba(180, 35, 24, 0.2);
  border-radius: 8px;
  background: rgba(180, 35, 24, 0.05);
  color: #7a271a;
  line-height: 1.6;
}

.checkout-alert ul {
  margin-top: 8px;
  padding-left: 20px;
}

.checkout-form-card {
  margin-top: 0;
  padding: 32px;
  border: 1px solid rgba(0, 35, 77, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(12, 18, 38, 0.06);
}

.checkout-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.checkout-card-header--section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 35, 77, 0.1);
}

.checkout-card-number {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color, #00234D);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.checkout-card-header .shipping-address-heading {
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  color: #1b1b1b;
  font-size: 20px;
  font-weight: 600;
}

.checkout-card-header p {
  margin: 0;
  color: rgba(0, 0, 0, 0.58);
  font-size: 14px;
  line-height: 1.55;
}

.checkout-fields {
  row-gap: 20px;
  margin-top: 8px;
}

.checkout-fields .label {
  margin-bottom: 8px;
  color: #1b1b1b;
  font-weight: 600;
}

.checkout-fields .label span {
  color: #b42318;
}

.checkout-fields fieldset {
  margin-top: 16px;
}

.checkout-fields input,
.checkout-fields select {
  height: 52px;
  padding: 0 14px;
  border-color: rgba(0, 35, 77, 0.18);
  border-radius: 6px;
  background-color: #fff;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-fields input:focus,
.checkout-fields select:focus {
  border-color: var(--primary-color, #00234D);
  box-shadow: 0 0 0 3px rgba(0, 35, 77, 0.08) !important;
}

.checkout-actions {
  margin-top: 24px;
}

.checkout-actions .checkout-page-btn {
  min-height: 48px;
}

.checkout-summary-area {
  position: sticky;
  top: 176px;
  padding: 32px;
  border: 1px solid rgba(0, 35, 77, 0.08);
  border-radius: 8px;
}

.checkout-summary-header,
.order-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.checkout-summary-header span,
.order-section-header span {
  color: rgba(0, 0, 0, 0.52);
  font-size: 13px;
}

.checkout-summary-area .minicart-item {
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 35, 77, 0.08);
}

.checkout-summary-area .mini-img-wrapper {
  flex: 0 0 64px;
  width: 64px;
  height: 80px;
}

.checkout-summary-area .mini-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-promo-code {
  display: grid;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 35, 77, 0.1);
}

.checkout-promo-code label {
  color: #1b1b1b;
  font-size: 14px;
  font-weight: 600;
}

.checkout-promo-code .input-promo-code {
  height: 48px;
  background: #f5f6f8;
  opacity: 1;
}

.checkout-promo-code .btn-apply-code {
  width: 100%;
  min-height: 48px;
  margin: 0;
}

.checkout-success-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 32px;
  border: 1px solid rgba(0, 35, 77, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(12, 18, 38, 0.06);
}

.checkout-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--primary-color, #00234D);
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

/* Order details page. */
.order-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding: 32px;
  border-radius: 8px;
  background: rgba(0, 35, 77, 0.05);
}

.order-status-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--primary-color, #00234D);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.order-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.order-info-card {
  display: flex;
  gap: 16px;
  min-width: 0;
  padding: 24px;
  border: 1px solid rgba(0, 35, 77, 0.1);
  border-radius: 8px;
  background: #fff;
}

.order-info-card h2,
.order-products-card h2,
.order-total-card > h2 {
  margin: 0 0 12px;
  color: #1b1b1b;
  font-size: 18px;
  font-weight: 600;
}

.order-info-card p,
.order-info-card a {
  display: block;
  margin: 4px 0 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.order-info-card .order-info-primary {
  color: #1b1b1b;
  font-weight: 600;
}

.order-products-card,
.order-total-card {
  padding: 32px;
  border: 1px solid rgba(0, 35, 77, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(12, 18, 38, 0.04);
}

.order-section-header h2 {
  margin-bottom: 0;
}

.order-table .mini-img-wrapper {
  width: 72px;
  height: 92px;
}

.order-table .mini-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-total-card {
  position: sticky;
  top: 176px;
}

.order-total-card .subtotal-box {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 35, 77, 0.08);
}

.order-total-card .subtotal-title {
  margin: 0;
  font-size: 14px;
}

.order-total-card .subtotal-value {
  margin: 0;
  font-weight: 600;
}

.order-pay-button {
  width: 100%;
  min-height: 48px;
  margin-top: 24px;
}

.order-payment-waiting {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(0, 35, 77, 0.12);
  border-radius: 8px;
  background: rgba(0, 35, 77, 0.04);
  color: var(--primary-color, #00234D);
  font-size: 14px;
  line-height: 1.5;
}

.order-payment-waiting span {
  color: rgba(0, 0, 0, 0.6);
  font-size: 13px;
}

.order-home-link {
  display: block;
  margin-top: 16px;
  color: var(--primary-color, #00234D);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.order-chat {
  margin-top: 32px;
  padding: 32px;
  border: 1px solid rgba(0, 35, 77, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(12, 18, 38, 0.04);
}

.order-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.order-chat-head h2 {
  margin: 0 0 8px;
  color: #1b1b1b;
  font-size: 22px;
  font-weight: 600;
}

.order-chat-head p {
  max-width: 640px;
  margin: 0;
  color: rgba(0, 0, 0, 0.58);
  font-size: 14px;
  line-height: 1.55;
}

.order-chat-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: rgba(0, 0, 0, 0.54);
  font-size: 12px;
  font-weight: 600;
}

.order-chat-status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f855a;
  content: "";
}

.order-chat-messages {
  height: 360px;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(0, 35, 77, 0.08);
  border-radius: 8px;
  background: #f7f8fa;
  scroll-behavior: smooth;
}

.order-chat-message {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  max-width: 78%;
  margin-bottom: 16px;
}

.order-chat-message:last-child {
  margin-bottom: 0;
}

.order-chat-message.is-customer {
  margin-left: auto;
  flex-direction: row-reverse;
}

.order-chat-avatar {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-color, #00234D);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.order-chat-message.is-customer .order-chat-avatar {
  background: #e87500;
}

.order-chat-message-body {
  min-width: 0;
}

.order-chat-message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 4px 6px;
  color: rgba(0, 0, 0, 0.48);
  font-size: 11px;
}

.order-chat-message-meta strong {
  color: rgba(0, 0, 0, 0.72);
  font-size: 12px;
}

.order-chat-bubble {
  padding: 12px 16px;
  border-radius: 8px 8px 8px 2px;
  background: #fff;
  color: #20242a;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  box-shadow: 0 2px 12px rgba(12, 18, 38, 0.06);
}

.order-chat-message.is-customer .order-chat-bubble {
  border-radius: 8px 8px 2px 8px;
  background: var(--primary-color, #00234D);
  color: #fff;
}

.order-chat-bubble a {
  color: inherit;
  text-decoration: underline;
}

.order-chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  margin-top: 16px;
}

.order-chat-compose textarea {
  min-height: 56px;
  max-height: 144px;
  padding: 14px 16px;
  resize: vertical;
  border: 1px solid rgba(0, 35, 77, 0.18);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.order-chat-compose textarea:focus {
  outline: none;
  border-color: var(--primary-color, #00234D);
  box-shadow: 0 0 0 3px rgba(0, 35, 77, 0.08);
}

.order-chat-compose .checkout-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 152px;
  min-height: 56px;
  margin: 0;
}

.order-chat-compose .checkout-page-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.order-chat-feedback {
  min-height: 20px;
  margin: 8px 0 0;
  color: #b42318;
  font-size: 13px;
}

.order-chat-empty,
.order-chat-loading {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: rgba(0, 0, 0, 0.48);
  text-align: center;
}

.order-chat-empty span {
  margin-bottom: 8px;
  color: #e87500;
  font-size: 24px;
}

.order-chat-empty strong {
  color: #1b1b1b;
}

.order-chat-empty p {
  margin: 4px 0 0;
  font-size: 13px;
}

@media (max-width: 991.98px) {
  .site-logo-image {
    max-width: 180px;
  }

  .checkout-page,
  .order-page {
    padding-bottom: 72px;
  }

  .checkout-summary-area,
  .order-total-card {
    position: static;
  }

  .order-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .site-logo-image {
    max-width: 150px;
  }

  .header-top {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-assortment-mobile {
    margin-top: 43px;
    margin-bottom: 12px;
    padding: 12px;
  }

  .home-recommended {
    margin-top: 48px;
    padding-top: 32px;
  }

  .home-recommended-grid {
    margin-top: 24px;
    row-gap: 24px;
  }

  .checkout-progress--compact {
    margin-bottom: 32px;
  }

  .checkout-progress--compact .checkout-bar li {
    flex-direction: column;
    width: 33.333%;
    margin-top: 0;
    text-align: center;
  }

  .checkout-progress--compact .checkout-bar li::before {
    width: 34px;
    height: 34px;
    margin: 0 auto 8px;
    line-height: 34px;
  }

  .checkout-progress--compact .checkout-bar li::after {
    display: block;
    top: 15px;
  }

  .checkout-progress--compact .checkout-bar li:first-child::after {
    display: none;
  }

  .checkout-progress--compact .checkout-bar a,
  .checkout-progress--compact .checkout-bar span {
    font-size: 12px;
  }

  .checkout-form-card,
  .checkout-summary-area,
  .order-hero,
  .order-info-card,
  .order-products-card,
  .order-total-card,
  .checkout-success-card {
    padding: 24px;
  }

  .checkout-card-number {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .checkout-card-header .shipping-address-heading {
    font-size: 18px;
  }

  .checkout-actions .minicart-btn {
    width: 100%;
  }

  .order-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-chat {
    padding: 24px;
  }

  .order-chat-head,
  .order-chat-compose {
    grid-template-columns: 1fr;
  }

  .order-chat-head {
    flex-direction: column;
  }

  .order-chat-messages {
    height: 320px;
    padding: 16px;
  }

  .order-chat-message {
    max-width: 94%;
  }

  .order-chat-compose {
    display: grid;
  }

  .order-chat-compose .checkout-page-btn {
    width: 100%;
  }

  .order-table .cart-item {
    column-gap: 12px;
  }
}

/* Contact page: compact, editor-safe layout built on the Bisum palette. */
.contact-page {
  padding-bottom: 100px;
}

.contact-page-header {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.contact-page-eyebrow,
.contact-panel-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-color, #00234D);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-page-header .section-heading {
  margin: 0;
}

.contact-page-lead {
  margin-top: 16px;
  color: rgba(0, 0, 0, 0.68);
  font-size: 17px;
  line-height: 1.7;
}

.contact-page-lead p {
  margin: 0;
}

.contact-page-layout {
  align-items: stretch;
  row-gap: 24px;
}

.contact-page-layout > [class*="col-"] {
  display: flex;
}

.contact-info-panel {
  width: 100%;
  padding: 40px;
  border-radius: 8px;
  background: var(--primary-color, #00234D);
  color: #fff;
}

.contact-info-panel .contact-panel-kicker {
  color: rgba(255, 255, 255, 0.64);
}

.contact-info-panel > h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.25;
}

.contact-panel-text {
  margin: 16px 0 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.contact-detail-row {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-detail-icon {
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-detail-row h3 {
  margin: 1px 0 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.contact-detail-row a,
.contact-detail-row span:not(.contact-detail-icon) {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
  text-decoration: none;
}

.contact-detail-row a:hover {
  color: #fff;
}

.contact-2 .contact-form-section {
  width: 100%;
  margin: 0;
}

.contact-2 .contact-form-area {
  height: 100%;
  padding: 40px;
  border: 1px solid rgba(0, 35, 77, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(12, 18, 38, 0.06);
}

.contact-form--wrapper > h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
}

.contact-form-intro {
  margin: 12px 0 24px;
  color: rgba(0, 0, 0, 0.62);
  line-height: 1.65;
}

.contact-2 .contact-form {
  margin-top: 0;
}

.contact-form-grid {
  row-gap: 20px;
}

.contact-form-grid fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form-grid label {
  display: block;
  margin-bottom: 8px;
  color: #1b1b1b;
  font-size: 14px;
  font-weight: 600;
}

.contact-form-grid label span {
  color: #b42318;
}

.contact-form-grid input,
.contact-form-grid textarea {
  margin-top: 0;
  border-color: rgba(0, 35, 77, 0.18);
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-grid input {
  height: 52px;
}

.contact-form-grid textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form-grid input:focus,
.contact-form-grid textarea:focus {
  border-color: var(--primary-color, #00234D);
  box-shadow: 0 0 0 3px rgba(0, 35, 77, 0.08) !important;
}

.contact-submit-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .contact-page {
    padding-bottom: 72px;
  }

  .contact-info-panel,
  .contact-2 .contact-form-area {
    padding: 32px;
  }
}

@media (max-width: 575.98px) {
  .contact-page {
    padding-bottom: 56px;
  }

  .contact-page > .container {
    width: 100%;
    max-width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .contact-page-header {
    margin-bottom: 32px;
  }

  .contact-page-lead {
    font-size: 16px;
  }

  .contact-info-panel,
  .contact-2 .contact-form-area {
    padding: 24px;
  }

  .contact-page-layout {
    margin-right: 0;
    margin-left: 0;
  }

  .contact-page-layout > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }
}
