:root {
    --classic-primary: #7d8b99;
    --template-color: #7d8b99;
    --template-bg: #ffffff;
    --template-text: #333333;
    --template-secondary: #f4f4f4;
    --secondary-color: #f4f4f4;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Open Sans", "Raleway", sans-serif;
    background: var(--template-bg);
    color: var(--template-text);
    overflow-x: hidden;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

img {
    align-self: center;
    max-width: 100%;
    width: 350px;
}

#footer-templates img {
    width: auto;
}

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

h1, .h1, h2, .h2, h3, .h3 {
    font-weight: 700;
}

.classic-loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.bg-free-template-gray {
    background-color: #7d8b99 !important;
}

.bg-free-template-green {
    background-color: #8c997d !important;
}

.bg-free-template-red {
    background-color: #88352c !important;
}

.bg-free-template-purple {
    background-color: #947d99 !important;
}

.bg-free-template-gold {
    background-color: #c9ab81 !important;
}

.border-free-template-gray {
    border: 1px solid #7d8b99 !important;
}

.border-free-template-green {
    border: 1px solid #8c997d !important;
}

.border-free-template-red {
    border: 1px solid #88352c !important;
}

.border-free-template-purple {
    border: 1px solid #947d99 !important;
}

.border-free-template-gold {
    border: 1px solid #c9ab81 !important;
}

