/*
 Theme Name:   Astra Child
 Template:     astra
 Version:      1.0.0
*/



/* ========================= */
/* 🛍 WooCommerce Styles */
/* ========================= */

/* 🧼 Hide product count and sorting dropdown */
.woocommerce-result-count,
.woocommerce-ordering {
    display: none;
}

/* 🎨 Product titles on grid */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-family: 'Georgia', serif;
    font-size: 18px;
    font-weight: normal;
    text-align: center;
    text-transform: capitalize;
    margin: 10px 0 0 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* 🧍‍♀️ Remove "Shop" title */
.woocommerce-products-header h1.page-title {
    display: none;
}

.woocommerce-products-header {
    margin-bottom: 20px;
}

/* 🌿 Product grid layout */
.woocommerce ul.products,
.archive .woocommerce ul.products {
    max-width: 1200px;
    margin: 15px auto 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 📱 Mobile padding */
@media (max-width: 768px) {
    .woocommerce ul.products {
        padding: 0 15px;
    }
}

/* 🖋️ Product title (single page) */
.woocommerce-js div.product .product_title {
    font-family: 'Playfair Display', serif;
    font-weight: 500 !important;
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: #000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 🧹 Remove related products */
.related.products {
    display: none !important;
}

/* ========================= */
/* 🧩 Site-Wide Typography & Layout */
/* ========================= */

.site-title {
    font-weight: 400;
    font-size: 28px;
}

.main-navigation a {
    font-weight: 400;
    font-size: 16px;
}

header.site-header {
    margin-bottom: 10px;
}

p {
    margin-bottom: 1.2em;
}

.wp-block-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.wp-block-button {
    flex: 1 1 200px;
    max-width: 250px;
}

.wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 20px;
    min-height: 60px;
    width: 100%;
    box-sizing: border-box;
}

/* ========================= */
/* 🎥 Responsive Video */
/* ========================= */

.responsive-video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
    overflow: hidden;
}

.responsive-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

