/*
Theme Name: Bean Bag Chair
Description: Thème pour Bean Bag Chair
Author:  Medialogue
Template: generatepress
*/

@import url("../generatepress/style.css");

:root {
    --brown: #ab571f;
    --beige: #f2eadd;
}

.CallToAction {
    background-image: url("https://beanbagchair.ca/wp-content/uploads/2026/09/Bean-Bag-Canada-4.png");
    background-size: cover;
    background-position: right center;
    margin-bottom: 0;
}

html:lang(fr) .CallToAction {
    background-image: url("https://beanbagchair.ca/wp-content/uploads/2026/09/Bean-Bag-Canada-1.png");
}

.page-id-8174 .CallToAction {
    background-image: url("https://beanbagchair.ca/wp-content/uploads/2026/09/Bean-Bag-Canada-3.png");
}

html:lang(fr) .page-id-8175 .CallToAction {
    background-image: url("https://beanbagchair.ca/wp-content/uploads/2026/09/Bean-Bag-Canada-2.png");
}

.CallToActionLeft {
    padding: 95px 0px 95px 90px;
    background: linear-gradient(
        90deg,
        rgb(242, 234, 221) 0%,
        rgba(242, 234, 221, 1) 85%,
        rgba(0, 0, 0, 0) 100%
    );
}

.tricolumn {
    display: block !important;
}

.tricolumn .wp-block-column {
    display: flex;
    align-items: center;
    margin-top: 30px;
    float: left;
    margin-right: 20px;
}

.tricolumn .wp-block-column img {
    margin-right: 5px;
}

.tricolumn .wp-block-column p {
    margin-bottom: 0;
    line-height: 1.2em;
    font-weight: 600;
    font-size: 16px;
}

.CallToActionLeft h2 {
    font-size: 72px;
    font-weight: 500;
    line-height: 1;
}

.CallToActionLeft > p {
    max-width: 70%;
    color: var(--contrast-3);
    font-weight: 600;
}

.wp-block-columns .boutonRect a {
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 5px;
    padding: 10px 30px;
    font-size: 16px;
}
.CallToActionLeft .wp-element-button {
    letter-spacing: 1px;
    font-weight: 500;
    border-radius: 5px;
    padding: 20px 30px;
}

