.inner-page-main {
  padding-bottom: 24px;
}

.page-shell {
  max-width: 1764px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-hero {
  padding: 6px 0 4px;
}

.page-hero-card {
  color: #000000;
  border-radius: 16px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(12, 66, 30, 0.14);
}

.page-hero-copy {
  max-width: 720px;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 2px;
}

.page-hero-copy h1 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  font-weight: 800;
}

.page-hero-copy p {
  margin: 14px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.7;
}

.page-breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 12px;
  backdrop-filter: blur(8px);
  color: #000000;
}


.page-breadcrumbs strong,
.page-breadcrumbs span {
  color: #000000;
  font-size: 13px;
}

.page-breadcrumbs a {
  color: #0f6f2d;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.page-breadcrumbs a:hover,
.page-breadcrumbs a:focus {
  color: #084c1e;
  text-decoration: underline;
}

@media (min-width: 1200px) {
  .page-hero-copy {
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 0;
  }

  .page-hero-eyebrow {
    flex: 0 0 auto;
    margin-bottom: 0;
    padding: 4px 8px;
    border: 1px solid #d6eadb;
    border-radius: 999px;
    background: #edf8ef;
    color: #147230;
    font-size: 9px;
    letter-spacing: .14em;
    white-space: nowrap;
  }

  .page-hero-copy h1 {
    flex: 0 1 auto;
    color: #17351f;
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
  }

  .page-breadcrumbs {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    background: #f8fbf9;
    border-color: #e2ebe4;
  }
}

.page-section {
  padding: 6px 0 22px;
}

.listing-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.listing-sidebar {
  position: sticky;
  top: 118px;
  display: grid;
  gap: 10px;
}

.mobile-listing-filter-btn,
.listing-sidebar-mobile-head {
  display: none;
}

.mobile-listing-filter-btn {
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0 16px 16px 0;
  background: linear-gradient(180deg, #17913a 0%, #0f6f2d 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(15, 111, 45, 0.2);
}

.listing-sidebar-overlay {
  display: none;
}

.listing-panel,
.listing-content-card,
.info-card,
.content-card,
.cart-card,
.contact-card,
.detail-surface {
  background: #fff;
  border: 1px solid #e7ece8;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(12, 32, 18, 0.06);
}

.listing-panel {
  padding: 14px;
}

.listing-panel h3,
.listing-panel h4 {
  margin: 0 0 10px;
  font-weight: 800;
  color: #17351f;
}

.listing-panel p {
  margin: 0;
  color: #5d6b62;
  line-height: 1.65;
}

.listing-panel.accent {
  background: linear-gradient(180deg, #f6fbf7 0%, #ffffff 100%);
  border-color: rgba(26, 140, 56, 0.18);
}

.filter-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip-list .filter-chip {
  flex: 0 0 auto;
  white-space: nowrap;
}

.archive-filter-form {
  display: grid;
  gap: 9px;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.archive-filter-group {
  display: grid;
  gap: 4px;
}

.archive-filter-group label {
  font-size: 12px;
  font-weight: 700;
  color: #3b4f40;
}

.archive-filter-select,
.archive-filter-input {
  width: 100%;
  border: 1px solid #d8e7db;
  border-radius: 11px;
  background: #fff;
  color: #234228;
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
}

.archive-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.archive-filter-actions {
  display: flex;
  gap: 10px;
}

.archive-filter-btn {
  flex: 1;
  border: 1px solid #d8e7db;
  border-radius: 999px;
  background: #fff;
  color: #234228;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
}

.archive-filter-btn.primary {
  background: linear-gradient(180deg, #17913a 0%, #0f6f2d 100%);
  color: #fff;
  border-color: transparent;
}

.filter-chip {
  border: 1px solid #d8e7db;
  background: #fff;
  color: #244329;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  transition: .2s ease;
}

.filter-chip:hover,
.filter-chip.active,
.filter-chip:focus {
  border-color: rgba(26, 140, 56, 0.4);
  background: #edf8ef;
  color: #156b2c;
  outline: none;
}

.listing-inline-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: #156b2c;
  font-weight: 700;
}

.listing-content-card,
.content-card,
.contact-card,
.cart-card,
.detail-surface {
  padding: 16px;
}

.listing-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.listing-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.archive-sort-select {
  min-width: 210px;
}

.listing-toolbar h2,
.content-card h2,
.cart-summary-card h3,
.contact-card h2,
.detail-rich-text h2,
.detail-rich-text h3 {
  margin: 0;
  color: #17351f;
  font-weight: 800;
}

.listing-toolbar p {
  margin: 6px 0 0;
  color: #68756c;
}

.listing-result-pill {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  border-radius: 999px;
  background: #edf8ef;
  color: #156b2c;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
}

.hn-products-grid {
  margin-bottom: 14px;
}

.empty-state-card {
  min-height: 320px;
  border: 1px dashed #cfe0d2;
  border-radius: 24px;
  background: linear-gradient(180deg, #fcfefd 0%, #f6fbf7 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}

.empty-state-card img {
  max-width: 220px;
  margin-bottom: 14px;
}

.empty-state-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #17351f;
}

.empty-state-card p {
  margin: 0;
  color: #67746b;
}

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

.pagination-wrap nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.pagination-wrap .pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 7px;
  list-style: none;
  border: 1px solid #dce9e0;
  border-radius: 14px;
  background: #f8fcf9;
  box-shadow: 0 8px 22px rgba(12, 63, 31, .07);
}

.pagination-wrap .page-item {
  margin: 0;
}

.pagination-wrap .page-link {
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #31563b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.pagination-wrap .page-link:hover,
.pagination-wrap .page-link:focus {
  border-color: #a9d3b4;
  background: #eaf7ed;
  color: #0e722d;
  transform: translateY(-1px);
}

.pagination-wrap .page-item.active .page-link {
  border-color: #138b39;
  background: #138b39;
  color: #fff;
  box-shadow: 0 5px 13px rgba(19, 139, 57, .24);
}

.pagination-wrap .page-item.disabled .page-link {
  border-color: transparent;
  background: transparent;
  color: #a4afa7;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 575px) {
  .pagination-wrap {
    margin-top: 16px;
  }

  .pagination-wrap .pagination {
    gap: 4px;
    padding: 5px;
    border-radius: 11px;
  }

  .pagination-wrap .page-link {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border-radius: 8px;
    font-size: 12px;
  }
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.collection-card,
.blog-card,
.mini-blog-card {
  display: block;
  background: #fff;
  border: 1px solid #e7ece8;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(12, 32, 18, 0.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.collection-card:hover,
.blog-card:hover,
.mini-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(12, 32, 18, 0.1);
  border-color: rgba(26, 140, 56, 0.22);
}

.collection-card-media,
.blog-card-media,
.mini-blog-card-media {
  background: linear-gradient(180deg, #fff 0%, #f6f8f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-card-media {
  height: 180px;
  padding: 18px;
}

.collection-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.collection-card-content,
.blog-card-content,
.mini-blog-card-content {
  padding: 18px;
}

.collection-card-content h3,
.blog-card-content h3,
.mini-blog-card-content h3 {
  margin: 0;
  color: #17351f;
  font-weight: 800;
}

.blog-grid,
.mini-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.blog-card-media,
.mini-blog-card-media {
  height: 220px;
}

.blog-card-media img,
.mini-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: #6a776e;
  font-size: 12px;
  font-weight: 700;
}

.blog-card-excerpt,
.mini-blog-card-excerpt {
  color: #5f6c63;
  line-height: 1.7;
  margin-top: 10px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.article-cover {
  width: 100%;
  border-radius: 22px;
  margin: 16px 0 20px;
  max-height: 480px;
  object-fit: cover;
}

.detail-rich-text,
.policy-content {
  color: #39463d;
  line-height: 1.85;
}

.detail-rich-text img,
.policy-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.detail-rich-text table,
.policy-content table {
  width: 100%;
  display: block;
  overflow-x: auto;
}

.contact-layout,
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
}

.contact-card form {
  display: grid;
  gap: 14px;
}

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

.field-input,
.field-textarea {
  width: 100%;
  border: 1px solid #d6e5d9;
  border-radius: 16px;
  padding: 14px 16px;
  background: #fbfdfb;
  outline: none;
}

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

.primary-cta {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #17913a 0%, #0f6f2d 100%);
  color: #fff;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.info-stack {
  display: grid;
  gap: 14px;
}

.info-card {
  padding: 18px;
}

.info-card h3 {
  margin: 0 0 8px;
  color: #17351f;
  font-weight: 800;
}

.info-card p,
.info-card a {
  color: #5f6c63;
  line-height: 1.7;
}

.cart-table-wrap {
  overflow-x: auto;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 16px 12px;
  border-bottom: 1px solid #edf1ee;
  vertical-align: middle;
}

.cart-table th {
  color: #5b6a60;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cart-product-link {
  color: #17351f;
  font-weight: 700;
}

.cart-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #fbeaea;
  color: #cf3f3f;
  font-weight: 800;
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d6e5d9;
  border-radius: 999px;
  overflow: hidden;
}

.cart-qty-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: #edf8ef;
  color: #156b2c;
  font-size: 18px;
  font-weight: 800;
}

.cart-qty-value {
  width: 44px;
  border: 0;
  text-align: center;
  background: #fff;
}

.cart-summary-card {
  background: linear-gradient(180deg, #0f6f2d 0%, #124e23 100%);
  color: #fff;
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 44px rgba(14, 50, 24, 0.24);
  position: sticky;
  top: 118px;
}

.cart-summary-card h3 {
  color: #fff;
  margin-bottom: 16px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cart-summary-row.total {
  font-size: 18px;
  font-weight: 800;
  border-bottom: 0;
}

.cart-summary-card .primary-cta {
  width: 100%;
  margin-top: 16px;
  background: #fff;
  color: #0f6f2d;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
}

.detail-surface .row {
  margin-left: 0;
  margin-right: 0;
}

.detail-surface .col-md-6 {
  padding-left: 12px;
  padding-right: 12px;
}

.detail-surface .pd-full,
.detail-surface .desc-outer {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.detail-surface .product-name {
  color: #17351f;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
}

.detail-surface .product-info-table {
  background: #f8fbf9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e4ece7;
}

.detail-surface .product-info-table td {
  border-top: 1px solid #e4ece7;
}

.product-facts-strip {
  display: grid;
  grid-template-columns: minmax(170px, 1.35fr) repeat(3, minmax(125px, 1fr));
  gap: 7px;
  margin-bottom: 10px;
}

.product-fact {
  min-width: 0;
  min-height: 30px;
  padding: 6px 13px;
  border-radius: 12px;
  background: linear-gradient(145deg, #15923b 0%, #0b7130 100%);
  border: 1px solid rgba(0, 69, 25, .18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 8px 18px rgba(11, 113, 48, .14);
}

.product-fact-label {
  color: #aed602;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.product-fact strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.product-fact-price strong {
  font-size: clamp(20px, 2vw, 16px);
}

.product-fact del {
  color: #d8f1df;
  font-size: 12px;
  font-weight: 700;
}

.product-meta-table {
  margin-bottom: 8px;
}

.detail-gallery-meta-table {
  width: calc(100% - 24px);
  margin: 0 12px 10px;
  background: #f8fbf9;
  border: 1px solid #dfe9e2;
  border-radius: 14px;
  overflow: hidden;
}

.detail-gallery-meta-table tbody {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 10px;
  min-height: 42px;
  padding: 5px 12px;
  border: 0;
}

.detail-gallery-meta-table tbody tr {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  line-height: 1.25;
  white-space: nowrap;
}

.detail-gallery-meta-table td,
.detail-surface .detail-gallery-meta-table td {
  padding: 4px 0;
  border: 0;
  font-size: 12px;
}

.detail-gallery-meta-table .product-info-label {
  color: #53665a;
}

.detail-gallery-meta-table .product-info-data {
  color: #102b18;
  font-weight: 800;
}

.detail-wheel-zoom {
  position: relative;
  width: 100%;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: 22px;
  background: #fff;
}

.detail-wheel-zoom.is-zoomed {
  cursor: zoom-out;
}

.detail-wheel-zoom .zoom-img {
  min-height: 390px;
  object-fit: contain;
  transition: transform .12s ease-out;
  user-select: none;
  -webkit-user-drag: none;
}

.detail-zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 4;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(15, 50, 26, .78);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
}

.detail-variant-panel {
  margin-top: 14px;
  padding: 15px;
  border: 1px solid #dce9df;
  border-radius: 18px;
  background: #f8fcf9;
}

.detail-variant-panel .detail-section-heading h2 {
  margin: 0;
  color: #142e1b;
  font-size: 18px;
  font-weight: 800;
}

#detailVariantAvailability {
  color: #0d7130;
  font-size: 12px;
  font-weight: 800;
}

.detail-variant-group + .detail-variant-group {
  margin-top: 13px;
}

.detail-variant-label {
  display: block;
  margin-bottom: 6px;
  color: #243e2a;
  font-size: 12px;
  font-weight: 800;
}

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

.detail-surface .detail-option {
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid #cfe0d3 !important;
  border-radius: 10px !important;
  background: #fff;
  color: #26442d;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.detail-surface .detail-option.selected {
  border-color: #118238 !important;
  background: #e7f7eb;
  color: #096229;
  box-shadow: 0 0 0 2px rgba(17, 130, 56, .1);
}

.detail-surface .detail-option:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.detail-option small {
  color: #6d7c71;
  font-size: 9px;
  font-weight: 600;
}

.detail-color-swatch {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .18);
  background: var(--option-color, #e8ece9);
}

.detail-spec-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-spec-group {
  overflow: hidden;
  border: 1px solid #dfe9e2;
  border-radius: 16px;
  background: #fff;
}

.detail-spec-group-head {
  min-height: 48px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #0e7b33 0%, #15913b 100%);
}

.detail-spec-group-head span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.detail-spec-group-head h6 {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.detail-spec-list {
  margin: 0;
}

.detail-spec-row {
  display: grid;
  grid-template-columns: minmax(115px, .8fr) minmax(0, 1.4fr);
  gap: 12px;
  padding: 10px 13px;
  border-top: 1px solid #edf2ee;
}

.detail-spec-row:first-child {
  border-top: 0;
}

.detail-spec-row dt,
.detail-spec-row dd {
  margin: 0;
  line-height: 1.5;
}

.detail-spec-row dt {
  color: #5a6c5f;
  font-size: 12px;
  font-weight: 700;
}

.detail-spec-row dd {
  color: #1a3220;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

@media (max-width: 1199px) {
  .product-facts-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .archive-filter-form {
    max-height: none;
    overflow: visible;
  }

  .detail-spec-groups {
    grid-template-columns: 1fr;
  }

  .detail-wheel-zoom,
  .detail-wheel-zoom .zoom-img {
    min-height: 280px;
  }
}

/* Sweetwater-style product hover zoom and full-screen media gallery */
.detail-wheel-zoom .zoom-img {
  cursor: zoom-in;
}

.detail-hover-lens {
  position: absolute;
  z-index: 7;
  display: none;
  border: 1px solid rgba(12, 132, 55, .78);
  background: rgba(23, 145, 58, .16);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) inset;
  pointer-events: none;
}

.detail-hover-lens.is-visible {
  display: block;
}

.detail-hover-preview {
  position: fixed;
  z-index: 11950;
  display: none;
  overflow: hidden;
  border: 1px solid #d9e5dc;
  border-radius: 18px;
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow: 0 24px 70px rgba(8, 36, 17, .24);
  pointer-events: none;
}

.detail-hover-preview.is-visible {
  display: block;
}

.detail-hover-preview > span {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 69, 30, .84);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.detail-media-modal {
  padding: 18px;
  background: rgba(4, 13, 7, .78);
}

.detail-media-dialog {
  width: min(1500px, calc(100vw - 36px));
  height: min(940px, calc(100vh - 36px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .42);
  animation: detailMediaEnter .2s ease-out;
}

@keyframes detailMediaEnter {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.detail-media-header {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr) 44px;
  align-items: center;
  gap: 18px;
  padding: 12px 16px 12px 22px;
  border-bottom: 1px solid #e3e9e5;
  background: #f4f3f0;
}

.detail-media-heading {
  min-width: 0;
}

.detail-media-heading strong,
.detail-media-heading small {
  display: block;
}

.detail-media-heading strong {
  overflow: hidden;
  color: #17261c;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-media-heading small {
  margin-top: 4px;
  color: #647069;
  font-size: 11px;
}

.detail-media-thumbnails {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: thin;
}

.detail-media-thumbnail {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid #d8dfda;
  border-radius: 8px;
  background: #fff;
}

.detail-media-thumbnail:hover,
.detail-media-thumbnail.is-active {
  border-color: #138a3d;
  box-shadow: 0 0 0 2px rgba(19, 138, 61, .14);
}

.detail-media-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-media-dialog .detail-media-close {
  position: static;
  width: 40px;
  height: 40px;
  border: 1px solid #cbd7cf;
  background: #fff;
  color: #4a5850;
  box-shadow: none;
}

.detail-media-toolbar {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 20px;
  border-bottom: 1px solid #edf0ee;
  background: #fff;
  color: #435248;
  font-size: 12px;
}

.detail-media-toolbar > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.detail-media-tool {
  min-width: 36px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #d8e1db;
  border-radius: 9px;
  background: #fff;
  color: #17351f;
  font-size: 12px;
  font-weight: 800;
}

.detail-media-tool:hover,
.detail-media-tool.is-active {
  border-color: #138a3d;
  background: #eef9f1;
  color: #0d7b33;
}

.detail-media-viewer {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fff;
}

.detail-media-dialog .detail-media-stage {
  width: auto;
  height: 100%;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  border-radius: 10px;
  box-shadow: none;
}

.detail-media-dialog .detail-media-nav {
  flex: 0 0 44px;
  width: 44px;
  height: 64px;
  border-color: #d6dfd9;
  background: #f7faf8;
  color: #263c2c;
  box-shadow: none;
}

.detail-media-modal.is-panning .detail-media-stage img {
  cursor: grabbing;
  transition: none;
}

.detail-media-modal.is-zoomed .detail-media-stage img {
  cursor: grab;
}

.detail-media-dialog .detail-media-footer {
  position: static;
  min-height: 40px;
  transform: none;
  justify-content: space-between;
  padding: 10px 20px;
  border-top: 1px solid #edf0ee;
  background: #f8faf8;
  color: #536159;
}

@media (hover: none), (pointer: coarse), (max-width: 991px) {
  .detail-hover-lens,
  .detail-hover-preview {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .detail-media-modal {
    padding: 0;
  }

  .detail-media-dialog {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }

  .detail-media-header {
    min-height: 78px;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 8px;
    padding: 9px 10px;
  }

  .detail-media-heading {
    grid-column: 1;
  }

  .detail-media-thumbnails {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .detail-media-dialog .detail-media-close {
    grid-column: 2;
    grid-row: 1;
  }

  .detail-media-thumbnail {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .detail-media-toolbar {
    min-height: 42px;
    padding: 5px 10px;
  }

  .detail-media-toolbar > span {
    font-size: 10px;
  }

  .detail-media-reset {
    display: none;
  }

  .detail-media-viewer {
    gap: 3px;
    padding: 4px;
  }

  .detail-media-dialog .detail-media-stage {
    width: auto;
    height: 100%;
  }

  .detail-media-dialog .detail-media-nav {
    flex-basis: 32px;
    width: 32px;
    height: 48px;
  }

  .detail-media-dialog .detail-media-footer {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 10px;
  }
}

@media (max-width: 575px) {
  .detail-gallery-meta-table {
    width: 100%;
    margin: 0 0 8px;
  }

  .detail-gallery-meta-table tbody {
    min-height: 0;
    padding: 6px 9px;
    gap: 0 8px;
  }

  .detail-gallery-meta-table td,
  .detail-surface .detail-gallery-meta-table td {
    font-size: 11px;
  }

  .product-facts-strip {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .product-fact {
    min-height: 68px;
    padding: 9px;
  }

  .product-fact strong {
    font-size: 14px;
  }

  .product-fact-price strong {
    font-size: 19px;
  }

  .detail-zoom-hint {
    left: 8px;
    right: auto;
  }

  .detail-spec-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}


.detail-surface .product-info-data ins {
  color: #156b2c;
  font-size: 26px;
  font-weight: 800;
  text-decoration: none;
}

.detail-surface .product-info-data del {
  color: #9ca8a0;
}

.detail-surface .short-description h2,
.detail-surface .p-details p strong {
  color: #17351f;
}

.detail-surface .dis_key_feature_area,
.detail-surface .dis_key_feature_area p,
.detail-surface .dis_key_feature_area li,
.detail-surface .dis_key_feature_area span,
.detail-surface .dis_key_feature_area td,
.detail-surface .dis_key_feature_area div {
  color: #1f2f24 !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
}


.detail-surface .color-thumb li {
  background: #fff;
  border: 1px solid #e4ece7;
  border-radius: 16px;
  padding: 8px;
}

.detail-surface .buy-cart-area,
.detail-surface .pd-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-surface button,
.detail-surface .btn,
.detail-surface input[type='submit'] {
  border-radius: 999px !important;
}


.detail-purchase-panel {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfa 100%);
  border: 1px solid #e3ece6;
  border-radius: 28px;
  padding: 12px 6px 6px;
}

.detail-kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.detail-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #edf8ef;
  color: #156b2c;
  font-size: 12px;
  font-weight: 800;
}

.detail-price-banner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  margin: 18px 0 16px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(253, 216, 53, 0.2), transparent 28%),
    linear-gradient(135deg, #0d6b26 0%, #17893a 100%);
  color: #fff;
  box-shadow: 0 22px 44px rgba(14, 62, 28, 0.18);
}

.detail-price-copy {
  display: grid;
  gap: 6px;
}

.detail-price-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.detail-price-copy strong {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1;
  font-weight: 800;
}

.detail-price-copy span:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.detail-stock-badge {
  min-width: 116px;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.14);
}

.detail-stock-badge.out-stock {
  background: rgba(207, 63, 63, 0.18);
}

.detail-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.detail-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e3ece6;
  color: #244329;
  font-size: 12px;
  font-weight: 700;
}

.detail-buy-row {
  align-items: stretch !important;
  gap: 1rem !important;
  flex-wrap: wrap;
}

.detail-buy-row .dif-quantity {
  margin: 0 !important;
}

.detail-buy-now-btn,
.detail-add-cart-btn,
.detail-wishlist-btn {
  min-height: 52px;
  padding: 0 22px !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.detail-add-cart-btn i {
  margin-right: 8px;
}

.detail-wishlist-btn {
  border: 1px solid #e0b8bd !important;
  background: #fff !important;
  color: #b32638 !important;
}

.detail-wishlist-btn i {
  margin-right: 7px;
}

.detail-wishlist-btn:hover,
.detail-wishlist-btn.is-wishlisted {
  border-color: #bf2439 !important;
  background: #fff0f2 !important;
  color: #a2152a !important;
}

.detail-wishlist-btn:disabled {
  opacity: .65;
  cursor: wait;
}

.detail-social-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e6eee8;
}

.detail-support-note {
  text-align: right;
  color: #5b6a60;
  font-size: 13px;
  font-weight: 600;
}

.detail-payment-heading {
  margin-top: 0;
}

@media (min-width: 992px) {
  .detail-payment-main-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }

  .detail-payment-select-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .payment-options .pay-option {
    padding: 10px 12px;
  }
}

.detail-payment-main-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.detail-payment-select-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top:-25px;
}


.detail-tab-column .pro-detais-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  margin-right: 8px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #f1f7f2;
  color: #2e4733;
  font-weight: 700;
}

.detail-tab-column .pro-detais-tab-active {
  background: linear-gradient(180deg, #17913a 0%, #0f6f2d 100%);
  color: #fff;
}


.detail-tab-column .pro-details-area {
  background: #fff;
  border: 1px solid #e4ece7;
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 14px 34px rgba(12, 32, 18, 0.05);
}


.detail-side-column {
  display: grid;
  gap: 14px;
  align-content: start;
}


.detail-side-column .see-cat-link {
  border: 0 !important;
  margin-bottom: 14px !important;
}

.detail-side-column .p-s-item {
  margin-bottom: 14px !important;
}

.detail-side-column .related-product {
  border: 1px solid #e4ece7;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(12, 32, 18, 0.05);
  overflow: hidden;
}

.detail-side-column .related-product-image-wrapper {
  background: linear-gradient(180deg, #fff 0%, #f6f8f6 100%);
}

.detail-surface #gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.detail-surface #gallery a {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dfe8e2;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-surface #gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-section-card {
  margin-top: 18px;
  padding: 22px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e7ece8;
  box-shadow: 0 18px 40px rgba(12, 32, 18, 0.06);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.text-center .pagination {
  justify-content: center;
}
.product-price-options{
  width: 100% !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detail-surface .product-price-options{
  width: 100% !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.detail-payment-amount{
  font-size: 14px;
}


@media (max-width: 1199px) {
  .article-layout,
  .contact-layout,
  .cart-layout,
  .detail-grid{
    grid-template-columns: 1fr;
  }

  .listing-sidebar,
  .cart-summary-card {
    position: static;
  }
}

@media (max-width: 991px) {
  .page-hero-card {
    padding: 9px 16px;
    border-radius: 16px;
    flex-direction: column;
    align-items: center;
  }
  .product-card-btns{
    flex-direction: column;
  }
  #load_product{
    overflow: hidden;
  }
  
  #load_product .hn-products-grid{
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
  
  .listing-layout{
    grid-template-columns: 1fr;
  }
  .detail-buy-row{
    flex-direction: column;
    align-items: center;
  }
  .detail-buy-row .dif-quantity{
    width: 100%;
    justify-content: center;
  }
  .detail-buy-row .detail-buy-row-btns{
    width: 100%;
  }

  .page-breadcrumbs {
    width: 100%;
    border-radius: 18px;
  }

  .listing-sidebar {
    top: auto;
  }

  .mobile-listing-filter-btn {
    display: inline-flex;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1035;
  }

  .listing-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 14, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: .22s ease;
    z-index: 1040;
    display: block;
  }

  .listing-sidebar-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .listing-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(360px, calc(100vw - 28px));
    height: 100vh;
    overflow-y: auto;
    padding: 14px;
    background: #f6faf7;
    z-index: 1050;
    transform: translateX(-104%);
    transition: transform .24s ease;
    box-shadow: 18px 0 40px rgba(10, 22, 14, 0.16);
  }

  .listing-sidebar.is-open {
    transform: translateX(0);
  }

  .listing-sidebar-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 2px 8px;
  }

  .listing-sidebar-mobile-head strong {
    color: #17351f;
    font-size: 18px;
    font-weight: 800;
  }

  .listing-sidebar-close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #17351f;
    box-shadow: 0 10px 20px rgba(12, 32, 18, 0.08);
  }
}

@media (max-width: 767px) {
  .page-shell {
    padding: 0 10px;
  }

  .page-hero-copy p,
  .listing-panel p {
    font-size: 14px;
  }

  .listing-content-card {
    padding: 14px;
    overflow-x: hidden;
  }

  .listing-content-card .listing-panel {
    padding: 14px;
    border-radius: 18px;
  }

  .listing-content-card .listing-panel h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .listing-content-card > .listing-panel:first-child {
    margin-bottom: 14px !important;
  }

  .filter-chip-list {
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    overflow-x: auto !important;
    overflow-y: hidden;
    width: 100%;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    touch-action: pan-x;
  }

  .listing-content-card .filter-chip-list,
  .listing-panel .filter-chip-list {
    display: flex !important;
    flex-wrap: nowrap !important;
  }

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

  .archive-price-grid {
    grid-template-columns: 1fr;
  }

  .listing-content-card .products-grid,
  .listing-content-card .hn-products-grid,
  .listing-content-card #load_product .products-grid,
  .listing-content-card #load_product .hn-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    align-items: start;
  }

  .listing-content-card .product-card,
  .listing-content-card .archive-product-card,
  .listing-content-card #load_product .product-card,
  .listing-content-card #load_product .archive-product-card {
    width: auto !important;
    min-width: 0;
    border-radius: 14px;
    overflow: hidden;
  }

  .listing-content-card .product-img {
    height: 120px;
    padding: 10px;
  }

  .listing-content-card .product-info {
    padding: 8px;
  }

  .listing-content-card .product-info h4 {
    font-size: 11px;
    line-height: 1.35;
    min-height: 45px;
  }

  .listing-content-card .product-price {
    font-size: 13px;
  }

  .listing-content-card .product-old-price {
    font-size: 9px;
  }

  .listing-content-card .product-stock-chip {
    top: 6px;
    right: 6px;
    gap: 3px;
    padding: 3px 5px;
    font-size: 8px;
  }

  .listing-content-card .product-card-footer {
    gap: 5px;
    padding: 3px 7px 8px;
  }

  .listing-content-card .card-primary-action,
  .listing-content-card .card-secondary-action {
    min-height: 34px;
    gap: 3px;
    padding: 6px 4px;
    font-size: 9px;
  }

  .listing-content-card .add-to-cart {
    margin: 6px 8px 8px;
    width: calc(100% - 16px);
    font-size: 11px;
    padding: 7px 6px;
  }

  .listing-content-card .product-actions {
    display: none;
  }

  .listing-content-card .save-badge {
    top: 6px;
    left: 6px;
    font-size: 9px;
    padding: 2px 5px;
  }

  .listing-toolbar h2 {
    font-size: 22px;
  }

  .listing-toolbar p {
    font-size: 13px;
    line-height: 1.55;
  }

  .listing-result-pill {
    min-width: 74px;
    padding: 8px 12px;
  }

  .mobile-listing-filter-btn {
    width: 46px;
    height: 46px;
    top: auto;
    bottom: 90px;
    border-radius: 0 14px 14px 0;
    font-size: 16px;
  }

  .blog-grid,
  .mini-blog-grid,
  .collection-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .detail-surface .product-name {
    font-size: 26px;
  }

  .detail-price-banner,
  .detail-social-row {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .detail-payment-main-split {
    grid-template-columns: 1fr;
  }

  .detail-payment-select-wrap {
    min-width: 0;
    width: 100%;
    margin-top: 0px;
  }

  .detail-support-note {
    text-align: left;
  }

}

@media (max-width: 575px) {
  .page-shell {
    padding: 0 12px;
  }

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

  .page-hero-card{
    padding: 8px 12px;
  }
  .listing-content-card,
  .content-card,
  .contact-card,
  .cart-card,
  .detail-surface,
  .detail-section-card {
    border-radius: 20px;
    padding: 0px;
  }

  .page-breadcrumbs {
    padding: 6px 10px;
  }
  .detail-surface .container{
    padding: 0;
  }

  .listing-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 0 10px;
  }

  .listing-toolbar-actions {
    justify-content: stretch;
    padding: 0 10px;
  }

  .archive-sort-select {
    min-width: 0;
    margin: 0;
    margin-left: 20px;
  }

  .mobile-listing-filter-btn {
    width: 46px;
    height: 46px;
    top: auto;
    bottom: 90px;
    border-radius: 0 14px 14px 0;
    font-size: 16px;
  }

  .listing-content-card .products-grid,
  .listing-content-card .hn-products-grid,
  .listing-content-card #load_product .products-grid,
  .listing-content-card #load_product .hn-products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
    align-items: start;
  }

  .listing-content-card .product-img {
    height: 116px;
    padding: 10px;
  }

  .cart-table th,
  .cart-table td {
    padding: 12px 8px;
  }

}

@media (max-width: 820px) {

  /* Checkout mobile */
  .orders {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
  }

  ul.payment-options li .pay-name{
    margin: 0;
  }

  .cart_table {
    border-collapse: separate;
    border-spacing: 0;
  }

  .cart_table thead {
    display: none;
  }

  .cart_table tbody {
    display: grid;
    gap: 12px;
  }

  .cart_table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    padding: 12px 12px 10px;
    border: 1px solid #e7ecf3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(10, 15, 30, 0.05);
  }

  .cart_table tbody td {
    border: 0;
    padding: 4px 0;
    font-size: 14px;
    text-align: left !important;
  }

  .cart_table tbody td.product-title {
    grid-column: 1 / -1;
    font-weight: 700;
    font-size: 15px;
  }

  .cart_table .product-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: #5b6475;
    font-size: 12px;
    margin-top: 4px;
  }

  .cart_table .input-group.quantity {
    gap: 10px;
    justify-content: flex-start;
  }

  .cart_table .qty_width {
    width: 46px;
    padding: 6px !important;
  }

  .cart_table .update-cart-minus,
  .cart_table .update-cart-plus {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 10px;
  }

  .cart_table .product-amount,
  .cart_table .product-subtotal {
    font-weight: 700;
  }

  .cart_table tfoot,
  .cart_table tfoot tr,
  .cart_table tfoot th,
  .cart_table tfoot td {
    display: block;
    width: 100%;
    text-align: left !important;
  }

  .cart_table tfoot tr {
    padding: 10px 0;
    border-top: 1px solid #e9eef5;
  }

  .cart_table tfoot tr.cart-subtotal:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .cart_table tfoot td {
    text-align: right !important;
    font-size: 15px;
    font-weight: 700;
  }

  .promo-code-wrap {
    width: 100% !important;
  }

  .promo-code-wrap .input-group {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .promo-code-wrap input {
    flex: 1;
    height: 46px;
  }

  .promo-code-wrap .inpg-btn {
    height: 46px;
    margin-top: 0;
    border-radius: 10px;
  }

.payment-options {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.payment-options .pay-option {
 
  border: 1px solid #e4eaf1;
  border-radius: 14px;
  background: #fff;
  justify-content: space-between;
  box-shadow: 0 12px 28px rgba(7, 14, 35, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.payment-options .pay-option.active {
  border-color: #0a753c;
  box-shadow: 0 12px 28px rgba(10, 117, 60, 0.16);
  background: #f4fff7;
}

.payment-options .pay-name {
  margin: 0;
  flex: 1;
  font-weight: 600;
}

.payment-options .pay-option img {
  max-height: 32px;
  object-fit: contain;
}

  /* Cart mobile */
  .cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cart-table-wrap {
    overflow: visible;
  }

  .cart-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table tbody {
    display: grid;
    gap: 12px;
  }

  .cart-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    padding: 12px 12px 10px;
    border: 1px solid #e7ecf3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(10, 15, 30, 0.05);
  }

  .cart-table tbody td {
    border: 0;
    padding: 4px 0;
    font-size: 14px;
    text-align: left;
  }

  .cart-table tbody td:nth-child(1) {
    grid-row: 1;
    grid-column: 1 / 2;
  }

  .cart-table tbody td:nth-child(2) {
    grid-column: 1 / -1;
    font-weight: 700;
  }

  .cart-table tbody td:nth-child(3) {
    font-weight: 600;
  }

  .cart-table tbody td:nth-child(5) {
    font-weight: 700;
    text-align: right;
  }

  .cart-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .cart-qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .cart-qty-value {
    width: 46px;
    text-align: center;
  }

  .cart-summary-card {
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(10, 15, 30, 0.05);
  }

}

@media (max-width: 480px) {
  .cart_table tbody tr {
    grid-template-columns: 1fr;
    padding: 10px 10px 8px;
    gap: 4px;
  }

  .cart_table tbody td {
    font-size: 13px;
  }

  .cart_table tbody td.product-title {
    font-size: 14px;
  }

  .cart_table .input-group.quantity {
    width: 100%;
    justify-content: space-between;
  }

  .cart_table .qty_width {
    width: 42px;
  }

  .cart_table .update-cart-minus,
  .cart_table .update-cart-plus {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .cart_table tfoot td,
  .cart_table tfoot th {
    font-size: 14px;
  }

  .promo-code-wrap .input-group {
    flex-direction: column;
    align-items: stretch;
  }

  .promo-code-wrap input,
  .promo-code-wrap .inpg-btn {
    width: 100%;
  }

  .payment-options .pay-option {
    padding: 11px 12px;
  }

  .payment-options .pay-option img {
    max-width: 72px;
  }

  /* Cart extra small */
  .cart-table tbody tr {
    grid-template-columns: 1fr;
    gap: 4px 8px;
  }

  .cart-table tbody td {
    font-size: 13px;
  }

  .cart-qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .cart-qty-value {
    width: 42px;
  }
}

/* Checkout form surface */
.shipping-address,
.orders {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(9, 17, 38, 0.08);
}

.address-form .group {
  margin-bottom: 18px;
}

.address-form .group label {
  font-weight: 600;
  color: #12213a;
}

.address-form input,
.address-form textarea,
.address-form select {
  width: 100%;
  border: 1px solid #d8e5d9 !important;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.04);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.address-form textarea {
  min-height: 90px;
}

.address-form input:focus,
.address-form textarea:focus,
.address-form select:focus {
  border-color: #17913a !important;
  box-shadow: 0 0 0 3px rgba(23, 145, 58, 0.12);
  outline: none;
}

.inp-label-abs {
  background: #fff;
  padding: 0 6px;
  border-radius: 10px;
  top: -10px;
  font-size: 13px;
}

.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  height: 46px !important;
  border-radius: 12px !important;
  border: 1px solid #d8e5d9 !important;
  padding: 8px 12px !important;
  background: #fbfdfb !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 28px !important;
  color: #17351f !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 9px !important;
  right: 10px !important;
}

.billing-title {
  font-weight: 800;
  font-size: 22px;
}

.cart-summary-row,
.cart_table tfoot tr {
  align-items: center;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, #0a753c, #0f9d58);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(10, 117, 60, 0.24);
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.checkout-card {
  background: #fff;
  border: 1px solid #e6ede8;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(13, 36, 22, 0.06);
  padding: 24px;
}

.checkout-flow-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 8px 4px 20px;
}

.checkout-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf8ef;
  color: #0f6f2d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.checkout-flow-copy {
  max-width: 620px;
  color: #5d6b62;
  line-height: 1.7;
}

.checkout-flow-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.checkout-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #dce9de;
  background: #fbfdfb;
  color: #17351f;
  font-size: 12px;
  font-weight: 700;
}

