.amz-cart-item .product-thumbnail {     border: 2px solid #ea1919; }
.amz-cart-item div.vp-qty { display: inline; }
.amz-cart-item div.vp-qty .woo-qty-plus { display: none; }

.single-product  .loop-off-badge {
    z-index: 10;
    font-variation-settings: "wght" var(--w-bld), "dots" 4;
    background: var(--color-gy-1);
    color: var(--color-gray-muted);
    position: absolute;
    top: 0;
    left: 0;
    width: fit-content;
    height: var(--md);
    text-align: center;
    justify-content: center;
    border-radius: var(--tn) 0 var(--tn) 0;
    align-items: center;
    gap: 0;
    padding-top: 2px;
    padding-inline: var(--tn);
}
.archive-amz-product {
    background-color: #ff0000 !important; 
    color: #fff !important;
}
.woocommerce.archive ul.products li.product .archive-amz-product:before, .woocommerce.archive ul.products li.product .archive-amz-product:after {
   background: radial-gradient(var(--tn) at 100% 100%, transparent 98%, #f60000) 0 0 / 100% 100% no-repeat !important;
}

/* Pet menu dropdowns (سگ / گربه / برندها) */
#dogsTitle:hover #dogsContent,
#catsTitle:hover #catsContent,
#brandsTitle:hover #brandsContent {
	display: flex;
}
#dogsTitle .menu-dropdoown-content #dogFoodContent,
#catsTitle .menu-dropdoown-content #catFoodContent,
#brandsTitle .menu-dropdoown-content #brandUsContent {
	display: block;
}

/* Header logo: wlogo on the transparent home header, logo.png everywhere else.
   Inner pages carry .white-header on <body>, so they get the dark logo up front. */
.header-logo .header-logo-sticky {
	display: none;
}
.sticky-header .header-logo .header-logo-default,
.white-header .header-logo .header-logo-default {
	display: none;
}
.sticky-header .header-logo .header-logo-sticky,
.white-header .header-logo .header-logo-sticky {
	display: block;
}

/* About-us reuses the FAQ hero (.faq-haed). Tighten the content gap under it. */
.page-template-about-us .au-sect,
.page-template-page-template-about-us-php .au-sect {
	margin-top: 1.5rem;
	margin-bottom: 3rem;
}

.page-template-about-us .au-sect > h2,
.page-template-about-us .au-sect > p,
.page-template-page-template-about-us-php .au-sect > h2,
.page-template-page-template-about-us-php .au-sect > p {
	display: block;
	width: 100%;
}

.page-template-about-us .au-sect h2,
.page-template-page-template-about-us-php .au-sect h2 {
	border-right: 3px solid #fb6727;
	padding-right: 0.5rem;
}

.page-template-about-us .au-sect .au-serv > li:first-child,
.page-template-page-template-about-us-php .au-sect .au-serv > li:first-child {
	border: 1px dashed #cfcfcf;
	background-color: #f5f5f5;
}

.page-template-about-us .au-sect .au-serv > li:first-child ul,
.page-template-page-template-about-us-php .au-sect .au-serv > li:first-child ul {
	list-style: disc;
	list-style-position: outside;
	padding-right: 1.25rem;
	margin-top: 0.25rem;
}
.page-template-about-us .au-sect .au-serv > li:first-child ul li,
.page-template-page-template-about-us-php .au-sect .au-serv > li:first-child ul li {
	list-style: disc;
}

.page-template-about-us .au-sect .au-contact,
.page-template-page-template-about-us-php .au-sect .au-contact {
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}

.page-template-about-us .au-sect .au-contact > a,
.page-template-page-template-about-us-php .au-sect .au-contact > a {
	background-color: #0d1d2d;
	color: #fff;
}

.page-template-about-us .au-sect .au-contact > a:hover,
.page-template-page-template-about-us-php .au-sect .au-contact > a:hover {
	background-color: #fb6727;
	color: #fff;
}