.topTitle {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.topTitle:before {
    content: "";
    width: 60px;
    height: 2px;
    display: block;
    background-color: var(--brown);
    margin-right: 20px;
}

.underCallToAction {
    background-color: #fbf8f2;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 0;
}

.underCallToAction .topTitle {
    font-size: 14px;
}

.underCallToAction h3 {
    font-weight: 600;
    margin-bottom: 0;
}

.underCallToAction .fournisseurs p {
    line-height: 1.1em;
    margin-bottom: 10px;
    max-width: 80%;
}

.fournisseurs .wp-block-group__inner-container {
    padding: 20px 40px !important;
    max-width: 80%;
    background-color: #f5ede7;
    border-radius: 10px;
    background-image: url("https://beanbagchair.ca/wp-content/uploads/2026/09/bgright.png");
    background-position: center right;
    background-repeat: no-repeat;
}

.troisMarques {
    gap: 0;
}

.troisMarques img {
    margin-bottom: 10px;
    width: 64px;
}

.troisMarques p {
    line-height: 1em;
}

.troisMarques > div > p:first-of-type {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.troisMarques > div > p:last-of-type {
    max-width: 80%;
    margin: 0 auto;
}

.borderRight {
    position: relative;
}

.borderRight:after {
    content: "";
    display: block;
    height: 80%;
    width: 1px;
    background-color: lightgrey;
    position: absolute;
    top: 10%;
    right: 0;
}

.gb-headline-d48526d4 a:first-of-type,
a[data-id="5749"] {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: none !important;
}

.inside-header {
    padding: 20px 30px 20px 30px;
}

.tnp-field label[for="tnp-1"] {
    display: none;
}

.tnp-subscription label,
.tnp-profile label {
    text-align: left;
}

.inside-wc-product-image {
    width: 100%;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

input[type="submit"] {
    float: left;
    background-color: var(--base-3);
    color: var(--accent);
    border: 1px solid var(--base-3);
}

input[type="submit"]:hover {
    background-color: var(--accent);
    color: var(--base-3);
}

.mc4wp-form-fields input[type="submit"] {
    background-color: var(--contrast);
    color: var(--base-3);
    border: 1px solid var(--base-3);
    font-size: 14px;
    padding-left: 40px;
    padding-right: 40px;
    border-width: 2px;
    letter-spacing: 1px;
}

.mc4wp-form-fields input[type="submit"]:hover {
    background-color: var(--accent);
    color: var(--base-3);
}

.inside-wc-product-image,
.woocommerce ul.products li.product a img {
    padding: 5px;
}

.site-footer {
    /* margin-top:30px; */
}

/*SELECTEUR DE COULEUR SUR LA PAGE SHOP*/
.color-swatches {
    margin-top: 8px;
    text-align: center;
}
.color-swatches .swatch {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 5px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition:
        border-color 0.2s,
        transform 0.15s;
}
.color-swatches .swatch:hover {
    border-color: #000;
    transform: scale(1.1);
}
.color-swatches .swatch.active {
    border-color: #000;
}

.product img.attachment-woocommerce_thumbnail {
    transition: opacity 0.4s ease-in-out;
}

.product img.attachment-woocommerce_thumbnail.fade {
    opacity: 0;
}

.woocommerce ul.products li.product img.secondary-image {
    display: none !important;
}

.swatch[title="Blue"] {
    background-color: blue !important;
}

.swatch[title="Red"] {
    background-color: red !important;
}

.swatch[title="Green"] {
    background-color: green !important;
}

.swatch[title="Grey"] {
    background-color: grey !important;
}

.swatch[title="Beige"] {
    background-color: beige !important;
}

.swatch[title="Black"] {
    background-color: black !important;
}

.swatch[title="Orange"] {
    background-color: orange !important;
}

.swatch[title="Purple"] {
    background-color: Purple !important;
}

.swatch[title="White"] {
    background-color: white !important;
    border-color: black;
}

.wc-block-product-filter-price-slider .text input[type="text"] {
    pointer-events: none;
}

@media screen and (max-width: 1024px) {
    .footerInfo {
        justify-content: space-between;
    }

    .gb-grid-wrapper > .gb-grid-column {
        width: 100% !important;
    }

    .gb-grid-wrapper .wp-block-image {
        text-align: center;
    }
}

@media screen and (max-width: 767px) {
    .main-navigation .main-nav ul ul li a {
        color: var(--contrast-2) !important;
    }
}

.site-content {
    flex-wrap: wrap;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme))
    .woocommerce-breadcrumb {
    order: -11;
    flex-basis: 100%;
    width: 100%;
    padding-left: 30px;
}

a.glink img {
    display: none !important;
}

.gt_white_content a {
    line-height: 1em !important;
}

a.glink {
    margin-top: -1px;
    color: #6b5a5b;
}

.mc4wp-form-fields p {
    display: flex;
}

.mc4wp-form-fields p input[type="email"] {
    margin-bottom: 0;
    margin-right: 5px;
}

.footerOverwrite h4 {
    position: relative;
    margin-bottom: 0;
    padding-bottom: 10px;
    font-weight: 900 !important;
    font-size: 16px !important;
    font-family: "Lato";
    color: #000 !important;
}

.footerOverwrite > div:not(:first-of-type) {
    max-width: 20%;
}

.footerOverwrite > div:first-of-type p {
    letter-spacing: 0.15em !important;
}

.footerOverwrite h4:after {
    content: "";
    width: 30px;
    height: 2px;
    background-color: #6b5a5b;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    margin-top: 8px;
    margin-bottom: 8px;
}

.footerOverwrite p {
    margin-top: 0 !important;
    text-transform: none !important;
    font-size: 16px !important;
    letter-spacing: 0em !important;
}

.gb-container-dd01ab13 > .gb-inside-container {
    padding-top: 10px !important;
}

.gb-container-56d113ee {
    padding-bottom: 10px !important;
}

.gb-container-56d113ee p {
    margin-bottom: 0 !important;
}

@media screen and (max-width: 476px) {
    .brand-related-header {
        flex-wrap: wrap;
    }

    .brand-related-header a {
        margin-left: 0px !important;
    }
}

/*Responsive nouvelle pages*/
@media screen and (max-width: 1324px) {
    .CallToActionLeft {
        padding: 45px 0 45px 35px;
    }

    .CallToActionLeft h2 {
        font-size: 52px;
    }
}

@media screen and (max-width: 1024px) {
    .CallToActionLeft {
        flex-basis: 100% !important;
    }

    .footerOverwrite {
        flex-wrap: wrap !important;
    }

    .underCallToAction {
        flex-wrap: wrap !important;
    }

    .underCallToAction > div {
        flex-basis: 100% !important;
    }

    .blockLogo {
        justify-content: center;
        align-items: center;
    }

    .footerOverwrite > div:not(:first-of-type) {
        max-width: 100%;
        flex-basis: 30% !important;
    }

    .gb-container-6cd61528 {
        max-width: 650px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 781px) {
    .CallToAction {
        gap: 0;
    }

    .CallToActionLeft {
        background-color: #f5ede7;
        padding: 45px;
    }

    .CallToActionLeft > p {
        max-width: 100%;
    }

    .troisMarques {
        gap: 2em;
        flex-direction: column;
    }

    .borderRight:after {
        display: none;
    }

    .troisMarques > div {
        max-width: 425px;
        margin: 0 auto;
    }

    .footerInfo > div {
        padding-bottom: 0 !important;
    }

    .footerOverwrite {
        justify-content: center;
    }

    .footerOverwrite > div:not(:first-of-type) {
        max-width: 370px !important;
    }
}

@media screen and (max-width: 476px) {
    .CallToActionLeft h2 {
        font-size: 36px;
    }
    .wp-block-columns .boutonRect a,
    .CallToActionLeft .wp-element-button {
        padding: 10px 15px;
        font-size: 16px;
    }

    .underCallToAction h3 {
        font-size: 18px;
    }

    .underCallToAction .fournisseurs p {
        max-width: 100%;
    }

    .topTitle:before {
        width: 40px;
    }
}

/* Container & Alignment Fixes */
.wpcf7-form {
    max-width: 650px;
    margin: 0 auto;
    padding: 36px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
    text-align: left; /* Fixes centered label issue */
}

/* Paragraph spacing reset */
.wpcf7-form p {
    margin-bottom: 22px;
    text-align: left;
}

/* Labels */
.wpcf7-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    text-align: left;
}

/* Standard Inputs, Dropdowns & Textareas */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="file"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

/* Focus States */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Checkbox Grid (Product Categories) */
.wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 16px;
    margin-top: 8px;
}

/* Radio Button Layout (Yes/No fields) */
.wpcf7-radio {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

/* Individual Option Items */
.wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: center;
}

.wpcf7-list-item-label {
    font-size: 0.95rem;
    font-weight: 400;
    color: #334155;
    margin-left: 8px;
    cursor: pointer;
}

.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #2563eb;
    cursor: pointer;
}

/* Acceptance Checkbox */
.wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #475569;
}

/* Submit Button */
.wpcf7-form input[type="submit"] {
    width: 100%;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.1s ease;
    margin-top: 10px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #1d4ed8;
}

/* Responsive adjustments */
@media (max-width: 500px) {
    .wpcf7-checkbox {
        grid-template-columns: 1fr;
    }
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    color: #000;
    margin-top: 0;
}

.wpcf7-spinner {
    margin: 10px 0 0 !important;
}
