.gift-card-container {
    width: 100%;
    display: grid;
    grid-template-columns: 66% 28%;
    gap: 5rem;
    margin: 0;
}

/* Breadcrum custom */
#module-giftcard-choicegiftcard .page-content--module-giftcard-choicegiftcard {
    padding-top: 0;
}

#module-giftcard-choicegiftcard .giftcart-custom-breadcrumb {
    margin-bottom: 1rem;
    padding: 0;
    display: flex;
}

#module-giftcard-choicegiftcard .giftcart-custom-breadcrumb li {
    font-size: .9em;
    margin-bottom: 0;
    align-items: center;
    display: inline-block;
    list-style-type: none;
}

#module-giftcard-choicegiftcard .giftcart-custom-breadcrumb li {
    text-transform: uppercase;
}

#module-giftcard-choicegiftcard .giftcart-custom-breadcrumb li.home {
    text-transform: inherit;
}

#module-giftcard-choicegiftcard .giftcart-custom-breadcrumb li span {
    font-size: 13px;
    text-transform: uppercase;
}

#module-giftcard-choicegiftcard #content-wrapper #content.page-content {
    padding: 0;
}


#module-giftcard-choicegiftcard .giftcart-custom-breadcrumb li.home:before {
    display: none;
}

#module-giftcard-choicegiftcard .giftcart-custom-breadcrumb li span strong {
    font-weight: 400;
}

#module-giftcard-choicegiftcard .giftcart-custom-breadcrumb li:before {
    content: "/";
    position: relative;
    color: #6c757d;
}

#module-giftcard-choicegiftcard .gift-card-action.submit button {
    width: 100%;
    font-size: 15px;
}

#module-giftcard-choicegiftcard .giftcart-custom-breadcrumb li:last-child span {
    color: #7a7a7a;
    /* font-weight: 400; */
}

/* Colonne de gauche - Image */
.gift-card-image-column {
    position: sticky;
    top: 2rem;
    align-self: start;
}

#module-giftcard-choicegiftcard .featured-products {
    display: none;
}

.gift-card-image-wrapper {
    position: relative;
    text-align: center;
}

.gift-card-image {
    width: 100%;
    height: auto;
    display: block;
}

.image-navigation {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.nav-dot.active {
    background: #697272;
}

.zoom-button {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    background: none;
    border: none;
    color: #697272;
    cursor: pointer;
}

.gift-card-title {
    margin-bottom: 2rem;
}

/* Reste du CSS précédent pour les sections */
.gift-card-section {
    margin-bottom: 2rem;
}

h2.section-title {
    font-size: 14px;
    font-family: var(--main-font);
    letter-spacing: .1rem;
    text-transform: uppercase;
    font-weight: 700;
    text-align: left;
    color: #252525;
    background-color: transparent;
}

.amount-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: fit-content;
}

.amount-btn {
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 110px;
    padding: 5px;
    font-size: 15px;
}

#module-giftcard-choicegiftcard .amount-btn.selected {
    background-color: var(--text-color) !important;
    color: white;
}

/* Options de livraison */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin-bottom: 0;
    background-color: unset;
}

.delivery-option input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 12px;
    height: 13px;
    border: 1px solid #4a4a4a;
    margin-right: 5px;
    position: relative;
    cursor: pointer;
}

.delivery-option input[type="radio"]:checked {
    background-color: #000;
}

.gift-card-section.conditions-section {
    margin: 20px 0;
    border: unset;
    padding: unset;
    background: unset;
}

#module-giftcard-choicegiftcard #_desktop_logo,
#module-giftcard-choicegiftcard #content-wrapper {
    padding-left: unset;
    padding-right: unset;
}

#module-giftcard-choicegiftcard .breadcrumb-item+.breadcrumb-item::before {
    padding-left: 3px;
    padding-right: 3px;
    color: #7a7a7a;
    font-size: 13px;
}

.gift-card-section.conditions-section .accordion-heading {
    border-bottom: solid 1px;
}

.email-field {
    margin-top: 1rem;
}

#recepmode-mail-additional-information p.email-info {
    font-family: var(--main-font);
    font-weight: 700;
    color: black;
    margin-top: 0.5rem;
}

span.span-label {
    font-family: var(--main-font);
    font-weight: 550;
    color: black;
    font-size: 12px;
}

span.span-label span.optionnel {
    font-weight: 100;
    font-size: 10px;
}

.gift-card-form-column .gift-card-action.submit .add {
    text-align: left;
    padding-left: 0;
}

#recepmode-mail-additional-information .form-control {
    margin-top: 7px;
}

