/*
Theme Name: Astra x Golf
Theme URI: https://www.wpastra.com/
Description: Child theme for Golf
Author: MGS
Author URI: https://www.mygolfingstore.com/
Template: astra
Version: 1.0.0
*/

/* Optional custom CSS goes here */

/*
Theme Name: Astra Child
Description: Custom styles for Astra child theme
Author: Your Name
*/

.products li {
  justify-content: space-between;
}

/* ===================================
   PRODUCT CARD STYLES
   =================================== */

/* Product List Container */
ul.products.columns-3 {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 30px !important;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Individual Product Card */
ul.products li.product,
ul.products li.ast-grid-common-col.product,
.ast-grid-common-col.product {
	background: #f5f5f5 !important;
	border-radius: 8px !important;
	padding: 20px !important;
	margin: 0 !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
	transition: all 0.3s ease !important;
	text-align: center !important;
	list-style: none !important;
}

ul.products li.product:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
	transform: translateY(-2px) !important;
}

/* Product Image Container */
.astra-shop-thumbnail-wrap {
	margin-bottom: 20px !important;
	background: #ffffff !important;
	border-radius: 6px !important;
	overflow: hidden !important;
	position: relative !important;
}

.astra-shop-thumbnail-wrap a.woocommerce-LoopProduct-link {
	display: block !important;
}

.astra-shop-thumbnail-wrap img {
	width: 100% !important;
	height: auto !important;
	display: block !important;
	border-radius: 6px !important;
}

/* Hide the cart icon on image */
.ast-on-card-button,
a.ast-on-card-button {
	display: none !important;
}

/* Product Category - Hide */
.ast-woo-product-category {
	display: none !important;
}

/* Product Summary Wrapper */
.astra-shop-summary-wrap {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
}

/* Product Title */
h2.woocommerce-loop-product__title,
.woocommerce-loop-product__title {
	font-size: 24px !important;
	font-weight: 600 !important;
	color: #000000 !important;
	margin: 15px 0 !important;
	line-height: 1.3 !important;
	text-align: center !important;
}

.ast-loop-product__link {
	text-decoration: none !important;
}

/* Product Price */
.astra-shop-summary-wrap .price,
span.price {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #7ed957 !important;
	margin: 15px 0 20px !important;
	display: block !important;
	text-align: center !important;
}

.price .woocommerce-Price-amount,
.price bdi {
	color: #7ed957 !important;
	font-size: 28px !important;
	font-weight: 700 !important;
}

.price .subscription-details {
	font-size: 16px !important;
	color: #666666 !important;
	font-weight: 400 !important;
}

/* Add to Cart Button */
.astra-shop-summary-wrap a.button,
a.button.product_type_subscription,
a.button.product_type_simple,
a.add_to_cart_button {
	background-color: #7ed957 !important;
	color: #ffffff !important;
	border: none !important;
	padding: 14px 40px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	border-radius: 4px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	text-transform: capitalize !important;
	display: inline-block !important;
	width: auto !important;
	min-width: 150px !important;
	text-align: center !important;
	text-decoration: none !important;
	margin-top: 10px !important;
}

.astra-shop-summary-wrap a.button:hover,
a.button.add_to_cart_button:hover {
	background-color: #6bc745 !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 4px 8px rgba(126, 217, 87, 0.3) !important;
}

/* Responsive Grid */
@media (max-width: 991px) {
	ul.products.columns-3 {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 20px !important;
	}
}

@media (max-width: 767px) {
	ul.products.columns-3 {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
	}
	
	h2.woocommerce-loop-product__title {
		font-size: 20px !important;
	}
	
	.astra-shop-summary-wrap .price {
		font-size: 24px !important;
	}
}

.club-giveaway-header-section{
	width: 100% !important;
	padding: 36px !important;
}

/* ===================================
   CUSTOM FOOTER STYLES
   =================================== */

#custom-footer.site-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 0 80px;
    position: relative;
}

#custom-footer .container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Remove all blue link colors in footer */
#custom-footer a,
#custom-footer a:visited {
    color: inherit !important;
    text-decoration: none !important;
}

/* Footer Logo */
.footer-logo-col {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-logo .custom-logo-link,
.footer-logo-link {
    display: inline-block;
}

.footer-logo .custom-logo {
    max-width: 200px;
    height: auto;
}

.footer-logo .site-title {
    color: #7ed957;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer Headings */
.footer-heading {
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: capitalize;
}

/* Footer Menu Columns */
.footer-menu-col {
    margin-bottom: 30px;
}

/* Footer Navigation */
.footer-nav {
    margin: 0;
}

.footer-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.footer-menu li {
    margin-bottom: 16px;
    list-style: none !important;
    padding-left: 0 !important;
}

.footer-menu li:before {
    display: none !important;
}

.footer-menu li a {
    color: #b8b8b8 !important;
    text-decoration: none !important;
    font-size: 17px;
    line-height: 1.8;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-menu li a:hover,
.footer-menu li a:focus {
    color: #ffffff !important;
}

/* Social Menu Specific Styles */
.footer-social-menu {
    list-style: none !important;
}

.footer-social-menu li {
    display: flex;
    align-items: center;
    list-style: none !important;
}

.footer-social-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b8b8b8 !important;
}

.footer-social-menu li a:hover {
    color: #ffffff !important;
}

/* Social Icons - Using Font Awesome / Dashicons */
.footer-social-menu li a:before {
    content: "";
    font-family: "Font Awesome 5 Brands", "dashicons";
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    font-weight: 400;
    color: inherit;
}

/* Facebook Icon */
.footer-social-menu li:has(a[href*="facebook"]) a:before {
    content: "\f39e";
}

/* Instagram Icon */
.footer-social-menu li:has(a[href*="instagram"]) a:before {
    content: "\f16d";
}

/* YouTube Icon */
.footer-social-menu li:has(a[href*="youtube"]) a:before {
    content: "\f167";
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #3a3f47;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 9999;
    padding: 0;
}

.back-to-top-btn:hover {
    background-color: #7ed957;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.back-to-top-btn:focus {
    outline: 2px solid #7ed957;
    outline-offset: 2px;
}

.back-to-top-btn.show {
    display: flex;
}

.back-to-top-btn svg {
    width: 24px;
    height: 24px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    #custom-footer.site-footer {
        padding: 40px 0 70px;
    }
    
    .footer-menu-col {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    #custom-footer.site-footer {
        padding: 30px 0 60px;
        text-align: center;
    }
    
    .footer-logo-col {
        justify-content: center;
        margin-bottom: 40px;
    }
    
    .footer-menu-col {
        text-align: center;
    }
    
    .footer-heading {
        font-size: 20px;
    }
    
    .footer-menu li a {
        font-size: 16px;
    }
    
    .footer-social-menu li {
        justify-content: center;
    }
    
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .footer-logo .custom-logo {
        max-width: 150px;
    }
    
    .back-to-top-btn {
        width: 40px;
        height: 40px;
    }
    
    .back-to-top-btn svg {
        width: 20px;
        height: 20px;
    }
}