/*
 Theme Name:   EmallShop Child Theme
 Theme URI:    http://moomalcrafts.store/
 Description:  EmallShop Responsive Multipurpose WooCommerce Child Theme  
 Author:       PressLayouts Team
 Author URI:   https://presslayouts.com/
 Template:     emallshop
 Version:      1.1.0
 Text Domain:  emallshop-child
*/

/* Theme customization starts here
------------------------------------------------------- */

/* ========================================================
   Responsive Logo Styles for Moomal Crafts
   ======================================================== */
.header-logo {
	display: block;
	line-height: 1;
}
.header-logo .sticky-logo,
.es-sticky .header-logo .logo {
	display: none !important;
}
.header-logo .logo,
.es-sticky .header-logo .sticky-logo {
	display: inline-block !important;
	vertical-align: middle;
	line-height: 1;
}
.header-logo .logo img,
.header-logo .sticky-logo img {
	max-height: 52px;
	width: auto;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	display: inline-block;
	vertical-align: middle;
	transition: all 0.3s ease;
}
.es-sticky .header-logo .sticky-logo img {
	max-height: 42px;
}
.about-us-widget p.about-logo {
	margin-bottom: 15px;
}
.about-us-widget p.about-logo img {
	max-height: 48px;
	width: auto;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	display: inline-block;
}
@media (max-width: 991px) {
	.header .header-logo {
		text-align: center;
		padding: 4px 0;
	}
	.header-logo .logo img,
	.header-logo .sticky-logo img {
		max-height: 42px;
		max-width: 180px;
	}
}
@media (max-width: 767px) {
	.header-middle {
		padding: 6px 0;
	}
	.header .header-logo {
		text-align: center;
		padding: 0;
	}
	.header-logo .logo img,
	.header-logo .sticky-logo img {
		max-height: 38px;
		max-width: 150px;
	}
	.about-us-widget p.about-logo {
		text-align: left;
	}
}
@media (max-width: 480px) {
	.header-logo .logo img,
	.header-logo .sticky-logo img {
		max-height: 34px;
		max-width: 135px;
	}
	.about-us-widget p.about-logo img {
		max-height: 40px;
		max-width: 160px;
	}
}

/* ========================================================
   Contact Form & Policy Pages Styling (MoomalCrafts)
   ======================================================== */
.mc-contact-form {
	background: #ffffff;
	border: 1px solid #e9e9e9;
	border-radius: 4px;
	padding: 24px;
	margin-top: 15px;
	margin-bottom: 20px;
}
.mc-contact-form .mc-form-group {
	margin-bottom: 16px;
}
.mc-contact-form label {
	display: block;
	font-weight: 600;
	color: #212121;
	margin-bottom: 6px;
	font-size: 13px;
}
.mc-contact-form label .required {
	color: #ce5e5c;
}
.mc-contact-form input[type="text"],
.mc-contact-form input[type="email"],
.mc-contact-form input[type="tel"],
.mc-contact-form select,
.mc-contact-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #dcdcdc;
	border-radius: 3px;
	background: #ffffff;
	color: #333333;
	font-size: 14px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mc-contact-form input:focus,
.mc-contact-form select:focus,
.mc-contact-form textarea:focus {
	outline: none;
	border-color: #d3a256;
	box-shadow: 0 0 0 2px rgba(211, 162, 86, 0.18);
}
.mc-contact-form textarea {
	min-height: 120px;
	resize: vertical;
}
.mc-contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 8px;
}
.mc-btn-primary {
	background-color: #d3a256;
	color: #ffffff !important;
	border: none;
	padding: 11px 22px;
	border-radius: 3px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: background-color 0.2s ease;
}
.mc-btn-primary:hover {
	background-color: #dd9933;
}
.mc-btn-whatsapp {
	background-color: #25d366;
	color: #ffffff !important;
	border: none;
	padding: 11px 18px;
	border-radius: 3px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
.mc-btn-whatsapp:hover {
	background-color: #1ebe5b;
	color: #ffffff !important;
}
.mc-form-status {
	display: none;
	margin-top: 15px;
	padding: 12px 15px;
	border-radius: 3px;
	font-size: 13px;
	line-height: 1.5;
}
.mc-form-status.is-success {
	display: block;
	background: #edf7ed;
	border: 1px solid #b7dfb9;
	color: #1e4620;
}
.mc-form-status.is-error {
	display: block;
	background: #fdecea;
	border: 1px solid #f5c2c0;
	color: #611a15;
}
.mc-form-status.is-info {
	display: block;
	background: #fff8e6;
	border: 1px solid #ebd19a;
	color: #664d03;
}
.mc-policy-content {
	line-height: 1.75;
	color: #4a4a4a;
}
.mc-policy-content h1 {
	font-size: 28px;
	margin-bottom: 10px;
	color: #212121;
}
.mc-policy-meta {
	display: inline-block;
	background: #faf5eb;
	border-left: 3px solid #d3a256;
	padding: 8px 14px;
	margin-bottom: 20px;
	font-size: 13px;
	color: #555555;
}
.mc-policy-content h2 {
	font-size: 20px;
	margin-top: 26px;
	margin-bottom: 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid #eeeeee;
	color: #212121;
}
.mc-policy-content h3 {
	font-size: 16px;
	margin-top: 18px;
	margin-bottom: 8px;
	color: #333333;
}
.mc-policy-content ul,
.mc-policy-content ol {
	margin-bottom: 16px;
	padding-left: 22px;
}
.mc-policy-content li {
	margin-bottom: 6px;
}
.mc-policy-highlight {
	background: #fcf9f2;
	border: 1px solid #ecdcb9;
	border-radius: 4px;
	padding: 16px 18px;
	margin: 18px 0;
}
.mc-policy-table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0 20px;
}
.mc-policy-table th,
.mc-policy-table td {
	border: 1px solid #e5e5e5;
	padding: 10px 12px;
	text-align: left;
}
.mc-policy-table th {
	background: #faf5eb;
	color: #212121;
	font-weight: 600;
}

