/**
 * PK TimberCraft - Custom WooCommerce Styling
 *
 * @package pk
 * @version 1.0.0
 */

/* WooCommerce Container Wrapper */
.woo-container {
  padding-block: var(--space-xl);
}

/* Products Grid */
ul.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0;
}

@media (min-width: 480px) {
  ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  ul.products {
    grid-template-columns: repeat(4, 1fr);
  }
}

ul.products li.product {
  background-color: var(--color-timber-surface);
  border: 1px solid var(--color-timber-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  margin: 0;
  width: 100%;
  float: none;
}

ul.products li.product:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(61, 42, 20, 0.25);
}

ul.products li.product img {
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

ul.products li.product .woocommerce-loop-product__title,
ul.products li.product a,
ul.products li.product a .woocommerce-loop-product__title,
.woocommerce-loop-product__title {
  font-family: var(--font-serif);
  font-size: var(--font-size-md);
  color: #2a1c12;
  margin: 0.25rem 0 0.5rem 0;
  line-height: 1.3;
  text-decoration: none;
}

ul.products li.product a:hover .woocommerce-loop-product__title {
  color: var(--color-timber-deep, #936338);
}

ul.products li.product .price {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-timber-dark);
  margin-bottom: var(--space-sm);
}

ul.products li.product .button {
  margin-top: auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: var(--color-timber-sand);
  color: var(--color-timber-dark);
  font-weight: 600;
  font-size: 13px;
  padding: 0.45rem 1.25rem;
  transition: all var(--transition-fast);
  border: 1.5px solid var(--color-timber-sand);
}

ul.products li.product .button:hover {
  background-color: var(--color-timber-sand-hover);
  border-color: var(--color-timber-sand-hover);
}

/* Sale Flash Badge */
.woocommerce span.onsale {
  background-color: var(--color-timber-dark);
  color: #ffffff;
  font-size: var(--font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: var(--radius-full);
  min-height: auto;
  line-height: 1.2;
  padding: 0.35rem 0.75rem;
  top: 1rem;
  left: 1rem;
  right: auto;
}

/* ==========================================================================
   Luxury Single Product Page Layout (.c-single-product)
   ========================================================================== */
/* Catalog / Category Hero */
.c-catalog-hero {
  background-color: #f2ece3;
  border-bottom: 1px solid var(--color-timber-border, #e5ded4);
  padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
}

.c-single-product-page {
  background-color: #faf8f5;
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
  padding-bottom: clamp(2.5rem, 4vw, 4.5rem);
}

.c-single-product {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

/* 1. Hero Grid: Gallery & Summary */
.c-single-product__hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 992px) {
  .c-single-product__hero {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Gallery Column */
.c-single-product__gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 992px) {
  .c-single-product__gallery {
    position: sticky;
    top: 100px;
  }
}

.c-single-product__main-image-wrap {
  position: relative;
  border-radius: clamp(12px, 2vw, 20px);
  overflow: hidden;
  background-color: #f3efe9;
  border: 1px solid var(--color-timber-border, #e5ded4);
  box-shadow: 0 8px 30px rgba(42, 28, 18, 0.08);
  aspect-ratio: 3 / 4;
}

.c-single-product__main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.c-single-product__badge-pill {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  background-color: rgba(42, 28, 18, 0.88);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full, 9999px);
  backdrop-filter: blur(4px);
}

.c-single-product__zoom-btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  max-width: 38px;
  max-height: 38px;
  aspect-ratio: 1 / 1;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-timber-dark, #2a1c12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  transition: all var(--transition-fast);
}

.c-single-product__zoom-btn svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

.c-single-product__zoom-btn:hover {
  background-color: var(--color-timber-dark, #2a1c12);
  color: #ffffff;
  border-color: var(--color-timber-dark, #2a1c12);
}

/* ==========================================================================
   Quantity Stepper (Single Product)
   ========================================================================== */
.c-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--color-timber-border, #e5ded4);
  border-radius: var(--radius-full, 9999px);
  background-color: var(--color-timber-cream, #f9f7f4);
  padding: 0.2rem;
  height: 48px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.c-qty-stepper__btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--color-timber-dark, #2a1c12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: background-color 150ms ease, color 150ms ease;
}

.c-qty-stepper__btn:hover {
  background-color: var(--color-timber-dark, #2a1c12);
  color: #ffffff;
}

.c-qty-stepper__btn:focus-visible {
  outline: 2px solid var(--color-timber-dark, #2a1c12);
  outline-offset: -2px;
}

.c-qty-stepper__btn:active {
  transform: scale(0.92);
}

.c-qty-stepper__btn svg {
  flex-shrink: 0;
  pointer-events: none;
}

/* Compound selector beats the global input[type="number"] rule */
.c-qty-stepper .c-qty-stepper__input {
  width: 40px;
  min-height: 0;
  height: 36px;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: var(--color-timber-dark, #2a1c12);
  padding: 0;
  margin: 0;
  outline: none;
  line-height: 36px;
  -moz-appearance: textfield;
  -webkit-appearance: none;
  appearance: none;
}

.c-qty-stepper .c-qty-stepper__input:focus {
  border: none;
  box-shadow: none;
  outline: none;
  background: transparent;
}

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


/* Gallery Thumbnails Strip */
.c-single-product__thumbs {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.c-single-product__thumb-btn {
  width: 144px;
  height: 144px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.c-single-product__thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-single-product__thumb-btn:hover {
  transform: translateY(-2px);
}

.c-single-product__thumb-btn.is-active {
  border-color: var(--color-timber-dark, #2a1c12);
  box-shadow: 0 2px 8px rgba(42, 28, 18, 0.15);
}

/* Summary Column */
.c-single-product__summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}
.c-single-product__title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--color-timber-dark, #2a1c12);
  line-height: 1.2;
  margin: 0 0 0.35rem 0;
}

.c-single-product__price-box {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-bottom: 0;
  margin-bottom: var(--space-sm);
}

.c-single-product__price {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 500;
  color: #57534e;
}

.c-single-product__price p.price,
.c-single-product__price .woocommerce-Price-amount {
  color: #57534e;
  font-weight: 500;
}

.c-single-product__short-description {
  margin: 0 0 1rem;
  color: var(--color-timber-muted, #68615b);
  font-size: var(--font-size-sm, 0.9375rem);
  line-height: 1.6;
}

.c-single-product__short-description > :first-child {
  margin-top: 0;
}

.c-single-product__short-description > :last-child {
  margin-bottom: 0;
}

.c-single-product__vat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 12.5px;
  color: var(--color-timber-muted, #78716c);
  font-weight: 500;
}

.c-single-product__short-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #44403c;
  margin-bottom: 1.5rem;
}

/* Product Description & Collection Tab Bar */
.c-specs-tabs {
  margin-bottom: 1rem;
}

.c-specs-tabs__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 1px solid var(--color-timber-border, #e5ded4);
  margin-bottom: 0.85rem;
  padding-bottom: 0;
}

.c-specs-tabs__btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-timber-muted, #78716c);
  margin-bottom: -1px;
  padding: 0.25rem 0 0.35rem;
  border: none;
  position: relative;
  background: transparent;
  background-color: transparent;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none;
}

.c-specs-tabs__btn::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background-color: transparent;
}

.c-specs-tabs__btn:hover,
.c-specs-tabs__btn:focus,
.c-specs-tabs__btn:active {
  color: var(--color-timber-dark, #2a1c12);
  text-decoration: none;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
}

.c-specs-tabs__btn.is-active,
.c-specs-tabs__btn.is-active:hover,
.c-specs-tabs__btn.is-active:focus {
  color: var(--color-timber-dark, #2a1c12);
  text-decoration: none;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
}

.c-specs-tabs__btn.is-active::after {
  background-color: var(--color-timber-dark, #2a1c12);
}

.c-specs-tabs__prose {
  font-size: 14px;
  line-height: 1.6;
  color: #44403c;
  padding-block: 0.25rem;
}

.c-specs-tabs__prose p {
  margin-bottom: 0.5rem;
}

.c-specs-tabs__prose p:last-child {
  margin-bottom: 0;
}

/* Collection Tab Content */
.c-collection-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding-block: 0.25rem;
}

.c-collection-tab__address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-timber-dark, #2a1c12);
  margin: 0;
}

.c-collection-tab__address svg {
  color: var(--color-timber-dark, #2a1c12);
  flex-shrink: 0;
}

.c-collection-tab__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-timber-dark, #2a1c12);
  border: 1px solid var(--color-timber-border, #e5ded4);
  border-radius: 6px;
  background-color: #ffffff;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.c-collection-tab__btn:hover,
.c-collection-tab__btn:focus {
  background-color: var(--color-timber-cream, #f9f7f4);
  border-color: var(--color-timber-dark, #2a1c12);
  color: var(--color-timber-dark, #2a1c12);
  text-decoration: none;
}

/* Timber Quick Specs Grid */
.c-timber-quick-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 1rem;
  box-shadow: none;
}

@media (max-width: 480px) {
  .c-timber-quick-specs {
    grid-template-columns: 1fr;
  }
}

.c-timber-quick-specs__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.c-timber-quick-specs__icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-timber-cream, #f9f7f4);
  border: 1px solid var(--color-timber-border, #e5ded4);
  color: var(--color-timber-dark, #2a1c12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.c-timber-quick-specs__content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.c-timber-quick-specs__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-timber-muted, #78716c);
}

.c-timber-quick-specs__val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-timber-dark, #2a1c12);
}

/* Actions & Cart Form */
.c-single-product__purchase {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-block: 1.25rem 1rem;
}

.c-single-product__cart-form {
  margin: 0;
}

.c-single-product__purchase > .variations_form {
  margin: 0;
}

.c-single-product__action-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.c-single-product__add-btn {
  flex: 1;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  border-radius: var(--radius-full, 9999px);
  background-color: var(--color-timber-sand, #d4af37);
  color: var(--color-timber-dark, #2a1c12);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  border: 1.5px solid var(--color-timber-sand, #d4af37);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(42, 28, 18, 0.12);
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  box-sizing: border-box;
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.c-single-product__add-btn:hover {
  background-color: var(--color-timber-sand-hover, #c29d2b);
  border-color: var(--color-timber-sand-hover, #c29d2b);
}

.woocommerce button.button.alt.c-single-product__add-btn:focus,
.woocommerce button.button.alt.c-single-product__add-btn:focus-visible,
.woocommerce button.button.alt.c-single-product__add-btn:active {
  background-color: var(--color-timber-dark, #2a1c12);
  border-color: var(--color-timber-dark, #2a1c12);
  color: #ffffff;
  opacity: 1;
}

.woocommerce button.button.alt.c-single-product__add-btn:focus-visible {
  outline: 2px solid var(--color-timber-accent, #c4a574);
  outline-offset: 2px;
}

.woocommerce button.button.alt.c-single-product__add-btn[aria-busy="true"],
.woocommerce button.button.alt.c-single-product__add-btn[aria-busy="true"]:hover {
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding: 0.75rem 1.25rem;
  background-color: var(--color-timber-dark, #2a1c12);
  border-color: var(--color-timber-dark, #2a1c12);
  color: #ffffff;
  opacity: 1;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.woocommerce button.button.alt.c-single-product__add-btn:disabled,
.woocommerce button.button.alt.c-single-product__add-btn:disabled:hover,
.woocommerce button.button.alt.c-single-product__add-btn.disabled,
.woocommerce button.button.alt.c-single-product__add-btn.disabled:hover {
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  padding: 0.75rem 1.25rem;
  border-color: var(--color-timber-border, #d8cfc4);
  background-color: #e9e5e0;
  color: #81786f;
  cursor: not-allowed;
  opacity: 1;
  transform: none;
  box-shadow: none;
}

.c-single-product__add-btn[aria-busy="true"] > svg,
.c-single-product__add-btn[aria-busy="true"] > span {
  visibility: hidden;
}

.c-single-product__add-btn[aria-busy="true"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pk-add-to-cart-spin 0.7s linear infinite;
}

@keyframes pk-add-to-cart-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-single-product__add-btn[aria-busy="true"]::after {
    animation: none;
  }
}

@media (max-width: 767px) {
  .c-single-product__action-row {
    flex-wrap: wrap;
  }

  .woocommerce .c-single-product__add-btn {
    flex: 0 0 auto;
    width: initial;
    min-width: initial;
  }
}

a.c-single-product__wa-action-btn,
a.c-single-product__wa-action-btn:hover,
a.c-single-product__wa-action-btn:focus,
a.c-single-product__wa-action-btn:active,
a.c-single-product__wa-action-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: max-content;
  height: 52px;
  padding: 0 25px;
  border-radius: var(--radius-full, 9999px);
  background-color: #25d366;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
  opacity: 1;
  transform: none;
  box-shadow: none;
  white-space: nowrap;
}

/* Trust Grid */
.c-single-product__trust-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-timber-border, #e5ded4);
  margin-top: 1rem;
}

.c-single-product__trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.c-single-product__trust-item svg {
  flex-shrink: 0;
  color: #8c6d48;
  margin-top: 2px;
}

.c-single-product__trust-item div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.c-single-product__trust-item strong {
  font-size: 13px;
  color: var(--color-timber-dark, #2a1c12);
}

.c-single-product__trust-item span {
  font-size: 12px;
  color: var(--color-timber-muted, #78716c);
}

/* 2. Full-Width Tabbed Details Section */
.c-single-product__tabs-section {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.c-single-product__tabs-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--color-timber-border, #e5ded4);
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.c-single-product__tab-btn {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-timber-muted, #78716c);
  padding: 0.85rem 1.25rem;
  border: none;
  background: transparent;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  box-shadow: none;
  transition: color var(--transition-fast);
}

.c-single-product__tab-btn:hover,
.c-single-product__tab-btn:focus,
.c-single-product__tab-btn:active {
  color: var(--color-timber-dark, #2a1c12);
  background: transparent;
  background-color: transparent;
  box-shadow: none;
}

.c-single-product__tab-btn.is-active,
.c-single-product__tab-btn.is-active:hover,
.c-single-product__tab-btn.is-active:focus {
  color: var(--color-timber-dark, #2a1c12);
  background: transparent;
  background-color: transparent;
  box-shadow: none;
}

.c-single-product__tab-btn.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-timber-dark, #2a1c12);
  border-radius: 3px 3px 0 0;
}

.c-single-product__prose {
  font-size: 15px;
  line-height: 1.7;
  color: #44403c;
}

.c-single-product__prose h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-timber-dark, #2a1c12);
  margin: 0 0 1rem 0;
}

.c-single-product__prose ul {
  padding-left: 1.25rem;
  margin-block: 1rem;
}

.c-single-product__prose li {
  margin-bottom: 0.5rem;
}

/* Specifications Table */
.c-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.c-specs-table th,
.c-specs-table td {
  padding: 0.85rem 1.25rem;
  font-size: 14px;
  border-bottom: 1px solid var(--color-timber-border, #e5ded4);
  text-align: left;
}

.c-specs-table th {
  width: 30%;
  font-weight: 700;
  color: var(--color-timber-dark, #2a1c12);
  background-color: #faf8f5;
}

.c-specs-table td {
  color: #44403c;
}

/* 3. Related Products Section */
.c-single-product__related {
  margin-top: 1rem;
}

.c-single-product__related-head {
  text-align: center;
  margin-bottom: 2rem;
}

.c-single-product__related-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-timber-dark, #2a1c12);
  margin: 0 0 0.4rem 0;
}

.c-single-product__related-sub {
  font-size: 14px;
  color: var(--color-timber-muted, #78716c);
  margin: 0;
}

.c-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 1.8vw, 1.5rem);
}

@media (min-width: 580px) {
  .c-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .c-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Universal WooCommerce Buttons & Controls */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .cart .button,
.woocommerce .checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--input-height, 48px);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  background-color: var(--color-timber-sand);
  color: var(--color-timber-dark);
  border: 1.5px solid var(--color-timber-sand);
  transition: all var(--transition-fast);
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .cart .button:hover,
.woocommerce .checkout-button:hover {
  background-color: var(--color-timber-sand-hover);
  border-color: var(--color-timber-sand-hover);
  color: var(--color-timber-dark);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: var(--color-timber-dark);
  border-color: var(--color-timber-dark);
  color: #ffffff;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: var(--color-timber-deep);
  border-color: var(--color-timber-deep);
  color: #ffffff;
}

/* WooCommerce Form Inputs & Selects */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-cart table.cart td.actions .coupon .input-text {
  min-height: var(--input-height, 48px);
  padding: 0.75rem 1.125rem;
  border-radius: var(--radius-input, 10px);
  border: 1.5px solid rgba(61, 42, 20, 0.18);
  background-color: #ffffff;
  color: var(--color-timber-dark);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  box-sizing: border-box;
  transition: border-color var(--transition-fast);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce-cart table.cart td.actions .coupon .input-text:focus {
  outline: none;
  border-color: #936338;
  box-shadow: none;
}

.woocommerce form .form-row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232a1c12' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.125rem center;
  background-size: 16px 16px;
  padding-right: 2.85rem;
  cursor: pointer;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  border-top: none;
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-lg);
}

.woocommerce-message {
  background-color: rgba(212, 196, 168, 0.25);
  border-left: 4px solid var(--color-timber-sand);
  color: var(--color-timber-dark);
}

.woocommerce-error {
  background-color: #fef2f2;
  border-left: 4px solid #b91c1c;
  color: #7f1d1d;
}

.woocommerce-info {
  background-color: #f0f9ff;
  border-left: 4px solid #0284c7;
  color: #0c4a6e;
}

/* ==========================================================================
   Category Navigation Filter Pills
   ========================================================================== */
.c-cat-pills-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.c-cat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full, 9999px);
  background-color: #ffffff;
  color: var(--color-timber-dark, #2a1c12);
  border: 1.5px solid var(--color-timber-border, #e5ded4);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.c-cat-pill:hover {
  background-color: var(--color-timber-sand, #d4c4a8);
  border-color: var(--color-timber-sand, #d4c4a8);
  color: var(--color-timber-dark, #2a1c12);
}

.c-cat-pill.is-active {
  background-color: var(--color-timber-dark, #2a1c12);
  border-color: var(--color-timber-dark, #2a1c12);
  color: #ffffff;
}

/* ==========================================================================
   Timber Custom Options & Workshop Services (Single Product)
   ========================================================================== */
.c-timber-options {
  margin-block: 0 1rem;
  padding: 0.875rem;
  border: 1px solid var(--color-timber-border);
  border-inline-start: 3px solid var(--color-timber-accent);
  border-radius: var(--radius-lg);
  background: var(--color-timber-light-brown);
  box-shadow: var(--shadow-sm);
}

.c-timber-options__header {
  margin-bottom: 0.75rem;
}

.c-timber-options__badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8c6d48;
  margin-bottom: 0.35rem;
}

.c-timber-options__title {
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-timber-dark);
  margin: 0;
  line-height: 1.25;
}

.c-workshop-services-list {
  display: grid;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-timber-text);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.c-workshop-services-list li {
  position: relative;
  padding: 0.625rem 0.75rem 0.625rem 1.75rem;
  border: 1px solid var(--color-timber-border-light);
  border-radius: var(--radius-md);
  background: var(--color-timber-surface);
  font-weight: 600;
}

.c-workshop-services-list li::before {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: var(--radius-full);
  background: var(--color-timber-accent);
  content: '';
  transform: translateY(-50%);
}

@media (min-width: 480px) {
  .c-workshop-services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.c-timber-options__subtitle {
  font-size: 13px;
  color: var(--color-timber-muted, #78716c);
  line-height: 1.45;
  margin: 0;
}

.c-timber-options__specs {
  margin-top: 0.75rem;
  padding: 0.5rem 0.85rem;
  background-color: var(--color-timber-cream, #f9f7f4);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--color-timber-dark, #2a1c12);
}

.c-timber-options__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.c-service-card {
  border: 1.5px solid var(--color-timber-border, #e5ded4);
  border-radius: 12px;
  background-color: #ffffff;
  padding: 1rem;
  transition: all var(--transition-fast);
}

.c-service-card:hover {
  border-color: rgba(42, 28, 18, 0.3);
}

.c-service-card:has(input:checked) {
  border-color: var(--color-timber-dark, #2a1c12);
  background-color: #faf8f5;
  box-shadow: 0 2px 8px rgba(42, 28, 18, 0.06);
}

.c-service-card__label {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  cursor: pointer;
  margin: 0;
}

.c-service-card__checkbox {
  width: 19px;
  height: 19px;
  accent-color: var(--color-timber-dark, #2a1c12);
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
}

.c-service-card__info {
  flex: 1;
}

.c-service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.c-service-card__name {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-timber-dark, #2a1c12);
}

.c-service-card__price {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  background-color: var(--color-timber-sand, #d4c4a8);
  color: var(--color-timber-dark, #2a1c12);
  border-radius: var(--radius-full, 9999px);
  white-space: nowrap;
}

.c-service-card__desc {
  font-size: 12.5px;
  color: var(--color-timber-muted, #78716c);
  line-height: 1.4;
  margin: 0;
}

.c-service-card__extra {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--color-timber-border, #e5ded4);
}

/* ==========================================================================
   Checkout — quiet forms and a compact, warm order summary.
   Keep WooCommerce's native fields, validation and mobile summary disclosure.
   ========================================================================== */
.woocommerce-checkout {
  background: var(--color-timber-cream);
}

.woocommerce-checkout #primary { width: 100%; }

.woocommerce-checkout article.page {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: var(--space-xl) var(--container-gutter) var(--space-2xl);
}

.woocommerce-checkout .entry-header {
  margin: 0 0 1.5rem;
  padding: 0;
  text-align: left;
}

.woocommerce-checkout .entry-title {
  margin: 0;
  color: var(--color-timber-dark);
  font-family: var(--font-serif);
  font-size: var(--font-size-h1);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.woocommerce-checkout .entry-content {
  display: grid;
  gap: var(--space-md);
  margin: 0;
}

.woocommerce-checkout .wp-block-woocommerce-checkout { margin: 0; }

/* Keep dynamically inserted checkout errors evenly spaced between the
   collection banner and checkout columns without stacking margins. */
.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-notices:not(:empty) {
  display: grid;
  gap: var(--space-sm);
  margin: 0;
  padding-bottom: var(--space-md);
}

.woocommerce-checkout .wp-block-woocommerce-checkout > .wc-block-components-notices .wc-block-components-notice-banner {
  margin: 0;
}

.woocommerce-checkout .wp-block-woocommerce-checkout {
  max-width: none;
  padding-top: 0;
}

.woocommerce-checkout .wc-block-components-sidebar-layout {
  align-items: flex-start;
  gap: var(--space-lg);
}

.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-main {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--color-timber-border);
  border-radius: var(--radius-lg);
  background: var(--color-timber-surface);
  box-shadow: none;
  outline: none;
  counter-reset: pk-checkout-section;
}

.woocommerce-checkout .wc-block-components-sidebar-layout .wc-block-components-sidebar {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-timber-border);
  border-radius: var(--radius-lg);
  background: var(--color-timber-surface);
  box-shadow: none;
  outline: none;
  overflow: hidden;
}

/* WooCommerce inserts blocks between fieldsets, so sibling spacing must not
   depend on the fieldsets being immediately adjacent. */
.woocommerce-checkout .pk-checkout-details .wc-block-components-checkout-step,
.woocommerce-checkout .wc-block-components-main .wc-block-components-checkout-step {
  margin: 0 0 1.5rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--color-timber-border-light);
}

.woocommerce-checkout .pk-checkout-details .wc-block-components-checkout-step:last-child,
.woocommerce-checkout .pk-checkout-details > :last-child,
.woocommerce-checkout .wc-block-components-main .wc-block-components-checkout-step:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading-container {
  margin-bottom: 1rem;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading { margin: 0; }
.woocommerce-checkout .wc-block-components-checkout-step__content { padding: 0; }

.woocommerce-checkout .wc-block-components-checkout-step__heading h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: var(--color-timber-dark);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
  text-transform: none;
}

.woocommerce-checkout .wc-block-components-checkout-step__heading h2::before {
  content: counter(pk-checkout-section, decimal-leading-zero);
  counter-increment: pk-checkout-section;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-timber-cream);
  color: var(--color-timber-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0;
}

.woocommerce-checkout .wc-block-components-checkout-step__description,
.woocommerce-checkout .wc-block-checkout__guest-checkout-notice {
  color: var(--color-timber-muted);
  font-size: var(--font-size-xs);
  line-height: 1.6;
}

.woocommerce-checkout .wc-block-components-text-input,
.woocommerce-checkout .wc-blocks-components-select,
.woocommerce-checkout .wc-block-components-combobox,
.woocommerce-checkout .wc-block-components-textarea {
  margin-top: 1rem;
}

.woocommerce-checkout .wc-block-components-address-form > :first-child,
.woocommerce-checkout .wc-block-checkout__form .wc-block-components-address-form__country .wc-blocks-components-select,
.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form .wc-block-components-select-input:first-child + .wc-block-components-text-input,
.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form .wc-block-components-state-input:first-child + .wc-block-components-text-input,
.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-address-form .wc-block-components-text-input:first-child + .wc-block-components-text-input,
.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-address-form .wc-block-components-select-input:first-child + .wc-block-components-text-input,
.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-address-form .wc-block-components-state-input:first-child + .wc-block-components-text-input,
.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-address-form .wc-block-components-text-input:first-child + .wc-block-components-text-input {
  margin-top: 0;
}

.woocommerce-checkout .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-text-input__wrapper {
  display: flex;
  flex-direction: column;
  line-height: normal;
  white-space: normal;
  position: relative;
}

.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__container {
  display: flex;
  flex-direction: column;
  position: relative;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: normal;
  outline: none;
  box-shadow: none;
}

/* Checkout Form Controls - Vertical centering and styling matching login popup (.pk-auth form input) */
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type=text],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type=email],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type=tel],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type=number],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type=password],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type=url],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input:-webkit-autofill,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type=text],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type=email],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type=tel],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type=number],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type=password],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type=url],
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input:focus-visible,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input:focus-visible,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type=text]:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type=email]:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type=tel]:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type=number]:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type=password]:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active input[type=url]:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input:-webkit-autofill:focus,
.woocommerce-checkout .wc-block-components-text-input input[type],
.woocommerce-checkout .wc-block-components-text-input.is-active input[type],
.woocommerce-checkout .wc-block-components-text-input input:-webkit-autofill,
.woocommerce-checkout .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input:focus,
.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row input.input-text:focus {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--color-timber-border);
  border-radius: var(--radius-input);
  background-color: var(--color-timber-cream);
  color: var(--color-timber-dark);
  font: 16px var(--font-sans);
  line-height: normal;
  outline: none;
  box-shadow: none;
  transition: border-color var(--transition-fast);
}

.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus-visible,
.woocommerce-checkout .wc-blocks-components-select.is-active .wc-blocks-components-select__select,
.woocommerce-checkout .wc-blocks-components-select.is-active .wc-blocks-components-select__select:focus,
.woocommerce-checkout .wc-block-checkout__form .wc-blocks-components-select .wc-blocks-components-select__select,
.woocommerce-checkout .wc-block-checkout__form .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.woocommerce-checkout form .form-row select,
.woocommerce-checkout form .form-row select:focus {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 12px 38px 12px 14px;
  border: 1px solid var(--color-timber-border);
  border-radius: var(--radius-input);
  background-color: var(--color-timber-cream);
  color: var(--color-timber-dark);
  font: 16px var(--font-sans);
  line-height: normal;
  outline: none;
  box-shadow: none;
  transition: border-color var(--transition-fast);
}

.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__expand {
  position: absolute;
  top: auto;
  bottom: 24px;
  right: 14px;
  transform: translateY(50%);
  fill: var(--color-timber-dark);
  pointer-events: none;
}

.woocommerce-checkout textarea,
.woocommerce-checkout textarea.wc-block-components-textarea,
.woocommerce-checkout .wc-block-components-textarea,
.woocommerce-checkout .wc-block-checkout__add-note textarea,
.woocommerce-checkout .wc-block-checkout__add-note .wc-block-components-textarea,
.woocommerce-checkout form .form-row textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: auto;
  min-height: 96px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--color-timber-border);
  border-radius: var(--radius-input);
  background-color: var(--color-timber-cream);
  color: var(--color-timber-dark);
  font: 16px var(--font-sans);
  line-height: 1.5;
  outline: none;
  box-shadow: none;
  resize: vertical;
  transition: border-color var(--transition-fast);
}

.woocommerce-checkout textarea::placeholder,
.woocommerce-checkout .wc-block-components-textarea::placeholder {
  color: var(--color-timber-muted);
  opacity: 1;
}

.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input:focus-visible,
.woocommerce-checkout .wc-block-components-text-input input[type]:focus,
.woocommerce-checkout .wc-block-components-text-input input[type]:focus-visible,
.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input:focus,
.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input:focus-visible,
.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus-visible,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout textarea:focus-visible,
.woocommerce-checkout .wc-block-components-textarea:focus,
.woocommerce-checkout .wc-block-components-textarea:focus-visible,
.woocommerce-checkout .wc-block-checkout__add-note textarea:focus,
.woocommerce-checkout .wc-block-checkout__add-note textarea:focus-visible,
.woocommerce-checkout .wc-block-checkout__add-note .wc-block-components-textarea:focus,
.woocommerce-checkout .wc-block-checkout__add-note .wc-block-components-textarea:focus-visible,
.woocommerce-checkout form .form-row input.input-text:focus,
.woocommerce-checkout form .form-row select:focus,
.woocommerce-checkout form .form-row textarea:focus,
.woocommerce-checkout form .form-row textarea:focus-visible {
  border: 1px solid var(--color-timber-dark);
  outline: none;
  box-shadow: none;
}

/* Global removal of all outlines and box-shadows from checkout inputs, controls, and boxes */
.woocommerce-checkout,
.woocommerce-checkout *,
.woocommerce-checkout *::before,
.woocommerce-checkout *::after {
  --wc-block-components-input-box-shadow: none;
}

.woocommerce-checkout .wc-block-components-main,
.woocommerce-checkout .wc-block-components-sidebar,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
.woocommerce-checkout .wc-block-components-panel,
.woocommerce-checkout .wc-block-components-checkout-step,
.woocommerce-checkout .wc-block-checkout__payment-method,
.woocommerce-checkout .wc-block-components-radio-control-accordion-option,
.woocommerce-checkout .wc-block-components-radio-control-accordion-content,
.woocommerce-checkout .wc-block-components-notice-banner,
.woocommerce-checkout .c-checkout-collection-notice,
.woocommerce-checkout .wc-block-components-totals-wrapper {
  box-shadow: none;
  outline: none;
}

.woocommerce-checkout input,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-text-input input[type],
.woocommerce-checkout .wc-block-components-combobox,
.woocommerce-checkout .wc-block-components-combobox input,
.woocommerce-checkout .wc-blocks-components-select,
.woocommerce-checkout .wc-blocks-components-select__select,
.woocommerce-checkout .wc-blocks-components-select__container,
.woocommerce-checkout .wc-block-components-textarea,
.woocommerce-checkout .wc-block-components-textarea textarea,
.woocommerce-checkout .wc-block-components-totals-coupon__form input,
.woocommerce-checkout .wc-block-components-checkbox__input,
.woocommerce-checkout .wc-block-components-radio-control__input {
  box-shadow: none;
  outline: none;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout input:focus-visible,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout textarea:focus-visible,
.woocommerce-checkout select:focus,
.woocommerce-checkout select:focus-visible,
.woocommerce-checkout .wc-block-components-text-input input[type]:focus,
.woocommerce-checkout .wc-block-components-text-input input[type]:focus-visible,
.woocommerce-checkout .wc-block-components-combobox input:focus,
.woocommerce-checkout .wc-block-components-combobox input:focus-visible,
.woocommerce-checkout .wc-blocks-components-select__select:focus,
.woocommerce-checkout .wc-blocks-components-select__select:focus-visible,
.woocommerce-checkout .wc-block-components-textarea:focus,
.woocommerce-checkout .wc-block-components-textarea:focus-visible,
.woocommerce-checkout .wc-block-components-textarea:focus-within,
.woocommerce-checkout .wc-block-components-textarea textarea:focus,
.woocommerce-checkout .wc-block-components-textarea textarea:focus-visible,
.woocommerce-checkout .wc-block-components-totals-coupon__form input:focus,
.woocommerce-checkout .wc-block-components-totals-coupon__form input:focus-visible,
.woocommerce-checkout .wc-block-components-checkbox__input:focus,
.woocommerce-checkout .wc-block-components-checkbox__input:focus-visible,
.woocommerce-checkout .wc-block-components-radio-control__input:focus,
.woocommerce-checkout .wc-block-components-radio-control__input:focus-visible {
  box-shadow: none;
  outline: none;
}

/* Retain a distinct error state after the base input treatment. */
.woocommerce-checkout .wc-block-components-text-input.has-error input[type] {
  border-color: #b32d2e;
}

/* Checkout Form Labels - Positioned above fields matching login popup (.pk-auth form label) */
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-text-input__wrapper label,
.woocommerce-checkout .wc-blocks-components-select label,
.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__label,
.woocommerce-checkout .wc-block-components-combobox label,
.woocommerce-checkout .wc-block-components-combobox .components-base-control__label,
.woocommerce-checkout .wc-block-components-textarea label,
.woocommerce-checkout form .form-row:not(.woocommerce-invalid-required-field) > label:not(.checkbox) {
  order: -1;
  display: block;
  position: static;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0 0 7px;
  max-width: 100%;
  color: var(--color-timber-dark);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  transform: none;
  transform-origin: initial;
  transition: none;
  cursor: default;
}

/* Mark the fields WooCommerce Blocks validates as required. */
.woocommerce-checkout .wc-block-components-text-input:has(input:required) label::after,
.woocommerce-checkout .wc-blocks-components-select:has(select:required) label::after,
.woocommerce-checkout .wc-block-components-combobox:has(input:required) label::after,
.woocommerce-checkout .wc-block-components-address-form__country .wc-blocks-components-select__label::after {
  content: " *";
  color: #b32d2e;
}

/* Ensure active/focused/autofilled states do not float or shrink labels */
.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input.is-active label,
.woocommerce-checkout .wc-block-components-text-input.is-active label,
.woocommerce-checkout .wc-block-components-text-input:not(.is-active) label,
.woocommerce-checkout .wc-block-components-text-input input:-webkit-autofill + label,
.woocommerce-checkout .wc-blocks-components-select.is-active label,
.woocommerce-checkout .wc-blocks-components-select.is-active .wc-blocks-components-select__label {
  position: static;
  top: auto;
  left: auto;
  margin: 0 0 7px;
  color: var(--color-timber-dark);
  font-size: 13px;
  font-weight: 600;
  transform: none;
}

.woocommerce-checkout .wc-block-components-address-form__address_2-toggle {
  min-height: initial;
  margin-top: 0.25rem;
  color: var(--color-timber-brown-accent);
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.woocommerce-checkout .wc-block-components-checkbox label {
  min-height: var(--touch-target-min);
  align-items: center;
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label {
  color: var(--color-timber-dark);
  font-size: var(--font-size-sm);
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-notice-banner {
  border-radius: var(--radius-input);
  line-height: 1.6;
}

.woocommerce-checkout .wc-block-checkout__order-notes {
  margin-bottom: 0;
  padding-bottom: 0;
  border: 0;
}

/* Always show the order-notes textarea — hide the checkbox toggle. */
.woocommerce-checkout .wc-block-checkout__add-note {
  gap: 0;
}

.woocommerce-checkout .wc-block-checkout__add-note .wc-block-components-checkbox {
  display: none;
}

.woocommerce-checkout .wc-block-checkout__add-note .wc-block-components-textarea {
  display: block;
  margin-top: 0;
}

/* Visible label above the always-open textarea. */
.woocommerce-checkout .wc-block-checkout__add-note::before {
  content: "Order Notes";
  display: block;
  margin-bottom: 7px;
  color: var(--color-timber-dark);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block,
.woocommerce-checkout .wc-block-checkout__additional-fields {
  margin: 0;
  padding: 0;
  border: 0;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-checkout__additional-fields-title,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkout-step__title,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkout-step__heading,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkout-step__heading-container,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkout-step__description,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkout-step__title,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkout-step__heading,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkout-step__heading-container,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkout-step__description,
.woocommerce-checkout .wc-block-checkout__order-fields .wc-block-components-checkout-step__title,
.woocommerce-checkout .wc-block-checkout__order-fields .wc-block-components-checkout-step__heading,
.woocommerce-checkout .wc-block-checkout__order-fields .wc-block-components-checkout-step__heading-container,
.woocommerce-checkout .wc-block-checkout__order-fields .wc-block-components-checkout-step__description,
.woocommerce-checkout #order-fields .wc-block-components-checkout-step__title,
.woocommerce-checkout #order-fields .wc-block-components-checkout-step__heading,
.woocommerce-checkout #order-fields .wc-block-components-checkout-step__heading-container,
.woocommerce-checkout #order-fields .wc-block-components-checkout-step__description {
  display: none;
  margin: 0;
  padding: 0;
  height: 0;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkout-step,
.woocommerce-checkout .wc-block-checkout__additional-fields.wc-block-components-checkout-step,
.woocommerce-checkout .wc-block-checkout__order-fields.wc-block-components-checkout-step,
.woocommerce-checkout #order-fields.wc-block-components-checkout-step,
.woocommerce-checkout .wc-block-checkout__order-fields,
.woocommerce-checkout #order-fields {
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-bottom: 0;
  padding: 0;
  border: 0;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkout-step__container,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkout-step__content,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkout-step__container,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkout-step__content,
.woocommerce-checkout .wc-block-checkout__order-fields .wc-block-components-checkout-step__container,
.woocommerce-checkout .wc-block-checkout__order-fields .wc-block-components-checkout-step__content,
.woocommerce-checkout #order-fields .wc-block-components-checkout-step__container,
.woocommerce-checkout #order-fields .wc-block-components-checkout-step__content {
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0;
  border: 0;
}

.woocommerce-checkout .wc-block-checkout__order-fields .wc-block-components-checkout-step__content > *,
.woocommerce-checkout #order-fields .wc-block-components-checkout-step__content > * {
  margin-bottom: 0;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-terms-block,
.woocommerce-checkout .wc-block-checkout__terms {
  margin: 0;
  margin-block-start: 0;
  color: var(--color-timber-muted);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.woocommerce-checkout .wc-block-checkout__terms.wc-block-checkout__terms--with-separator {
  border-top: 0;
  padding-top: 0;
}

.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkbox,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkbox,
.woocommerce-checkout .wc-block-checkout__use-address-for-billing,
.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-checkbox,
.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-checkbox {
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}

.woocommerce-checkout .wc-block-checkout__use-address-for-billing,
.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-checkbox {
  margin-top: 1rem;
}

.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox label,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkbox label,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkbox label,
.woocommerce-checkout .wc-block-checkout__use-address-for-billing label,
.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-checkbox label,
.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-checkbox label {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  min-height: auto;
  padding: 2px 0;
  margin: 0;
}

.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__input,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkbox__input,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkbox__input,
.woocommerce-checkout .wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__input,
.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-checkbox__input,
.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-checkbox__input {
  appearance: none;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 1px 0 0;
  padding: 0;
  border: 2px solid var(--color-timber-muted);
  border-radius: 4px;
  background: var(--color-timber-surface);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__input:checked,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkbox__input:checked,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkbox__input:checked,
.woocommerce-checkout .wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__input:checked,
.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-checkbox__input:checked,
.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-checkbox__input:checked {
  border-color: var(--color-timber-dark);
  background: var(--color-timber-dark);
}

.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__input:focus-visible,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkbox__input:focus-visible,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkbox__input:focus-visible,
.woocommerce-checkout .wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__input:focus-visible,
.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-checkbox__input:focus-visible,
.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-checkbox__input:focus-visible {
  outline: 3px solid var(--color-timber-sand);
  outline-offset: 2px;
}

.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__mark,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkbox__mark,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkbox__mark,
.woocommerce-checkout .wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__mark,
.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-checkbox__mark,
.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-checkbox__mark {
  top: 4px;
  left: 3px;
  width: 14px;
  height: 14px;
  margin: 0;
  fill: #ffffff;
  pointer-events: none;
}

.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__label,
.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block .wc-block-components-checkbox__label,
.woocommerce-checkout .wc-block-checkout__additional-fields .wc-block-components-checkbox__label,
.woocommerce-checkout .wc-block-checkout__use-address-for-billing .wc-block-components-checkbox__label,
.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-checkbox__label,
.woocommerce-checkout .wc-block-checkout__billing-fields .wc-block-components-checkbox__label {
  color: var(--color-timber-dark);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.45;
}

.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__label a {
  color: var(--color-timber-brown-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-checkbox__label a:hover {
  color: var(--color-timber-dark);
}

.woocommerce-checkout .wc-block-checkout__terms .wc-block-components-validation-error {
  margin-top: 0.4rem;
  color: #b32d2e;
  font-size: var(--font-size-xs);
  font-weight: 600;
}

.woocommerce-checkout .pk-checkout-marketing-opt-in {
  margin: 1rem 0 0.5rem;
}

.woocommerce-checkout .pk-checkout-marketing-opt-in label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  min-height: var(--touch-target-min);
  color: var(--color-timber-dark);
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.45;
}

.woocommerce-checkout .pk-checkout-marketing-opt-in input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
}


.woocommerce-checkout .wc-block-components-checkout-place-order-button,
.woocommerce-checkout .wc-block-components-totals-coupon__form button {
  min-height: 52px;
  border: 1px solid var(--color-timber-dark);
  border-radius: var(--radius-full);
  background: var(--color-timber-dark);
  color: var(--color-timber-surface);
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 700;
  box-shadow: none;
  transition: background-color var(--transition-fast);
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover:not(:disabled),
.woocommerce-checkout .wc-block-components-totals-coupon__form button:hover:not(:disabled) {
  background: var(--color-timber-brown-accent);
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:disabled {
  background: var(--color-timber-border);
  border-color: transparent;
  color: var(--color-timber-muted);
  cursor: not-allowed;
}

/* One padding layer: core's nested totals otherwise create a narrow column
   inside the summary and empty discount/fee blocks leave phantom rules. */
/* Order summary container */
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
  gap: 0.75rem;
  margin: 0;
  padding: 1.25rem;
  border: 0;
  background: var(--color-timber-light-brown);
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
  margin: 0;
  color: var(--color-timber-dark);
  font-family: var(--font-serif);
  font-size: var(--font-size-md);
  font-weight: 400;
  letter-spacing: -0.025em;
  text-transform: none;
}

/* Base totals wrapper reset */
.woocommerce-checkout .wc-block-components-totals-wrapper {
  margin: 0;
  padding: 0.625rem 1.25rem;
  border: 0;
}

.woocommerce-checkout .wc-block-components-totals-wrapper:empty { display: none; }

/* Cart items list section */
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block .wc-block-components-totals-wrapper {
  padding: 0.5rem 1.25rem 0.25rem;
  border-top: none;
}

.woocommerce-checkout .wc-block-components-order-summary {
  margin: 0;
  padding: 0;
}

.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  margin: 0;
  border-bottom: 1px solid var(--color-timber-border-light);
}

.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item:last-child {
  border-bottom: none;
}

.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image {
  flex: 0 0 54px;
  width: 54px;
  margin: 0;
  padding: 0;
  position: static;
}

.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image > img {
  width: 54px;
  max-width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

/* Quantity label — positioned cleanly above the price on the right, completely off the image */
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
  position: absolute;
  top: 0.6rem;
  right: 0;
  left: auto;
  transform: none;
  display: inline-flex;
  align-items: baseline;
  z-index: 1;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  color: var(--color-timber-muted);
  font-family: var(--font-sans);
  font-size: var(--font-size-xs);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity::before {
  content: "Qty: ";
  color: var(--color-timber-muted);
  font-family: var(--font-sans);
  font-size: var(--font-size-xs);
  font-weight: 500;
  margin-right: 0.15rem;
}

/* Explicitly override WooCommerce's white badge text color (#fff) so the number is visible */
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity span,
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity .wc-block-components-label {
  color: var(--color-timber-dark);
  font-family: var(--font-sans);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 0;
}

.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity .screen-reader-text {
  display: none;
}

/* Product description column */
.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__description {
  flex: 1;
  min-width: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name {
  color: var(--color-timber-dark);
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.woocommerce-checkout .wc-block-cart-item__prices {
  margin: 0;
  padding: 0;
}

.woocommerce-checkout .wc-block-components-product-price {
  color: var(--color-timber-muted);
  font-size: var(--font-size-xs);
  line-height: 1.35;
}

.woocommerce-checkout .wc-block-components-product-metadata__description { display: none; }

/* Line total price on the right — positioned directly below Qty */
.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
  flex: 0 0 auto;
  text-align: right;
  padding-top: 1rem;
}

.woocommerce-checkout .wc-block-components-order-summary-item__total-price .wc-block-components-product-price {
  color: var(--color-timber-dark);
  font-size: var(--font-size-sm);
  font-weight: 700;
  white-space: nowrap;
}

/* Coupon block — border above add coupons */
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
  border-top: 1px solid var(--color-timber-border);
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-wrapper {
  padding: 0.75rem 1.25rem;
  border-top: none;
}

.woocommerce-checkout .wc-block-components-totals-coupon {
  margin: 0;
  padding: 0;
}

.woocommerce-checkout .wc-block-components-panel__button {
  min-height: auto;
  margin: 0;
  padding: 0;
  color: var(--color-timber-brown-accent);
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.woocommerce-checkout .wc-block-components-panel__button:hover {
  color: var(--color-timber-dark);
}

/* Coupon expanded form — code field bigger, apply button back to initial compact width */
.woocommerce-checkout .wc-block-components-panel__content {
  padding-top: 0.75rem;
}

.woocommerce-checkout .wc-block-components-totals-coupon__content {
  gap: 0.75rem;
}

.woocommerce-checkout .wc-block-components-totals-coupon__form {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}

.woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input {
  flex: 1 1 auto;
  width: auto;
  margin: 0;
}

.woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input input[type],
.woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input.is-active input[type],
.woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input input[type]:focus,
.woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-text-input.is-active input[type]:focus {
  width: 100%;
  min-height: 48px;
  height: 48px;
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
  line-height: normal;
}

.woocommerce-checkout .wc-block-components-totals-coupon__form button,
.woocommerce-checkout .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
  flex: 0 0 auto;
  width: auto;
  min-height: 48px;
  height: 48px;
  padding: 0 1.25rem;
  font-size: var(--font-size-sm);
  white-space: nowrap;
}

/* Totals rows (Subtotal, Shipping, Taxes, Fees) */
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block {
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0.4rem 0;
  border-top: 1px solid var(--color-timber-border);
  border-bottom: none;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block > *,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-subtotal-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-fee-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-discount-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-shipping-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-taxes-block {
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0;
  border: none;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-wrapper,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-subtotal-block .wc-block-components-totals-wrapper,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-fee-block .wc-block-components-totals-wrapper,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-discount-block .wc-block-components-totals-wrapper,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-shipping-block .wc-block-components-totals-wrapper,
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-taxes-block .wc-block-components-totals-wrapper {
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0.25rem 1.25rem;
  border: none;
}

.woocommerce-checkout .wc-block-components-totals-shipping,
.woocommerce-checkout .wc-block-components-totals-shipping .wc-block-components-totals-item,
.woocommerce-checkout .wc-block-components-totals-shipping p,
.woocommerce-checkout .wc-block-components-totals-shipping .wc-block-components-totals-shipping__options {
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0;
  line-height: 1.4;
}

.woocommerce-checkout .wc-block-components-totals-item__label,
.woocommerce-checkout .wc-block-components-totals-item__value {
  color: var(--color-timber-dark);
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  line-height: 1.4;
}

.woocommerce-checkout .wc-block-components-totals-item__value {
  font-weight: 600;
}

/* Final Total row — remove margin-top */
.woocommerce-checkout .wc-block-components-totals-wrapper:has(> .wc-block-components-totals-footer-item),
.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block > .wc-block-components-totals-wrapper:last-child {
  padding: 1rem 1.25rem;
  margin: 0;
  margin-top: 0;
  background: var(--color-timber-light-brown);
  border-top: 1px solid var(--color-timber-border);
}

.woocommerce-checkout .wc-block-components-totals-footer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0;
}

.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--color-timber-dark);
  line-height: 1.4;
}

.woocommerce-checkout .wc-block-components-sidebar-layout:has(.pk-checkout-details) {
  margin: 0;
}

.woocommerce-checkout .wc-block-components-main:has(.pk-checkout-details) {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.woocommerce-checkout .wc-block-checkout__form:has(.pk-checkout-details) {
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

.pk-checkout-details,
.pk-checkout-review {
  min-width: 0;
  border: 1px solid var(--color-timber-border);
  border-radius: var(--radius-lg);
  background: var(--color-timber-surface);
}

.pk-checkout-details { padding: clamp(1rem, 3vw, 2rem); }
.pk-checkout-review { overflow: hidden; }

.woocommerce-checkout .wc-block-components-sidebar-layout:has(.pk-checkout-details) > .wc-block-components-sidebar,
.pk-checkout-review .checkout-order-summary-block-fill-wrapper { display: none; }

.woocommerce-checkout .pk-checkout-review,
.woocommerce-checkout .pk-checkout-review > *,
.woocommerce-checkout .pk-checkout-review > * + *,
.woocommerce-checkout .pk-checkout-review .wp-block-woocommerce-checkout-order-summary-block,
.woocommerce-checkout .pk-checkout-review .wp-block-woocommerce-checkout-payment-block,
.woocommerce-checkout .pk-checkout-review .wp-block-woocommerce-checkout-additional-information-block,
.woocommerce-checkout .pk-checkout-review .wp-block-woocommerce-checkout-terms-block,
.woocommerce-checkout .pk-checkout-review .wp-block-woocommerce-checkout-actions-block {
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}

.woocommerce-checkout .pk-checkout-review .wp-block-woocommerce-checkout-payment-block,
.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block {
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0;
  border: none;
}

.woocommerce-checkout .wc-block-checkout__payment-method,
.woocommerce-checkout #payment-method,
.woocommerce-checkout .pk-checkout-review .wc-block-checkout__payment-method,
.woocommerce-checkout .pk-checkout-review #payment-method {
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--color-timber-border);
  border-top: none;
}

.woocommerce-checkout .wc-block-checkout__payment-method.wc-block-components-checkout-step,
.woocommerce-checkout #payment-method.wc-block-components-checkout-step,
.woocommerce-checkout .pk-checkout-review .wc-block-checkout__payment-method.wc-block-components-checkout-step,
.woocommerce-checkout .pk-checkout-review #payment-method.wc-block-components-checkout-step {
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding-bottom: 0.75rem;
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__container,
.woocommerce-checkout #payment-method .wc-block-components-checkout-step__container,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__content,
.woocommerce-checkout #payment-method .wc-block-components-checkout-step__content,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-payment-methods,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control {
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0;
  border: none;
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__content > *,
.woocommerce-checkout #payment-method .wc-block-components-checkout-step__content > * {
  margin-bottom: 0;
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__heading-container,
.woocommerce-checkout #payment-method .wc-block-components-checkout-step__heading-container {
  margin: 0 0 0.75rem;
  padding: 0;
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__heading,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-checkout-step__title,
.woocommerce-checkout #payment-method .wc-block-components-checkout-step__heading,
.woocommerce-checkout #payment-method .wc-block-components-checkout-step__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-timber-dark);
  line-height: 1.3;
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control--highlight-checked,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option {
  position: relative;
}

/* Eliminate WooCommerce pseudo-elements that create broken, open-ended borders */
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control--highlight-checked:after,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control--highlight-checked::after,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:after,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option::after,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option:after,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option::after {
  display: none;
  content: none;
  border: none;
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option {
  box-sizing: border-box;
  border: 1px solid var(--color-timber-border);
  border-radius: var(--radius-md);
  background: var(--color-timber-surface);
  margin: 0 0 0.5rem;
  overflow: hidden;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:last-child {
  margin-bottom: 0;
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:hover {
  border-color: var(--color-timber-sand);
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:has(.wc-block-components-radio-control__input:checked) {
  border: 1.5px solid var(--color-timber-dark);
  background: #faf7f2;
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border: none;
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control .wc-block-components-radio-control__input {
  appearance: none;
  box-sizing: border-box;
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin: 0 0.75rem 0 0;
  padding: 0;
  border: 2px solid var(--color-timber-muted);
  border-radius: 50%;
  background: var(--color-timber-surface);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
  border-color: var(--color-timber-dark);
  background: var(--color-timber-surface);
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-timber-dark);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__label {
  color: var(--color-timber-dark);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content {
  box-sizing: border-box;
  padding: 0.15rem 1rem 0.65rem calc(1rem + 18px + 0.75rem);
  margin: 0;
  border: none;
  color: var(--color-timber-muted);
  font-family: var(--font-sans);
  font-size: var(--font-size-xs);
  line-height: 1.45;
}

.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content p,
.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content > :last-child {
  margin: 0;
  padding: 0;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block,
.woocommerce-checkout .wc-block-checkout__additional-fields,
.woocommerce-checkout .wc-block-checkout__order-fields,
.woocommerce-checkout #order-fields,
.woocommerce-checkout .pk-checkout-review .wp-block-woocommerce-checkout-additional-information-block,
.woocommerce-checkout .pk-checkout-review .wc-block-checkout__additional-fields,
.woocommerce-checkout .pk-checkout-review .wc-block-checkout__order-fields,
.woocommerce-checkout .pk-checkout-review #order-fields {
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0.85rem 1.25rem 0.35rem;
  border: 0;
}

.woocommerce-checkout .wp-block-woocommerce-checkout-terms-block,
.woocommerce-checkout .wc-block-checkout__terms,
.woocommerce-checkout .pk-checkout-review .wp-block-woocommerce-checkout-terms-block,
.woocommerce-checkout .pk-checkout-review .wc-block-checkout__terms {
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0.35rem 1.25rem 0.85rem;
  border-top: 0;
}

.woocommerce-checkout .wc-block-checkout__terms.wc-block-checkout__terms--with-separator,
.woocommerce-checkout .pk-checkout-review .wc-block-checkout__terms.wc-block-checkout__terms--with-separator {
  border-top: 0;
  padding-top: 0.35rem;
}

.woocommerce-checkout .wc-block-checkout__actions,
.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block,
.woocommerce-checkout .pk-checkout-review .wc-block-checkout__actions,
.woocommerce-checkout .pk-checkout-review .wp-block-woocommerce-checkout-actions-block {
  margin: 0;
  margin-top: 0;
  margin-bottom: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 0 1.25rem 1.25rem;
  border-top: 0;
}

.woocommerce-checkout .pk-checkout-review .wc-block-components-checkout-step__title::before,
.woocommerce-checkout .pk-checkout-review .wc-block-components-checkout-step__heading h2::before,
.woocommerce-checkout .pk-checkout-review .wc-block-components-checkout-step__heading::before {
  content: none;
  display: none;
}

@media (min-width: 1024px) {
  .woocommerce-checkout .wc-block-checkout__form:has(.pk-checkout-details) {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

@media (max-width: 479px) {
  .woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
    gap: 0.5rem;
    padding: 1rem;
  }

  .woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
    font-size: 1rem;
  }

  .woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item {
    flex-wrap: wrap;
  }

  .woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__total-price {
    padding-top: 0.5rem;
    padding-left: 80px;
    width: 100%;
    text-align: left;
  }

  .woocommerce-checkout .wc-block-cart-item__total-price-and-sale-badge-wrapper { align-items: flex-start; }
}

/* ==========================================================================
   Checkout confirmation — reassuring, structured order-received experience.
   ========================================================================== */
.woocommerce-order-received article.page {
  width: min(100%, 1160px);
  padding-top: clamp(2.5rem, 6vw, 5rem);
}

.woocommerce-order-received .entry-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.woocommerce-order-received .entry-header::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(47, 111, 78, 0.25);
  border-radius: 50%;
  background: #eaf5ee;
  color: #2f6f4e;
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(47, 111, 78, 0.12);
}

.woocommerce-order-received .entry-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.045em;
}

.woocommerce-order-received .entry-content > .woocommerce {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.woocommerce-order-received .woocommerce-order {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
  width: min(100%, 680px);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(47, 111, 78, 0.2);
  border-radius: var(--radius-lg);
  background: #f4faf6;
  color: #285e43;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.woocommerce-order-received ul.woocommerce-order-overview,
.woocommerce-order-received ul.order_details {
  display: none;
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
  margin: 0;
}

.woocommerce-order-received .woocommerce-order-details {
  display: flex;
  flex-direction: column;
}

.woocommerce-order-received .woocommerce-order-details > * {
  order: 4;
}

.woocommerce-order-received .woocommerce-order-details > .woocommerce-order-details__title {
  display: none;
}

.woocommerce-order-received .woocommerce-order-details > .pk-order-heading {
  order: 1;
}

.woocommerce-order-received .woocommerce-order-details > table {
  order: 2;
}

.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title,
.woocommerce-order-received .woocommerce-customer-details > h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  color: var(--color-timber-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.woocommerce-order-received .woocommerce-order-details__title::before,
.woocommerce-order-received .woocommerce-column__title::before,
.woocommerce-order-received .woocommerce-customer-details > h2::before {
  content: "";
  width: 4px;
  height: 1.15em;
  border-radius: var(--radius-full);
  background: var(--color-timber-accent);
  flex: 0 0 auto;
}

.woocommerce-order-received table.woocommerce-table--order-details,
.woocommerce-order-received table.shop_table.order_details,
.woocommerce-order-received table.woocommerce-table--customer-details {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-timber-border);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  background: var(--color-timber-surface);
  box-shadow: var(--shadow-sm);
}

.woocommerce-order-received table.woocommerce-table th,
.woocommerce-order-received table.woocommerce-table td,
.woocommerce-order-received table.shop_table.order_details th,
.woocommerce-order-received table.shop_table.order_details td {
  padding: 1rem 1.1rem;
  border: 0;
  border-bottom: 1px solid var(--color-timber-border-light);
  color: var(--color-timber-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  line-height: 1.45;
  text-align: left;
  vertical-align: middle;
}

.woocommerce-order-received table.woocommerce-table thead th,
.woocommerce-order-received table.shop_table.order_details thead th {
  background: #f1e8db;
  color: var(--color-timber-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.woocommerce-order-received table.woocommerce-table td:last-child,
.woocommerce-order-received table.woocommerce-table th:last-child,
.woocommerce-order-received table.shop_table.order_details td:last-child,
.woocommerce-order-received table.shop_table.order_details th:last-child {
  text-align: right;
}

.woocommerce-order-received table.woocommerce-table tbody a,
.woocommerce-order-received table.shop_table.order_details tbody a {
  color: var(--color-timber-dark);
  font-weight: 700;
  text-decoration-color: var(--color-timber-sand);
  text-underline-offset: 3px;
}

.woocommerce-order-received table.woocommerce-table tfoot th {
  color: var(--color-timber-muted);
  font-weight: 600;
}

.woocommerce-order-received table.woocommerce-table tfoot td {
  color: var(--color-timber-dark);
  font-weight: 700;
}

.woocommerce-order-received table.woocommerce-table tr:last-child th,
.woocommerce-order-received table.woocommerce-table tr:last-child td,
.woocommerce-order-received table.shop_table.order_details tr:last-child th,
.woocommerce-order-received table.shop_table.order_details tr:last-child td {
  border-bottom: 0;
}

.pk-order-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.9rem;
}

.pk-order-heading__title {
  margin: 0;
  color: var(--color-timber-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.pk-order-heading__date {
  flex: 0 0 auto;
  color: var(--color-timber-muted);
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1.4;
  text-align: right;
}

.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
  margin: 0;
}

.woocommerce-order-received .woocommerce-customer-details .woocommerce-column {
  float: none;
  width: auto;
  margin: 0;
}

.woocommerce-order-received .woocommerce-customer-details address {
  min-height: 100%;
  margin: 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--color-timber-border);
  border-radius: var(--radius-lg);
  background: var(--color-timber-surface);
  color: var(--color-timber-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-style: normal;
  line-height: 1.75;
  box-shadow: var(--shadow-sm);
}

.woocommerce-order-received .woocommerce-customer-details--phone,
.woocommerce-order-received .woocommerce-customer-details--email {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-timber-border-light);
  color: var(--color-timber-dark);
  font-weight: 600;
}

.woocommerce-order-received form.woocommerce-verify-email {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  width: min(100%, 680px);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--color-timber-border);
  border-radius: var(--radius-xl);
  background: var(--color-timber-surface);
  box-shadow: var(--shadow-md);
}

.woocommerce-order-received form.woocommerce-verify-email > p:first-of-type {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--color-timber-muted);
  line-height: 1.65;
}

.woocommerce-order-received form.woocommerce-verify-email .form-row {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

.woocommerce-order-received form.woocommerce-verify-email label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--color-timber-dark);
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.woocommerce-order-received form.woocommerce-verify-email input[type="email"] {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-timber-border);
  border-radius: var(--radius-input);
  background: #fffdf9;
  color: var(--color-timber-dark);
}

.woocommerce-order-received form.woocommerce-verify-email input[type="email"]:focus {
  border-color: var(--color-timber-accent);
  outline: 3px solid rgba(196, 165, 116, 0.18);
  outline-offset: 0;
}

.woocommerce-order-received form.woocommerce-verify-email button {
  min-height: 48px;
  margin-top: 1.7rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--color-timber-dark);
  border-radius: var(--radius-input);
  background: var(--color-timber-dark);
  color: var(--color-timber-surface);
  font-weight: 700;
}

.woocommerce-order-received form.woocommerce-verify-email button:hover,
.woocommerce-order-received form.woocommerce-verify-email button:focus-visible {
  background: var(--color-timber-deep);
  color: var(--color-timber-surface);
}

.woocommerce-order-received .edit-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--color-timber-border);
  border-radius: var(--radius-full);
  background: var(--color-timber-surface);
  color: var(--color-timber-dark);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 767px) {
  .woocommerce-order-received article.page {
    padding-top: 2rem;
  }

  .woocommerce-order-received .entry-header::before {
    width: 56px;
    height: 56px;
  }

  .woocommerce-order-received .woocommerce-order {
    gap: 1.75rem;
  }

  .pk-order-heading {
    align-items: center;
  }

  .woocommerce-order-received .woocommerce-customer-details .woocommerce-columns {
    grid-template-columns: 1fr;
  }

  .woocommerce-order-received form.woocommerce-verify-email {
    grid-template-columns: 1fr;
  }

  .woocommerce-order-received form.woocommerce-verify-email button {
    width: 100%;
    margin-top: 0;
  }
}

.c-service-card__sublabel {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-timber-dark, #2a1c12);
  margin-bottom: 0.35rem;
}

.c-service-card__input {
  width: 100%;
  min-height: 42px;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1.5px solid rgba(61, 42, 20, 0.2);
  font-size: 13.5px;
  font-family: var(--font-sans);
  color: var(--color-timber-dark, #2a1c12);
  box-sizing: border-box;
  background-color: #ffffff;
  transition: border-color var(--transition-fast);
}

.c-service-card__input:focus {
  outline: none;
  border-color: #936338;
  box-shadow: none;
}

/* Bespoke Notice & Action Buttons */
.c-bespoke-notice {
  margin-top: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background-color: rgba(212, 196, 168, 0.2);
  border: 1px solid rgba(212, 196, 168, 0.6);
}

.c-bespoke-notice__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.3rem;
}

.c-bespoke-notice__icon {
  color: #8c6d48;
  flex-shrink: 0;
}

.c-bespoke-notice__title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-timber-dark, #2a1c12);
}

.c-bespoke-notice__text {
  font-size: 12px;
  color: var(--color-timber-muted, #6b584b);
  line-height: 1.4;
  margin: 0 0 0.65rem 0;
}

.c-bespoke-notice__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.c-bespoke-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-full, 9999px);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  transition: all var(--transition-fast);
}

.c-bespoke-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

.c-bespoke-btn--whatsapp {
  background-color: #25D366;
  color: #ffffff;
}

.c-bespoke-btn--whatsapp svg {
  fill: currentColor;
}

.c-bespoke-btn--whatsapp:hover {
  background-color: #1ebc57;
  color: #ffffff;
}

.c-bespoke-btn--email {
  background-color: var(--color-timber-dark, #2a1c12);
  color: #ffffff;
}

.c-bespoke-btn--email:hover {
  background-color: #3f2a1b;
  color: #ffffff;
}

/* Total Price Bar */
.c-timber-options__total-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-timber-border, #e5ded4);
}

.c-timber-options__total-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-timber-dark, #2a1c12);
}

.c-timber-options__total-sub {
  display: block;
  font-size: 11.5px;
  color: var(--color-timber-muted, #78716c);
}

.c-timber-options__total-val {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-timber-dark, #2a1c12);
  line-height: 1;
}

/* Cart & Checkout Custom Options Display */
dl.variation {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0.4rem 0 0 0;
  font-size: 12px;
  color: var(--color-timber-muted, #78716c);
}

dl.variation dt {
  font-weight: 700;
  color: var(--color-timber-dark, #2a1c12);
  float: none;
  margin: 0;
}

dl.variation dd {
  margin: 0 0 0.35rem 0;
  color: var(--color-timber-text, #2a1c12);
}

/* ==========================================================================
   Product Breadcrumbs Bar
   ========================================================================== */
.c-product-breadcrumbs {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: clamp(0.85rem, 1.75vw, 1.25rem);
}

.c-breadcrumbs {
  margin-top: 0;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  padding: 0;
}

.c-breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 12.5px;
  line-height: 1.4;
}

.c-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-timber-muted, #78716c);
}

.c-breadcrumbs__link {
  color: var(--color-timber-muted, #78716c);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast, 0.15s ease), text-decoration var(--transition-fast, 0.15s ease);
}

.c-breadcrumbs__link:hover {
  color: var(--color-timber-dark, #2a1c12);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.c-breadcrumbs__separator {
  color: #a8a29e;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  margin-inline: 0.15rem;
  user-select: none;
}

.c-breadcrumbs__current {
  color: var(--color-timber-dark, #2a1c12);
  font-weight: 600;
}

/* Fallback & WooCommerce Breadcrumb Integration */
.woocommerce-breadcrumb {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--color-timber-muted, #78716c);
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.woocommerce-breadcrumb a {
  color: var(--color-timber-muted, #78716c);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast, 0.15s ease);
}

.woocommerce-breadcrumb a:hover {
  color: var(--color-timber-dark, #2a1c12);
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Catalog category navigation */
.c-catalog-hero__description {
  max-width: 45rem;
  margin: 0 0 var(--space-md);
  color: var(--color-timber-muted);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.c-category-links {
  margin-top: var(--space-md);
}

.c-category-links__title {
  margin: 0 0 var(--space-sm);
  color: var(--color-timber-dark);
  font-family: var(--font-serif);
  font-size: var(--font-size-lg);
}

.c-category-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-category-links__item {
  margin: 0;
}

.c-category-links .c-category-links__link,
.c-category-links .c-category-links__link:link,
.c-category-links .c-category-links__link:visited {
  display: inline-flex;
  min-height: var(--touch-target-min);
  align-items: center;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--color-timber-dark);
  border-radius: var(--radius-full);
  background: var(--color-timber-dark);
  color: var(--color-timber-surface);
  font-size: var(--font-size-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.c-category-links .c-category-links__link:hover,
.c-category-links .c-category-links__link:focus-visible,
.c-category-links .c-category-links__link:visited:hover,
.c-category-links .c-category-links__link:visited:focus-visible {
  border-color: var(--color-timber-deep);
  background: var(--color-timber-deep);
  color: var(--color-timber-surface);
}
