html, body {
    overflow-x: clip;
}
/*========== Shop Page ==========*/


/* ── Shop page spacing only ── */
.woocommerce-page .site-main {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

/* ── Product card layout ── */
.woocommerce ul.products li.product {
  text-align: left !important;
}

/* ── Product title ── */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important;
  color: #1E1E1E !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500 !important;
  padding: 10px 0 4px !important;
}

/* ── Price ── */
.woocommerce ul.products li.product .price {
  display: block !important;
  color: #1E1E1E !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  margin-bottom: 10px !important;
}

/* ── Button ── */
.woocommerce ul.products li.product .button {
  display: block !important;
  width: 100% !important;
  background-color: #1A6840 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 10px !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  text-transform: none !important;
}

.woocommerce ul.products li.product .button:hover {
  background-color: #145233 !important;
  color: #ffffff !important;
}

/* ── Product image ── */
.woocommerce ul.products li.product a img {
  border-radius: 4px !important;
  width: 100% !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
}


/* ── Shop page pagination ── */
.woocommerce-page .woocommerce-pagination ul {
  border: none !important;
  display: flex !important;
  gap: 6px !important;
  justify-content: center !important;
}

.woocommerce-page .woocommerce-pagination ul li {
  border: none !important;
}

/* ── All page buttons ── */
.woocommerce-page .woocommerce-pagination ul li a,
.woocommerce-page .woocommerce-pagination ul li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 6px !important;
  border: 1px solid #1A6840 !important;
  color: #1A6840 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  background-color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

/* ── Hover state ── */
.woocommerce-page .woocommerce-pagination ul li a:hover {
  background-color: #1A6840 !important;
  color: #ffffff !important;
}

/* ── Active / current page ── */
.woocommerce-page .woocommerce-pagination ul li span.current {
  background-color: #1A6840 !important;
  color: #ffffff !important;
  border-color: #1A6840 !important;
}

/* ── Prev / Next arrows ── */
.woocommerce-page .woocommerce-pagination ul li a.prev,
.woocommerce-page .woocommerce-pagination ul li a.next {
  font-size: 16px !important;
}


/* ── Proceed to Checkout button ── */
.wc-block-cart__submit-button {
  background-color: #1A6840 !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  border-radius: 6px !important;
  border: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: background-color 0.2s ease !important;
}

.wc-block-cart__submit-button:hover {
  background-color: #145233 !important;
  color: #ffffff !important;
}

.wc-block-cart__submit-button .wc-block-components-button__text {
  color: #ffffff !important;
}


/*========== Product Page ==========*/

/* ── Single Product Page - Full restyle ── */

/* Font base */
.single-product {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Product title */
.single-product .product_title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  color: #1E1E1E !important;
}

/* Price */
.single-product .price {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #1A6840 !important;
}

/* Breadcrumb */
.woocommerce-breadcrumb {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  color: #555555 !important;
}

.woocommerce-breadcrumb a {
  color: #1A6840 !important;
  text-decoration: none !important;
}

.woocommerce-breadcrumb a:hover {
  color: #145233 !important;
  text-decoration: underline !important;
}

/* Variation dropdown */
.single-product .variations select {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #1E1E1E !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 6px !important;
  padding: 10px 14px !important;
  background-color: #ffffff !important;
  width: 100% !important;
  transition: border-color 0.2s ease !important;
}

.single-product .variations select:focus {
  border-color: #1A6840 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(26, 104, 64, 0.15) !important;
}

/* Variation label */
.single-product .variations label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1E1E1E !important;
}

/* Quantity input */
.single-product .quantity input {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #1E1E1E !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 6px !important;
  padding: 10px 14px !important;
  width: 70px !important;
}

/* Add to cart button */
.single-product .single_add_to_cart_button {
  background-color: #1A6840 !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  border-radius: 6px !important;
  border: none !important;
  padding: 12px 28px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: background-color 0.2s ease !important;
}

