/* Mutlu Giyim content in Abani's original home sections. */
.mg-home section[id] { scroll-margin-top: 96px; }
.mg-home .mg-slider .mg-hero { padding: 0; height: clamp(430px, 47.8vw, 690px); min-height: 0; }
.mg-home .mg-hero-copy {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 24px;
	height: 100%;
	grid-template-rows: minmax(0, 1fr);
}

.mg-home .mg-hero-copy::before, .mg-home .mg-hero-copy::after, .mg-deal-content::before, .mg-deal-content::after { content: none; }

.mg-home .mg-hero-text { padding: 40px 0 68px; }
.mg-home .mg-hero-text h1, .mg-home .mg-hero-text h2 {
	max-width: 13ch;
	font-family: "Montserrat", Arial, sans-serif;
	font-size: clamp(46px, 6.2vw, 88px);
	text-transform: uppercase;
}

.mg-home .mg-hero-text .btn-shop {
	margin-top: 8px;
	padding: 0 20px;
	min-height: 44px;
	font-size: 16px;
}

.mg-hero-photos { align-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; min-height: 0; }
.mg-hero-photos img { width: 100%; height: 100%; min-width: 0; min-height: 0; max-height: 690px; object-fit: cover; object-position: 50% 44%; }
.mg-hero-photos img + img { align-self: end; height: 78%; }
.mg-hero-photos:has(img:only-child) { grid-template-columns: minmax(0, 1fr); }
.mg-hero-photos img:only-child { object-fit: contain; object-position: center bottom; }

