/*
Theme Name: Pawly Child
Template:   pawly
Theme URI: https://pawly.wpthemeverse.com
Description: Responsive Pet Store WooCommerce Theme
Author: Siddhi Infosoft
Author URI: https://siddhiinfosoft.com
Version: 1.5.1
Text Domain: pawly-child
*/

/* Keep the Marmaduke menu on one row at common desktop widths. */
@media only screen and (min-width: 1025px) {
	#sisf-page-header .sisf-header-navigation > ul > li {
		margin-left: 12px;
		margin-right: 12px;
	}

	#sisf-page-header .sisf-header-navigation > ul > li > a {
		font-size: 13px;
	}

	#mega-menu-wrap-main-navigation #mega-menu-main-navigation {
		white-space: nowrap;
	}

	#mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-item > a.mega-menu-link {
		padding-left: 5px;
		padding-right: 5px;
		font-size: 13px;
	}
}

/* The vendor's Home 3 pet graphic has its demo phone number baked into the PNG.
 * Cover only that number area while preserving the original artwork and icon. */
.elementor-element-8eba412,
.elementor-widget-image:has(img[src*="elite_pet_img-1.png"]) {
	position: relative;
}

.elementor-element-8eba412::after,
.elementor-widget-image:has(img[src*="elite_pet_img-1.png"])::after {
	content: "076 939 7023";
	position: absolute;
	right: 0;
	bottom: 8.5%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 47%;
	height: 15.5%;
	background: #ffc658;
	color: #fff;
	font-family: "Nunito", sans-serif;
	font-size: clamp(15px, 3.4vw, 48px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0;
	pointer-events: none;
}

/* Marmaduke brand accent and sticky-header identity. */
:root {
	--marmaduke-accent: #00d9e2;
	--sis-main-color: #00d9e2 !important;
}

/* Max Mega Menu writes its own compiled stylesheet outside the theme options. */
#mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-item > a.mega-menu-link:focus,
#mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
#mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-current-menu-ancestor > a.mega-menu-link,
#mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-current-page-ancestor > a.mega-menu-link,
#mega-menu-wrap-main-navigation #mega-menu-main-navigation ul.mega-sub-menu a.mega-menu-link:hover,
#mega-menu-wrap-main-navigation #mega-menu-main-navigation ul.mega-sub-menu a.mega-menu-link:focus {
	color: var(--marmaduke-accent) !important;
}

#mega-menu-wrap-main-navigation #mega-menu-main-navigation ul.mega-sub-menu {
	border-color: var(--marmaduke-accent) !important;
}

#sisf-page-header .sisf-header-logo-image,
#sisf-page-mobile-header .sisf-header-logo-image,
.sisf-header-sticky .sisf-header-logo-image {
	content: url("https://marmadukepets.co.za/wp-content/uploads/2023/02/Black-LogoTM-1024x456.webp");
	width: auto;
	max-width: 154px;
	height: auto;
	max-height: 62px;
	object-fit: contain;
}

/* Restore the Home 3 utility cluster and keep the desktop header balanced. */
@media only screen and (min-width: 1025px) {
	#sisf-page-header {
		position: fixed !important;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 1000;
		background: transparent !important;
		box-shadow: none;
		transition: background-color .25s ease, box-shadow .25s ease;
	}

	body.sisf-header--transparent #sisf-page-header,
	body.sisf-header--transparent #sisf-page-header-inner {
		background-color: transparent !important;
	}

	body.marmaduke-header-scrolled #sisf-page-header,
	body.marmaduke-header-scrolled #sisf-page-header-inner,
	body.sisf-header--transparent.marmaduke-header-scrolled #sisf-page-header,
	body.sisf-header--transparent.marmaduke-header-scrolled #sisf-page-header-inner {
		background-color: #fff !important;
	}

	body.marmaduke-header-scrolled #sisf-page-header {
		box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
	}

	#sisf-page-header-inner {
		display: flex;
		align-items: center;
		gap: clamp(20px, 2vw, 42px);
		padding-right: 40px !important;
	}

	#sisf-page-header .sisf-header-logo-link {
		flex: 0 0 185px;
	}

	#sisf-page-header .sisf-header-navigation {
		flex: 1 1 auto;
		min-width: 0;
	}

	#sisf-page-header .marmaduke-header-utilities {
		display: flex;
		flex: 0 0 auto;
		align-items: center;
		gap: 18px;
		margin-left: auto;
	}

	#sisf-page-header .marmaduke-header-utilities .widget {
		margin: 0;
	}

	#sisf-page-header .marmaduke-header-utilities .widget_search {
		width: clamp(205px, 17vw, 330px);
	}
}

