/* Police TT Fors Trial Variable */
@font-face {
    font-family: "TT Fors Trial Variable";
    src: url('https://fonts.cdnfonts.com/s/107278/TT Fors Trial Variable.woff') format('woff');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}


:root {
    --primaryllw-color: #222248;
}

/* ====================================
   BOUTON PANIER FLOTTANT (MOBILE)
   ==================================== */
.ms-floating-cart-btn {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 9999;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    background: var(--primaryllw-color, #222248);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 1;
}

.ms-floating-cart-btn:active {
    transform: translateY(1px);
}

.ms-floating-cart-btn__emoji {
    font-size: 18px;
    line-height: 1;
}

.ms-floating-cart-btn__total {
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .ms-floating-cart-btn {
        display: inline-flex;
    }
}

/* Application de la police Ã  tous les Ã©lÃ©ments */

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
button input,
textarea,
select,
label {
    font-family: "TT Fors Trial Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.variant-links {
    display: none !important;
}

.product-customization-line .col-sm-9.col-xs-8.value {
    width: 100% !important;
}

.customization-modal .modal-content .modal-body .product-customization-line {
    padding-top: 0 !important;
}


#wrapper .breadcrumb ol,
.list-group {
    padding-left: 0;
    margin-bottom: 0;
    text-align: center
}

#wrapper .breadcrumb li:last-child {
    color: var(--primaryllw-color)
}

.breadcrumb span {
    font-weight: 500
}

.page-category #wrapper .breadcrumb ol,
.list-group {
    display: none
}

@media (min-width: 1450px) {
    .page-category #wrapper .container {
        width: 89% !important;
    }
}

@media (min-width: 769px) and (max-width: 1449px) {
    .page-category #wrapper .container {
        width: 100% !important;
    }
}

/* Section promotion wrapper ignore les contraintes du container */
.section-promotion-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ====================================
   FORMULAIRE DE CONNEXION - MODERNE
   ==================================== */

/* Container principal du formulaire */
#main .login-form {
    border-radius: 20px;
    padding: 40px;
    margin: 30px auto;
    max-width: 97%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

#main .login-form:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Header de la page */
#main .page-header {
    text-align: center;
    margin-bottom: 30px;
}

#main .page-header h1 {
    color: #222248;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 15px 0;
    margin-bottom: 20px;
}

.breadcrumb ol {
    display: flex;
    gap: 10px;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: 'â€º';
    margin-left: 10px;
    color: #999;
    font-size: 18px;
}

.breadcrumb a {
    color: #666;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #222248;
    text-decoration: none;
}

/* Groupes de formulaire */
#login-form .form-group {
    margin-bottom: 25px;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

#login-form .form-group:nth-child(1) {
    animation-delay: 0.1s;
}

#login-form .form-group:nth-child(2) {
    animation-delay: 0.2s;
}

#login-form .form-group:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Labels */
#login-form .form-control-label {
    color: #222248;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

#login-form .form-control-label.required::after {
    content: ' *';
    color: #222248;
    font-weight: 700;
}

/* Inputs */
#login-form .form-control {
    border: 2px solid #e0e0e0;
    padding: 14px 18px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    color: #222248;
}

#login-form .form-control:focus {
    border-color: #222248;
    box-shadow: 0 0 0 4px rgba(255, 50, 0, 0.1);
    outline: none;
    transform: translateY(-2px);
}

#login-form .form-control:hover:not(:focus) {
    border-color: #222248;
}

/* Input group (champ password avec bouton) */
#login-form .input-group {
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

#login-form .input-group:focus-within {
    border-color: #222248;
    box-shadow: 0 0 0 4px rgba(255, 50, 0, 0.1);
    transform: translateY(-2px);
}

#login-form .input-group:hover:not(:focus-within) {
    border-color: #222248;
}

#login-form .input-group .form-control {
    border: none;
    border-radius: 0;
    padding: 14px 18px;
}

#login-form .input-group .form-control:focus {
    box-shadow: none;
    transform: none;
}

#login-form .input-group-btn .btn {
    background: transparent;
    border: none;
    color: #666;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 1px solid #e0e0e0;
}

#login-form .input-group-btn .btn:hover {
    background: rgba(255, 50, 0, 0.05);
    color: #222248;
}

/* Forgot password link */
.forgot-password {
    text-align: right;
    margin-top: 15px;
}

.forgot-password a {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-password a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #222248;
    transition: width 0.3s ease;
}

.forgot-password a:hover {
    color: #222248;
    text-decoration: none;
}

.forgot-password a:hover::after {
    width: 100%;
}

/* Footer du formulaire */
#login-form .form-footer {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.5s ease 0.4s forwards;
    opacity: 0;
}

/* Bouton de connexion */
#submit-login {
    background: #222248;
    border: none;
    border-radius: 12px;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#submit-login::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#submit-login:hover::before {
    width: 300px;
    height: 300px;
}

#submit-login:hover {
    transform: translateY(-3px);
}

#submit-login:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 50, 0, 0.3);
}

/* SÃ©parateur */
#main hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 50%, transparent 100%);
    margin: -22px 0;
}

/* Section "Pas de compte" */
.no-account {
    text-align: center;
    padding: 30px 20px;
    background: rgba(34, 34, 72, 0.02);
    border-radius: 15px;
    margin-top: 30px;
    animation: fadeInUp 0.5s ease 0.5s forwards;
    opacity: 0;
}

.no-account a {
    color: #222248;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding: 12px 30px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
}

.no-account a::after {
    content: '!';
    transition: transform 0.3s ease;
}

.no-account a:hover {
    color: #222248;
    border-color: #222248;
    text-decoration: none;
    transform: translateY(-2px);
}

