/* Responsive - FMBijoux FinBase */

@media only screen and (max-width: 1660px) {

    .wrapper.wide {
        max-width: calc(100% - 80px);
    }

    .nav {
        gap: 28px;
    }

    #nav-container {
        padding: 0 45px;
    }

}

@media only screen and (max-width: 1280px) {

    h1,
    h2,
    .hero-content h1 {
        font-size: 42px;
    }

    .collection-grid {
        gap: 28px;
    }

    .category-card,
    .category-card.small {
        min-height: 300px;
    }

    .category-card-large {
        min-height: 628px;
    }

    .product-grid {
        gap: 42px 32px;
    }

    .product-info {
        padding-left: 35px;
    }

    .cart-item {
        grid-template-columns: 170px 1fr 170px;
    }

}

@media only screen and (max-width: 1100px) {

    .wrapper.wide {
        max-width: calc(100% - 50px);
    }

    #mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 6px;
        height: 30px;
        justify-content: center;
        order: 3;
        width: 36px;
    }

    #mobile-nav span {
        background: var(--zwart);
        display: block;
        height: 2px;
        width: 100%;
    }

    #nav-container {
        background: var(--wit);
        box-shadow: 0 20px 30px rgba(0,0,0,0.08);
        left: 0;
        opacity: 0;
        padding: 25px;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 87px;
        transform: translateY(-10px);
        transition: all 0.2s ease;
        z-index: 20;
    }

    #nav-container.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    .nav li,
    .nav li a {
        width: 100%;
    }

    .header-actions {
        margin-left: auto;
        margin-right: 25px;
    }

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

    .category-card-large {
        grid-column: span 2;
        grid-row: auto;
        min-height: 520px;
    }

    .category-row,
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
	
	.category-slider-row {
		display: block !important;
	}

    .filter-bar {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .product-detail-grid .col-12,
    .cart-grid .col-23,
    .cart-grid .col-13 {
        width: 100%;
    }

    .product-info {
        padding-left: 20px;
        padding-top: 40px;
    }

    .order-summary {
        margin-top: 40px;
    }

}

@media only screen and (max-width: 850px) {

    h1,
    h2,
    .hero-content h1 {
        font-size: 34px;
    }

    h3 {
        font-size: 24px;
    }
	
	#header {
        top: 42px;
    }

    #main {
        padding-top: 114px; /* 42 topbar + 72 navbar */
    }

    body.is-scrolled #main {
        padding-top: 72px;
    }

    #topbar {
		font-size: 10px;
		height: 42px;
		line-height: 1.3;
		padding: 0;
	}

	#topbar .wrapper {
		height: 42px;
	}

	#topbar p {
		line-height: 1.3;
		padding-right: 70px;
		text-align: left;
	}

	#topbar .language {
		line-height: 1.3;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
	}
	
	.header-actions {
        display: flex;
        align-items: center;
        gap: 18px;
        flex-wrap: nowrap;
        margin-left: auto;
    }

    .header-actions .welcome-link {
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .header-actions a:not(.welcome-link) {
        flex: 0 0 auto;
    }

    #navbar,
    #navbar .wrapper {
        height: 72px;
    }

    #logo {
        width: 125px;
    }

    #nav-container {
        top: 72px;
    }

    .header-actions {
        min-width: auto;
    }

    .hero {
        min-height: 480px;
    }

    .hero-content {
        padding-top: 150px;
    }

    .hero-small {
        min-height: 240px;
    }

    .hero-small .hero-content {
        padding-top: 70px;
    }

    .hero-buttons {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-block:not(.events-page):not(.showroom-page):not(.news-page) {
        padding: 50px 0;
    }

    .intro-grid .col-13 {
        width: 100%;
    }

    .intro-item {
        margin-bottom: 40px;
    }

    .category-row,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	
	.category-slider-row {
		display: block !important;
	}

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-form {
        max-width: 100%;
    }

    .product-title-row {
        flex-direction: column;
    }

    .product-title-row .price {
        margin-top: 12px;
    }

    .quantity-box {
        width: 100%;
    }

    .quantity-row span {
        display: block;
        margin: 10px 0 0 0;
    }
	
	.cart-grid {margin-left:0;margin-right:0;}

    .cart-item {
        gap: 20px;
        grid-template-columns: 130px 1fr;
    }

    .cart-price {
        grid-column: 2;
        text-align: left;
    }

    .footer-main {
        padding: 55px 0;
    }

    #footer .col-13,
    #footer .col-23 {
        width: 100%;
    }

    .footer-shop {
        margin-top: 45px;
    }

    .footer-nav-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom .wrapper {
        flex-direction: column;
        gap: 8px;
    }
	
	.col.mob-full {width:100%;}
	
	/* NEWS */
	.news-card,
    .news-card:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
    }

    .news-card:nth-child(even) .news-card-image {
        order: 0;
    }

    .news-card h2 {
        font-size: 34px;
    }

    .news-text p {
        font-size: 16px;
    }
	
	/* EVENTS */ 
    .event-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px;
    }

    .event-date {
        align-items: flex-start;
        flex-direction: row;
        gap: 10px;
        justify-content: flex-start;
        min-height: auto;
        padding: 16px 20px;
    }

    .event-date span {
        font-size: 38px;
    }

    .event-image {
        aspect-ratio: 4 / 3;
    }

    .event-content h2 {
        font-size: 34px;
    }
	
	/* SHOWROOMS */
	.showroom-grid {
        grid-template-columns: 1fr;
    }

    .showroom-card {
        min-height: 0;
        padding: 30px;
    }

    .showroom-card h2 {
        font-size: 36px;
    }

    .showroom-info {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .showroom-map {
        height: 360px;
    }
}