.checkout-step-card {
  border: 1px solid #e3ece4;
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

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

.checkout-step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.checkout-step-no {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #17913a 0%, #0f6f2d 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 18px rgba(15, 111, 45, 0.2);
}

.checkout-step-title {
  margin: 0 0 4px;
  color: #17351f;
  font-size: 18px;
  font-weight: 800;
}

.checkout-step-copy {
  margin: 0;
  color: #647067;
  line-height: 1.65;
}

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

.checkout-step-card .group {
  margin-bottom: 0;
}

.checkout-verify-panel {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px dashed #d7e7da;
  background: #f7fbf8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checkout-verify-panel.is-verified {
  border-style: solid;
  border-color: rgba(23, 145, 58, 0.2);
  background: linear-gradient(180deg, #eefaf1 0%, #f9fdf9 100%);
}

.checkout-verify-copy strong {
  display: block;
  color: #17351f;
  margin-bottom: 4px;
}

.checkout-verify-copy p {
  color: #647067;
  line-height: 1.6;
}

.checkout-verify-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-otp-area {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #e3ece4;
  background: #ffffff;
}

.checkout-inline-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.checkout-inline-action .inpg-btn {
  border: 0;
  min-height: 48px;
  padding: 0 20px;
}

.checkout-same-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #f5faf6;
  border: 1px solid #dfeadf;
  color: #17351f;
  font-weight: 700;
}

.checkout-same-toggle input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  border-radius: 6px !important;
  border: 2px solid #0f7c34 !important;
  background: #fff !important;
  box-shadow: none;
  cursor: pointer;
  position: relative;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.checkout-same-toggle input[type="checkbox"]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -58%) rotate(45deg) scale(0);
  transition: transform .16s ease;
}