/* Home 3 uses wishlist in the header and on product/detail pages. Product
 * card wishlist actions are intentionally removed from the landing page. */
.home .sisf-woo-product-list .yith-wcwl-add-to-wishlist,
.home .sisf-woo-product-list .yith-wcwl-add-to-wishlist-button,
.home .sisf-woo-product-list .yith-wcwl-add-to-wishlist-button--custom-button {
	display: none !important;
}

/* Rebuild the imported footer as the dark Home 3 treatment. */
#sisf-page-footer-top-area {
	background: #000 !important;
	color: #fff;
}

#sisf-page-footer-top-area-inner {
	padding-top: 58px !important;
	padding-bottom: 58px !important;
}

#sisf-page-footer-top-area .sisf-grid {
	display: block !important;
}

#sisf-page-footer-top-area .sisf-grid-item:first-child {
	width: 100% !important;
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

#sisf-page-footer-top-area #block-9 {
	display: none !important;
}

#sisf-page-footer-top-area #block-10,
#sisf-page-footer-top-area #block-11 {
	width: 100%;
	margin: 0 auto !important;
}

#sisf-page-footer-top-area #block-10 h3 {
	height: auto !important;
	margin: 0 auto 28px !important;
	font-size: clamp(25px, 2.4vw, 40px) !important;
	line-height: 1.2 !important;
}

#sisf-page-footer-top-area #block-11 form {
	display: flex;
	align-items: center;
	max-width: 680px;
	margin: 0 auto;
	border-bottom: 1px solid rgba(255, 255, 255, .7);
}

#sisf-page-footer-top-area #block-11 .wpcf7-form-control-wrap {
	flex: 1 1 auto;
	width: auto;
}

#sisf-page-footer-top-area #block-11 input[type="email"] {
	width: 100%;
	border: 0 !important;
	color: #fff !important;
}

#sisf-page-footer-middle-area,
#sisf-page-footer-bottom-area {
	background: #000 !important;
}

#sisf-page-footer-middle-area {
	padding-top: 70px !important;
	padding-bottom: 55px !important;
}

#sisf-page-footer-middle-area h1,
#sisf-page-footer-middle-area h2,
#sisf-page-footer-middle-area h3,
#sisf-page-footer-middle-area h4,
#sisf-page-footer-middle-area h5,
#sisf-page-footer-middle-area h6 {
	color: #fff !important;
}

#sisf-page-footer-middle-area,
#sisf-page-footer-middle-area p,
#sisf-page-footer-middle-area a,
#sisf-page-footer-middle-area li {
	color: #c6c6c6 !important;
}

#sisf-page-footer-bottom-area {
	border-top: 1px solid rgba(255, 255, 255, .16);
}

/* Clear, accessible back-to-top control using the Marmaduke accent. */
#sisf-back-to-top {
	width: 50px !important;
	height: 50px !important;
}

#sisf-back-to-top .sisf-back-to-top-icon {
	width: 50px !important;
	height: 50px !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--marmaduke-accent) !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .16);
	transition: background-color .2s ease, transform .2s ease;
}

#sisf-back-to-top .sisf-btt-svg {
	width: 24px !important;
	height: 18px !important;
}

#sisf-back-to-top .sisf-btt-svg polyline,
#sisf-back-to-top .sisf-btt-svg line {
	stroke: #fff !important;
	stroke-width: 1.8;
}

#sisf-back-to-top:hover .sisf-back-to-top-icon,
#sisf-back-to-top:focus-visible .sisf-back-to-top-icon {
	background: #00b7bf !important;
	transform: translateY(-2px);
}

/* Native Shop Main filter sidebar. */
.woocommerce-shop #sisf-page-content > .sisf-grid-inner,
.tax-product_cat #sisf-page-content > .sisf-grid-inner,
.tax-product_tag #sisf-page-content > .sisf-grid-inner {
	align-items: flex-start;
}

.woocommerce-shop #sisf-page-sidebar,
.tax-product_cat #sisf-page-sidebar,
.tax-product_tag #sisf-page-sidebar {
	padding: 28px 24px;
	border: 1px solid #e8eef0;
	border-radius: 18px;
	background: #f7fbfc;
}

.woocommerce-shop #sisf-page-sidebar .widget + .widget,
.tax-product_cat #sisf-page-sidebar .widget + .widget,
.tax-product_tag #sisf-page-sidebar .widget + .widget {
	margin-top: 26px;
	padding-top: 24px;
	border-top: 1px solid #dce8ea;
}

