/* --------------------------------------------------------------
   000 – Layout
-------------------------------------------------------------- */
#primary {
    margin: 1em;
}
body {
    font-size: large;
}
.entry-content p {
    font-size: 1.2em !important;
}

/* Links */
a,
.page-title {
    color: #444;
}

/* --------------------------------------------------------------
   Header
-------------------------------------------------------------- */
.ast-site-title-wrap {
    text-align: center;
    padding: 5px;
}

.ast-logo-title-inline .ast-site-identity {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 600;
    transition: all .2s linear;
}

/* Menus */
.menu-link {
    font-size: 1.1em !important;
}
.sub-menu .menu-link {
    font-size: 1em !important;
}
.ast-desktop .ast-above-header-bar .main-header-menu > .menu-item {
    line-height: 80px;
}

/* Stronger override for button */
.ast-custom-button {
    position: relative !important;
    display: inline-block !important;  
    padding-left: 1.7em !important;           /* force padding */
    font-size: 1.2em !important;
    box-sizing: content-box;                /* ensure padding expands content area */
}

/* Pseudo-element for the icon */
.ast-custom-button::before {
    content: "\f095";                        /* Font Awesome phone */
    font-family: "Font Awesome 5 Free";      /* 5 FA version */
    font-weight: 900;                        /* solid icon */
    position: absolute;
    left: 0.6em;                             /* spacing from left edge */
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    font-size: 0.9em;
    pointer-events: none;                    /* icon doesn’t block clicks */
}

/* Cart SlideIn */
.widget_shopping_cart {
    padding: 1em;
}

.elementor-menu-cart__footer-buttons {
    text-align: center;
}
.elementor-menu-cart__footer-buttons > .elementor-button {
    margin: 0.5em auto;
}

/* --------------------------------------------------------------
   Sidebar
-------------------------------------------------------------- */
/* Widget Titles */
h2.widget-title {
    text-align: center;
    width: 219px;
    position: relative;
    left: -18px;
    font-family: "Dyer Arts and Crafts";
    font-weight: 400;
    color: #3a3a3a;
}

h2.widget-title:after {
    content: url(https://craftonhillsirisfarm.com/wp-content/uploads/2019/12/divider.png);
}

/* --------------------------------------------------------------
   Pages
-------------------------------------------------------------- */
/** Front Page **/
/* Carousel */
span.eael-onsale.outofstock.sale-preset-3.right {
    display: none;
}

/* --------------------------------------------------------------
   WooCommerce
-------------------------------------------------------------- */
/* Shop */
.ast-shop-product-out-of-stock {
    background-color: #fefcf9a6;
    top: 2em !important;
    height: 2em;
    line-height: 1.1em;
}

.woocommerce-shop .elementor-2269 .elementor-element.elementor-element-ec8520b {
    display: none;
}

p.stock.out-of-stock:before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    line-height: inherit;
    vertical-align: baseline;
    margin-right: 0.5em;
    content: "\f119";
    font-size: 1.4em;
}

span.format {
    display: none !important;
}


/* Pre-order */
.preoder-span-block {
    display: block;
    margin-top: 0;
    text-align: center;
    font-size: 1em;
    line-height: 1em;
}

.price {
    margin-top: -2em !important;
}

a.button.product_type_simple {
    background-color: #7bc52a !important;
    padding: 15px 25px;
}
a.button.product_type_simple:hover {
    background-color: #657e21 !important;
    padding: 15px 25px;
}
.shop-page-sect .custom-attributes > br {
    display: none;
}

.shop-page-sect .custom-attributes {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.shop-page-sect .format,
.shop-page-sect .custom-attributes,
.shop-page-sect .writer {
    padding: 10px 0;
}

.shop-page-sect .format {
    order: 3;
}

.shop-page-sect .archive-title .attribute-value {
    font-size: 23.4px;
    font-family: "Dyer Arts and Crafts", sans-serif;
    color: #444;
    font-weight: 500;
    line-height: 26px;
}

/* Hide default title */
.shop-page-sect .woocommerce-loop-product__title {
    display: none;
}

span.color,
span.ast-woo-product-category {
    display: none !important;
}

span.format {
    text-transform: uppercase;
    font-size: 13.5px;
    color: #777;
    letter-spacing: 2px;
}

span.writer {
    font-size: 18px;
    color: #777;
    font-style: italic;
}

span.format:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f02d";
    margin-right: 10px;
    background: rgba(0, 0, 0, 0.075);
    padding: 7px;
    border-radius: 20px;
}

/* Breadcrumb Home Icon */
.woocommerce-breadcrumb a:first-of-type::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f015";
    margin-right: .54em;
}

/* --------------------------------------------------------------
   Single Product 
-------------------------------------------------------------- */
/* Hide archive title on single page */
.single-product .archive-title .attribute-value {
    display: none !important;
}

.single-product .woocommerce-loop-product__title {
    margin-top: -20px !important;
}

/* Attributes */

.woocommerce-product-attributes tr > th,
.woocommerce-product-attributes .woocommerce-product-attributes-item--attribute_pa_color {
    display: none;
}

.woocommerce-product-attributes tr > td,
.woocommerce-product-attributes.shop_attributes {
    background: transparent !important;
    border: unset !important;
}

