/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com/
Description: Child theme for GeneratePress.
Author: Graphic Girl Design
Template: generatepress
Version: 1.0.0
Text Domain: generatepress-child
*/

/*
Add your custom CSS below this line.
*/

:root {
    --main-blue: #0e5fae;
    --main-blue-hover: #0a6fd5;
}

/* Store announcement bar */

.store-announcement-bar {
    width: 100%;
    padding: var(--announcement-padding) 20px;
    text-align: center;

    background: var(--announcement-bg);
    color: var(--announcement-color);
}

.store-announcement-bar__inner {
    position: relative;
    max-width: 1300px;
    min-height: 1.4em;
    margin: 0 auto;

    font-size: var(--announcement-font-size);
    font-weight: var(--announcement-weight);
    line-height: 1.3;
    letter-spacing: var(--announcement-spacing);
    text-transform: var(--announcement-transform);
}

.store-announcement-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.store-announcement-message.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* =========================================================
   STORE HEADER – CORE STYLING
   GeneratePress
   Full-width header
   Menu left | Centred logo | Menu right | Account | Cart
   ========================================================= */


/* =========================================================
   SECTION 01 – HEADER WRAPPER
   ========================================================= */

.site-header {
    position: relative;
    width: 100%;
    z-index: 100;
}


/* =========================================================
   SECTION 02 – DESKTOP HEADER
   ========================================================= */

@media (min-width: 769px) {

    .site-header .inside-header {
        position: relative;

        display: flex;
        align-items: center;

        width: 100%;
        max-width: none;

        margin: 0;

        /* -----------------------------------------
           DESKTOP HEADER HEIGHT / VERTICAL SPACING
           Adjust these values as needed
           ----------------------------------------- */

        padding-top: 27px;
        padding-bottom: 25px;

        /* -----------------------------------------
           DESKTOP LEFT / RIGHT GUTTER
           Header remains full width
           ----------------------------------------- */

        padding-left: 20px;
        padding-right: 20px;
    }


    /* -----------------------------------------
       TRUE CENTRED LOGO
       ----------------------------------------- */

    .site-header .site-logo {
        position: absolute;

        left: 50%;
        top: 50%;

        transform: translate(-50%, -50%);

        z-index: 50;

        margin: 0;
    }

    .site-header .site-logo a {
        display: block;
    }


    /* Desktop logo size */

    .site-header .site-logo img {
        display: block;

        width: 130px;
        max-width: 130px;
        height: auto;
    }


    /* -----------------------------------------
       NAVIGATION LAYOUT
       ----------------------------------------- */

    .site-header .main-navigation {
        float: none !important;

        flex: 1 1 100%;

        width: 100% !important;
        max-width: none;

        margin: 0 !important;

        background: transparent;
    }

    .site-header .main-navigation .inside-navigation,
    .site-header .main-navigation .main-nav {
        width: 100%;
    }


    /* Full-width menu row */

    .site-header .main-navigation .main-nav > ul {
        display: flex;
        align-items: center;

        width: 100%;

        margin: 0;
    }


    /*
     * Blog = menu item 4.
     * Push Blog + everything after it to the right.
     */

    .site-header .main-navigation .main-nav > ul > li:nth-child(4) {
        margin-left: auto;
    }


    /* -----------------------------------------
       ACCOUNT / CART ICONS
       ----------------------------------------- */

    .store-account-link > a,
    .store-cart-link {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .store-account-link svg {
        display: block;
    }
}


/* =========================================================
   SECTION 03 – MOBILE HEADER
   ========================================================= */

@media (max-width: 768px) {

    .site-header .inside-header {
        width: 100%;
        max-width: none;

        margin: 0;

        /* -----------------------------------------
           MOBILE HEADER HEIGHT / VERTICAL SPACING
           Adjust these values as needed
           ----------------------------------------- */

        padding-top: 10px;
        padding-bottom: 7px;

        padding-left: 20px;
        padding-right: 20px;
    }


    /* -----------------------------------------
       MOBILE LOGO
       Keep in normal flow
       ----------------------------------------- */

    .site-header .site-logo {
        position: relative;

        left: auto;
        top: auto;

        transform: none;

        z-index: auto;

        margin: 0;
    }

    .site-header .site-logo a {
        display: block;
    }

    .site-header .site-logo img {
        display: block;

        width: 110px;
        max-width: 110px;
        height: auto;
    }
}


/* =========================================================
   SECTION 04 – HEADER NAVIGATION STYLING
   ========================================================= */

.site-header .main-navigation .main-nav > ul > li > a {
    color: #000;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/* Hover */

.site-header .main-navigation .main-nav > ul > li > a:hover {
    color: var(--main-blue);
}


/* Current / active item */

.site-header .main-navigation .main-nav > ul > li.current-menu-item > a,
.site-header .main-navigation .main-nav > ul > li.current-menu-ancestor > a,
.site-header .main-navigation .main-nav > ul > li.current_page_item > a {
    color: var(--main-blue);
}

/* =========================================================
   SECTION 05 – SUBTLE HEADER BOTTOM GRADIENT
   ========================================================= */

.site-header::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -20px;

    height: 20px;

    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(20, 30, 40, 0.045) 0%,
        rgba(20, 30, 40, 0.018) 45%,
        transparent 100%
    );
}

