/* ==========================================================================
   Bridgepoint - common.css
   Styles shared by: productDetails, collections, SecureCheckout,
   categorygroups, shoppingcart, register, signin, searchresult.

   Load this FIRST, then the page-specific sheet. Page sheets only need to
   keep what differs from the rules below (same specificity, later wins).
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    --green: #243b35;
    --lime: #c0ea6a;
    --paper: #f7f8f4;
    --white: #fff;
    --muted: #607476;
    --line: #d7dfd8;
    --soft: #eaf7c9;
    --blue: #a5b9ee;
    --line: #d7dfd8;


    /* used by searchresult.css (its own :root block was commented out) */
    --border: #d5ddd6;
    --copy: #60746e;

    --sans: "Neue Haas Grotesk Text Pro", "Helvetica Neue", Arial, sans-serif;
    --serif: "New Spirit", Georgia, serif;

    /* aliases used by SecureCheckout.css and shoppingcart.css.
       Remove these if your layout already defines --bridgepoint-* elsewhere. */
    --bridgepoint-green: var(--green);
    --bridgepoint-lime: var(--lime);
    --bridgepoint-white: var(--white);
    --bridgepoint-muted: var(--muted);
    --bridgepoint-line: var(--line);
    --bridgepoint-soft: var(--soft);
}



/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--paper);
    color: var(--green);
    font-family: var(--sans);
}


footer
{
    background: var(--green);
}

body.bp-menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

button, input, select {
    font: inherit;
}

button, a {
    transition: .18s ease;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.empty {
    display: none;
    padding: 60px 20px;
    text-align: center;
}


/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
    width: min(100% - 40px, 1360px);
    max-width: 1360px;
    margin: auto;
}

.breadcrumb {
    padding: 26px 0;
    border-radius: 0;
    background: transparent;
    color: #718284;
    font-size: 13px;
}

    .breadcrumb a:hover {
        color: #486718;
    }


/* --------------------------------------------------------------------------
   4. Delivery strip + site header
   -------------------------------------------------------------------------- */
.delivery,
.delivery-strip {
    padding: 8px 20px;
    background: var(--green);
    color: rgba(255, 255, 255, .85);
    font-size: 12px;
    text-align: center;
    letter-spacing: .03em;
}

.header {
    border-top: 1px solid rgba(255, 255, 255, .15);
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    background: var(--green);
    color: #fff;
}

.header-inner {
    max-width: 1360px;
    height: 76px;
    margin: auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 26px;
}



.logo {
    width: 112px;
    height: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 28px;
    font-size: 14px;
    font-weight: 700;
}

    .nav a:hover,
    .nav a.active {
        color: var(--lime);
    }

.header-actions,
.actions {
    /*margin-left: auto;*/
    display: flex;
    align-items: center;
    gap: 12px;
}

.actions a, .icon {
    min-width: 42px;
    height: 42px;
    border: 1px solid #ffffff2f;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    color: #fff
}

.icon-button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

    .icon-button:hover {
        background: rgba(255, 255, 255, .12);
        color: var(--lime);
    }

    .icon-button.active {
        background: rgba(255, 255, 255, .1);
        color: var(--lime);
    }

    .icon-button svg {
        width: 20px;
        height: 20px;
    }

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--lime);
    color: var(--green);
    font-size: 10px;
    display: grid;
    place-items: center;
    transform: translate(14px, -13px);
}


/*---------------------------------------------------------------------------
    Search Input
*/




/* --------------------------------------------------------------------------
   5. Typography
   -------------------------------------------------------------------------- */
.eyebrow,
.kicker,
.section-kicker {
    margin: 0;
    color: #597b28;
    font-family: var(--serif);
    font-size: 18px;
}

.display {
    margin: 10px 0 0;
    font-size: clamp(42px, 6vw, 78px);
    line-height: .94;
    letter-spacing: -.06em;
}

.section-title {
    margin: 8px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
    letter-spacing: -.045em;
}


/* --------------------------------------------------------------------------
   6. Buttons, badge, card
   -------------------------------------------------------------------------- */
.button {
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--green);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--green);
    color: var(--lime);
    font-weight: 800;
    cursor: pointer;
}

    .button:hover {
        background: #304d44;
    }

    .button.dark {                      /* alias of the default button (register) */
        background: var(--green);
        color: var(--lime);
    }

    .button.lime {
        border-color: var(--lime);
        background: var(--lime);
        color: var(--green);
    }

        .button.lime:hover {
            background: #d1f58a;
        }

    .button.outline {
        border-color: #bdcbbf;
        background: #fff;
        color: var(--green);
    }

        .button.outline:hover {
            background: #eef2ec;
        }

    .button:disabled {
        opacity: .4;
        cursor: not-allowed;
    }