.classic-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-top {
    padding: 1rem 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-right {
    position: relative;
}

.header-logo {
    max-height: 75px;
    max-width: 75px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.desktop-menu {
    display: none;
}

.desktop-menu ul,
.menu-list,
#footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.desktop-menu ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.desktop-menu .menu-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

.desktop-menu .menu-link:hover,
.desktop-menu .menu-link:active {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.lang-selector {
    position: relative;
}

.lang-toggle {
    background: none;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lang-toggle:hover {
    opacity: 0.7;
}

.flag-icon {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: cover;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 150px;
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
}

.lang-option {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 0;
    border-radius: 4px;
    background: transparent;
    padding: 0.75rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.lang-option:hover {
    background: #f0f0f0;
}

.share-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: white;
    padding: 0.5rem;
    transition: all 0.2s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.header-action-icon,
.order-icon-header,
.hamburger-icon {
    display: block;
    line-height: 1;
    color: white;
}

.header-action-icon {
    font-size: 1.45rem;
}

.share-btn:hover {
    opacity: 0.85;
    transform: scale(1.1);
}

.share-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    padding: 1rem;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-options {
    display: flex;
    gap: 0.75rem;
}

.share-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f0f0f0;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-option:hover {
    transform: translateY(-2px);
}

.share-option.whatsapp {
    background: #25d366;
    color: white;
}

.share-option.telegram {
    background: #0088cc;
    color: white;
}

.share-option.facebook {
    background: #1877f2;
    color: white;
}

.share-option.copy {
    background: var(--classic-primary);
    color: white;
}

.order-header-icon {
    position: relative;
}

.order-header-icon .order-icon-header {
    font-size: 1.75rem;
}

.product-counter {
    position: absolute;
    top: -6px;
    right: -6px;
    background: red;
    color: white;
    border-radius: 50%;
    padding: 0 6px;
    font-size: 0.65rem;
    display: flex !important;
    height: 18px;
    min-width: 18px;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.hamburger {
    background: none;
    border: none;
    display: inline-flex;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.hamburger-icon {
    font-size: 2rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.active .hamburger-icon {
    transform: scale(1.04);
}

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

.hamburger:focus {
    outline: 2px solid var(--classic-primary);
    outline-offset: 3px;
    border-radius: 6px;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background: color-mix(in srgb, var(--classic-primary), transparent 5%);
    z-index: 1200;
    overflow-y: auto;
}

.menu-close {
    display: block;
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    margin-bottom: 2rem;
}

.menu-list {
    margin-top: 0;
}

.menu-list li {
    margin-bottom: 1rem;
}

.mobile-menu .menu-link {
    display: block;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.classic-hero {
    height: clamp(320px, 56vh, 540px);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), transparent);
    overflow: hidden;
}

#hero-section,
.hero-section {
    height: 60vh !important;
    min-height: 60vh !important;
    background: linear-gradient(135deg, var(--classic-primary) 0%, rgba(0, 0, 0, 0.3) 100%) !important;
    overflow: hidden !important;
}

.classic-hero #carouselControls,
.classic-hero .carousel-inner,
.classic-hero .carousel-item {
    height: 100%;
}

.classic-hero .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: auto;
    opacity: 1;
    padding: 0 1rem;
}

.carousel-control-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(60, 45, 31, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-control-icon i {
    font-size: 2.15rem;
    line-height: 1;
}

.carousel-control-prev:hover .carousel-control-icon,
.carousel-control-next:hover .carousel-control-icon {
    transform: scale(1.04);
    background: rgba(60, 45, 31, 0.34);
}

.classic-about {
background: white;
}

.classic-about h1 {
    font-weight: 700;
    letter-spacing: -1px;
}

.classic-about p:last-child {
    margin-bottom: 0;
}

.classic-category-col {
    width: 100%;
    margin-bottom: 1rem;
}

.classic-category-card {
    background-color: #ffffff !important;
    gap: 1rem;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.classic-category-card:hover {
    transform: translateY(-4px);
    border-color: var(--classic-primary) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

.classic-category-toggle {
    cursor: pointer;
}

.classic-category-toggle[aria-expanded="true"] .category-toggle-arrow {
    transform: rotate(180deg);
}

.classic-category-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.category-toggle-arrow {
    transition: transform 0.3s ease;
}

.classic-category-card.is-open .category-toggle-arrow {
    transform: rotate(180deg);
}

.classic-category-body {
    display: none;
    margin-top: 1rem;
}

.classic-category-card.is-open .classic-category-body {
    display: block;
}

.products-list .product-item > .d-flex {
    align-items: flex-start;
}

.products-list .product-item .flex-grow-1.d-flex {
    width: 100%;
    align-items: flex-start;
    gap: 1rem;
}

.products-list .product-item .flex-grow-1.d-flex > div {
    flex: 1 1 75%;
}

.product-content {
    width: 100%;
    min-width: 0;
}

.product-description > :last-child {
    margin-bottom: 0;
}

.product-item {
    background-color: #f5f5f5 !important;
    border: none !important;
    border-radius: 1rem !important;
    box-shadow: none !important;
}

.border-radius-xl {
    border-radius: 1rem !important;
}

.classic-product-image {
    object-fit: cover;
    flex-shrink: 0;
}

.products-list .product-item .flex-grow-1.d-flex .classic-product-image {
    object-fit: cover;
    flex-shrink: 0;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 0.35rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 0.75rem;
    font-weight: 500;
}

.product-tags {
    margin-top: 0.4rem !important;
}

.product-tag i {
    font-size: 0.7rem;
}

.product-price-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem !important;
}

.product-price-badges .badge {
    display: inline-flex;
    align-items: center;
    width: auto !important;
    max-width: max-content;
    white-space: nowrap;
    color: #ffffff;
}

.product-action-row {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.btn-add-to-cart {
    border: 0;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    background: var(--classic-primary);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-add-to-cart:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.btn-add-to-cart:active {
    transform: scale(0.95);
}

.classic-family .bg-light {
    background-color: #ffffff !important;
}

/* Hours Section */
.classic-hours table {
    background: #ffffff;
    width: 100%;
    table-layout: auto;
}

.classic-hours table th {
    font-weight: 600;
    white-space: nowrap;
    min-width: 100px;
}

.classic-hours table td {
    white-space: nowrap;
    flex-shrink: 0;
}

.classic-hours table tbody tr {
    display: flex;
    gap: 0;
}

.classic-hours table tbody tr:hover {
    background: #f5f5f5 !important;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 991.98px) {
    .classic-hours .table-responsive {
        overflow-x: visible;
    }

    .classic-hours table {
        display: block;
        border: none;
    }

    .classic-hours table tbody {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }

    .classic-hours table tbody tr {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        overflow: hidden;
        margin: 0;
    }

    .classic-hours table tbody tr:hover {
        background: #ffffff !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .classic-hours table th {
        display: block;
        width: 100%;
        background-color: var(--classic-primary);
        color: #ffffff;
        padding: 1rem !important;
        text-align: center;
        border-radius: 8px 8px 0 0;
        margin: 0;
    }

    .classic-hours table td {
        display: block;
        width: 100%;
        background: #f5f5f5;
        padding: 1rem !important;
        text-align: center;
        white-space: normal;
        border-radius: 0;
        margin: 0;
    }

    .classic-hours table td.empty-cell {
        display: none;
    }

    .classic-hours table td:last-child:not(.empty-cell),
    .classic-hours table td:last-of-type:not(.empty-cell) {
        border-radius: 0 0 8px 8px;
    }
}

@media (min-width: 992px) {
    .classic-hours .table-responsive {
        overflow-x: visible;
    }

    .classic-hours table {
        display: table;
    }

    .classic-hours table tbody tr {
        display: table-row;
    }

    .classic-hours table th,
    .classic-hours table td {
        display: table-cell;
        min-width: auto;
        flex-shrink: 1;
    }

    .classic-hours table th {
        flex: 0 0 auto;
        min-width: 120px;
    }

    .classic-hours table td {
        flex: 1;
        min-width: 0;
    }
}

.classic-contact {
    background: #f9f9f9;
}

@media (max-width: 991px) {
    .classic-contact .row {
        flex-direction: column;
    }

    .classic-contact .col-12.col-lg-6:first-child {
        order: -1;
    }
}

.contact-info h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info {
    height: 100%;
}

.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    padding-left: 1rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2) !important;
}

.social-link-circle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.social-link-circle-icon {
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (min-width: 992px) {
    .row.gap-4 {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        align-items: stretch !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .row.gap-4 > .col-lg-6,
    .row.gap-4 > .col-12.col-lg-6 {
        box-sizing: border-box !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        margin: 0 !important;
    }
}

@media (min-width: 992px) {
    .row.gap-4 > .col-lg-6 {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .row.gap-4 > .col-lg-6:first-child {
        flex: 1 1 auto;
    }

    .row.gap-4 > .col-lg-6:first-child .ratio,
    .row.gap-4 > .col-lg-6:first-child .ratio.ratio-16x9 {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
        padding-bottom: 0 !important;
        overflow: hidden;
    }

    .row.gap-4 > .col-lg-6:first-child .ratio iframe,
    .row.gap-4 > .col-lg-6:first-child .ratio.ratio-16x9 iframe {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
}

#mapDiv {
    min-height: 400px !important;
}

.ratio iframe {
    min-height: 400px !important;
}

.classic-contact .col-12.col-lg-6:has(.ratio) {
    min-height: 400px;
}

.classic-footer {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
    background: var(--classic-primary);
    color: #ffffff;
}

.classic-footer h5 {
    font-family: "DM Sans", sans-serif;
    font-weight: 700;
}

.classic-bottom-nav {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.bottom-nav-item {
    position: relative;
    overflow: visible;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: #666;
    transition: all 0.3s ease;
}

.bottom-nav-item p {
    margin: 0;
    font-size: 0.7rem;
    margin-top: 0.25rem;
}

.bottom-nav-item:hover {
    background: rgba(0, 0, 0, 0.02);
    color: var(--classic-primary) !important;
    border-bottom-color: var(--classic-primary);
}

.classic-bottom-nav .bottom-nav-inner > .bottom-nav-item:hover,
.classic-bottom-nav .bottom-nav-inner > button.bottom-nav-item:hover {
    background: rgba(0, 0, 0, 0.02);
    color: var(--classic-primary) !important;
    border-bottom: 2px solid var(--classic-primary);
}

.classic-bottom-nav .bottom-nav-inner {
    display: flex;
    align-items: center;
    height: 60px;
}

.classic-bottom-nav .bottom-nav-inner > * {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    min-width: 0;
    text-align: center;
}

.classic-bottom-nav .bottom-nav-inner p {
    margin: 0;
    font-size: 0.7rem;
    margin-top: 0.25rem;
}

.classic-bottom-nav .bottom-nav-inner > button.bottom-nav-item {
    background: transparent;
    border-left: 0;
    border-right: 0;
    border-top: 0;
}

.cart-preview,
.cart-preview-res {
    position: fixed;
    inset: 0;
    z-index: 1600;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.58);
}

.show-cart-preview,
.show-cart-preview-res {
    display: block !important;
}

.hide-cart-preview,
.hide-cart-preview-res {
    display: none !important;
}

#cart-preview-res {
    opacity: 0;
}

#cart-preview-res > .container {
    transform: translateX(-48px);
    opacity: 0;
    will-change: transform, opacity;
}

#cart-preview-res.show-cart-preview-res {
    animation: reservationModalOverlayIn 0.32s ease-out forwards;
}

#cart-preview-res.show-cart-preview-res > .container {
    animation: reservationModalPanelIn 0.32s ease-out forwards;
}

#cart-preview-res.is-closing {
    display: block !important;
    animation: reservationModalOverlayOut 0.32s ease-out forwards;
}

#cart-preview-res.is-closing > .container {
    animation: reservationModalPanelOut 0.32s ease-out forwards;
}

@keyframes reservationModalOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes reservationModalOverlayOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes reservationModalPanelIn {
    from {
        transform: translateX(-48px);
        opacity: 0;
    }

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

@keyframes reservationModalPanelOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-48px);
        opacity: 0;
    }
}

.btn-close-x {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
}

.order-form-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.delivery-switch,
.step-switch {
    background: #eef2f7;
    border-radius: 999px;
    padding: 0.3rem;
}

#slider,
#step-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    border-radius: 999px;
    background: var(--classic-primary);
    transition: transform 0.25s ease, width 0.25s ease;
}

.switch-btn,
.step-btn {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font-weight: 700;
    color: #64748b;
}

.switch-btn.active,
.step-btn.active {
    color: #ffffff;
}

.reservation-step.active {
    animation: reservationStepEnter 0.32s ease-out;
}

@keyframes reservationStepEnter {
    from {
        opacity: 0;
        transform: translateX(-28px);
    }

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

.switch-section.hide-section,
.reservation-step[style*="display:none"] {
    display: none;
}

.switch-section.show-section {
    display: block;
}

#pickupLocation,
#delivery-other-field .form-control {
    display: flex;
    align-items: center;
    min-height: 58px;
}

#pickupLocationSelect {
    background-image: url("./assets/icons/ritiro.svg");
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 30px 30px;
}

.order-summary-card,
.summary-card {
    background: #ffffff;
}

.order-item {
    padding: 0.85rem 0;
    border-bottom: 1px solid #e5e7eb;
}

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

.order-item-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.order-item-main {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.order-item-image {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 14px;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.quantity-controls button,
.qty-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #eef2f7;
    cursor: pointer;
}

.slot-group h5 {
    font-family: "DM Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--classic-primary);
}

.btn-confirm-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    width: 100%;
}

.btn-confirm-wrapper > button {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-time,
.btn-person {
    border: 1px solid rgba(125, 139, 153, 0.25);
    background: #ffffff;
    border-radius: 999px;
    padding: 0.65rem 1rem;
    color: #334155;
}

.btn-time {
    font-weight: 400;
}

.btn-person {
    font-weight: 700;
}

.btn-time.selected,
.btn-person.selected,
.price-option.selected {
    border-color: var(--classic-primary);
    background: rgba(125, 139, 153, 0.12);
    color: var(--classic-primary);
}

.summary-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 0.75rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.6rem 0.9rem;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    flex: 1 1 auto;
    min-width: 90px;
    max-width: 160px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    text-align: left;
}

.summary-item i {
    color: var(--classic-primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.summary-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.summary-item:focus-visible {
    outline: 2px solid rgba(125, 139, 153, 0.35);
    outline-offset: 2px;
}

.summary-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.summary-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    font-weight: 500;
}

.summary-value {
    font-size: 0.9rem;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reservation-summary {
    animation: fadeInSummary 0.3s ease-out;
}

@keyframes fadeInSummary {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

.summary-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#step-4 .btn-confirm-wrapper {
    margin-top: 2rem;
    justify-content: center;
}

#step-4 #confirm-reservation {
    margin-top: 0 !important;
}

#cart-preview-res.reservation-final-step #step-switch {
    display: none !important;
}

#cart-preview-res.reservation-final-step #reservation-summary {
    display: block !important;
    width: 100%;
}