.page-template-about-us .au-social,
.page-template-page-template-about-us-php .au-social {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.75rem;
	width: auto;
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-template-about-us .au-social li,
.page-template-page-template-about-us-php .au-social li {
	width: auto;
	margin: 0;
	padding: 0;
}

.page-template-about-us .au-sect .au-contact .au-social a,
.page-template-page-template-about-us-php .au-sect .au-contact .au-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border-radius: 9999px;
	border: 1px solid #0d1d2d;
	background-color: #0d1d2d;
	color: #fff;
	font-size: 1.2rem;
	line-height: 1;
	box-shadow: none;
}

.page-template-about-us .au-sect .au-contact .au-social a:hover,
.page-template-page-template-about-us-php .au-sect .au-contact .au-social a:hover {
	background-color: #fb6727;
	border-color: #fb6727;
	color: #fff;
}

.page-template-about-us .au-social a.au-whatsapp svg,
.page-template-page-template-about-us-php .au-social a.au-whatsapp svg {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
}

#contact-page ul {
	width: auto;
}

#contact-page ul li a.contact-whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	padding: 0;
}

#contact-page ul li a.contact-whatsapp svg {
	display: block;
	width: 1.2rem;
	height: 1.2rem;
}

/* Desktop dropdown cards for سگ / گربه. Mobile menu markup is untouched. */
@media (min-width: 1024px) {
	.pet-nav-parent > a {
		position: relative;
		display: inline-flex;
		align-items: center;
		padding-right: 1.55rem;
	}

	.pet-nav-parent__icon {
		position: absolute;
		top: 50%;
		right: -0.35rem;
		z-index: 0;
		width: 1.7rem;
		height: 1.7rem;
		padding: 2px;
		object-fit: contain;
		pointer-events: none;
		background: #fff;
		border-radius: 50%;
		box-shadow: 0 0 0 1px rgba(13, 29, 45, 0.12);
		transform: translateY(-50%);
		transition: box-shadow 0.15s ease;
	}

	.white-header .pet-nav-parent__icon,
	#header.sticky-header .pet-nav-parent__icon {
		background: #f4f4f4;
	}

	.pet-nav-parent:hover .pet-nav-parent__icon {
		box-shadow: 0 0 0 1.5px #fb6727;
	}

	.pet-nav-parent__label {
		position: relative;
		z-index: 1;
	}

	#dogsContent.pet-nav-panel,
	#catsContent.pet-nav-panel {
		position: absolute;
		top: 100%;
		right: 0;
		left: auto;
		z-index: 40;
		display: none;
		flex-direction: column;
		width: 420px;
		max-width: min(420px, calc(100vw - 2rem));
		margin: 0;
		padding: 10px 0 0;
		background: transparent;
		color: #0d1d2d;
		line-height: 1.5;
		white-space: normal;
	}

	#dogsTitle:hover #dogsContent.pet-nav-panel,
	#catsTitle:hover #catsContent.pet-nav-panel {
		display: flex;
	}

	.pet-nav-card {
		width: 100%;
		padding: 18px 14px 14px;
		border: 1px solid rgba(13, 29, 45, 0.08);
		border-radius: 18px;
		background: #fff;
		box-shadow: 0 16px 40px rgba(13, 29, 45, 0.12);
	}

	.pet-nav-card__title {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 8px;
		margin: 0 10px 14px;
		color: #0d1d2d;
		font-size: 16px;
		font-weight: 800;
		line-height: 1.4;
		text-align: right;
	}

	.pet-nav-card__title img {
		width: 28px;
		height: 28px;
		padding: 2px;
		object-fit: contain;
		background: #f4f4f4;
		border-radius: 50%;
		box-shadow: 0 0 0 1px rgba(13, 29, 45, 0.08);
	}

	a.pet-nav-card__title:hover {
		color: #fb6727;
	}

	.pet-nav-card__list {
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.pet-nav-card__list li {
		margin: 0;
		padding: 0;
		line-height: 1.5;
	}

	#dogsContent .pet-nav-link,
	#catsContent .pet-nav-link {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 10px;
		min-height: 58px;
		padding: 8px 10px 8px 12px;
		border-radius: 18px;
		background: #f4f4f4;
		color: #0d1d2d;
		font-size: 15px;
		font-weight: 700;
		line-height: 1.6;
		text-align: right;
		text-decoration: none;
		transition: background-color 0.15s ease;
	}

	#dogsContent .pet-nav-link:hover,
	#catsContent .pet-nav-link:hover {
		background: #fff;
		color: #0d1d2d;
		box-shadow: inset 0 0 0 1px #fb6727;
	}

	.pet-nav-link__icon {
		display: flex;
		flex: 0 0 46px;
		align-items: center;
		justify-content: center;
		width: 46px;
		height: 46px;
		border-radius: 50%;
		background: #fff;
		box-shadow: inset 0 0 0 1px rgba(13, 29, 45, 0.08);
	}

	.pet-nav-link__icon img {
		width: 32px;
		height: 32px;
		object-fit: contain;
	}

	.pet-nav-link__label {
		flex: 1 1 auto;
		min-width: 0;
		padding-left: 42px;
		text-align: right;
	}

	.pet-nav-link__go {
		position: absolute;
		top: 50%;
		left: 12px;
		width: 34px;
		height: 34px;
		border-radius: 50%;
		background: #fff;
		box-shadow: inset 0 0 0 1px rgba(13, 29, 45, 0.08);
		transform: translateY(-50%);
	}

	.pet-nav-link__go:before {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 8px;
		height: 8px;
		margin-top: -4px;
		margin-left: -2px;
		border-top: 2px solid #0d1d2d;
		border-left: 2px solid #0d1d2d;
		background: none;
		font-size: 0;
		transform: rotate(-45deg);
	}

	#dogsContent .pet-nav-link:hover .pet-nav-link__go:before,
	#catsContent .pet-nav-link:hover .pet-nav-link__go:before {
		border-color: #fb6727;
	}

	.mega-menu .pet-nav-diet {
		border-bottom-color: transparent;
	}

	.mega-menu .pet-nav-diet:hover {
		border-color: transparent;
	}

	.mega-menu .pet-nav-diet > a {
		margin: 0.85rem 0;
		padding: 0.42rem 0.95rem;
		border-radius: 999px;
		background: #fb6727;
		color: #fff;
		line-height: 1.2;
		font-weight: 700;
	}

	.mega-menu .pet-nav-diet > a:hover,
	.white-header .mega-menu .pet-nav-diet > a,
	.sticky-header .mega-menu .pet-nav-diet > a {
		background: #fb6727;
		color: #fff;
	}

	.mega-menu .pet-nav-diet > a:hover {
		background: #e85a1c;
	}

	.header-nav-menu .mega-menu > .mega-menu-tittle:not(.pet-nav-diet):hover {
		border-color: transparent;
		color: #fb6727;
	}

	.header-nav-menu .mega-menu > .mega-menu-tittle:not(.pet-nav-diet):hover > a {
		color: #fb6727;
	}
}

