/* MuslimFashion theme for OpenCart 3 — recreates the look of the original 1.5 theme */
@font-face {
	font-family: 'SegoePrint';
	src: url('segoepr.woff') format('woff'), url('segoepr.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	--mf-pink: #fc358a;
	--mf-pink-dark: #e01f74;
	--mf-plum: #513847;
	--mf-text: #444;
	--mf-page-w: 1000px;
}

body.mf {
	background: #d9c6a8 url(../image/bg-desert.jpg) no-repeat center center fixed;
	background-size: cover;
	color: var(--mf-text);
	font-family: Tahoma, Arial, Verdana, sans-serif;
	font-size: 13px;
}
body.mf a { color: var(--mf-plum); }
body.mf a:hover, body.mf a:focus { color: var(--mf-pink); }

/* ---------- Header ---------- */
#mf-header {
	background: url(../image/uzor.png) center bottom repeat-x;
	height: 145px;
}
.mf-header-inner {
	position: relative;
	max-width: var(--mf-page-w);
	height: 100%;
	margin: 0 auto;
	padding: 10px 20px 0;
}
#avatar-image {
	position: absolute;
	left: 20px;
	top: 10px;
	width: 125px;
	height: 125px;
	border: 2px solid #fff;
	background: url(../image/avatarka.png) no-repeat;
}
#mf-header #logo {
	position: absolute;
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
}
#mf-header #logo a {
	display: inline-block;
	border: 2px solid var(--mf-pink);
	padding: 10px 10px 0;
	background: #fff;
	border-radius: 10px;
}
#mf-header #logo img { display: block; max-width: 290px; height: auto; }
#mf-header #logo h1 { margin: 0; font-family: 'SegoePrint', Tahoma, sans-serif; }

#podlojka {
	position: absolute;
	right: 20px;
	top: 0;
	width: 210px;
	padding: 10px 12px 12px;
	background: url(../image/podlojka.png);
	text-align: center;
}
#podlojka #cart { margin: 0 0 6px; }
#podlojka #cart > .btn {
	width: 100%;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--mf-text);
	font-size: 12px;
	text-shadow: none;
	padding: 2px 0;
	white-space: normal;
}
#podlojka #cart .dropdown-menu { left: auto; right: 0; min-width: 320px; }
#mf-account { font-size: 11px; margin-bottom: 8px; }
#mf-account a { text-decoration: underline; }
#podlojka #search { margin: 0; }
#podlojka #search .input-lg { height: 30px; font-size: 12px; padding: 4px 8px; border-radius: 0; }
#podlojka #search .btn-lg { padding: 4px 10px; font-size: 13px; line-height: 1.4; border-radius: 0; }

/* ---------- Menu ---------- */
#mf-menu-holder {
	background: #000;
	border-bottom: 4px solid var(--mf-pink);
}
#mf-menu-holder #menu {
	max-width: var(--mf-page-w);
	min-height: 32px;
	margin: 0 auto;
	padding: 0 0 0 18px;
	background: #000;
	border: 0;
	border-radius: 0;
}
#mf-menu-holder #menu .nav > li > a {
	font-family: 'SegoePrint', Tahoma, sans-serif;
	font-size: 14px;
	color: #fff;
	line-height: 32px;
	padding: 0 14px;
	text-shadow: none;
	background: transparent;
}
#mf-menu-holder #menu .nav > li > a:hover,
#mf-menu-holder #menu .nav > li.open > a { color: var(--mf-pink); background: transparent; }
#mf-menu-holder #menu .home_icon {
	display: block;
	width: 24px;
	height: 32px;
	background: url(../image/flower-white.png) center center no-repeat;
}
#mf-menu-holder #menu .dropdown-menu {
	background: #fff;
	border: 0;
	border-top: 3px solid var(--mf-pink);
	border-radius: 0 0 6px 6px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
