/*!
Theme Name: Dry Docks Custom Theme
Theme URI: http://underscores.me/
Author: Ghayas
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mtc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

mtc is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary: #1684c5;
	--green: #047b40;
	--yellow: #f0ad4e;
	--red: #cf2e2e;
}

html {
	font-size: 62.5%;
}

body {
	font-size: 1.6rem;
	font-family: "Lato", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings: "wdth" 100;
	color: #333;
	line-height: 1.5;
}

img, table, figure, picture, iframe, embed {
	max-width: 100%;
}

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

button input, textarea, select, option {
	font-family: inherit;
	outline: none;
}

/* Topbar */

.container {
	--container-width: 119.2rem;
	--container-padding: 1.5rem;
	width: min(var(--container-width) + var(--container-padding) * 2, 100%);
	padding-inline: var(--container-padding);
	margin-inline: auto;
}

/* Topbar */

.topbar {
	padding: 1rem 0;
	background: #dddddd;
}

.topbar__container {
	display: flex;
	align-items: center;
}

.website {
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	color: #222;
}

.website span {
	display: block;
	margin-top: 0.5rem;
	font-size: 1.4rem;
}

.website.website--green span {
	color: #047b40;
}

.website.website--red span {
	color: #cf2e2e;
}

.social-media-icons {
	display: flex;
	gap: 1rem;
	margin-left: auto;
}

.social-media-icons a {
	display: block;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	padding: 0.8rem;
}

.social-media-icons img {
	display: block;
	filter: invert(1);
}

.social-media-icons a.facebook {
	background: #365493;
}

.social-media-icons a.x {
	background: #000;
}

.social-media-icons a.instagram {
	background: #774430;
}

.social-media-icons a.linkedin {
	background: #0274B3;
}

.topbar-phone {
	font-size: 1.4rem;
	color: #222;
	font-weight: 600;
}

/* Header */

.header {
	padding: 1.5rem 0;
}

.custom-logo-link {
	display: block;
	width: 22rem;
}

.custom-logo-link img {
	height: auto;
	border-radius: 1rem;
}

.header .container > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-tel svg {
    width: 2.4rem;
    padding-top: 0.7rem;
}

.header-tel {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.header-tel span span {
    display: block;
    font-size: 1.6rem;
    color: #333;
    font-weight: 700;
}

.header-tel span {
    color: #888;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.header-form {
	margin-left: auto;
	flex: 1;
}

.header .container > div {
    gap: 3rem;
}

.header .search-form {
	position: relative;
}

.header .search-form label {
	display: block;
}

.header .search-form input.search-field {
	border-radius: 10rem;
	height: 4.6rem;
	width: 100%;
	padding: 0 4.6rem 0 1.5rem;
	border: 0.2rem solid #0000001a;
	display: block;
}

.header .search-submit {
	font-size: 0;
	width: 4.6rem;
	height: 100%;
	background: var(--primary);
	border: navajowhite;
	border-radius: 0 10rem 10rem 0;
	position: absolute;
	top: 0;
	right: 0;
	background-image: url(/wp-content/uploads/2024/08/search-svgrepo-com-white.svg);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
}

.cart-btn img {
	width: 2.5rem;
}

.cart-btn {
	display: flex;
	gap: 0.6rem;
	align-items: center;
	margin-left: auto;
}

.cart-btn span {
	width: 1.9rem;
	height: 1.9rem;
	border-radius: 50%;
	background-color: var(--primary);
	color: #fff;
	text-align: center;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.9rem;
}

.toggler {
	width: 3rem;
	margin-left: 2rem;
	display: none;
}

.mega-menu-toggle {
	display: none;
}

.navigation {
	padding-top: 2rem;
}

.navigation ul#mega-menu-menu-1 {
	display: flex;
	justify-content: center;
	gap: 2rem;
}

.navigation ul {
	list-style: none;
}

.navigation ul#mega-menu-menu-1 > li > a {
	text-transform: uppercase;
}

