/*
|--------------------------------------------------------------------------
| Marsiglia Botanica Premium — Palette C
|--------------------------------------------------------------------------
*/

:root {
    --provence-sage: #B7C7B0;
    --provence-sage-light: #D9E4D1;
    --provence-olive: #7E8B68;
    --provence-primary: #5F6D4C;
    --provence-primary-dark: #4F5D3F;

    --provence-brass: #A58F5A;
    --provence-brass-dark: #8A7444;

    --provence-ivory: #F2EDE3;
    --provence-cream: #FFFDF8;
    --provence-background: #F7F4EC;

    --provence-ink: #2F352B;
    --provence-muted: #6E7568;
    --provence-border: #D4DCCF;

    --provence-rose: #F4DDE3;
    --provence-lilac: #CDBBD9;

    --bs-primary: #5F6D4C;
    --bs-primary-rgb: 95, 109, 76;

    --bs-secondary: #8A7444;
    --bs-secondary-rgb: 138, 116, 68;

    --bs-body-bg: #F7F4EC;
    --bs-body-color: #2F352B;

    --bs-link-color: #5F6D4C;
    --bs-link-hover-color: #4F5D3F;

    --bs-border-color: #D4DCCF;
    --bs-border-radius: 0.75rem;
    --bs-border-radius-lg: 1rem;
}

/* Struttura generale */

html {
    background-color: var(--provence-background);
}

body {
    color: var(--provence-ink);
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(217, 228, 209, 0.42),
            transparent 28rem
        ),
        radial-gradient(
            circle at 100% 18%,
            rgba(242, 237, 227, 0.72),
            transparent 32rem
        ),
        var(--provence-background);
}

::selection {
    color: var(--provence-ink);
    background: var(--provence-sage);
}

a {
    color: var(--provence-primary);
    text-decoration-color: rgba(95, 109, 76, 0.35);
}

a:hover,
a:focus {
    color: var(--provence-primary-dark);
}

/* Testi */

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    color: var(--provence-ink);
}

.text-primary {
    color: var(--provence-primary) !important;
}

.text-secondary {
    color: var(--provence-brass-dark) !important;
}

.text-muted {
    color: var(--provence-muted) !important;
}

/* Header e navigazione */

header,
.navbar,
.site-header,
.admin-topbar {
    background-color: rgba(255, 253, 248, 0.96);
    border-color: var(--provence-border);
}

.navbar {
    box-shadow: 0 0.35rem 1.5rem rgba(47, 53, 43, 0.06);
}

.navbar-brand,
.navbar .nav-link {
    color: var(--provence-ink);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: var(--provence-primary);
}

.navbar .nav-link.active {
    text-decoration: underline;
    text-decoration-color: var(--provence-brass);
    text-decoration-thickness: 0.12rem;
    text-underline-offset: 0.45rem;
}

/* Hero */

.hero,
.hero-section,
.home-hero,
.jumbotron {
    color: var(--provence-ink);
    background:
        linear-gradient(
            125deg,
            rgba(242, 237, 227, 0.96),
            rgba(217, 228, 209, 0.88)
        );
    border-color: var(--provence-sage);
}

.hero .lead,
.hero-section .lead,
.home-hero .lead {
    color: var(--provence-muted);
}

/* Pulsanti principali */

.btn-primary {
    --bs-btn-color: #FFFFFF;
    --bs-btn-bg: var(--provence-primary);
    --bs-btn-border-color: var(--provence-primary);

    --bs-btn-hover-color: #FFFFFF;
    --bs-btn-hover-bg: var(--provence-primary-dark);
    --bs-btn-hover-border-color: var(--provence-primary-dark);

    --bs-btn-focus-shadow-rgb: 183, 199, 176;

    --bs-btn-active-color: #FFFFFF;
    --bs-btn-active-bg: var(--provence-primary-dark);
    --bs-btn-active-border-color: var(--provence-primary-dark);

    font-weight: 600;
    letter-spacing: 0.015em;
    box-shadow: 0 0.4rem 1rem rgba(79, 93, 63, 0.16);
}

.btn-outline-primary {
    --bs-btn-color: var(--provence-primary-dark);
    --bs-btn-border-color: var(--provence-primary);

    --bs-btn-hover-color: #FFFFFF;
    --bs-btn-hover-bg: var(--provence-primary);
    --bs-btn-hover-border-color: var(--provence-primary);

    --bs-btn-active-color: #FFFFFF;
    --bs-btn-active-bg: var(--provence-primary-dark);
    --bs-btn-active-border-color: var(--provence-primary-dark);
}

.btn-secondary {
    --bs-btn-color: #FFFFFF;
    --bs-btn-bg: var(--provence-brass-dark);
    --bs-btn-border-color: var(--provence-brass-dark);

    --bs-btn-hover-color: #FFFFFF;
    --bs-btn-hover-bg: #745F36;
    --bs-btn-hover-border-color: #745F36;
}

.btn-outline-secondary {
    --bs-btn-color: var(--provence-brass-dark);
    --bs-btn-border-color: var(--provence-brass);

    --bs-btn-hover-color: #FFFFFF;
    --bs-btn-hover-bg: var(--provence-brass-dark);
    --bs-btn-hover-border-color: var(--provence-brass-dark);
}

/* Card e prodotti */

.card,
.product-card,
.category-card,
.dashboard-card,
.login-card {
    background-color: rgba(255, 253, 248, 0.97);
    border-color: var(--provence-border);
    box-shadow:
        0 0.55rem 1.8rem rgba(47, 53, 43, 0.075);
}

.card:hover,
.product-card:hover,
.category-card:hover {
    border-color: var(--provence-sage);
    box-shadow:
        0 0.8rem 2.2rem rgba(47, 53, 43, 0.11);
}

.card-header {
    color: var(--provence-ink);
    background-color: var(--provence-sage-light);
    border-color: var(--provence-border);
}

.card-footer {
    background-color: rgba(242, 237, 227, 0.65);
    border-color: var(--provence-border);
}

.product-price,
.price {
    color: var(--provence-primary-dark);
    font-weight: 700;
}

/* Badge */

.badge.bg-primary,
.badge-primary {
    color: #FFFFFF;
    background-color: var(--provence-primary) !important;
}

.badge.bg-secondary,
.badge-secondary,
.badge-premium {
    color: #FFFFFF;
    background-color: var(--provence-brass-dark) !important;
}

.badge-floral,
.category-floral {
    color: #624A55;
    background-color: var(--provence-rose);
}

.badge-lavender,
.category-lavender {
    color: #5A4962;
    background-color: var(--provence-lilac);
}

.badge-natural,
.category-natural {
    color: var(--provence-primary-dark);
    background-color: var(--provence-sage-light);
}

/* Form */

.form-control,
.form-select,
.input-group-text {
    color: var(--provence-ink);
    background-color: var(--provence-cream);
    border-color: var(--provence-border);
}

.form-control:focus,
.form-select:focus {
    color: var(--provence-ink);
    background-color: #FFFFFF;
    border-color: var(--provence-primary);
    box-shadow:
        0 0 0 0.22rem rgba(183, 199, 176, 0.38);
}

.form-check-input:checked {
    background-color: var(--provence-primary);
    border-color: var(--provence-primary);
}

/* Tabelle */

.table {
    --bs-table-color: var(--provence-ink);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--provence-border);
    --bs-table-striped-bg: rgba(217, 228, 209, 0.28);
    --bs-table-hover-bg: rgba(183, 199, 176, 0.22);
}

.table thead th {
    color: var(--provence-primary-dark);
    background-color: var(--provence-sage-light);
}

/* Menu amministrativo */

.admin-sidebar,
.sidebar {
    color: #FFFFFF;
    background:
        linear-gradient(
            180deg,
            var(--provence-primary-dark),
            #39462F
        );
}

.admin-sidebar a,
.sidebar a {
    color: rgba(255, 255, 255, 0.82);
}

.admin-sidebar a:hover,
.admin-sidebar a.active,
.sidebar a:hover,
.sidebar a.active {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.12);
}

/* Avvisi */

.alert-success {
    color: #35432C;
    background-color: #E2EBDD;
    border-color: var(--provence-sage);
}

.alert-warning {
    color: #594A29;
    background-color: #F2E8CE;
    border-color: var(--provence-brass);
}

.alert-danger {
    color: #64404A;
    background-color: #F7E3E7;
    border-color: #E7BCC7;
}

/* Dropdown e modali */

.dropdown-menu,
.modal-content,
.offcanvas {
    color: var(--provence-ink);
    background-color: var(--provence-cream);
    border-color: var(--provence-border);
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--provence-primary-dark);
    background-color: var(--provence-sage-light);
}

/* Footer */

footer,
.site-footer {
    color: var(--provence-ink);
    background-color: var(--provence-ivory);
    border-color: var(--provence-border);
}

/* Classi di utilità del tema */

.bg-provence-ivory {
    background-color: var(--provence-ivory) !important;
}

.bg-provence-sage {
    background-color: var(--provence-sage) !important;
}

.bg-provence-sage-light {
    background-color: var(--provence-sage-light) !important;
}

.text-provence-olive {
    color: var(--provence-primary-dark) !important;
}

.text-provence-brass {
    color: var(--provence-brass-dark) !important;
}

.border-provence {
    border-color: var(--provence-border) !important;
}

.provence-divider {
    width: 4.5rem;
    height: 0.15rem;
    margin: 0.8rem auto 1.5rem;
    background:
        linear-gradient(
            90deg,
            transparent,
            var(--provence-brass),
            transparent
        );
    border: 0;
}

/*
|--------------------------------------------------------------------------
| Correzione contrasto footer
|--------------------------------------------------------------------------
*/

footer,
.site-footer {
    color: #2F352B !important;
    background:
        linear-gradient(
            180deg,
            #ECE6DA 0%,
            #E5DED1 100%
        ) !important;
    border-top: 1px solid #D4CBB9 !important;
}

/* Forza la leggibilità di tutti i contenuti testuali */

footer p,
footer span,
footer small,
footer li,
footer address,
footer strong,
.site-footer p,
.site-footer span,
.site-footer small,
.site-footer li,
.site-footer address,
.site-footer strong {
    color: #3E4638 !important;
}

/* Titoli delle colonne */

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer .footer-title,
footer .footer-heading,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.site-footer .footer-title,
.site-footer .footer-heading {
    color: #4F5D3F !important;
    opacity: 1 !important;
}

/* Logo e nome del marchio */

footer .navbar-brand,
footer .brand-copy,
footer .brand-copy strong,
footer .brand-copy small,
.site-footer .navbar-brand,
.site-footer .brand-copy,
.site-footer .brand-copy strong,
.site-footer .brand-copy small {
    color: #33402D !important;
    opacity: 1 !important;
}

footer .brand-mark,
.site-footer .brand-mark {
    color: #FFFFFF !important;
    background-color: #5F6D4C !important;
    box-shadow: 0 0.25rem 0.8rem rgba(47, 53, 43, 0.16);
}

/* Link del footer */

footer a,
.site-footer a {
    color: #536247 !important;
    opacity: 1 !important;
    text-decoration-color: rgba(83, 98, 71, 0.38);
}

footer a:hover,
footer a:focus,
.site-footer a:hover,
.site-footer a:focus {
    color: #35422D !important;
    text-decoration-color: #A58F5A;
}

/* Testi secondari */

footer .text-muted,
footer .footer-copy,
footer .footer-description,
footer .copyright,
footer .legal-copy,
.site-footer .text-muted,
.site-footer .footer-copy,
.site-footer .footer-description,
.site-footer .copyright,
.site-footer .legal-copy {
    color: #687060 !important;
    opacity: 1 !important;
}

/* Separatori */

footer hr,
.site-footer hr {
    border-color: #C9BFAE !important;
    opacity: 1;
}

/* Badge dei pagamenti */

footer .badge,
footer .payment-badge,
.site-footer .badge,
.site-footer .payment-badge {
    color: #35422D !important;
    background-color: #D9E4D1 !important;
    border: 1px solid #B7C7B0 !important;
}

/* Migliore separazione visiva su schermi piccoli */

@media (max-width: 767.98px) {
    footer,
    .site-footer {
        background-color: #E8E1D5 !important;
    }

    footer [class*="col-"],
    .site-footer [class*="col-"] {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

/* Categorie dinamiche */
.category-card-dynamic {
    overflow: hidden;
}

.category-card-dynamic .category-visual {
    color: var(--category-ink);
    background:
        radial-gradient(
            circle at 70% 25%,
            rgba(255, 255, 255, 0.46),
            transparent 34%
        ),
        var(--category-bg);
}

.category-card-dynamic .mini-soap {
    color: var(--category-ink);
    background: rgba(255, 253, 248, 0.48);
    border: 1px solid rgba(47, 53, 43, 0.08);
    box-shadow: 0 0.65rem 1.4rem rgba(47, 53, 43, 0.08);
}

.category-page-hero {
    padding: clamp(4rem, 8vw, 7rem) 0;
    color: var(--category-ink);
    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.34),
            transparent
        ),
        var(--category-bg);
}

.category-page-hero h1,
.category-page-hero p,
.category-page-hero .eyebrow {
    color: var(--category-ink);
}

.category-page-hero h1 {
    max-width: 14ch;
    margin-bottom: 1rem;
}

.category-page-hero p {
    max-width: 48rem;
    margin-bottom: 0;
}