/* =========================================================
   STORE MOBILE MENU DRAWER
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------
       Mobile header
       ----------------------------------------- */

    .site-header .inside-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .site-header .site-logo {
        position: relative;
        left: auto;
        transform: none;
        z-index: auto;
    }


    /* -----------------------------------------
       Hamburger button
       ----------------------------------------- */

    .main-navigation .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 44px;
        height: 44px;
        padding: 0;

        color: #000;
        background: transparent !important;
        border: 0;
    }

    .main-navigation .menu-toggle:hover,
    .main-navigation .menu-toggle:focus {
        color: var(--main-blue);
        background: transparent !important;
    }

    /* Hide GeneratePress default icon */
    .main-navigation .menu-toggle .gp-icon {
        display: none;
    }

    /* Custom staggered hamburger */
    .main-navigation .menu-toggle::before {
        content: "";
        display: block;

        width: 24px;
        height: 20px;

        background-color: currentColor;

        -webkit-mask:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Crect x='0' y='1' width='21' height='2' rx='1'/%3E%3Crect x='0' y='9' width='15' height='2' rx='1'/%3E%3Crect x='0' y='17' width='19' height='2' rx='1'/%3E%3C/svg%3E")
            center / contain no-repeat;

        mask:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Crect x='0' y='1' width='21' height='2' rx='1'/%3E%3Crect x='0' y='9' width='15' height='2' rx='1'/%3E%3Crect x='0' y='17' width='19' height='2' rx='1'/%3E%3C/svg%3E")
            center / contain no-repeat;
    }


    /* -----------------------------------------
       Drawer
       ----------------------------------------- */

    .main-navigation .main-nav {
        position: fixed;

        top: 10px;
        right: 10px;
        bottom: 10px;

        width: min(88vw, 430px);

        padding: 90px 34px 40px;

        background: var(--main-blue) !important;
        color: rgba(255, 255, 255, 0.9);

        border-radius: 18px;

        overflow-y: auto;

        z-index: 99999;

        transform: translateX(calc(100% + 20px));
        visibility: hidden;

        /*
         * Important:
         * No transition until the user actually interacts
         * with the mobile menu.
         */
        transition: none;
    }

    body.store-mobile-menu-ready .main-navigation .main-nav {
        transition:
            transform 0.35s ease,
            visibility 0.35s ease;
    }

    .main-navigation.toggled .main-nav {
        transform: translateX(0);
        visibility: visible;
    }


    /* -----------------------------------------
       Menu list
       ----------------------------------------- */

    .main-navigation .main-nav > ul {
        display: block !important;
        width: 100%;
    }

    .main-navigation .main-nav > ul > li {
        display: block;
        width: 100%;
        margin: 0;
    }

    .main-navigation .main-nav > ul > li > a {
        display: flex;
        align-items: center;

        width: 100%;
        min-height: 58px;

        padding: 0;

        color: rgba(255, 255, 255, 0.9);

        font-size: 16px;
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;

        transition: color 0.2s ease;
    }

    .main-navigation .main-nav > ul > li > a:hover,
    .main-navigation .main-nav > ul > li.current-menu-item > a,
    .main-navigation .main-nav > ul > li.current-menu-ancestor > a {
        color: #fff;
    }


    /* -----------------------------------------
       Account / cart
       ----------------------------------------- */

    .store-account-link > a,
    .store-cart-link,
    .store-cart-link a {
        min-height: 54px;
        color: rgba(255, 255, 255, 0.9);
    }

    .store-account-link > a:hover,
    .store-cart-link:hover,
    .store-cart-link a:hover {
        color: #fff;
    }


    /* -----------------------------------------
       Toggle becomes close button when open
       ----------------------------------------- */

    .main-navigation.toggled .menu-toggle {
        position: fixed;

        top: 26px;
        right: 26px;

        width: 34px;
        height: 34px;
        padding: 0;

        z-index: 100001;

        color: rgba(255, 255, 255, 0.9);

        background: rgba(255, 255, 255, 0.12) !important;
        border-radius: 50%;

        transition:
            color 0.25s ease,
            background-color 0.25s ease;
    }

    .main-navigation.toggled .menu-toggle:hover,
    .main-navigation.toggled .menu-toggle:focus {
        color: #fff;
        background: var(--main-blue-hover) !important;
    }

    .main-navigation.toggled .menu-toggle::before {
        width: 22px;
        height: 22px;

        -webkit-mask:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5L19 19M19 5L5 19' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")
            center / contain no-repeat;

        mask:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 5L19 19M19 5L5 19' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")
            center / contain no-repeat;

        transition: transform 0.3s ease;
    }

    .main-navigation.toggled .menu-toggle:hover::before {
        transform: rotate(90deg);
    }


    /* -----------------------------------------
       Backdrop
       ----------------------------------------- */

    .store-mobile-menu-backdrop {
        position: fixed;
        inset: 0;

        background: rgba(0, 0, 0, 0.25);

        opacity: 0;
        visibility: hidden;

        z-index: 99998;

        transition:
            opacity 0.35s ease,
            visibility 0.35s ease;
    }

    .store-mobile-menu-backdrop.is-active {
        opacity: 1;
        visibility: visible;
    }

}