.navigation a {
	font-size: 1.3rem;
	font-weight: 600;
	transition: all 0.2s;
}

.navigation .mega-sub-menu a {
	font-weight: 400;
	color: #848484;
}

.navigation a:hover {
	color: var(--primary);
}

.navigation .mega-sub-menu {
	translate: 0 2rem;
	opacity: 0;
	visibility: hidden;
	transition: all 0.2s;
	position: absolute;
	top: calc(100% + 1.5rem);
	left: 0;
	padding: 1.2rem 2rem;
	white-space: nowrap;
	box-shadow: 0 0 3px rgba(0,0,0,0.15);
	background: white;
	z-index: 999;
}

.navigation li:hover .mega-sub-menu {
	translate: 0;
	opacity: 1;
	visibility: visible;
}

.navigation ul#mega-menu-menu-1 > li {
	position: relative;
}

.navigation .mega-sub-menu li {
	padding-block: 0.8rem;
}

/* .navigation li .mega-sub-menu:has(h4) {
    display: flex;
    inset-inline: 0;
    margin: auto;
    width: fit-content;
    gap: 6rem;
}

.navigation ul#mega-menu-menu-1 > li:has(h4) {
    position: static;
} */

.navigation > .mega-menu-wrap > ul > li:has(h4) {
	position: static !important;
}

.navigation {
	position: relative;
	max-width: 100rem;
	margin-inline: auto;
}

.navigation > .mega-menu-wrap > ul > li:has(h4) > .mega-sub-menu {
	display: flex;
	justify-content: space-between;
	padding: 3rem 3.5rem 0;
	width: 100%;
}

.navigation > .mega-menu-wrap > ul > li:has(h4) > .mega-sub-menu > li {
	flex: 1;
}

.navigation > .mega-menu-wrap > ul > li:has(h4) > .mega-sub-menu > li > .mega-block-title {
	text-transform: uppercase;
	font-size: 1.4rem;
}

.navigation .mega-sub-menu::before {
	content: "";
	position: absolute;
	height: 1.5rem;
	width: 100%;
	bottom: 100%;
	left: 0;
}

/* Hero */

.hero img {
	width: 100%;
	height: auto;
}

/* Featured Categories */

.featured-category {
	padding-block: 7rem;
}

.featured-category .container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.cat-card {
	position: relative;
}

.cat-card__content {
	position: absolute;
	inset: 0;
	padding: 3rem;
	display: grid;
	place-content: center start;
	width: fit-content;
}

.cat-card__content h3 {
	font-size: 1.7rem;
	font-weight: 600;
}

.cat-card__content span {
	display: block;
	margin: 1.5rem auto 0;
	background: var(--primary);
	color: white;
	padding: 0.8rem 1.4rem;
	font-size: 1.2rem;
	font-weight: 600;
	text-transform: uppercase;
}

/* Section Header */

.section-header {
	border-bottom: 2px solid #0000001b;
	margin-bottom: 3rem;
}

.section-header :is(h2, h3) {
	text-align: center;
}

.section-header h3 {
	font-size: 1.4rem;
	margin-bottom: 1rem;
	font-weight: 400;
	color: var(--primary);
}

.section-header h2 {
	width: fit-content;
	margin-inline: auto;
	margin-bottom: -2px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--primary);
	text-transform: uppercase;
	font-size: 2.6rem;
}

/* Featured Products */

.featured-products .swiper {
	padding-inline: 1rem;
	margin-inline: -1rem;
	padding-bottom: 10.5rem;
}

.featured-products .swiper-button-next, .swiper-button-prev {
	scale: 0.5;
	transition: all 0.2s;
	opacity: 0;
}

.featured-products .swiper-button-next {
	translate: 2.5rem;
}

.featured-products .swiper-button-prev {
	translate: -2.5rem;
}

.featured-products .swiper:hover :is(.swiper-button-next, .swiper-button-prev) {
	translate: 0;
	opacity: 1;
}