.single-product .single_add_to_cart_button:hover {
  background-color: #145233 !important;
  color: #ffffff !important;
}

/* SKU / Category / Tags meta */
.single-product .product_meta {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  color: #555555 !important;
  margin-top: 16px !important;
}

.single-product .product_meta a {
  color: #1A6840 !important;
  text-decoration: none !important;
}

.single-product .product_meta a:hover {
  color: #145233 !important;
  text-decoration: underline !important;
}

/* Tabs - Description, Additional info, Reviews */
.single-product .woocommerce-tabs ul.tabs li a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #555555 !important;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #1A6840 !important;
}

.single-product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: #1A6840 !important;
}

/* Tab content */
.single-product .woocommerce-tabs .panel h2 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #1E1E1E !important;
}

.single-product .woocommerce-tabs .panel p {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #555555 !important;
  line-height: 1.7 !important;
}

/* Related products heading */
.single-product .related h2 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  color: #1E1E1E !important;
  margin-bottom: 16px !important;
}

/* Related products - product title */
.single-product .related ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1E1E1E !important;
}

/* Related products - price */
.single-product .related ul.products li.product .price {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #1E1E1E !important;
}

/* Related products - button */
.single-product .related ul.products li.product .button {
  background-color: #1A6840 !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  border-radius: 6px !important;
  border: none !important;
  padding: 10px !important;
  width: 100% !important;
  text-align: center !important;
  display: block !important;
  text-transform: none !important;
  transition: background-color 0.2s ease !important;
}

.single-product .related ul.products li.product .button:hover {
  background-color: #145233 !important;
  color: #ffffff !important;
}

/* Hide duplicate heading on category pages */
.tax-product_cat .all-products-heading {
  display: none !important;
}


/* ── Custom category grid ── */
.custom-cat-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: auto auto !important;
  gap: 14px !important;
  margin-bottom: 50px !important;
}

/* First item - large, spans 2 cols and 1 row */
.custom-cat-grid .cat-item-0 {
  grid-column: span 2 !important;
  grid-row: span 1 !important;
}

/* Items 1 and 2 - top right, normal size */
.custom-cat-grid .cat-item-1,
.custom-cat-grid .cat-item-2 {
  grid-column: span 1 !important;
}

/* Items 3-6 - bottom row, 4 equal */
.custom-cat-grid .cat-item-3,
.custom-cat-grid .cat-item-4,
.custom-cat-grid .cat-item-5,
.custom-cat-grid .cat-item-6 {
  grid-column: span 1 !important;
}

/* Each card */
.custom-cat-grid .cat-item {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  display: block !important;
  text-decoration: none !important;
}

/* Image */
.custom-cat-grid .cat-item img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 10px !important;
  transition: transform 0.4s ease !important;
}

.custom-cat-grid .cat-item:hover img {
  transform: scale(1.05) !important;
}

/* Bottom row shorter images */
.custom-cat-grid .cat-item-3 img,
.custom-cat-grid .cat-item-4 img,
.custom-cat-grid .cat-item-5 img,
.custom-cat-grid .cat-item-6 img {
  height: 220px !important;
}

/* Green badge */
.custom-cat-grid .cat-item span {
  position: absolute !important;
  bottom: 14px !important;
  left: 14px !important;
  background-color: #1A6840 !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  z-index: 2 !important;
}


/* ── Responsive ── */
@media (max-width: 768px) {
  .custom-cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .custom-cat-grid .cat-item-0 {
    grid-column: span 2 !important;
  }
}

@media (max-width: 480px) {
  .custom-cat-grid {
    grid-template-columns: 1fr !important;
  }
  .custom-cat-grid .cat-item-0 {
    grid-column: span 1 !important;
  }
}





/* ── Additional Information tab ── */