.no-account a:hover::after {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    #main .login-form {
        padding: 25px 20px;
        border-radius: 15px;
    }

    #main .page-header h1 {
        font-size: 26px;
    }

    #login-form .form-group.row {
        margin-bottom: 20px;
    }

    #login-form .col-md-3,
    #login-form .col-md-6 {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    #login-form .form-control-label {
        margin-bottom: 8px;
        text-align: left;
    }

    #submit-login {
        width: 100%;
        padding: 16px 20px;
    }

    .forgot-password {
        text-align: center;
        margin-top: 20px;
    }
}

/* ====================================
   FORMULAIRE D'INSCRIPTION - MODERNE
   ==================================== */

/* Container principal du formulaire d'inscription */
#main .register-form {
    border-radius: 20px;
    padding: 30px;
    margin: 30px auto;
    max-width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

#main .register-form:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Texte d'introduction */
#main .register-form>p {
    text-align: center;
    font-size: 15px;
    color: #666;
    margin-bottom: 35px;
    padding: 20px;
    background: rgb(221 221 221 / 33%);
    border-radius: 12px;
    border-left: 4px solid #222248;
}

#main .register-form>p a {
    color: #222248;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

#main .register-form>p a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #222248;
    transition: width 0.3s ease;
}

#main .register-form>p a:hover::after {
    width: 100%;
}

/* Groupes de formulaire d'inscription */
#customer-form .form-group {
    margin-bottom: 25px;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

#customer-form .form-group:nth-child(1) {
    animation-delay: 0.05s;
}

#customer-form .form-group:nth-child(2) {
    animation-delay: 0.1s;
}

#customer-form .form-group:nth-child(3) {
    animation-delay: 0.15s;
}

#customer-form .form-group:nth-child(4) {
    animation-delay: 0.2s;
}

#customer-form .form-group:nth-child(5) {
    animation-delay: 0.25s;
}

#customer-form .form-group:nth-child(6) {
    animation-delay: 0.3s;
}

#customer-form .form-group:nth-child(7) {
    animation-delay: 0.35s;
}

#customer-form .form-group:nth-child(8) {
    animation-delay: 0.4s;
}

#customer-form .form-group:nth-child(9) {
    animation-delay: 0.45s;
}

#customer-form .form-group:nth-child(10) {
    animation-delay: 0.5s;
}

/* Labels du formulaire d'inscription */
#customer-form .form-control-label {
    color: #222248;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

#customer-form .form-control-label.required::after {
    content: ' *';
    color: #222248;
    font-weight: 700;
}

/* Inputs du formulaire d'inscription */
#customer-form .form-control {
    border: 2px solid #e0e0e0;
    padding: 14px 18px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    color: #222248;
}

#customer-form .form-control:focus {
    border-color: #222248;
    box-shadow: 0 0 0 4px rgb(0 74 255 / 10%);
    outline: none;
    transform: translateY(-2px);
}

#customer-form .form-control:hover:not(:focus) {
    border-color: #222248;
}

/* Commentaires des champs */
#customer-form .form-control-comment,
#customer-form .col-md-3.form-control-comment {
    font-size: 13px;
    color: #999;
    font-style: italic;
    margin-top: 5px;
}

/* Radio buttons personnalisÃ©s */
#customer-form .radio-inline {
    display: inline-flex;
    align-items: center;
    margin-right: 20px;
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    transition: all 0.3s ease;
    font-weight: 500;
}

#customer-form .radio-inline:hover {
    border-color: #222248;
}

#customer-form .radio-inline .custom-radio {
    margin-right: 10px;
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
}

#customer-form .radio-inline .custom-radio input[type="radio"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#customer-form .radio-inline .custom-radio span {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s ease;
}

#customer-form .radio-inline .custom-radio span::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #222248;
    transition: transform 0.3s ease;
}

#customer-form .radio-inline .custom-radio input[type="radio"]:checked+span {
    border-color: #222248;
}

#customer-form .radio-inline .custom-radio input[type="radio"]:checked+span::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Checkboxes personnalisÃ©s */
#customer-form .custom-checkbox {
    display: block;
    margin: 10px 0;
}

#customer-form .custom-checkbox label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}

#customer-form .custom-checkbox label:hover {
    border-color: #222248;
    background: rgba(255, 50, 0, 0.02);
}

#customer-form .custom-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

#customer-form .custom-checkbox label>span:first-of-type {
    min-width: 24px;
    width: 24px;
    height: 24px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    margin-right: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#customer-form .custom-checkbox input[type="checkbox"]:checked+span {
    border-color: #222248;
    background: #222248;
}

#customer-form .custom-checkbox .material-icons {
    font-size: 18px;
    color: #fff;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

#customer-form .custom-checkbox input[type="checkbox"]:checked+span .material-icons {
    opacity: 1;
    transform: scale(1);
}

#customer-form .custom-checkbox label em {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Input group (mot de passe) */
#customer-form .input-group {
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}

#customer-form .input-group:focus-within {
    border-color: #222248;
    box-shadow: 0 0 0 4px rgba(255, 50, 0, 0.1);
    transform: translateY(-2px);
}

#customer-form .input-group:hover:not(:focus-within) {
    border-color: #222248;
}

#customer-form .input-group .form-control {
    border: none;
    border-radius: 0;
    padding: 14px 18px;
}

#customer-form .input-group .form-control:focus {
    box-shadow: none;
    transform: none;
}

#customer-form .input-group-btn .btn {
    background: transparent;
    border: none;
    color: #666;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 1px solid #e0e0e0;
}

#customer-form .input-group-btn .btn:hover {
    background: rgba(255, 50, 0, 0.05);
    color: #222248;
}

/* Password strength indicator */
.password-strength-feedback {
    margin-top: 15px;
    padding: 15px;
    background: rgba(34, 34, 72, 0.02);
    border-radius: 10px;
    border-left: 3px solid #e0e0e0;
}

