:root {
  --anr-charcoal: #171a1d;
  --anr-charcoal-soft: #25292d;
  --anr-orange: #f28c18;
  --anr-orange-dark: #c96505;
  --anr-cream: #f7f4ef;
  --anr-line: #dedbd5;
  --anr-green: #159455;
  --anr-radius: 14px;
}

.anr-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--anr-orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.anr-section-heading h2 {
  margin: 0;
  color: var(--anr-charcoal);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.anr-bulk-pricing,
.anr-specifications {
  clear: both;
  margin: 2rem 0;
  padding: clamp(1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--anr-line);
  border-radius: var(--anr-radius);
  background: #fff;
  box-shadow: 0 12px 32px rgba(23, 26, 29, 0.06);
}

.anr-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid var(--anr-line);
  border-radius: 10px;
}

.anr-table-wrap table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.anr-table-wrap th,
.anr-table-wrap td {
  padding: 0.85rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--anr-line);
  text-align: right;
  vertical-align: middle;
}

.anr-table-wrap thead th,
.anr-specifications th {
  color: #fff;
  background: var(--anr-charcoal-soft);
  font-weight: 750;
}

.anr-specifications tbody th {
  width: 34%;
}

.anr-table-wrap tr:last-child > * {
  border-bottom: 0;
}

.anr-small-note {
  margin: 0.75rem 0 0;
  color: #5d6268;
  font-size: 0.86rem;
}

.anr-price-on-request {
  color: var(--anr-orange-dark);
  font-weight: 800;
}

.anr-loop-add-to-cart {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  margin: auto 1rem 0;
}

.anr-loop-add-to-cart > small {
  grid-column: 1 / -1;
  color: #686d72;
  font-size: 0.72rem;
}

.woocommerce .quantity.anr-quantity-enhanced {
  display: grid;
  grid-template-columns: 38px minmax(44px, 1fr) 38px;
  overflow: hidden;
  width: 100%;
  min-width: 118px;
  height: 46px;
  margin: 0;
  border: 1px solid #b8bbc0;
  border-radius: 8px;
  background: #fff;
  direction: ltr;
}

.woocommerce .quantity.anr-quantity-enhanced .qty {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-inline: 1px solid #dedbd5;
  border-radius: 0;
  color: var(--anr-charcoal);
  background: #fff;
  font-weight: 800;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.woocommerce .quantity.anr-quantity-enhanced .qty::-webkit-outer-spin-button,
.woocommerce .quantity.anr-quantity-enhanced .qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.anr-qty-button {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--anr-charcoal);
  background: #f3f1ec;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
}

.anr-qty-plus {
  color: #fff;
  background: var(--anr-orange);
}

.anr-qty-button:not(:disabled):hover {
  color: #fff;
  background: var(--anr-orange-dark);
}

.anr-qty-button:disabled {
  color: #a5a5a0;
  background: #f1f1ee;
  cursor: not-allowed;
}

@media (max-width: 390px) {
  .anr-loop-add-to-cart {
    grid-template-columns: 1fr;
  }
}

.anr-unit-price {
  color: #666;
  font-size: 0.78em;
  font-weight: 500;
}

.anr-delivery-badge {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: #263028;
  background: #edf7ef;
  font-size: 0.9rem;
  font-weight: 700;
}

.anr-product-whatsapp,
.anr-whatsapp-button {
  display: inline-flex !important;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 0.75rem !important;
  border-color: var(--anr-green) !important;
  color: #fff !important;
  background: var(--anr-green) !important;
}

.anr-product-whatsapp:hover,
.anr-whatsapp-button:hover {
  background: #0c773f !important;
}

.anr-checkout-message {
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid #f2c07b;
  border-right: 5px solid var(--anr-orange);
  border-radius: 10px;
  color: #3d2a12;
  background: #fff7e9;
}

.anr-checkout-message p {
  margin: 0.35rem 0 0;
}

.anr-ltr-input {
  direction: ltr;
  text-align: right;
}

.anr-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: #fff;
}

.anr-contact-strip a {
  color: #fff;
  font-weight: 800;
}

.anr-smart-search {
  position: relative;
  z-index: 50;
  width: 100%;
  max-width: 760px;
}

.anr-search-control {
  position: relative;
  display: flex;
  align-items: center;
}

.anr-search-control svg {
  position: absolute;
  right: 1rem;
  width: 21px;
  height: 21px;
  color: #545a60;
  pointer-events: none;
}

.anr-search-control input[type="search"] {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 3rem 0.7rem 1rem;
  border: 1px solid #c9cbd0;
  border-radius: 10px;
  color: var(--anr-charcoal);
  background: #fff;
  font: inherit;
  box-shadow: 0 5px 20px rgba(23, 26, 29, 0.08);
}

.anr-search-control input[type="search"]:focus {
  border-color: var(--anr-orange);
  outline: 3px solid rgba(242, 140, 24, 0.22);
}

.anr-search-status {
  position: absolute;
  left: 0.85rem;
  color: #656b70;
  font-size: 0.72rem;
}

.anr-smart-search.is-loading .anr-search-status {
  color: var(--anr-orange-dark);
}

.anr-search-results {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 0.45rem);
  overflow: auto;
  max-height: min(460px, 68vh);
  padding: 0.4rem;
  border: 1px solid var(--anr-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(23, 26, 29, 0.2);
}

.anr-search-result {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 8px;
  color: var(--anr-charcoal);
  text-decoration: none;
}

.anr-search-result:hover,
.anr-search-result[aria-selected="true"] {
  color: var(--anr-charcoal);
  background: var(--anr-cream);
}

.anr-search-result img {
  width: 64px;
  height: 64px;
  border-radius: 7px;
  object-fit: contain;
  background: #f5f5f5;
}

.anr-search-result-copy {
  display: grid;
  gap: 0.2rem;
}

.anr-search-result-copy small {
  color: #666c72;
}

.anr-search-result-price {
  color: var(--anr-orange-dark);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.anr-search-empty {
  margin: 0;
  padding: 1rem;
  color: #565c62;
}

.anr-floating-contact {
  position: fixed;
  z-index: 9998;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.anr-floating-contact a {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: #fff;
  background: var(--anr-charcoal);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}

.anr-floating-contact .anr-contact-whatsapp {
  background: var(--anr-green);
}

.anr-floating-contact .anr-contact-cart {
  background: var(--anr-orange-dark);
}

@media (max-width: 767px) {
  body {
    padding-bottom: 66px;
  }

  .anr-floating-contact {
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--anr-charcoal);
  }

  .anr-floating-contact a {
    flex-direction: column;
    gap: 0.1rem;
    justify-content: center;
    min-height: 64px;
    padding: 0.35rem;
    border-radius: 0;
    font-size: 0.73rem;
    box-shadow: none;
  }

  .anr-search-result {
    grid-template-columns: 52px 1fr;
  }

  .anr-search-result img {
    width: 52px;
    height: 52px;
  }

  .anr-search-result-price {
    grid-column: 2;
  }

  .anr-contact-separator {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
