/* ===== Product Summary ===== */
.product-page .summary.entry-summary {
  font-size: 15px;
  line-height: 1.65;
}
.product_title {
  font-size: 26px;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: normal;
  letter-spacing: 0.01em;
  margin-bottom: 0.5rem;
}
.summary .price {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ws2-ink);
}
.woocommerce-product-details__short-description {
  font-size: 15px;
  line-height: 1.7;
  margin-top: 0.75rem;
  color: var(--ws2-ink);
}

/* ===== Volume Pricing Card ===== */
.ws-vp {
  background: var(--ws2-paper);
  border: 1px solid var(--ws2-taupe);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 1.25rem 0;
  cursor: default;
}
.ws-vp-head,
.ws-vp-title,
.ws-vp-sub {
  color: var(--ws2-ink);
  cursor: default;
}
.ws-vp-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ws-vp-sub {
  font-size: 13px;
  color: #4b5a53;
}
.ws-vp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.ws-vp-table td,
.ws-vp-table th {
  text-align: left;
  padding: 0.45rem 0.25rem;
  font-size: 14px;
  color: var(--ws2-ink);
  border-bottom: 1px solid #ece5d8;
}
.ws-vp-table tr:last-child td {
  border-bottom: none;
}
.ws-moq-note {
  font-size: 12.5px;
  color: #4b5a53;
  margin-top: 0.5rem;
  cursor: default;
}

/* ===== Reviews Form ===== */
.woocommerce-Tabs-panel--reviews,
#reviews,
#review_form_wrapper,
#respond {
  max-width: 620px;
}
.woocommerce-Tabs-panel--reviews .comment-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.woocommerce-Tabs-panel--reviews .comment-form label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ws2-ink);
  display: block;
  margin-bottom: 0.3rem;
}
.woocommerce-Tabs-panel--reviews .comment-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.woocommerce-Tabs-panel--reviews .comment-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  font-size: 15px;
  border: 1px solid var(--ws2-taupe);
  border-radius: 8px;
  background: var(--ws2-paper);
  color: var(--ws2-ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.woocommerce-Tabs-panel--reviews .comment-form textarea {
  min-height: 140px;
  resize: vertical;
}
.woocommerce-Tabs-panel--reviews .comment-form input:focus,
.woocommerce-Tabs-panel--reviews .comment-form textarea:focus {
  outline: none;
  border-color: var(--ws2-sage);
  box-shadow: 0 0 0 3px rgba(140, 160, 136, 0.3);
}
.woocommerce-Tabs-panel--reviews .comment-form .comment-form-cookies-consent input[type="checkbox"] {
  min-height: auto;
  width: auto;
  margin-right: 0.4rem;
}
.woocommerce-Tabs-panel--reviews .comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.woocommerce-Tabs-panel--reviews .comment-form .comment-form-cookies-consent label {
  display: inline;
  margin-bottom: 0;
  font-size: 13px;
}
.woocommerce-Tabs-panel--reviews .comment-form-rating p.stars {
  font-size: 0;
  line-height: 1;
  display: inline-flex;
  gap: 4px;
}
.woocommerce-Tabs-panel--reviews .comment-form-rating p.stars a {
  font-size: 30px;
  line-height: 1;
  width: auto;
  height: auto;
  display: inline-block;
  color: var(--ws2-taupe);
  text-decoration: none;
  transition: color 120ms ease, transform 120ms ease;
  outline: none;
}
.woocommerce-Tabs-panel--reviews .comment-form-rating p.stars a:hover,
.woocommerce-Tabs-panel--reviews .comment-form-rating p.stars a:focus-visible {
  color: #b5862e;
  transform: scale(1.1);
}
.woocommerce-Tabs-panel--reviews .comment-form-rating p.stars a:focus-visible {
  outline: 2px solid var(--ws2-sage);
  outline-offset: 3px;
  border-radius: 4px;
}
.woocommerce-Tabs-panel--reviews .comment-form-rating p.stars a.active,
.woocommerce-Tabs-panel--reviews .comment-form-rating p.stars a.selected {
  color: #b5862e;
}
.woocommerce-Tabs-panel--reviews #submit {
  background: var(--ws2-ink);
  color: var(--ws2-paper);
  border: 2px solid var(--ws2-ink);
  border-radius: 8px;
  padding: 0.8rem 2rem;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.woocommerce-Tabs-panel--reviews #submit:hover {
  background: #2c3631;
  border-color: #2c3631;
}
.woocommerce-Tabs-panel--reviews #submit:focus-visible {
  outline: 2px solid var(--ws2-sage);
  outline-offset: 3px;
}
.woocommerce-Tabs-panel--reviews #submit:active {
  transform: translateY(1px);
  background: #0d1310;
}