#mf-menu-holder #menu .dropdown-inner a { color: var(--mf-plum); font-family: Tahoma, Arial, sans-serif; }
#mf-menu-holder #menu .dropdown-inner a:hover { color: #fff; background: var(--mf-pink); }
#mf-menu-holder #menu .see-all { color: var(--mf-plum); }
#mf-menu-holder #menu .see-all:hover { background: var(--mf-pink); color: #fff; }
#mf-menu-holder #menu #category {
	font-family: 'SegoePrint', Tahoma, sans-serif;
	color: #fff;
	line-height: 40px;
	padding-left: 6px;
}
#mf-menu-holder #menu .btn-navbar {
	background: var(--mf-pink);
	border-color: var(--mf-pink);
	color: #fff;
	text-shadow: none;
}

/* ---------- Page container ---------- */
#mf-shirma {
	max-width: var(--mf-page-w);
	height: 21px;
	margin: 0 auto;
	background: url(../image/shirma-top.png) repeat-x;
}
#mf-page {
	max-width: var(--mf-page-w);
	margin: 0 auto 20px;
	padding: 20px 20px 10px;
	background: #fff url(../image/bg-white.png);
	box-shadow: 0 0 5px rgba(0, 0, 0, .1);
}
#mf-page > .container,
#mf-page .container { width: auto; max-width: 100%; padding: 0; }
#mf-page .breadcrumb {
	background: transparent;
	border: 0;
	margin: 0 0 15px;
	padding: 0;
	font-size: 11px;
	text-transform: uppercase;
}
#mf-page .breadcrumb > li { text-shadow: none; padding: 0 16px 0 0; }
#mf-page .breadcrumb > li:after { display: none; }
#mf-page .breadcrumb > li + li:before { content: "»"; color: #ccc; padding-right: 8px; }

/* Headings like the original: handwritten, plum, pink underline with a flower */
#mf-page #content > h1,
#mf-page #content > h2,
#mf-page aside h3,
#mf-page #content > h3,
#mf-page .mf-heading {
	display: inline-block;
	font-family: 'SegoePrint', Tahoma, sans-serif;
	font-weight: normal;
	color: var(--mf-plum);
	border-bottom: 2px solid var(--mf-pink);
	padding: 0 10px 4px 22px;
	margin: 10px 0 18px;
	background: url(../image/flower.png) left 60% no-repeat;
}
#mf-page #content > h1 { font-size: 24px; }
#mf-page #content > h2, #mf-page #content > h3, #mf-page aside h3 { font-size: 18px; }
#mf-page h4, #mf-page h4 a { color: var(--mf-plum); }

/* Left/right columns */
#mf-page aside .list-group a { color: var(--mf-text); border-color: #eee; border-radius: 0; }
#mf-page aside .list-group a.active,
#mf-page aside .list-group a:hover { background: #fdf0f6; color: var(--mf-pink); border-color: #f6d3e3; }

/* Products */
#mf-page .product-thumb { border-color: #eee; background: #fff; }
#mf-page .product-thumb:hover { border-color: #f6c3d9; box-shadow: 0 2px 10px rgba(252, 53, 138, .12); }
#mf-page .product-thumb .button-group { background: #faf6f8; border-top-color: #eee; }
#mf-page .product-thumb .button-group button { color: var(--mf-plum); }
#mf-page .product-thumb .button-group button:hover { background: var(--mf-pink); color: #fff; }
#mf-page .price { color: var(--mf-plum); font-weight: bold; }
#mf-page .price-new { color: var(--mf-pink); }

/* Buttons */
body.mf .btn-primary,
body.mf #button-cart {
	background: var(--mf-pink);
	background-image: none;
	border-color: var(--mf-pink-dark);
	color: #fff;
	text-shadow: none;
}
body.mf .btn-primary:hover, body.mf .btn-primary:focus,
body.mf #button-cart:hover, body.mf #button-cart:focus { background: var(--mf-pink-dark); border-color: var(--mf-pink-dark); }
body.mf .pagination > .active > a, body.mf .pagination > .active > span { background: var(--mf-pink); border-color: var(--mf-pink); }
body.mf .nav-tabs > li.active > a { color: var(--mf-plum); border-top: 2px solid var(--mf-pink); }