.category-palette {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

.category-palette-option {
    display: block;
    cursor: pointer;
}

.category-palette-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.category-palette-swatch {
    display: flex;
    align-items: center;
    min-height: 3.25rem;
    padding: 0.75rem 0.9rem;
    color: var(--swatch-ink);
    background: var(--swatch);
    border: 2px solid transparent;
    border-radius: 0.8rem;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(47, 53, 43, 0.08);
}

.category-palette-option input:checked + .category-palette-swatch {
    border-color: var(--provence-primary-dark);
    box-shadow:
        0 0 0 0.2rem rgba(183, 199, 176, 0.4),
        inset 0 0 0 1px rgba(47, 53, 43, 0.08);
}

.category-color-dot {
    display: inline-block;
    width: 1.15rem;
    height: 1.15rem;
    margin-right: 0.4rem;
    vertical-align: -0.2rem;
    background: var(--swatch);
    border: 1px solid rgba(47, 53, 43, 0.14);
    border-radius: 50%;
}

.product-import-url {
    min-width: 18rem;
    max-width: 34rem;
    overflow-wrap: anywhere;
}

/* Footer leggibile — override definitivo */
html body footer,
html body .site-footer,
html body .footer-section,
html body .footer-main {
    color: #2F352B !important;
    background:
        linear-gradient(
            180deg,
            #E9E3D8 0%,
            #DED6C8 100%
        ) !important;
    border-top: 1px solid #C9C0B1 !important;
}

html body footer h1,
html body footer h2,
html body footer h3,
html body footer h4,
html body footer h5,
html body footer h6,
html body footer p,
html body footer li,
html body footer span,
html body footer small,
html body footer strong,
html body footer address,
html body .site-footer h1,
html body .site-footer h2,
html body .site-footer h3,
html body .site-footer h4,
html body .site-footer h5,
html body .site-footer h6,
html body .site-footer p,
html body .site-footer li,
html body .site-footer span,
html body .site-footer small,
html body .site-footer strong,
html body .site-footer address {
    color: #374032 !important;
    opacity: 1 !important;
}

html body footer a,
html body .site-footer a {
    color: #4F5D3F !important;
    opacity: 1 !important;
    text-decoration-color: rgba(79, 93, 63, 0.35);
}

html body footer a:hover,
html body footer a:focus,
html body .site-footer a:hover,
html body .site-footer a:focus {
    color: #293323 !important;
    text-decoration-color: #8A7444;
}

html body footer .brand-mark,
html body .site-footer .brand-mark {
    color: #FFFFFF !important;
    background: #5F6D4C !important;
}

html body footer hr,
html body .site-footer hr {
    border-color: #BEB4A3 !important;
    opacity: 1 !important;
}

html body footer .badge,
html body footer .payment-badge,
html body .site-footer .badge,
html body .site-footer .payment-badge {
    color: #2F352B !important;
    background: #D9E4D1 !important;
    border-color: #AEBEA8 !important;
}

/*
|--------------------------------------------------------------------------
| Importatore e catalogo prodotti
|--------------------------------------------------------------------------
*/

.importer-sidebar {
    top: 6.5rem;
}

.import-image-choice {
    display: block;
    cursor: pointer;
}

.import-image-choice > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.import-image-frame {
    display: block;
    overflow: hidden;
    background: #fffdf8;
    border: 2px solid #ded6c8;
    border-radius: 1rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.import-image-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 0.75rem;
    background: #fff;
}

.import-image-frame small {
    display: block;
    padding: 0.65rem 0.75rem;
    color: #4f5d3f;
    font-weight: 700;
    text-align: center;
}

.import-image-choice > input:checked + .import-image-frame {
    border-color: #5f6d4c;
    box-shadow: 0 0 0 0.2rem rgba(183, 199, 176, 0.42);
}

.admin-product-thumb {
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 3.5rem;
    object-fit: contain;
    background: #fff;
    border: 1px solid #ded6c8;
    border-radius: 0.75rem;
}

.product-image-admin-card {
    height: 100%;
    padding: 0.75rem;
    background: #fffdf8;
    border: 1px solid #ded6c8;
    border-radius: 1rem;
}

.product-image-admin-card > img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    border-radius: 0.7rem;
}

.product-catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fffdf8;
    border: 1px solid #e4ddd1;
    border-radius: 1.35rem;
    box-shadow: 0 0.8rem 2rem rgba(47, 53, 43, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-catalog-card:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 1rem 2.5rem rgba(47, 53, 43, 0.11);
}

.product-catalog-image {
    display: block;
    background: #f5f1e8;
}

.product-catalog-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 1rem;
    background: #fff;
}

.product-catalog-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem;
}

.product-catalog-body h2 {
    margin-top: 0.35rem;
}

.product-catalog-body p {
    color: #687060;
}

.product-catalog-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 1rem;
}

.product-price {
    color: #3d4934;
    font-size: 1.3rem;
}

.product-detail {
    background: #fffdf8;
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: #687060;
    font-size: 0.92rem;
}

.product-breadcrumb a {
    color: #4f5d3f;
}

.product-gallery {
    display: grid;
    gap: 1rem;
}

.product-gallery-item {
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4ddd1;
    border-radius: 1.35rem;
}

.product-gallery-item img {
    display: block;
    width: 100%;
    max-height: 42rem;
    object-fit: contain;
    padding: 1.2rem;
}

.product-image-placeholder {
    display: grid;
    min-height: 24rem;
    place-items: center;
    color: #687060;
    background: #f1ece2;
    border-radius: 1.35rem;
}

.product-detail-copy h1 {
    margin-bottom: 1rem;
}

.product-detail-lead {
    color: #596251;
    font-size: 1.16rem;
    line-height: 1.7;
}

.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    margin: 1.5rem 0;
}

.product-detail-price del {
    color: #858b80;
}

.product-detail-price strong {
    color: #3d4934;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.product-meta-line {
    color: #596251;
    font-weight: 700;
}

.product-order-note {
    margin: 1.5rem 0;
    padding: 1rem 1.1rem;
    color: #43503a;
    background: #d9e4d1;
    border: 1px solid #b7c7b0;
    border-radius: 0.9rem;
}

.product-text-section {
    padding-top: 1.5rem;
    border-top: 1px solid #e4ddd1;
}

.product-text-section + .product-text-section {
    margin-top: 1.5rem;
}

.product-text-section h2 {
    font-size: 1.2rem;
}

.product-text-section p {
    white-space: pre-line;
}

@media (max-width: 1199.98px) {
    .importer-sidebar {
        position: static !important;
    }
}

/* browser-importer-faire-v1 */
.browser-importer-steps {
    display: grid;
    gap: .8rem;
    margin: 0 0 1.75rem;
    padding-left: 1.3rem;
}

.browser-importer-steps li {
    padding-left: .25rem;
}

.browser-importer-steps code {
    border: 1px solid rgba(95, 109, 76, .16);
    border-radius: .35rem;
    padding: .1rem .35rem;
    background: #f2ede3;
    color: #4f5d3f;
}

/*
|--------------------------------------------------------------------------
| Magazzino, disponibilità e ordini
|--------------------------------------------------------------------------
*/

.product-catalog-card.is-out-of-stock {
    opacity: .82;
}

.product-catalog-image {
    position: relative;
}

.stock-overlay {
    position: absolute;
    inset: auto .75rem .75rem .75rem;
    z-index: 2;
    display: block;
    padding: .55rem .75rem;
    border-radius: .75rem;
    background: rgba(255, 253, 248, .94);
    color: #4F5D3F;
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 .25rem 1rem rgba(47, 53, 43, .14);
}

.stock-line {
    margin-top: .75rem;
    font-size: .88rem;
    font-weight: 700;
}

.stock-line.is-available,
.product-stock-notice.is-available {
    color: #4F5D3F;
}

.stock-line.is-unavailable,
.product-stock-notice.is-unavailable {
    color: #8A7444;
}

.product-stock-notice {
    display: grid;
    gap: .25rem;
    margin: 1.25rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(95, 109, 76, .22);
    border-radius: 1rem;
    background: #F2EDE3;
}

.product-stock-notice.is-unavailable {
    background: #EFE7DC;
    border-color: rgba(165, 143, 90, .35);
}

.order-history-entry {
    display: grid;
    gap: .15rem;
    padding: .9rem 0;
    border-bottom: 1px solid rgba(95, 109, 76, .16);
}

.order-history-entry:last-child {
    border-bottom: 0;
}

/* MARSIGLIA PRODUCT GALLERY 1.3 START */
.product-gallery-shell {
    position: sticky;
    top: 6.5rem;
}

.product-gallery-main {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(95, 109, 76, 0.18);
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 1.2rem 3rem rgba(47, 53, 43, 0.09);
}

.product-gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
    cursor: zoom-in;
    transform: scale(1);
    transform-origin:
        var(--gallery-origin-x, 50%)
        var(--gallery-origin-y, 50%);
    transition:
        opacity 180ms ease,
        transform 260ms ease;
    will-change: transform;
}

.product-gallery-shell.is-loading .product-gallery-main img {
    opacity: 0.45;
}

.product-gallery-shell.is-zoomed .product-gallery-main img {
    cursor: zoom-out;
    transform: scale(1.65);
}

.product-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-gallery-thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(95, 109, 76, 0.22);
    border-radius: 0.9rem;
    background: #ffffff;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb:focus-visible {
    border-color: #7e8b68;
    box-shadow: 0 0.6rem 1.4rem rgba(47, 53, 43, 0.12);
    transform: translateY(-2px);
}

.product-gallery-thumb:focus-visible {
    outline: 3px solid rgba(165, 143, 90, 0.34);
    outline-offset: 2px;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #ffffff;
}

.product-detail-lead,
.product-text-content {
    white-space: normal;
    line-height: 1.75;
}

.product-text-content {
    color: #42493d;
}

@media (max-width: 991.98px) {
    .product-gallery-shell {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .product-gallery-main {
        border-radius: 1.1rem;
    }

    .product-gallery-thumbnails {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .product-gallery-thumb {
        border-radius: 0.7rem;
    }
}

@media (hover: none), (pointer: coarse) {
    .product-gallery-main img {
        cursor: default;
    }

    .product-gallery-shell.is-zoomed .product-gallery-main img {
        transform: none;
    }
}
/* MARSIGLIA PRODUCT GALLERY 1.3 END */

/* MARSIGLIA BUNDLE 1.0 START */
.bundle-admin-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 30rem), 1fr)
    );
    gap: 1.25rem;
}

.bundle-admin-card {
    border-color: rgba(95, 109, 76, 0.18);
}

.product-bundle-offer {
    margin: 1.25rem 0;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(165, 143, 90, 0.42);
    border-radius: 1rem;
    background:
        linear-gradient(
            135deg,
            rgba(242, 237, 227, 0.96),
            rgba(217, 228, 209, 0.72)
        );
}

.product-bundle-kicker {
    display: block;
    margin-bottom: 0.3rem;
    color: #8a7444;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-bundle-offer strong {
    display: block;
    color: #4f5d3f;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.product-bundle-offer p {
    margin: 0.45rem 0 0;
    color: #42493d;
    line-height: 1.55;
}
/* MARSIGLIA BUNDLE 1.0 END */

/* MARSIGLIA BUNDLE IMPACT 1.1 START */
.product-bundle-offer {
    position: relative;
    margin: 1.5rem 0;
    padding: 1.35rem 1.4rem 1.25rem;
    overflow: hidden;
    border: 2px solid #a64632;
    border-radius: 1.15rem;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 220, 184, 0.72),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #fff7ed 0%,
            #ffe8d6 100%
        );
    box-shadow:
        0 0.8rem 2rem rgba(132, 54, 39, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.product-bundle-offer::after {
    content: "%";
    position: absolute;
    top: -1.15rem;
    right: 0.6rem;
    color: rgba(166, 70, 50, 0.08);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.product-bundle-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: #a64632;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    line-height: 1;
    text-transform: uppercase;
}

.product-bundle-price-line {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.45rem 0.8rem;
}

.product-bundle-price-line strong {
    color: #7d2f22;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.15;
}

.product-bundle-regular-price {
    color: #5f493f;
    font-size: 1rem;
    font-weight: 700;
}

.product-bundle-regular-price del {
    color: #8e2f22;
    font-size: 1.12rem;
    font-weight: 900;
    text-decoration-color: #8e2f22;
    text-decoration-thickness: 2px;
}

.product-bundle-offer p {
    position: relative;
    z-index: 1;
    margin: 0.85rem 0 0;
    color: #403630;
    font-size: 1rem;
    line-height: 1.65;
}

.product-bundle-multiples {
    position: relative;
    z-index: 1;
    margin-top: 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(125, 47, 34, 0.36);
    color: #7d2f22;
    font-weight: 850;
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    .product-bundle-offer {
        padding: 1.15rem;
        border-radius: 1rem;
    }

    .product-bundle-price-line {
        display: block;
    }

    .product-bundle-regular-price {
        display: block;
        margin-top: 0.35rem;
    }
}
/* MARSIGLIA BUNDLE IMPACT 1.1 END */

/* MARSIGLIA PRODUCT DETAIL REORDER 1.0 START */
.product-detail-compact {
    padding-top: 1.25rem;
}

.product-breadcrumb-compact {
    margin-bottom: 0.95rem;
}

.product-detail-copy-compact > .eyebrow {
    margin-bottom: 0.45rem;
}

.product-detail-copy-compact > h1 {
    margin-bottom: 0.45rem;
    line-height: 1.08;
}

.product-meta-line-top {
    margin: 0 0 0.85rem;
    color: #5f6d4c;
    font-size: 0.96rem;
    font-weight: 800;
}

.product-detail-copy-compact .product-detail-lead {
    margin-bottom: 1rem;
}

.product-price-stock-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1rem;
    margin-bottom: 1.15rem;
}

