/* Generated Bambogilda 1.0.14 bundle. Source order is preserved. */

/* ===== main.css ===== */
:root {
  --zg-primary: #5cb270;
  --zg-primary-light: #82c26e;
  --zg-navy: #253129;
  --zg-dark-700: #172018;
  --zg-dark-600: #253129;
  --zg-gray-300: #253129;
  --zg-gray-200: #445247;
  --zg-gray-100: #445247;
  --zg-gray-50: #445247;
  --zg-white: #ffffff;
  --zg-light: #f8fbf4;
  --zg-font-family: YekanBakh, Tahoma, Arial, sans-serif;
  --zg-red-shadow: 0 8px 16px -2px rgba(130,194,110,.20);
  --zg-gray-shadow: 0 8px 16px -2px rgba(68,82,71,.24);
  --zg-radius-sm: 10px;
  --zg-radius: 18px;
  --zg-radius-lg: 28px;
  --zg-container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; direction: rtl; background: var(--zg-white); color: var(--zg-dark-700); font-family: var(--zg-font-family); font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
body.zg-ui-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.zg-container { width: min(calc(100% - 40px), var(--zg-container)); margin-inline: auto; }
.zg-narrow-container { max-width: 980px; }
.zg-main { min-height: 50vh; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 10px; right: 10px; z-index: 99999; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; color: #000; border-radius: 8px; }

h1,h2,h3,h4,h5,h6 { margin: 0 0 18px; color: var(--zg-dark-700); line-height: 1.45; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); }
p { margin: 0 0 18px; }

.zg-site-header { position: sticky; top: 0; z-index: 1000; background: var(--zg-white); border-bottom: 1px solid rgba(37,49,41,.06); }
.admin-bar .zg-site-header { top: 32px; }
.zg-header-main { background: var(--zg-white); }
.zg-header-inner { display: flex; align-items: center; min-height: 82px; gap: 24px; }
.zg-logo { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.zg-logo img { display: block; width: 92px; max-height: 58px; object-fit: contain; }
.zg-primary-nav { margin-inline-end: auto; }
.zg-primary-menu, .zg-menu-fallback { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.zg-primary-menu li { position: relative; }
.zg-primary-menu > li > a { display: flex; align-items: center; min-height: 82px; color: var(--zg-dark-600); font-size: 13px; font-weight: 400; white-space: nowrap; transition: color .2s ease; }
.zg-primary-menu > li.current-menu-item > a, .zg-primary-menu > li:hover > a { color: var(--zg-primary); }
.zg-primary-menu .sub-menu { position: absolute; top: calc(100% - 8px); right: 0; width: 220px; margin: 0; padding: 10px; list-style: none; background: #fff; border: 1px solid var(--zg-light); border-radius: 14px; box-shadow: var(--zg-gray-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.zg-primary-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.zg-primary-menu .sub-menu a { display: block; padding: 9px 10px; border-radius: 8px; font-size: 13px; }
.zg-primary-menu .sub-menu a:hover { background: var(--zg-light); color: var(--zg-primary); }

.zg-header-search { position: relative; flex: 0 1 320px; width: min(26vw, 320px); height: 44px; }
.zg-header-search-icon { position: absolute; top: 50%; right: 15px; display: grid; place-items: center; transform: translateY(-50%); pointer-events: none; }
.zg-header-search-icon svg { width: 20px; height: 20px; }
.zg-header-search input[type=search] { width: 100%; height: 100%; padding: 0 45px 0 16px; border: 1px solid #eef5e8; border-radius: 999px; outline: 0; background: #fff; color: var(--zg-dark-700); font-size: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.zg-header-search input[type=search]::placeholder { color: #eef5e8; }
.zg-header-search input[type=search]:focus { border-color: rgba(130,194,110,.55); box-shadow: 0 0 0 4px rgba(130,194,110,.07); }
.zg-header-search input[type=search]::-webkit-search-cancel-button { display: none; }

.zg-header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.zg-account-link { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #eef5e8; transition: transform .2s ease, background .2s ease; }
.zg-account-link:hover { background: #f8fbf4; transform: translateY(-2px); }
.zg-account-link svg { width: 23px; height: 23px; }
.zg-header-cart { display: inline-flex; align-items: center; gap: 9px; min-width: 122px; }
.zg-header-cart-icon { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: var(--zg-primary-light); box-shadow: var(--zg-red-shadow); transition: transform .2s ease, background .2s ease; }
.zg-header-cart:hover .zg-header-cart-icon { background: var(--zg-primary); transform: translateY(-2px); }
.zg-header-cart-icon svg { width: 23px; height: 23px; }
.zg-cart-count { position: absolute; top: -4px; left: -4px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid #fff; border-radius: 20px; background: var(--zg-navy); color: #fff; font-size: 9px; font-weight: 700; line-height: 1; }
.zg-header-cart-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.35; white-space: nowrap; }
.zg-header-cart-copy small { color: var(--zg-dark-600); font-size: 10px; font-weight: 400; }
.zg-header-cart-copy strong { color: var(--zg-primary); font-size: 12px; font-weight: 700; }
.zg-header-cart-copy .woocommerce-Price-currencySymbol { margin-right: 2px; font-size: .8em; }

.zg-promo-shell { padding: 0 0 14px; background: var(--zg-white); }
.zg-promo-bar { display: flex; align-items: center; min-height: 60px; padding: 7px 10px; border-radius: 999px; background: var(--zg-primary-light); color: #fff; box-shadow: var(--zg-red-shadow); }
.zg-category-trigger { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--zg-navy); font-size: 13px; font-weight: 700; white-space: nowrap; transition: transform .2s ease; }
.zg-category-trigger:hover { transform: translateY(-1px); }
.zg-category-trigger svg { width: 22px; height: 22px; }
.zg-promo-links { display: flex; align-items: center; gap: 34px; margin-inline-start: 34px; }
.zg-promo-links a { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: .96; transition: opacity .2s ease, transform .2s ease; }
.zg-promo-links a:hover { opacity: 1; transform: translateY(-1px); }
.zg-promo-links svg { width: 22px; height: 22px; }
.zg-daily-timer { direction: rtl; display: flex; align-items: center; gap: 10px; margin-inline-start: auto; padding-inline: 16px; color: #fff; cursor: pointer; text-decoration: none; }
.zg-daily-timer:hover, .zg-daily-timer:focus { color: #fff; opacity: .94; }
.zg-timer-unit { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.zg-timer-digits { direction: ltr; display: flex; gap: 3px; }
.zg-timer-digits span { display: grid; place-items: center; width: 20px; height: 28px; border-radius: 7px; background: #fff; color: var(--zg-primary); font-size: 13px; font-weight: 700; line-height: 1; box-shadow: 0 2px 6px rgba(37,49,41,.1); }
.zg-timer-unit small { color: #fff; font-size: 9px; font-weight: 600; line-height: 1.2; }
.zg-daily-deal { display: inline-flex; align-items: center; gap: 8px; min-width: 132px; color: #fff; }
.zg-daily-deal-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px; background: #fff; color: var(--zg-navy); box-shadow: 0 3px 8px rgba(37,49,41,.13); }
.zg-daily-deal-icon svg { width: 19px; height: 19px; }
.zg-daily-deal-text { display: flex; flex-direction: column; line-height: 1.3; white-space: nowrap; }
.zg-daily-deal-text strong { color: #fff; font-size: 15px; font-weight: 700; }
.zg-daily-deal-text small { color: #fff; font-size: 10px; font-weight: 600; opacity: .96; }

.zg-button, .zg-text-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; }
.zg-button-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--zg-primary); color: #fff; flex: 0 0 auto; }
.zg-mobile-toggle { display: none; place-items: center; width: 46px; height: 46px; border: 1px solid #f8fbf4; border-radius: 50%; background: #fff; color: var(--zg-navy); box-shadow: var(--zg-gray-shadow); }
.zg-mobile-toggle svg { width: 23px; height: 23px; }

.zg-mobile-drawer { position: fixed; z-index: 1200; top: 0; right: 0; width: min(88vw, 360px); height: 100dvh; padding: 20px; background: #fff; box-shadow: -20px 0 50px rgba(37,49,41,.18); transform: translateX(110%); transition: transform .28s ease; overflow-y: auto; }
.zg-mobile-drawer.is-open { transform: translateX(0); }
.zg-mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--zg-light); }
.zg-mobile-drawer-logo img { display: block; width: 84px; max-height: 52px; object-fit: contain; }
.zg-mobile-drawer-head button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--zg-light); font-size: 26px; line-height: 1; }
.zg-mobile-search { position: relative; margin: 18px 0 8px; }
.zg-mobile-search > span { position: absolute; right: 13px; top: 50%; display: grid; transform: translateY(-50%); }
.zg-mobile-search svg { width: 19px; height: 19px; }
.zg-mobile-search input { width: 100%; height: 44px; padding: 0 42px 0 12px; border: 1px solid #eef5e8; border-radius: 12px; outline: 0; font-size: 12px; }
.zg-mobile-menu, .zg-mobile-menu ul { list-style: none; padding: 0; margin: 15px 0; }
.zg-mobile-menu a { display: block; padding: 12px 8px; border-bottom: 1px solid var(--zg-light); font-weight: 600; }
.zg-mobile-menu .sub-menu { padding-right: 15px; }
.zg-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(37,49,41,.48); opacity: 0; visibility: hidden; transition: .25s; }
.zg-overlay.is-visible { opacity: 1; visibility: visible; }


/* Homepage showcase: responsive slider + randomized WooCommerce deal. */
.zg-home-showcase { padding: 24px 0 22px; background: var(--zg-white); }
.zg-home-showcase .zg-container { max-width: none; }
.zg-home-showcase-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(230px, 22vw, 270px); align-items: stretch; gap: clamp(24px, 4vw, 52px); direction: rtl; }
.zg-home-showcase-grid.has-no-deals { grid-template-columns: minmax(0, 1fr); }
.zg-home-slider { --zg-slider-transition: 650ms; position: relative; min-width: 0; overflow: hidden; aspect-ratio: 1860 / 764; border-radius: 28px; background: #f8fbf4; isolation: isolate; }
.zg-home-slider-track { position: absolute; inset: 0; }
.zg-home-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--zg-slider-transition) ease, visibility var(--zg-slider-transition) ease; }
.zg-home-slide.is-active { z-index: 2; opacity: 1; visibility: visible; pointer-events: auto; }
.zg-home-slide picture, .zg-home-slide img { display: block; width: 100%; height: 100%; }
.zg-home-slide img { object-fit: cover; border-radius: inherit; }
.zg-home-slider-dots-shell { position: absolute; z-index: 5; top: 0; left: 50%; display: grid; place-items: center; width: 92px; height: 34px; padding-bottom: 7px; transform: translateX(-50%); border-radius: 0 0 45px 45px; background: var(--zg-white); }
.zg-home-slider-dots-shell::before, .zg-home-slider-dots-shell::after { content: ""; position: absolute; top: 0; width: 18px; height: 18px; background: transparent; }
.zg-home-slider-dots-shell::before { right: -17px; border-radius: 18px 0 0 0; box-shadow: -8px -8px 0 4px var(--zg-white); }
.zg-home-slider-dots-shell::after { left: -17px; border-radius: 0 18px 0 0; box-shadow: 8px -8px 0 4px var(--zg-white); }
.zg-home-slider-dots { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; direction: ltr; gap: 5px; }
.zg-home-slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: #a8d26d; transition: width .25s ease, background-color .25s ease, transform .25s ease; }
.zg-home-slider-dot:hover { transform: scale(1.12); }
.zg-home-slider-dot.is-active { width: 24px; background: #5cb270; }
.zg-home-slider-dot:focus-visible { outline: 2px solid var(--zg-primary); outline-offset: 2px; }

.zg-amazing-card { min-width: 0; height: 100%; padding: 13px 14px 14px; overflow: hidden; display: grid; grid-template-rows: auto minmax(105px, 1fr) auto auto auto; align-items: stretch; gap: 8px; border: 1px solid #f8fbf4; border-radius: 20px; background: #fff; box-shadow: 0 8px 16px -2px rgba(68,82,71,.18); transition: opacity .17s ease, transform .17s ease; }
.zg-amazing-card.is-changing { opacity: .45; transform: translateY(2px); }
.zg-amazing-badge { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 5px 12px; border-radius: 11px; background: var(--zg-primary-light); color: #fff; white-space: nowrap; }
.zg-amazing-badge svg { width: 21px; height: 21px; flex: 0 0 21px; }
.zg-amazing-badge strong { overflow: hidden; text-overflow: ellipsis; font-size: 14px; font-weight: 700; }
.zg-amazing-image { display: grid; place-items: center; min-height: 105px; overflow: hidden; }
.zg-amazing-image img { display: block; width: 100%; height: 100%; max-height: 145px; object-fit: contain; transition: transform .3s ease; }
.zg-amazing-image:hover img { transform: scale(1.035); }
.zg-amazing-title { display: -webkit-box; min-height: 45px; overflow: hidden; color: var(--zg-dark-600); font-size: 13px; font-weight: 400; line-height: 1.7; text-align: center; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.zg-amazing-title:hover { color: var(--zg-primary); }
.zg-amazing-progress { position: relative; width: 100%; height: 7px; overflow: hidden; border: 1px solid rgba(130,194,110,.14); border-radius: 999px; background: #fff; }
.zg-amazing-progress > span { position: absolute; inset-block: 0; right: 0; display: block; width: 0; border-radius: inherit; background: var(--zg-primary-light); }
.zg-amazing-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; min-height: 51px; }
.zg-amazing-price-wrap { min-width: 0; flex: 1; }
.zg-amazing-price-row { display: flex; align-items: center; gap: 7px; min-height: 20px; }
.zg-amazing-discount { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 21px; padding: 0 6px; border-radius: 6px; background: var(--zg-primary); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
.zg-amazing-price-row del { overflow: hidden; color: #dce8d5; font-size: 10px; line-height: 1.2; text-decoration-thickness: 1px; white-space: nowrap; }
.zg-amazing-price { display: block; overflow: hidden; margin-top: 2px; color: var(--zg-dark-700); font-size: 14px; font-weight: 700; line-height: 1.5; white-space: nowrap; text-overflow: ellipsis; }
.zg-amazing-price .woocommerce-Price-currencySymbol, .zg-amazing-price-row .woocommerce-Price-currencySymbol { margin-right: 3px; font-size: .75em; }
.zg-amazing-cart { position: relative; display: inline-grid; place-items: center; width: 45px; height: 45px; flex: 0 0 45px; border-radius: 13px; background: var(--zg-primary-light); color: #fff; box-shadow: var(--zg-red-shadow); transition: transform .2s ease, background-color .2s ease; }
.zg-amazing-cart:hover { background: var(--zg-primary); transform: translateY(-2px); }
.zg-amazing-cart svg { display:block; width: 23px; height: 23px; }
.zg-amazing-cart svg path { stroke: #ffffff !important; }
.zg-amazing-cart.loading { opacity: .55; pointer-events: none; }
.zg-amazing-cart.added::after { content: "✓"; position: absolute; display: grid; place-items: center; width: 18px; height: 18px; margin: -37px 0 0 -35px; border: 2px solid #fff; border-radius: 50%; background: var(--zg-navy); color: #fff; font-size: 9px; }

.zg-hero { position: relative; overflow: hidden; padding: 72px 0 58px; background: linear-gradient(135deg, #fff 0 52%, #f8fbf4 52% 100%); }
.zg-hero::before { content:""; position: absolute; width: 420px; height: 420px; left: -180px; top: -200px; border: 70px solid rgba(92,178,112,.06); border-radius: 50%; }
.zg-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; min-height: 510px; }
.zg-eyebrow, .zg-section-heading > div > span, .zg-page-header > span { display: inline-block; margin-bottom: 12px; color: var(--zg-primary); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.zg-hero-content h1 { max-width: 700px; font-size: clamp(2.5rem, 5vw, 4.8rem); color: var(--zg-navy); line-height: 1.25; }
.zg-hero-content p { max-width: 650px; color: var(--zg-gray-200); font-size: 18px; }
.zg-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.zg-button { min-height: 52px; padding: 0 18px 0 8px; border: 1px solid transparent; border-radius: 12px; transition: .2s ease; }
.zg-button:hover { transform: translateY(-2px); }
.zg-button-primary { background: var(--zg-primary); color: #fff; box-shadow: var(--zg-red-shadow); }
.zg-button-primary .zg-button-icon { background: #fff; color: var(--zg-primary); }
.zg-button-ghost { border-color: #eef5e8; color: var(--zg-navy); background: #fff; }
.zg-button-light { background: #fff; color: var(--zg-navy); }
.zg-hero-search { display: flex; max-width: 620px; padding: 7px; background: #fff; border-radius: 16px; box-shadow: var(--zg-gray-shadow); }
.zg-hero-search input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; outline: 0; background: transparent; }
.zg-hero-search button { padding: 0 24px; border: 0; border-radius: 11px; background: var(--zg-navy); color: #fff; }
.zg-hero-visual { position: relative; min-height: 440px; }
.zg-hero-card { position: absolute; z-index: 2; inset: 35px 30px 25px 5px; display: grid; place-items: center; padding: 55px; background: #fff; border-radius: 36px 36px 80px 36px; box-shadow: var(--zg-gray-shadow); transform: rotate(-2deg); }
.zg-hero-card img { width: min(100%, 470px); max-height: 250px; object-fit: contain; transform: rotate(2deg); }
.zg-hero-badge { position: absolute; z-index: 3; left: -5px; bottom: 5px; min-width: 150px; padding: 18px; background: var(--zg-primary); color: #fff; border-radius: 20px; box-shadow: var(--zg-red-shadow); }
.zg-hero-badge strong, .zg-hero-badge span { display: block; }
.zg-hero-badge strong { font-size: 24px; }
.zg-hero-badge span { font-size: 12px; opacity: .85; }
.zg-hero-shape { position: absolute; z-index: 1; inset: 0; border-radius: 48% 52% 38% 62% / 58% 30% 70% 42%; background: var(--zg-navy); }

.zg-features { border-top: 1px solid var(--zg-light); border-bottom: 1px solid var(--zg-light); background: #fff; }
.zg-features-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.zg-feature { display: flex; align-items: center; gap: 15px; min-height: 125px; padding: 22px 28px; border-left: 1px solid var(--zg-light); }
.zg-feature:last-child { border-left: 0; }
.zg-feature > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--zg-primary); background: rgba(130,194,110,.08); font-weight: 700; }
.zg-feature h3 { margin: 0 0 4px; font-size: 16px; }
.zg-feature p { margin: 0; color: var(--zg-gray-100); font-size: 12px; line-height: 1.7; }

.zg-section { padding: 85px 0; }
.zg-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.zg-section-heading h2 { margin: 0; color: var(--zg-navy); }
.zg-text-link { color: var(--zg-primary); font-size: 13px; }
.zg-text-link .zg-button-icon { width: 26px; height: 26px; }
.zg-categories-section { background: var(--zg-white); }
.zg-category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.zg-category-card { display: flex; align-items: center; gap: 16px; min-height: 130px; padding: 14px; border: 1px solid var(--zg-light); background: #fff; border-radius: 18px; box-shadow: 0 8px 16px -2px rgba(68,82,71,.10); transition: .25s; }
.zg-category-card:hover { transform: translateY(-5px); border-color: rgba(130,194,110,.35); box-shadow: var(--zg-red-shadow); }
.zg-category-card img { width: 92px; height: 92px; object-fit: cover; border-radius: 14px; background: var(--zg-light); }
.zg-category-card h3 { margin: 0 0 5px; font-size: 16px; }
.zg-category-card span { color: var(--zg-gray-100); font-size: 12px; }
.zg-products-section { background: #ffffff; }
.zg-products-section + .zg-products-section { background: #fff; }
.zg-promo-section { padding: 40px 0; background: #ffffff; }
.zg-promo-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 55px 60px; border-radius: 28px; background: var(--zg-navy); color: #fff; overflow: hidden; position: relative; }
.zg-promo-card::after { content:""; position:absolute; width:260px; height:260px; left:-80px; bottom:-150px; border:45px solid rgba(255,255,255,.08); border-radius:50%; }
.zg-promo-card > * { position: relative; z-index: 1; }
.zg-promo-card h2 { color: #fff; max-width: 760px; }
.zg-promo-card p { margin: 0; color: rgba(255,255,255,.72); }
.zg-promo-card > div > span { color: #a8d26d; font-size: 13px; font-weight: 700; }

.zg-page-main, .zg-single-main, .zg-archive-main, .zg-woocommerce-main { padding: 52px 0 90px; }
.zg-page-header { margin-bottom: 35px; }
.zg-page-header h1 { color: var(--zg-navy); }
.zg-page-thumbnail, .zg-single-thumbnail { margin-bottom: 35px; overflow: hidden; border-radius: 24px; box-shadow: var(--zg-gray-shadow); }
.zg-page-thumbnail img, .zg-single-thumbnail img { display: block; width: 100%; }
.zg-entry-content { font-size: 17px; color: var(--zg-dark-600); }
.zg-entry-content h2, .zg-entry-content h3 { margin-top: 42px; color: var(--zg-navy); }
.zg-entry-content a { color: var(--zg-primary); text-decoration: underline; }
.zg-entry-content img { border-radius: 14px; }
.zg-entry-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.zg-entry-content th, .zg-entry-content td { padding: 12px; border: 1px solid var(--zg-light); white-space: nowrap; }
.zg-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 25px; color: var(--zg-gray-100); font-size: 12px; }
.zg-breadcrumb a { color: var(--zg-navy); }
.zg-breadcrumb-sep { opacity: .5; }

.zg-post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.zg-post-card { overflow: hidden; border: 1px solid var(--zg-light); border-radius: 20px; background: #fff; box-shadow: 0 8px 16px -2px rgba(68,82,71,.10); }
.zg-post-card-image { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--zg-light); }
.zg-post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.zg-post-card:hover .zg-post-card-image img { transform: scale(1.04); }
.zg-post-card-body { padding: 22px; }
.zg-post-card h2 { font-size: 20px; }
.zg-post-card p { color: var(--zg-gray-100); font-size: 14px; }
.zg-post-meta { display: flex; gap: 12px; margin-bottom: 10px; color: var(--zg-gray-100); font-size: 12px; }
.zg-single-header { margin-bottom: 30px; }
.zg-single-header h1 { color: var(--zg-navy); }
.zg-tags a { display: inline-block; margin: 5px; padding: 6px 10px; background: var(--zg-light); border-radius: 8px; font-size: 12px; }
.post-navigation { margin-top: 45px; padding-top: 25px; border-top: 1px solid var(--zg-light); }
.nav-links { display: flex; justify-content: space-between; gap: 20px; }
.zg-comments-area { margin-top: 50px; padding-top: 35px; border-top: 1px solid var(--zg-light); }
.comment-list { list-style: none; padding: 0; }
.comment-body { margin-bottom: 15px; padding: 18px; background: #fff; border: 1px solid var(--zg-light); border-radius: 14px; }
.comment-form input:not([type=submit]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #eef5e8; border-radius: 10px; }
.comment-form input[type=submit] { padding: 12px 24px; border: 0; border-radius: 10px; background: var(--zg-primary); color: #fff; }
.zg-empty-state { grid-column: 1/-1; padding: 45px; border: 1px dashed #eef5e8; border-radius: 18px; text-align: center; background: #fff; color: var(--zg-gray-100); }

.zg-404-main { padding: 100px 0; }
.zg-404-card { max-width: 680px; margin: 0 auto; padding: 55px; text-align: center; border-radius: 28px; background: #fff; box-shadow: var(--zg-gray-shadow); }
.zg-404-card > strong { display: block; color: var(--zg-primary); font-size: 90px; line-height: 1; }
.zg-404-card h1 { margin-top: 25px; color: var(--zg-navy); }

.zg-site-footer-modern { padding: 38px 0 0; background: transparent; color: #fff; }
.zg-footer-panel { position: relative; padding: 88px 40px 28px; background: var(--zg-primary-light); border-radius: 34px; overflow: visible; box-shadow: var(--zg-red-shadow); }
.zg-footer-panel::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 98px; height: 34px; background: var(--zg-primary-light); border-radius: 0 0 999px 999px; }
.zg-footer-top { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); display: inline-grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: #fff; color: var(--zg-navy); box-shadow: 0 12px 28px rgba(37,49,41,.18); z-index: 2; transition: transform .2s ease, color .2s ease; }
.zg-footer-top:hover { transform: translateX(-50%) translateY(-3px); color: var(--zg-primary); }
.zg-footer-top svg { width: 24px; height: 24px; }
.zg-footer-main-grid { display: grid; grid-template-columns: 1.1fr 1.1fr 1.45fr 0.9fr; gap: 34px; align-items: start; }
.zg-footer-column h3 { margin: 0 0 18px; color: #fff; font-size: 18px; }
.zg-footer-list, .zg-footer-contact-list { list-style: none; margin: 0; padding: 0; }
.zg-footer-list li { margin: 10px 0; }
.zg-footer-list a { position: relative; display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.97); font-size: 15px; transition: transform .2s ease, opacity .2s ease; }
.zg-footer-list a::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.95); }
.zg-footer-list a:hover { transform: translateX(-4px); opacity: 1; }
.zg-footer-contact-list li { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin: 12px 0; color: rgba(255,255,255,.97); font-size: 15px; }
.zg-footer-contact-list li span:last-child, .zg-footer-contact-list li a { color: inherit; }
.zg-footer-contact-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; }
.zg-footer-contact-copy small { max-width: 260px; color: rgba(255,255,255,.82); font-size: 10px; line-height: 1.8; }
.zg-footer-contact-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; color: #fff; }
.zg-footer-badges { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.zg-footer-badge { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; padding: 8px; background: #fff; border-radius: 18px; box-shadow: 0 10px 20px rgba(37,49,41,.12); }
.zg-footer-badge img { width: 100%; height: 100%; object-fit: contain; }
.zg-footer-social-wrap { margin-top: 92px; }
.zg-footer-social-wrap strong { display: block; margin-bottom: 16px; color: #fff; font-size: 17px; }
.zg-footer-socials { display: flex; align-items: center; gap: 16px; }
.zg-footer-socials a { display: inline-grid; place-items: center; width: 22px; height: 22px; color: #fff; transition: transform .2s ease, opacity .2s ease; }
.zg-footer-socials a:hover { transform: translateY(-2px); opacity: .92; }
.zg-footer-story-box { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; margin-top: 40px; padding: 22px 34px; background: rgba(255,255,255,.22); border-radius: 22px; }
.zg-footer-story-content p { margin: 0; color: rgba(255,255,255,.96); font-size: 16px; line-height: 2; }
.zg-footer-story-brand { display: flex; align-items: center; justify-content: center; }
.zg-footer-story-brand img { width: 160px; max-height: 56px; object-fit: contain; filter: brightness(0) invert(1); }
.zg-footer-bottom-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); }
.zg-footer-bottom-bar p { margin: 0; color: rgba(255,255,255,.9); font-size: 13px; }
.zg-footer-bottom-bar .zg-designer-credit a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.zg-designer-credit a { color: #fff; font-weight: 700; }

@media (max-width: 1100px) {
  .zg-home-showcase-grid { grid-template-columns: minmax(0, 1fr) 230px; gap: 28px; }
  .zg-amazing-card { padding-inline: 12px; }
  .zg-amazing-badge strong { font-size: 13px; }
}

@media (max-width: 960px) {
  .zg-home-showcase { padding: 16px 0 18px; }
  .zg-home-showcase .zg-container { width: min(calc(100% - 28px), var(--zg-container)); }
  .zg-home-showcase-grid { display: block; }
  .zg-amazing-card { display: none; }
  .zg-home-slider { width: 100%; aspect-ratio: 738 / 332; border-radius: 28px; }
}

@media (max-width: 560px) {
  .zg-home-showcase { padding-top: 12px; }
  .zg-home-showcase .zg-container { width: min(calc(100% - 20px), var(--zg-container)); }
  .zg-home-slider { border-radius: 22px; }
  .zg-home-slider-dots-shell { width: 82px; height: 31px; padding-bottom: 6px; }
  .zg-home-slider-dot { width: 8px; height: 8px; }
  .zg-home-slider-dot.is-active { width: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .zg-home-slide, .zg-home-slider-dot, .zg-amazing-card, .zg-amazing-image img { transition-duration: .01ms !important; }
  .zg-amazing-progress > span { transition: none !important; }
}

@media (max-width: 1100px) {
  .zg-primary-menu, .zg-menu-fallback { gap: 18px; }
  .zg-header-search { flex-basis: 245px; width: 245px; }
  .zg-promo-links { gap: 18px; margin-inline-start: 20px; }
  .zg-promo-links a { font-size: 11px; }
  .zg-daily-timer { padding-inline: 10px; gap: 7px; }
  .zg-hero-grid { gap: 35px; }
  .zg-feature { padding: 18px 14px; }
  .zg-footer-grid { grid-template-columns: 1.5fr repeat(2,1fr); }
}

@media (max-width: 960px) {
  .zg-site-header { position: relative; top: auto; }
  .admin-bar .zg-site-header { top: auto; }
  .zg-header-inner { position: relative; min-height: 76px; justify-content: space-between; gap: 10px; }
  .zg-mobile-toggle { display: inline-grid; }
  .zg-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .zg-logo img { width: 76px; max-height: 50px; }
  .zg-primary-nav, .zg-header-search { display: none; }
  .zg-header-actions { margin-inline-start: auto; gap: 8px; }
  .zg-account-link, .zg-header-cart-icon { width: 43px; height: 43px; flex-basis: 43px; }
  .zg-header-cart { min-width: 43px; gap: 0; }
  .zg-header-cart-copy, .zg-cart-count { display: none; }
  .zg-promo-shell { padding-bottom: 10px; }
  .zg-promo-bar { min-height: 62px; justify-content: center; gap: 13px; padding: 7px 12px; border-radius: 24px; }
  .zg-category-trigger, .zg-promo-links { display: none; }
  .zg-daily-timer { margin-inline-start: 0; padding: 0; gap: 7px; }
  .zg-timer-digits span { width: 19px; height: 26px; font-size: 12px; }
  .zg-timer-unit small { font-size: 8px; }
  .zg-daily-deal { min-width: 112px; gap: 7px; }
  .zg-daily-deal-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .zg-daily-deal-text strong { font-size: 14px; }
  .zg-daily-deal-text small { font-size: 9px; }
}

@media (max-width: 820px) {
  .admin-bar .zg-site-header { top: 46px; }
  .zg-container { width: min(calc(100% - 28px), var(--zg-container)); }
  .zg-hero { padding: 45px 0; background: linear-gradient(180deg,#fff 0 62%,#f8fbf4 62%); }
  .zg-hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .zg-hero-content { text-align: center; }
  .zg-hero-content p, .zg-hero-search { margin-inline: auto; }
  .zg-hero-actions { justify-content: center; }
  .zg-hero-visual { min-height: 330px; }
  .zg-hero-card { inset: 25px 20px; padding: 30px; }
  .zg-hero-badge { left: 0; }
  .zg-features-grid { grid-template-columns: repeat(2,1fr); }
  .zg-feature:nth-child(2) { border-left: 0; }
  .zg-feature:nth-child(-n+2) { border-bottom: 1px solid var(--zg-light); }
  .zg-section { padding: 60px 0; }
  .zg-category-grid { grid-template-columns: repeat(2,1fr); }
  .zg-post-grid { grid-template-columns: repeat(2,1fr); }
  .zg-promo-card { padding: 38px 28px; flex-direction: column; align-items: flex-start; }
  .zg-footer-grid { grid-template-columns: repeat(2,1fr); }
  .zg-footer-brand { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  body { font-size: 15px; line-height: 1.85; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
  .zg-container { width: min(calc(100% - 20px), var(--zg-container)); }
  .zg-header-inner { min-height: 72px; }
  .zg-logo img { width: 70px; }
  .zg-mobile-toggle, .zg-account-link, .zg-header-cart-icon { width: 41px; height: 41px; flex-basis: 41px; }
  .zg-header-actions { gap: 6px; }
  .zg-promo-bar { min-height: 59px; gap: 10px; padding-inline: 9px; }
  .zg-daily-timer { gap: 5px; }
  .zg-timer-digits { gap: 2px; }
  .zg-timer-digits span { width: 17px; height: 24px; border-radius: 6px; font-size: 11px; }
  .zg-daily-deal { min-width: 103px; }
  .zg-daily-deal-text strong { font-size: 13px; }
  .zg-hero-content h1 { font-size: 2.35rem; }
  .zg-hero-content p { font-size: 15px; }
  .zg-button { min-height: 48px; font-size: 13px; }
  .zg-hero-search { padding: 5px; }
  .zg-hero-search button { padding: 0 15px; }
  .zg-hero-visual { min-height: 270px; }
  .zg-hero-card { inset: 18px 10px; border-radius: 24px 24px 50px 24px; }
  .zg-hero-badge { min-width: 125px; padding: 12px; }
  .zg-features-grid { grid-template-columns: 1fr; }
  .zg-feature, .zg-feature:nth-child(2) { border-left: 0; border-bottom: 1px solid var(--zg-light); min-height: 100px; }
  .zg-feature:last-child { border-bottom: 0; }
  .zg-section-heading { align-items: flex-start; }
  .zg-section-heading .zg-text-link { white-space: nowrap; }
  .zg-category-grid, .zg-post-grid { grid-template-columns: 1fr; }
  .zg-category-card { min-height: 105px; }
  .zg-category-card img { width: 76px; height: 76px; }
  .zg-promo-card { border-radius: 20px; }
  .zg-page-main, .zg-single-main, .zg-archive-main, .zg-woocommerce-main { padding: 35px 0 60px; }
  .zg-entry-content { font-size: 15px; }
  .zg-footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  .zg-footer-bottom .zg-container { padding: 18px 0; flex-direction: column; text-align: center; }
}

@media (max-width: 360px) {
  .zg-mobile-toggle, .zg-account-link, .zg-header-cart-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .zg-header-actions { gap: 4px; }
  .zg-promo-bar { gap: 7px; padding-inline: 7px; }
  .zg-daily-deal { min-width: 94px; gap: 5px; }
  .zg-daily-deal-icon { width: 27px; height: 27px; flex-basis: 27px; }
  .zg-daily-deal-text strong { font-size: 12px; }
  .zg-daily-deal-text small { font-size: 8px; }
  .zg-timer-digits span { width: 16px; }
}


/* Homepage product categories — reference-based layout */
.zg-home-categories { padding: 34px 0 58px; background: var(--zg-white); }
.zg-home-categories-layout { display: grid; grid-template-columns: clamp(245px, 20vw, 280px) minmax(0, 1fr); align-items: center; gap: 28px; direction: rtl; }
.zg-home-categories-heading { position: relative; display: flex; align-items: center; min-height: 132px; padding: 24px 30px 24px 45px; border-radius: 31px; background: #eef5e8; }
.zg-home-categories-heading span { display: block; color: var(--zg-gray-100); font-size: clamp(14px, 1.25vw, 18px); line-height: 1.4; }
.zg-home-categories-heading h2 { margin: 3px 0 0; color: var(--zg-primary); font-size: clamp(23px, 2.15vw, 31px); line-height: 1.25; font-weight: 700; white-space: nowrap; }
.zg-home-categories-heading-icon { padding: 0; border: 0; cursor: pointer; position: absolute; left: -22px; top: 50%; display: grid !important; place-items: center; width: 58px; height: 58px; color: #fff !important; border: 7px solid var(--zg-white); border-radius: 50%; background: var(--zg-navy); transform: translateY(-50%); }
.zg-category-arrow-mobile { display: none; }
.zg-home-categories-carousel { min-width: 0; }
.zg-home-categories-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 80px) / 6); gap: 16px; overflow-x: auto; overflow-y: hidden; padding: 2px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.zg-home-categories-track::-webkit-scrollbar { display: none; }
.zg-home-category-card { display: grid; min-width: 0; aspect-ratio: 1 / 1.12; grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; gap: 8px; padding: 13px 10px 14px; overflow: hidden; color: var(--zg-gray-50); background: #fff; border: 1.5px solid #f8fbf4; border-radius: 26px; scroll-snap-align: start; transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.zg-home-category-image { display: grid; width: 100%; min-width: 0; min-height: 0; overflow: hidden; place-items: center; }
.zg-home-category-image img { display: block; width: var(--zg-home-category-image-size, 58%); height: auto; max-width: 100%; max-height: 100%; object-fit: contain; object-position: center; transition: transform .25s ease; }
.zg-home-category-card strong { position: relative; z-index: 1; display: -webkit-box; width: 100%; min-width: 0; min-height: 2.9em; margin: 0; overflow: hidden; color: inherit; font-size: clamp(13px, 1.2vw, 17px); font-weight: 400; line-height: 1.45; text-align: center; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.zg-home-category-card:hover, .zg-home-category-card:focus-visible { color: #fff; background: var(--zg-primary-light); border-color: var(--zg-primary-light); box-shadow: var(--zg-red-shadow); transform: translateY(-3px); }
.zg-home-category-card:hover .zg-home-category-image img, .zg-home-category-card:focus-visible .zg-home-category-image img { transform: scale(1.04); }
.zg-home-categories-nav { display: none; align-items: center; justify-content: center; gap: 14px; margin-top: 25px; direction: ltr; }
.zg-category-nav-button { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; color: var(--zg-gray-50); background: #fff; border: 1.5px solid #eef5e8; border-radius: 50%; transition: .2s ease; }
.zg-category-nav-button:hover { color: var(--zg-navy); border-color: var(--zg-navy); }
.zg-category-nav-button:disabled { color: #eef5e8; border-color: #f8fbf4; cursor: not-allowed; opacity: .7; }

@media (max-width: 1180px) {
  .zg-home-categories-layout { grid-template-columns: 235px minmax(0, 1fr); gap: 24px; }
  .zg-home-categories-track { grid-auto-columns: calc((100% - 64px) / 5); }
}

@media (max-width: 960px) {
  .zg-home-categories { padding: 18px 0 48px; }
  .zg-home-categories-layout { display: block; }
  .zg-home-categories-heading { min-height: 90px; justify-content: center; padding: 15px 28px 17px; border-radius: 28px; text-align: center; }
  .zg-home-categories-heading h2 { font-size: 26px; white-space: normal; }
  .zg-home-categories-heading span { font-size: 16px; }
  .zg-home-categories-heading-icon { top: auto; left: 72px; right: auto; bottom: -35px; width: 72px; height: 72px; border-width: 8px; transform: none; }
  .zg-category-arrow-desktop { display: none; }
  .zg-category-arrow-mobile { display: block; }
  .zg-home-categories-carousel { margin-top: 72px; }
  .zg-home-categories-track { grid-auto-columns: calc((100% - 24px) / 3); gap: 12px; padding: 1px; }
  .zg-home-category-card { aspect-ratio: 1 / 1.16; gap: 6px; border-radius: 23px; padding: 10px 7px 11px; }
  .zg-home-category-image img { width: var(--zg-home-category-image-size-mobile, 52%); }
  .zg-home-category-card strong { min-height: 2.9em; margin: 0; font-size: 14px; font-weight: 600; }
  .zg-home-categories-nav { display: flex; }
}

@media (max-width: 560px) {
  .zg-home-categories-heading { min-height: 89px; padding-inline: 24px; }
  .zg-home-categories-heading-icon { left: 63px; right: auto; }
  .zg-home-categories-carousel { margin-top: 74px; }
  .zg-home-category-card { gap: 5px; padding-block: 9px 10px; }
  .zg-home-category-card strong { font-size: 12px; }
  .zg-category-nav-button { width: 48px; height: 48px; }
}

@media (max-width: 380px) {
  .zg-home-categories-track { grid-auto-columns: calc((100% - 16px) / 3); gap: 8px; }
  .zg-home-category-card { aspect-ratio: 1 / 1.2; border-radius: 18px; padding-inline: 5px; }
  .zg-home-category-card strong { font-size: 11px; }
}


@media (max-width: 1199px) {
  .zg-footer-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zg-footer-social-wrap { margin-top: 48px; }
}
@media (max-width: 767px) {
  .zg-site-footer-modern { padding-top: 26px; }
  .zg-footer-panel { padding: 68px 18px 22px; border-radius: 28px; }
  .zg-footer-panel::before { width: 86px; height: 28px; }
  .zg-footer-top { width: 46px; height: 46px; top: -8px; }
  .zg-footer-main-grid { grid-template-columns: 1fr; gap: 24px; }
  .zg-footer-column h3 { font-size: 17px; margin-bottom: 14px; }
  .zg-footer-list a, .zg-footer-contact-list li { font-size: 14px; }
  .zg-footer-badges { flex-direction: row; flex-wrap: wrap; }
  .zg-footer-badge { width: 78px; height: 78px; border-radius: 16px; }
  .zg-footer-social-wrap { margin-top: 18px; }
  .zg-footer-story-box { grid-template-columns: 1fr; text-align: center; padding: 20px 18px; gap: 16px; }
  .zg-footer-story-brand { order: -1; }
  .zg-footer-story-brand img { width: 132px; max-height: 46px; }
  .zg-footer-story-content p { font-size: 14px; line-height: 2.1; }
  .zg-footer-bottom-bar { flex-direction: column; text-align: center; }
}

/* Footer refinements — mobile reference layout, Bambogilda 0.10.0 */
.zg-footer-lower { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: stretch; gap: 28px; margin-top: 40px; }
.zg-footer-story-box { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 26px; margin: 0; padding: 22px 30px; }
.zg-footer-story-brand { min-width: 0; }
.zg-footer-story-content { min-width: 0; }
.zg-footer-social-wrap { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; margin: 0; }
.zg-footer-column-badges { align-self: stretch; }

@media (max-width: 1199px) {
  .zg-footer-lower { grid-template-columns: minmax(0, 1fr) 190px; }
}

@media (max-width: 767px) {
  .zg-site-footer-modern { padding-top: 24px; }
  .zg-site-footer-modern > .zg-container { width: calc(100% - 8px); }
  .zg-footer-panel { padding: 62px 15px 18px; border-radius: 23px; box-shadow: none; }
  .zg-footer-panel::before { width: 72px; height: 25px; }
  .zg-footer-top { top: -7px; width: 42px; height: 42px; box-shadow: 0 5px 14px rgba(37,49,41,.15); }
  .zg-footer-top svg { width: 20px; height: 20px; }
  .zg-footer-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .zg-footer-column-contact, .zg-footer-column-badges { grid-column: 1 / -1; }
  .zg-footer-column h3 { margin-bottom: 12px; font-size: 15px; line-height: 1.5; }
  .zg-footer-list li { margin: 8px 0; }
  .zg-footer-list a { gap: 7px; font-size: 12px; }
  .zg-footer-list a::before { width: 5px; height: 5px; }
  .zg-footer-contact-list li { align-items: flex-start; gap: 7px; margin: 9px 0; font-size: 11px; line-height: 1.9; }
  .zg-footer-contact-icon { width: 18px; height: 18px; flex-basis: 18px; margin-top: 2px; }
  .zg-footer-contact-icon svg { width: 17px; height: 17px; }
  .zg-footer-badges { flex-direction: row; align-items: center; justify-content: center; gap: 14px; }
  .zg-footer-badge { width: 66px; height: 66px; padding: 6px; border-radius: 13px; box-shadow: none; }
  .zg-footer-lower { display: flex; flex-direction: column; gap: 17px; margin-top: 18px; }
  .zg-footer-story-box { display: flex; flex-direction: column; gap: 12px; padding: 18px 15px; border-radius: 17px; text-align: center; }
  .zg-footer-story-brand img { width: 114px; max-height: 39px; }
  .zg-footer-story-content p { font-size: 11px; line-height: 2.05; }
  .zg-footer-social-wrap { align-items: center; }
  .zg-footer-social-wrap strong { margin-bottom: 10px; font-size: 12px; font-weight: 400; }
  .zg-footer-socials { gap: 15px; }
  .zg-footer-socials a { width: 19px; height: 19px; }
  .zg-footer-socials svg { width: 19px; height: 19px; }
  .zg-footer-bottom-bar { gap: 6px; margin-top: 15px; padding-top: 12px; }
  .zg-footer-bottom-bar p { font-size: 9px; line-height: 1.8; }
}
.zg-footer-badge-code { overflow: hidden; }
.zg-footer-badge-code > a,
.zg-footer-badge-code > div,
.zg-footer-badge-code > span { display: grid; width: 100%; height: 100%; place-items: center; }
.zg-footer-badge-code img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }

/* Version 0.11.0 breadcrumb refinement. */
.zg-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 26px;
  padding: 8px 12px;
  border: 1px solid #f8fbf4;
  border-radius: 13px;
  background: #fff;
  color: var(--zg-gray-100);
  box-shadow: 0 7px 18px rgba(37,49,41,.055);
  font-size: 11px;
  line-height: 1.6;
}
.zg-breadcrumb a { color: var(--zg-navy); font-weight: 600; transition: color .2s ease; }
.zg-breadcrumb a:hover { color: var(--zg-primary); }
.zg-breadcrumb-sep { display: inline-grid; place-items: center; color: #dce8d5; opacity: 1; }
.zg-breadcrumb-current { display: inline-block; overflow: hidden; max-width: min(48vw,420px); color: var(--zg-primary); white-space: nowrap; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .zg-breadcrumb { width: 100%; padding: 8px 10px; border-radius: 11px; font-size: 10px; }
}

/* Header mega menu and live product search. */
.zg-category-menu-wrap { position: relative; align-self: stretch; display: flex; align-items: center; flex: 0 0 auto; }
.zg-mega-menu { position: absolute; z-index: 1400; top: calc(100% - 1px); right: 0; width: min(1040px, calc(100vw - 80px)); max-height: min(650px, 72vh); padding: 20px; overflow: auto; border: 1px solid #f8fbf4; border-radius: 22px; background: #fff; color: var(--zg-dark-700); box-shadow: 0 24px 55px rgba(37,49,41,.18); opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.zg-mega-menu::before { content: ""; position: absolute; right: 0; top: -16px; width: 180px; height: 18px; }
.zg-category-menu-wrap:hover .zg-mega-menu,
.zg-category-menu-wrap:focus-within .zg-mega-menu,
.zg-category-menu-wrap.is-mega-open .zg-mega-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.zg-mega-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; padding: 0 2px 15px; border-bottom: 1px solid #f8fbf4; }
.zg-mega-menu-head > div { display: flex; flex-direction: column; line-height: 1.55; }
.zg-mega-menu-head strong { color: var(--zg-navy); font-size: 18px; }
.zg-mega-menu-head span { color: var(--zg-gray-100); font-size: 11px; }
.zg-mega-menu-head > a { display: inline-flex; align-items: center; gap: 8px; color: var(--zg-primary); font-size: 12px; font-weight: 700; }
.zg-mega-menu-head .zg-button-icon { width: 27px; height: 27px; }
.zg-mega-menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.zg-mega-menu-group { min-width: 0; padding: 12px; border: 1px solid #f8fbf4; border-radius: 16px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.zg-mega-menu-group:hover { border-color: rgba(130,194,110,.2); box-shadow: 0 10px 25px rgba(37,49,41,.07); transform: translateY(-2px); }
.zg-mega-menu-parent { display: flex; align-items: center; gap: 10px; min-width: 0; }
.zg-mega-menu-image { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; overflow: hidden; border-radius: 13px; background: #f8fbf4; }
.zg-mega-menu-image img { width: 100%; height: 100%; object-fit: contain; }
.zg-mega-menu-image svg { width: 25px; height: 25px; }
.zg-mega-menu-parent > span:last-child { display: flex; min-width: 0; flex-direction: column; line-height: 1.55; }
.zg-mega-menu-parent b { overflow: hidden; color: var(--zg-navy); font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.zg-mega-menu-parent small { color: var(--zg-gray-100); font-size: 9px; }
.zg-mega-menu-group ul { list-style: none; margin: 11px 0 0; padding: 10px 0 0; border-top: 1px dashed #f8fbf4; }
.zg-mega-menu-group li { margin: 5px 0; }
.zg-mega-menu-group li a { position: relative; display: block; overflow: hidden; padding-right: 12px; color: var(--zg-gray-200); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; transition: color .18s ease, padding-right .18s ease; }
.zg-mega-menu-group li a::before { content: ""; position: absolute; top: 50%; right: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--zg-primary); transform: translateY(-50%); }
.zg-mega-menu-group li a:hover { padding-right: 16px; color: var(--zg-primary); }

.zg-header-search-icon { padding: 0; border: 0; background: transparent; color: inherit; pointer-events: auto; z-index: 2; }
.zg-live-search { position: relative; }
.zg-live-search-results { position: absolute; z-index: 1500; top: calc(100% + 9px); right: 0; width: min(430px, 88vw); max-height: 470px; overflow: auto; border: 1px solid #f8fbf4; border-radius: 18px; background: #fff; box-shadow: 0 22px 48px rgba(37,49,41,.17); opacity: 0; visibility: hidden; transform: translateY(8px); pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.zg-live-search.is-search-open .zg-live-search-results { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.zg-live-search-list { padding: 7px; }
.zg-live-search-item { display: grid; grid-template-columns: 58px minmax(0,1fr) 27px; align-items: center; gap: 11px; min-height: 72px; padding: 7px; border-radius: 12px; transition: background .18s ease; }
.zg-live-search-item + .zg-live-search-item { border-top: 1px solid #f8fbf4; }
.zg-live-search-item:hover { background: #eef5e8; }
.zg-live-search-thumb { display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border-radius: 11px; background: #f8fbf4; }
.zg-live-search-thumb img { width: 100%; height: 100%; object-fit: contain; }
.zg-live-search-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.zg-live-search-copy strong { overflow: hidden; color: var(--zg-dark-700); font-size: 12px; line-height: 1.7; white-space: nowrap; text-overflow: ellipsis; }
.zg-live-search-copy small { color: var(--zg-primary); font-size: 11px; font-weight: 700; }
.zg-live-search-copy del { margin-left: 5px; color: #dce8d5; font-size: 9px; }
.zg-live-search-arrow { display: grid; place-items: center; color: var(--zg-primary); }
.zg-live-search-arrow .zg-button-icon { width: 25px; height: 25px; }
.zg-live-search-all { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-top: 1px solid #f8fbf4; background: #ffffff; color: var(--zg-primary); font-size: 11px; font-weight: 700; }
.zg-live-search-all .zg-button-icon { width: 25px; height: 25px; }
.zg-live-search-loading, .zg-live-search-empty { display: flex; min-height: 88px; align-items: center; justify-content: center; gap: 10px; padding: 18px; color: var(--zg-gray-100); font-size: 11px; text-align: center; }
.zg-live-search-loading span { width: 18px; height: 18px; border: 2px solid #f8fbf4; border-top-color: var(--zg-primary); border-radius: 50%; animation: zg-search-spin .7s linear infinite; }
@keyframes zg-search-spin { to { transform: rotate(360deg); } }

.zg-product-search-page { background: #ffffff; }
.zg-search-page-header { margin-bottom: 28px; padding: 24px 28px; border: 1px solid #f8fbf4; border-radius: 22px; background: #fff; box-shadow: 0 10px 28px rgba(37,49,41,.06); }
.zg-search-page-header h1 { margin-bottom: 6px; font-size: clamp(24px,3vw,38px); }
.zg-search-page-header p { margin: 0; color: var(--zg-gray-100); font-size: 12px; }
.zg-search-product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.zg-search-product-grid .zg-product-card { width: 100%; min-width: 0; }
.zg-search-empty { max-width: 620px; margin: 30px auto; padding: 55px 25px; border: 1px dashed #eef5e8; border-radius: 24px; background: #fff; text-align: center; }
.zg-search-empty-icon { display: grid; width: 62px; height: 62px; margin: 0 auto 16px; place-items: center; border-radius: 18px; background: rgba(130,194,110,.08); }
.zg-search-empty-icon svg { width: 29px; height: 29px; }
.zg-search-empty h2 { margin-bottom: 8px; color: var(--zg-navy); font-size: 24px; }
.zg-search-empty p { color: var(--zg-gray-100); font-size: 13px; }

@media (max-width: 1100px) {
  .zg-mega-menu-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .zg-search-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .zg-category-menu-wrap { display: none; }
  .zg-mobile-search .zg-header-search-icon { right: 13px; }
  .zg-mobile-search .zg-live-search-results { top: calc(100% + 7px); width: 100%; max-height: 360px; }
  .zg-mobile-search input { padding-right: 42px; }
}
@media (max-width: 700px) {
  .zg-search-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .zg-live-search-results { width: min(410px, calc(100vw - 34px)); }
}


.zg-category-menu-wrap { position: relative; }

/* Version 0.13.0: Digikala-style hierarchical mega menu. */
.zg-mega-menu {
  width: min(1240px, calc(100vw - 70px));
  height: min(620px, 72vh);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}
.zg-mega-menu::before { top: -18px; width: 210px; height: 20px; }
.zg-mega-menu-layout { display: flex; width: 100%; height: 100%; direction: rtl; }
.zg-mega-parent-list {
  width: 255px;
  flex: 0 0 255px;
  overflow-y: auto;
  background: #f8fbf4;
  border-left: 1px solid #f8fbf4;
  scrollbar-width: thin;
}
.zg-mega-parent-item {
  display: grid;
  grid-template-columns: 27px minmax(0,1fr) 16px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 16px;
  color: var(--zg-navy);
  border-right: 3px solid transparent;
  font-size: 13px;
  font-weight: 600;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.zg-mega-parent-item:hover,
.zg-mega-parent-item.is-active {
  background: #fff;
  color: var(--zg-primary);
  border-right-color: var(--zg-primary);
}
.zg-mega-parent-icon { display: grid; width: 25px; height: 25px; place-items: center; overflow: hidden; }
.zg-mega-parent-icon img { width: 24px; height: 24px; object-fit: contain; filter: grayscale(1) contrast(.8); }
.zg-mega-parent-item.is-active .zg-mega-parent-icon img,
.zg-mega-parent-item:hover .zg-mega-parent-icon img { filter: none; }
.zg-mega-parent-icon svg { width: 22px; height: 22px; }
.zg-mega-parent-icon svg path { stroke: currentColor !important; }
.zg-mega-parent-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.zg-mega-content { min-width: 0; flex: 1; overflow: hidden; background: #fff; }
.zg-mega-panel { display: none; height: 100%; padding: 25px 28px 30px; overflow-y: auto; }
.zg-mega-panel.is-active { display: block; animation: zgMegaFade .16s ease; }
@keyframes zgMegaFade { from { opacity: .45; } to { opacity: 1; } }
.zg-mega-panel-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 25px;
  color: #5cb270;
  font-size: 12px;
  font-weight: 700;
}
.zg-mega-child-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  align-items: start;
  gap: 28px 34px;
}
.zg-mega-child-group { min-width: 0; }
.zg-mega-child-title {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  margin-bottom: 13px;
  padding-right: 10px;
  border-right: 2px solid var(--zg-primary);
  color: var(--zg-dark-700);
  font-size: 14px;
  font-weight: 700;
}
.zg-mega-child-title:hover { color: var(--zg-primary); }
.zg-mega-child-group ul { list-style: none; margin: 0; padding: 0; }
.zg-mega-child-group li { margin: 0 0 10px; }
.zg-mega-child-group li a {
  display: block;
  overflow: hidden;
  color: #445247;
  font-size: 12px;
  line-height: 1.75;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color .16s ease, padding-right .16s ease;
}
.zg-mega-child-group li a:hover { color: var(--zg-primary); padding-right: 5px; }
.zg-mega-empty { padding: 30px; color: var(--zg-gray-100); font-size: 13px; }
@media (max-width: 1180px) {
  .zg-mega-menu { width: min(1040px, calc(100vw - 44px)); }
  .zg-mega-parent-list { width: 225px; flex-basis: 225px; }
  .zg-mega-child-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}


/* Bambogilda 0.21.0 — mobile promo bar alignment. */
@media (max-width: 767px) {
  .zg-promo-bar { width: 100%; justify-content: space-between; direction: rtl; }
  .zg-promo-bar .zg-daily-timer { margin: 0; padding: 0; flex: 0 0 auto; }
  .zg-promo-bar .zg-daily-deal { margin: 0; flex: 0 0 auto; justify-content: flex-start; }
}

/* v0.22: the back-to-top circle is centered exactly on the footer top edge. */
.zg-footer-top {
  top: 0 !important;
  transform: translate(-50%, -50%) !important;
}
.zg-footer-top:hover {
  transform: translate(-50%, calc(-50% - 3px)) !important;
}

/* Page template: بدون عنوان */
.zg-page-main-no-title { padding-top: 28px; }
.zg-page-article-no-title { width: 100%; }
.zg-page-article-no-title .zg-entry-content { margin-top: 0; }


/* ===== wishlist.css ===== */
/* Header action popovers, featured carousel, product cards and wishlist page. */
.zg-header-action { position: relative; display: inline-flex; align-items: center; }
.zg-header-icon-link { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border: 1px solid #f8fbf4; border-radius: 50%; background: #fff; color: var(--zg-gray-50); transition: transform .2s ease, color .2s ease, border-color .2s ease, background .2s ease; }
.zg-header-icon-link:hover { color: var(--zg-primary); border-color: rgba(130,194,110,.22); background: rgba(130,194,110,.04); transform: translateY(-2px); }
.zg-header-icon-link svg { width: 23px; height: 23px; }
.zg-wishlist-count { position: absolute; top: -4px; left: -4px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border: 2px solid #fff; border-radius: 20px; background: var(--zg-primary); color: #fff; font-size: 9px; font-weight: 700; line-height: 1; }
.zg-wishlist-count.is-empty, .zg-cart-count.is-empty { display: none; }

.zg-header-popover { position: absolute; z-index: 1300; top: calc(100% + 13px); left: 0; width: min(340px, 88vw); padding: 14px; direction: rtl; background: #fff; border: 1px solid #f8fbf4; border-radius: 18px; box-shadow: 0 18px 45px rgba(37,49,41,.18); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(9px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.zg-header-popover::before { content: ""; position: absolute; right: 0; left: 0; bottom: 100%; height: 16px; }
.zg-header-action.is-open > .zg-header-popover { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.zg-header-popover-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 2px 11px; margin-bottom: 10px; border-bottom: 1px solid #f8fbf4; }
.zg-header-popover-title strong { color: var(--zg-navy); font-size: 14px; }
.zg-header-popover-title span { color: var(--zg-gray-100); font-size: 11px; }
.zg-header-popover-empty { padding: 22px 12px; color: var(--zg-gray-100); text-align: center; font-size: 12px; line-height: 1.8; }
.zg-header-popover-primary { display: flex; align-items: center; justify-content: center; min-height: 43px; padding: 8px 12px; border-radius: 11px; background: var(--zg-primary); color: #fff !important; font-size: 12px; font-weight: 700; box-shadow: var(--zg-red-shadow); }

.zg-cart-popover { width: min(370px, 90vw); }
.zg-header-mini-cart-content .woocommerce-mini-cart { max-height: 310px; margin: 0; padding: 0; overflow: auto; list-style: none; }
.zg-header-mini-cart-content .woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 10px; min-height: 78px; padding: 8px 24px 8px 0; border-bottom: 1px solid #f8fbf4; }
.zg-header-mini-cart-content .woocommerce-mini-cart-item > a:not(.remove) { display: contents; color: var(--zg-dark-700); font-size: 12px; font-weight: 600; line-height: 1.65; }
.zg-header-mini-cart-content .woocommerce-mini-cart-item img { grid-row: 1 / span 2; width: 64px; height: 64px; margin: 0; object-fit: contain; border: 1px solid #f8fbf4; border-radius: 10px; background: #fff; }
.zg-header-mini-cart-content .woocommerce-mini-cart-item .quantity { grid-column: 2; color: var(--zg-gray-100); font-size: 11px; }
.zg-header-mini-cart-content .remove_from_cart_button { position: absolute; top: 8px; right: 0; display: grid; place-items: center; width: 20px; height: 20px; color: var(--zg-primary) !important; background: rgba(130,194,110,.07); border-radius: 50%; font-size: 16px; line-height: 1; }
.zg-header-mini-cart-content .woocommerce-mini-cart__total { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 12px 2px; color: var(--zg-navy); border-bottom: 0; font-size: 12px; }
.zg-header-mini-cart-content .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.zg-header-mini-cart-content .woocommerce-mini-cart__buttons .button { display: flex; align-items: center; justify-content: center; min-height: 42px; margin: 0; padding: 8px; border-radius: 10px; background: var(--zg-navy); color: #fff; font-size: 11px; }
.zg-header-mini-cart-content .woocommerce-mini-cart__buttons .checkout { background: var(--zg-primary); }

.zg-mini-wishlist-list { max-height: 310px; margin: 0 0 11px; padding: 0; overflow: auto; list-style: none; }
.zg-mini-wishlist-list li { position: relative; min-height: 72px; padding: 7px 0 7px 26px; border-bottom: 1px solid #f8fbf4; }
.zg-mini-wishlist-product { display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 10px; }
.zg-mini-wishlist-product img { width: 58px; height: 58px; object-fit: contain; border: 1px solid #f8fbf4; border-radius: 9px; background: #fff; }
.zg-mini-wishlist-product span { min-width: 0; }
.zg-mini-wishlist-product strong { display: -webkit-box; overflow: hidden; color: var(--zg-dark-700); font-size: 12px; font-weight: 600; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.zg-mini-wishlist-product small { display: block; margin-top: 3px; color: var(--zg-primary); font-size: 11px; }
.zg-mini-wishlist-list li > button { position: absolute; top: 8px; left: 0; display: grid; place-items: center; width: 21px; height: 21px; padding: 0; border: 0; border-radius: 50%; background: #f8fbf4; color: var(--zg-primary); font-size: 17px; line-height: 1; }
.zg-account-popover { width: 240px; }
.zg-account-popover-menu { display: grid; gap: 3px; }
.zg-account-popover-menu a { display: flex; align-items: center; min-height: 40px; padding: 7px 10px; color: var(--zg-dark-600); border-radius: 9px; font-size: 12px; transition: .2s ease; }
.zg-account-popover-menu a:hover { color: var(--zg-primary); background: rgba(130,194,110,.055); }
.zg-account-popover-menu .is-logout { color: var(--zg-primary); border-top: 1px solid #f8fbf4; border-radius: 0; margin-top: 5px; }

@media (hover:hover) and (pointer:fine) and (min-width:961px) {
  .zg-header-action:hover > .zg-header-popover,
  .zg-header-action:focus-within > .zg-header-popover { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
}

/* Reusable product cards */
.zg-product-card { position: relative; display: flex; min-width: 0; height: 100%; flex-direction: column; padding: 14px 14px 16px; overflow: hidden; background: #fff; border: 1px solid #f8fbf4; border-radius: 24px; box-shadow: 0 8px 16px -2px rgba(68,82,71,.14); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.zg-product-card:hover { border-color: rgba(130,194,110,.22); box-shadow: var(--zg-gray-shadow); transform: translateY(-3px); }
.zg-product-card-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 30px; }
.zg-product-rating { display: inline-flex; direction: ltr; align-items: center; gap: 4px; color: #f4f269; font-size: 12px; line-height: 1; }
.zg-product-rating strong { color: var(--zg-dark-700); font-size: 11px; font-weight: 600; }
.zg-product-rating.is-empty { color: #f4f269; }
.zg-wishlist-button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #445247; transition: color .2s ease, background .2s ease, transform .2s ease; }
.zg-wishlist-button:hover { color: var(--zg-primary); background: rgba(130,194,110,.06); transform: scale(1.05); }
.zg-wishlist-button.is-active { color: var(--zg-primary); background: rgba(130,194,110,.08); }
.zg-wishlist-button.is-active svg path { fill: currentColor; }
.zg-wishlist-button svg { width: 25px; height: 25px; }
.zg-product-card-image { display: grid; width: 100%; height: clamp(150px, 15vw, 210px); place-items: center; padding: 5px; }
.zg-product-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.zg-product-card-title { display: block; margin-top: 3px; }
.zg-product-card-title h3 { display: -webkit-box; min-height: 57px; margin: 0; overflow: hidden; color: var(--zg-dark-700); font-size: 14px; font-weight: 600; line-height: 1.9; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.zg-product-card-bottom { display: grid; grid-template-columns: minmax(0,1fr) 48px; align-items: end; gap: 10px; min-height: 62px; margin-top: auto; padding-top: 8px; }
.zg-product-card-price { position: relative; display: flex; min-width: 0; min-height: 52px; flex-direction: column; justify-content: flex-end; align-items: flex-start; line-height: 1.45; }
.zg-product-card-price small { color: var(--zg-gray-100); font-size: 10px; }
.zg-product-card-price del { color: #dce8d5; font-size: 10px; font-weight: 400; }
.zg-product-card-price > strong { color: var(--zg-dark-700); font-size: 14px; font-weight: 700; white-space: nowrap; }
.zg-product-card-price > strong .woocommerce-Price-currencySymbol { margin-right: 3px; font-size: .75em; font-weight: 400; }
.zg-product-card-stock { color: var(--zg-gray-100) !important; font-size: 12px !important; }
.zg-product-card-discount { position: absolute; right: -14px; bottom: 30px; display: grid; place-items: center; min-width: 55px; height: 28px; padding: 0 11px; color: #fff; background: var(--zg-primary); border-radius: 0 9px 9px 0; font-size: 11px; font-weight: 700; }
.zg-product-card-cart { display: grid; place-items: center; width: 48px; height: 48px; align-self: end; border-radius: 14px; background: var(--zg-primary-light); color: #fff; box-shadow: var(--zg-red-shadow); transition: transform .2s ease, background .2s ease; }
.zg-product-card-cart:hover { color: #fff; background: var(--zg-primary); transform: translateY(-2px); }
.zg-product-card-cart.is-disabled { background: #253129; box-shadow: 0 8px 16px -2px rgba(37,49,41,.25); }
.zg-product-card-cart svg { width: 25px; height: 25px; }

/* Featured-products section */
.zg-home-featured { padding: 50px 0 70px; background: var(--zg-white); }
.zg-home-featured-layout { display: grid; grid-template-columns: 285px minmax(0,1fr); align-items: stretch; gap: 0; direction: rtl; }
.zg-home-featured-panel { position: relative; z-index: 2; display: flex; min-height: 470px; flex-direction: column; justify-content: flex-start; padding: 36px 34px; color: #fff; background: var(--zg-navy); border-radius: 31px; }
.zg-home-featured-copy h2 { margin: 0; color: #fff; font-size: 25px; font-weight: 700; }
.zg-home-featured-copy p { margin: 4px 0 0; color: rgba(255,255,255,.78); font-size: 15px; }
.zg-featured-view-all { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; color: #fff; font-size: 13px; font-weight: 600; }
.zg-featured-view-all i { display: grid; place-items: center; width: 34px; height: 34px; color: #fff; background: var(--zg-primary); border-radius: 9px; box-shadow: var(--zg-red-shadow); }
.zg-home-featured-panel-arrow { position: absolute; top: 55px; left: -26px; display: grid; place-items: center; width: 54px; height: 54px; padding: 0; color: var(--zg-primary); background: #fff; border: 7px solid var(--zg-white); border-radius: 50%; }
.zg-home-featured-panel-arrow .mobile-arrow { display: none; }
.zg-home-featured-carousel { min-width: 0; padding: 0 0 10px; overflow: hidden; }
.zg-home-featured-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(230px, 21vw, 265px); align-items: stretch; gap: 12px; min-height: 470px; padding: 8px 0 16px 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
.zg-home-featured-track::-webkit-scrollbar { display: none; }
.zg-home-featured-track .zg-product-card { scroll-snap-align: start; }
.zg-home-featured-nav { display: none; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; direction: ltr; }
.zg-home-featured-nav button { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; color: var(--zg-gray-50); background: #fff; border: 1.5px solid #eef5e8; border-radius: 50%; }
.zg-home-featured-nav button:disabled { color: #eef5e8; border-color: #f8fbf4; opacity: .7; cursor: not-allowed; }

/* Standard WooCommerce cards: functional wishlist button and two-line title. */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { position: relative; display: flex; height: 100%; flex-direction: column; }
.zg-loop-wishlist-button { position: absolute; z-index: 5; top: 14px; left: 14px; background: rgba(255,255,255,.92); }
.woocommerce ul.products li.product .woocommerce-LoopProduct-link { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { display: -webkit-box; min-height: 54px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.woocommerce ul.products li.product .button { margin-top: auto; }

/* Wishlist page */
.zg-wishlist-page { padding: 55px 0 85px; }
.zg-wishlist-page-header { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 32px; padding-bottom: 22px; border-bottom: 1px solid var(--zg-light); }
.zg-wishlist-page-header span { color: var(--zg-primary); font-size: 12px; font-weight: 700; }
.zg-wishlist-page-header h1 { margin: 3px 0 0; color: var(--zg-navy); font-size: clamp(28px,4vw,44px); }
.zg-wishlist-page-header p { max-width: 480px; margin: 0; color: var(--zg-gray-100); font-size: 13px; }
.zg-wishlist-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: stretch; gap: 18px; }
.zg-wishlist-empty { display: none; max-width: 600px; margin: 30px auto 0; padding: 55px 25px; text-align: center; border: 1px dashed #eef5e8; border-radius: 22px; background: #fff; }
.zg-wishlist-empty.is-visible { display: block; }
.zg-wishlist-empty > span { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; color: var(--zg-primary); background: rgba(130,194,110,.07); border-radius: 50%; }
.zg-wishlist-empty > span svg { width: 34px; height: 34px; }
.zg-wishlist-empty h2 { margin-bottom: 7px; color: var(--zg-navy); font-size: 22px; }
.zg-wishlist-empty p { color: var(--zg-gray-100); font-size: 13px; }
.zg-wishlist-empty a { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 8px 18px; color: #fff; background: var(--zg-primary); border-radius: 11px; font-size: 12px; font-weight: 700; }
.zg-wishlist-toast { position: fixed; z-index: 100000; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 9px; max-width: min(360px, calc(100vw - 30px)); min-height: 48px; padding: 10px 15px; color: #fff; background: var(--zg-navy); border-radius: 13px; box-shadow: 0 16px 40px rgba(37,49,41,.25); opacity: 0; transform: translateY(18px); transition: .24s ease; }
.zg-wishlist-toast.is-visible { opacity: 1; transform: translateY(0); }
.zg-wishlist-toast svg { width: 20px; height: 20px; color: #fff; }
.zg-wishlist-toast span { font-size: 12px; font-weight: 600; }

@media (max-width: 1180px) {
  .zg-home-featured-layout { grid-template-columns: 245px minmax(0,1fr); }
  .zg-home-featured-panel { min-height: 430px; padding-inline: 25px; }
  .zg-home-featured-track { grid-auto-columns: 235px; min-height: 430px; }
  .zg-product-card-image { height: 175px; }
  .zg-wishlist-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 960px) {
  .zg-header-popover { position: fixed; top: 78px; right: 12px; left: 12px; width: auto; max-height: calc(100dvh - 105px); overflow: auto; transform: translateY(-8px); }
  .admin-bar .zg-header-popover { top: 124px; }
  .zg-header-action.is-open > .zg-header-popover { transform: translateY(0); }
  .zg-header-icon-link { width: 43px; height: 43px; flex-basis: 43px; }
  .zg-home-featured { padding: 35px 0 58px; }
  .zg-home-featured-layout { display: block; }
  .zg-home-featured-panel { min-height: 126px; padding: 21px 28px; border-radius: 29px; }
  .zg-home-featured-copy { text-align: right; }
  .zg-home-featured-copy h2 { font-size: 24px; }
  .zg-home-featured-copy p { font-size: 14px; }
  .zg-featured-view-all { position: absolute; top: 43px; left: 25px; margin: 0; }
  .zg-home-featured-panel-arrow { top: auto; left: 50%; bottom: -31px; width: 70px; height: 70px; border-width: 8px; transform: translateX(-50%); }
  .zg-home-featured-panel-arrow .desktop-arrow { display: none; }
  .zg-home-featured-panel-arrow .mobile-arrow { display: block; }
  .zg-home-featured-carousel { padding-top: 70px; }
  .zg-home-featured-track { grid-auto-columns: calc((100% - 12px) / 2); min-height: 0; gap: 12px; padding: 1px 1px 15px; }
  .zg-home-featured-nav { display: flex; }
  .zg-product-card { padding: 11px 11px 14px; border-radius: 20px; }
  .zg-product-card-image { height: clamp(135px, 34vw, 190px); }
  .zg-product-card-title h3 { min-height: 54px; font-size: 13px; }
  .zg-product-card-bottom { grid-template-columns: minmax(0,1fr) 46px; }
  .zg-product-card-cart { width: 46px; height: 46px; }
  .zg-wishlist-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
}

@media (max-width: 560px) {
  .zg-header-actions { gap: 4px; }
  .zg-header-icon-link, .zg-account-link, .zg-header-cart-icon { width: 39px; height: 39px; flex-basis: 39px; }
  .zg-header-icon-link svg, .zg-account-link svg, .zg-header-cart-icon svg { width: 21px; height: 21px; }
  .zg-header-popover { top: 70px; right: 8px; left: 8px; border-radius: 16px; }
  .admin-bar .zg-header-popover { top: 116px; }
  .zg-home-featured-panel { min-height: 124px; padding: 18px 19px; }
  .zg-home-featured-copy h2 { font-size: 22px; }
  .zg-featured-view-all { top: 41px; left: 16px; gap: 7px; font-size: 12px; }
  .zg-featured-view-all i { width: 32px; height: 32px; }
  .zg-home-featured-carousel { padding-top: 65px; }
  .zg-product-card { padding: 9px 9px 12px; border-radius: 18px; }
  .zg-product-card-top { min-height: 27px; }
  .zg-wishlist-button { width: 29px; height: 29px; }
  .zg-wishlist-button svg { width: 23px; height: 23px; }
  .zg-product-rating strong { font-size: 10px; }
  .zg-product-rating svg { width: 17px; height: 17px; }
  .zg-product-card-image { height: 125px; }
  .zg-product-card-title h3 { min-height: 51px; font-size: 12px; line-height: 1.85; }
  .zg-product-card-bottom { grid-template-columns: minmax(0,1fr) 43px; gap: 7px; min-height: 57px; }
  .zg-product-card-cart { width: 43px; height: 43px; border-radius: 12px; }
  .zg-product-card-price > strong { font-size: 12px; }
  .zg-product-card-price del, .zg-product-card-price small { font-size: 9px; }
  .zg-product-card-discount { right: -9px; bottom: 28px; min-width: 46px; height: 25px; padding-inline: 8px; font-size: 10px; }
  .zg-wishlist-page { padding: 35px 0 65px; }
  .zg-wishlist-page-header { display: block; margin-bottom: 22px; }
  .zg-wishlist-page-header p { margin-top: 10px; }
  .zg-wishlist-grid { gap: 9px; }
  .zg-wishlist-toast { right: 10px; bottom: 12px; }
}

@media (max-width: 380px) {
  .zg-header-icon-link, .zg-account-link, .zg-header-cart-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .zg-product-card-image { height: 110px; }
  .zg-product-card-title h3 { font-size: 11px; }
}

.zg-home-categories-heading-icon:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 380px) { .zg-logo img { width: 62px; } }


/* Version 0.6.0: featured overlap, precise mobile cards and best-sellers. */
.zg-home-featured-layout { position: relative; }
.zg-featured-view-all { position: absolute; z-index: 5; top: 54px; left: 22px; margin: 0; color: var(--zg-dark-700); }
.zg-featured-view-all i { order: -1; }
.zg-home-featured-panel { z-index: 1; overflow: visible; }
.zg-home-featured-carousel { position: relative; z-index: 3; margin-right: -126px; overflow: hidden; }
.zg-home-featured-track { min-height: 470px; padding-top: 132px; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-x pan-y; }
.zg-home-featured-track.is-dragging, .zg-bestsellers-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.zg-home-featured-track .zg-product-card { height: 330px; min-height: 330px; }
.zg-home-featured-track img, .zg-bestsellers-track img { -webkit-user-drag: none; user-drag: none; }
.zg-product-card-image { flex: 0 0 auto; }
.zg-product-card-title { position: relative; z-index: 2; display: block; width: 100%; margin-top: 7px; background: #fff; }
.zg-product-card-discount { right: auto; left: -14px; border-radius: 0 9px 9px 0; }

/* Best-selling products: two fixed rows and horizontal scrolling columns. */
.zg-home-bestsellers { padding: 20px 0 72px; background: var(--zg-white); }
.zg-bestsellers-heading { display: flex; align-items: center; gap: 34px; min-height: 58px; margin-bottom: 18px; }
.zg-bestsellers-heading h2 { margin: 0; color: var(--zg-dark-700); font-size: clamp(22px, 2vw, 30px); font-weight: 700; white-space: nowrap; }
.zg-bestsellers-line { height: 1px; flex: 1; background: #eef5e8; }
.zg-bestsellers-view-all { display: inline-flex; align-items: center; gap: 9px; color: var(--zg-dark-700); font-size: 13px; font-weight: 600; white-space: nowrap; }
.zg-bestsellers-view-all i { display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--zg-primary); border-radius: 9px 0 0 9px; box-shadow: var(--zg-red-shadow); }
.zg-bestsellers-carousel { min-width: 0; overflow: hidden; }
.zg-bestsellers-track { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, minmax(135px, 1fr)); grid-auto-columns: calc((100% - 3px) / 4); gap: 0; overflow-x: auto; overflow-y: hidden; padding: 2px 0; direction: rtl; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-x pan-y; overscroll-behavior-inline: contain; }
.zg-bestsellers-track::-webkit-scrollbar { display: none; }
.zg-bestseller-card { position: relative; display: grid; grid-template-columns: 125px minmax(0, 1fr); align-items: center; min-width: 0; min-height: 135px; padding: 14px 18px 14px 22px; overflow: hidden; background: #fff; border-left: 1px solid #f8fbf4; scroll-snap-align: start; }
.zg-bestseller-image { display: grid; width: 125px; height: 112px; place-items: center; }
.zg-bestseller-image img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.zg-bestseller-body { display: flex; min-width: 0; height: 100%; flex-direction: column; justify-content: center; padding-right: 14px; }
.zg-bestseller-title h3 { display: -webkit-box; min-height: 51px; margin: 0 0 7px; overflow: hidden; color: var(--zg-dark-700); font-size: 14px; font-weight: 600; line-height: 1.8; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.zg-bestseller-price { display: flex; min-height: 38px; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; color: var(--zg-dark-700); line-height: 1.4; }
.zg-bestseller-price small { width: 100%; color: var(--zg-gray-100); font-size: 10px; }
.zg-bestseller-price del { color: #dce8d5; font-size: 10px; font-weight: 400; }
.zg-bestseller-price > strong { color: var(--zg-dark-700); font-size: 14px; font-weight: 700; white-space: nowrap; }
.zg-bestseller-price .woocommerce-Price-currencySymbol { margin-right: 3px; font-size: .72em; font-weight: 400; }
.zg-bestseller-stock { color: var(--zg-gray-100) !important; }
.zg-bestseller-discount { position: absolute; bottom: 15px; left: -1px; display: grid; min-width: 50px; height: 28px; place-items: center; padding: 0 10px; color: #fff; background: var(--zg-primary); border-radius: 0 9px 9px 0; font-size: 11px; font-weight: 700; }

@media (max-width: 1180px) and (min-width: 961px) {
  .zg-home-featured-carousel { margin-right: -105px; }
  .zg-home-featured-track { padding-top: 122px; }
  .zg-home-featured-track .zg-product-card { height: 300px; min-height: 300px; }
  .zg-bestsellers-track { grid-auto-columns: calc((100% - 2px) / 3); }
}

@media (max-width: 960px) {
  .zg-featured-view-all { top: 43px; left: 25px; color: #fff; }
  .zg-featured-view-all i { order: 0; }
  .zg-home-featured-carousel { margin-right: 0; }
  .zg-home-featured-track { min-height: 0; padding-top: 1px; cursor: auto; }
  .zg-home-featured-track .zg-product-card { height: auto; min-height: 335px; }
  .zg-product-card-image { position: relative; z-index: 1; }
  .zg-product-card-title { margin-top: 8px; }
  .zg-product-card-discount { left: -11px; }

  .zg-home-bestsellers { padding: 12px 0 56px; }
  .zg-bestsellers-heading { gap: 14px; margin-bottom: 12px; }
  .zg-bestsellers-heading h2 { font-size: 24px; }
  .zg-bestsellers-line { display: none; }
  .zg-bestsellers-view-all { margin-right: auto; font-size: 12px; }
  .zg-bestsellers-track { grid-template-rows: repeat(2, minmax(132px, 1fr)); grid-auto-columns: min(78vw, 325px); }
  .zg-bestseller-card { grid-template-columns: 112px minmax(0, 1fr); min-height: 132px; padding: 11px 12px 11px 17px; }
  .zg-bestseller-image { width: 112px; height: 104px; }
  .zg-bestseller-body { padding-right: 10px; }
  .zg-bestseller-title h3 { min-height: 48px; font-size: 13px; }
  .zg-bestseller-price > strong { font-size: 13px; }
}

@media (max-width: 560px) {
  .zg-featured-view-all { top: 41px; left: 16px; }
  .zg-home-featured-track .zg-product-card { min-height: 310px; }
  .zg-product-card-image { height: 122px; }
  .zg-product-card-title h3 { min-height: 50px; }
  .zg-product-card-discount { right: auto; left: -9px; bottom: 28px; }

  .zg-bestsellers-heading h2 { font-size: 21px; }
  .zg-bestsellers-view-all i { width: 32px; height: 32px; }
  .zg-bestsellers-track { grid-auto-columns: min(82vw, 305px); }
  .zg-bestseller-card { grid-template-columns: 103px minmax(0, 1fr); min-height: 126px; padding-inline: 10px 14px; }
  .zg-bestseller-image { width: 103px; height: 96px; }
  .zg-bestseller-title h3 { min-height: 45px; font-size: 12px; }
  .zg-bestseller-price > strong { font-size: 12px; }
  .zg-bestseller-discount { bottom: 12px; min-width: 44px; height: 25px; font-size: 10px; }
}

/* Featured card sizing guard: keep every element visible inside equal-height cards. */
@media (min-width: 1181px) {
  .zg-home-featured-track .zg-product-card-image { height: 155px; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .zg-home-featured-track { min-height: 430px; padding-top: 113px; }
  .zg-home-featured-track .zg-product-card { height: 300px; min-height: 300px; }
  .zg-home-featured-track .zg-product-card-image { height: 126px; }
  .zg-home-featured-track .zg-product-card-title h3 { min-height: 49px; font-size: 13px; }
  .zg-home-featured-track .zg-product-card-bottom { min-height: 55px; }
}

/* Final equal-height tuning for the featured section. */
@media (min-width: 1181px) {
  .zg-home-featured-panel,
  .zg-home-featured-track { min-height: 510px; }
  .zg-home-featured-track { padding-top: 132px; }
  .zg-home-featured-track .zg-product-card { height: 360px; min-height: 360px; }
  .zg-home-featured-track .zg-product-card-image { height: 165px; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .zg-home-featured-panel,
  .zg-home-featured-track { min-height: 450px; }
  .zg-home-featured-track { padding-top: 116px; }
  .zg-home-featured-track .zg-product-card { height: 320px; min-height: 320px; }
  .zg-home-featured-track .zg-product-card-image { height: 137px; }
}

/* Version 0.11.0 interaction and card refinements. */
.zg-product-card-discount {
  right: auto !important;
  left: 0 !important;
  bottom: 73px !important;
  border-radius: 0 9px 9px 0 !important;
  z-index: 4;
}
.zg-product-card--wishlist .zg-product-card-discount { bottom: 108px !important; }
.zg-wishlist-card-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 34px;
  margin-top: 9px;
  padding: 5px 9px;
  border: 1px solid rgba(130,194,110,.16);
  border-radius: 10px;
  background: rgba(130,194,110,.055);
  color: var(--zg-primary);
  font-size: 11px;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.zg-wishlist-card-remove:hover { background: var(--zg-primary); color: #fff; }
.zg-wishlist-card-remove span { font-size: 18px; line-height: 1; }
.zg-product-card.is-removing { opacity: .22; transform: scale(.98); pointer-events: none; }
.zg-wishlist-button.is-loading,
.zg-wishlist-card-remove.is-loading { opacity: .55; pointer-events: none; }
.zg-wishlist-toast.is-error { background: #5cb270; }
.zg-home-featured-panel-arrow { box-shadow: 0 7px 16px rgba(37,49,41,.18); }
.zg-featured-view-all,
.zg-popular-view-all,
.zg-blog-view-all { direction: rtl; flex-direction: row; }
.zg-featured-view-all span,
.zg-popular-view-all span,
.zg-blog-view-all span { order: 1 !important; }
.zg-featured-view-all i,
.zg-popular-view-all i,
.zg-blog-view-all i { order: 2 !important; }

@media (max-width: 960px) {
  .zg-header-cart-icon .zg-cart-count {
    display: grid !important;
    top: -5px;
    left: -5px;
    z-index: 3;
  }
}
@media (max-width: 560px) {
  .zg-product-card-discount { bottom: 65px !important; }
  .zg-product-card--wishlist .zg-product-card-discount { bottom: 101px !important; }
}
@media (max-width: 960px) {
  .zg-header-cart-icon .zg-cart-count.is-empty { display: none !important; }
}

/* Version 0.15.0 — strict product-card media/content flow across the entire site. */
.zg-product-card {
  display: flex !important;
  flex-direction: column !important;
  isolation: isolate;
}
.zg-product-card .zg-product-card-top { order: 1; flex: 0 0 auto; }
.zg-product-card .zg-product-card-image {
  position: relative !important;
  inset: auto !important;
  order: 2;
  display: grid !important;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  margin: 0;
  background: #fff;
  transform: none !important;
}
.zg-product-card .zg-product-card-image img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 96% !important;
  max-height: 96% !important;
  object-fit: contain !important;
  object-position: center !important;
  mix-blend-mode: normal !important;
}
.zg-product-card .zg-product-card-title {
  position: relative !important;
  inset: auto !important;
  order: 3;
  display: block !important;
  flex: 0 0 auto;
  width: 100%;
  margin-top: 8px;
  padding: 0;
  background: #fff;
  transform: none !important;
}
.zg-product-card .zg-product-card-title h3 { position: static !important; inset: auto !important; margin: 0; }
.zg-product-card .zg-product-card-bottom { order: 4; }
.zg-product-card .zg-wishlist-card-remove { order: 5; }

/* v0.22 variable product card prices: compact two-line range */
.zg-product-card-price.is-variable {
  gap: 2px;
  min-width: 0;
  padding-left: 4px;
}
.zg-variable-card-price-row {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 4px;
  line-height: 1.25;
  white-space: nowrap;
}
.zg-variable-card-price-row small {
  flex: 0 0 auto;
  color: var(--zg-gray-100);
  font-size: 8px;
}
.zg-variable-card-price-row strong {
  min-width: 0;
  overflow: hidden;
  color: var(--zg-dark-700);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zg-variable-card-price-row.is-max strong { color: var(--zg-gray-200); font-size: 10px; }
.zg-product-card-bottom { align-items: flex-end; }
@media (max-width: 640px) {
  .zg-variable-card-price-row strong { font-size: 9px; }
  .zg-variable-card-price-row.is-max strong { font-size: 8px; }
}


/* ===== cart-popup.css ===== */
/* Bambogilda site-wide add-to-cart popup */
.added_to_cart.wc-forward,
.woocommerce a.added_to_cart,
.zg-amazing-cart + .added_to_cart { display: none !important; }

#custom-thank-you-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(37,49,41,.42);
  opacity: 0;
  backdrop-filter: blur(5px) saturate(125%);
  -webkit-backdrop-filter: blur(5px) saturate(125%);
  transition: opacity .24s ease;
}
#custom-thank-you-overlay.is-visible { opacity: 1; }

#custom-thank-you-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 99999;
  width: min(92vw, 570px);
  max-height: min(90vh, 760px);
  overflow: auto;
  padding: 22px 22px 18px;
  direction: rtl;
  color: var(--zg-dark-700);
  background: #fff;
  border: 1px solid rgba(37,49,41,.08);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(37,49,41,.24);
  opacity: 0;
  transform: translate(-50%, -46%) scale(.96);
  transition: transform .24s ease, opacity .24s ease;
}
#custom-thank-you-popup.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#ctp-close { position: absolute; top: 12px; left: 14px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #f8fbf4; color: var(--zg-gray-100); font-size: 25px; line-height: 1; }
#ctp-close:hover { color: var(--zg-primary); background: rgba(130,194,110,.08); }
#ctp-header { display: flex; align-items: center; gap: 12px; padding-left: 35px; margin-bottom: 14px; }
#ctp-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 13px; background: rgba(130,194,110,.09); color: var(--zg-primary); }
#ctp-title { color: var(--zg-navy); font-size: 18px; font-weight: 700; }
#ctp-sub { margin-top: 1px; color: var(--zg-gray-100); font-size: 13px; }
#ctp-mini { overflow: hidden; margin-bottom: 14px; background: #fff; border: 1px solid #f8fbf4; border-radius: 14px; }
#ctp-mini .mini-head { padding: 10px 12px; color: var(--zg-gray-100); background: #ffffff; border-bottom: 1px solid #f8fbf4; font-size: 12px; }
#ctp-mini .mini-wrap { max-height: 250px; overflow: auto; }
.ctp-list { list-style: none; margin: 0; padding: 0; }
.ctp-item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; min-height: 92px; padding: 10px 12px; border-bottom: 1px solid #f8fbf4; }
.ctp-item:last-child { border-bottom: 0; }
.ctp-thumb { width: 76px; height: 76px; overflow: hidden; border: 1px solid #f8fbf4; border-radius: 10px; background: #fff; }
.ctp-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ctp-body { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; }
.ctp-name { overflow: hidden; color: var(--zg-dark-700); font-size: 13px; font-weight: 600; line-height: 1.65; }
.ctp-unit { margin-top: 3px; color: var(--zg-gray-100); font-size: 12px; }
.ctp-meta { display: flex; gap: 12px; margin-top: 7px; color: var(--zg-gray-100); font-size: 12px; }
.ctp-qty { display: inline-flex; align-items: center; gap: 4px; direction: rtl; }
.ctp-qty b { font-weight: 500; }
.ctp-qty span { direction: ltr; unicode-bidi: isolate; font-weight: 700; }
.ctp-remove { align-self: flex-start; margin-top: 4px; padding: 0; border: 0; background: none; color: var(--zg-primary); font-size: 11px; }
.ctp-remove:hover { text-decoration: underline; }
.ctp-total { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; color: var(--zg-navy); background: #ffffff; border-top: 1px solid #f8fbf4; font-size: 13px; font-weight: 700; }
#ctp-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ctp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 14px; border: 1px solid transparent; border-radius: 11px; text-decoration: none; font-size: 12px; font-weight: 600; }
.ctp-btn--ghost { color: var(--zg-dark-600); background: #f8fbf4; border-color: #f8fbf4; }
.ctp-btn--primary { color: #fff; background: var(--zg-navy); }
.ctp-btn--accent { color: #fff; background: var(--zg-primary-light); box-shadow: var(--zg-red-shadow); }
.ctp-btn:hover { transform: translateY(-1px); }
body.zg-cart-popup-open { overflow: hidden; }

@media (max-width: 560px) {
  #custom-thank-you-popup { width: calc(100vw - 20px); max-height: calc(100vh - 24px); padding: 18px 14px 14px; border-radius: 18px; }
  #ctp-header { padding-left: 30px; }
  #ctp-title { font-size: 16px; }
  .ctp-item { grid-template-columns: 68px minmax(0, 1fr); padding-inline: 9px; }
  .ctp-thumb { width: 68px; height: 68px; }
  #ctp-actions { display: grid; grid-template-columns: 1fr 1fr; }
  #ctp-continue { grid-column: 1 / -1; }
}



/* Version 1.0.17: official Enamad trust seal keeps its native readable size. */
.zg-footer-badge-code {
  width: auto;
  min-width: 125px;
  height: auto;
  min-height: 136px;
  padding: 6px;
  overflow: visible;
}
.zg-footer-badge-code > a {
  display: inline-flex;
  width: auto;
  height: auto;
  min-width: 113px;
  min-height: 124px;
  align-items: center;
  justify-content: center;
}
.zg-footer-badge-code img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 125px !important;
  max-height: 136px !important;
  object-fit: contain;
}
@media (max-width: 760px) {
  .zg-footer-badge-code {
    min-width: 112px;
    min-height: 122px;
  }
  .zg-footer-badge-code img {
    max-width: 112px !important;
    max-height: 122px !important;
  }
}