.mg-home .pa-lines { display: grid; grid-template-columns: 690fr 470fr; gap: 10px; padding: 0; }
.mg-home .pa-lines .banner-inner, .mg-home .pa-lines .size1of2, .mg-home .pa-lines .size1of3 { float: none; width: 100%; margin: 0; }
.mg-home .banner1-1, .mg-home .banner1-2 { display: grid; gap: 10px; }
.mg-home .banner1-1 { grid-template-columns: 270fr 410fr; }
.mg-home .banner1-2 { grid-template-columns: 410fr 270fr; margin-top: 10px; }
.mg-home .banner-inner-content { margin: 0; }
.mg-home .banner-inner-content a { display: block; aspect-ratio: 1; }
.mg-home .banner-inner-content a img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 39%; }
.mg-home .banner1-1 .size1of3 a, .mg-home .banner1-2 .size1of3 a { aspect-ratio: 410 / 270; }
.mg-home .banner2 .banner-inner, .mg-home .banner2 .banner-inner-content, .mg-home .banner2 a { height: 100%; }
.mg-home .banner2 a { aspect-ratio: 470 / 550; }
.mg-home .banner-inner-content span {
	position: absolute;
	inset: auto 0 0;
	padding: 28px 14px 12px;
	background: linear-gradient(transparent, #242628e8);
	color: #fff;
	font-weight: 600;
	font-size: clamp(15px, 1.45vw, 22px);
	line-height: 1.1;
}

.mg-home .block-custom .block-title h2 { padding-bottom: 20px; }
.mg-home .block-custom .block-title .title-top { font-family: "Montserrat", Arial, sans-serif; font-size: clamp(25px, 3.5vw, 39px); }
.mg-home .block-custom.block-custom1 .magictabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 15px 0 12px !important; }
.mg-home .block-custom1 .featured-product-tab .magictabs .item button.title {
	display: block;
	min-height: 44px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid transparent;
	color: var(--mg-ink);
	padding: 4px 12px;
	font: inherit;
	font-weight: 600;
}
.mg-home .block-custom1 .featured-product-tab .magictabs .item button.title::after { content: none; }
.mg-home .featured-product-tab .magictabs .item .title:hover, .mg-home .featured-product-tab .magictabs .item .title[aria-pressed="true"] { color: var(--mg-accent); border-bottom-color: currentColor; }
.mg-home .block-custom .content-products { margin-top: 0; }
.mg-home-rail {
	--mg-rail-card: calc((100% - 40px) / 3);
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: var(--mg-rail-card);
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding: 4px 1px 8px;
	margin: 0;
}
.mg-home .mg-home-rail .mg-product-card { scroll-snap-align: start; border-color: #e2e3e3; text-align: center; }
.mg-home .mg-home-rail .mg-product-card:hover { border-color: #b86f6f; }
.mg-home .mg-home-rail .mg-product-card img { aspect-ratio: 278 / 355; object-fit: contain; background: #eae3d9; }
.mg-home .mg-product-card .product-info h2 { margin: 0 0 4px; font: 600 17px/1.2 "Source Sans Pro", Arial, sans-serif; }
.mg-home .mg-product-card .product-info p { margin: 0 0 4px; }
.mg-home .mg-product-card .product-info { padding: 13px 8px 11px; }
.mg-home .mg-price { font-size: 17px; }

.mg-rail-controls { display: flex; justify-content: center; gap: 6px; margin: 0 0 12px; }
.mg-rail-controls button {
	width: 36px;
	height: 36px;
	border: 1px solid #242628;
	background: #fff;
	color: var(--mg-ink);
	font-size: 19px;
	line-height: 1;
}
.mg-rail-controls button:disabled { opacity: .38; }
.mg-rail-controls button:not(:disabled):hover { color: #fff; background: #b86f6f; border-color: #b86f6f; }

.mg-home .deal-of { background: #edd9cb url("../images/mutlu-kumas.webp") left center / cover; }
.mg-home .deal-of .deal { position: static; }
.mg-deal-content { display: grid; grid-template-columns: 1.4fr .6fr; align-items: center; min-height: 300px; padding-top: 20px; padding-bottom: 20px; }
.mg-home .mg-deal-content .heading .title { margin: 0 0 12px; font-size: clamp(26px, 4vw, 50px); line-height: 1.15; }
.mg-home .mg-deal-content p { margin: 0 0 4px; }
.mg-home .mg-deal-content .shop-now a { margin-top: 16px; background: #fff8f2; }
.mg-home .mg-deal-content .shop-now a:hover { background: var(--mg-accent); }
.mg-home .deal-of .mg-deal-photo { justify-self: center; display: block; width: min(100%, 230px); }
.mg-home .deal-of .mg-deal-photo img { position: static; width: 100%; max-width: 100%; height: 270px; object-fit: cover; object-position: 50% 35%; }

.mg-home .block_trending .mg-model-note { margin: 16px 0 0; }
.mg-home .mg-more { display: inline-block; color: var(--mg-accent); margin: 18px 0 32px; }
.mg-home .policy { background: #f4eeee; }
.mg-home .support-footer-inner { padding: 50px 0 34px; }
.mg-home .support-info .info-title { padding: 14px 0 7px; }
.mg-home .support-info .info-details { margin: 0 0 16px; font-weight: 400; }
.mg-home .support-info .info-title a:hover { color: var(--mg-accent); }

.mg-home-posts { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(15px, 4vw, 60px); text-align: left; }
.mg-home-posts .blog-image a, .mg-home-posts .blog-image img { display: block; width: 100%; }
.mg-home-posts .blog-image img { aspect-ratio: 540 / 290; height: auto; object-fit: cover; object-position: 50% 33%; }
.mg-home .blog_short_text { display: flex; gap: 12px; padding: 12px; align-items: start; position: static; }
.mg-home .blog_short_text .blog_text, .mg-home .blog_short_text .icon-blog { position: static; width: auto; float: none; padding: 0; text-align: left; }
.mg-home .blog_short_text h3 { margin: 0 0 3px; font-size: 20px; }
.mg-home .blog_short_text time { color: #6a625f; font-size: 14px; }
.mg-home .blog_short_text p { margin: 5px 0; }
.mg-home .blog_short_text .blog_text > a { color: var(--mg-accent); }

.mg-home .mage-custom { padding: 15px; }
.mg-home .mage-custom h3 { margin: 0 0 8px; font-size: 18px; padding-bottom: 10px; border-bottom: 1px solid #dedede; }
.mg-home-small .mg-product-card { border: 0; border-bottom: 1px solid #ececec; }
.mg-home-small .mg-product-card:last-child { border-bottom: 0; }
.mg-home-small .mg-product-card a { display: flex; gap: 10px; align-items: center; padding: 7px 0; }
.mg-home-small .mg-product-card img { width: 58px; height: 74px; object-fit: cover; object-position: center 40%; }
.mg-home .mg-home-small .mg-product-card .product-info { padding: 0; }
.mg-home .mg-home-small .mg-product-card .product-info h2 { font-size: 15px; }

.mg-home-links { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 24px 0; list-style: none; text-align: center; }
.mg-home-links li { border-right: 1px solid #e2e3e3; min-width: 0; }
.mg-home-links li:last-child { border: 0; }
.mg-home-links a { display: block; padding: 12px 4px; font-size: 16px; font-weight: 600; }

.mg-home-follow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 22px; padding-top: 18px; padding-bottom: 18px; color: #fff; }
.mg-home-follow strong { display: block; font-size: 23px; }
.mg-home-follow p { margin: 0; }
.mg-home .mg-home-follow a { padding: 10px 14px; border: 1px solid #fff; color: #fff; }
.mg-home .mg-home-follow a:hover { background: #fff; color: var(--mg-accent); }
.mg-home .block-footer-bottom .mg-home-footer { color: #fff; padding-inline: 15px; }
.mg-home .mg-home-footer h3 { color: #fff; margin: 0 0 8px; font-size: 18px; }

@media (max-width: 991px) {
	.mg-home .mg-hero-photos img { max-height: 515px; }
}
@media (max-width: 767px) {
	.mg-home .mg-slider .mg-hero { height: auto; }
	.mg-home .mg-hero-copy { width: 100%; gap: 0; grid-template-columns: 1fr; grid-template-rows: auto; padding: 0 0 62px; }
	.mg-home .mg-hero-photos { grid-row: 1; height: clamp(190px, 51vw, 300px); overflow: hidden; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; background: #e4d2bd; }
	.mg-home .mg-hero-photos img { max-height: 100%; object-fit: contain; object-position: center bottom; }
	.mg-home .mg-hero-photos img + img { height: 100%; }
	.mg-home .mg-hero-text { padding: 20px 15px 0; }
	.mg-home .mg-hero-text h1, .mg-home .mg-hero-text h2 { font-size: clamp(34px, 7.5vw, 50px); }
	.mg-home .mg-hero-text p { margin: 0 0 8px; }
	.mg-home .mg-hero-text .btn-shop { margin-top: 0; }
	.mg-home .pa-lines { margin-top: 24px; }
	.mg-home .block-custom .block-title { padding-top: 40px; }
	.mg-home-rail, .mg-home-rail-five { --mg-rail-card: calc((100% - 26px) / 3); gap: 13px; }
	.mg-home .support-footer-inner { padding: 25px 0 15px; }
	.mg-home .support-footer-inner > div + div { margin-top: 12px; }
	.mg-home .mg-home-footer section + section { margin-top: 20px; }
	.mg-home-links { grid-template-columns: repeat(3, 1fr); }
	.mg-home-links li:nth-child(3n) { border: 0; }
	.mg-home .bottom > section + section { margin-top: 12px; }
}
@media (max-width: 520px) {
	.mg-home .pa-lines, .mg-home-posts { grid-template-columns: 1fr; }
	.mg-home .banner2 a { aspect-ratio: 2 / 1; }
	.mg-home-rail, .mg-home-rail-five { --mg-rail-card: calc((100% - 12px) / 2); gap: 12px; }
	.mg-deal-content { grid-template-columns: 1fr; gap: 12px; }
	.mg-home .deal-of .mg-deal-photo img { height: 190px; }
}