#cart-preview-res.reservation-final-step .summary-card {
    max-width: 100%;
}

#cart-preview-res.reservation-final-step .summary-row {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

#cart-preview-res.reservation-final-step .summary-item {
    flex: 1 1 160px;
    max-width: 160px;
}

.edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid var(--classic-primary);
    color: var(--classic-primary);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.25rem;
}

.edit-btn:hover {
    background: var(--classic-primary);
    color: #fff;
}

.edit-btn i {
    font-size: 0.75rem;
}

.selected-service-item,
.search-result-item {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.selected-service-item:hover,
.search-result-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.floating-booking-btn {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(0);
    z-index: 1040;
    background-color: var(--classic-primary, #947d99);
    color: #fff;
    padding: 1rem 0.6rem;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.5rem;
}

.floating-booking-btn.hidden {
    transform: translateY(-50%) translateX(100%);
    opacity: 0;
    pointer-events: none;
}

.floating-booking-btn:hover {
    transform: translateY(-50%) translateX(-4px);
    box-shadow: -6px 0 20px rgba(0, 0, 0, 0.25);
}

.floating-booking-btn:active {
    transform: translateY(-50%) translateX(-2px);
}

.floating-booking-btn i {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.floating-booking-btn span {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

.price-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1700;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.58);
}

.price-modal-content {
    width: min(560px, 100%);
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    border-radius: 24px;
    overflow: auto;
    background: #ffffff;
    box-shadow: 0 26px 56px rgba(15, 23, 42, 0.22);
}

.price-modal-header,
.price-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
}

.price-modal-body {
    padding: 0 1.35rem 1.35rem;
}

.price-modal-close,
.btn-cancel,
.btn-confirm {
    border: 0;
    border-radius: 14px;
    padding: 0.75rem 1rem;
}

.price-modal-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 0.75rem 1.35rem;
}

