/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/
/* =========================================================
   ANCHOR MARINE PERSONALISER
   ========================================================= */


/* =========================================================
   PERSONALISER CARD
   ========================================================= */

.amp-designer {
    --amp-blue: #22409a;
    --amp-navy: #142a66;
    --amp-border: #e2e6ed;
    --amp-surface: #f7f9fc;

    width: 100%;
    margin: 24px 0;
    padding: 24px;

    background: #ffffff;
    border: 1px solid var(--amp-border);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(20, 42, 102, 0.07);

    box-sizing: border-box;
}

.amp-designer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 18px;
}

.amp-eyebrow {
    display: block;
    margin-bottom: 4px;

    color: var(--amp-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.amp-designer__header h3 {
    font-family: "Montserrat", sans-serif !important;
    font-size: 26px;
    font-weight: 700 !important;
    line-height: 1;
    letter-spacing: -1px;
    word-spacing: 0;
    text-transform: none;
    color: #142a66;
    margin: 0;
}

.amp-designer__price {
    color: var(--amp-blue);
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}


/* =========================================================
   PERSONALISE TOGGLE
   ========================================================= */

.amp-switch {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;

    font-weight: 700;
    cursor: pointer;
}

.amp-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.amp-switch__track {
    position: relative;

    width: 42px;
    height: 24px;
    flex: 0 0 42px;

    background: #cfd5df;
    border-radius: 999px;

    transition: 0.2s;
}

.amp-switch__track::after {
    content: "";

    position: absolute;
    top: 3px;
    left: 3px;

    width: 18px;
    height: 18px;

    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);

    transition: 0.2s;
}

.amp-switch input:checked + .amp-switch__track {
    background: var(--amp-blue);
}

.amp-switch input:checked + .amp-switch__track::after {
    transform: translateX(18px);
}


/* =========================================================
   OPEN / CLOSE
   ========================================================= */

.amp-designer__body[hidden] {
    display: none !important;
}

.amp-designer__body:not([hidden]) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;

    width: 100%;
    margin-top: 20px;
}


/* =========================================================
   LIVE PREVIEW
   ========================================================= */

.amp-preview-card {
    padding: 16px;

    background: var(--amp-surface);
    border: 1px solid var(--amp-border);
    border-radius: 8px;
}

.amp-preview-card__title {
    margin-bottom: 10px;

    color: var(--amp-navy);
    font-weight: 700;
}

#amp_preview_canvas {
    display: block;

    width: 100%;
    max-width: 360px;
    height: auto;

    margin: 0 auto;

    background: #ffffff;
    border-radius: 6px;
}

.amp-preview-card__note {
    max-width: 330px;
    margin: 10px auto 0;

    color: #697386;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
}


/* =========================================================
   CONTROLS
   ========================================================= */

.amp-controls {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.amp-field {
    width: 100%;
}

.amp-field__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 7px;
}

.amp-field label,
.amp-field__label {
    color: #263752;
    font-weight: 700;
}

.amp-character-count {
    color: #7a8495;
    font-size: 12px;
}

.amp-character-count.is-warning {
    color: #b42318;
    font-weight: 700;
}

#amp_custom_text {
    width: 100%;
    min-height: 46px;

    padding: 10px 13px;

    background: #ffffff;
    border: 1px solid #d7dce5;
    border-radius: 5px;

    font-size: 16px;

    box-sizing: border-box;
}


/* =========================================================
   ORIENTATION
   ========================================================= */

.amp-segmented {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;

    margin-top: 8px;
}

.amp-segmented label {
    cursor: pointer;
}

.amp-segmented input {
    position: absolute;
    opacity: 0;
}

.amp-segmented span {
    display: block;

    padding: 10px 12px;

    background: #ffffff;
    border: 1px solid #d7dce5;
    border-radius: 5px;

    color: #31415e;
    text-align: center;
}

.amp-segmented input:checked + span {
    background: #eef2ff;
    border-color: var(--amp-blue);
    color: var(--amp-blue);
}


/* =========================================================
   FONT OPTIONS
   ========================================================= */

.amp-font-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;

    margin-top: 8px;
}

.amp-font-option {
    cursor: pointer;
}

.amp-font-option input {
    position: absolute;
    opacity: 0;
}