.password-strength-feedback .progress {
    height: 8px;
    border-radius: 10px;
    background: #e0e0e0;
    overflow: hidden;
}

.password-strength-feedback .progress-bar {
    background: linear-gradient(90deg, #222248, #e02900);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.password-strength-text {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin: 10px 0;
}

.password-requirements {
    margin-top: 10px;
}

.password-requirements p {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
    margin: 8px 0;
}

.password-requirements .material-icons {
    font-size: 18px;
    margin-right: 8px;
    color: #ccc;
    transition: color 0.3s ease;
}

.password-requirements p.is-valid .material-icons {
    color: #4caf50;
}

/* Footer du formulaire d'inscription */
#customer-form .form-footer {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.5s ease 0.6s forwards;
    opacity: 0;
}

/* Bouton d'enregistrement */
#customer-form .btn-primary {
    background: #222248;
    border: none;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    width: 34%;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#customer-form .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#customer-form .btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

#customer-form .btn-primary:hover {
    transform: translateY(-3px);
}

#customer-form .btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 50, 0, 0.3);
}

/* Responsive pour formulaire d'inscription */
@media (max-width: 768px) {
    #main .register-form {
        padding: 25px 20px;
        border-radius: 15px;
    }

    #customer-form .form-group.row {
        margin-bottom: 20px;
    }

    #customer-form .col-md-3,
    #customer-form .col-md-6 {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    #customer-form .form-control-label {
        margin-bottom: 8px;
        text-align: left;
    }

    #customer-form .btn-primary {
        width: 100%;
        padding: 16px 20px;
    }

    #customer-form .radio-inline {
        margin-bottom: 10px;
        width: calc(50% - 5px);
    }

    #customer-form .custom-checkbox label {
        font-size: 13px;
    }
}

/* ====================================
   PAGE 404 - DESIGN MODERNE SUSHI
   ==================================== */

.page-not-found-custom {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.page-pagenotfound .page-header {
    display: none;
}

.not-found-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Animation Sushi 404 */
.not-found-animation {
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sushi-404 {
    position: relative;
    display: inline-block;
}

.sushi-plate {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.sushi-icon {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.number-404 {
    position: absolute;
    top: 89%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 72px;
    font-weight: 900;
    color: #222248;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: -2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Contenu texte */
.not-found-content {
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-title {
    color: #222248;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.error-subtitle {
    color: #222248;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.error-description {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Boutons d'action */
.not-found-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.not-found-actions .btn-home,
.not-found-actions .btn-menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.not-found-actions .btn-home {
    background: #222248;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 50, 0, 0.3);
}

.not-found-actions .btn-home::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.not-found-actions .btn-home:hover::before {
    width: 300px;
    height: 300px;
}

.not-found-actions .btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 50, 0, 0.4);
}

.not-found-actions .btn-menu {
    background: #fff;
    color: #222248;
    border: 2px solid #222248;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.not-found-actions .btn-menu:hover {
    background: #222248;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 34, 72, 0.2);
}

.not-found-actions .material-icons {
    font-size: 22px;
}

/* Zone de recherche */
.not-found-search {
    margin-top: 50px;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease 0.6s backwards;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.search-label {
    color: #222248;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.not-found-search #search_widget {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.not-found-search #search_widget form {
    position: relative;
    width: 100%;
}

.not-found-search #search_widget form input {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 50px 14px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.not-found-search #search_widget form input:focus {
    border-color: #222248;
    box-shadow: 0 0 0 4px rgba(255, 50, 0, 0.1);
    outline: none;
}

.not-found-search #search_widget form i.search {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Responsive 404 */
@media (max-width: 768px) {
    .page-not-found-custom {
        padding: 40px 15px;
    }

    .sushi-icon {
        width: 150px;
        height: 150px;
    }

    .number-404 {
        font-size: 56px;
    }

    .error-title {
        font-size: 32px;
    }

    .error-subtitle {
        font-size: 20px;
    }

    .error-description {
        font-size: 15px;
    }

    .not-found-actions {
        flex-direction: column;
        gap: 15px;
    }

    .not-found-actions .btn-home,
    .not-found-actions .btn-menu {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .not-found-search {
        padding: 20px 15px;
    }

    .search-label {
        font-size: 16px;
    }
}


@media (min-width: 1200px) {
    .page-customer-account #wrapper .container {
        width: 75%;
        max-width: 100%;
    }
}











/* ====================================
   CHECKOUT NAVIGATION TOGGLE
   ==================================== */

/* Container des onglets */
.checkout-step .nav.nav-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: #f3f4f6;
    padding: 6px;
    border-radius: 12px;
    width: fit-content;
    margin: 0 auto 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Masquer le sÃ©parateur */
.checkout-step .nav-separator {
    display: none;
}

/* Styles des boutons onglets */
.checkout-step .nav-item {
    margin: 0;
}

.checkout-step .nav-link {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* Effet de hover */
.checkout-step .nav-link:hover {
    color: #333;
    background: rgb(0 0 0 / 15%);
}

/* Ã‰tat actif */
.checkout-step .nav-link.active {
    background: var(--primaryllw-color);
    color: #fff;
    transform: translateY(-1px);
}

/* Animation de brillance au survol */
.checkout-step .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.checkout-step .nav-link.active:hover::before {
    left: 100%;
}

/* Responsive */
@media (max-width: 576px) {
    .checkout-step .nav.nav-inline {
        width: 100%;
        padding: 5px;
    }

    .checkout-step .nav-link {
        padding: 10px 20px;
        font-size: 14px;
        flex: 1;
        text-align: center;
    }
}


@media (min-width: 768px) {
    .page-order .header-banner {
        position: static !important;
        z-index: 200;
    }
}

.page-order footer#footer {
    background: #000000 !important;
}

.page-order span.custom-checkbox {
    margin-top: 12px;
}


body#checkout.page-order a:hover {
    color: white
}

.page-order #customer-form .radio-inline {
    display: none;
}

@media (min-width: 1200px) {
    .page-order #wrapper .container {
        width: 73%;
        max-width: 100%;
    }
}

.page-order .row:nth-child(2) {
    margin-top: 3%;
}




.page-order #customer-form .custom-checkbox label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 10px;
    border: none;
    border-radius: 12px;
    background: #fff;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.6;
    justify-content: flex-start;
    align-content: flex-end;
    flex-wrap: wrap;
    position: relative;
}

.page-order #customer-form .custom-checkbox input[type="checkbox"]:checked+span {
    border-color: #222248;
    background: #222248;
}