/* ---------- Footer ---------- */
#mf-footer {
	margin-top: 0;
	padding-top: 25px;
	background: #2b2027 url(../image/dark-shirma.png);
	border-top: 4px solid var(--mf-pink);
	color: #ddd;
}
#mf-footer h5 { color: #fff; font-family: 'SegoePrint', Tahoma, sans-serif; font-size: 15px; }
#mf-footer a { color: #e6dbe1; }
#mf-footer a:hover { color: var(--mf-pink); }
#mf-footer hr { border-top-color: rgba(255, 255, 255, .15); border-bottom: 0; }
#mf-footer .mf-copy { color: #bbb; font-size: 12px; }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	#mf-header { height: auto; background-position: center top; }
	.mf-header-inner { padding: 12px 12px 14px; text-align: center; }
	#mf-header #logo { position: static; transform: none; margin: 0 auto 12px; display: inline-block; }
	#mf-header #logo img { max-width: 240px; }
	#podlojka { position: static; width: auto; max-width: 360px; margin: 0 auto; }
	#mf-menu-holder #menu { padding: 0 10px; }
	#mf-menu-holder #menu .nav > li > a { line-height: 36px; }
	#mf-shirma { display: none; }
	#mf-page { padding: 14px 12px 6px; margin-bottom: 0; }
}
@media (min-width: 768px) and (max-width: 991px) {
	#avatar-image { display: none; }
	#mf-header #logo { left: 20px; transform: none; }
}

/* ---------- Home page blocks ---------- */
.mf-home-top { margin-bottom: 15px; }
.mf-home-top img, .mf-home-tiles img { display: block; width: 100%; height: auto; }
#mysearch {
	height: 100%;
	min-height: 210px;
	padding: 10px 12px 12px;
	border: 1px solid #e3d6dc;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
	text-align: center;
}
#mysearch h5 {
	margin: 0 0 8px;
	padding-bottom: 6px;
	font-size: 12px;
	line-height: 1.35;
	color: var(--mf-plum);
	border-bottom: 2px solid var(--mf-pink);
	background: url(../image/flower.png) left bottom no-repeat;
}
#mysearch label { display: block; margin: 6px 0 3px; font-size: 11px; font-weight: normal; color: #777; }
#mysearch .form-control { border-radius: 0; }
#mysearch .btn { margin-top: 10px; border-radius: 0; }
#mf-slider { border: 1px solid #e3d6dc; padding: 3px; background: #fff; }
#mf-slider .carousel-indicators { bottom: 4px; }
#mf-slider .carousel-indicators li { border-color: #fff; }
#mf-slider .carousel-indicators .active { background: var(--mf-pink); border-color: var(--mf-pink); }
.mf-side-banner { display: block; border: 1px solid #e3d6dc; padding: 3px; background: #fff; }
.mf-home-tiles { margin-bottom: 20px; }
.mf-home-tiles a { display: block; overflow: hidden; }
.mf-home-tiles a img { transition: transform .3s ease; }
.mf-home-tiles a:hover img { transform: scale(1.03); }

/* ---------- News ---------- */
.mf-news-grid > div { margin-bottom: 18px; }
.mf-news-grid a { display: block; color: var(--mf-text); text-decoration: underline; line-height: 1.35; }
.mf-news-grid a:hover { color: var(--mf-pink); }
.mf-news-grid img { margin-bottom: 8px; border: 1px solid #eee; }
.mf-news-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px dashed #e6d6de; }
.mf-news-thumb { flex: 0 0 228px; }
.mf-news-thumb img { width: 100%; height: auto; border: 1px solid #eee; }
.mf-news-body h4 { margin: 0 0 4px; font-size: 16px; }
.mf-news-date { color: #999; font-size: 11px; margin-bottom: 6px; }
.mf-more { color: var(--mf-pink) !important; font-size: 12px; }
.mf-news-text img { max-width: 100%; height: auto; }
.mf-news-side .mf-sub { padding-left: 26px; font-size: 12px; }
@media (max-width: 767px) {
	.mf-home-top > div, .mf-home-tiles > div { margin-bottom: 12px; }
	#mysearch { min-height: 0; }
	.mf-news-row { flex-direction: column; }
	.mf-news-thumb { flex-basis: auto; }
}

/* Mobile fixes: keep Bootstrap rows inside the page, smaller side banner */
@media (max-width: 767px) {
	#mf-page { padding-left: 15px; padding-right: 15px; overflow-x: hidden; }
	.mf-side-banner { max-width: 240px; margin: 0 auto; }
}