@media only screen and (max-width: 600px) {

    .wrapper.wide {
        max-width: calc(100% - 32px);
    }
	
	.wrapper.wide.text-content > .section > .col
	{margin-bottom:25px;}
	
	#fixedmessage {
        top: 12px;
    }

    #fixedmessage p {
        width: calc(100vw - 24px);
        padding: 13px 42px 13px 16px;
        font-size: 14px;
        border-radius: 10px;
    }
	
	#cookiemelding.fullscreen {width:90%;}

   /* .col:not(.order-summary-text) {
        padding-left: 0;
        padding-right: 0;
    }*/

    h1,
    h2,
    .hero-content h1 {
        font-size: 30px;
    }

    .hero {
        min-height: 420px;
    }

    .hero-content {
        padding-top: 125px;
    }

    .btn {
        min-width: 0;
        padding: 18px 22px;
        width: 100%;
    }

    .collection-grid,
    .category-row,
    .product-grid {
        grid-template-columns: 1fr;
    }
	
	.product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
	
	.category-row:not(.category-main-row) {
        grid-template-columns:repeat(2,1fr);
        gap:15px;
    }
	
	.category-slider-row {
		display: block !important;
	}

    .category-card-large {
        grid-column: auto;
        min-height: 390px;
    }

    .category-card,
    .category-card.small {
        min-height: 260px;
    }

    .category-center {
        font-size: 22px !important;
        padding: 22px;
    }

    .customer-cta h3 {
        padding-left: 0;
        padding-right: 0;
    }

    .gallery-thumbs {
        gap: 12px;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .cart-item figure {
        height: auto;
    }

    .cart-price {
        grid-column: auto;
    }

    .summary-box {
        padding: 28px;
    }

    .footer-nav-cols {
        grid-template-columns: 1fr;
    }
	
	.right .finwize-p {text-align:left;}
	
	/* Footer links mobiel */
    .footer-links {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .footer-links li {
        width: 100%;
        justify-content: center;
    }

    .footer-links li:not(:last-child)::after {
        display: none;
    }

}

@media only screen and (min-width: 531px) and (max-width: 850px) {
	#topbar .language {top:0;}
}
