/*----------------------------- Global------------------------------ */


.button, .frm_button_submit, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.wp-block-button__link:not(.has-background) {
	    color: #ffffff !important;
	    border-radius: 6px !important;
	    background-color: #55555e !important;
}

.button:hover, 
.frm_button_submit:hover, 
html input[type="button"]:hover, 
input[type="reset"]:hover, 
input[type="submit"]:hover, 
a.button:hover, 
a.wp-block-button__link:not(.has-background):hover {
    background-color: #17171a !important; /* change to your desired hover color */
}

.wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button {
	    color: #ffffff !important;
	    border-radius: 6px !important;
	    background-color: #55555e !important;
}

.wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button:hover {
    background-color: #17171a !important; /* your hover color */
}

/* -----------------------------Home Page ----------------------------*/

.hero-section {
  position: relative;
  height: 70vh;
  min-height: 400px;
  background: url('http://joyfulmates.com/wp-content/uploads/2026/03/Woodworking1-scaled.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 25px;
}

/* Change aspect ratio on product on front page */
.wc-block-components-product-image img {
  aspect-ratio: 7 / 5 !important;
  object-fit: cover !important; 
}


/*---------------------------------- Blog Pages------------------------- */
/* Hide categories and comments link */
.cat-links {
    display: none;
}

.comments-link {
    display: none;
}

.tags-links {
    display: none;
}

.taxonomy-description {
    display: none;
}


/* ---------------------Side bar-------------------- */
.about-me-widget {
    text-align: center;
    padding: 6px;
}

.about-me-image img {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 50%;
    display: block;
    margin: 0 auto 15px;
}

.about-me-title {
    font-size: 24px;
    margin-top: 10px;
}


/* Hide featured image on single blog posts */
.single-post .post-image,
.single-post .featured-image,
.single-post .post-thumbnail {
    display: none !important;
}

/* -----------------------------WooCommerce------------------------------*/

/* Make checkout full width */
.woocommerce-checkout .col2-set {
    width: 100%;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
    width: 100% !important;
    float: none !important;
}

/* Billing fields container full width */
.woocommerce-billing-fields {
    width: 100% !important;
}

/* Remove spacing caused by empty sections */
.woocommerce form.checkout {
    display: block;
}

/* Order notes (Additional information) fully removed spacing fix */
.woocommerce-additional-fields {
    display: none !important;
}

.woocommerce-checkout .col2-set {
    display: block;
}

.woocommerce-checkout .col-1 {
    width: 100% !important;
}

#tip-section {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

/* Title */
#tip-section h3 {
    margin: 0 0 5px;
}

/* Subtitle */
#tip-section p {
    margin: 0 0 15px;
    color: #666;
}


.tip-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}


.tip-btn {
    flex: 1;                  
    padding: 12px 0;
    border: 1px solid #ccc;
    cursor: pointer;
    border-radius: 6px;
    background: #f5f5f5;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 14px;
	color: #333;
}

/* Hover state */
.tip-btn:hover {
    background: #55555e;
}

/* Active selected button */
.tip-btn.active {
    background: #55555e;
    color: #fff;
    border-color: #222;
}

@media (max-width: 600px) {

    .tip-buttons {
        flex-wrap: wrap;
    }

    .tip-btn {
        flex: 1 1 calc(50% - 10px); /* 2 per row on mobile */
    }
}

/* Newsletter Checkbox Styling */
#subscribe_newsletter_field {
    margin-top: 10px;
}

#subscribe_newsletter_field label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Make checkbox bigger */
#subscribe_newsletter_field input[type="checkbox"] {
    transform: scale(1.4);
    cursor: pointer;
    margin: 0;
}

.newsletter-box {
    padding: 0;
    width: 300px;
    margin: 0 auto; /* centers the whole box */
    text-align: center; /* centers text inside */
}

.newsletter-box h3 {
    margin-bottom: 15px;
    text-align: center; /* ensures "Subscribe" is centered */
}

.newsletter-box input {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left; /* keep input text normal */
}

.newsletter-box button {
    width: 100%;
    padding: 10px;
	border-radius: 8px;
}


/* Main payment box */
.woocommerce-checkout #payment {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Payment method container */
.woocommerce-checkout .payment_box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Stripe / card elements wrapper */
.wc-stripe-elements-field,
.StripeElement {
    background: transparent !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    padding: 10px 12px;
    border-radius: 0 !important;
}

/* Remove radio button styling container */
.woocommerce-checkout ul.payment_methods {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Remove spacing blocks */
.woocommerce-checkout #payment ul.payment_methods li {
    background: transparent !important;
    border: none !important;
}

.product_meta .posted_in {
    display: none !important;
}

/* Increase WooCommerce cart product image size */
.woocommerce-cart table.cart img {
    width: 200px !important;
    height: auto !important;
}

/* Optional: add a bit more spacing */
.woocommerce-cart table.cart .product-thumbnail {
    width: 200px;
}

/* Make WooCommerce Place Order button larger */
#place_order {
    font-size: 20px !important;
    padding: 16px 20px !important;
    height: auto !important;
    width: 100%;
    border-radius: 6px;
}






/*--------------------------- Footer-------------------------*/
.site-info {
    padding: 30px 0px 30px 0px !important;
}

/* footer stick to bottom */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container.grid-container {
    width: 100%;
}
.site-footer {
    margin-top: auto;
}