.checkout-same-toggle input[type="checkbox"]:checked {
  background: #0f7c34 !important;
  border-color: #0f7c34 !important;
}

.checkout-same-toggle input[type="checkbox"]:checked::after {
  transform: translate(-50%, -58%) rotate(45deg) scale(1);
}

.checkout-same-toggle input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 124, 52, 0.16);
}

.checkout-same-toggle label {
  margin: 0;
  cursor: pointer;
}

.address-form .group label {
  display: inline-block;
  margin-bottom: 8px;
}

.address-form input:not([type="checkbox"]):not([type="radio"]),
.address-form textarea,
.address-form select,
.select2-container--default .select2-selection--single {
  min-height: 52px;
  border-radius: 14px !important;
  border: 1px solid #d9e6dc !important;
  background: #fcfffc !important;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.address-form textarea {
  min-height: 116px;
  padding-top: 14px;
}

.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  display: flex !important;
  align-items: center;
  padding: 0 14px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 0 !important;
  padding-right: 28px !important;
  line-height: 1.4 !important;
  color: #17351f !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #8a988f !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  right: 12px !important;
  top: 0 !important;
}

.select2-dropdown {
  border: 1px solid #d9e6dc !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 40px rgba(15, 33, 20, 0.12);
  overflow: hidden;
  z-index: 9999;
}