.woocommerce-product-attributes tr:last-child td > p {
    font-family: "Dyer Arts and Crafts" !important;
    font-size: 41px;
    color: #444 !important;
    font-weight: 900;
}

.woocommerce-product-attributes .woocommerce-product-attributes-item--attribute_pa_writer p {
    font-size: 20px;
}

.woocommerce-product-attributes p {
    padding: 0 !important;
}

.woocommerce-product-attributes tbody {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.woocommerce-product-attributes .woocommerce-product-attributes-item--attribute_pa_format {
    order: 3;
}

.woocommerce-product-attributes .woocommerce-product-attributes-item--attribute_pa_format p {
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
}

.woocommerce-product-attributes .woocommerce-product-attributes-item--attribute_pa_format p::before {
    /* content: "\f02d"; */
    content: "\e500";
    font-family: "Font Awesome 5 Free";
    padding: 7px;
    color: #1e1717;
    background: #7772;
    border-radius: 50%;
    font-size: 18px;
    margin-right: 5px;
}
tr.woocommerce-product-attributes-item.woocommerce-product-attributes-item--attribute_pa_format > td > p::before {
    content: "\f666"; /* Use the correct code for your icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900; /* Required for solid icons */
    color: #1e1717;
    background: #7772;
    border-radius: 50%;
    font-size: 18px;
    margin-right: .5em;
}

.woocommerce-js div.product form.cart div.quantity {
    float: left;
    margin: 0 1em 3em 0;
    font-size: larger;
}

/** Product Add-On **/
/* Put checkbox and label on the same line */
.wc-pao-addon-13198-0-0 label {
    display: flex;
    align-items: center;
    gap: 0.5em; /* space between checkbox and text */
    font-size: 1.1em !important;
}

/* Enlarge the checkbox */
.wc-pao-addon-13198-0-0 input[type="checkbox"] {
    width: 17px;
    height: 17px;
    transform: scale(1.1); /* alternative, zooms uniformly */
    cursor: pointer;
}

/* Optional: vertically center text */
.wc-pao-addon-13198-0-0 label {
    margin: 0;
    cursor: pointer;
}

/** Related products **/
#related-products-added .price {
    margin-top: -0.1em !important;
}
#related-products-added .custom-attributes > br {
    display: none;
}

#related-products-added .custom-attributes {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

#related-products-added .format,
#related-products-added .custom-attributes,
#related-products-added .writer {
    padding: 10px 0;
}

/* Responsive Products Grid */
@media screen and (max-width: 980px) {
    .related.products .products.columns-4 {
        max-width: 640px;
        width: 100%;
        display: flex;
        margin: 0 auto !important;
    }
}

/* --------------------------------------------------------------
   Checkout 
-------------------------------------------------------------- */
/* ship-to-different-address */
input#ship-to-different-address-checkbox {
    margin-right: 0.1em;
}
#customer_details h3 {
    font-size: 1em !important;
}

/* Terms and Conditions */
.woocommerce-terms-and-conditions-wrapper input.input-checkbox {
    margin-right: 0.1em;
}
span.woocommerce-terms-and-conditions-checkbox-text {
    font-size: 18px !important;
}

.woocommerce-page.woocommerce-checkout #payment #place_order, .woocommerce.woocommerce-checkout #payment #place_order {
    width: 100%;
    font-size: 1.2em;
    font-weight: 800;
}

/* --------------------------------------------------------------
   Local Pickup & Shipping
-------------------------------------------------------------- */
.enable-local-pickup,
.woocommerce-shipping-destination {
    display: none;
}

/* Gift Card */
button.giftup-cart-subtotal-td-form-button {
    padding: 0 1em !important;
}

/* --------------------------------------------------------------
   Social Media
-------------------------------------------------------------- */
/* Facebook Feed Tweaks */
.fts-jal-fb-header a {
    display: none;
}

.fts-powered-by-text {
    opacity: 0;
}

/* --------------------------------------------------------------
   Footer
-------------------------------------------------------------- */
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    background-image:
        /* White overlay fade */
        linear-gradient(
            to top,
            rgba(255, 255, 255, 0.85) 0%,   /* bottom = 20% white */
            rgba(255, 255, 255, 1) 100%   /* top = 100% white */
        ),
        url("/wp-content/uploads/2025/03/panarama-for-event-web-site-1.jpeg");

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

aside.footer-widget-area #block-14 > figure {
    text-align: center;
    vertical-align: top
}

section#block-32 {
    margin-bottom: 0;
}
aside.footer-widget-area #block-32 > h2.wp-block-heading {
    font-size: 2em;
    font-family: "Dyer Arts and Crafts";
    font-weight: 400;
    color: #3a3a3a;
    text-align: center;
}

section#block-26 {
    margin-bottom: 0;
}
aside.footer-widget-area #block-26 > h2.wp-block-heading {
    font-size: 2em;
    font-family: "Dyer Arts and Crafts";
    font-weight: 400;
    color: #3a3a3a;
    text-align: center;
}
section#block-27 .wp-block-search__inside-wrapper .wp-block-search__input {
    padding: 0.7em 0.5em 0.05em 0.5em;
}
button.wp-block-search__button.has-icon {
    padding: 10px 20px 10px 20px !important;
}

h6.wp-block-heading.alignfull.has-text-align-center {
    font-size: 1em;
}