/* Table */
.single-product .woocommerce-product-attributes {
  width: 100% !important;
  border-collapse: collapse !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

/* Table header cell (e.g. "Size") */
.single-product .woocommerce-product-attributes th {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #1E1E1E !important;
  background-color: #f4f4f4 !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #e8e8e8 !important;
  text-align: left !important;
  width: 160px !important;
}

/* Table value cell (e.g. "Small, Medium, Large") */
.single-product .woocommerce-product-attributes td {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #555555 !important;
  background-color: #fafafa !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #e8e8e8 !important;
}

/* Additional information heading */
.single-product .woocommerce-product-attributes-item__label,
.single-product h2.woocommerce-loop-product__title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}
/* ── Checkout page ── */


/* Font base */
.woocommerce-checkout,
.wc-block-checkout {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Section headings */
.wc-block-components-title,
.wc-block-checkout__contact-fields > h2,
.wc-block-checkout__billing-fields > h2,
.wc-block-checkout__payment-method > h2,
.wc-block-components-checkout-step__title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #1E1E1E !important;
  margin-bottom: 12px !important;
}

/* Input fields */
.wc-block-components-text-input input,
.wc-block-components-select select,
.wc-block-components-combobox input {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #1E1E1E !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 6px !important;
  padding: 12px 14px !important;
  background-color: #ffffff !important;
  transition: border-color 0.2s ease !important;
}

/* Input focus */
.wc-block-components-text-input input:focus,
.wc-block-components-select select:focus,
.wc-block-components-combobox input:focus {
  border-color: #1A6840 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(26, 104, 64, 0.15) !important;
}

/* Input labels */
.wc-block-components-text-input label,
.wc-block-components-select label,
.wc-block-components-combobox label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  color: #555555 !important;
}

/* Order summary box */
.wc-block-components-order-summary,
.wc-block-order-summary {
  border: 1px solid #e8e8e8 !important;
  border-radius: 10px !important;
  padding: 20px !important;
  background-color: #fafafa !important;
}

/* Order summary heading */
.wc-block-components-order-summary__button,
.wp-block-woocommerce-checkout-order-summary-block h2 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #1E1E1E !important;
}

/* Order summary items */
.wc-block-components-order-summary-item__description,
.wc-block-components-order-summary-item__individual-prices {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  color: #555555 !important;
}

/* Subtotal / Total */
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #1E1E1E !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 16px !important;
  font-weight: 500 !important;
}

/* Place Order button */
.wc-block-components-checkout-place-order-button,
.wc-block-checkout__place-order button {
  background-color: #1A6840 !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  border-radius: 6px !important;
  border: none !important;
  padding: 14px 28px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: background-color 0.2s ease !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-checkout__place-order button:hover {
  background-color: #145233 !important;
  color: #ffffff !important;
}

/* Return to cart link */
.wc-block-components-checkout-return-to-cart-button {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: #1A6840 !important;
  font-size: 14px !important;
}

.wc-block-components-checkout-return-to-cart-button:hover {
  color: #145233 !important;
}

/* Checkbox */
.wc-block-components-checkbox input[type="checkbox"]:checked {
  accent-color: #1A6840 !important;
}

/* Spacing between steps */
.wc-block-checkout__step {
  margin-bottom: 24px !important;
}

/*========== My Account ==========*/

/* ── My Account - Login & Register page (Restricted to Content Area) ── */

/* Target only the main content area to avoid affecting the Header/Footer */
.woocommerce-account .entry-content .woocommerce,
.woocommerce-account #content .woocommerce {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Section headings */
.woocommerce-account .woocommerce h2 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  color: #1E1E1E !important;
  margin-bottom: 16px !important;
}

/* Form box cards */
.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register,
.woocommerce-account .woocommerce form.lost_reset_password {
  border: 1px solid #e8e8e8 !important;
  border-radius: 10px !important;
  padding: 30px !important;
  background-color: #fafafa !important;
}