.select2-container--open {
  z-index: 9999;
}

.select2-search--dropdown {
  padding: 10px;
  background: #f7fbf8;
}

.select2-search--dropdown .select2-search__field {
  height: 42px;
  border-radius: 10px;
  border: 1px solid #d5e3d7 !important;
  padding: 8px 10px;
}

.select2-results__option {
  padding: 10px 14px;
}

.select2-results__option--highlighted[aria-selected] {
  background: #0f7c34 !important;
  color: #ffffff;
}

.address-form input,
.address-form textarea,
.address-form select {
  background: #fbfdfb !important;
}

@media (min-width: 992px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .shipping-address,
  .orders {
    height: 100%;
  }
}

@media (max-width: 991.98px) {
  .checkout-flow-head,
  .checkout-verify-panel {
    flex-direction: column;
  }

  .checkout-flow-badges {
    justify-content: flex-start;
  }

  .checkout-form-grid,
  .checkout-inline-action {
    grid-template-columns: minmax(0, 1fr);
  }
}

.auth-shell {
  max-width: 760px;
  margin: 0 auto;
}

.auth-card,
.account-sidebar-card,
.account-content-card,
.account-info-panel,
.account-password-card,
.account-summary-card,
.account-meta-card {
  background: #fff;
  border: 1px solid #e6ede8;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(13, 36, 22, 0.06);
}