#module-giftcard-choicegiftcard .form-control:focus,
#module-giftcard-choicegiftcard .form-control:focus-visible,
#module-giftcard-choicegiftcard .form-control:active {
    outline: none;
    box-shadow: none;
    background-color: transparent;
}

/* Formulaire de personnalisation */
.personalization-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#module-giftcard-choicegiftcard .form-control {
    border: unset;
    background: unset;
    border-bottom: solid 1px;
    padding: 20px 0 5px 0;
    font-family: var(--main-font);
    width: 100%;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Conditions d'utilisation */
.conditions-section {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.accordion-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
}

.accordion-heading .section-title {
    margin: 0;
}

.accordion-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.accordion-icon {
    display: block;
    width: 12px;
    height: 12px;
    position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: #000;
    transition: transform 0.3s ease;
}

.accordion-icon::before {
    top: 5px;
    left: 0;
    width: 12px;
    height: 2px;
}

.accordion-icon::after {
    top: 0;
    left: 5px;
    width: 2px;
    height: 12px;
}

.accordion-toggle[aria-expanded="true"] .accordion-icon::after {
    transform: rotate(90deg);
}

.accordion-content {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.accordion-content .conditions-content p {
    padding: 0;
    margin: 0;
    line-height: 1.4;
}

/* Produits associés - Nouvelle structure */
.product-accessories {
    width: 100%;
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid #e5e5e5;
}

.related-products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-item {
    text-align: center;
}

.product-item img {
    width: 100%;
    height: auto;
}

.product-item h3 {
    font-size: 1rem;
    margin: 0.5rem 0;
}

/* Bouton d'action */
.gift-card-action {
    text-align: center;
    margin-top: 2rem;
}

.add-to-cart-button {
    background: #697272;
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart-button:hover {
    background: #333;
}

/* Loader */
.ui-loader-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ui-loader-background:after {
    content: "";
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #697272;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#module-giftcard-choicegiftcard .page-wrapper--module-giftcard-choicegiftcard {
    border-right: unset;
    border-left: unset;
    padding: 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .gift-card-container {
        grid-template-columns: 1fr;
    }

    .gift-card-image-column {
        position: relative;
        top: 0;
    }

    .gift-card-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {

    /*.amount-buttons {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }*/
    #module-giftcard-choicegiftcard #content-wrapper .gift-card-container {
        padding: 0;
    }

    #module-giftcard-choicegiftcard #content-wrapper {
        padding: 0;
    }

    #module-giftcard-choicegiftcard #content-wrapper .page-wrapper--module-giftcard-choicegiftcard {
        border: unset;
        padding: 0;
    }

    #module-giftcard-choicegiftcard #content-wrapper .delivery-option {
        margin: unset;
    }
}

.hidden {
    display: none;
}

.product-accessories.col-12 h2.section-title {
    color: #697272 !important;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: .03rem;
    line-height: 2.25rem;
    font-size: 1.625rem;
    margin-bottom: 2.25rem;
    font-weight: 600;
}

/* PARTIE MODAL */
.fancybox-wrap.fancybox-desktop.fancybox-type-html.fancybox-opened {
    max-width: 1140px;
    left: 50% !important;
    transform: translateX(-50%);
    width: 90% !important;
    top: 1.75rem !important;
}

.fancybox-wrap.fancybox-desktop.fancybox-type-html.fancybox-opened .fancybox-inner {
    width: 100% !important;
}

#gc-success-modal .gcsm-header {
    background: #fff;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

#gc-success-modal .gcsm-header h4 {
    color: #252525;
    font-size: 1rem;
    text-align: center;
    font-weight: 200;
    /* text-transform: uppercase; */
    font-family: var(--main-font);
    /* text-align: left; */
}

#gc-success-modal .gcsm-header h4 i {
    display: none;
}

#gc-success-modal .gcsm-body {
    padding: 3.125rem 1.875rem;
}

#gc-success-modal .gcsm-body .gcsmb-left {
    border-right: unset;
}

#gc-success-modal .gcsm-body .gcsmb-left .col-md-6.modal-product__info {
    border-right: solid 1px;
}

#gc-success-modal .gcsm-body .gcsmb-right .gcsm-cart-summary .product-name {
    color: #697272;
    font-size: .9375rem;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

#gc-success-modal .gcsm-body .gcsmb-right .gcsm-cart-summary p {
    text-transform: uppercase;
    font-weight: 200;
    margin-bottom: 1rem;
    font-size: 13px;
    line-height: 1.125rem;
    font-weight: 600;
}

#gc-success-modal .gcsm-body .gcsmb-right {
    padding-left: 50px;
}