li.product.outofstock,
li.product-container.outofstock {
	opacity: 1;
}

body:not(.single-product) li.product.outofstock img,
body:not(.single-product) li.product-container.outofstock img,
body:not(.single-product) .product-container.outofstock img {
	opacity: 0.5;
}

.single-product .product img,
.single-product .woocommerce-product-gallery img,
.single-product #product-main img {
	opacity: 1;
}

.product-container > a,
.woocommerce ul.products li.product > a,
.woocommerce ul.products li.product img,
.woocommerce-product-gallery,
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image img {
	background-color: #fff;
}

/* Menu inset matches the slider gutter so large screens don't grow a top gap */
#header .header-wrapper {
	margin-top: 0.75rem;
}
body.admin-bar #header {
	top: 32px;
	margin-top: 0;
}

/* Desktop menu: same glass pill on every page. Scroll only tightens the top gap. */
@media (min-width: 1024px) {
	#header .header-wrapper,
	.white-header .header-wrapper,
	.white-header #header .header-wrapper,
	.sticky-header .header-wrapper,
	#header.sticky-header .header-wrapper {
		margin-top: 0.75rem;
		margin-left: auto;
		margin-right: auto;
		max-width: 1336px;
		width: 100%;
		padding-left: 1rem;
		padding-right: 1rem;
		background-color: transparent;
	}

	#header.sticky-header .header-wrapper,
	.white-header #header.sticky-header .header-wrapper {
		margin-top: 0.35rem;
	}

	.glassmorfism-header,
	.sticky-header .glassmorfism-header,
	.white-header .glassmorfism-header,
	body.white-header #header.sticky-header .glassmorfism-header {
		height: 5rem;
		border-radius: 1rem;
	}

	.white-header .glassmorfism-header,
	body.white-header #header.sticky-header .glassmorfism-header {
		background-color: rgba(255, 255, 255, 0.94);
		color: #0d1d2d;
		box-shadow: 0 4px 18px -8px rgba(0, 0, 0, 0.18);
	}

	.sticky-header .glassmorfism-header {
		background-color: #636363a3;
	}

	body.white-header #header.sticky-header .glassmorfism-header {
		background-color: rgba(255, 255, 255, 0.94);
	}

	.white-header #header {
		position: sticky;
		top: 0.35rem;
	}

	body.home #header {
		position: fixed;
		top: 0;
	}

	body.home.admin-bar #header,
	body.home.admin-bar #header.sticky-header {
		top: 32px;
	}

	.menu-dropdoown-content:not(.pet-nav-panel) {
		margin-top: 5.75rem;
	}

	#header.sticky-header .menu-dropdoown-content:not(.pet-nav-panel),
	.white-header .menu-dropdoown-content:not(.pet-nav-panel) {
		margin-top: 5.35rem;
	}

	#header.sticky-header #dogsContent.pet-nav-panel,
	#header.sticky-header #catsContent.pet-nav-panel,
	.white-header #dogsContent.pet-nav-panel,
	.white-header #catsContent.pet-nav-panel {
		position: absolute;
		top: 100%;
		right: 0;
		left: auto;
		width: 420px;
		max-width: min(420px, calc(100vw - 2rem));
		margin: 0;
		padding: 10px 0 0;
		background: transparent;
	}
}