.woocommerce-shop #sisf-page-sidebar h2,
.woocommerce-shop #sisf-page-sidebar h3,
.woocommerce-shop #sisf-page-sidebar h4,
.tax-product_cat #sisf-page-sidebar h2,
.tax-product_cat #sisf-page-sidebar h3,
.tax-product_cat #sisf-page-sidebar h4,
.tax-product_tag #sisf-page-sidebar h2,
.tax-product_tag #sisf-page-sidebar h3,
.tax-product_tag #sisf-page-sidebar h4 {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
}

.woocommerce-shop #sisf-page-sidebar button,
.tax-product_cat #sisf-page-sidebar button,
.tax-product_tag #sisf-page-sidebar button {
	border-color: var(--marmaduke-accent);
	background: var(--marmaduke-accent);
	color: #001416;
}

/* Restore Pawly's shared listing-page image hero for Shop, Blog and Brands. */
.marmaduke-listing-hero-page .sisf-page-title {
	height: 600px !important;
	background-color: #40206d !important;
	background-image: url("https://pawly-staging.marmadukepets.co.za/wp-content/uploads/2024/09/video_img.png") !important;
	background-repeat: no-repeat !important;
	background-position: center top !important;
	background-size: cover !important;
}

.marmaduke-listing-hero-page .sisf-page-title .sisf-m-inner {
	display: flex !important;
	align-items: flex-end !important;
	justify-content: center !important;
	height: 100% !important;
	padding: 0 24px 70px !important;
	text-align: center !important;
}

.marmaduke-listing-hero-page .sisf-page-title .sisf-m-content {
	width: 100%;
	text-align: center !important;
}

.marmaduke-listing-hero-page .sisf-page-title h1,
.marmaduke-listing-hero-page .sisf-page-title .sisf-m-title {
	margin: 0 !important;
	color: #fff !important;
	font-size: clamp(48px, 5vw, 72px) !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-shadow: 0 2px 16px rgba(0, 0, 0, .25);
}

@media only screen and (min-width: 1025px) {
	body.marmaduke-listing-hero-page:not(.marmaduke-header-scrolled) #sisf-page-header .sisf-header-logo-image {
		content: url("https://marmadukepets.co.za/wp-content/uploads/2023/02/Full-Logo-in-White-Pets-TM-1024x456.webp");
	}

	body.marmaduke-listing-hero-page:not(.marmaduke-header-scrolled) #sisf-page-header,
	body.marmaduke-listing-hero-page:not(.marmaduke-header-scrolled) #sisf-page-header .sisf-header-navigation > ul > li > a,
	body.marmaduke-listing-hero-page:not(.marmaduke-header-scrolled) #mega-menu-wrap-main-navigation #mega-menu-main-navigation > li.mega-menu-item > a.mega-menu-link,
	body.marmaduke-listing-hero-page:not(.marmaduke-header-scrolled) #sisf-page-header .sisf-icon,
	body.marmaduke-listing-hero-page:not(.marmaduke-header-scrolled) #sisf-page-header .sisf-m-opener-icon,
	body.marmaduke-listing-hero-page:not(.marmaduke-header-scrolled) #sisf-page-header .sisf-m-link-icon {
		color: #fff !important;
	}

	/* The dropdown panel stays white, so only top-level links turn white over the hero. */
	body.marmaduke-listing-hero-page #mega-menu-wrap-main-navigation #mega-menu-main-navigation ul.mega-sub-menu a.mega-menu-link {
		color: #222 !important;
	}

	body.marmaduke-listing-hero-page #mega-menu-wrap-main-navigation #mega-menu-main-navigation ul.mega-sub-menu a.mega-menu-link:hover,
	body.marmaduke-listing-hero-page #mega-menu-wrap-main-navigation #mega-menu-main-navigation ul.mega-sub-menu a.mega-menu-link:focus {
		color: var(--marmaduke-accent) !important;
	}

	body.marmaduke-listing-hero-page:not(.marmaduke-header-scrolled) #sisf-page-header .sisf-search-form {
		border-color: rgba(255, 255, 255, .5) !important;
		background: rgba(255, 255, 255, .18) !important;
	}

	body.marmaduke-listing-hero-page:not(.marmaduke-header-scrolled) #sisf-page-header .sisf-search-form-field {
		color: #fff !important;
	}

	body.marmaduke-listing-hero-page:not(.marmaduke-header-scrolled) #sisf-page-header .sisf-search-form-field::placeholder {
		color: rgba(255, 255, 255, .85) !important;
	}
}