.product-price-stock-row .product-detail-price {
    margin: 0;
}

.product-inline-stock {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.6rem;
    padding: 0.75rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(95, 109, 76, 0.2);
    background: #f4efe5;
    line-height: 1.2;
}

.product-inline-stock.is-available {
    color: #4f5d3f;
    background: #eef3e8;
    border-color: rgba(95, 109, 76, 0.24);
}

.product-inline-stock.is-unavailable {
    color: #8a7444;
    background: #efe7dc;
    border-color: rgba(165, 143, 90, 0.32);
}

.product-inline-stock-state {
    font-weight: 900;
}

.product-inline-stock-qty,
.product-inline-stock-note {
    font-size: 0.9rem;
    font-weight: 700;
}

.product-inline-stock-qty::before,
.product-inline-stock-note::before {
    content: "•";
    margin-right: 0.35rem;
    opacity: 0.65;
}

.product-bundle-offer {
    margin-top: 0;
    margin-bottom: 1rem;
}

.product-order-note {
    margin-top: 0;
}

@media (max-width: 991.98px) {
    .product-detail-compact {
        padding-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .product-breadcrumb-compact {
        margin-bottom: 0.75rem;
    }

    .product-price-stock-row {
        align-items: stretch;
        gap: 0.75rem;
    }

    .product-inline-stock {
        width: 100%;
        justify-content: flex-start;
        border-radius: 1rem;
    }

    .product-inline-stock-qty,
    .product-inline-stock-note {
        display: inline;
    }
}
/* MARSIGLIA PRODUCT DETAIL REORDER 1.0 END */

/* MARSIGLIA PRODUCT FULL DESCRIPTION 1.0 START */
.product-meta-line-top {
    margin: 0 0 0.75rem;
    color: #2f352b;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0;
}

.product-detail-full-copy {
    width: 100%;
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(95, 109, 76, 0.18);
}

.product-text-section-full {
    width: 100%;
    max-width: none;
    margin: 0;
}

.product-text-section-full + .product-text-section-full {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(95, 109, 76, 0.14);
}

.product-text-section-full h2 {
    margin-bottom: 0.7rem;
}

.product-text-section-full .product-text-content {
    width: 100%;
    max-width: none;
    color: #2f352b;
    line-height: 1.78;
}

@media (max-width: 575.98px) {
    .product-detail-full-copy {
        margin-top: 1.1rem;
        padding-top: 1.1rem;
    }
}
/* MARSIGLIA PRODUCT FULL DESCRIPTION 1.0 END */

/* MARSIGLIA ADMIN CHECKS DELETE 1.0 START */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    min-height: 1.35rem;
    padding-left: 0;
}

.form-check .form-check-input {
    float: none !important;
    flex: 0 0 1.15rem !important;
    width: 1.15rem !important;
    min-width: 1.15rem !important;
    max-width: 1.15rem !important;
    height: 1.15rem !important;
    min-height: 1.15rem !important;
    max-height: 1.15rem !important;
    aspect-ratio: 1 / 1;
    margin: 0.16rem 0 0 !important;
    padding: 0 !important;
    border: 1px solid #7e8b68 !important;
    background-color: #ffffff;
    box-sizing: border-box;
    box-shadow: none;
}

.form-check .form-check-input[type="checkbox"] {
    border-radius: 0.25rem !important;
}

.form-check .form-check-input[type="radio"] {
    border-radius: 50% !important;
}

.form-check .form-check-input:checked {
    border-color: #5f6d4c !important;
    background-color: #5f6d4c !important;
}

.form-check .form-check-input:focus {
    border-color: #5f6d4c !important;
    box-shadow: 0 0 0 0.2rem rgba(95, 109, 76, 0.18);
}

.form-check .form-check-label {
    flex: 1 1 auto;
    margin: 0;
    line-height: 1.45;
    cursor: pointer;
}

.product-image-admin-card .form-check {
    align-items: center;
}

.product-publish-status .form-text {
    display: block;
    margin-top: 0.45rem;
    color: #68705f;
    line-height: 1.45;
}

.product-danger-zone {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid rgba(172, 53, 47, 0.35);
    border-radius: 1rem;
    background: #fff7f5;
}

.product-danger-zone > div {
    max-width: 46rem;
}

.product-danger-zone-kicker {
    display: block;
    margin-bottom: 0.25rem;
    color: #9a302b;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.product-danger-zone h2 {
    margin: 0 0 0.35rem;
    color: #7d2622;
    font-size: 1.35rem;
}

.product-danger-zone p {
    margin: 0;
    color: #593f3d;
    line-height: 1.55;
}

.product-danger-zone .btn-danger {
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .product-danger-zone {
        align-items: stretch;
    }

    .product-danger-zone form,
    .product-danger-zone .btn-danger {
        width: 100%;
    }
}
/* MARSIGLIA ADMIN CHECKS DELETE 1.0 END */

/* MARSIGLIA IMPORTS HUB 1.0 START */
.imports-log-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.4rem;
    border-bottom: 1px solid rgba(95, 109, 76, 0.16);
    background: #fffdf8;
}

.imports-total-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2.15rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #e8eee3;
    color: #4f5d3f;
    font-size: 0.85rem;
    font-weight: 800;
}

.imports-empty-state {
    display: grid;
    gap: 0.3rem;
    padding: 2.5rem 1rem;
    color: #68705f;
    text-align: center;
}

.imports-empty-state strong {
    color: #2f352b;
    font-size: 1.05rem;
}

.imports-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(95, 109, 76, 0.16);
    background: #fffdf8;
}

.imports-page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.imports-page-link {
    display: inline-grid;
    place-items: center;
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0 0.45rem;
    border: 1px solid rgba(95, 109, 76, 0.28);
    border-radius: 0.65rem;
    background: #ffffff;
    color: #4f5d3f;
    font-weight: 800;
    text-decoration: none;
}

.imports-page-link:hover,
.imports-page-link:focus-visible {
    border-color: #5f6d4c;
    color: #2f352b;
}

.imports-page-link.is-current {
    border-color: #5f6d4c;
    background: #5f6d4c;
    color: #ffffff;
}

.imports-page-dots {
    min-width: 1.5rem;
    color: #7e8b68;
    text-align: center;
}

.imports-extension-section {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(95, 109, 76, 0.18);
}

.product-import-url {
    min-width: 18rem;
    max-width: 34rem;
}

.product-import-url a {
    display: block;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .imports-pagination {
        justify-content: center;
    }

    .imports-pagination > .btn {
        flex: 1 1 8rem;
    }

    .imports-page-numbers {
        order: -1;
        width: 100%;
    }
}
/* MARSIGLIA IMPORTS HUB 1.0 END */

/* MARSIGLIA BRANDING V2 START */
.marsiglia-brand-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-width: 0;
    line-height: 1 !important;
    text-decoration: none !important;
}

.marsiglia-brand-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.marsiglia-brand-logo--header {
    width: clamp(9rem, 13vw, 12rem);
    max-height: 4.4rem;
}

.marsiglia-brand-logo--footer {
    width: clamp(10rem, 16vw, 14rem);
    max-height: 7rem;
}

.marsiglia-brand-logo--admin {
    width: clamp(7.5rem, 10vw, 10rem);
    max-height: 4.6rem;
}

.marsiglia-brand-logo--login {
    width: clamp(10rem, 24vw, 15rem);
    max-height: 9rem;
    margin-inline: auto;
}

@media (max-width: 767.98px) {
    .marsiglia-brand-logo--header {
        width: 8.25rem;
        max-height: 3.8rem;
    }

    .marsiglia-brand-logo--footer {
        width: 10rem;
        max-height: 6rem;
    }

    .marsiglia-brand-logo--admin {
        width: 7.25rem;
        max-height: 4rem;
    }

    .marsiglia-brand-logo--login {
        width: 11rem;
        max-height: 7rem;
    }
}
/* MARSIGLIA BRANDING V2 END */

/* MARSIGLIA LOGO DIRECT BLADE 1.0 START */
.marsiglia-logo-link,
.marsiglia-footer-logo-link,
.marsiglia-mobile-logo-link,
.marsiglia-login-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    padding: 0;
    line-height: 1;
    text-decoration: none;
}

.marsiglia-logo-image {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

.marsiglia-logo-image--header {
    height: 3.55rem;
}

.marsiglia-logo-image--footer {
    height: 7rem;
}

.marsiglia-logo-image--mobile {
    height: 4.25rem;
}

.marsiglia-logo-image--admin {
    height: 3.6rem;
}

.marsiglia-logo-image--login {
    height: 9rem;
    margin-inline: auto;
}

.marsiglia-footer-logo-link {
    margin-bottom: 1rem;
}

.marsiglia-mobile-logo-link {
    max-width: calc(100% - 3rem);
}

.marsiglia-login-logo-link {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1.25rem;
}

@media (max-width: 767.98px) {
    .marsiglia-logo-image--header {
        height: 3.15rem;
    }

    .marsiglia-logo-image--footer {
        height: 6rem;
    }

    .marsiglia-logo-image--mobile {
        height: 3.75rem;
    }

    .marsiglia-logo-image--admin {
        height: 3.15rem;
    }

    .marsiglia-logo-image--login {
        height: 7.5rem;
    }
}
/* MARSIGLIA LOGO DIRECT BLADE 1.0 END */

/* MARSIGLIA LOGO SIZE AND TRIM 1.0 START */
.marsiglia-logo-link,
.marsiglia-footer-logo-link,
.marsiglia-mobile-logo-link,
.marsiglia-login-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0;
    padding: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.marsiglia-logo-image {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

.site-header .marsiglia-logo-image--header {
    height: 3.75rem !important;
    max-width: 15.5rem !important;
}

.site-footer .marsiglia-logo-image--footer {
    width: 17.5rem !important;
    height: auto !important;
    max-height: 7rem !important;
}

.offcanvas .marsiglia-logo-image--mobile {
    width: 12.5rem !important;
    height: auto !important;
    max-height: 4.75rem !important;
}

.admin-header .marsiglia-logo-image--admin {
    height: 3.65rem !important;
    max-width: 15rem !important;
}

.admin-login-card .marsiglia-logo-image--login {
    width: 20rem !important;
    height: auto !important;
    max-height: 9rem !important;
    margin-inline: auto !important;
}

.marsiglia-footer-logo-link {
    margin-bottom: 1.25rem !important;
}

.marsiglia-login-logo-link {
    justify-content: center !important;
    width: 100% !important;
    margin-bottom: 1.5rem !important;
}

@media (max-width: 767.98px) {
    .site-header .marsiglia-logo-image--header {
        height: 3.25rem !important;
        max-width: 12.5rem !important;
    }

    .site-footer .marsiglia-logo-image--footer {
        width: 15rem !important;
        max-height: 6rem !important;
    }

    .offcanvas .marsiglia-logo-image--mobile {
        width: 11rem !important;
        max-height: 4.25rem !important;
    }

    .admin-header .marsiglia-logo-image--admin {
        height: 3.15rem !important;
        max-width: 12.5rem !important;
    }

    .admin-login-card .marsiglia-logo-image--login {
        width: 16rem !important;
        max-height: 7.5rem !important;
    }
}
/* MARSIGLIA LOGO SIZE AND TRIM 1.0 END */

/* MARSIGLIA INPOST AND OFFICIAL PAYMENTS 1.1 START */
.locker-delivery-row {
    display: grid;
    grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    padding-top: 0.15rem;
}

.locker-delivery-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 7rem;
    padding: 1.05rem 1.4rem;
    background: #ffcc00;
    border: 1px solid rgba(21, 21, 21, 0.12);
    border-radius: 1.2rem;
    box-shadow: 0 0.65rem 1.5rem rgba(43, 52, 40, 0.08);
}

.locker-delivery-logo {
    display: block;
    width: min(100%, 14.5rem);
    height: auto;
    max-height: 5rem;
    object-fit: contain;
}

.locker-delivery-copy strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--provence-ink, #2d392e);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.25;
}

.locker-delivery-copy p {
    max-width: 48rem;
    margin: 0;
    color: var(--provence-muted, #617065);
    font-size: 1rem;
    line-height: 1.7;
}

.payment-logos--official {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.8rem !important;
    margin: 0.4rem 0 1rem !important;
}

.payment-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8rem;
    height: 3.45rem;
    padding: 0.45rem 0.85rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(43, 52, 40, 0.13);
    border-radius: 0.8rem;
    box-shadow: 0 0.35rem 0.95rem rgba(43, 52, 40, 0.07);
}

.payment-brand--bank {
    min-width: 11.2rem;
}

.payment-brand-image {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 2.15rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    object-fit: contain !important;
}

.payment-brand-image--paypal {
    width: 7.2rem !important;
    max-height: 2.45rem !important;
    clip-path: inset(27% 14% 27% 14%);
    transform: scale(1.48);
}

.payment-brand-image--satispay {
    width: 7.7rem !important;
    max-height: 2.15rem !important;
}

.payment-brand-image--bank {
    width: 9.6rem !important;
    max-height: 2.05rem !important;
}