.page-order #customer-form .custom-checkbox input[type="checkbox"]:checked+span .material-icons {
    opacity: 1;
    transform: scale(1);
}


.page-order #customer-form .custom-checkbox label>span:first-of-type {
    min-width: 24px;
    width: 24px;
    height: 24px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    margin-right: 12px;
    background: #fff;
    display: flex;
    margin-top: 4%;
    margin-left: -6%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}


.page-order label.col-md-3.form-control-label.required {
    text-align: right !important;
}


/************ Modal Content ************/


/* Container de la modal */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(34, 34, 72, 0.15);
    /* Ombre teintÃ©e avec votre bleu */
}

/* Titre du produit */
.modal-body h1.h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222248;
    /* Votre couleur primaire */
    margin-top: 10px;
}

/* Prix et Labels */
.current-price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #222248;
}

.tax-shipping-delivery-label {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Bouton Ajouter au panier - Version Ã©lÃ©gante */
.product-add-to-cart .add-to-cart {
    background-color: #222248 !important;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 15px 30px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(34, 34, 72, 0.2);
}

.product-add-to-cart .add-to-cart:hover {
    background-color: #313166 !important;
    /* Un bleu lÃ©gÃ¨rement plus clair au survol */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(34, 34, 72, 0.3);
}

/* SÃ©lecteur de quantitÃ© (Touchspin) */
.bootstrap-touchspin .btn-touchspin {
    background-color: #f8f9fa;
    border-color: #222248;
    color: #222248;
}

#quantity_wanted {
    border: 1px solid #222248;
    font-weight: bold;
    color: #222248;
}

/* Miniatures (Thumbnails) */
.thumb-container img.selected {
    border: 3px solid #222248 !important;
}


/****** Variant Selection ******/


/* ===== SUSHI SELECTOR - Product Variants ===== */

.product-variants {
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-top: 1rem;
}

.compose-product-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #222248;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #222248;
    position: relative;
}

.compose-product-title::after {
    /* content: 'ðŸ£'; */
    margin-left: 8px;
    font-size: 1rem;
}

/* ===== LABEL / GROUP CONTAINER ===== */
.product-variants-item {
    margin: 0;
    padding: 14px 16px 18px;
    border-radius: 14px;
    background: #f8f8fb;
    border: 1px solid #e3e4f3;
    box-shadow: 0 4px 14px rgba(34, 34, 72, 0.06);
}

.product-variants-item+.product-variants-item {
    margin-top: 1.2rem;
}

.product-variants-item .control-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #555;
    margin-bottom: 0.6rem;
}

/* ===== SELECT ===== */
.form-control-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 2px solid #222248;
    border-radius: 10px;
    color: #222248;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.55rem 2.4rem 0.55rem 1rem;
    cursor: pointer;
    width: 100%;
    max-width: 320px;
    transition: all 0.25s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23222248' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-control-select:hover,
.form-control-select:focus {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(34, 34, 72, 0.12);
    outline: none;
    color: #222248;
}

/* ===== RADIO BUTTONS ===== */
/* ===== RADIO BUTTONS — CARDS STYLE ===== */
.product-variants-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.product-variants-item ul li.input-container {
    float: none !important;
    margin: 0;
    padding: 0;
}

.product-variants-item .input-container label {
    cursor: pointer;
    margin: 0;
    display: block;
    height: 100%;
}

.input-radio {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
}

/* Card texte seule */
.input-radio+.radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    color: #555;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
    user-select: none;
    width: 100%;
    min-height: 48px;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

/* Card avec image */
.input-radio+.radio-label-with-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 12px;
    border: 2px solid #ddd;
    border-radius: 12px;
    background-color: #fff;
    color: #555;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
    user-select: none;
    min-height: 140px;
    width: 100%;
    cursor: pointer;
    box-sizing: border-box;
}

/* Image dans la card */
.attribute-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

/* Placeholder cercle vide (sans image) */
.attribute-image--empty {
    background-color: #fff;
    border: 2px solid #ddd;
    box-shadow: none;
}

.input-radio:checked+.radio-label-with-image .attribute-image--empty {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

/* Label texte à l'intérieur d'une card image */
.input-radio+.radio-label-with-image .radio-label {
    padding: 0;
    border: none;
    background: none;
    text-align: center;
    width: 100%;
    display: block;
    min-height: auto;
    line-height: 1.3;
    font-size: 13px;
    color: inherit;
    cursor: pointer;
    box-shadow: none;
}

/* ── Hover ── */
.input-radio+.radio-label:hover,
.input-radio+.radio-label-with-image:hover {
    border-color: #222248;
    color: #222248;
    background-color: #f0f0f8;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(34, 34, 72, 0.15);
}

.input-radio+.radio-label-with-image:hover .attribute-image {
    transform: scale(1.07);
    box-shadow: 0 4px 12px rgba(34, 34, 72, 0.2);
}

/* ── Sélectionné ── */
.input-radio:checked+.radio-label,
.input-radio:checked+.radio-label-with-image {
    background-color: #222248;
    border-color: #222248;
    color: #fff;
    box-shadow: 0 6px 18px rgba(34, 34, 72, 0.35);
    transform: translateY(-2px);
}

.input-radio:checked+.radio-label-with-image .attribute-image {
    border: 3px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.35);
}