/* -----------------------------------------
   Background scroll lock
   ----------------------------------------- */

html.store-mobile-menu-open,
body.store-mobile-menu-open {
    overflow: hidden;
}


/* -----------------------------------------
   Reduced motion
   ----------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .main-navigation .main-nav,
    .store-mobile-menu-backdrop,
    .main-navigation .menu-toggle::before {
        transition: none !important;
    }
}

/* =========================================================
   SINGLE PRODUCT – CORE LAYOUT
   GeneratePress + WooCommerce + WC Variation Kit
   ========================================================= */


/* =========================================================
   SECTION 01 – TOP PRODUCT LAYOUT
   ========================================================= */

.single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    column-gap: clamp(40px, 5vw, 72px);
    row-gap: 40px;
    align-items: start;
}


/* Override WooCommerce / GeneratePress default floats */

.single-product div.product .woocommerce-product-gallery {
    grid-column: 1;

    width: 100% !important;
    max-width: none !important;

    float: none !important;
    margin: 0 !important;
}

.single-product div.product .summary {
    grid-column: 2;

    width: 100% !important;
    max-width: none !important;

    float: none !important;
    margin: 0 !important;
}


/* Content below the top section */

.single-product div.product .woocommerce-tabs,
.single-product div.product .related,
.single-product div.product .upsells {
    grid-column: 1 / -1;
    width: 100%;
}


/* =========================================================
   SECTION 02 – PRODUCT GALLERY
   ========================================================= */

.single-product .woocommerce-product-gallery {
    position: relative;
}


/* Main image viewport */

.single-product .woocommerce-product-gallery .flex-viewport {
    position: relative;

    overflow: hidden;

    margin-bottom: 12px;

    border-radius: 16px;
}


/*
 * Keep radius before and after FlexSlider initialises.
 * WC Variation Kit rebuilds this markup on variation switch.
 */

.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image > a,
.single-product .woocommerce-product-gallery__image img {
    border-radius: 16px;
}

.single-product .woocommerce-product-gallery__image {
    overflow: hidden;
}

