/* PAVO2E — component styles on top of the vex theme.
   The accent colour itself lives in assets/scss/style.scss ($primary-color). */

/* ---------- buy button ---------- */
.product-actions {
  display: block;
}

.qty-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.qty-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7b858c;
  font-weight: 600;
  margin-right: 2px;
}

.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-actions .btn {
  padding: 12px 24px;
  font-size: 15px;
  min-width: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.product-actions .qty-row .btn {
  padding: 12px 20px;
  font-size: 14px;
}

.product-actions .btn-buy {
  min-width: 150px;
}

/* ghost action: quiet enough to sit next to the primary without competing */
a.btn-ghost-main,
button.btn-ghost-main {
  border: 1px solid #dbe2e6;
  border-radius: 30px;
  background: #fff;
  color: #3b4045;
  font-weight: 600;
}

a.btn-ghost-main:hover,
a.btn-ghost-main:focus,
button.btn-ghost-main:hover,
button.btn-ghost-main:focus {
  border-color: #00a6b8;
  color: #00808f;
  text-decoration: none;
}

.btn-buy {
  min-width: 190px;
  font-weight: 600;
}

.btn-buy i {
  font-size: 17px;
  vertical-align: -1px;
}

/* secondary action, same height as .btn-main.
   Scoped with `a.` because the theme's `.btn { border-radius: 0 }` loads later. */
a.btn-outline-main,
button.btn-outline-main {
  border: 2px solid #00a6b8;
  border-radius: 30px;
  background: transparent;
  color: #00808f;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 30px;
  min-width: 170px;
  transition: background 0.18s ease, color 0.18s ease;
}

a.btn-outline-main:hover,
a.btn-outline-main:focus,
button.btn-outline-main:hover,
button.btn-outline-main:focus {
  background: #00a6b8;
  color: #fff;
  text-decoration: none;
}

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(16, 24, 32, 0.22);
  z-index: 1040;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wa-float:hover,
.wa-float:focus {
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.28);
}

.wa-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 3px;
}

@media (max-width: 575px) {
  .wa-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

/* ---------- quantity stepper ---------- */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  height: 52px;
  border: 1px solid #dfe5e8;
  border-radius: 30px;
  background: #fff;
  overflow: hidden;
}

.qty-stepper .qty-btn {
  width: 42px;
  height: 100%;
  border: 0;
  background: transparent;
  color: #3b4045;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.qty-stepper .qty-btn:hover {
  background: #f4f7f8;
}

.qty-stepper .qty-input {
  width: 46px;
  height: 100%;
  border: 0;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  color: #101820;
  background: transparent;
  -moz-appearance: textfield;
}

.qty-stepper .qty-input::-webkit-outer-spin-button,
.qty-stepper .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-stepper-sm {
  height: 40px;
}

.qty-stepper-sm .qty-btn {
  width: 34px;
  font-size: 16px;
}

.qty-stepper-sm .qty-input {
  width: 36px;
}

/* ---------- product page helpers ---------- */
.product-sub {
  font-size: 14px;
}

.cart-flash {
  display: none;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #e9f8f1;
  border: 1px solid #b9e6d0;
  color: #14634a;
  font-size: 14px;
}

.cart-flash.is-on {
  display: block;
}

/* ---------- cart page ---------- */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.cart-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b858c;
  font-weight: 600;
  padding-bottom: 10px;
}

.cart-table td {
  padding: 16px 8px;
  border-top: 1px solid #eef1f3;
  vertical-align: middle;
}

.cart-table td:first-child,
.cart-table th:first-child {
  padding-left: 0;
}

.cart-prod {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-prod img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border: 1px solid #eef1f3;
  border-radius: 8px;
  background: #fff;
}

.cart-prod-title {
  font-weight: 600;
  color: #101820;
}

.cart-unit,
.cart-line-total {
  white-space: nowrap;
}

.cart-line-total {
  font-weight: 600;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: #9aa5ad;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.cart-remove:hover {
  color: #c0392b;
}

.cart-summary {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #eef1f3;
  max-width: 420px;
  margin-left: auto;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 18px;
  margin-bottom: 6px;
}