/* ===== Buttons - Base States ===== */
.ws2-button--primary,
.ws2-button--ghost,
.footer-lead .button.button-light,
.wst-quote-btn,
.single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.8rem 1.6rem;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
  background-image: none;
  border: 2px solid transparent;
  outline: none;
}

/* Primary */
.ws2-button--primary,
.single_add_to_cart_button {
  background: var(--ws2-ink);
  color: var(--ws2-paper);
  border-color: var(--ws2-ink);
}
.ws2-button--primary:hover,
.single_add_to_cart_button:hover {
  background: #2c3631;
  border-color: #2c3631;
  color: var(--ws2-paper);
}
.ws2-button--primary:focus-visible,
.single_add_to_cart_button:focus-visible {
  outline: 2px solid var(--ws2-sage);
  outline-offset: 3px;
}
.ws2-button--primary:active,
.single_add_to_cart_button:active {
  background: #0d1310;
  border-color: #0d1310;
  transform: translateY(1px);
}

/* Ghost / Outline */
.ws2-button--ghost,
.wst-quote-btn {
  background: transparent;
  color: var(--ws2-ink);
  border-color: var(--ws2-ink);
}
.ws2-button--ghost:hover,
.wst-quote-btn:hover {
  background: var(--ws2-ink);
  color: var(--ws2-paper);
}
.ws2-button--ghost:focus-visible,
.wst-quote-btn:focus-visible {
  outline: 2px solid var(--ws2-sage);
  outline-offset: 3px;
}
.ws2-button--ghost:active,
.wst-quote-btn:active {
  background: #0d1310;
  border-color: #0d1310;
  color: var(--ws2-paper);
  transform: translateY(1px);
}

/* ===== Footer CTA ===== */
.footer-lead .button.button-light {
  background: transparent;
  color: #fffdf9;
  border-color: #fffdf9;
  position: relative;
}
.footer-lead .button.button-light:hover {
  background: #fffdf9;
  color: var(--ws2-ink);
  border-color: #fffdf9;
}
.footer-lead .button.button-light:focus-visible {
  outline: 2px solid #fffdf9;
  outline-offset: 3px;
}
.footer-lead .button.button-light:active {
  background: #f6f2ea;
  color: var(--ws2-ink);
  border-color: #f6f2ea;
  transform: translateY(1px);
}

/* ===== Arrow on Homepage/Footer CTAs ===== */
.footer-lead .button.button-light::after,
.ws2-custom .ws2-button--primary::after {
  content: "→";
  font-size: 1.1em;
  line-height: 1;
  margin-left: 0.4rem;
  font-weight: 400;
  color: inherit;
}

/* ===== Cart Block: Proceed to Checkout ===== */
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button {
  background-color: #14241d !important;
  border-color: #14241d !important;
  color: #ffffff !important;
}
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button .wc-block-components-button__text {
  color: #ffffff !important;
}
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:active {
  background-color: #dfe9b1 !important;
  border-color: #dfe9b1 !important;
  color: #14241d !important;
}
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:hover .wc-block-components-button__text,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:active .wc-block-components-button__text {
  color: #14241d !important;
}
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:focus-visible {
  outline: 3px solid #14241d !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px #dfe9b1 !important;
}
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:disabled,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button[disabled],
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button[aria-disabled="true"] {
  background-color: #dfe9b1 !important;
  border-color: #dfe9b1 !important;
  color: #14241d !important;
  cursor: not-allowed;
  opacity: 1;
}
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button:disabled .wc-block-components-button__text,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button[disabled] .wc-block-components-button__text,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button[aria-disabled="true"] .wc-block-components-button__text {
  color: #14241d !important;
  opacity: 1;
}