@media (max-width: 767.98px) {
    .locker-delivery-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .locker-delivery-brand {
        justify-content: flex-start;
        min-height: auto;
        padding: 0.95rem 1.15rem;
    }

    .locker-delivery-logo {
        width: 11.5rem;
        max-height: 4rem;
    }

    .payment-brand {
        min-width: 7.25rem;
        height: 3.1rem;
    }

    .payment-brand--bank {
        min-width: 10.2rem;
    }
}
/* MARSIGLIA INPOST AND OFFICIAL PAYMENTS 1.1 END */

/* MARSIGLIA HEADER LOGO FOOTER SIZE 1.0 START */
:root {
    --marsiglia-brand-logo-width: 17.5rem;
}

.site-header .navbar {
    min-height: 8rem;
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
}

.site-header .navbar > .container {
    min-height: 6.7rem;
    align-items: center;
}

.site-header .marsiglia-logo-link {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 var(--marsiglia-brand-logo-width);
    width: var(--marsiglia-brand-logo-width);
    max-width: var(--marsiglia-brand-logo-width);
    margin-right: 1.75rem !important;
    padding: 0 !important;
}

.site-header .marsiglia-logo-image--header,
.site-footer .marsiglia-logo-image--footer {
    display: block !important;
    width: var(--marsiglia-brand-logo-width) !important;
    max-width: var(--marsiglia-brand-logo-width) !important;
    height: auto !important;
    max-height: 7rem !important;
    object-fit: contain !important;
}

.site-header .navbar-collapse {
    align-items: center;
}

@media (max-width: 991.98px) {
    :root {
        --marsiglia-brand-logo-width: 15rem;
    }

    .site-header .navbar {
        min-height: 7rem;
        padding-top: 0.55rem !important;
        padding-bottom: 0.55rem !important;
    }

    .site-header .navbar > .container {
        min-height: 5.8rem;
    }

    .site-header .marsiglia-logo-link {
        margin-right: 0.75rem !important;
    }

    .site-header .marsiglia-logo-image--header {
        max-height: 5.8rem !important;
    }

    .site-footer .marsiglia-logo-image--footer {
        max-height: 6rem !important;
    }
}

@media (max-width: 575.98px) {
    :root {
        --marsiglia-brand-logo-width: 13.5rem;
    }

    .site-header .navbar {
        min-height: 6.5rem;
    }

    .site-header .navbar > .container {
        min-height: 5.35rem;
    }

    .site-header .marsiglia-logo-image--header {
        max-height: 5.25rem !important;
    }
}
/* MARSIGLIA HEADER LOGO FOOTER SIZE 1.0 END */

/* MARSIGLIA LOGHI CLEAN FINAL START */

/*
 * Satispay è il riferimento visivo.
 * Tutti i marchi occupano la stessa area grafica.
 */
:root {
    --marsiglia-logo-box-width: 7.7rem;
    --marsiglia-logo-box-height: 2.15rem;

    --marsiglia-payment-card-width: 9.5rem;
    --marsiglia-payment-card-height: 3.45rem;
}

/* Riquadri PayPal e Satispay identici */
.site-footer
.payment-logos--official
.payment-brand--paypal,
.site-footer
.payment-logos--official
.payment-brand--satispay {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    flex: 0 0 var(--marsiglia-payment-card-width) !important;

    width: var(--marsiglia-payment-card-width) !important;
    min-width: var(--marsiglia-payment-card-width) !important;
    max-width: var(--marsiglia-payment-card-width) !important;

    height: var(--marsiglia-payment-card-height) !important;
    min-height: var(--marsiglia-payment-card-height) !important;
    max-height: var(--marsiglia-payment-card-height) !important;

    padding: 0.45rem 0.85rem !important;
    overflow: hidden !important;
}

/* PayPal: nessuna scala o ritaglio CSS */
.site-footer
.payment-logos--official
.payment-brand--paypal
img.payment-paypal-horizontal {
    display: block !important;

    width: var(--marsiglia-logo-box-width) !important;
    min-width: var(--marsiglia-logo-box-width) !important;
    max-width: var(--marsiglia-logo-box-width) !important;

    height: var(--marsiglia-logo-box-height) !important;
    min-height: var(--marsiglia-logo-box-height) !important;
    max-height: var(--marsiglia-logo-box-height) !important;

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

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

    background: transparent !important;
    box-shadow: none !important;

    object-fit: contain !important;
    object-position: center !important;

    clip-path: none !important;
    transform: none !important;
}

/* Satispay resta nella dimensione corretta */
.site-footer
.payment-logos--official
.payment-brand--satispay
img.payment-brand-image--satispay {
    display: block !important;

    width: var(--marsiglia-logo-box-width) !important;
    min-width: var(--marsiglia-logo-box-width) !important;
    max-width: var(--marsiglia-logo-box-width) !important;

    height: var(--marsiglia-logo-box-height) !important;
    min-height: var(--marsiglia-logo-box-height) !important;
    max-height: var(--marsiglia-logo-box-height) !important;

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

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

    background: transparent !important;
    box-shadow: none !important;

    object-fit: contain !important;
    object-position: center !important;

    clip-path: none !important;
    transform: none !important;
}

/* Colonna InPost della stessa larghezza del badge */
.locker-delivery-row {
    display: grid !important;

    grid-template-columns:
        var(--marsiglia-payment-card-width)
        minmax(0, 1fr) !important;

    align-items: center !important;

    gap: clamp(
        1rem,
        2vw,
        1.6rem
    ) !important;
}

.locker-delivery-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: var(--marsiglia-payment-card-width) !important;
    min-width: var(--marsiglia-payment-card-width) !important;
    max-width: var(--marsiglia-payment-card-width) !important;

    min-height: var(--marsiglia-payment-card-height) !important;

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

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

    background: transparent !important;
    box-shadow: none !important;
}

/* InPost usa la stessa area visiva di Satispay */
.locker-delivery-brand
img.locker-delivery-logo {
    display: block !important;

    width: var(--marsiglia-logo-box-width) !important;
    min-width: var(--marsiglia-logo-box-width) !important;
    max-width: var(--marsiglia-logo-box-width) !important;

    height: var(--marsiglia-logo-box-height) !important;
    min-height: var(--marsiglia-logo-box-height) !important;
    max-height: var(--marsiglia-logo-box-height) !important;

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

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

    background: transparent !important;
    box-shadow: none !important;

    object-fit: contain !important;
    object-position: center !important;

    clip-path: none !important;
    transform: none !important;
}

@media (max-width: 767.98px) {
    :root {
        --marsiglia-logo-box-width: 7rem;
        --marsiglia-logo-box-height: 2rem;

        --marsiglia-payment-card-width: 9rem;
        --marsiglia-payment-card-height: 3.25rem;
    }

    .locker-delivery-row {
        grid-template-columns: 1fr !important;
        gap: 0.9rem !important;
    }

    .locker-delivery-brand {
        justify-content: flex-start !important;
    }
}

/* MARSIGLIA LOGHI CLEAN FINAL END */

/* MARSIGLIA CART PHASE 1 START */
.cart-page {
    background:
        radial-gradient(
            circle at top right,
            rgba(183, 199, 176, 0.18),
            transparent 34rem
        ),
        var(--provence-cream, #f6f2e8);
}

.cart-page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cart-page-heading h1 {
    margin: 0.35rem 0 0;
}

.cart-empty-state {
    max-width: 48rem;
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 4.5rem);
    text-align: center;
    background: #fff;
    border: 1px solid rgba(43, 52, 40, 0.12);
    border-radius: 1.5rem;
    box-shadow: 0 1rem 2.5rem rgba(43, 52, 40, 0.07);
}