.input-radio:checked+.radio-label-with-image .radio-label {
    color: #fff;
}

.input-radio:focus+.radio-label,
.input-radio:focus+.radio-label-with-image {
    outline: 2px solid #222248;
    outline-offset: 2px;
}

@media (max-width: 576px) {
    .product-variants-item ul {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .input-radio+.radio-label {
        padding: 10px 14px;
        font-size: 13px;
    }

    .input-radio+.radio-label-with-image {
        padding: 12px 10px;
        font-size: 13px;
        min-height: 120px;
    }

    .attribute-image {
        width: 55px;
        height: 55px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .attribute-image {
        width: 60px;
        height: 60px;
    }

    .input-radio+.radio-label-with-image {
        min-height: 130px;
    }
}


.input-color {
    display: none;
}

.input-color+.color {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.input-color+.color:hover {
    border-color: #222248;
    transform: scale(1.1);
}

.input-color:checked+.color {
    border-color: #222248;
    box-shadow: 0 0 0 3px rgba(34, 34, 72, 0.35);
    transform: scale(1.15);
}

.ams-options-summary {
    display: none !important;
}


/************* Order Confirmation Page *************/

/* --- STYLE "TIMELINE & GASTRO" â€” CONFIRMATION DE COMMANDE --- */

/* Fond de page plus doux */
.page-order-confirmation {
    background: #fdfdfd !important;
}

/* 1. L'icÃ´ne de succÃ¨s "Flottante" */
.page-order-confirmation #content-hook_order_confirmation .done {
    color: #ffffff !important;
    background: #E52A20 !important;
    /* Rouge LLW */
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    margin: 0 auto 25px;
    box-shadow: 0 15px 30px rgba(229, 42, 32, 0.3);
    font-size: 40px !important;
}

/* 2. Titre principal avec serif (si possible) ou trÃ¨s gras */
.page-order-confirmation #content-hook_order_confirmation .card-title {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #222248 !important;
    font-weight: 900;
    text-transform: lowercase;
    /* Look moderne */
    font-size: 34px !important;
    letter-spacing: -1.5px;
}

.page-order-confirmation #content-hook_order_confirmation .card-title::first-letter {
    text-transform: uppercase;
}

/* 3. Les Cartes "Flottantes" avec bordures fines */
.page-order-confirmation#content,
.page-order-confirmation #order-details {
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 30px !important;
    box-shadow: 0 20px 60px rgba(34, 34, 72, 0.05) !important;
    padding: 35px !important;
    margin-bottom: 40px;
}

/* 4. Liste des articles style "Minimalist Menu" */
.page-order-confirmation .order-line {
    border-bottom: 1px dashed #ddd !important;
    /* Ligne pointillÃ©e comme un ticket */
    padding: 25px 0 !important;
    margin: 0 !important;
}

.page-order-confirmation .order-line:last-child {
    border-bottom: none !important;
}

.page-order-confirmation .order-line img {
    border-radius: 50%;
    /* Image en rond pour le cÃ´tÃ© gourmet */
    width: 70px !important;
    height: 70px !important;
    object-fit: cover;
    border: 2px solid #f8f9fa;
}

.page-order-confirmation .order-line .details span {
    font-size: 16px !important;
    color: #222248 !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px;
}

/* 5. Le RÃ©capitulatif Total "Glassmorphism" */
.page-order-confirmation .order-confirmation-table table {
    background: #222248 !important;
    /* Fond sombre bleu nuit */
    color: #fff !important;
    border-radius: 20px;
    padding: 20px !important;
    width: 100% !important;
    margin-top: 30px;
    border: none !important;
}

.page-order-confirmation .order-confirmation-table td {
    border: none !important;
    padding: 12px 25px !important;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Ligne Total spÃ©cifique */
.page-order-confirmation .total-value td {
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.page-order-confirmation .total-value td:first-child span {
    color: #000000 !important;
    font-weight: 800;
}

.page-order-confirmation .total-value td:last-child {
    color: #E52A20 !important;
    /* Le prix en rouge qui claque sur le noir */
    font-size: 28px !important;
    font-weight: 900 !important;
}

/* 6. DÃ©tails de commande (Badge de rÃ©fÃ©rence) */
.page-order-confirmation #order-details h3 {
    font-size: 14px !important;
    background: #E52A20;
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 25px !important;
}

.page-order-confirmation #order-details ul li {
    font-size: 14px;
    color: #57606f;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.page-order-confirmation #order-details li strong {
    color: #222248 !important;
    font-weight: 700;
}

/* Cacher les titres de colonnes inutiles sur PC pour Ã©purer */
.page-order-confirmation ._desktop-title {
    display: none !important;
}


/********* Popup de confirmation d'ajout au panier *********/

/* --- QUICKVIEW MODAL PREMIUM DESIGN --- */

/* 1. Global & Header */
.modal-content {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden;
}

.modal-content .modal-header {
    border: none !important;
    padding: 20px 20px 0 !important;
}

.modal-content .modal-header .close {
    background: #f8f9fa !important;
    color: #222248 !important;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-bottom: 1%;
}

/* 2. Texte & Prix */
.modal-content .modal-body h1.h1 {
    color: #222248 !important;
    font-weight: 800 !important;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-content .current-price-value {
    color: #ffffff !important;
    font-size: 1.4rem;
    font-weight: 700 !important;
}

.modal-content #product-description-short {
    display: inline-block;
    background: #E8E9F3;
    color: #222248 !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 6px 14px;
    margin: 15px 0;
}