.single-product .woocommerce-product-gallery__image > a {
    display: block;

    /*
     * Main image itself is not the lightbox trigger.
     * The dedicated expand button controls lightbox.
     */
    pointer-events: none;
    cursor: default;
}

.single-product .woocommerce-product-gallery__image img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
}


/* =========================================================
   SECTION 03 – GALLERY THUMBNAILS
   ========================================================= */

.single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    gap: 12px;

    margin: 0 !important;
    padding: 0;

    list-style: none;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li {
    float: none !important;

    width: 124px !important;

    margin: 0 !important;
    padding: 0;

    border: 1px solid transparent;
    border-radius: 10px;

    overflow: hidden;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 9px;

    opacity: 1;

    cursor: pointer;

    transition:
        opacity 0.2s ease;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover {
    opacity: 0.9;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active) {
    border-color: rgba(0, 0, 0, 0.22);
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    outline: none;
}


/* =========================================================
   SECTION 04 – GALLERY PREVIOUS / NEXT ARROWS
   ========================================================= */

/*
 * Overlay arrow navigation over the main image area,
 * rather than centering against gallery + thumbnails.
 */

.single-product .woocommerce-product-gallery .flex-direction-nav {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: calc(100% - 136px);

    margin: 0;
    padding: 0;

    list-style: none;

    pointer-events: none;
}

.single-product .woocommerce-product-gallery .flex-direction-nav li {
    margin: 0;
    padding: 0;
}


/* Hidden until gallery hover */

.single-product .woocommerce-product-gallery .flex-direction-nav a {
    position: absolute;
    top: 50%;

    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    margin-top: -20px;

    color: #fff;
    background: rgba(0, 0, 0, 0.16);

    border-radius: 50%;

    opacity: 0;
    visibility: hidden;

    font-size: 0;
    text-decoration: none;
    text-shadow: none;

    pointer-events: auto;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        background-color 0.2s ease;
}

.single-product .woocommerce-product-gallery:hover .flex-direction-nav a {
    opacity: 1;
    visibility: visible;
}

.single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev {
    left: 20px;
}

.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next {
    right: 20px;
}

.single-product .woocommerce-product-gallery .flex-direction-nav a:hover {
    background: rgba(0, 0, 0, 0.28);
}


/* Softer Blocksy-style chevrons */

.single-product .woocommerce-product-gallery .flex-direction-nav a::before {
    content: "";

    width: 9px;
    height: 9px;

    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;

    font-family: inherit;
    font-size: 0;
    text-shadow: none;
}

.single-product .woocommerce-product-gallery .flex-prev::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.single-product .woocommerce-product-gallery .flex-next::before {
    transform: rotate(45deg);
    margin-right: 4px;
}


/* =========================================================
   SECTION 05 – LIGHTBOX / EXPAND TRIGGER
   ========================================================= */

.single-product .woocommerce-product-gallery__trigger,
.single-product .store-gallery-expand {
    position: absolute !important;

    top: 18px !important;
    right: 18px !important;

    z-index: 50;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 38px !important;
    height: 38px !important;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.92) !important;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3H3v5M16 3h5v5M3 16v5h5M21 16v5h-5' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 18px !important;

    opacity: 1 !important;
    visibility: visible !important;

    font-size: 0 !important;

    cursor: pointer;

    transition:
        background-color 0.2s ease;
}


/* Remove WooCommerce magnifying-glass graphic */

.single-product .woocommerce-product-gallery__trigger::before,
.single-product .woocommerce-product-gallery__trigger::after {
    display: none !important;
    content: none !important;
}

.single-product .woocommerce-product-gallery__trigger:hover,
.single-product .store-gallery-expand:hover {
    background-color: #fff !important;
}


/* =========================================================
   SECTION 06 – PRODUCT SUMMARY
   ========================================================= */

.single-product .product_title {
    margin-bottom: 12px;
}

.single-product .summary .price {
    margin-bottom: 28px;
}

.single-product .woocommerce-product-details__short-description {
    margin-bottom: 28px;
}


/* =========================================================
   SECTION 07 – VARIATION / SWATCH LAYOUT
   ========================================================= */

/*
 * Target layout:
 *
 * Colour
 * ○ ○ ○ ○   Clear
 */

.single-product form.cart.variations_form {
    display: block;
    width: 100%;
}