@media only screen and (max-width: 1024px) {
	.marmaduke-listing-hero-page .sisf-page-title { height: 420px !important; background-position: 58% top !important; }
	.marmaduke-listing-hero-page .sisf-page-title .sisf-m-inner { padding-bottom: 48px !important; }
}

@media only screen and (max-width: 680px) {
	.marmaduke-listing-hero-page .sisf-page-title { height: 330px !important; }
	.marmaduke-listing-hero-page .sisf-page-title h1,
	.marmaduke-listing-hero-page .sisf-page-title .sisf-m-title { font-size: 44px !important; }
}

/* Pawly-styled information and policy page system. */
.marmaduke-information-page .sisf-page-title {
	display: none !important;
}

.marmaduke-information-page #sisf-page-inner {
	width: 100% !important;
	max-width: none !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.marmaduke-information-page #sisf-page-content,
.marmaduke-information-page #sisf-page-content > .sisf-grid-inner,
.marmaduke-information-page #sisf-page-content .sisf-page-content-section {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.marmaduke-info-page {
	--info-ink: #10191b;
	--info-soft: #eefbfc;
	color: var(--info-ink);
	background: #fff;
}

.marmaduke-info-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 430px;
	padding: 150px max(7vw, 40px) 70px;
	overflow: hidden;
	background: linear-gradient(135deg, #e8fafb 0%, #f9f5ff 56%, #fff5e7 100%);
}

.marmaduke-info-hero::before,
.marmaduke-info-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(0, 217, 226, .14);
}

.marmaduke-info-hero::before {
	width: 300px;
	height: 300px;
	right: 8%;
	top: 62px;
}

.marmaduke-info-hero::after {
	width: 150px;
	height: 150px;
	right: 25%;
	bottom: -65px;
	background: rgba(255, 184, 66, .2);
}

.marmaduke-info-hero-copy {
	position: relative;
	z-index: 2;
	max-width: 780px;
}

.marmaduke-info-eyebrow {
	display: inline-flex;
	margin-bottom: 18px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--marmaduke-accent);
	color: #001416;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.marmaduke-info-hero h1 {
	margin: 0 0 18px;
	color: var(--info-ink);
	font-size: clamp(46px, 6vw, 82px);
	font-weight: 700;
	line-height: .98;
	letter-spacing: -2px;
}

.marmaduke-info-hero p {
	max-width: 700px;
	margin: 0;
	color: #435154;
	font-size: clamp(18px, 1.7vw, 24px);
	line-height: 1.55;
}

.marmaduke-info-hero-mark {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 190px;
	height: 190px;
	margin-right: 7%;
	border: 3px solid #111;
	border-radius: 42% 58% 58% 42% / 46% 42% 58% 54%;
	background: var(--marmaduke-accent);
	box-shadow: 18px 18px 0 #111;
	transform: rotate(5deg);
}

.marmaduke-info-hero-mark span,
.marmaduke-info-hero-mark small {
	position: absolute;
	color: #111;
	font-weight: 900;
	line-height: 1;
}

.marmaduke-info-hero-mark span { font-size: 58px; transform: translateY(-12px); }
.marmaduke-info-hero-mark small { font-size: 15px; letter-spacing: 5px; transform: translateY(36px); }

.marmaduke-info-layout {
	display: grid;
	grid-template-columns: 270px minmax(0, 1fr);
	gap: clamp(34px, 5vw, 80px);
	max-width: 1240px;
	margin: 0 auto;
	padding: 80px 24px 110px;
}

.marmaduke-info-nav {
	position: sticky;
	top: 130px;
	align-self: start;
	padding: 25px;
	border: 1px solid #dfecee;
	border-radius: 18px;
	background: var(--info-soft);
}

.marmaduke-info-nav h2 {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 800;
}

.marmaduke-info-nav-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 11px 12px;
	border-radius: 10px;
	color: #273336 !important;
	font-size: 15px;
	font-weight: 600 !important;
}

.marmaduke-info-nav-link:hover,
.marmaduke-info-nav-link.is-active {
	background: var(--marmaduke-accent);
	color: #001416 !important;
}

.marmaduke-info-help {
	display: grid;
	gap: 6px;
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid #cadfe2;
	font-size: 13px;
}

.marmaduke-info-help a {
	color: #304144 !important;
	font-size: 13px;
	word-break: break-word;
}

.marmaduke-info-content {
	min-width: 0;
	padding: clamp(30px, 5vw, 62px);
	border: 1px solid #e7edef;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(23, 48, 52, .08);
}