.auth-card {
  padding: 28px;
}

.auth-card-wide {
  max-width: 920px;
  margin: 0 auto;
}

.auth-card-head h2,
.account-content-head h2,
.account-summary-card h3,
.account-info-panel h3,
.account-password-card h3 {
  margin: 0 0 8px;
  color: #17351f;
  font-weight: 800;
}

.auth-card-head p,
.account-content-head p {
  margin: 0;
  color: #68756c;
  line-height: 1.7;
}

.auth-form {
  margin-top: 20px;
  display: grid;
  gap: 16px;
}

.auth-submit-btn {
  border: 0;
  border-radius: 999px;
  min-height: 50px;
  background: linear-gradient(180deg, #17913a 0%, #0f6f2d 100%);
  color: #fff;
  font-weight: 800;
  padding: 0 22px;
  box-shadow: 0 14px 28px rgba(15, 111, 45, 0.2);
}

.auth-foot-note {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #5f6b63;
}

.auth-foot-note a {
  color: #0f7c34;
  font-weight: 700;
}

.auth-foot-note form {
  margin: 0;
}

.auth-resend-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f7c34;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-resend-link:disabled {
  color: #8b978f;
  cursor: not-allowed;
}

.account-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
}

.account-layout > * {
  min-width: 0;
}