/*
 * Mobile header: keep the homepage glass-pill look on scroll and on white-header
 * pages (product, etc.). Only the logo swaps via .sticky-header.
 */
@media (max-width: 1023px) {
	.sticky-header .header-wrapper,
	#header.sticky-header .header-wrapper,
	.white-header .header-wrapper,
	.white-header #header .header-wrapper,
	body.white-header #header.sticky-header .header-wrapper {
		margin-top: 0.75rem;
		margin-left: auto;
		margin-right: auto;
		max-width: 1336px;
		width: 100%;
		padding-left: 1rem;
		padding-right: 1rem;
		background-color: transparent;
	}

	.sticky-header .glassmorfism-header,
	#header.sticky-header .glassmorfism-header,
	.white-header .glassmorfism-header,
	body.white-header .glassmorfism-header,
	body.white-header #header.sticky-header .glassmorfism-header {
		height: 3rem;
		border-radius: 1rem;
		background-color: #63636345;
		color: #fff;
		box-shadow: none;
	}

	/* Match homepage logo swap on white-header pages (mobile only). */
	body.white-header .header-logo .header-logo-default {
		display: block;
	}
	body.white-header .header-logo .header-logo-sticky {
		display: none;
	}
	body.white-header .sticky-header .header-logo .header-logo-default,
	body.white-header #header.sticky-header .header-logo .header-logo-default {
		display: none;
	}
	body.white-header .sticky-header .header-logo .header-logo-sticky,
	body.white-header #header.sticky-header .header-logo .header-logo-sticky {
		display: block;
	}
}

.product-container .product-des .product-tittle {
	margin: 0;
}