.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 99px;
    padding: 6px 10px;
    background: var(--blue);
    color: #0c2870;
    font-size: 11px;
    font-weight: 800;
}

.card {
    display: block;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}

.toast,
.cart-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1080;
    max-width: 340px;
    padding: 14px 18px;
    border-radius: 4px;
    background: var(--green);
    color: #fff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
    display: none;
}

    .toast.show,
    .cart-toast.is-visible {
        display: block;
    }


/* --------------------------------------------------------------------------
   7. Auth pages (register + signin): brand panel and form building blocks
   Selectors are kept at low specificity so page sheets can still override
   sizes and mobile breakpoints.
   -------------------------------------------------------------------------- */
.brand-panel {
    position: relative;
    overflow: hidden;
    padding: 54px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--green);
    color: #fff;
}

    /* decorative ring; the page sheet sets its left/right/bottom offsets */
    .brand-panel:after {
        content: "";
        position: absolute;
        width: 430px;
        height: 430px;
        border: 90px solid rgba(192, 234, 106, .1);
        border-radius: 50%;
    }

    .brand-panel .eyebrow {
        color: var(--lime);
    }

    .brand-panel h1 {
        margin: 16px 0 0;
        color: var(--lime);
        line-height: .94;
        letter-spacing: -.06em;
    }

.back {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, .65);
    font-size: 14px;
    font-weight: 700;
}

    .back:hover {
        color: var(--lime);
    }

.form-panel {
    padding: 48px 64px;
    display: flex;
    justify-content: center;
}

.form-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

    .form-heading h2 {
        margin: 8px 0 0;
        font-size: 48px;
        line-height: 1;
        letter-spacing: -.05em;
    }

.intro {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.heading-icon,
.lock-badge {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: #486718;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.social {
    height: 48px;
    padding: 0 12px;
    border: 1px solid #bdcbbf;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--green);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

    .social:hover {
        border-color: #84937e;
        background: #f1f4ef;
    }

    .social svg {
        width: 20px;
        height: 20px;
    }

.apple {
    font-size: 24px;
    line-height: 1;
    color: #000;
}

.social-status {
    display: none;
    margin: 14px 0 0;
    padding: 10px 12px;
    border-left: 2px solid var(--lime);
    background: #eef5de;
    color: #52645f;
    font-size: 14px;
    line-height: 1.45;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #7b8986;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

    .divider:before,
    .divider:after {
        content: "";
        height: 1px;
        flex: 1;
        background: var(--line);
    }

/* `.field` is scoped to .form-panel because SecureCheckout.css uses a
   different `.field` (grid layout, 13px labels). */
.form-panel .field {
    margin-top: 18px;
}

    .form-panel .field label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 700;
    }

.form-panel .control {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 36px;
    height: 36px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}

    .toggle-password:hover {
        background: #eef2ec;
    }

.success {
    display: none;
    padding: 24px;
    border: 1px solid #b9db6e;
    background: #f4fadf;
}

.success-icon {
    width: 36px;
    height: 36px;
    color: #597b28;
}


/* --------------------------------------------------------------------------
   8. Footer (productDetails, collections, shoppingcart)
   -------------------------------------------------------------------------- */


.footer,
.site-footer {
    color: #fff;

}

.footer {
    margin-top: 70px;
    background: #122c2d;
}

.site-footer {
    background: #082727;               /* differs from .footer - see notes */
}

.footer-grid {
    max-width: 1280px;
    margin: auto;
    padding: 45px 32px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 35px;
}

.footer h3,
.site-footer h2 {
    margin: 0 0 14px;
    font-size: 15px;
}

.footer a, .footer p,
.site-footer a, .site-footer p {
    display: block;
    margin: 8px 0;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.6;
}

.site-footer a:hover {
    color: var(--lime);
}

.footer img,
.footer-logo {
    width: 120px;
    margin-bottom: 16px;
}

.footer-bottom {
    padding: 16px 32px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: rgba(255, 255, 255, .5);
    text-align: center;
    font-size: 12px;
}


/* --------------------------------------------------------------------------
   9. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .container {
        width: min(100% - 32px, 1280px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .delivery,
    .delivery-strip {
        font-size: 11px;
    }

    .logo {
        width: 96px;
    }

    .display {
        font-size: 44px;
    }

    .section-title {
        font-size: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 35px 20px;
    }
}