.cart-empty-state p {
    margin: 0.75rem auto 1.5rem;
    color: var(--provence-muted, #617065);
}

.cart-lines {
    display: grid;
    gap: 1rem;
}

.cart-line {
    display: grid;
    grid-template-columns:
        8rem
        minmax(0, 1fr)
        minmax(10rem, auto);
    align-items: center;
    gap: 1.25rem;
    padding: 1.15rem;
    background: #fff;
    border: 1px solid rgba(43, 52, 40, 0.12);
    border-radius: 1.25rem;
    box-shadow: 0 0.65rem 1.6rem rgba(43, 52, 40, 0.055);
}

.cart-line-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    overflow: hidden;
    color: var(--provence-muted, #617065);
    text-align: center;
    background: var(--provence-cream, #f6f2e8);
    border-radius: 0.95rem;
}

.cart-line-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-line-category {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--provence-olive, #5f6d4c);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cart-line-copy h2 {
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.cart-line-copy h2 a {
    color: inherit;
    text-decoration: none;
}

.cart-line-unit-price {
    margin-top: 0.5rem;
    color: var(--provence-muted, #617065);
}

.cart-line-bundle {
    display: inline-flex;
    margin-top: 0.55rem;
    padding: 0.3rem 0.55rem;
    color: #365443;
    font-size: 0.78rem;
    font-weight: 700;
    background: #e5efe4;
    border-radius: 999px;
}

.cart-line-controls {
    display: grid;
    justify-items: end;
    gap: 0.65rem;
}

.cart-update-form {
    display: grid;
    justify-items: end;
    gap: 0.45rem;
}

.cart-update-form .form-label {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
}

.cart-quantity-control {
    display: grid;
    grid-template-columns: 2.35rem 3.4rem 2.35rem;
    align-items: stretch;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(43, 52, 40, 0.22);
    border-radius: 0.8rem;
}

.cart-quantity-control button {
    border: 0;
    background: #eef2e9;
    color: #2d392e;
    font-size: 1.15rem;
    font-weight: 800;
}

.cart-quantity-control button:hover,
.cart-quantity-control button:focus-visible {
    background: #dfe8d8;
}

.cart-quantity-control .form-control {
    min-width: 0;
    height: 2.5rem;
    padding: 0.25rem;
    text-align: center;
    border: 0;
    border-right: 1px solid rgba(43, 52, 40, 0.16);
    border-left: 1px solid rgba(43, 52, 40, 0.16);
    border-radius: 0;
    box-shadow: none;
    appearance: textfield;
}

.cart-quantity-control .form-control::-webkit-inner-spin-button,
.cart-quantity-control .form-control::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.cart-line-total {
    font-size: 1.15rem;
}

.cart-remove-button {
    padding: 0;
    color: #8a493f;
    font-size: 0.82rem;
    text-decoration: underline;
    border: 0;
    background: transparent;
}

.cart-summary {
    position: sticky;
    top: 9.5rem;
    padding: 1.4rem;
    background: #fff;
    border: 1px solid rgba(43, 52, 40, 0.12);
    border-radius: 1.35rem;
    box-shadow: 0 1rem 2.5rem rgba(43, 52, 40, 0.075);
}

.cart-summary h2 {
    margin: 0.35rem 0 1.25rem;
}

.cart-summary dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.cart-summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(43, 52, 40, 0.1);
}

.cart-summary dt {
    font-weight: 600;
}

.cart-summary dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.cart-summary-discount {
    color: #39714e;
}

.cart-summary-grand-total {
    align-items: baseline;
    margin-top: 0.2rem;
    border-bottom: 0 !important;
}

.cart-summary-grand-total dt,
.cart-summary-grand-total dd {
    font-size: 1.25rem;
    font-weight: 800;
}

.cart-free-shipping {
    margin: 1rem 0;
    padding: 0.8rem 0.9rem;
    color: #4d5a48;
    font-size: 0.9rem;
    background: #edf1e8;
    border-radius: 0.85rem;
}

.cart-free-shipping.is-reached {
    color: #285d3d;
    background: #e2f1e4;
}

.cart-bundle-results {
    margin: 1rem 0;
    padding: 1rem;
    background: #f4efe2;
    border-radius: 0.9rem;
}

.cart-bundle-results h3 {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
}

.cart-bundle-results ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cart-bundle-results li {
    display: grid;
    gap: 0.15rem;
}

.cart-bundle-results span {
    color: var(--provence-muted, #617065);
    font-size: 0.82rem;
}

.cart-checkout-note {
    margin: 0.75rem 0;
    color: var(--provence-muted, #617065);
    font-size: 0.82rem;
    line-height: 1.5;
}

.cart-continue-link {
    display: block;
    text-align: center;
}

.product-add-cart-form {
    display: flex;
    align-items: end;
    gap: 0.85rem;
    margin-bottom: 0.55rem;
}

.product-add-cart-form .form-label {
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.product-cart-limit {
    display: block;
    color: var(--provence-muted, #617065);
}

@media (max-width: 991.98px) {
    .cart-summary {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .cart-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-line {
        grid-template-columns: 5.75rem minmax(0, 1fr);
        align-items: start;
    }

    .cart-line-controls {
        grid-column: 1 / -1;
        grid-template-columns: 1fr auto;
        align-items: end;
        justify-items: stretch;
        width: 100%;
    }

    .cart-update-form {
        justify-items: start;
    }

    .cart-line-total {
        justify-self: end;
    }

    .cart-line-controls > form:last-child {
        grid-column: 1 / -1;
    }

    .product-add-cart-form {
        align-items: stretch;
        flex-direction: column;
    }
}
/* MARSIGLIA CART PHASE 1 END */

/* MARSIGLIA CART LIVE UPDATE START */

.cart-page.section-space {
    padding-top: clamp(1.5rem, 2.5vw, 2.5rem) !important;
}

.cart-page-heading {
    margin-bottom: 1.5rem !important;
}

.cart-live-status {
    min-height: 1.25rem;
    margin: 0.45rem 0 0;
    color: #55705d;
    font-size: 0.84rem;
    line-height: 1.35;
}

.cart-live-status:empty {
    min-height: 0;
    margin-top: 0;
}

.cart-live-status.is-error {
    color: #9a4038;
}

.cart-line {
    transition:
        opacity 160ms ease,
        transform 160ms ease;
}

.cart-line.is-updating {
    opacity: 0.62;
    transform: scale(0.997);
    pointer-events: none;
}

.cart-update-form {
    display: grid;
    justify-items: end;
    gap: 0.35rem;
}

.cart-quantity-control button:disabled,
.cart-quantity-control input:disabled {
    cursor: wait;
}

@media (max-width: 767.98px) {
    .cart-page.section-space {
        padding-top: 1.25rem !important;
    }

    .cart-update-form {
        justify-items: start;
    }
}

/* MARSIGLIA CART LIVE UPDATE END */

/* MARSIGLIA CART BENEFITS V4 START */

/*
 * Area vantaggi separata visivamente dal totale.
 */
.cart-summary .cart-benefits {
    position: relative;
    margin-top: 1.5rem;
    padding: 1.05rem;
    background: #f7f4ec;
    border: 1px solid #d9d2c2;
    border-top: 4px solid #667d5d;
    border-radius: 1.15rem;
}

.cart-summary .cart-benefits::before {
    content: "";
    position: absolute;
    top: -1.4rem;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(45, 57, 46, 0.22);
}

/*
 * Intestazione generale.
 */
.cart-benefits__heading {
    display: grid;
    gap: 0.15rem;
    padding-bottom: 0.85rem;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(45, 57, 46, 0.14);
}

.cart-benefits__heading span,
.cart-benefits__section-label {
    display: block;
    margin: 0 0 0.38rem;
    color: #72806d;
    font-size: 0.69rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.cart-benefits__heading strong {
    color: #2e4935;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.25;
}

/*
 * Spedizione gratuita.
 */
.cart-summary .cart-free-shipping {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0.95rem 1rem;
    color: #31513a;
    background: #e9f1e7;
    border: 1px solid #c3d5c2;
    border-left: 5px solid #6e8f70;
    border-radius: 0.95rem;
    box-shadow: none;
}

.cart-summary .cart-free-shipping.is-reached {
    color: #204d2f;
    background: #dcefdc;
    border-color: #acd0b0;
    border-left-color: #3f8153;
}

.cart-free-shipping__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
    background: #6e8f70;
    border-radius: 50%;
}

.cart-free-shipping.is-reached
.cart-free-shipping__icon {
    background: #3f8153;
}

.cart-free-shipping__content {
    display: grid;
    gap: 0.16rem;
}

.cart-free-shipping__title {
    color: inherit;
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.25;
}

.cart-free-shipping__detail {
    color: #5b6f5e;
    font-size: 0.79rem;
    line-height: 1.4;
}

.cart-free-shipping__detail b {
    color: #315c3c;
    font-weight: 900;
}

/*
 * Sezione offerte separata dalla spedizione.
 */
.cart-summary .cart-bundle-results {
    margin: 0.95rem 0 0;
    padding: 0.9rem 0 0;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(45, 57, 46, 0.14);
    border-radius: 0;
    box-shadow: none;
}

.cart-summary .cart-bundle-celebration {
    display: block;
    margin: 0 0 0.7rem;
}

.cart-summary .cart-bundle-celebration__icon {
    display: none !important;
}

/*
 * OFFERTE APPLICATE usa lo stesso identico stile
 * di VANTAGGI OTTENUTI e SPEDIZIONE.
 */
.cart-summary .cart-benefits__section-label--offers {
    margin-bottom: 0.25rem;
}

.cart-summary .cart-bundle-results h3 {
    margin: 0;
    color: #2e4935;
    font-size: 1.03rem;
    font-weight: 900;
    line-height: 1.25;
}

.cart-summary .cart-bundle-results h3 strong {
    color: #2e4935;
    font-weight: 900;
}

/*
 * Riquadro offerta con gli stessi colori
 * del riquadro spedizione gratuita.
 */
.cart-summary .cart-bundle-results ul {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cart-summary .cart-bundle-card {
    display: block;
    margin: 0;
    padding: 0.95rem 1rem;
    color: #204d2f;
    background: #dcefdc;
    border: 1px solid #acd0b0;
    border-left: 5px solid #3f8153;
    border-radius: 0.95rem;
    box-shadow: none;
}

.cart-summary .cart-bundle-card__icon,
.cart-summary .cart-bundle-card__meta,
.cart-summary .cart-bundle-card__saving {
    display: none !important;
}

.cart-summary .cart-bundle-card__content {
    display: grid;
    gap: 0.16rem;
}

.cart-summary .cart-bundle-card__title {
    color: #204d2f;
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.25;
}

.cart-summary .cart-bundle-card__offer {
    color: #5b6f5e;
    font-size: 0.79rem;
    line-height: 1.4;
}

/*
 * Spazio prima del pulsante checkout.
 */
.cart-summary .cart-benefits + .btn {
    margin-top: 1.1rem;
}

@media (max-width: 575.98px) {
    .cart-summary .cart-benefits {
        padding: 0.9rem;
    }

    .cart-summary .cart-free-shipping {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 0.85rem;
    }

    .cart-free-shipping__icon {
        width: 2.15rem;
        height: 2.15rem;
    }
}

/* MARSIGLIA CART BENEFITS V4 END */

/* MARSIGLIA CART LABELS ICONS V2 START */

/*
 * Le tre etichette hanno la stessa identica gerarchia:
 * VANTAGGI OTTENUTI, SPEDIZIONE, OFFERTE APPLICATE.
 */
.cart-summary .cart-benefits__heading > span,
.cart-summary .cart-benefits__section-label,
.cart-summary .cart-benefits__section-label--shipping,
.cart-summary .cart-benefits__section-label--offers,
.cart-summary .cart-bundle-results__eyebrow {
    display: block !important;
    margin: 0 0 0.45rem !important;
    color: #72806d !important;
    font-size: 0.82rem !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.11em !important;
    text-transform: uppercase !important;
}

/*
 * Entrambe le spunte hanno dimensione contenuta e identica.
 */
.cart-summary .cart-free-shipping__icon,
.cart-summary .cart-bundle-card__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 24px !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;

    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;

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

    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;

    background: #3f8153 !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}

/*
 * La card offerta riprende la stessa struttura
 * della card spedizione.
 */
.cart-summary .cart-bundle-card {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0.85rem !important;
}

.cart-summary .cart-bundle-card__content {
    display: grid !important;
    min-width: 0 !important;
    gap: 0.16rem !important;
}

/* MARSIGLIA CART LABELS ICONS V2 END */

/* MARSIGLIA CHECKOUT PHASE 2 START */

.checkout-page.section-space,
.order-confirmation-page.section-space {
    padding-top: clamp(1.5rem, 3vw, 3rem);
    background: #f7f4ec;
}

.checkout-heading {
    max-width: 48rem;
    margin-bottom: 2rem;
}

.checkout-heading h1 {
    margin: 0.35rem 0 0.65rem;
}

.checkout-heading p {
    margin: 0;
    color: #657064;
    font-size: 1.02rem;
    line-height: 1.65;
}

.checkout-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.checkout-sections {
    display: grid;
    gap: 1.15rem;
}

.checkout-card,
.order-public-card {
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: #fff;
    border: 1px solid rgba(45, 57, 46, 0.13);
    border-radius: 1.3rem;
    box-shadow: 0 0.8rem 2rem rgba(45, 57, 46, 0.06);
}

.checkout-card__heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.85rem;
    padding-bottom: 1rem;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid rgba(45, 57, 46, 0.11);
}

.checkout-card__heading > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    color: #fff;
    font-weight: 900;
    background: #637b59;
    border-radius: 50%;
}

.checkout-card__heading h2 {
    margin: 0;
    color: #2d3a2e;
    font-size: 1.25rem;
}

.checkout-card__heading p {
    margin: 0.2rem 0 0;
    color: #6a746a;
    font-size: 0.88rem;
}

.checkout-card .form-label {
    color: #344536;
    font-weight: 800;
}

.checkout-card .form-label span {
    color: #7c847c;
    font-size: 0.75rem;
    font-weight: 500;
}

.checkout-card .form-control {
    min-height: 3rem;
    border-color: rgba(45, 57, 46, 0.22);
    border-radius: 0.8rem;
}

.checkout-card textarea.form-control {
    min-height: 7rem;
}

.checkout-card .form-control:focus {
    border-color: #718766;
    box-shadow: 0 0 0 0.2rem rgba(113, 135, 102, 0.14);
}

.checkout-inpost-note {
    display: grid;
    gap: 0.15rem;
    margin-bottom: 1.15rem;
    padding: 0.9rem 1rem;
    color: #31543b;
    background: #e4f0e3;
    border-left: 4px solid #4d855c;
    border-radius: 0.85rem;
}

.checkout-inpost-note strong {
    font-weight: 900;
}

.checkout-inpost-note span {
    color: #5c705f;
    font-size: 0.82rem;
}

.checkout-payment-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.checkout-payment-option {
    position: relative;
    cursor: pointer;
}

.checkout-payment-option > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-payment-card {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0.6rem;
    min-height: 8rem;
    padding: 1rem;
    color: #566056;
    text-align: center;
    background: #fff;
    border: 2px solid #dedfd8;
    border-radius: 1rem;
    transition:
        border-color 150ms ease,
        background 150ms ease,
        transform 150ms ease;
}

.checkout-payment-card img {
    display: block;
    width: auto;
    max-width: 7rem;
    height: 2rem;
    object-fit: contain;
}

.checkout-payment-card > span {
    font-size: 0.78rem;
    font-weight: 700;
}

.checkout-payment-option:hover
.checkout-payment-card {
    transform: translateY(-2px);
    border-color: #aebba8;
}

.checkout-payment-option > input:checked
+ .checkout-payment-card {
    color: #2d5437;
    background: #edf4e9;
    border-color: #567a5e;
    box-shadow: 0 0 0 0.18rem rgba(86, 122, 94, 0.12);
}

.checkout-consents {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.checkout-consents .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
}

.checkout-consents .form-check-input {
    flex: 0 0 auto;
    margin: 0.18rem 0 0;
}

.checkout-summary,
.order-public-summary {
    position: sticky;
    top: 9.5rem;
    padding: 1.4rem;
    background: #fff;
    border: 1px solid rgba(45, 57, 46, 0.14);
    border-radius: 1.3rem;
    box-shadow: 0 1rem 2.5rem rgba(45, 57, 46, 0.08);
}

.checkout-summary h2,
.order-public-summary h2 {
    margin: 0.3rem 0 1.15rem;
}

.checkout-summary__items {
    display: grid;
    gap: 0.7rem;
    padding-bottom: 1rem;
    margin-bottom: 0.4rem;
    border-bottom: 1px solid rgba(45, 57, 46, 0.12);
}

.checkout-summary__item,
.order-public-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.checkout-summary__item > div,
.order-public-item > div {
    display: grid;
    gap: 0.1rem;
}

.checkout-summary__item strong,
.order-public-item strong {
    color: #334236;
    font-size: 0.86rem;
}

.checkout-summary__item span,
.order-public-item span {
    color: #737b73;
    font-size: 0.75rem;
}

.checkout-summary__item b,
.order-public-item b {
    flex: 0 0 auto;
    color: #334236;
    font-size: 0.87rem;
}

.checkout-summary__totals,
.order-public-summary dl {
    display: grid;
    margin: 0;
}

.checkout-summary__totals > div,
.order-public-summary dl > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(45, 57, 46, 0.1);
}

.checkout-summary__totals dt,
.order-public-summary dt {
    font-weight: 600;
}

.checkout-summary__totals dd,
.order-public-summary dd {
    margin: 0;
    font-weight: 800;
    text-align: right;
}

.checkout-summary__totals .is-saving,
.order-public-summary .is-saving {
    color: #3d754c;
}

.checkout-summary__totals .grand-total,
.order-public-summary .grand-total {
    margin-bottom: 0.8rem;
    border-bottom: 0;
}

.checkout-summary__totals .grand-total dt,
.checkout-summary__totals .grand-total dd,
.order-public-summary .grand-total dt,
.order-public-summary .grand-total dd {
    font-size: 1.2rem;
    font-weight: 900;
}

.checkout-summary__offers {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    color: #3f6348;
    background: #e8f1e5;
    border-radius: 0.8rem;
}

.checkout-summary__offers span {
    font-size: 0.76rem;
    font-weight: 800;
}

.checkout-submit-note {
    margin: 0.7rem 0;
    color: #737b73;
    font-size: 0.76rem;
    line-height: 1.5;
    text-align: center;
}

.checkout-back-link {
    display: block;
    text-align: center;
}

.order-confirmation-hero {
    max-width: 52rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.order-confirmation-hero__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: 1.55rem;
    font-weight: 900;
    background: #438158;
    border-radius: 50%;
}

.order-confirmation-hero h1 {
    margin: 0.35rem 0 0.55rem;
}

.order-confirmation-hero p {
    max-width: 42rem;
    margin: 0 auto;
    color: #667066;
    line-height: 1.6;
}

.order-confirmation-number {
    display: inline-grid;
    gap: 0.15rem;
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(45, 57, 46, 0.14);
    border-radius: 0.9rem;
}

.order-confirmation-number span {
    color: #747c74;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-confirmation-number strong {
    color: #2f4534;
    font-size: 1.05rem;
}

.order-public-card + .order-public-card {
    margin-top: 1.15rem;
}

.order-public-card h2 {
    margin: 0 0 1rem;
}

.order-public-items {
    display: grid;
    gap: 0.85rem;
}

.order-public-item {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(45, 57, 46, 0.1);
}

.order-public-offers {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    color: #356043;
    background: #e6f0e3;
    border-radius: 0.9rem;
}

.order-public-offers > span {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-public-offers > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.order-public-delivery {
    padding: 1rem;
    color: #35543d;
    background: #eef3e9;
    border-left: 5px solid #638367;
    border-radius: 0.9rem;
}

.order-public-delivery p {
    margin: 0.65rem 0;
    color: #566458;
}

.order-public-delivery > span {
    color: #6b746c;
    font-size: 0.82rem;
}

.order-public-payment,
.order-public-status {
    display: grid;
    gap: 0.2rem;
    margin: 0.85rem 0;
    padding: 0.9rem;
    background: #f2efe7;
    border-radius: 0.85rem;
}

.order-public-payment > span,
.order-public-status > span {
    color: #73796f;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.order-public-payment strong,
.order-public-status strong {
    color: #354b39;
}

.order-public-payment p {
    margin: 0.35rem 0 0;
    color: #687068;
    font-size: 0.8rem;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .checkout-summary,
    .order-public-summary {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .checkout-payment-options {
        grid-template-columns: 1fr;
    }

    .checkout-payment-card {
        grid-template-columns: 7rem minmax(0, 1fr);
        min-height: 5rem;
        text-align: left;
    }
}

/* MARSIGLIA CHECKOUT PHASE 2 END */

/* MARSIGLIA PAYMENT MANAGEMENT START */

.admin-payment-logo {
    display: block;
    width: auto;
    max-width: 150px;
    height: 42px;
    object-fit: contain;
}

.checkout-payment-card strong {
    display: block;
    color: #304a36;
    font-size: 0.92rem;
    font-weight: 900;
}

.checkout-payment-card > span {
    color: #6c756c;
    font-size: 0.74rem;
    line-height: 1.35;
}

.order-payment-details {
    margin: 0.85rem 0;
    padding: 1rem;
    color: #31513a;
    background: #e9f1e7;
    border: 1px solid #c3d5c2;
    border-left: 5px solid #4a855b;
    border-radius: 0.95rem;
}

.order-payment-details__eyebrow {
    display: block;
    margin-bottom: 0.25rem;
    color: #637564;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.order-payment-details h3 {
    margin: 0 0 0.45rem;
    color: #294b34;
    font-size: 1.08rem;
    font-weight: 900;
}

.order-payment-details__description {
    margin: 0 0 0.85rem;
    color: #607064;
    font-size: 0.82rem;
    line-height: 1.5;
}

.order-payment-details__data {
    display: grid;
    margin: 0;
}

.order-payment-details__data > div {
    display: grid;
    grid-template-columns:
        minmax(7rem, 0.8fr)
        minmax(0, 1.4fr);
    gap: 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(49, 81, 58, 0.12);
}

.order-payment-details__data dt {
    color: #647267;
    font-size: 0.76rem;
    font-weight: 700;
}

.order-payment-details__data dd {
    margin: 0;
    color: #294b34;
    font-size: 0.82rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.order-payment-details .payment-code {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    letter-spacing: 0.02em;
}

.order-payment-details__instructions {
    margin-top: 0.9rem;
    padding: 0.85rem;
    color: #475d4b;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.75rem;
    font-size: 0.82rem;
    line-height: 1.55;
}

.order-payment-confirmation {
    margin-top: 1rem;
    padding: 0.95rem;
    color: #634919;
    background: #fff2d8;
    border: 1px solid #e2c27e;
    border-left: 5px solid #c1882d;
    border-radius: 0.85rem;
}

.order-payment-confirmation > strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #513713;
    font-size: 0.92rem;
    font-weight: 900;
}

.order-payment-confirmation p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.55;
}

.order-payment-confirmation__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

@media (max-width: 575.98px) {
    .order-payment-details__data > div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }
}

/* MARSIGLIA PAYMENT MANAGEMENT END */

/* MARSIGLIA MANUAL PAYMENT FLOW START */

.order-payment-summary {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0.85rem 0;
}

.order-payment-summary > div {
    padding: 0.8rem;
    background: #ffffff;
    border: 1px solid #d2dfd0;
    border-radius: 0.75rem;
}

.order-payment-summary span {
    display: block;
    margin-bottom: 0.2rem;
    color: #6c786e;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.order-payment-summary strong {
    display: block;
    color: #294b34;
    font-size: 1rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.order-payment-summary > div:first-child strong {
    font-size: 1.2rem;
}

.order-payment-method-notice {
    margin-bottom: 0.9rem;
    padding: 0.8rem;
    color: #634919;
    background: #fff2d8;
    border: 1px solid #e2c27e;
    border-radius: 0.75rem;
    font-size: 0.81rem;
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    .order-payment-summary {
        grid-template-columns: 1fr;
    }
}

/* MARSIGLIA MANUAL PAYMENT FLOW END */

/* MARSIGLIA SATISPAY QR START */

.payment-order-number {
    font-weight: 900;
}

.satispay-qr-card {
    margin: 0.9rem 0;
    padding: 1rem;
    text-align: center;
    background: #ffffff;
    border: 1px solid #d2dfd0;
    border-radius: 0.9rem;
}

.satispay-qr-card__eyebrow {
    display: block;
    margin-bottom: 0.75rem;
    color: #607064;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.satispay-qr-card__link {
    display: inline-block;
    text-decoration: none;
}

.satispay-qr-card__image {
    display: block;
    width: min(240px, 100%);
    height: auto;
    margin: 0 auto;
    padding: 0.4rem;
    background: #ffffff;
    border: 1px solid #e1e6df;
    border-radius: 0.75rem;
}

.satispay-qr-card p {
    max-width: 28rem;
    margin: 0.85rem auto 0;
    color: #415647;
    font-size: 0.83rem;
    line-height: 1.55;
}

/* MARSIGLIA SATISPAY QR END */

/* MARSIGLIA PAYPAL EMAIL START */

.paypal-email-panel {
    margin: 1rem 0;
    padding: 1rem;
    background: #f5f8fc;
    border: 1px solid #cbd7e8;
    border-left: 5px solid #1f5fae;
    border-radius: 0.85rem;
}

.paypal-email-panel[hidden] {
    display: none !important;
}

.paypal-email-panel__header {
    margin-bottom: 0.85rem;
}

.paypal-email-panel__header strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #183f73;
    font-size: 0.95rem;
    font-weight: 900;
}

.paypal-email-panel__header span {
    display: block;
    color: #5d6c7f;
    font-size: 0.79rem;
    line-height: 1.5;
}

.paypal-request-card {
    margin: 1rem 0;
    padding: 1rem;
    background: #f5f8fc;
    border: 1px solid #cbd7e8;
    border-left: 5px solid #1f5fae;
    border-radius: 0.85rem;
}

.paypal-request-card__title {
    display: block;
    margin-bottom: 0.65rem;
    color: #183f73;
    font-size: 0.95rem;
    font-weight: 900;
}

.paypal-request-card__email {
    display: block;
    margin: 0.65rem 0;
    padding: 0.75rem;
    color: #143861;
    background: #ffffff;
    border: 1px solid #d3ddea;
    border-radius: 0.65rem;
    font-size: 0.95rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.paypal-request-card p {
    margin: 0.45rem 0 0;
    color: #465a70;
    font-size: 0.82rem;
    line-height: 1.55;
}

/* MARSIGLIA PAYPAL EMAIL END */

/* MARSIGLIA CHECKOUT 48H NOTICE START */

.checkout-reservation-notice {
    margin: 1rem 0 0.85rem;
    padding: 0.9rem 1rem;
    background: #fff8e9;
    border: 1px solid #ead7aa;
    border-left: 4px solid #c29b4a;
    border-radius: 0.75rem;
    color: #604c28;
    font-size: 0.84rem;
    line-height: 1.55;
}

.checkout-reservation-notice strong {
    display: block;
    margin-bottom: 0.22rem;
    color: #70531c;
    font-size: 0.94rem;
    font-weight: 900;
}

.checkout-reservation-notice span {
    display: block;
}

@media (max-width: 640px) {
    .checkout-reservation-notice {
        padding: 0.8rem 0.85rem;
        font-size: 0.8rem;
    }
}

/* MARSIGLIA CHECKOUT 48H NOTICE END */

/* MARSIGLIA TURNSTILE START */

.checkout-turnstile {
    width: 100%;
    min-height: 65px;
    margin: 0.65rem 0 0.9rem;
}

.checkout-turnstile .cf-turnstile {
    width: 100%;
    max-width: 100%;
}

.checkout-turnstile__error {
    margin-top: 0.45rem;
    color: #9b2828;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
}

/* MARSIGLIA TURNSTILE END */

/* MARSIGLIA SALES REPORT STYLES START */

.payment-confirmation-card {
    border: 1px solid rgba(73, 107, 85, 0.28);
    background:
        linear-gradient(
            135deg,
            rgba(246, 248, 246, 0.96),
            rgba(255, 255, 255, 0.98)
        );
}

.payment-confirmation-badge {
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
}

.payment-confirmation-details {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(180px, 1fr)
        );
    gap: 0.75rem;
}

.payment-confirmation-details > div {
    padding: 0.85rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(73, 107, 85, 0.18);
    border-radius: 0.8rem;
}

.payment-confirmation-details small,
.payment-confirmation-details strong {
    display: block;
}

.payment-confirmation-details small {
    margin-bottom: 0.2rem;
    color: #758078;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.report-filter-card {
    border: 1px solid rgba(73, 107, 85, 0.18);
}

.report-note {
    padding: 0.85rem 1rem;
    background: #f6f8f6;
    border-left: 4px solid #657a59;
    border-radius: 0.7rem;
    color: #4c584f;
    font-size: 0.88rem;
    line-height: 1.55;
}

.report-kpi,
.report-operation-card {
    height: 100%;
    padding: 1.1rem;
    background: #ffffff;
    border: 1px solid rgba(73, 107, 85, 0.16);
    border-radius: 0.9rem;
    box-shadow:
        0 0.35rem 1rem
        rgba(49, 58, 48, 0.05);
}

.report-kpi small,
.report-operation-card small {
    display: block;
    margin-bottom: 0.45rem;
    color: #748078;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.report-kpi strong {
    display: block;
    color: #405c49;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.15;
}

.report-operation-card strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #55483e;
    font-size: 1.65rem;
}

.report-operation-card span {
    display: block;
    color: #778078;
    font-size: 0.83rem;
}

.report-bar-row,
.report-product-row {
    margin-bottom: 1rem;
}

.report-bar-row:last-child,
.report-product-row:last-child {
    margin-bottom: 0;
}

.report-bar-label,
.report-product-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.report-bar-label span,
.report-product-row span {
    color: #778078;
    font-size: 0.8rem;
    text-align: right;
}

.report-product-row > div:first-child {
    flex-direction: column;
    gap: 0.1rem;
}

.report-product-row span {
    text-align: left;
}

.report-bar-track {
    height: 0.55rem;
    overflow: hidden;
    background: #e8ede9;
    border-radius: 999px;
}

.report-bar-track span {
    display: block;
    height: 100%;
    min-width: 3%;
    background:
        linear-gradient(
            90deg,
            #657a59,
            #8da080
        );
    border-radius: inherit;
}

@media (max-width: 767px) {
    .report-bar-label {
        display: block;
    }

    .report-bar-label span {
        display: block;
        margin-top: 0.15rem;
        text-align: left;
    }
}

/* MARSIGLIA SALES REPORT STYLES END */

/* MARSIGLIA OPERATIONAL ADMIN START */
.operational-card,
.order-summary-chip {
    display: block;
    height: 100%;
    padding: 1rem;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--provence-border);
    border-radius: .9rem;
    box-shadow:
        0 .35rem 1rem
        rgba(49, 58, 48, .05);
    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.operational-card:hover,
.order-summary-chip:hover {
    color: inherit;
    transform: translateY(-2px);
    box-shadow:
        0 .55rem 1.25rem
        rgba(49, 58, 48, .09);
}

.operational-card small,
.order-summary-chip small,
.mini-operational-stat small {
    display: block;
    color: #748078;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.operational-card strong,
.order-summary-chip strong,
.mini-operational-stat strong {
    display: block;
    margin: .25rem 0;
    color: #405c49;
    font-size: 1.55rem;
    line-height: 1.15;
}

.operational-card span {
    color: #778078;
    font-size: .82rem;
}

.operational-card--warning {
    border-color:
        rgba(204, 151, 45, .45);
    background: #fffaf0;
}

.operational-card--danger,
.order-summary-chip--danger {
    border-color:
        rgba(177, 70, 70, .42);
    background: #fff6f6;
}

.expiry-list-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 0;
    color: inherit;
    text-decoration: none;
    border-bottom:
        1px solid var(--provence-border);
}

.expiry-list-item:last-child {
    border-bottom: 0;
}

.expiry-list-item span {
    display: block;
    color: #778078;
    font-size: .8rem;
}

.mini-operational-stat {
    padding: .85rem;
    background: #f6f8f6;
    border-radius: .8rem;
}

.order-summary-chip {
    padding: .75rem .9rem;
}

.order-summary-chip strong {
    font-size: 1.25rem;
}

.operational-orders-table
.order-row-urgent > * {
    background: #fff8ed;
}

.operational-timeline {
    position: relative;
    padding-left: 1.1rem;
}

.operational-timeline::before {
    position: absolute;
    top: .25rem;
    bottom: .25rem;
    left: .34rem;
    width: 2px;
    content: "";
    background: #dbe3dc;
}

.operational-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1rem 1fr;
    gap: .8rem;
    padding-bottom: 1.15rem;
}

.operational-timeline-item:last-child {
    padding-bottom: 0;
}

.operational-timeline-dot {
    position: relative;
    z-index: 1;
    width: .72rem;
    height: .72rem;
    margin-top: .25rem;
    margin-left: -.99rem;
    background: #657a59;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow:
        0 0 0 2px #657a59;
}

.operational-timeline-item--payment
.operational-timeline-dot {
    background: #2f7b50;
    box-shadow:
        0 0 0 2px #2f7b50;
}

.operational-timeline-item--danger
.operational-timeline-dot {
    background: #b14646;
    box-shadow:
        0 0 0 2px #b14646;
}

.operational-timeline-content {
    padding: .8rem 1rem;
    background: #f8faf8;
    border: 1px solid #e0e6e1;
    border-radius: .8rem;
}

.operational-timeline-content time,
.operational-timeline-content small {
    color: #778078;
    font-size: .78rem;
}

.operational-timeline-content p {
    color: #576159;
    font-size: .9rem;
}

@media (max-width: 767px) {
    .operational-orders-table {
        min-width: 980px;
    }
}
/* MARSIGLIA OPERATIONAL ADMIN END */

/* MARSIGLIA CONTACT PAGE START */

.contact-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 9vw, 8rem) 0;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(255, 255, 255, .48),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #e4dcc9 0%,
            #c8cfb5 55%,
            #aab995 100%
        );
}

.contact-page-hero::after {
    position: absolute;
    right: -7rem;
    bottom: -9rem;
    width: 23rem;
    height: 23rem;
    border: 1px solid rgba(75, 88, 60, .18);
    border-radius: 50%;
    content: "";
}

.contact-page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.contact-page-hero h1 {
    max-width: 700px;
    margin: .8rem 0 1.25rem;
    font-size: clamp(2.7rem, 6vw, 5.2rem);
    line-height: .98;
}

.contact-page-hero p {
    max-width: 680px;
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.45fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.contact-info-column {
    display: grid;
    gap: 1rem;
}

.contact-channel-card,
.contact-help-card,
.contact-form-card,
.contact-faq-card {
    border: 1px solid rgba(70, 82, 55, .12);
    border-radius: 26px;
    box-shadow: 0 22px 60px rgba(61, 69, 48, .08);
}

.contact-channel-card,
.contact-help-card {
    padding: clamp(1.5rem, 3vw, 2.1rem);
    background: #fff;
}

.contact-channel-card:first-child {
    background:
        linear-gradient(
            145deg,
            #5f6d4c,
            #788563
        );
    color: #fff;
}

.contact-channel-card:first-child p {
    color: rgba(255, 255, 255, .78);
}

.contact-channel-card:first-child .btn {
    background: #fff;
    border-color: #fff;
    color: #4f5d3f;
}

.contact-channel-card__label {
    display: inline-block;
    margin-bottom: .75rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-channel-card h2,
.contact-help-card h2 {
    margin-bottom: .8rem;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.contact-channel-card p,
.contact-help-card p {
    line-height: 1.65;
}

.contact-email-link {
    display: inline-block;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.contact-help-card {
    background: #f3eee3;
}

.contact-form-card {
    padding: clamp(1.5rem, 4vw, 3rem);
    background: #fff;
}

.contact-form-card__heading {
    max-width: 650px;
    margin-bottom: 2rem;
}

.contact-form-card__heading h2 {
    margin: .7rem 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.contact-form .form-label {
    margin-bottom: .5rem;
    font-weight: 750;
}

.contact-form .form-label small {
    color: #6f746a;
    font-weight: 500;
}

.contact-form .form-control,
.contact-form .form-select {
    min-height: 54px;
    border-color: rgba(70, 82, 55, .22);
    border-radius: 14px;
    background-color: #fbfaf6;
}

.contact-form textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #687756;
    box-shadow: 0 0 0 .25rem rgba(104, 119, 86, .14);
}

.contact-privacy-check {
    padding: 1rem 1rem 1rem 2.8rem;
    border-radius: 14px;
    background: #f5f1e8;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-faq-section {
    background: #f3eee3;
}

.contact-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-faq-card {
    padding: clamp(1.4rem, 3vw, 2rem);
    background: rgba(255, 255, 255, .76);
}

.contact-faq-card h3 {
    margin-bottom: .75rem;
    font-size: 1.25rem;
}

.contact-faq-card p {
    margin: 0;
    line-height: 1.65;
}

.contact-admin-message {
    white-space: normal;
    line-height: 1.75;
}

@media (max-width: 991.98px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-column {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-help-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .contact-info-column,
    .contact-faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-hero {
        padding: 4rem 0;
    }

    .contact-channel-card,
    .contact-help-card,
    .contact-form-card,
    .contact-faq-card {
        border-radius: 20px;
    }
}

/* MARSIGLIA CONTACT PAGE END */

/* MARSIGLIA CONTACT V2 START */

.contact-page-hero {
    padding:
        clamp(1.75rem, 4vw, 3rem)
        0
        clamp(4.25rem, 8vw, 7rem);
}

.contact-page-hero__content .eyebrow {
    margin-top: 0;
}

.contact-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-width: 160px;
}

.contact-whatsapp-icon {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
}

.contact-turnstile {
    padding: 1rem;
    border: 1px solid rgba(70, 82, 55, .15);
    border-radius: 14px;
    background: #f8f6ef;
}

.contact-turnstile .cf-turnstile {
    width: 100%;
    min-height: 65px;
}

.contact-turnstile__error {
    margin-top: .75rem;
    color: #a62f2f;
    font-size: .9rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .contact-info-column {
        grid-template-columns: 1fr;
    }

    .contact-help-card {
        grid-column: auto;
    }
}

@media (max-width: 767.98px) {
    .contact-page-hero {
        padding:
            1.35rem
            0
            3.5rem;
    }

    .contact-whatsapp-button {
        width: 100%;
    }
}

/* MARSIGLIA CONTACT V2 END */

/* MARSIGLIA FOOTER FINAL START */

.footer-legal-final {
    display: grid;
    grid-template-columns:
        minmax(270px, .75fr)
        minmax(0, 1.6fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
    padding: .25rem 0;
}

.footer-legal-final__company,
.footer-legal-final__info {
    display: flex;
    flex-direction: column;
    gap: .38rem;
    min-width: 0;
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    line-height: 1.55;
}

.footer-legal-final__company {
    align-items: flex-start;
    text-align: left;
}

.footer-legal-final__info {
    align-items: flex-end;
    text-align: right;
}

.footer-legal-final strong {
    color: #ffffff;
    font-weight: 800;
}

.footer-legal-final__rights {
    white-space: nowrap;
}

.footer-legal-final a {
    color: rgba(255, 255, 255, .92);
    font-weight: 700;
    text-decoration: none;
}

.footer-legal-final a:hover,
.footer-legal-final a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 1199.98px) {
    .footer-legal-final {
        grid-template-columns:
            minmax(245px, .7fr)
            minmax(0, 1.5fr);
        gap: 2rem;
    }

    .footer-legal-final__rights {
        white-space: normal;
    }
}

@media (max-width: 767.98px) {
    .footer-legal-final {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .footer-legal-final__info {
        align-items: flex-start;
        padding-top: 1rem;
        border-top:
            1px solid
            rgba(255, 255, 255, .13);
        text-align: left;
    }

    .footer-legal-final__rights {
        white-space: normal;
    }
}

/* MARSIGLIA FOOTER FINAL END */

/* MARSIGLIA PRODUCTS MENU START */

.site-header,
.site-header .navbar,
.site-header .container,
.site-header .navbar-collapse,
.site-header .navbar-nav {
    overflow: visible !important;
}

.products-nav-dropdown {
    position: relative;
}

.products-nav-toggle {
    display: flex;
    align-items: center;
    gap: .45rem;
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.products-nav-chevron {
    width: .48rem;
    height: .48rem;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform:
        translateY(-2px)
        rotate(45deg);
    transition:
        transform .18s ease;
}

.products-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9999;
    display: block;
    min-width: 19rem;
    margin: 0;
    padding: .55rem;
    list-style: none;
    background: #ffffff;
    border:
        1px solid
        rgba(74, 96, 71, .16);
    border-radius: .85rem;
    box-shadow:
        0 1rem 2.5rem
        rgba(40, 58, 42, .18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(.4rem);

    transition:
        opacity .15s ease,
        visibility .15s ease,
        transform .15s ease;
}

/*
 * Piccolo ponte invisibile tra la voce
 * e il sottomenu, così non si chiude
 * spostando il mouse verso il basso.
 */
.products-dropdown-menu::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: .55rem;
}

/*
 * Questa è l'apertura reale al passaggio:
 * non richiede JavaScript.
 */
.products-nav-dropdown:hover
> .products-dropdown-menu,
.products-nav-dropdown:focus-within
> .products-dropdown-menu,
.products-nav-dropdown.is-open
> .products-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.products-nav-dropdown:hover
.products-nav-chevron,
.products-nav-dropdown:focus-within
.products-nav-chevron,
.products-nav-dropdown.is-open
.products-nav-chevron {
    transform:
        translateY(2px)
        rotate(225deg);
}

.products-dropdown-menu li {
    margin: 0;
    padding: 0;
}

.products-dropdown-menu a {
    display: block;
    padding: .78rem .9rem;
    color: #344638;
    border-radius: .58rem;
    font-size: .82rem;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: none;
    white-space: nowrap;
}

.products-dropdown-menu a:hover,
.products-dropdown-menu a:focus {
    color: #26392b;
    background: #edf3e9;
}

.mobile-products-nav {
    list-style: none;
}

.mobile-products-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.mobile-products-toggle::-webkit-details-marker {
    display: none;
}

.mobile-products-toggle::marker {
    content: "";
}

.mobile-products-chevron {
    width: .48rem;
    height: .48rem;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform:
        translateY(-2px)
        rotate(45deg);
}

.mobile-products-nav[open]
.mobile-products-chevron {
    transform:
        translateY(2px)
        rotate(225deg);
}

.mobile-products-submenu {
    display: none;
    margin: .15rem 0 .7rem .35rem;
    padding: .25rem 0 .25rem .9rem;
    list-style: none;
    border-left:
        2px solid
        rgba(95, 109, 76, .22);
}

.mobile-products-nav[open]
> .mobile-products-submenu {
    display: block;
}

.mobile-products-submenu__link {
    padding: .65rem .75rem !important;
    color: #526052;
    border-radius: .5rem;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.35;
}

.mobile-products-submenu__link:hover,
.mobile-products-submenu__link:focus {
    color: #26392b;
    background: #edf3e9;
}

@media (max-width: 991.98px) {
    .products-nav-dropdown {
        display: none !important;
    }
}

/* MARSIGLIA PRODUCTS MENU END */

/* MARSIGLIA PRODUCTS BOLD MOBILE START */

/*
 * La regola precedente "font: inherit"
 * rendeva il pulsante più leggero rispetto
 * agli altri collegamenti della navbar.
 */
.products-nav-toggle {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: inherit !important;
    letter-spacing: inherit;
}

/*
 * Mantiene il titolo in grassetto
 * anche quando il menu è aperto.
 */
.products-nav-dropdown:hover
> .products-nav-toggle,
.products-nav-dropdown:focus-within
> .products-nav-toggle,
.products-nav-dropdown.is-open
> .products-nav-toggle {
    color: inherit !important;
    font-weight: 700 !important;
}

/*
 * Protezione completa per il menu mobile.
 */
@media (max-width: 991.98px) {
    #menuMobile {
        overflow: hidden;
    }

    #menuMobile .offcanvas-body {
        display: block;
        width: 100%;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    #menuMobile .mobile-menu {
        display: block !important;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    #menuMobile .mobile-products-nav {
        display: block !important;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #menuMobile .mobile-products-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding-right: .25rem;
        border: 0;
        background: transparent;
        color: inherit !important;
        font-family: inherit !important;
        font-size: inherit !important;
        font-weight: 700 !important;
        line-height: inherit !important;
        text-align: left;
        cursor: pointer;
    }

    #menuMobile .mobile-products-toggle > span:first-child {
        display: block;
        min-width: 0;
        font-weight: 700 !important;
    }

    #menuMobile .mobile-products-toggle::-webkit-details-marker {
        display: none;
    }

    #menuMobile .mobile-products-toggle::marker {
        content: "";
    }

    #menuMobile .mobile-products-chevron {
        flex: 0 0 auto;
        margin-right: .15rem;
        margin-left: 1rem;
    }

    #menuMobile .mobile-products-submenu {
        display: none;
        width: calc(100% - .35rem);
        min-width: 0;
        max-width: 100%;
        max-height: none;
        margin:
            .25rem
            0
            .85rem
            .35rem;
        padding:
            .25rem
            0
            .25rem
            .85rem;
        overflow: visible;
        list-style: none;
        border-left:
            2px solid
            rgba(95, 109, 76, .22);
    }

    #menuMobile .mobile-products-nav[open]
    > .mobile-products-submenu {
        display: block !important;
    }

    #menuMobile .mobile-products-submenu li {
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    #menuMobile .mobile-products-submenu__link {
        display: block !important;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding:
            .68rem
            .7rem !important;
        color: #526052;
        border-radius: .5rem;
        font-size: .82rem;
        font-weight: 650;
        line-height: 1.4;
        white-space: normal !important;
        overflow-wrap: break-word;
        word-break: normal;
        text-align: left;
    }

    #menuMobile .mobile-products-submenu__link:hover,
    #menuMobile .mobile-products-submenu__link:focus,
    #menuMobile .mobile-products-submenu__link:active {
        color: #26392b;
        background: #edf3e9;
    }
}