.single-product form.cart .variations {
    width: 100%;
    margin-bottom: 24px;
}

.single-product form.cart .variations tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: 100%;

    gap: 10px;
}


/* Variation label */

.single-product form.cart .variations th.label {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    text-align: left;
}

.single-product form.cart .variations th.label label {
    margin: 0;

    font-weight: 400;
    line-height: 1.2;
}


/* Swatches + Clear */

.single-product form.cart .variations td.value {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;

    gap: 12px;

    width: 100%;

    margin: 0;
    padding: 0;
}


/* Remove unwanted vertical margins */

.single-product form.cart .variations td.value > * {
    margin-top: 0;
    margin-bottom: 0;
}


/* WooCommerce Clear link */

.single-product form.cart .reset_variations {
    display: inline-flex !important;
    align-items: center;

    margin: 0 0 0 4px !important;

    color: #111;

    font-size: 14px;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;
}

.single-product form.cart .reset_variations:hover {
    color: var(--main-blue);
}


/* =========================================================
   SECTION 08 – PURCHASE ROW
   ========================================================= */

.single-product .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: stretch;

    gap: 10px;

    width: 100%;
}


/* =========================================================
   SECTION 09 – QUANTITY CONTROLS
   ========================================================= */

.single-product .quantity {
    display: grid;
    grid-template-columns: 42px 44px 42px;

    height: 56px;

    border: 1px solid var(--main-blue);
    background: #fff;
}

.single-product .quantity .qty {
    width: 44px !important;
    height: 54px;

    padding: 0;

    border: 0 !important;
    background: transparent;

    text-align: center;

    appearance: textfield;
    -moz-appearance: textfield;
}

.single-product .quantity .qty::-webkit-inner-spin-button,
.single-product .quantity .qty::-webkit-outer-spin-button {
    margin: 0;

    -webkit-appearance: none;
}

.single-product .store-qty-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 54px;

    padding: 0;

    border: 0;
    background: transparent;

    color: #111;

    font-size: 18px;
    font-weight: 400;

    cursor: pointer;
}

.single-product .store-qty-button:hover {
    color: var(--main-blue);
}


/* =========================================================
   SECTION 10 – ADD TO CART BUTTON
   ========================================================= */

.single-product .woocommerce-variation-add-to-cart
.single_add_to_cart_button {
    flex: 1;

    min-height: 56px;
    margin: 0;

    border-radius: 999px;
}


/* =========================================================
   SECTION 11 – PRODUCT META
   ========================================================= */

.single-product .product_meta {
    display: none;
}


/* =========================================================
   SECTION 12 – MOBILE
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------
       Mobile layout
       ----------------------------------------- */

    .single-product div.product {
        display: block;
    }

    .single-product div.product .woocommerce-product-gallery {
        margin-bottom: 32px !important;
    }


    /* -----------------------------------------
       Mobile gallery thumbnails
       ----------------------------------------- */

    .single-product .woocommerce-product-gallery .flex-control-thumbs li {
        width: 84px !important;
    }


    /* -----------------------------------------
       Mobile gallery arrows
       ----------------------------------------- */

    /*
     * Touch devices do not have reliable hover,
     * so arrows remain visible on mobile.
     */

    .single-product .woocommerce-product-gallery .flex-direction-nav {
        height: calc(100% - 96px);
    }

    .single-product .woocommerce-product-gallery .flex-direction-nav a {
        width: 36px;
        height: 36px;

        margin-top: -18px;

        opacity: 1;
        visibility: visible;
    }

    .single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev {
        left: 12px;
    }

    .single-product .woocommerce-product-gallery .flex-direction-nav .flex-next {
        right: 12px;
    }


    /* -----------------------------------------
       Mobile expand trigger
       ----------------------------------------- */

    .single-product .woocommerce-product-gallery__trigger,
    .single-product .store-gallery-expand {
        top: 14px !important;
        right: 14px !important;

        width: 36px !important;
        height: 36px !important;

        background-size: 17px !important;
    }


    /* -----------------------------------------
       Mobile variation row
       ----------------------------------------- */

    .single-product form.cart .variations tr {
        gap: 12px;
    }

    .single-product form.cart .variations th.label {
        min-width: 64px;
    }

    .single-product form.cart .variations td.value {
        gap: 10px;
    }


    /* -----------------------------------------
       Mobile purchase row
       ----------------------------------------- */

    .single-product .woocommerce-variation-add-to-cart {
        flex-wrap: wrap;
    }

    .single-product .woocommerce-variation-add-to-cart
    .single_add_to_cart_button {
        flex: 1 1 180px;
    }
}
/* =========================================================
   SECTION 12 – FULL WIDTH PRODUCT CONTENT
   Elementor Template 468
   ========================================================= */