.marmaduke-info-content > .section:first-child,
.marmaduke-info-content > h1:first-child,
.marmaduke-info-content > h2:first-child {
	margin-top: 0;
}

.marmaduke-info-content .section,
.marmaduke-info-content .section-content,
.marmaduke-info-content .row,
.marmaduke-info-content .col,
.marmaduke-info-content .col-inner {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	background: transparent !important;
}

.marmaduke-info-content h1,
.marmaduke-info-content h2,
.marmaduke-info-content h3,
.marmaduke-info-content h4 {
	color: var(--info-ink);
	font-family: "Jost", sans-serif;
	text-transform: none;
}

.marmaduke-info-content h2,
.marmaduke-info-content h3 {
	margin: 42px 0 16px;
	padding-left: 16px;
	border-left: 5px solid var(--marmaduke-accent);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.2;
}

.marmaduke-info-content p,
.marmaduke-info-content li {
	color: #435154;
	font-size: 16px;
	line-height: 1.85;
}

.marmaduke-info-content a {
	color: #008e96;
	font-weight: 700;
}

.marmaduke-info-content strong {
	color: #162326;
}

.page-id-3931 .marmaduke-info-content {
	background: #f8fcfd;
}

.page-id-3931 .marmaduke-info-content > h1,
.page-id-3931 .marmaduke-info-content > h2 {
	text-align: left !important;
}

.page-id-3931 .marmaduke-info-content input[type="text"],
.page-id-3931 .marmaduke-info-content input[type="search"] {
	width: 100%;
	min-height: 58px;
	padding: 0 22px;
	border: 1px solid #b9dfe2;
	border-radius: 14px;
	background: #fff;
}

.page-id-3931 .marmaduke-info-content button,
.page-id-3931 .marmaduke-info-content input[type="submit"] {
	min-height: 52px;
	padding: 0 34px;
	border: 0;
	border-radius: 999px;
	background: var(--marmaduke-accent);
	color: #001416;
	font-weight: 800;
}

@media only screen and (max-width: 1024px) {
	.marmaduke-info-hero { min-height: 360px; padding: 90px 28px 58px; }
	.marmaduke-info-hero-mark { display: none; }
	.marmaduke-info-layout { grid-template-columns: 1fr; padding-top: 45px; }
	.marmaduke-info-nav { position: static; }
	.marmaduke-info-nav h2 { margin-bottom: 12px; }
	.marmaduke-info-nav-link { display: inline-flex; gap: 12px; margin: 4px; background: #fff; }
	.marmaduke-info-help { display: none; }
}

@media only screen and (max-width: 680px) {
	.marmaduke-info-hero { min-height: 330px; padding: 85px 20px 45px; }
	.marmaduke-info-hero h1 { font-size: 43px; letter-spacing: -1px; }
	.marmaduke-info-hero p { font-size: 17px; }
	.marmaduke-info-layout { padding: 28px 14px 70px; }
	.marmaduke-info-content { padding: 25px 20px; border-radius: 18px; }
	.marmaduke-info-content h2,
	.marmaduke-info-content h3 { font-size: 24px; }
}

/* YITH 4.x renders a filled custom button, while Pawly Home 3 uses a simple
 * heart-and-label treatment inside product cards. */
.home .sisf-woo-product-list .yith-wcwl-add-to-wishlist-button,
.home .sisf-woo-product-list .yith-wcwl-add-to-wishlist-button--custom-button {
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 4px 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #111 !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	gap: 8px !important;
}

.home .sisf-woo-product-list .yith-wcwl-add-to-wishlist-button__label {
	color: var(--marmaduke-accent) !important;
}

.home .sisf-woo-product-list .yith-wcwl-icon-svg__wrapper,
.home .sisf-woo-product-list .yith-wcwl-icon {
	width: 25px !important;
	height: 25px !important;
	color: #111 !important;
}

.home .sisf-woo-product-list .yith-wcwl-add-to-wishlist-button:hover,
.home .sisf-woo-product-list .yith-wcwl-add-to-wishlist-button:focus-visible,
.home .sisf-woo-product-list .yith-wcwl-add-to-wishlist-button:hover .yith-wcwl-add-to-wishlist-button__label,
.home .sisf-woo-product-list .yith-wcwl-add-to-wishlist-button:focus-visible .yith-wcwl-add-to-wishlist-button__label,
.home .sisf-woo-product-list .yith-wcwl-add-to-wishlist-button:hover .yith-wcwl-icon,
.home .sisf-woo-product-list .yith-wcwl-add-to-wishlist-button:focus-visible .yith-wcwl-icon {
	color: var(--marmaduke-accent) !important;
}