.featured-products .swiper:hover .swiper-button-next {
	translate: 1.5rem;
}

.featured-products .swiper:hover .swiper-button-prev {
	translate: -1.5rem;
}

.featured-products .swiper-button-prev:after, .featured-products .swiper-button-next:after {
	color: black !important;
}

.featured-products .swiper-pagination {
	top: auto !important;
	bottom: 6rem !important;
}

.featured-products .swiper-pagination .swiper-pagination-bullet {
	background: transparent;
	border: 1px solid #333;
	opacity: 1;
}

.featured-products .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background: #333;
}

/* Product Card */

.swiper-slide {
	height: auto;
}

.product-card {
	max-width: 22.239rem;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.product-swiper-beta product-card {
	max-width: 29.5rem;	
}

.product-card img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 1/1;
}

.product-card h4 {
	margin: 1.2rem 0 2.8rem;
	text-align: center;
	font-size: 1.5rem;
}

.product a {
	display: contents;
}

.product-card button, .single_add_to_cart_button {
	display: block;
	width: fit-content;
	margin: auto AUTO 0;
	background: var(--primary);
	color: #fff;
	padding: 1.6rem 2rem;
	font-size: 1.4rem;
	border-radius: 10rem;
	text-transform: uppercase;
	font-weight: 600;
	border: none;
	cursor: pointer;
	width: min(17.2rem, 100%);
	box-shadow: inset 0 -0.2rem 0 rgba(0,0,0,.15);
}

/* Featured Category */

.product-category {
	padding-bottom: 7rem;
}

.product-category__row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	text-align: center;
	row-gap: 2rem;
}

.category-card {
	min-width: 100% !important;
}

.category-card img {
	border-bottom: 0.2rem solid rgba(0, 0, 0, 0.05);
	width: 100%;
	height: auto;
	aspect-ratio: 1/1;
}

.category-card h4 {
	padding: 1rem 1rem 0 1rem;
	font-size: 2rem;
	text-transform: uppercase;
	line-height: 2.8rem;
}

.category-card span {
	font-size: 1.4rem;
	color: #777;
	padding-inline: 1rem;
	display: block;
	line-height: 2.8rem;
}

/* About */

.about {
	padding-bottom: 10rem;
}

.about h2 {
	font-size: 3.6rem;
	margin-bottom: 2rem;
	color: #333;
}

.about h2 * {
	color: inherit;
}

.about h2::before {
	content: "";
	display: block;
	width: 4rem;
	height: 0.2rem;
	background: var(--primary);
	margin-bottom: 2rem;
}

.about .content {
	color: #777;
	font-size: 1.4rem;
	line-height: 1.6;
}

.about .content p:not(:last-child) {
	margin-bottom: 2rem;
}

/* Footer */

.footer {
	background: #0f5985;
	position: relative;
	padding: 7rem 0;
}

.footer::before {
	content: "";
	background-image: url(/wp-content/uploads/2024/08/download.webp);
	inset: 0;
	position: absolute;
	background-position: center center;
	background-size: cover;
	opacity: .2;
}

.footer .container {
	z-index: 2;
	position: relative;
	color: #fff;
}

.footer .row {
	display: grid;
	grid-template-columns: 25fr 20fr 15fr 40fr;
	gap: 2rem;
}

.footer .custom-logo-link {
	display: block;
	height: fit-content;
}

.footer h3 {
	font-size: 2.2rem;
	margin-bottom: 2rem;
}

.footer li {
	list-style: none;
	line-height: 1.6;
}

.footer a:hover {
	text-decoration: underline;
}

.footer-address {
	padding: 3rem;
	background: #1f1f1f;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.6;
	margin-top: 2rem;
}

.footer-contact {
	margin-left: 7rem;
}

.footer-address a {
	display: block;
	margin-top: 2rem;
	width: fit-content;
}

/* About Page */

.about-us .container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.about-us h2 {
	line-height: 1.4;
	font-size: 3.6rem;
}