/* 3. SÃ©lecteur de QuantitÃ© (Horizontal Style) */
.modal-content .product-add-to-cart {
    margin-top: 30px;
}

@media (min-width:796px) {
    .modal-content .product-quantity {
        display: flex;
        align-items: center;
        gap: 15px;
    }
}

.checkout-step .nav-inline .nav-item+.nav-item,
.nav-inline .nav-link+.nav-link {
    margin-left: 0rem;
}

.modal-content .product-quantity {
    display: block;
    align-items: center;
    gap: 15px;
}

.modal-content .bootstrap-touchspin {
    width: 130px !important;
    border: 1px solid #ddd !important;
    border-radius: 12px !important;
    padding: 5px;
    background: #fff;
    display: flex !important;
    align-items: center;
}

.modal-content .bootstrap-touchspin .form-control {
    border: none !important;
    height: 35px !important;
    font-weight: 700 !important;
    text-align: center;
    color: #222248 !important;
}

.modal-content .btn-touchspin {
    background: #f8f9fa !important;
    border-radius: 8px !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    margin-left: 3px !important;
    justify-content: center;
}

/* 4. Bouton Ajouter au panier (Full Width Look) */
.modal-content .add-to-cart {
    background: #222248 !important;
    flex-grow: 1;
    height: 50px;
    border-radius: 14px !important;
    font-weight: 700 !important;
    transition: transform 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-content .add-to-cart:hover {
    background: #151535 !important;
    transform: translateY(-2px);
}

/* 5. Images */
.modal-content .product-cover img {
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.modal-content .thumb-container img {
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.modal-content .thumb-container img.selected {
    border-color: #222248 !important;
}

/* ============================================================
   CARROUSEL "Vous aimerez aussi" â€” Page produit
   ============================================================ */

.related-carousel-section {
    margin: 60px 0 40px;
    padding: 0;
}

/* Titre */
.related-carousel-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e2535;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 9px;
}

.related-carousel-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--primaryllw-color, #222248);
    border-radius: 2px;
}

/* Wrapper global flÃ¨ches + viewport */
.related-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Zone visible â€” clip les cards qui dÃ©passent */
.related-carousel-viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

/* Track scrollable */
.related-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    align-items: stretch;
}

/* â”€â”€ Contrainte des items : mÃªme ratio que les cards catÃ©gorie â”€â”€ */
.related-carousel-track .js-product {
    /* 4 cards visibles : (100% - 3Ã—gap) / 4 */
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    width: calc((100% - 60px) / 4);
    /* force la largeur */
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Les cards elles-mÃªmes doivent occuper toute la largeur de leur slot */
.related-carousel-track .js-product .product-miniature,
.related-carousel-track .js-product article {
    width: 100%;
    height: 100%;
    min-width: 0;
}

/* Forcer overflow hidden sur tous les textes pour Ã©viter le dÃ©bordement */
.related-carousel-track .product-card-title,
.related-carousel-track .product-card-subtitle,
.related-carousel-track .product-card-price,
.related-carousel-track .product-title,
.related-carousel-track .h3,
.related-carousel-track h2,
.related-carousel-track h3 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Le lien card prend toute la largeur */
.related-carousel-track .product-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

/* Tablette : 3 cards */
@media (max-width: 1199px) {
    .related-carousel-track .js-product {
        flex: 0 0 calc((100% - 40px) / 3);
        width: calc((100% - 40px) / 3);
    }
}

/* Mobile large : 2 cards */
@media (max-width: 767px) {
    .related-carousel-track .js-product {
        flex: 0 0 calc((100% - 20px) / 1);
        width: calc((100% - 20px) / 1);
    }
}

/* Mobile : 1.2 cards (peek) */
@media (max-width: 480px) {
    .related-carousel-track .js-product {
        flex: 0 0 82%;
        width: 82%;
    }

    .related-carousel-wrapper {
        gap: 6px;
    }
}

/* FlÃ¨ches de navigation */
.related-carousel-arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #e0e4ed;
    background: #fff;
    color: #1e2535;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease,
        color 0.22s ease, transform 0.18s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    z-index: 2;
}

