/*
Theme Name: Astra Child
Description: Astra Child Theme
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* ────────────────────────────────────────────
   AITII GEHL PREMIUM CTAs
──────────────────────────────────────────── */

.ag-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    background: #1c1a17;
    /* Ink */
    color: #fff !important;
    font-family: 'Marcellus', serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid #1c1a17;
    z-index: 1;
}

.ag-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #FEA000;
    /* Gold */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.ag-cta:hover {
    color: #1c1a17 !important;
    border-color: #FEA000;
}

.ag-cta:hover::before {
    transform: scaleX(1);
}

.ag-cta svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform 0.4s ease;
}

.ag-cta:hover svg {
    transform: translateX(5px);
}

/* Glassy CTA Variant */
.ag-cta-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #1c1a17 !important;
}

.ag-cta-glass:hover {
    background: #FEA000;
    color: #fff !important;
}

/* ────────────────────────────────────────────
   STANDARD PAGE (ABOUT, PRIVACY) RESPONSIVE TYPOGRAPHY & LAYOUT
──────────────────────────────────────────── */

/* Ensure the background stays pristine */
body.page {
    background-color: #f7f5f0 !important;
}

/* Beautiful editorial typography without width restraints */
.page:not(.woocommerce-page) .entry-content {
    padding: 60px 40px;
    /* Wider padding for full width */
    font-family: 'Marcellus', serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
    text-align: left;
    /* Flow naturally left to right */
}

/* Headings within these pages */
.page:not(.woocommerce-page) .entry-content h1,
.page:not(.woocommerce-page) .entry-content h2,
.page:not(.woocommerce-page) .entry-content h3,
.page:not(.woocommerce-page) .entry-content h4 {
    font-family: 'Cormorant Garamond', serif;
    color: #1c1a17;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 500;
    font-style: italic;
    text-align: left;
    /* Ensure headings also align left */
}

.page:not(.woocommerce-page) .entry-content h2 {
    font-size: 32px;
}

.page:not(.woocommerce-page) .entry-content h3 {
    font-size: 24px;
}

/* Mobile formatting */
@media (max-width: 768px) {
    .page:not(.woocommerce-page) .entry-content {
        padding: 40px 15px;
        font-size: 15px;
    }

    .page:not(.woocommerce-page) .entry-content h2 {
        font-size: 26px;
    }
}

/* ────────────────────────────────────────────
   HOME PAGE HERO FLUSH FIX
──────────────────────────────────────────── */
/* Remove default Astra spacing on the homepage so the slider touches the header */
.home .site-content,
.home .ast-container,
.home .ast-article-post,
.home .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Hide Astra's default page title block completely on the homepage */
.home header.entry-header {
    display: none !important;
}

/* Allow the content area to go full width and touch the top */
.home .ast-plain-container .site-content {
    padding-top: 0 !important;
}

/* ────────────────────────────────────────────
   GLOBAL SHOP GRID - IMAGE TO CONTENT SPACING
──────────────────────────────────────────── */
/* Pull product titles closer to the image thumbnails globally */
ul.products li.product .woocommerce-loop-product__title {
    margin-top: 8px !important;
}

ul.products li.product .price {
    margin-bottom: 12px !important;
}