.about-us h3 {
	margin-bottom: 1rem;
	font-size: 1.4rem;
	color: var(--primary);
}

.about-us .content {
	padding-top: 3.6rem;
	height: fit-content;
	margin-block: auto;
}

.about-us:first-child {
	padding-top: 4rem;
}

.about-us {
	padding-bottom: 8rem;
}

.about-us:nth-child(even) .img {
	order: 1;
}

.about-us .content > div {
	white-space: pre-wrap;
}

.about-us .content > div p {
	color: #777;
	line-height: 1.6;
}

.about-us:nth-child(odd) .content {
	margin-left: 6rem;
}

.about-us:nth-child(even) .content {
	margin-right: 6rem;
}

.about-us h4 {
	font-size: 2.4rem;
	line-height: 1.5;
}

.about-us .content > div:not(:first-child) {
	margin-top: 3rem;
}

.about-us .img img {
	display: block;
}

.about-us .img {
	margin-block: auto;
}

/* Contact Page */

.contact {
	padding: 4rem 0;
}

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

.contact h3, .faq h3 {
	color: #a5a5a5;
	font-size: 1.4rem;
	margin-bottom: 1rem;
	text-transform: uppercase;
	font-weight: 400;
}

.contact .faq {
	padding: 20px 50px 10px 0;
	border-right: 0.1rem solid #0000001b;
}

.contact .contact-form > p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact .contact-form {
	padding: 20px 0 10px 50px;
}

.contact h2 {
	font-size: 2.2rem;
	padding-bottom: 2.5rem;
	text-transform: uppercase;
}

.accordion .accordion__header {
	font-size: 1.5rem;
	padding: 2rem 0;
	font-weight: 700;
	position: relative;
	cursor: pointer;
	transition: all 0.4s;
}

.accordion .accordion__header.open {
	color: var(--primary);
}

.accordion .accordion__body {
	color: #777;
	font-size: 1.5rem;
	padding-bottom: 2rem;
}

.accordion {
	border-bottom: 0.1rem solid #0000001b;
}

.accordion .accordion__header::before {
	content: "";
	width: 0.7rem;
	height: 0.7rem;
	border: 1px solid #00000033;
	position: absolute;
	inset: 0 0.5rem 0 auto;
	margin: auto;
	border-left: 0;
	border-top: 0;
	rotate: 45deg;
	transition: all 0.4s;
}

.accordion .accordion__header.open::before {
	rotate: -135deg;
}

.contact .faq h2 {
	border-bottom: 0.2rem solid #0000001b;
	text-transform: uppercase;
}

.contact .field label {
	font-size: 1.4rem;
	margin-bottom: 0.5rem;
	display: block;
	line-height: 1.6;
}

.contact .field :is(input, textarea) {
	border: 0.2rem solid rgba(0,0,0,0.1);
	padding: 1rem 1.5rem;
	min-height: 4.2rem;
	width: 100%;
	resize: none;
	outline: none;
}

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

.contact .field.full-width {
	grid-column-end: span 2;
}

.contact .field:has(.wpcf7-validates-as-required) label::after {content: "*";color: red;margin-left: 4px;}

.contact .field input[type='submit'] {
	background: #f3f3f3;
	padding: 0.5rem 2rem;
	width: fit-content;
	text-transform: uppercase;
	font-size: 1.3rem;
	border: none;
	letter-spacing: 0.05rem;
	cursor: pointer;
}

.contact .wpcf7-response-output {
	grid-column-end: span 2;
	margin: 0 !important;
	padding: 0.5rem 1.5rem !important;
	font-size: 1.3rem;
}

/* FAQ */

.page-banner {
	padding: 6rem 0;
	text-align: center;
	background: var(--primary);
	color: white;
}

.page-banner h1 {
	font-size: 6.8rem;
	margin-bottom: 1rem;
}

.page-banner .breadcrumb {
	display: flex;
	gap: 0.8rem;
	justify-content: center;
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
}

.page-banner .breadcrumb a:hover {
	text-decoration: underline;
}