/*
 * Force the lower Elementor section onto its own full grid row,
 * after both gallery and summary.
 */

.single-product div.product .store-product-bottom-content {
    grid-column: 1 / -1;
    grid-row: auto;

    position: relative !important;
    z-index: 1;

    width: 100vw;
    max-width: none;

    margin-top: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    clear: both;
}


/* Make Elementor output use the full breakout width */

.single-product .store-product-bottom-content > .elementor {
    width: 100%;
    max-width: none;
}


/* =========================================================
   STOP PRODUCT GALLERY STICKY / OVERLAP BEHAVIOUR
   ========================================================= */

.single-product div.product .woocommerce-product-gallery {
    position: relative !important;
    top: auto !important;

    align-self: start;

    transform: none !important;
}


/*
 * Defensive reset for any sticky wrapper/class inherited
 * from WooCommerce, GeneratePress or previous styling.
 */

.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery * {
    scroll-margin-top: 0;
}
}

/* =========================================================
   FOOTER – CORE STYLING
   GeneratePress

   CUSTOMIZER CONTROLS:
   - Footer background colours
   - Footer text colours
   - Link colours
   - Hover colours

   CSS CONTROLS:
   - Typography
   - Layout
   - Spacing
   - Mobile behaviour

   Widget 1 is controlled by Elementor.
   ========================================================= */


/* =========================================================
   SECTION 01 – FOOTER WRAPPER
   ========================================================= */