/*
 * Telefoni particolarmente stretti.
 */
@media (max-width: 374.98px) {
    #menuMobile .mobile-products-submenu {
        width: 100%;
        margin-left: 0;
        padding-left: .65rem;
    }

    #menuMobile .mobile-products-submenu__link {
        padding-right: .4rem !important;
        padding-left: .6rem !important;
        font-size: .78rem;
    }
}

/* MARSIGLIA PRODUCTS BOLD MOBILE END */

/* MARSIGLIA CART MENU ICON START */

.cart-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .48rem;
}

.cart-button .cart-menu-icon {
    display: inline-block;
    flex: 0 0 auto;
    color: #ffffff !important;
    font-size: .95em;
    line-height: 1;
    vertical-align: middle;
}

.cart-button:hover .cart-menu-icon,
.cart-button:focus .cart-menu-icon,
.cart-button:focus-visible .cart-menu-icon,
.cart-button:active .cart-menu-icon {
    color: #ffffff !important;
}

.cart-button [data-cart-count] {
    margin-left: .08rem;
}

/* MARSIGLIA CART MENU ICON END */

/* MARSIGLIA WHATSAPP ICONS START */

.has-whatsapp-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.has-whatsapp-icon .whatsapp-button-icon {
    display: inline-block;
    flex: 0 0 auto;
    color: currentColor !important;
    font-size: 1.08em;
    line-height: 1;
    vertical-align: middle;
}