.price-modal-header h4 {
    color: var(--classic-primary);
    font-weight: 600;
    font-size: 1.125rem;
}

.btn-cancel {
    background: #e5e7eb;
}

.btn-confirm {
    color: #ffffff;
}

.price-options-grid {
    display: grid;
    gap: 0.75rem;
}

.price-option {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(125, 139, 153, 0.2);
    border-radius: 16px;
    background: #ffffff;
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.price-option-line {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
}

.price-option .small.text-muted {
    display: inline-block;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.qty-input {
    width: 78px;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0.45rem 0.6rem;
}

.flatpickr-calendar {
    box-shadow: none;
    border: 0;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
    background: var(--classic-primary);
    border-color: var(--classic-primary);
}

.price-modal-footer {
    display: flex;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border-top: 1px solid #e0e0e0;
    background: #f9f9f9;
}

.price-modal-footer .btn-cancel,
.price-modal-footer .btn-confirm {
    flex: 1;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
}

.price-modal-footer .btn-cancel {
    background: #ffffff;
    color: #666666;
    border: 2px solid #e0e0e0;
}

.price-modal-footer .btn-cancel:hover {
    background: #f5f5f5;
    border-color: #999999;
}

.price-modal-footer .btn-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.price-modal-footer .btn-confirm:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991.98px) {
    .hamburger {
        display: flex;
    }

    .desktop-menu {
        display: none !important;
    }

    .order-form-wrapper {
        grid-template-columns: 1fr;
    }

    .summary-row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .classic-footer {
        padding-bottom: calc(8rem + env(safe-area-inset-bottom, 0px));
    }

}

@media (min-width: 992px) {
    .desktop-menu {
        display: flex !important;
    }

    .hamburger {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .header-left {
        gap: 0.5rem;
    }

    .brand-name {
        font-size: 1rem;
    }

    .header-right {
        gap: 0.25rem;
    }

    .share-btn {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .carousel-control-prev,
    .carousel-control-next {
        padding: 0 0.5rem;
    }

    .carousel-control-icon {
        width: 44px;
        height: 44px;
    }

    .carousel-control-icon i {
        font-size: 1.8rem;
    }

    .header-content {
        padding: 0 0.9rem;
    }

    .header-logo {
        max-height: 56px;
        max-width: 56px;
    }

    .classic-category-toggle {
        text-align: center;
    }

    .classic-category-toggle .flex-grow-1 {
        text-align: center;
    }


    .products-list .product-item .flex-grow-1.d-flex {
        flex-direction: column;
    }

    .product-action-row {
        justify-content: flex-end;
    }

    .floating-booking-btn {
        top: 40%;
        padding: 0.8rem 0.5rem;
        font-size: 0.75rem;
    }
}

@media (min-width: 992px) {
    .floating-booking-btn {
        padding: 1.25rem 0.75rem;
        font-size: 0.95rem;
    }
}

/* === About split layout (chi siamo + description slider) === */
.about-split-row {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
}

.about-text-col {
    flex: 1 1 0;
    min-width: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-slider-col {
    flex: 0 0 45%;
    max-width: 45%;
}

.about-description-carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}

.about-description-carousel-img {
    height: 320px;
    object-fit: cover;
    margin: 0 auto;
}

.about-description-carousel-indicators {
    position: static !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0.5rem 0 0.15rem;
    list-style: none;
}

.about-description-carousel-indicators [data-bs-target] {
    flex: 0 0 auto;
    width: 0.75rem;
    height: 0.75rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.28);
    opacity: 1;
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.about-description-carousel-indicators [data-bs-target]:hover,
.about-description-carousel-indicators [data-bs-target]:focus {
    background-color: rgba(0, 0, 0, 0.45);
    box-shadow: none;
    outline: none;
}

.about-description-carousel-indicators .active {
    background-color: var(--classic-primary);
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .about-split-row {
        flex-direction: column;
    }

    .about-slider-col {
        max-width: 100%;
        width: 100%;
    }

    .about-description-carousel-img {
        height: 220px;
        margin: 0 auto;
    }
}

/* === Gallery section === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.gallery-thumb {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    background: #e0e0e0;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.06);
    opacity: 0.92;
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
