/* Force ALL child blocks in the product card to take the FULL card width */
li.wc-block-product > * {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Except the image wrapper - keep that natural */
li.wc-block-product > .wc-block-components-product-image,
li.wc-block-product > .wp-block-woocommerce-product-image {
    width: 100% !important;
}

footer:not(#tss-footer),
.site-footer,
#colophon,
footer.site-footer {
  display: none !important;
}

.entry-title,
h1.entry-title,
.page-title {
  display: none !important;
}

a {
  text-decoration: none !important;
}

/* White space on left and right sides of cart table */
.woocommerce-cart .woocommerce {
    padding-left: 40px;
    padding-right: 40px;
}

/* White space to the right of the cart totals box */
.woocommerce-cart .cart-collaterals {
    padding-right: 40px;
}

/* Force product titles to reserve 3 lines */
.wp-block-post-title,
.wp-block-post-title.has-medium-font-size,
.wp-block-post-title a {
    min-height: 6.3rem !important;
    line-height: 1.4 !important;
    display: block !important;
    white-space: pre-wrap !important;
    overflow: hidden !important;
}

/* Fix the product card container */
li.wc-block-product {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
}

/* Force price block to full width and center */
li.wc-block-product .wp-block-woocommerce-product-price,
.wp-block-woocommerce-product-price {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

li.wc-block-product .wc-block-components-product-price,
.wc-block-components-product-price {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    justify-content: center !important;
}

/* Force add-to-cart button block to full width and center */
li.wc-block-product .wp-block-woocommerce-product-button,
.wp-block-woocommerce-product-button {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Center the quantity and add to cart row - COMPACT, NOT STRETCHED */
.loop-quantity-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 8px auto 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
}

/* Center the wrapper within its parent */
li.wc-block-product .wp-block-woocommerce-product-button {
    text-align: center !important;
}

/* Keep title left-aligned */
li.wc-block-product .wp-block-post-title,
li.wc-block-product .wp-block-post-title a {
    text-align: left !important;
}

/* Minus and plus button styling */
.loop-qty-btn {
    background-color: #b5435a;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.loop-qty-btn:hover {
    background-color: #8f2e43;
}

.loop-qty-input {
    width: 40px !important;
    max-width: 40px !important;
    min-width: 40px !important;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 2px;
    font-size: 14px;
    flex-shrink: 0;
}

/* Make Add to cart a compact button */
.loop-quantity-wrapper .add_to_cart_button,
.loop-quantity-wrapper .button,
.loop-quantity-wrapper a.button,
li.wc-block-product .add_to_cart_button {
    background-color: #b5435a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    display: inline-block !important;
    white-space: nowrap !important;
    text-align: center !important;
    text-decoration: none !important;
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    text-transform: none !important;
}

.loop-quantity-wrapper .add_to_cart_button:hover,
.loop-quantity-wrapper .button:hover,
li.wc-block-product .add_to_cart_button:hover {
    background-color: #8f2e43 !important;
    color: #ffffff !important;
}

/* Cart page - center amounts */
.woocommerce-cart .woocommerce-Price-amount,
.woocommerce-cart td.product-price,
.woocommerce-cart td.product-subtotal,
.woocommerce-cart td.product-total {
    text-align: center !important;
}

/* Checkout page - center amounts */
.woocommerce-checkout .woocommerce-Price-amount,
.woocommerce-checkout td.product-total,
.woocommerce-checkout .cart_item td {
    text-align: center !important;
}























/* Hide the ORIGINAL WooCommerce button on the All Lessons page when our custom control exists */
body .wp-block-post-template li.wc-block-product .wp-block-woocommerce-product-button .wc-block-components-product-button__button[data-customized="true"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Make the lessons cart control buttons smaller and cleaner */
.lessons-cart-control {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 10px auto 14px auto !important;
    padding: 0 !important;
}

.lessons-add-btn {
    background-color: #b5435a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    text-transform: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.lessons-add-btn:hover {
    background-color: #8f2e43 !important;
}

.lessons-qty-btn {
    background-color: #b5435a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.lessons-qty-btn:hover {
    background-color: #8f2e43 !important;
}

.lessons-cart-count {
    display: inline-block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #b5435a !important;
    padding: 0 6px !important;
    white-space: nowrap !important;
}

/* Add breathing room around the $2.50 price */
li.wc-block-product .wp-block-woocommerce-product-price {
    margin-top: 14px !important;
    margin-bottom: 10px !important;
}

/* Add spacing below the button block so it doesn't touch the next image */
li.wc-block-product .wp-block-woocommerce-product-button {
    margin-bottom: 20px !important;
}

/* Hide the original WooCommerce Add to cart button when it's been customized */
li.wc-block-product .add_to_cart_button[data-customized="true"],
li.wc-block-product .wc-block-components-product-button__button[data-customized="true"] {
    display: none !important;
}
























.entry-content,
.site-content,
.content-area,
main,
article {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Add breathing room back to product/shop areas */
.woocommerce,
.products,
ul.products,
.wc-block-grid,
.wp-block-woocommerce-product-collection,
.wp-block-post-template,
.wp-block-query {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}















/* ===== SINGLE PRODUCT PAGE - Price & Add to Cart ===== */

/* Price spacing */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 15px 0 20px 0;
    display: block;
    line-height: 1.3;
}

/* Quantity input + Add to cart button alignment */
.woocommerce div.product form.cart {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 25px 0;
    flex-wrap: wrap;
}

.woocommerce div.product form.cart .quantity {
    margin: 0;
}

.woocommerce div.product form.cart .quantity input.qty {
    width: 70px;
    height: 48px;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    height: 48px;
    padding: 0 28px;
    margin: 0;
    line-height: 48px;
    border-radius: 6px;
    font-weight: 600;
}

/* Short description spacing */
.woocommerce div.product .woocommerce-product-details__short-description {
    margin-bottom: 20px;
}


/* ===== RELATED PRODUCTS SECTION ===== */

.woocommerce .related.products {
    margin-top: 50px;
    clear: both;
}

.woocommerce .related.products h2 {
    margin-bottom: 25px;
    font-size: 1.75rem;
}

/* Each product card - flex column so button sits at bottom */
.woocommerce .related.products ul.products li.product,
.woocommerce-page .related.products ul.products li.product {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 15px;
}

.woocommerce .related.products ul.products li.product a img {
    margin-bottom: 12px;
}

.woocommerce .related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 0;
    min-height: 72px;
    line-height: 1.4;
}

/* Price in related products */
.woocommerce .related.products ul.products li.product .price {
    display: block;
    margin: 8px 0 14px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Add to cart button - push to bottom, full width feel */
.woocommerce .related.products ul.products li.product .button,
.woocommerce .related.products ul.products li.product .add_to_cart_button {
    margin-top: auto;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}


/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .woocommerce div.product form.cart {
        gap: 10px;
    }
    
    .woocommerce div.product form.cart .single_add_to_cart_button {
        flex: 1;
        min-width: 150px;
    }
    
    .woocommerce .related.products ul.products li.product {
        padding: 10px;
    }
}


















/* ─── HIDE REDUNDANT "ADDED TO CART" MESSAGES ─── */
.woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-message {
  display: none !important;
}




















/* ─── TRUE SPEAK STUDIOS — CHECKOUT PAGE FIX ─── */

/* Constrain the checkout block to a comfortable reading width */
.wc-block-checkout,
.wp-block-woocommerce-checkout {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 2.5rem 2rem 4rem !important;
  box-sizing: border-box !important;
}

/* Add gap between the form and the order summary sidebar */
.wc-block-checkout__main {
  padding-right: 2rem !important;
}

.wc-block-components-sidebar-layout .wc-block-components-main {
  padding-right: 2rem !important;
}

/* Give the order summary sidebar some breathing room */
.wc-block-checkout__sidebar,
.wc-block-components-sidebar {
  padding-left: 1rem !important;
}

/* Mobile: drop the side padding to something comfortable */
@media (max-width: 768px) {
  .wc-block-checkout,
  .wp-block-woocommerce-checkout {
    padding: 1.5rem 1.25rem 3rem !important;
  }
  .wc-block-checkout__main,
  .wc-block-components-sidebar-layout .wc-block-components-main {
    padding-right: 0 !important;
  }
  .wc-block-checkout__sidebar,
  .wc-block-components-sidebar {
    padding-left: 0 !important;
  }
}