.has-whatsapp-icon:hover
.whatsapp-button-icon,
.has-whatsapp-icon:focus
.whatsapp-button-icon,
.has-whatsapp-icon:focus-visible
.whatsapp-button-icon,
.has-whatsapp-icon:active
.whatsapp-button-icon {
    color: currentColor !important;
}

/* MARSIGLIA WHATSAPP ICONS END */

/* MARSIGLIA CONTACT SUBMIT ICON START */

.has-submit-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .55rem;
}

.has-submit-icon .submit-button-icon {
    display: inline-block;
    flex: 0 0 auto;
    color: currentColor !important;
    font-size: .98em;
    line-height: 1;
    vertical-align: middle;
}

.has-submit-icon:hover .submit-button-icon,
.has-submit-icon:focus .submit-button-icon,
.has-submit-icon:focus-visible .submit-button-icon,
.has-submit-icon:active .submit-button-icon {
    color: currentColor !important;
}

/* MARSIGLIA CONTACT SUBMIT ICON END */

/* MARSIGLIA CATALOG PAGINATION V3 START */

.catalog-pager {
    width: 100%;
    max-width: 760px;

    margin:
        2.25rem
        auto
        0;

    padding:
        .95rem
        1.1rem;

    border:
        1px solid
        rgba(95, 109, 76, .17);

    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 24px
        rgba(51, 58, 43, .05);
}