.cart-summary-row strong {
  font-size: 22px;
}

.cart-summary-line {
  font-size: 15px;
  color: #4a555e;
}

.cart-summary-total {
  border-top: 1px solid #eef1f3;
  padding-top: 12px;
  margin-top: 8px;
}

.cart-continue {
  margin-left: 16px;
  font-size: 14px;
  color: #00808f;
}

/* ---------- checkout ---------- */
.checkout-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checkout-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef1f3;
  font-size: 15px;
}

.checkout-items em {
  font-style: normal;
  color: #7b858c;
}

.checkout-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7b858c;
  font-weight: 600;
  margin-bottom: 4px;
}

.checkout-error {
  background: #fdecec;
  border: 1px solid #f5c2c2;
  color: #8c2f2f;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 14px;
}

.checkout-error a {
  color: #8c2f2f;
  text-decoration: underline;
}

#payment-element {
  min-height: 60px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- order status banner ---------- */
.order-status {
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 26px;
  font-size: 15px;
  line-height: 1.6;
}

.order-status.is-ok {
  background: #e9f8f1;
  border: 1px solid #b9e6d0;
  color: #14634a;
}

.order-status.is-error {
  background: #fdecec;
  border: 1px solid #f5c2c2;
  color: #8c2f2f;
}

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

/* nav cart link */
.cart-link {
  color: #101820;
  display: inline-block;
  line-height: 1;
}

.cart-link:hover {
  color: #00808f;
}

/* ---------- feature icons ---------- */
#features i[class*="tf-"] {
  font-size: 26px;
  color: #00a6b8;
  display: inline-block;
  margin-bottom: 12px;
}

/* ---------- product badges & cards ---------- */
.range-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 166, 184, 0.1);
  color: #00808f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.6;
}

.product-card {
  border: 1px solid #eceff1;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.08);
  transform: translateY(-2px);
}

.product-card-img {
  max-height: 300px;
  width: auto !important;
  margin: 0 auto;
  object-fit: contain;
}

/* one image per model — the slick thumbnail dots add nothing */
.product-image-slider .slick-dots {
  display: none !important;
}

/* ---------- price ---------- */
.price {
  font-weight: 600;
  color: #101820;
}

.price s {
  font-weight: 400;
  color: #9aa5ad;
  margin-left: 8px;
  font-size: 0.9em;
}

/* ---------- spec tables ---------- */
.spec-table {
  font-size: 13px;
  line-height: 1.5;
}

.spec-table th {
  width: 44%;
  font-weight: 600;
  color: #4a555e;
  padding: 6px 8px 6px 0;
  border-top: 1px solid #eef1f3;
  vertical-align: top;
}

.spec-table td {
  padding: 6px 0;
  border-top: 1px solid #eef1f3;
  vertical-align: top;
}

.spec-table tr:first-child th,
.spec-table tr:first-child td {
  border-top: 0;
}

/* ---------- long-form pages ---------- */
.page-content h2 {
  font-size: 24px;
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.page-content h3 {
  font-size: 19px;
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

.page-content p,
.page-content li {
  color: #4a555e;
  line-height: 1.75;
}

.page-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
  list-style: disc;
}

.page-content li {
  margin-bottom: 0.35rem;
}

.page-content table {
  width: 100%;
  margin: 1.4rem 0 2rem;
  font-size: 14px;
}

.page-content table th,
.page-content table td {
  padding: 9px 12px;
  border-bottom: 1px solid #eef1f3;
  vertical-align: top;
}

.page-content table th {
  font-weight: 600;
  color: #101820;
  background: #f7f9fa;
}

.page-content table td:first-child {
  color: #4a555e;
}

/* ---------- contact list ---------- */
.contact-list a {
  color: #3b4045;
}

.contact-list a:hover {
  color: #00808f;
}

/* ---------- footer ---------- */
footer img {
  max-height: 40px;
  width: auto !important;
}

footer .widget {
  margin-bottom: 0;
}

/* the copyright line carries the legal entity — keep it readable */
footer .copyright-text {
  color: #78838b;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 10px;
}