/* Input labels */
.woocommerce-account .woocommerce form .form-row label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1E1E1E !important;
  margin-bottom: 6px !important;
  display: block !important;
}

/* Input fields */
.woocommerce-account .woocommerce form .form-row input[type="text"],
.woocommerce-account .woocommerce form .form-row input[type="email"],
.woocommerce-account .woocommerce form .form-row input[type="password"] {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  color: #1E1E1E !important;
  border: 1px solid #d0d0d0 !important;
  border-radius: 6px !important;
  padding: 12px 14px !important;
  width: 100% !important;
  background-color: #ffffff !important;
  transition: border-color 0.2s ease !important;
}

/* Input focus */
.woocommerce-account .woocommerce form .form-row input[type="text"]:focus,
.woocommerce-account .woocommerce form .form-row input[type="email"]:focus,
.woocommerce-account .woocommerce form .form-row input[type="password"]:focus {
  border-color: #1A6840 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(26, 104, 64, 0.15) !important;
}

/* Login & Register buttons */
.woocommerce-account .woocommerce form .button,
.woocommerce-account .woocommerce form button[type="submit"] {
  background-color: #1A6840 !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  border-radius: 6px !important;
  border: none !important;
  padding: 12px 24px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: background-color 0.2s ease !important;
  cursor: pointer !important;
}

.woocommerce-account .woocommerce form .button:hover,
.woocommerce-account .woocommerce form button[type="submit"]:hover {
  background-color: #145233 !important;
  color: #ffffff !important;
}

/* Remember me checkbox */
.woocommerce-account .woocommerce form .form-row input[type="checkbox"] {
  accent-color: #1A6840 !important;
}

/* Lost your password link */
.woocommerce-account .woocommerce form .lost_password a,
.woocommerce-LostPassword a {
  color: #1A6840 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.woocommerce-account .woocommerce form .lost_password a:hover {
  color: #145233 !important;
  text-decoration: underline !important;
}

/* Privacy policy & helper text */
.woocommerce-account .woocommerce form .woocommerce-privacy-policy-text,
.woocommerce-account .woocommerce form p:not(.form-row) {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  color: #555555 !important;
  line-height: 1.6 !important;
}

/* Privacy policy link */
.woocommerce-account .woocommerce form .woocommerce-privacy-policy-text a {
  color: #1A6840 !important;
}

/* Required star */
.woocommerce-account .woocommerce form .form-row .required {
  color: #1A6840 !important;
}








/* ============================================
   JDB WOODWORKING - WAITLIST FORM
   Hardwood Brown Accent Design
   ============================================ */