.catalog-pager__summary {
    display: flex;
    flex-wrap: wrap;

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

    gap:
        .25rem
        1rem;

    margin-bottom: .85rem;

    color: #69705f;

    font-family: inherit;
    font-size: .88rem;
    font-weight: 400;
    line-height: 1.4;

    text-align: center;
}


.catalog-pager__summary strong {
    color: #30382a;
    font-weight: 700;
}


.catalog-pager__page-info {
    color: #7b806f;
}


.catalog-pager__nav {
    display: block;

    width: 100%;
    margin: 0;
    padding: 0;
}


.catalog-pager__row {
    display: flex;

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

    gap: .55rem;

    width: 100%;

    margin: 0;
    padding: 0;
}


.catalog-pager__pages {
    display: flex;

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

    gap: .35rem;

    margin: 0;
    padding: 0;
}


.catalog-pager__direction,
.catalog-pager__page {
    box-sizing: border-box;

    display: inline-flex;

    flex:
        0
        0
        auto;

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

    margin: 0;

    border:
        1px solid
        rgba(95, 109, 76, .24);

    background: #ffffff;
    color: #566346;

    font-family: inherit;
    font-style: normal;
    font-weight: 700;

    line-height: 1;

    text-decoration: none !important;

    overflow: hidden;
}


.catalog-pager__direction {
    gap: .4rem;

    min-width: 7.3rem;
    height: 2.55rem;

    padding:
        0
        .85rem;

    border-radius: 999px;

    font-size: .84rem;
}


.catalog-pager__page {
    width: 2.45rem;
    height: 2.45rem;

    padding: 0;

    border-radius: 50%;

    font-size: .86rem;
}


.catalog-pager__arrow {
    display: inline !important;

    width: auto !important;
    height: auto !important;

    min-width: 0 !important;
    min-height: 0 !important;

    max-width: none !important;
    max-height: none !important;

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

    color: inherit;

    font-family:
        Arial,
        Helvetica,
        sans-serif !important;

    font-size: .95rem !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    transform: none !important;
}


.catalog-pager__page.is-current {
    border-color: #5f6d4c;

    background: #5f6d4c;
    color: #ffffff;
}


.catalog-pager__direction.is-disabled {
    border-color:
        rgba(95, 109, 76, .10);

    background: #faf9f6;
    color: #abb0a3;

    cursor: default;
}


.catalog-pager__dots {
    display: inline-flex;

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

    width: 1.25rem;
    height: 2.45rem;

    color: #818777;

    font-size: .88rem;
    font-weight: 700;
    line-height: 1;
}


a.catalog-pager__direction:hover,
a.catalog-pager__page:hover {
    border-color: #5f6d4c;

    background: #f3f1e8;
    color: #455437;
}


.catalog-pager__page.is-current:hover {
    background: #5f6d4c;
    color: #ffffff;
}


.catalog-pager__direction:focus-visible,
.catalog-pager__page:focus-visible {
    outline:
        3px solid
        rgba(95, 109, 76, .20);

    outline-offset: 2px;
}


/*
 * Difesa ulteriore:
 * il nostro componente non contiene SVG,
 * ma un eventuale SVG ereditato non potrà
 * comunque diventare gigantesco.
 */
.catalog-pager svg {
    display: inline-block !important;

    width: .95rem !important;
    height: .95rem !important;

    min-width: .95rem !important;
    min-height: .95rem !important;

    max-width: .95rem !important;
    max-height: .95rem !important;
}


@media (max-width: 767.98px) {

    .catalog-pager {
        margin-top: 1.6rem;

        padding:
            .85rem
            .65rem;
    }


    .catalog-pager__summary {
        flex-direction: column;

        gap: .2rem;

        margin-bottom: .75rem;

        font-size: .84rem;
    }


    .catalog-pager__row {
        flex-wrap: wrap;

        gap: .5rem;
    }


    .catalog-pager__pages {
        order: 1;

        width: 100%;
    }


    .catalog-pager__direction {
        order: 2;

        min-width: 7rem;
        height: 2.45rem;

        padding:
            0
            .72rem;

        font-size: .8rem;
    }


    .catalog-pager__page {
        width: 2.35rem;
        height: 2.35rem;

        font-size: .83rem;
    }


    .catalog-pager__dots {
        height: 2.35rem;
    }
}


@media (max-width: 374.98px) {

    .catalog-pager__direction {
        min-width: 6.5rem;

        padding:
            0
            .58rem;

        font-size: .76rem;
    }


    .catalog-pager__page {
        width: 2.25rem;
        height: 2.25rem;
    }
}

/* MARSIGLIA CATALOG PAGINATION V3 END */

/* MARSIGLIA MOBILE QUANTITY FIX START */

/*
|--------------------------------------------------------------------------
| Scheda prodotto — stepper quantità mobile
|--------------------------------------------------------------------------
|
| Il controllo contiene già:
|
|     [ - ] [ quantità ] [ + ]
|
| Quindi:
| - rendiamo compatto il CONTENITORE;
| - eliminiamo lo spazio bianco residuo;
| - nascondiamo gli spinner nativi del browser;
| - lasciamo visibili soltanto i nostri - e +.
|
*/

@media (max-width: 767.98px) {

    /*
     * Identifica il contenitore IMMEDIATO
     * del campo quantity.
     *
     * Il :has(> input...) evita di colpire
     * tutti gli antenati del form.
     */
    main
    form[action*="/carrello/"]
    :has(> input[type="number"][name="quantity"]) {

        box-sizing: border-box !important;

        display: inline-grid !important;

        grid-template-columns:
            3rem
            4.5rem
            3rem !important;

        width: 10.5rem !important;
        min-width: 10.5rem !important;
        max-width: 10.5rem !important;

        flex:
            0
            0
            10.5rem !important;

        align-items: stretch !important;

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

        overflow: hidden !important;

        border-radius: 1rem !important;
    }


    /*
     * Input centrale.
     */
    main
    form[action*="/carrello/"]
    :has(> input[type="number"][name="quantity"])
    > input[type="number"][name="quantity"] {

        box-sizing: border-box !important;

        display: block !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        height: 3rem !important;
        min-height: 3rem !important;

        flex: none !important;

        margin: 0 !important;
        padding: 0 .25rem !important;

        border-radius: 0 !important;

        text-align: center !important;

        font-size: 1rem !important;
        line-height: 3rem !important;

        /*
         * Abbiamo già - e + personalizzati:
         * niente spinner nativi.
         */
        appearance: textfield;
        -moz-appearance: textfield;
    }


    /*
     * Pulsanti − e +.
     */
    main
    form[action*="/carrello/"]
    :has(> input[type="number"][name="quantity"])
    > button {

        box-sizing: border-box !important;

        width: 3rem !important;
        min-width: 3rem !important;
        max-width: 3rem !important;

        height: 3rem !important;
        min-height: 3rem !important;

        flex:
            0
            0
            3rem !important;

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

        display: flex !important;

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

        font-size: 1.3rem !important;
        line-height: 1 !important;
    }


    /*
     * Chrome / Safari / iPhone:
     * rimuove le frecce native.
     */
    main
    form[action*="/carrello/"]
    input[type="number"][name="quantity"]
    ::-webkit-inner-spin-button,

    main
    form[action*="/carrello/"]
    input[type="number"][name="quantity"]
    ::-webkit-outer-spin-button {
        -webkit-appearance: none;
        appearance: none;
        margin: 0;
    }


    /*
     * Variante corretta senza spazio
     * prima dello pseudo-elemento.
     */
    main
    form[action*="/carrello/"]
    input[type="number"][name="quantity"]::-webkit-inner-spin-button,

    main
    form[action*="/carrello/"]
    input[type="number"][name="quantity"]::-webkit-outer-spin-button {
        -webkit-appearance: none !important;
        appearance: none !important;
        margin: 0 !important;
    }
}

/* MARSIGLIA MOBILE QUANTITY FIX END */

/* MARSIGLIA CATEGORY QUICK CART V2 START */

.catalog-promo-banner {
    display: grid;
    gap: 0.22rem;
    margin-top: 0.9rem;
    padding: 0.78rem 0.9rem;
    color: #30382a;
    background:
        linear-gradient(
            135deg,
            rgba(217, 228, 209, 0.78),
            rgba(239, 231, 220, 0.72)
        );
    border: 1px solid rgba(95, 109, 76, 0.25);
    border-radius: 0.9rem;
}

.catalog-promo-banner__kicker {
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-promo-banner__price {
    font-size: 0.98rem;
    line-height: 1.3;
}

.catalog-promo-banner__note {
    font-size: 0.77rem;
    line-height: 1.35;
    opacity: 0.84;
}

.product-catalog-footer {
    position: relative;
    z-index: 2;
    width: 100%;
}

.catalog-quick-cart {
    display: grid;
    grid-template-columns:
        max-content
        minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    margin-top: 0.25rem;
}

.catalog-quantity-control {
    width: auto;
    max-width: 100%;
}

.catalog-add-button {
    min-height: 2.5rem;
    padding: 0.45rem 0.85rem;
    white-space: nowrap;
}

.catalog-quick-cart-feedback {
    grid-column: 1 / -1;
    min-height: 1.05rem;
    margin-top: -0.2rem;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.3;
}

.catalog-quick-cart-feedback.is-success {
    color: #4f623d;
}

.catalog-quick-cart-feedback.is-error {
    color: #9d3d32;
}

.catalog-cart-maxed {
    margin-top: 0.25rem;
    color: #596251;
    font-size: 0.78rem;
    font-weight: 700;
}

.product-catalog-detail-link {
    position: relative;
    z-index: 2;
    display: inline-block;
    color: #4f5d3f;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.product-catalog-detail-link:hover,
.product-catalog-detail-link:focus-visible {
    color: #34422d;
}

@media (max-width: 575.98px) {

    .catalog-quick-cart {
        grid-template-columns:
            minmax(0, auto)
            minmax(7rem, 1fr);
    }

    .catalog-add-button {
        min-height: 3rem;
    }
}

/* MARSIGLIA CATEGORY QUICK CART V2 END */