section.faq {
	padding: 4rem 0;
}

section.faq .container {
	--container-width: 112rem;
}

.faq .faq-inner {
	padding: 2rem 3rem 1rem;
	border-left: 0.1rem solid #e8e8e8;
	border-right: 0.1rem solid #e8e8e8;
}

/* Catalogue */

.catalogues .container {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 3rem 4rem;
}

.catalogues {
	padding: 7rem 0;
}

.cat-card {
	text-align: center;
	display: flex;
	flex-direction: column;
}

.cat-card h3 {
	padding: 1rem 0.5rem 1.5rem;
	font-size: 1.5rem;
}

.cat-card span {
	display: block;
	background: var(--primary);
	width: fit-content;
	margin: auto auto 0;
	color: white;
	padding: 1rem 2rem;
	font-size: 1.2rem;
	text-transform: uppercase;
	font-weight: 700;
}

/* Default Page */

.default-page {
	padding: 5rem 0;
}

.page-content {
	line-height: 1.5;
	max-width: 100ch;
	margin-inline: auto;
}

.page-content p {
	margin-bottom: 2rem;
}

.page-content :is(h2, h3, h4, h5, h6) {
	margin-bottom: 1rem;
}

.page-content :is(ul, ol) {
	padding-left: 2rem;
	margin-bottom: 1.5rem;
}

/* Not Found */

.no-results.not-found {
    text-align: center;
    padding-block: 6rem;
}

.no-results.not-found h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.no-results.not-found .page-content {
    max-width: 37rem;
}

.no-results.not-found input {
    height: 4rem;
    border: 0.2rem solid rgba(0,0,0,0.1);
    padding: 0 1.5rem;
}

.no-results.not-found input[type="submit"] {
    cursor: pointer;
}

/* Media Query */