/* ========================================================
   Client-Side Cart Toast & Checkout UI (MoomalCrafts)
   ======================================================== */
.mc-cart-toast {
	position: fixed;
	right: 20px;
	bottom: 24px;
	z-index: 99999;
	background: #212121;
	color: #ffffff;
	padding: 14px 18px;
	border-radius: 4px;
	border-left: 4px solid #d3a256;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	max-width: 360px;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	line-height: 1.4;
}
.mc-cart-toast a {
	color: #f3c978 !important;
	font-weight: 700;
	text-decoration: underline;
	white-space: nowrap;
}
.mc-checkout-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 20px;
}
.mc-checkout-left {
	flex: 1 1 560px;
}
.mc-checkout-right {
	flex: 1 1 360px;
}
.mc-card {
	background: #ffffff;
	border: 1px solid #e9e9e9;
	border-radius: 4px;
	padding: 22px;
	margin-bottom: 22px;
}
.mc-card h2 {
	font-size: 19px;
	margin-top: 0;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid #f2e5cd;
	color: #212121;
}
.mc-cart-table {
	width: 100%;
	border-collapse: collapse;
}
.mc-cart-table th,
.mc-cart-table td {
	padding: 12px 10px;
	border-bottom: 1px solid #eeeeee;
	vertical-align: middle;
	text-align: left;
}
.mc-cart-table th {
	background: #faf5eb;
	color: #212121;
	font-weight: 600;
	font-size: 13px;
}
.mc-cart-item-info {
	display: flex;
	align-items: center;
	gap: 12px;
}
.mc-cart-item-info img {
	width: 58px;
	height: 58px;
	object-fit: cover;
	border-radius: 3px;
	border: 1px solid #e9e9e9;
	flex-shrink: 0;
}
.mc-qty-box {
	display: inline-flex;
	align-items: center;
	border: 1px solid #dcdcdc;
	border-radius: 3px;
	overflow: hidden;
}
.mc-qty-box button {
	width: 28px;
	height: 28px;
	padding: 0;
	background: #f7f7f7 !important;
	color: #212121 !important;
	border: none;
	font-weight: 700;
	cursor: pointer;
}
.mc-qty-box button:hover {
	background: #d3a256 !important;
	color: #ffffff !important;
}
.mc-qty-box span {
	min-width: 30px;
	text-align: center;
	font-weight: 600;
	font-size: 13px;
	color: #212121;
}
.mc-remove-btn {
	background: transparent !important;
	color: #ce5e5c !important;
	border: none;
	font-size: 18px;
	cursor: pointer;
	padding: 4px 8px;
}
.mc-remove-btn:hover {
	color: #a93226 !important;
	background: transparent !important;
}
.mc-form-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.mc-form-col {
	flex: 1 1 220px;
}
.mc-payment-option {
	border: 1px solid #e2e2e2;
	border-radius: 4px;
	padding: 14px 16px;
	margin-bottom: 12px;
	cursor: pointer;
	background: #ffffff;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.mc-payment-option.is-selected {
	border-color: #d3a256;
	background: #fcf9f2;
}
.mc-payment-option label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: #212121;
	cursor: pointer;
	margin: 0;
}
.mc-payment-desc {
	font-size: 12.5px;
	color: #666666;
	margin: 8px 0 0 24px;
	line-height: 1.5;
}
.mc-paytm-badge {
	display: inline-block;
	background: #002970;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 3px;
	margin-left: 6px;
	letter-spacing: 0.3px;
}
.mc-summary-row {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
}
.mc-summary-total {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	font-size: 17px;
	font-weight: 700;
	color: #212121;
	border-top: 2px solid #d3a256;
	margin-top: 8px;
}
.mc-quick-products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-top: 18px;
}
.mc-quick-card {
	border: 1px solid #e9e9e9;
	border-radius: 4px;
	padding: 14px;
	background: #ffffff;
	text-align: center;
}
.mc-quick-card img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	border-radius: 3px;
	margin-bottom: 10px;
}
.mc-quick-card h4 {
	font-size: 14px;
	margin: 6px 0;
	min-height: 36px;
}
.mc-quick-card .mc-quick-price {
	color: #d3a256;
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 10px;
}
.mc-order-confirmed {
	background: #f0faf2;
	border: 1px solid #a8dfb3;
	border-radius: 4px;
	padding: 24px;
}
.mc-order-confirmed h2 {
	color: #1e6b34;
	margin-top: 0;
}
@media (max-width: 767px) {
	.mc-cart-toast {
		left: 12px;
		right: 12px;
		bottom: 72px;
		max-width: none;
	}
	.mc-cart-table thead {
		display: none;
	}
	.mc-cart-table tr {
		display: block;
		border: 1px solid #eeeeee;
		margin-bottom: 12px;
		padding: 10px;
		border-radius: 4px;
	}
	.mc-cart-table td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		border: none;
		padding: 6px 4px;
	}
}
