/* === DESKTOP FIRST === */

/* xl <= Extra extra large (xxl) */
@media (max-width : 1400px) {
	.flex-grid-box__item {
		height: 400px;
	}

	.html-content p {
		font-size: 15px;
	}

	.flex-grid-box__title {
		font-size: 22px;
	}

	.flex-grid-box__item--is-text {
		padding: 30px;
	}

	.product-card {
		z-index: 2;
		position: relative;
	}
}

/* lg <= Extra large (xl) */
@media (max-width : 1200px) {
	.modal {
		top: 5%;
	}

	.flex-grid-box__item {
		width: 50%;
	}

	.flex-grid-box__item {
		height: 350px;
	}

	.card-box__text {
		font-size: 17px;
	}

	.section-title {
		font-size: 35px;
	}

	.form__checkbox {
		display: flex;
	}

	.form__checkbox label {
		font-size: 14px;
		margin-left: 10px;
	}

	.notice__title {
		font-size: 30px;
	}

	.notice__subtitle {
		font-size: 14px;
	}
}

/* md <= Large (lg) */
@media (max-width : 992px) {
	.phone {
		width: 200px;
	}

	.offer__top::after, .offer__top::before {
		display: none;
	}

	.offer__title {
		font-size: 50px;
	}

	.offer__subtitle {
		font-size: 18px;
	}

	.offer {
		margin: 70px 0 30px 0;
	}

	.main-screen-logo {
		display: none;
	}

	.modal-inset {
		padding: 30px;
	}

	.modal-body__title {
		font-size: 20px;
	}

	.modal-body__subtitle {
		font-size: 14px;
	}

	.about-image {
		width: 100%;
		margin-left: 0;
	}

	.about-image img {
		width: 100%;
		height: auto;
	}

	.about-image::after {
		display: none;
	}

	.catalog-background-image {
		z-index: -1;
	}

	.catalog-background-image_right {
		top: -10%;
	}

	.form__checkbox-group {
		flex-direction: column;
	}

	.form__input-group, #wpcf7-f30-o1 .form__input-group p  {
		flex-direction: column;
	}

	.form__input, .form__button, #wpcf7-f30-o1 .form__input-group span {
		width: 100%;
	}

	#wpcf7-f30-o1  .form__checkbox-group span {
		margin: 0;
	}

	#wpcf7-f30-o1  .form__checkbox {
		margin: 0;
	}

	#wpcf7-f30-o1 .wpcf7-spinner {
		width: 30px !important; 
		height: 30px;
	}

	.notice__title {
		font-size: 24px;
	}

	.notice {
		padding-bottom: 90px;
	}

	.footer__text, .footer__link {
		font-size: 15px;
	}

	.form__checkbox {
		margin-bottom: 5px;
	}
}

/* sm <= Medium (md) */
@media (max-width : 768px) {
	.offer__title {
		font-size: 38px;
	}

	.offer__subtitle {
		font-size: 14px;
	}

	.dist-offer__title {
		font-size: 16px;
	}

	.section-title {
		font-size: 28px;
		margin-bottom: 20px;
	}

	.flex-grid-box__item {
		width: 100%;
		height: auto;
	}

	.flex-grid-box__item--is-image {
		height: 200px;
	}

	.section-title--with-subtitle {
		margin-bottom: 5px;
	}

	.section-subtitle {
		font-size: 15px;
	}

	.product-image img {
		max-width: 100px;
	}

	.product-card {
		align-items: flex-start;
	}

	.product-content {
		padding: 0;
	}

	.product-text {
		font-size: 15px;
	}

	.notice__subtitle {
		max-width: 300px;
		margin: auto;
	}

	.mobile-logo {
		display: flex !important;
		justify-content: center;
		margin-bottom: 30px;
	}

	.mobile-logo img {
		max-width: 300px;
		height: auto;
	}
}

/* xs <= Small (sm) */
@media (max-width : 576px) {
	.main-screen__border {
		display: none;
	}

	.main-screen {
		padding: 0;
	}

	.menu-btn__text {
		display: none;
	}

	.phone__icon {
		display: none;
	}

	.phone {
		width: auto;
		padding: 5px 15px;
	}

	.menu-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 50px;
		height: 50px;
	}

	.menu-btn__icon {
		margin-right: 0;
	}

	.offer__text {
		font-size: 12px;
		white-space: nowrap;
	}

	.offer__title {
		font-size: 25px;
	}

	.offer__subtitle {
		font-size: 11px;
	}

	.dist-offer__title {
		font-size: 12px;
	}

	.flex-grid-box__item {
		background-position: top;
	}

	.product-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.product-image {
		margin-right: 0;
		margin-bottom: 15px;
	}

	.card-box__text {
		font-size: 14px;
	}

	.section_mt80 {
		margin-top: 40px;
	}

	.form-box {
		padding: 30px;
	}

	.form-box__title {
		font-size: 22px;
	}

	.form-box__subtitle {
		font-size: 14px;
	}

	.form__checkbox {
		margin: 0;
		margin-bottom: 5px;
		text-align: left;
	}

	.notice__title {
		font-size: 17px;
	}

}


/* === MOBILE FIRST === */

/* Custom (xs) */
@media (min-width : 0) {

}

/* Small (sm) */
@media (min-width : 576px) {

}

/* Medium (md) */
@media (min-width : 768px) {

}

/* Large (lg) */
@media (min-width : 992px) {

}

/* Extra large (xl) */
@media (min-width : 1200px) {
	.text {
		font-size: 18px;
	}
}

/* Extra extra large (xxl) */
@media (min-width : 1400px) {
	.text {
		font-size: 22px;
	}
}