#gc-success-modal .gcsm-body .gcsmb-right .gcsm-cart-summary .cart-content-btn {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    margin-top: 1rem;
}

#gc-success-modal .gcsm-body .gcsmb-right .cart-summary-details .cart-summary-line span {
    font-size: 13px;
}

/* #gc-success-modal .gcsm-body .gcsmb-right .gcsm-cart-summary .cart-content-btn .btn-secondary {
    text-transform: initial;
    padding: 3px 1.5rem 4px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    max-width: 280px;
    border-radius: 0;
    font-weight: 300;
    transition: .3s;
    background-color: #fff;
    color: #252525;
    font-family: var(--main-font);
    border: 1px solid #252525;
    line-height: 25px;
    letter-spacing: .07rem;
    font-size: .938rem;
} */

/* #gc-success-modal .gcsm-body .gcsmb-right .gcsm-cart-summary .cart-content-btn .btn-secondary:hover {
    color: #fff;
    background-color: #252525;
}

#gc-success-modal .gcsm-body .gcsmb-right .gcsm-cart-summary .cart-content-btn .btn-primary {
    text-transform: initial;
    background-color: #697272;
    border-color: #697272;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-width: 280px;
    padding: 3px 1.5rem 4px;
    border-radius: 0;
    font-weight: 300;
    font-size: .938rem;
    line-height: 28px;
    transition: .3s;
    color: #fff;
    border: 1px solid #697272;
}

#gc-success-modal .gcsm-body .gcsmb-right .gcsm-cart-summary .cart-content-btn .btn-primary:hover {
    color: #697272;
    background-color: #fff;
}

#gc-success-modal .gcsm-body .gcsmb-right .gcsm-cart-summary .cart-content-btn .btn-primary i {
    display: none;
} */


.gcsm-cart-summary .cart-content-btn .btn {
    height: unset;
}

@media (min-width: 1200px) {
    #module-giftcard-choicegiftcard .gift-card-action.submit button {
        padding: 8px 75px;
    }
}

@media (max-width: 767px) {

    /* Masquer le bouton original sur mobile */
    .gift-card-action.submit {
        /* display: none; */
    }

    /* Style du conteneur sticky */
    .mobile-sticky-add-to-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .mobile-sticky-add-to-cart.is-hidden {
        transform: translateY(100%);
    }

    /* Style du contenu */
    .mobile-sticky-add-to-cart__content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Style du prix */
    .mobile-sticky-add-to-cart__price {
        font-size: 18px;
        font-weight: 600;
        width: 50%;
        text-align: center;
        color: #232323;
    }

    .mobile-sticky-add-to-cart-right {
        width: 50%;
        background-color: #697272;
        border-color: #697272;
    }

    /* Style du bouton */
    .mobile-sticky-add-to-cart__button {
        background-color: #697272 !important;
        color: #fff !important;
        border-color: #697272 !important;
        min-width: 120px;
        padding: 15px 0 !important;
        font-weight: 400;
        width: 100%;
        border-radius: 4px;
        font-weight: 600;
        text-transform: uppercase;
    }

    /* Ajouter un padding en bas du contenu pour éviter que le sticky cache du contenu */
    .gift-card-container {
        padding-bottom: 70px;
    }
}

/* MODIFICATIONS MENU */
.aom-mega-menu-wrapper #aom-menu-item-1 .categories-grid .category-item.no-subcategories {
    order: 10;
    margin-left: auto;
    display: block;
    margin-top: -90px;
}

@media (max-width: 767px) {
    #_mobile_top_menu #aom_megamenu .aom-mobile-mega-menu .aom-mobile-menu-wrapper .aom-menu-item .aom-dropdown .dropdown-content .category-item.no-subcategories {
        order: 10;
    }
}

/* DATE PICKER */
/* Style du datepicker */
.ui-datepicker {
    background: #ffffff;
    border: 1px solid #697272;
    padding: 10px;
    width: 280px;
}

.ui-datepicker .ui-datepicker-header {
    background: #697272;
    color: #fff;
    padding: 5px;
}

.ui-datepicker .ui-datepicker-title {
    text-align: center;
    font-weight: bold;
}

.ui-datepicker table {
    width: 100%;
}

.ui-datepicker td span,
.ui-datepicker td a {
    text-align: center;
    padding: 5px;
    display: block;
    text-decoration: none;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    cursor: pointer;
    padding: 5px;
    color: #fff;
}

.ui-datepicker td a.ui-state-active {
    background: #697272;
    color: #fff;
}

.ui-datepicker td a:hover {
    background: #f5f5f5;
}