.account-sidebar-card {
  padding: 16px;
  position: sticky;
  top: 118px;
}

.account-sidebar-head {
  padding: 8px 6px 16px;
}

.account-sidebar-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf8ef;
  color: #0f7c34;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-sidebar-head h3 {
  margin: 12px 0 6px;
  color: #17351f;
  font-size: 22px;
  font-weight: 800;
}

.account-sidebar-head p {
  margin: 0;
  color: #68756c;
  line-height: 1.6;
}

.account-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.account-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #17351f;
  font-weight: 700;
  background: #f8fbf8;
  border: 1px solid transparent;
}

.account-sidebar-link.is-active,
.account-sidebar-link:hover {
  background: #edf8ef;
  border-color: #d6e8d9;
  color: #0f7c34;
}

.account-sidebar-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dce8de;
  font-size: 16px;
}

.account-content-card,
.account-password-card {
  padding: 24px;
  width: 100%;
}

.account-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.account-stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
  border: 1px solid #e3ece4;
}

.account-stat-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #17913a 0%, #0f6f2d 100%);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 12px 20px rgba(15, 111, 45, 0.2);
}

.account-stat-card strong {
  display: block;
  color: #17351f;
  font-size: 16px;
}

.account-stat-card p {
  margin: 4px 0 0;
  color: #6b786f;
}