@media only screen and (max-width: 991px) and (min-width: 677px) {
	.featured-category .cat-card:last-child {
		display: none;
	}

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

@media only screen and (max-width: 991px) {
	.header-tel {
		display: none;
	}
	.footer .row {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 5rem;
	}

	.footer-menu-1, .footer-menu-2 {
		order: 1;
	}

	.footer-contact {
		margin: 0;
	}

	.footer .custom-logo-link {
		margin: 0;
	}

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

	.contact .container {
		grid-template-columns: 1fr;
		--container-padding: 3rem;
	}

	.contact .faq {
		order: 1;
	}

	.contact .contact-form {
		padding: 2rem 0;
	}
	
	.catalogues .container {
		grid-template-columns: repeat(5, 1fr);
	}
	
	ul.products {
		--col: 3 !important;
	}
	
	.woocommerce-grid-setter {
		display: none !important;
	}
}

@media only screen and (max-width: 767px) {
	.product-category__row {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-us .container {
		grid-template-columns: 1fr;
	}

	.about-us .img {
		order: 1;
	}

	.about-us:nth-child(odd) .content, .about-us:nth-child(even) .content {
		margin: 0;
	}

	.about-us .container {--container-padding: 3rem;}

	.about-us {
		padding-bottom: 4rem;
	}
	
	.catalogues .container {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media only screen and (max-width: 676px) {
	.featured-category .container {
		grid-template-columns: repeat(1, 1fr);
	}

	.cat-card h3 {
		font-size: 2.5rem;
	}

	.footer .row {
		grid-template-columns: repeat(2, 1fr);
		grid-template-areas:
			"a a"
			". ."
			"d d";
	}

	.footer-contact {
		order: 1;
	}

	.footer .custom-logo-link {
		grid-area: a;
	}

	.footer-contact {
		grid-area: d;
	}

	.header .custom-logo-link img {
		max-width: 13rem;
	}

	.header .container > div {
		flex-wrap: wrap;
		gap: 0;
	}

	.header .header-form {
		flex-basis: 100%;
		order: 1;
		margin-top: 2rem;
	}

	.header .search-form input.search-field {
		width: 100%;
		height: 3.8rem;
	}

	.social-media-icons a {
		width: 3rem;
		height: 3rem;
	}

	.topbar {
		padding: 0.5rem 0;
	}

	.toggler {
		display: block;
	}

	.navigation {
		position: fixed;
		height: 100%;
		inset: 0 auto auto 0;
		background: #ffffff;
		z-index: 9;
		padding: 5rem 3rem;
		width: 33rem;
		box-shadow: 0 0.3rem 3rem rgba(0,0,0,0.16);
		isolation: isolate;
		left: -33rem;
		transition: all 0.4s;
		overflow: scroll;
	}

	.navigation.active {
		left: 0;
	}

	.navigation > .mega-menu-wrap > ul {
		flex-direction: column;
	}

	.navigation > .mega-menu-wrap > ul > li {
		padding-block: 0.5rem;
	}

	.navigation > .mega-menu-wrap > ul > li > a {
		font-size: 1.4rem;
	}

	.navigation > .mega-menu-wrap > ul > li.mega-menu-item-has-children::after,
	.navigation > .mega-menu-wrap > ul > li:has(h4) > .mega-sub-menu > li > .mega-block-title::after {
		content: "";
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E%0A");
		width: 2rem;
		height: 2rem;
		aspect-ratio: 1.1;
		position: absolute;
		inset: 0 0 0 auto;
		background-repeat: no-repeat;
		transition: all 0.2s;
	}

	.navigation > .mega-menu-wrap > ul > li.mega-menu-item-has-children {
		position: relative !important;
	}

	.mega-menu-toggle {
		display: block;
		position: fixed;
		inset: 0;
		z-index: -1;
		background: rgba(0, 0, 0, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: all 0.2s;
	}

	.mega-menu-toggle.appear {
		opacity: 1;
		visibility: visible;
	}

	.mega-menu-toggle button {
		width: 3rem;
		height: 3rem;
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='white' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 18 18 6M6 6l12 12' /%3E%3C/svg%3E%0A");
		display: block;
		margin: 1rem 1rem 0 auto;
		background-color: transparent;
		border: none;
	}

	.mega-toggle-blocks-left {
		position: absolute;
		z-index: -1;
		inset: 0 auto 0 0;
		width: 33rem;
		background: white;
	}

	.navigation li .mega-sub-menu {
		position: static;
		box-shadow: none;
		padding: 0 2rem;
		translate: 0;
		opacity: 1;
		visibility: visible;
		transition: none;
	}

	.navigation > .mega-menu-wrap > ul > li:has(h4) > .mega-sub-menu {
		flex-direction: column;
	}

	.navigation > .mega-menu-wrap > ul > li:has(h4) > .mega-sub-menu > li > div {
		padding: 0 2rem;
	}

	.navigation > .mega-menu-wrap > ul > li:has(h4) > .mega-sub-menu {
		padding: 1rem 2rem;
	}

	body:has(.navigation.active) {
		overflow: hidden;
	}

	.navigation > .mega-menu-wrap > ul > li:has(h4) > .mega-sub-menu > li > .mega-block-title {
		line-height: 1.5;
		position: relative;
	}

	.navigation > .mega-menu-wrap > ul > li:has(h4) > .mega-sub-menu > li.active .mega-block-title::after,
	.navigation > .mega-menu-wrap > ul > li.mega-menu-item-has-children.active::after {
		rotate: 180deg;
	}

	.section-header h2 {
		font-size: 2rem;
	}

	.category-card h4 {
		font-size: 1.6rem;
	}

	.category-card span {
		font-size: 1.2rem;
	}

	.hero img {
		height: 23rem;
		object-fit: cover;
        object-position: center;
	}
}

@media only screen and (max-width: 576px) {
	.catalogues .container {
		grid-template-columns: repeat(2, 1fr);
	}
	
	ul.products {
		--col: 2 !important;
	}
}

@media only screen and (max-width: 440px) {
	.cat-card h3 {
		font-size: 1.5rem;
	}
}