.amp-font-option > span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;

    min-height: 76px;
    padding: 9px;

    background: #ffffff;
    border: 1px solid #d7dce5;
    border-radius: 5px;

    font-size: 20px;
    text-align: center;
}

.amp-font-option small {
    margin-top: 4px;

    color: #6c7687;
    font-size: 10px;
    line-height: 1.2;
}

.amp-font-option input:checked + span {
    background: #f5f7ff;
    border-color: var(--amp-blue);
    box-shadow: 0 0 0 1px var(--amp-blue);
}

.amp-font-option--montserrat-bold > span {
    font-family: Montserrat, Arial, sans-serif;
    font-weight: 700;
}

.amp-font-option--arial-bold > span {
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.amp-font-option--traditional-serif > span {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.amp-font-option--stencil > span {
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

.amp-font-option--script > span {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
}


/* =========================================================
   SELECTED SIZE / PRINT AREA
   ========================================================= */

.amp-print-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 12px;

    padding: 12px 14px;

    background: #eef2ff;
    border-radius: 6px;

    color: #314a73;
}

.amp-print-info span {
    font-size: 11px;
}

.amp-print-info strong {
    color: var(--amp-navy);
    font-size: 13px;
}


/* =========================================================
   WOO VARIATION FORM
   ========================================================= */

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

.single-product form.variations_form .single_variation_wrap {
    display: block !important;
    width: 100% !important;
}

.single-product form.variations_form .woocommerce-variation {
    width: 100% !important;
}


/* =========================================================
   PURCHASE ROW
   Personaliser on full row, quantity + button below
   ========================================================= */

.single-product
form.variations_form
.woocommerce-variation-add-to-cart {
    display: grid !important;

    grid-template-columns: 80px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;

    gap: 14px 12px !important;

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

    align-items: stretch !important;

    clear: both !important;
}


/* Personaliser spans first row */

.single-product
form.variations_form
.woocommerce-variation-add-to-cart
.amp-designer {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;

    display: block !important;
    float: none !important;

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

    margin: 20px 0 0 !important;

    clear: both !important;

    box-sizing: border-box !important;
}


/* Quantity */

.single-product
form.variations_form
.woocommerce-variation-add-to-cart
.quantity {
    grid-column: 1 !important;
    grid-row: 2 !important;

    width: 80px !important;
    max-width: 80px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.single-product
form.variations_form
.woocommerce-variation-add-to-cart
.quantity input.qty {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;

    height: 52px !important;
    min-height: 52px !important;

    margin: 0 !important;
    padding: 0 8px !important;

    border: 1px solid #d7dce5 !important;
    border-radius: 5px !important;

    text-align: center !important;

    box-sizing: border-box !important;
}


/* Add to Cart */

.single-product
form.variations_form
.woocommerce-variation-add-to-cart
.single_add_to_cart_button {
    grid-column: 2 !important;
    grid-row: 2 !important;

    display: flex !important;

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

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

    height: 52px !important;
    min-height: 52px !important;

    margin: 0 !important;
    padding: 0 24px !important;

    background: #22409a !important;
    color: #ffffff !important;

    border: 0 !important;
    border-radius: 5px !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    text-align: center !important;

    writing-mode: horizontal-tb !important;
    transform: none !important;
    aspect-ratio: auto !important;

    box-sizing: border-box !important;
}

.single-product
form.variations_form
.woocommerce-variation-add-to-cart
.single_add_to_cart_button:hover {
    background: #142a66 !important;
    color: #ffffff !important;
}

.single-product
form.variations_form
.woocommerce-variation-add-to-cart
.single_add_to_cart_button.disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .amp-designer {
        padding: 18px;
    }

    .amp-designer__header h3 {
        font-size: 38px;
    }

    .amp-font-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #amp_preview_canvas {
        max-width: 300px;
    }

    .single-product
    form.variations_form
    .woocommerce-variation-add-to-cart {
        grid-template-columns: 70px minmax(0, 1fr) !important;
        gap: 10px !important;
    }

    .single-product
    form.variations_form
    .woocommerce-variation-add-to-cart
    .quantity {
        width: 70px !important;
        max-width: 70px !important;
    }

    .single-product
    form.variations_form
    .woocommerce-variation-add-to-cart
    .quantity input.qty {
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }
}