/* ===== Responsive ===== */
@media (min-width: 769px) {
  .product_title {
    font-size: 38px;
    line-height: 1.2;
  }
  .product-page .summary.entry-summary {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .product_title {
    font-size: 26px;
    line-height: 1.25;
  }
  .summary .price {
    font-size: 18px;
  }
  .ws2-button--primary,
  .ws2-button--ghost,
  .footer-lead .button.button-light,
  .wst-quote-btn,
  .single_add_to_cart_button {
    width: 100%;
    max-width: 360px;
    padding: 0.75rem 1.2rem;
  }
  .ws-vp {
    padding: 0.9rem 0.8rem;
  }
  .ws-vp-table td,
  .ws-vp-table th {
    font-size: 13px;
    padding: 0.4rem 0.2rem;
  }
}

@media (max-width: 480px) {
  .product_title {
    font-size: 24px;
  }
  .product-page .summary.entry-summary {
    font-size: 14.5px;
  }
  .woocommerce-product-details__short-description {
    font-size: 14px;
  }
  .summary .price {
    font-size: 17px;
  }
  .ws-vp-title {
    font-size: 14.5px;
  }
  .woocommerce-Tabs-panel--reviews .comment-form-rating p.stars a {
    font-size: 26px;
  }
  .comment-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
  .comment-form textarea {
    font-size: 14px;
  }
  .ws2-button--primary,
  .ws2-button--ghost,
  .footer-lead .button.button-light,
  .wst-quote-btn,
  .single_add_to_cart_button {
    font-size: 14px;
    padding: 0.7rem 1rem;
  }
}

/* Footer contrast and CTA arrow specificity */
.site-footer .footer-lead .button.button-light {
  background: transparent !important;
  color: #fffdf9 !important;
  border-color: #fffdf9 !important;
}

.site-footer .footer-lead .button.button-light:hover,
.site-footer .footer-lead .button.button-light:active {
  background: #fffdf9 !important;
  color: #141b18 !important;
  border-color: #fffdf9 !important;
}

.site-footer .footer-lead .button.button-light:focus-visible {
  outline: 2px solid #fffdf9 !important;
  outline-offset: 2px !important;
}

.footer-lead .button.button-light::after,
.ws2-custom .ws2-button--primary::after {
  content: "\2192";
  margin-left: .5em;
}

/* Typography refinement */
:root {
  --ws2-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ws2-serif: Georgia, "Times New Roman", Times, serif;
}

/* UI / forms / buttons */
body,
input,
select,
textarea,
button,
.ws2-button--primary,
.ws2-button--ghost,
.footer-lead .button.button-light,
.wst-quote-btn,
.single_add_to_cart_button,
.wc-block-cart__submit-button {
  font-family: var(--ws2-sans);
}

/* Buttons: uppercase labels */
.ws2-button--primary,
.ws2-button--ghost,
.footer-lead .button.button-light,
.wst-quote-btn,
.single_add_to_cart_button,
.wc-block-cart__submit-button {
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  font-family: var(--ws2-sans);
}

/* Review form body/labels */
.comment-form,
.comment-form label,
.comment-form input,
.comment-form textarea,
#review_form,
#review_form label,
#review_form input,
#review_form textarea {
  font-family: var(--ws2-sans);
}

/* Product title */
.product_title,
.entry-title.product_title,
h1.product_title {
  font-family: var(--ws2-serif);
}

/* Description matrix labels */
.ws2-description-matrix .ws2-matrix-label,
.ws2-description-matrix dt,
.ws2-description-matrix .label {
  font-family: var(--ws2-serif);
}

/* Description matrix Overview pseudo + h2 labels */
.product-page .woocommerce-tabs .woocommerce-Tabs-panel--description::before,
.product-page .woocommerce-tabs .woocommerce-Tabs-panel--description > h2 {
  font-family: var(--ws2-serif);
  font-size: 18px;
}

@media (min-width: 769px) {
  .product-page .woocommerce-tabs .woocommerce-Tabs-panel--description::before,
  .product-page .woocommerce-tabs .woocommerce-Tabs-panel--description > h2 {
    font-size: 19px;
  }
}

/* Mobile: tighten button label size */
@media (max-width: 768px) {
  .ws2-button--primary,
  .ws2-button--ghost,
  .footer-lead .button.button-light,
  .wst-quote-btn,
  .single_add_to_cart_button,
  .wc-block-cart__submit-button {
    font-size: 12.5px;
  }
}