.related-carousel-arrow:hover:not(:disabled) {
    background: var(--primaryllw-color, #222248);
    border-color: var(--primaryllw-color, #222248);
    color: #fff;
    transform: scale(1.08);
}

.related-carousel-arrow:disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

/* Skeletons de chargement */
.related-carousel-skeleton {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    border-radius: 16px;
    background: linear-gradient(90deg, #f0f2f5 25%, #e4e7ec 50%, #f0f2f5 75%);
    background-size: 400% 100%;
    animation: skeletonShimmer 1.4s infinite;
    aspect-ratio: 0.82;
}

@media (max-width: 1199px) {
    .related-carousel-skeleton {
        flex: 0 0 calc((100% - 40px) / 3);
    }
}

@media (max-width: 767px) {
    .related-carousel-skeleton {
        flex: 0 0 calc((100% - 20px) / 2);
    }
}

@media (max-width: 480px) {
    .related-carousel-skeleton {
        flex: 0 0 82%;
    }
}

@keyframes skeletonShimmer {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.related-carousel-error {
    width: 100%;
    text-align: center;
    padding: 30px;
    color: #8a94a6;
    font-size: 14px;
}


#home-newsletter {
    display: none !important;
}

.free-quota-bar.fqb-full {
    display: none;
}

/* ── Bandeau quota sur fiche produit à 0€ ───────────────────────────────── */
.free-product-quota-hint {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid;
    transition: opacity 0.25s ease;
}

.free-product-quota-hint.fqh-blocked {
    background: #fff8f0;
    border-color: #f5a623;
    color: #7a4e00;
}

.free-product-quota-hint.fqh-ok {
    background: #f0faf3;
    border-color: #4caf50;
    color: #1b5e20;
}

.free-product-quota-hint__icon {
    font-size: 22px;
    flex-shrink: 0;
}

.free-product-quota-hint__progress {
    margin-top: 6px;
    height: 5px;
    border-radius: 3px;
    background: #e0e0e0;
    overflow: hidden;
}

.free-product-quota-hint__progress-fill {
    height: 100%;
    border-radius: 3px;
    background: #f5a623;
    transition: width 0.4s ease;
}








@media (max-width: 768px) {

    .modal-content {
        border-radius: 12px;
        margin: 10px;
    }

    .modal-header .close {
        right: 15px;
        top: 15px;
        opacity: 0.8;
        font-size: 24px;
    }

    /* Image pleine largeur */
    .col-md-6.col-sm-6.hidden-xs-down {
        display: block !important;
        width: 100%;
        margin-bottom: 20px;
    }

    .product-cover img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 8px;
    }

    /* Titre et prix simples */
    .h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .current-price-value {
        font-size: 26px;
        color: #d32f2f;
        font-weight: 700;
    }

    /* Quantité + bouton épurés */
    .product-quantity {
        padding: 20px 0;
    }

    #quantity_wanted {
        border: 2px solid #ddd;
        border-radius: 8px;
        height: 44px;
        width: 70px;
        text-align: center;
        font-size: 16px;
    }

    .btn-primary.add-to-cart {
        width: 100%;
        height: 50px;
        border-radius: 8px;
        background: #d32f2f;
        border: none;
        font-size: 16px;
        font-weight: 600;
        margin-top: 15px;
    }

    .btn-primary.add-to-cart:hover {
        background: #c62828;
    }
}

.page-order .carrier-price {
    display: none;
}

.compose-product-title {
    display: none;
}



/********* My account page *********/

/* ==========================================================================
   PAGE MON COMPTE - STYLE DASHBOARD 3 COLONNES
   ========================================================================== */

.page-my-account #main {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-my-account .page-header h1 {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #1a1a2e;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px !important;
}

/* --- Grille Responsive --- */
.page-my-account .links {
    display: grid !important;
    /* Force 3 colonnes sur grand écran (min-width: 992px) */
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
    margin: 0 !important;
}

/* Annulation des floats Bootstrap qui pourraient casser la grille */
.page-my-account .links a {
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
    text-decoration: none !important;
}

/* --- Style des Cartes (Items) --- */
.page-my-account .links .link-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 18px !important;
    padding: 40px 20px !important;
    height: 100% !important;
    transition: all 0.3s ease-in-out !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03) !important;
}

/* Effet Hover */
.page-my-account .links a:hover .link-item {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: #222248 !important;
    /* Couleur Sushi Orange */
}

/* Icônes */
.page-my-account .links .link-item i {
    font-size: 50px !important;
    color: #1a1a2e !important;
    margin-bottom: 20px !important;
    transition: transform 0.3s ease;
}

.page-my-account .links a:hover .link-item i {
    transform: scale(1.1);
    color: #222248 !important;
}

/* Texte des liens */
.page-my-account .links .link-item {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    text-transform: none;
    line-height: 1.4;
}

/* --- Bouton Déconnexion (Pill Style) --- */
.page-my-account .page-footer {
    text-align: center !important;
    margin-top: 50px !important;
    padding-top: 30px !important;
    border-top: 1px solid #f0f0f0 !important;
}

.page-my-account .page-footer a[href*="logout"] {
    display: inline-block !important;
    background: #1a1a2e !important;
    color: #fff !important;
    padding: 14px 40px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s !important;
}

.page-my-account .page-footer a[href*="logout"]:hover {
    background: #c0392b !important;
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.3) !important;
}

/* ==========================================================================
   ADAPTATIONS RESPONSIVE
   ========================================================================== */

