/* ========== Responsive ========== */
@media (max-width: 767px) {
    .price-section,
    .price-section-placeholder {
        display: none;
    }
    .category-section-inner {
        padding-top: 200px;
    }
    .logo-img {
        border-radius: unset !important;
    }
}

@media (max-width: 1200px) {
    .nav-list {
        gap: 14px;
    }

    .nav-list a {
        font-size: 13px;
    }

    .artical-grid {
        grid-template-columns: 1fr 1fr;
    }

    .artical-grid-right {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .artical-card-large {
        height: auto;
        min-height: 500px;
    }

    .artical-card-small,
    .artical-card-wide {
        width: 100%;
        height: auto;
        min-height: 260px;
    }

    .category-cards {
        grid-template-columns: repeat(4, 1fr);
    }

    .upcoming-subtitle {

        max-width: 620px;
    }

    .nav{
        padding: 0;
    }
    .nav-list {
        width: 90%;
        margin: 0;
    
    }
    a.logo-link img.logo-img {
        height: 80px;
    }
    .canton-trade-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .vendor-guide-container {
        grid-template-columns: 1fr;
    }

    .vendor-guide-map-viewport {
        min-height: 360px;
    }

    .vendor-guide-map-viewport iframe {
        min-height: 360px;
    }


    .tips-shoppers-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1064px) {
    a.btn.btn-sponsor.header-sponsor {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero {
        height: auto;
        max-height: none;
        min-height: 680px;
        overflow: visible;
        margin-bottom: 0;
    }

    .header {
        flex-wrap: wrap;
        height: auto;
        min-height: 76px;
    }

    .nav {
        order: 3;
        width: 100%;
        padding: 12px 0px;
        overflow-x: auto;
    }

    .header-sponsor {
        margin-left: auto;
    }

    .hero-content {
        padding: 20px clamp(20px,2vw,30px) clamp(50px,8vw,120px) ;
    }

    .category-section {
        padding: 56px 24px 48px;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .flea-market-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px;
    }

    .flea-market-content {
        order: 1;
    }

    .flea-market-media {
        order: 2;
    }

    .flea-market-points {
        margin-bottom: 20px;
    }

    .upcoming-container {

        border-radius: 18px;
    }

    .upcoming-head {
        margin-bottom: 18px;
    }

    .upcoming-head-copy {
        min-width: 0;
        flex: 1;
    }

    .upcoming-controls {
        display: flex;
        flex-shrink: 0;
        padding-top: 2px;
        gap: 8px;
    }

    .upcoming-nav {
        width: 36px;
        height: 36px;
    }

    .artical-grid {
        grid-template-columns: 1fr;
    }

    .artical-card-large {
        min-height: 360px;
    }

    .canton-trade-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .vendor-guide-content {
        padding: 28px 24px 24px;
    }

    .planning-visit-media {
        height: auto;
    }

    .planning-visit-media img {
        min-height: 320px;
        height: auto;
    }

    .planning-visit-list {
        height: auto;
        justify-content: flex-start;
        gap: 30px;
    }

    .planning-visit-item {
        padding-bottom: 0;
    }


}

/* Tablet search bar: 2x2 grid (769px – 1100px) */
@media (min-width: 769px) and (max-width: 1100px) {
    .search-bar {
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        position: absolute;
        bottom: 0;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(50%);
        margin: 0;
        width: calc(100% - 40px);
        height: auto;
        min-height: 110px;
        max-height: none;
        padding: 20px 16px;
        gap: 6px 14px;
        overflow: visible;
        flex-direction: unset;
    }

    .search-bar>.search-field:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .search-bar>.search-field:nth-child(3) {
        grid-column: 2;
        grid-row: 1;
    }

    .search-bar>.search-field:nth-child(5) {
        grid-column: 1;
        grid-row: 2;
    }

    .search-bar>.search-field:nth-child(7) {
        grid-column: 2;
        grid-row: 2;
    }

    .search-bar>.search-btn {
        grid-column: 3;
        grid-row: 2;
        align-self: center;
        justify-self: end;
        width: 54px;
        height: 54px;
        padding: 14px;
    }

    .search-field {
        flex: none;
        width: 100%;
        min-width: 0;
        display: block;
        padding: 6px 8px;
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .search-flex {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 4px;
    }

    .search-field-icon img {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .search-field-content {
        display: flex;
        flex-direction: column;
        gap: 2px;
        width: 100%;
        min-width: 0;
    }

    .search-field-content label {
        font-size: 13px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .search-field-content input,
    .search-field-content select {
        font-size: 12px;
        width: 100%;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .select-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .select-chevron {
        filter: brightness(0) invert(1);
        opacity: 0.85;
        right: 0;
    }

    .search-field--category .custom-select-menu,
    .search-field--subcategory .custom-select-menu,
    .search-field--location .custom-select-menu {
        left: -8px;
        width: calc(100% + 16px);
    }

    .search-divider {
        display: none;
    }

    .search-btn-text {
        display: none;
    }
}

@media (max-width: 899px) {
    .planning-visit {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .canton-footer-col {
        margin-left: auto;
        width: 100%;
        max-width: unset;
    }

    .planning-visit-content {
        display: contents;
    }

    .planning-visit-title {
        order: 1;
        margin-bottom: 0 ! important;
    }

    .planning-visit-subtitle {
        display: block;
        order: 2;
        font-size: 14px;
        line-height: 1.5;
        color: #c8d4e2;
        margin-bottom: 20px;
    }

    .planning-visit-media {
        order: 3;
        height: auto;
    }

    .planning-visit-media img {
        width: 100%;
        height: auto;
        min-height: 220px;
        max-height: none;
        border-radius: 14px;
    }

    .planning-visit-list {
        order: 4;
        height: auto;
        justify-content: flex-start;
        gap: 30px;
    }

    .planning-visit-list::before {
        top: 16px;
        bottom: 16px;
    }
}

@media (max-width: 768px) {
    .overall{
        padding: 0;
    }
    :root {
        --price-bar-height: 36px;
    }
    .overall.home-page .hero-content {
    min-height: 250px;
}
    .overall.home-page .search-bar{
    bottom: -35px;
    gap: 15px;
    }
    .hero {
        max-width: 100%;
        height: auto;
        max-height: none;
        min-height: 0;
        border-radius: 0;
        overflow: visible;
        margin: 0;
        padding-bottom: 190px;
    }

    .hero-video,
    .hero-overlay {
        border-radius: 0;
    }
    .upcoming-card-title{
        min-height: unset;
    }

    .header {
        justify-content: space-between;
        align-items: flex-start;
        height: auto;
        min-height: 0;
        padding: 0;
        flex-shrink: 0;
    }

    .logo-curve-nav {
        display: block;
    }

    .header-sponsor {
        display: none;
    }

    body.mobile-menu-open .header {
        position: relative;
        z-index: 100001;
    }

    body.mobile-menu-open .hero-content,
    body.mobile-menu-open .search-bar {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    body.mobile-menu-open .menu-toggle {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: calc(100% - min(320px, 82vw));
        background: rgba(10, 20, 35, 0.55);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 100000;
        border: none;
        padding: 0;
        cursor: pointer;
        pointer-events: none;
    }

    .mobile-menu-overlay.is-active {
        visibility: visible;
        pointer-events: auto;
        opacity: 7;
    }

    .nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        order: unset;
        width: min(320px, 82vw);
        max-width: 82vw;
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 20px 24px 32px;
        background-color: #ffffff;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.32s ease;
        z-index: 100001;
        overflow-y: auto;
        overflow-x: hidden;
        align-self: auto;
        pointer-events: none;
        visibility: hidden;
    }

    .nav.is-open {
        transform: translateX(0);
        pointer-events: auto;
        visibility: visible;
    }

    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 28px;
        flex-shrink: 0;
    }

    .mobile-nav-logo {
        display: inline-flex;
        flex-shrink: 0;
    }

    .mobile-nav-logo img {
        width: auto;
        height: 56px;
        display: block;
        object-fit: contain;
    }

    .menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width:27px;
        height: 27px;
        border: none;
        border-radius: 50%;
        background: #A8151A;
        color: #ffffff;
        font-size: 22px;
        font-weight: 400;
        line-height: 0;
        cursor: pointer;
        flex-shrink: 0;
        padding: 0;
        margin-bottom: 20px;
    }

    .menu-close span {
        display: block;
        line-height: 1;
    }

    .nav-curve-left {
        display: none;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-width: none;
        margin: 0;
        position: relative;
        z-index: 1;
    }

    .nav-list li {
        width: 100%;
        border-bottom: none;
    }

    .nav-list a {
        width: 100%;
        padding: 16px 0;
        font-size: 17px;
        font-weight: 500;
        color: #292929;
        justify-content: space-between;
        opacity: 1;
    }

    .nav-list a:hover {
        opacity: 0.75;
    }

    .nav-chevron {
        filter: none;
        opacity: 1;
        transition: transform 0.2s ease;
    }

    .nav-list .has-dropdown.is-open > .nav-dropdown-toggle .nav-chevron {
        transform: rotate(180deg);
    }

    .mobile-nav-sponsor {
        display: inline-flex;
        width: 100%;
        margin-top: 20px;
        justify-content: center;
        padding: 14px 20px;
        flex-shrink: 0;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        margin: 14px 16px 0 auto;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        position: relative;
        z-index: 100003;
        flex-shrink: 0;
    }

    .menu-toggle.is-active .menu-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.is-active .menu-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .menu-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .menu-toggle-bar {
        display: block;
        width: 24px;
        height: 2px;
        margin: 0 auto;
        background: #ffffff;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .hero-content {
        position: relative;
        z-index: 15;
        align-items: start;
        text-align: left;
        flex: 0 0 auto;
        gap: 20px;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        min-height: 400px;
    }

    .countdown-section {
        display: flex;
        flex-direction: column;
        align-items: start;
        margin-bottom: 12px;
        width: 100%;
    }

    .countdown-label {
        margin-bottom: 8px !important;
        font-size: 11px;
        letter-spacing: 1.2px;
    }

    .countdown-timer {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 6px 8px;
        padding: 8px 14px;
        max-width: 100%;
    }

    .countdown-unit {
        font-size: 10px;
        white-space: nowrap;
    }

    .countdown-unit strong {
        font-size: 11px;
    }

    .countdown-divider {
        font-size: 12px;
    }

    .hero-title {
        margin-bottom: 16px;

    }

    .hero-buttons {
        position: relative;
        z-index: 16;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        flex-wrap: nowrap;
        width: 100%;
        /* max-width: 320px; */
        gap: 8px;
        padding-top: 0;
        margin-bottom: 20px;
    }

    .hero-buttons .btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 11px 6px;
        font-size: 10px;
        white-space: normal;
        line-height: 1.2;
        border-radius: 10px;
    }

    .search-bar {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        grid-template-rows: none;
        position: absolute;
        bottom: 0;
        left: 50%;
        right: auto;
        align-items: stretch;
        align-self: center;
        width: calc(100% - 28px);
        max-width: none;
        margin: 0;
        padding: 18px 14px 14px;
        gap: 10px;
        height: auto;
        min-height: 0;
        max-height: none;
        border: 8px solid #ffffff;
        border-radius: 36px;
        transform: translateX(-50%) translateY(42%);
        flex-shrink: 0;
        z-index: 20;
        overflow: visible;
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
        background: #173A5D;
    }

    .search-bar>.search-field:nth-child(1),
    .search-bar>.search-field:nth-child(3),
    .search-bar>.search-field:nth-child(5),
    .search-bar>.search-field:nth-child(7),
    .search-bar>.search-btn {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        justify-self: stretch;
        align-self: stretch;
    }

    .search-field {
        flex: 1 1 auto;
        width: 100%;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        display: block;
    }

    .search-flex {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 0;
    }

    .search-field-icon img {
        width: 16px;
        height: 16px;
        opacity: 0.95;
    }

    .search-field-content {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .search-field-content label {
        font-size: 14px;
        color: #98afc6;
        font-weight: 400;
        line-height: 1.2;
    }

    .search-field-content input {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid rgba(152, 175, 198, 0.55);
        border-radius: 10px;
        background: transparent;
        font-size: 13px;
        color: #ffffff;
    }

    .search-field-content input::placeholder {
        color: #6d8aa8;
        opacity: 1;
    }

    .select-wrapper {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid rgba(152, 175, 198, 0.55);
        border-radius: 10px;
        background: transparent;
    }

    .search-field-content select {
        width: 100%;
        padding: 0 24px 0 0;
        border: none;
        background: transparent;
        font-size: 13px;
        color: #ffffff;
    }

    .search-field-content select:invalid,
    .search-field-content select option[value=""][disabled] {
        color: #6d8aa8;
    }

    .select-wrapper select {
        padding-right: 24px;
    }

    .select-chevron {
        right: 14px;
        filter: brightness(0) saturate(100%) invert(72%) sepia(9%) saturate(747%) hue-rotate(176deg) brightness(91%) contrast(88%);
        opacity: 1;
    }

    .search-field--category .custom-select-trigger,
    .search-field--subcategory .custom-select-trigger,
    .search-field--location .custom-select-trigger {
        width: 100%;
        padding: 0 24px 0 0;
    }

    .search-field--category .custom-select-menu,
    .search-field--subcategory .custom-select-menu,
    .search-field--location .custom-select-menu {
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        border-radius: 0 0 16px 16px;
        padding: 8px;
    }

    .custom-select-option {
        padding: 11px 12px;
        font-size: 13px;
    }

    .search-btn {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        padding: 13px 18px;
        gap: 10px;
        margin-top: 2px;
        border-radius: 10px;
        justify-self: stretch;
    }

    .search-btn-text {
        display: inline;
        color: #ffffff;
        font-size: 15px;
        font-weight: 600;
    }

    .category-section {
        position: relative;
        z-index: 1;
        padding: 40px 16px 36px;
    }

    .price-section {
        max-width: 100%;
        margin-top: 80px;
        border-radius: 0;
    }

    .price-section.is-stuck {
        position: absolute;
        top: auto;
        box-shadow: none;
        background: #f4f4f5;
    }

    .price-section.is-stuck .price-marquee-item {
        color: #2b2b2b;
    }

    .price-section.is-stuck .price-marquee-separator {
        color: #3d3d3d;
    }

    .price-marquee-item {
        font-size: 12px;
    }

    .category-header {
        margin-bottom: 24px;
    }

    .category-header-text {
        position: relative;
        z-index: 2;
    }

    .category-title {
        margin-bottom: 10px;
    }

    .category-subtitle {
        font-size: 14px;
        line-height: 1.5;
        color: #545454;
        max-width: 100%;
    }
    .artical-card-overlay {
    height: 260px;
}
}

@media (max-width: 600px) {
    :root {
        --curve-radius: 36px;
        --curve-inner: 24px;
        --header-height: 68px;
    }

    .logo-curve-nav {
        display: block;
    }

    .nav-curve-left,
    .banner-curve {
        display: none;
    }

    .logo-img {
        height: 40px;
    }

    .category-section {
        padding: 40px 16px 36px;
    }



    .category-cards {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 2px;
    }

    .category-cards::-webkit-scrollbar {
        display: none;
    }

    .category-card {
        flex: 0 0 calc((100% - 12px) / 2.15);
        min-width: 150px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        align-items: center;
        text-align: center;
        padding: 18px 14px;
    }

    .category-card-icon {
        margin-bottom: 12px;
    }

    .flea-market-section {
        padding: 0 12px 36px;
    }

    .flea-market-container {
        display: flex;
        flex-direction: column;
        background: transparent;
        padding: 0;
        border-radius: 0;
    }

    .flea-market-content {
        display: contents;
    }

    .flea-market-media {
        order: 2;
        margin-bottom: 12px;
        position: relative;
    }

    .flea-market-badge-corner {
        width: 20px;
        height: 20px;
    }

    .flea-market-badge-text {
        font-size: 8px;
        line-height: 1.2;
        max-width: 92px;
    }

    .flea-market-points {
        order: 3;
        gap: 16px;
        margin-bottom: 20px;
        padding: 0 2px;
    }

    .flea-market-points li {
        font-size: 15px;
        line-height: 1.5;
        padding-left: 38px;
    }

    .flea-market-points li::before {
        width: 24px;
        height: 24px;
        top: 0.1em;
        background-size: 12px 12px;
    }

    .flea-market-btn {
        order: 4;
        align-self: flex-start;
    }

    .upcoming-section {
        padding: 0 0 32px;
    }

    .upcoming-container {
        border-radius: 0;

    }

    .upcoming-subtitle {
        font-size: 14px;
        line-height: 1.5;
        max-width: 340px;
    }

    .upcoming-slider-track {
        gap: 16px;
    }

    .upcoming-card {
        border-radius: 16px;
        padding: 14px 0px 0px;
    }

    .upcoming-card-top {
        margin-bottom: 14px;
    }

    .upcoming-card-media {
        border-radius: 14px;
        aspect-ratio: 1 / 1;
    }

    .upcoming-card-date {
        font-size: 11px;
        padding: 7px 10px;
        bottom: 10px;
        left: 10px;
    }

    .upcoming-media-image {
        width: 100%;
        height: 100%;
    }

    .artical-section {
        padding: 0 16px 40px;
    }

    .artical-header {
        margin-bottom: 20px;
    }

    .artical-header-row {
        align-items: center;
        margin-bottom: 10px;
        gap: 12px;
    }



    .artical-view-all-mobile {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: #A8151A;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .artical-view-all-desktop {
        display: none;
    }

    .artical-subtitle {
        font-size: 14px;
        line-height: 1.5;
        max-width: 100%;
    }

    .artical-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .artical-grid-right {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .artical-card-large,
    .artical-card-small,
    .artical-card-wide {
        min-height: 260px;
        aspect-ratio: 16 / 10;
        width: 100%;
    }

    .artical-card-wide {
        grid-column: auto;
    }

    .artical-card-content {
        padding: 14px;
    }

    .artical-card-text,
    .artical-card-text-long {
        font-size: 11px;
        max-width: 100%;
    }

    .canton-trade-header {
        text-align: left;
        margin-bottom: 24px;
        max-width: 100%;
    }


    .canton-trade-title span {
        color: #A8151A;
    }

    .canton-trade-description {
        font-size: 14px;
        line-height: 1.55;
    }

    .canton-trade-cards {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 2px;
    }

    .canton-trade-cards::-webkit-scrollbar {
        display: none;
    }

    .canton-trade-card {
        flex: 0 0 calc((100% - -86px) / 2.15);
        min-width: 170px;
        gap: 7px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        padding: 20px 16px 18px;
    }

    .vendor-guide-container {
        grid-template-columns: 1fr;
        border-radius: 14px;
        min-height: 0;
    }

    .vendor-guide-content {
        padding: 24px 18px 20px;
        order: 1;
    }

    .vendor-guide-title {
        margin-bottom: 12px !important;
        max-width: 100%;

        line-height: 28px;

    }

    .vendor-guide-title span {
        display: inline;
    }

    .vendor-guide-description {
        margin-bottom: 20px;
        max-width: 100%;
    }

    .vendor-guide-stats {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .vendor-stat-card {
        min-height: 72px;
    }

    .vendor-stat-card.vendor-stat-card-wide {
        grid-column: 1 / -1;
        min-height: 72px;
    }

    .vendor-guide-actions {
        justify-content: center;
    }

    .vendor-btn-online,
    .vendor-btn-print {
        flex: 1 1 calc(50% - 5px);
        justify-content: center;
        padding: 11px 16px;
    }

    .vendor-guide-map {
        order: 2;
    }

    .vendor-guide-map {
        border-radius: 0 0 14px 14px;
    }

    .vendor-guide-map-viewport {
        min-height: 280px;
    }

    .vendor-guide-map-viewport iframe {
        width: calc(100% + 48px);
        margin-right: -48px;
        min-height: 280px;
    }

    .vendor-map-controls {
        right: 10px;
        bottom: 54px;
        gap: 8px;
    }

    .vendor-map-control,
    .vendor-map-control-group .vendor-map-control {
        width: 36px;
        height: 36px;
    }

    .vendor-map-control--zoom-in,
    .vendor-map-control--zoom-out {
        font-size: 20px;
    }

    .visiter-section {
        border-radius: unset;
    }

    .planning-visit {
        gap: 20px;
        margin-bottom: 36px;
    }


    .planning-visit-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .planning-visit-media img {
        min-height: 220px;
    }


    .planning-visit-copy p {
        max-width: 100%;
    }

    .tips-shoppers-title {

        text-align: left;
    }

    .tips-shoppers-subtitle {
        text-align: left;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .tips-shoppers-cards {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 2px;
    }

    .tips-shoppers-cards::-webkit-scrollbar {
        display: none;
    }

    .tips-card {
        flex: 1 0 calc((100% - 93px) / 1.15);
        min-width: 160px;
        scroll-snap-align: start;
        scroll-snap-stop: always;
        min-height: 140px;
    }
}

@media (max-width: 899px) {
    .canton-history-section {
        padding: 40px 16px 44px;
    }


    .canton-history-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
.canton-footer-section .max-content {
    max-width: unset;
    width: 100%;
    margin-right: auto;
}


    .canton-history-card-head {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        margin-bottom: 12px;
    }

    .canton-history-card-icon {
        width: 44px;
        height: 44px;
    }

    .canton-history-card-icon img {
        width: 20px;
        height: 20px;
    }


    .canton-history-card-text {
        font-size: 14px;
        line-height: 1.55;
    }

    .canton-history-card-text ul,
    .canton-history-card-text ol {
        padding-left: 1.05em;
        margin: 2px 0 8px;
    }

    .canton-history-card-text li {
        margin-bottom: 6px;
        padding-left: 0.3em;
    }

    .canton-footer-main {
        padding: 36px 16px 32px;
    }

    .canton-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .canton-footer-about {
        max-width: 100%;
    }

    .canton-footer-heading {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .canton-footer-links li {
        margin-bottom: 0;
        border-bottom: 1px solid #e8edf2;
    }

    .canton-footer-links a {
        display: block;
        padding: 14px 0;
    }

    .canton-footer-contact:last-of-type {
        margin-bottom: 16px;
    }

    .canton-footer-actions {
        gap: 10px;
    }

    .canton-footer-btn {
        width: 100%;
    }

    .canton-footer-bottom {
        padding: 20px 16px;
    }

    .canton-footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .canton-footer-legal {
        justify-content: center;
        gap: 16px;
    }
}

@media only screen and (max-width:599px) {
    .section_whether.show_mobile {
        display: block;
    }

    .section_whether.hide_mobile {
        display: none;
    }

    .canton-footer-btn {
        width: 100%;
        max-width: unset;
    }

    h2.canton-history-title {
        text-align: left;
    }
}