.site-footer {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   SECTION 02 – MAIN FOOTER INNER SPACING
   ========================================================= */

/*
 * ADJUST FOOTER TOP / BOTTOM PADDING HERE
 */

.site-footer .footer-widgets-container {
    padding-top: 100px;
    padding-bottom: 100px;
}


/* Desktop widget layout */

.site-footer .inside-footer-widgets {
    display: grid;

    grid-template-columns:
        minmax(240px, 1.25fr)
        minmax(150px, 1fr)
        minmax(150px, 1fr)
        minmax(180px, 1fr);

    gap: clamp(40px, 6vw, 90px);

    align-items: start;
}


/* =========================================================
   SECTION 03 – WIDGETS 2–4 HEADINGS
   ========================================================= */

.site-footer .footer-widget-2 .widget-title,
.site-footer .footer-widget-3 .widget-title,
.site-footer .footer-widget-4 .widget-title,

.site-footer .footer-widget-2 h2,
.site-footer .footer-widget-3 h2,
.site-footer .footer-widget-4 h2,

.site-footer .footer-widget-2 h3,
.site-footer .footer-widget-3 h3,
.site-footer .footer-widget-4 h3,

.site-footer .footer-widget-2 h4,
.site-footer .footer-widget-3 h4,
.site-footer .footer-widget-4 h4 {
    margin: 0 0 18px;

    font-family: "Inter", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;

    text-transform: uppercase;
}


/* =========================================================
   SECTION 04 – WIDGETS 2–4 LINKS
   ========================================================= */

.site-footer .footer-widget-2 ul,
.site-footer .footer-widget-3 ul,
.site-footer .footer-widget-4 ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer .footer-widget-2 li,
.site-footer .footer-widget-3 li,
.site-footer .footer-widget-4 li {
    margin: 0 0 8px;
}

.site-footer .footer-widget-2 a,
.site-footer .footer-widget-3 a,
.site-footer .footer-widget-4 a {
    font-family: "Inter", sans-serif !important;

    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;

    text-transform: none;
    text-decoration: none;

    transition: opacity 0.2s ease;
}

.site-footer .footer-widget-2 a:hover,
.site-footer .footer-widget-3 a:hover,
.site-footer .footer-widget-4 a:hover {
    opacity: 0.72;
}


/* Remove unwanted WP block spacing */

.site-footer .footer-widget-2 p,
.site-footer .footer-widget-2 ul,
.site-footer .footer-widget-2 ol,
.site-footer .footer-widget-3 p,
.site-footer .footer-widget-3 ul,
.site-footer .footer-widget-3 ol,
.site-footer .footer-widget-4 p,
.site-footer .footer-widget-4 ul,
.site-footer .footer-widget-4 ol {
    margin-top: 0;
}


/* =========================================================
   SECTION 05 – FOOTER BOTTOM BAR
   ========================================================= */

.site-footer .site-info {
    width: 100%;
    max-width: none;

    padding: 0;
}


/*
 * Bottom bar spacing + full-width divider
 */

.site-footer .inside-site-info {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    max-width: none;

    margin: 0;

    padding: 24px 40px;

    border-top: 1px solid rgba(255, 255, 255, 0.20);

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
}


/* Copyright */

.site-footer .copyright-bar {
    margin: 0;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
}


/* Terms / Privacy */

.site-footer .footer-bar {
    margin: 0;
}

.site-footer .footer-bar .widget {
    margin: 0;
}

.site-footer .footer-bar ul {
    display: flex;
    align-items: center;

    gap: 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer .footer-bar li {
    margin: 0;
}

.site-footer .footer-bar a {
    font-family: "Inter", sans-serif !important;

    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.4;

    text-decoration: none;
}


/* =========================================================
   SECTION 06 – TABLET
   ========================================================= */

@media (max-width: 900px) {

    .site-footer .inside-footer-widgets {
        grid-template-columns: 1.2fr 1fr 1fr;

        gap: 36px 50px;
    }

    .site-footer .footer-widget-4 {
        grid-column: 2 / -1;
    }

    .site-footer .inside-site-info {
        padding-left: 24px;
        padding-right: 24px;
    }
}


/* =========================================================
   SECTION 07 – MOBILE
   Widget 1 only
   ========================================================= */

@media (max-width: 600px) {

    /*
     * MOBILE FOOTER TOP / BOTTOM PADDING
     * Adjust here if needed
     */

    .site-footer .footer-widgets-container {
        padding-top: 38px;
        padding-bottom: 30px;
    }

    .site-footer .inside-footer-widgets {
        display: block;
    }


    /* Widget 1 remains visible / controlled by Elementor */

    .site-footer .footer-widget-1 {
        width: 100%;
    }


    /* Hide native footer navigation columns */

    .site-footer .footer-widget-2,
    .site-footer .footer-widget-3,
    .site-footer .footer-widget-4 {
        display: none;
    }


    /* Mobile bottom legal bar */

    .site-footer .inside-site-info {
        flex-direction: column;
        align-items: center;

        width: 100%;

        gap: 12px;

        padding: 22px 20px;

        font-size: 12px;

        text-align: center;
    }

    .site-footer .copyright-bar {
        width: 100%;

        font-size: 12px;

        text-align: center;
    }

    .site-footer .footer-bar {
        width: 100%;
    }

    .site-footer .footer-bar ul {
        justify-content: center;
        flex-wrap: wrap;

        gap: 8px 20px;
    }

    .site-footer .footer-bar a {
        font-size: 12px !important;
    }
}

/* =========================================================
   SECTION 08 – FOOTER HOVER STABILITY
   Prevent links / social icons shifting on hover
   ========================================================= */


/* Footer legal links */

.site-footer .footer-bar a,
.site-footer .footer-bar a:hover,
.site-footer .footer-bar a:focus {
    padding: 0 !important;

    line-height: 1.4 !important;

    border-width: 0 !important;

    transform: none !important;
}


/* Elementor social icons inside Footer Widget 1 */

.site-footer .footer-widget-1 .elementor-social-icon,
.site-footer .footer-widget-1 .elementor-social-icon:hover,
.site-footer .footer-widget-1 .elementor-social-icon:focus {
    padding: 0;

    line-height: 1;

    border-width: 0;

    transform: none !important;
}


/* Prevent icon itself shifting */

.site-footer .footer-widget-1 .elementor-social-icon i,
.site-footer .footer-widget-1 .elementor-social-icon svg {
    transform: none !important;
}