.account-content-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.account-table-wrap {
  overflow-x: auto;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
}

.account-table th,
.account-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #ebf0ec;
  text-align: left;
  vertical-align: middle;
}

.account-table th {
  color: #567060;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.account-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf8ef;
  color: #0f7c34;
  font-size: 12px;
  font-weight: 800;
}

.account-action-row {
  display: flex;
  gap: 8px;
}

.account-action-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #0f7c34;
  color: #fff;
  border: 0;
}

.account-action-btn.danger {
  background: #d94343;
}

.account-empty-state {
  padding: 24px 0;
  text-align: center;
  color: #6a786e;
  font-weight: 700;
}

.account-form-grid,
.account-info-grid,
.account-order-meta,
.account-order-detail-grid {
  display: grid;
  gap: 18px;
}

.account-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.group-span-2 {
  grid-column: 1 / -1;
}

.account-info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.account-info-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-info-panel {
  padding: 22px;
  min-width: 0;
}

.account-info-list,
.account-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.account-info-list li,
.account-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2ee;
}

.account-info-list li span,
.account-summary-list li span {
  color: #5d6b62;
  text-align: right;
}

.account-password-card {
  margin-top: 18px;
}

.account-order-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.account-meta-card {
  padding: 18px 20px;
  display: grid;
  gap: 8px;
}

.account-meta-card strong {
  color: #456152;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.account-order-detail-grid {
  grid-template-columns: minmax(0, 1fr) 290px;
}

.account-summary-card {
  padding: 22px;
}

.account-product-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e2ebe4;
}

.account-product-meta {
  margin-top: 6px;
  color: #6b786f;
  font-size: 13px;
}

.account-mobile-fab,
.account-mobile-overlay,
.account-mobile-sheet {
  display: none;
}

.checkable.cursor-pointer.pos-relative.align-items-center{
  line-height: 1;
}

@media (max-width: 991.98px) {
  .account-layout,
  .account-dashboard-stats,
  .account-info-grid,
  .account-info-grid-2,
  .account-order-meta,
  .account-order-detail-grid,
  .account-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-sidebar-card {
    display: none;
  }

  .auth-card,
  .account-content-card,
  .account-password-card {
    padding: 20px;
  }

  .account-mobile-fab {
    position: fixed;
    left: 18px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 1002;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    background: linear-gradient(180deg, #17913a 0%, #0f6f2d 100%);
    color: #fff;
    box-shadow: 0 20px 38px rgba(15, 111, 45, 0.28);
    font-weight: 800;
  }

  .account-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1003;
    background: rgba(12, 24, 16, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .account-mobile-overlay.is-open {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .account-mobile-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 56px;
    z-index: 1004;
    background: #fff;
    border-radius: 24px 24px 0 0;
    padding: 18px;
    max-height: 78vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 -20px 40px rgba(8, 20, 12, 0.22);
    transform: translateY(102%);
    transition: transform .24s ease;
  }

  .account-mobile-sheet.is-open {
    display: block;
    transform: translateY(0);
  }

  .account-mobile-sheet-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
  }

  .account-mobile-sheet-head h3 {
    margin: 10px 0 0;
    color: #17351f;
    font-size: 22px;
    font-weight: 800;
  }

  .account-mobile-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: #eff7f1;
    color: #17351f;
    font-size: 22px;
  }

  .account-mobile-list {
    display: grid;
    gap: 10px;
    padding-bottom: 8px;
  }

  .account-mobile-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e4ece6;
    background: #fbfdfb;
    color: #17351f;
    font-weight: 700;
  }

  .account-mobile-link.is-active {
    background: #edf8ef;
    border-color: #d6e8d9;
    color: #0f7c34;
  }
}

body.account-menu-open {
  overflow: hidden;
}
/* Product comparison */
.compare-page-section {
  padding-top: 18px;
}

.compare-selector-card,
.compare-table-card,
.compare-empty-state {
  border: 1px solid #dce9e0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(12, 63, 31, .07);
}

.compare-selector-card {
  padding: 20px;
  margin-bottom: 18px;
}

.compare-selector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.compare-selector-head span {
  color: #168c3d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.compare-selector-head h2 {
  margin: 2px 0 0;
  color: #14251a;
  font-size: 24px;
}

.compare-selector-head p {
  max-width: 690px;
  margin: 5px 0 0;
  color: #64736a;
  font-size: 13px;
}

.compare-selector-head button {
  padding: 11px 18px;
  border: 0;
  border-radius: 10px;
  background: #148e3e;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.compare-selector-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-selector-head .compare-clear-button {
  border: 1px solid #e0b6b2;
  background: #fff5f4;
  color: #a5322a;
}

.compare-selector-head .compare-clear-button:hover,
.compare-selector-head .compare-clear-button:focus {
  border-color: #cc746b;
  background: #ffe9e6;
}

.compare-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.compare-selector-slot {
  min-width: 0;
  padding: 7px;
  border: 1px solid #d8e7dc;
  border-radius: 15px;
  background: linear-gradient(180deg, #fbfefc 0%, #f4faf6 100%);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.compare-selector-slot:focus-within {
  position: relative;
  z-index: 20;
  border-color: #45a964;
  box-shadow: 0 12px 28px rgba(12, 97, 42, .14);
  transform: translateY(-2px);
}

.compare-slot-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.compare-slot-label > span {
  color: #168c3d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.compare-slot-label button {
  width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid #efcac6;
  border-radius: 50%;
  background: #fff5f4;
  color: #b0352c;
  cursor: pointer;
}

.compare-slot-product {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  gap: 3px 10px;
  margin-bottom: 10px;
  color: #173322;
}

.compare-slot-product > span {
  grid-row: 1 / 3;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.compare-slot-product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compare-slot-product strong {
  align-self: end;
  display: -webkit-box;
  overflow: hidden;
  color: #183321;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.compare-slot-product small {
  align-self: start;
  color: #718078;
  font-size: 10px;
}

.compare-slot-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px dashed #bfdbc7;
  border-radius: 12px;
  color: #627269;
  text-align: center;
}

.compare-slot-empty > i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  border-radius: 50%;
  background: #e3f5e8;
  color: #148e3e;
}

.compare-slot-empty strong {
  color: #24452e;
  font-size: 12px;
}

.compare-slot-empty small {
  margin-top: 2px;
  font-size: 10px;
}

.compare-slot-search {
  position: relative;
}

.compare-slot-search > i {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 12px;
  color: #4e7660;
  font-size: 12px;
  pointer-events: none;
}

.compare-slot-search input[type="search"] {
  width: 100%;
  height: 42px;
  padding: 0 12px 0 34px;
  border: 1px solid #cddfd2;
  border-radius: 10px;
  background: #fff;
  color: #183321;
  font-size: 12px;
  outline: 0;
}

.compare-slot-search input[type="search"]:focus {
  border-color: #158b3d;
  box-shadow: 0 0 0 3px rgba(21, 139, 61, .11);
}

.compare-slot-results {
  position: absolute;
  z-index: 50;
  top: calc(100% + 6px);
  left: 0;
  width: max(100%, 280px);
  max-height: 330px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid #cfe0d3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(6, 52, 21, .2);
}

.compare-slot-results [data-compare-choice] {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 7px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1c3825;
  text-align: left;
  cursor: pointer;
}

.compare-slot-results [data-compare-choice]:hover,
.compare-slot-results [data-compare-choice]:focus {
  background: #eaf8ee;
}