/* Tablettes : 2 colonnes */
@media (max-width: 991px) {
    .page-my-account .links {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobiles : 1 colonne */
@media (max-width: 575px) {
    .page-my-account .links {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .page-my-account .links .link-item {
        padding: 25px 15px !important;
        flex-direction: row !important;
        /* Icone à gauche, texte à droite sur mobile pour gagner de la place */
        justify-content: flex-start !important;
    }

    .page-my-account .links .link-item i {
        margin-bottom: 0 !important;
        margin-right: 20px !important;
        font-size: 30px !important;
    }
}


/******* Page Adresses - Style Formulaire Moderne ******/

/* --- Titre et Structure --- */
.page-addresses .page-header h1 {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #1a1a2e;
    text-transform: uppercase;
    margin-bottom: 30px !important;
    text-align: center;
}

/* --- Cartes d'Adresse --- */
.page-addresses .address {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 15px !important;
    padding: 0 !important;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.page-addresses .address:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #222248 !important;
    /* Couleur Sushi */
}

/* Corps de l'adresse */
.page-addresses .address-body {
    padding: 20px !important;
}

.page-addresses .address-body h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #222248;
    text-transform: uppercase;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.page-addresses address {
    font-style: normal;
    line-height: 1.8;
    color: #4a5568;
    font-size: 14px;
}

/* --- Pied de Carte (Actions Modifier/Supprimer) --- */
.page-addresses .address-footer {
    background: #fcfcfc !important;
    border-top: 1px solid #eee !important;
    padding: 12px 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.page-addresses .address-footer a {
    color: #718096 !important;
    font-size: 13px !important;
    font-weight: 600;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.page-addresses .address-footer a i {
    font-size: 18px !important;
    margin-right: 5px;
}

/* Hover spécifique Modifier */
.page-addresses .address-footer a[data-link-action="edit-address"]:hover {
    color: #2c3e50 !important;
}

/* Hover spécifique Supprimer */
.page-addresses .address-footer a[data-link-action="delete-address"]:hover {
    color: #c0392b !important;
}

/* --- Bouton "Créer une nouvelle adresse" --- */
.page-addresses .addresses-footer {
    text-align: center;
    margin-top: 20px;
    width: 100%;
    clear: both;
}

.page-addresses .addresses-footer a {
    display: inline-flex !important;
    align-items: center;
    background: #1a1a2e !important;
    color: #fff !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-addresses .addresses-footer a:hover {
    background: #222248 !important;
    transform: translateY(-2px);
}

.page-addresses .addresses-footer a i {
    margin-right: 8px;
}

/* --- Footer de page (Retour) --- */
.page-addresses .page-footer {
    margin-top: 50px !important;
    border-top: 1px solid #eee;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-addresses .account-link {
    color: #718096 !important;
    font-size: 14px;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.2s;
}

.page-addresses .account-link:hover {
    background: #eee;
    color: #1a1a2e !important;
}

.page-addresses .account-link i {
    margin-right: 5px;
}

/* --- Responsive --- */
@media (max-width: 575px) {
    .page-addresses .address-footer span {
        display: none;
        /* Cache le texte sur mobile, garde juste les icônes */
    }

    .page-addresses .address-footer {
        justify-content: space-around !important;
    }

    .page-addresses .page-footer {
        flex-direction: column;
        align-items: center;
    }
}

.page-addresses .addresses-footer a span {
    margin-top: 0 !important;
}



.page-customer-account .carousel {
    display: none !important;
}


@media (max-width: 575px) {

    #wrapper .breadcrumb {

        font-size: 12px;
    }

    .page-my-account #main {
        padding: 15px !important;
    }

    .page-my-account .links {
        grid-template-columns: 1fr !important;
        /* 1 seule colonne */
        gap: 10px !important;
    }

    .page-my-account .links .link-item {
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        padding: 15px 20px !important;
        min-height: 70px !important;
        height: auto !important;
    }

    .page-my-account .links .link-item i {
        flex: 0 0 40px !important;
        font-size: 24px !important;
        margin-bottom: 0 !important;
        margin-right: 15px !important;
        color: #222248 !important;
        text-align: center;
        display: flex !important;
        padding: 0 !important;
        align-items: center;
        justify-content: center;
    }

    .page-my-account .links .link-item span,
    .page-my-account .links .link-item {
        flex: 1 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-align: left !important;
        color: #2c3e50 !important;
        margin: 0 !important;
    }

    .page-my-account .page-footer a[href*="logout"] {
        width: 100% !important;
        padding: 10px !important;
        font-size: 12px !important;
    }
}


/******** Page historique des commandes - Style épuré ********/

/* ==========================================================================
   PAGE HISTORIQUE DES COMMANDES - FORMAT MOBILE UNIQUE
   ========================================================================== */

@media (max-width: 767px) {
    /* Style du texte d'introduction */
    .page-history h6 {
        font-size: 14px !important;
        color: #718096 !important;
        text-align: center;
        margin-bottom: 25px !important;
        font-weight: 400;
    }

    /* Conteneur global des commandes */
    .page-history .orders {
        background: transparent !important;
        padding: 0 !important;
    }

    /* Chaque carte de commande */
    .page-history .order {
        background: #fff !important;
        border: 1px solid #edf2f7 !important;
        border-radius: 16px !important;
        padding: 20px !important;
        margin-bottom: 15px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.04) !important;
        position: relative;
    }

    /* Référence de la commande (Titre) */
    .page-history .order h3 {
        font-size: 16px !important;
        font-weight: 800 !important;
        color: #1a1a2e !important;
        margin: 0 0 8px 0 !important;
        letter-spacing: 0.5px;
    }

    .page-history .order a {
        text-decoration: none !important;
    }

    /* Date et Total */
    .page-history .order .date {
        font-size: 13px !important;
        color: #a0aec0 !important;
        margin-bottom: 5px;
    }

    .page-history .order .total {
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #2d3748 !important;
        margin-bottom: 12px;
    }

    /* Badge de statut (Pill) */
    .page-history .order .status {
        margin-top: 10px;
    }

    .page-history .order .label-pill {
        padding: 6px 12px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        border-radius: 50px !important;
        display: inline-block !important;
        letter-spacing: 0.3px;
    }

    /* Zone des icônes d'action à droite */
    .page-history .order .col-xs-2 {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-around !important;
        align-items: flex-end !important;
        padding-left: 0 !important;
    }

    /* Boutons d'action (Détails et Recommander) */
    .page-history .order .order-actions i,
    .page-history .order .col-xs-2 i {
        background: #f7fafc !important;
        color: #1a1a2e !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        font-size: 20px !important;
        transition: all 0.2s ease;
        border: 1px solid #edf2f7 !important;
        margin-bottom: 8px !important;
    }

    /* Couleur spécifique pour le bouton "Commander à nouveau" (Reorder) */
    .page-history .order a[title="Commander à nouveau"] i,
    .page-history .reorder-link {
        color: #e67e22 !important; /* Couleur Sushi */
        background: #fff4eb !important;
        border-color: #ffe0cc !important;
    }

    /* Effet au clic */
    .page-history .order i:active {
        transform: scale(0.9);
        background: #edf2f7 !important;
    }

    /* On cache proprement le tableau sur mobile car PrestaShop utilise hidden-sm-down */
    .page-history table.hidden-sm-down {
        display: none !important;
    }
}

/* Fix pour l'alignement de la grille native */
.page-history .order .row {
    display: flex !important;
    align-items: center !important;
}