/* Container - Updated with darker wood-tone border */
.cwginstock-subscribe-form {
  border: 2px solid #1A6840; 
  border-radius: 16px;
  padding: 0.1px ;
  background: white;
  max-width: 500px;
  margin: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Form Titles */
.cwginstock-panel-heading h4 {
  font-size: 22x !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 5 0 0 0 !important;
  text-transform: none;
}

/* Underline Inputs */
.cwginstock-subscribe-form input[type="text"],
.cwginstock-subscribe-form input[type="email"] {
  width: 100% !important;
  padding: 0.75rem 0 !important;
  border: none !important;
  border-bottom: 1px solid #d0d0d0 !important;
  font-size: 14px !important;
  color: #333333 !important;
  background: transparent !important;
  outline: none !important;
  transition: all 0.2s ease;
  box-sizing: border-box;
  margin-bottom: 1.5rem !important;
  text-align: left !important;
}

/* Input Focus State - Brown Underline */
.cwginstock-subscribe-form input:focus {
  border-bottom-color: #3e2723 !important;
  box-shadow: 0 1px 0 0 #3e2723 !important;
}

/* UPDATED BUTTON: SUBSCRIBE NOW (Hardwood Brown) */
.cwgstock_button {
  width: 100% !important;
  background-color: #1A6840 !important;
  color: #ffffff !important; /* White Text */
  border: none !important;
  border-radius: 8px !important;
  padding: 1.2rem !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  margin-top: 0.5rem;
}

.cwgstock_button:hover {
  background-color: #2b1b18 !important; /* Slightly darker on hover */
}

.cwgstock_button:active {
  transform: scale(0.98);
}

/* Success/Error Message Output */
.cwgstock_output {
  font-size: 13px;
  margin-top: 1rem;
  color: #3e2723;
  text-align: center;
}

/* Popup container cleanup */
.swal2-popup {
  border-radius: 25px !important;
  padding: 0 !important;
}

/* Update the title text color and remove the blue background */
.cwginstock-panel-heading,
.cwginstock-panel-primary > .cwginstock-panel-heading {
    background-color: #1E1E1E !important; /* Removes the blue background */
	border-radius: 14px 14px 0px 0px;
}

/* Remove blue borders from the form panels */
.cwginstock-panel-primary, 
.cwginstock-panel-heading,
.cwginstock-panel-body {
    border: none !important;
    box-shadow: none !important;
}

/* Remove blue outlines that appear when clicking/typing in fields */
.cwginstock-subscribe-form input:focus,
.cwginstock-subscribe-form input:active,
.cwginstock-subscribe-form button:focus {
    outline: none !important;
    box-shadow: none !important;
    /* Re-apply your custom brown underline so it doesn't disappear */
    border-bottom: 2px solid #3e2723 !important;
}

/* Remove default blue background highlight on some mobile browsers */
.cwginstock-subscribe-form * {
    -webkit-tap-highlight-color: transparent !important;
}

/* Reduce the width of the popup */
.swal2-popup.swal2-modal {
    width: 500px !important; /* Adjust this number to make it even narrower if needed */
    padding: 0 !important;
}

/* Change the "X" close button color to black */
.swal2-close {
    color: #000000 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Optional: Make the close button slightly smaller and cleaner */
.swal2-close:hover {
    color: #3e2723 !important; /* Changes to your wood-brown on hover */
}

/* Fix for mobile: Ensures the popup doesn't overflow small screens */
@media (max-width: 480px) {
    .swal2-popup.swal2-modal {
        width: 90% !important;
        margin: 0 auto;
    }
}


/* Update the 'Subscribe Now' button on the product page */
.cwg_popup_submit {
    background-color: #1A6840 !important; /* Your Hardwood Brown */
    color: #ffffff !important;           /* White text */
    border: none !important;
    border-radius: 4px !important;       /* Matches standard button shapes */
    padding: 12px 24px !important;       /* Comfortable size for clicking */
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover state for a professional feel */
.cwg_popup_submit:hover {
    background-color: #2b1b18 !important; /* Slightly darker brown on hover */
}



/*========== Past Item Text =========*/
/* ── Past Items notice box ── */
.past-item-notice {
  background-color: #f4f9f6 !important;
  border: 1px solid #1A6840 !important;
  border-radius: 8px !important;
  padding: 20px 24px !important;
  margin-bottom: 30px !important;
  text-align: center !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.past-item-notice p {
  font-size: 18px !important;
  color: #1A6840 !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 1.8 !important;
}

.past-item-notice p a {
  color: #1A6840 !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}

/* ── Contact Us To Order button ── */
.past-item-cta {
  display: inline-block !important;
  background-color: #1A6840 !important;
  color: #ffffff !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 12px 28px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  margin-top: 16px !important;
  transition: background-color 0.2s ease !important;
  letter-spacing: 0 !important;
}

.past-item-cta:hover {
  background-color: #145233 !important;
  color: #ffffff !important;
}

/* Hide subscribe/add to cart on Past Items only */
.postid-past-items form.cart,
body.tax-product_cat .single-product form.cart { 
  display: block !important; 
}

.past-item-cta ~ form.cart,
.woocommerce div.product.past-item form.cart {
  display: none !important;
}