.compare-choice-image {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f4f8f5;
  overflow: hidden;
}

.compare-choice-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.compare-slot-results strong,
.compare-slot-results small {
  display: block;
}

.compare-slot-results strong {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-slot-results small {
  margin-top: 2px;
  color: #748178;
  font-size: 9px;
}

.compare-no-results {
  padding: 18px 10px;
  color: #6f7e74;
  font-size: 12px;
  text-align: center;
}

.compare-selector-grid label {
  margin: 0;
}

.compare-selector-grid label > span {
  display: block;
  margin-bottom: 6px;
  color: #3c5946;
  font-size: 12px;
  font-weight: 700;
}

.compare-selector-grid select {
  width: 100%;
  height: 44px;
  padding: 0 34px 0 11px;
  border: 1px solid #cfdfd4;
  border-radius: 10px;
  background: #fbfefc;
  color: #1a2a20;
  font-size: 13px;
}

.compare-table-card {
  display: block;
  overflow: hidden;
}

.compare-table-scroll {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 760px;
  margin: 0;
  border-collapse: collapse;
}

.compare-table-four-columns {
  min-width: 1120px;
  table-layout: fixed;
}

.compare-table-four-columns th,
.compare-table-four-columns td {
  width: 19.5%;
}

.compare-table-four-columns th:first-child {
  width: 22%;
}

.compare-table th,
.compare-table td {
  min-width: 190px;
  padding: 13px 15px;
  border-right: 1px solid #e4ede7;
  border-bottom: 1px solid #e4ede7;
  color: #24352a;
  font-size: 13px;
  text-align: left;
  vertical-align: middle;
}

.compare-table th:first-child {
  min-width: 170px;
  background: #f5faf7;
  color: #173c24;
  font-weight: 800;
}

.compare-table thead th {
  position: relative;
  padding: 16px;
  background: #fff;
  vertical-align: top;
}

.compare-table thead th:focus-within {
  z-index: 30;
}

.compare-table-selector {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.compare-table-selector:focus-within {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.compare-table-selector .compare-slot-search {
  margin-bottom: 13px;
}

.compare-table-selector .compare-slot-results {
  width: 100%;
  min-width: 0;
}

.compare-table-selector .compare-product {
  margin-top: 2px;
}

.compare-inline-empty {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px;
  border-radius: 10px;
  background: #f5faf7;
  color: #66806e;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.compare-inline-empty i {
  color: #168c3d;
}

.compare-product {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #132d1c;
}

.compare-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 130px;
  border-radius: 12px;
  background: #f6faf7;
  overflow: hidden;
}

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

.compare-product-image > i {
  color: #aac3b1;
  font-size: 34px;
}

.compare-product strong {
  line-height: 1.35;
}

.compare-product small {
  color: #148e3e;
  font-weight: 700;
}

.compare-remove-product {
  width: 100%;
  min-height: 34px;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #e1b8b3;
  border-radius: 9px;
  background: #fff7f6;
  color: #a53a31;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.compare-remove-product:hover,
.compare-remove-product:focus {
  border-color: #c85e54;
  background: #c8463b;
  color: #fff;
}

.compare-table-empty-product {
  width: 100%;
  min-height: 202px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px dashed #bfd8c6;
  border-radius: 12px;
  background: #f8fcf9;
  color: #54705d;
  cursor: pointer;
}

.compare-table-empty-product > i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e5f6ea;
  color: #148e3e;
}

.compare-table-empty-product strong {
  color: #1e482b;
  font-size: 13px;
}

.compare-table-empty-product small {
  font-size: 10px;
}

.compare-empty-value {
  color: #a7b4ab;
}

.compare-highlight-row td {
  background: #148e3e;
  color: #fff;
  font-size: 17px;
}

.compare-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7f7ec;
  color: #147638;
  font-size: 11px;
  font-weight: 800;
}

.compare-status.status-out-of-stock {
  background: #fff0f0;
  color: #c52c2c;
}

.compare-status.status-upcoming {
  background: #fff8df;
  color: #9b7100;
}

.compare-status.status-pre-order {
  background: #eef1ff;
  color: #4458b7;
}

.compare-group-row th {
  padding: 10px 15px;
  background: #dff4e6 !important;
  color: #126832 !important;
  font-size: 14px;
  letter-spacing: .02em;
}

.compare-empty-state {
  padding: 50px 20px;
  text-align: center;
}

.compare-empty-state > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 13px;
  border-radius: 20px;
  background: #e8f8ed;
  color: #148e3e;
  font-size: 27px;
}

.compare-empty-state h2 {
  margin: 0 0 7px;
  font-size: 24px;
}

.compare-empty-state p {
  max-width: 620px;
  margin: 0 auto;
  color: #607166;
}

@media (max-width: 991px) {
  .compare-selector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-slot-results {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .compare-selector-card {
    padding: 15px;
  }

  .compare-selector-head {
    align-items: stretch;
    flex-direction: column;
  }

  .compare-selector-head button {
    width: 100%;
  }

  .compare-selector-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .compare-selector-grid {
    grid-template-columns: 1fr;
  }

  .compare-table th,
  .compare-table td {
    min-width: 168px;
  }
}
/* Product media lightbox and optional ordered-frame 360 viewer */
.detail-media-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.detail-media-action {
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid #cde3d3;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #087431;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(4, 52, 22, .12);
  backdrop-filter: blur(8px);
}

.detail-media-action:hover,
.detail-media-action:focus-visible {
  border-color: #118b3c;
  background: #118b3c;
  color: #fff;
}

.detail-media-action i {
  margin-right: 5px;
}

body.detail-media-open {
  overflow: hidden;
}

.detail-media-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 72px 64px;
  background: rgba(3, 15, 8, .88);
  backdrop-filter: blur(8px);
}

.detail-media-modal.is-open {
  display: flex;
}

.detail-media-stage {
  position: relative;
  width: min(980px, 82vw);
  height: min(78vh, 780px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .36);
}

.detail-media-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  transition: transform .1s ease-out;
}

.detail-media-modal.is-spinning .detail-media-stage img {
  cursor: grabbing;
  transition: none;
}

.detail-media-modal.is-zoomed .detail-media-stage img {
  cursor: zoom-out;
}

.detail-media-close,
.detail-media-nav {
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.detail-media-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
}

.detail-media-nav {
  flex: 0 0 46px;
  width: 46px;
  height: 58px;
  border-radius: 14px;
  font-size: 18px;
}

.detail-media-close:hover,
.detail-media-nav:hover {
  background: #138a3d;
  border-color: #138a3d;
}

.detail-spin-help {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(5, 66, 29, .84);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.detail-media-footer {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 24px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .detail-media-modal {
    padding: 64px 8px 58px;
    gap: 6px;
  }

  .detail-media-stage {
    width: calc(100vw - 80px);
    height: 70vh;
    border-radius: 14px;
  }

  .detail-media-nav {
    flex-basis: 32px;
    width: 32px;
    height: 48px;
  }

  .detail-media-footer {
    width: 100%;
    justify-content: center;
    gap: 12px;
    padding: 0 12px;
    text-align: center;
  }
}

/* Final cascade guards for the redesigned product media dialog. */
.detail-media-modal.detail-media-modal {
  gap: 0;
  padding: 18px;
  background: rgba(4, 13, 7, .78);
}

.detail-media-modal.is-zoomed.is-open .detail-media-stage img {
  cursor: grab;
}

.detail-media-modal.is-panning.is-open .detail-media-stage img {
  cursor: grabbing;
}

@media (max-width: 767px) {
  .detail-media-modal.detail-media-modal {
    padding: 0;
  }
}
