/*
Theme Name: زخم پخم
Author: Zakhmpakhm
Description: قالب فارسی فروشگاه تخصصی زخم پخم، سازگار با ووکامرس و ویرایشگر بلوکی.
Version: 0.56.3
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: zakhmpakhm
Domain Path: /languages
*/

@font-face { font-family: Vazirmatn; src: url('assets/fonts/vazirmatn-variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: ZP-Vazirmatn-Static; src: url('assets/fonts/vazirmatn-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: ZP-Vazirmatn-Static; src: url('assets/fonts/vazirmatn-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
:root { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: #173c3c; background: #fff; font-family: Tahoma, sans-serif; line-height: 1.8; }
a { color: #087f80; }
img { max-width: 100%; height: auto; }
.site-container { width: min(100% - 2rem, 75rem); margin-inline: auto; }
.skip-link { position: absolute; inset-block-start: -10rem; }
.skip-link:focus { inset-block-start: 1rem; background: #fff; padding: .5rem; z-index: 100; }
:root { --accent: #087f80; --ink: #173c3c; --muted: #637878; --line: #e1ecea; --soft: #f1f8f6; }
body { font-family: system-ui, Tahoma, sans-serif; color: var(--ink); }
.font-vazirmatn, .editor-styles-wrapper { font-family: Vazirmatn, Tahoma, sans-serif; }
.font-tahoma { font-family: Tahoma, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #eea344; outline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, input[type=submit], .wp-block-button__link { cursor: pointer; border: 0; border-radius: .7rem; background: var(--accent); color: white; padding: .65rem 1.1rem; }
input[type=search], input[type=text], input[type=email], input[type=tel], input[type=password], textarea, select { border: 1px solid #cadbd7; border-radius: .65rem; padding: .65rem; max-width: 100%; }
.topbar { background: #e8f5f1; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: white; }
.header-main { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.2rem; }
.site-brand { font-size: 1.5rem; font-weight: 800; white-space: nowrap; }
.site-brand img { max-height: 70px; width: auto; }
.header-search { flex: 1; }
.header-search form { display: flex; gap: .4rem; }
.header-search label { flex: 1; }
.header-search input[type=search] { width: 100%; background: var(--soft); }
.header-actions { display: flex; gap: 1rem; white-space: nowrap; }
.primary-navigation ul, .site-footer ul { list-style: none; padding: 0; margin: 0; }
.primary-navigation > div > ul { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.primary-navigation { padding-block: .7rem; }
.primary-navigation li { position: relative; }
.primary-navigation .sub-menu { display: none; position: absolute; z-index: 10; background: #fff; min-width: 13rem; padding: .7rem; border: 1px solid var(--line); box-shadow: 0 8px 24px #173c3c1a; }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: block; }
.menu-toggle { display: none; }
.site-footer { background: #eaf5f2; margin-top: 4rem; padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer p { margin: .5rem 0; }
.content-area, .shop-main { padding-block: 2rem; min-height: 45vh; }
.content-area > article:not(.article-detail) > h1, .article-detail h1 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.article-detail { max-width: 55rem; margin: auto; }
.entry-content { line-height: 2.1; }
.post-meta { color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.5rem; }
.post-card { border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; }
.post-card h2 { font-size: 1.15rem; }
.empty-state { padding-block: 5rem; text-align: center; }
.zp-hero { padding: clamp(2rem, 6vw, 5rem); background: linear-gradient(125deg, #e4f5ef, #f2faf9); border-radius: 1.5rem; margin-bottom: 3rem; }
.zp-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.4; max-width: 18ch; }
.zp-eyebrow { color: var(--accent); font-weight: 700; }
.zp-benefits { background: var(--soft); padding: 1rem 2rem; border-radius: 1rem; margin-block: 3rem; }
.zp-brands { display: flex; flex-wrap: wrap; gap: .75rem; }
.zp-brands a { border: 1px solid var(--line); border-radius: .75rem; padding: .7rem 1.2rem; }
.zp-vivid { --zp-vivid-dark: #113f42; --zp-vivid-teal: #087b79; color: var(--zp-vivid-dark); }
.zp-vivid-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 390px; border-radius: 28px; padding: clamp(2rem, 6vw, 5rem); background: radial-gradient(circle at 12% 30%, #c4eee0 0 10%, transparent 10.2%), radial-gradient(circle at 19% 50%, #d8f5e9 0 25%, transparent 25.2%), linear-gradient(120deg, #f1fbf5, #d8f1eb); }
.zp-vivid-hero::after { content: "✚"; position: absolute; z-index: -1; left: 12%; top: 17%; width: 190px; height: 230px; display: grid; place-items: center; border: 9px solid #ffffffc9; border-radius: 28px; background: linear-gradient(145deg, #fff, #ecf8f3); box-shadow: 0 24px 50px #1b78692b; color: #54b6a1; font-size: 75px; transform: rotate(-9deg); }
.zp-vivid-hero h1 { font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.45; max-width: 19ch; margin: .6rem 0 1rem; }
.zp-vivid-kicker, .zp-vivid-label { color: var(--zp-vivid-teal); font-weight: 800; font-size: .85rem; }
.zp-vivid-intro { max-width: 36rem; color: #527877; }
.zp-vivid-actions { margin-top: 1.6rem; }
.zp-vivid .wp-block-button__link { background: var(--zp-vivid-teal); border-radius: 12px; padding: .8rem 1.35rem; }
.zp-vivid .is-style-outline .wp-block-button__link { color: var(--zp-vivid-teal); background: transparent; border: 1px solid currentColor; }
.zp-vivid-hero-note { margin-top: 2rem; color: #398a7e; font-weight: 700; font-size: .85rem; }
.zp-vivid-trust { gap: 1rem; margin: 1.3rem 0 0; }
.zp-vivid-trust > .wp-block-column { background: #f3faf6; border: 1px solid #e4f1eb; border-radius: 15px; padding: .7rem 1rem; }
.zp-vivid-trust p { margin: 0; color: #6b8880; font-size: .8rem; }
.zp-vivid-trust strong { color: var(--zp-vivid-dark); font-size: .95rem; }
.zp-vivid-section { padding: 3.5rem 0 0; }
.zp-vivid-section h2, .zp-vivid-contact h2 { font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.5; margin: .3rem 0 .5rem; }
.zp-vivid-subtitle { color: #718984; margin-bottom: 1.5rem; }
.zp-vivid-sale { margin-top: 3.5rem; padding: 2.3rem; background: #fff1e9; border-radius: 22px; }
.zp-vivid .wc-block-grid__products { margin-top: 1.5rem; }
.zp-vivid .wc-block-grid__product { border-radius: 16px; box-shadow: 0 6px 22px #1952440a; }
.zp-vivid-banners { gap: 1.2rem; margin-top: 3.5rem; }
.zp-vivid-banner { position: relative; overflow: hidden; border-radius: 22px; padding: 2rem; }
.zp-vivid-banner::after { content: "✳"; position: absolute; left: 1.5rem; top: .2rem; font-size: 7rem; line-height: 1; color: #ffffff80; pointer-events: none; }
.zp-banner-mint { background: #d8f2e7; }
.zp-banner-peach { background: #ffeadb; }
.zp-vivid-banner h3 { font-size: 1.3rem; margin: .4rem 0; }
.zp-vivid-banner p { position: relative; z-index: 1; }
.zp-vivid-brands .zp-brands { margin-top: 1.5rem; }
.zp-vivid-brands .zp-brands a { background: #f5faf7; padding: 1rem 1.5rem; }
.zp-vivid .wp-block-latest-posts.is-grid { gap: 1rem; }
.zp-vivid .wp-block-latest-posts.is-grid li { width: auto; flex: 1 1 14rem; padding: 1.2rem; border: 1px solid #e1ece6; border-radius: 16px; background: #fff; }
.zp-vivid .wp-block-latest-posts__post-title { font-weight: 800; }
.zp-vivid .wp-block-latest-posts__post-date, .zp-vivid .wp-block-latest-posts__post-excerpt { color: #718984; font-size: .85rem; }
.zp-vivid-contact { margin: 3.5rem 0 1rem; padding: clamp(2rem, 4vw, 3rem); border-radius: 24px; background: #def4ec; }
@media (max-width: 768px) { .zp-vivid-hero { min-height: 0; } .zp-vivid-hero::after { opacity: .2; left: 3%; top: 20%; } .zp-vivid-hero h1, .zp-vivid-intro { position: relative; } .zp-vivid-trust { display: grid; grid-template-columns: repeat(2, 1fr); } .zp-vivid-sale { padding: 1.4rem; } }
.widget { margin-bottom: 1.5rem; }
.widget-title { font-size: 1rem; }
.shop-filters { padding: 1rem; margin-bottom: 1.5rem; background: var(--soft); border-radius: 1rem; }
.woocommerce ul.products li.product, .wc-block-grid__product { border: 1px solid var(--line); border-radius: 1rem; padding: 1rem !important; overflow: hidden; background: #fff; }
.woocommerce ul.products li.product img { border-radius: .6rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1rem; line-height: 1.7; }
.woocommerce span.onsale { background: #dc6f62; border-radius: .5rem; min-height: auto; line-height: 1.8; padding: .2rem .6rem; }
.woocommerce div.product div.summary { line-height: 1.9; }
.woocommerce div.product .product_title { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.woocommerce div.product form.cart .button, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--accent); color: white; border-radius: .6rem; }
.product-assurances { list-style: none; background: var(--soft); padding: 1rem; border-radius: .8rem; }
.product-assurances li + li { border-top: 1px solid var(--line); padding-top: .5rem; margin-top: .5rem; }
.woocommerce table.shop_table { border-color: var(--line); }
.woocommerce .woocommerce-breadcrumb { color: var(--muted); }
.wp-block-latest-posts li { margin-bottom: 1rem; }
@media (max-width: 768px) {
 .header-main { flex-wrap: wrap; gap: .8rem; }
 .header-search { order: 3; flex-basis: 100%; }
 .header-actions { margin-inline-start: auto; font-size: .85rem; }
 .menu-toggle { display: block; }
 .primary-navigation { display: none; }
 .primary-navigation.is-open { display: block; }
 .primary-navigation > div > ul { display: block; }
 .primary-navigation li { padding-block: .3rem; }
 .primary-navigation .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding-block: 0; }
 .footer-grid { grid-template-columns: 1fr; }
 .woocommerce ul.products li.product, .woocommerce-page ul.products li.product { width: 48%; }
 .topbar-inner { flex-wrap: wrap; }
}
@media (max-width: 380px) { .header-actions { width: 100%; } }

/* Visual accents are decorative: all content remains normal editable blocks. */
.site-header { box-shadow: 0 8px 35px rgba(23,60,60,.04); }
.site-brand a { color: #075e60; letter-spacing: -.04em; }
.header-search form { background: #f2f8f5; border: 1px solid transparent; border-radius: .9rem; padding: .2rem; transition: border-color .2s, box-shadow .2s; }
.header-search form:focus-within { border-color: #43a997; box-shadow: 0 0 0 4px #43a99724; }
.header-search input[type=search] { border: 0; }
.header-actions a { border: 1px solid #dfebe5; border-radius: .8rem; padding: .45rem .8rem; }
.primary-navigation > div > ul > li > a { display: block; position: relative; padding-block: .2rem; }
.primary-navigation > div > ul > li > a::after { content: ''; position: absolute; inset-inline: 0; bottom: -.5rem; height: 3px; background: #ef997e; transform: scaleX(0); transition: transform .2s; }
.primary-navigation > div > ul > li:hover > a::after, .primary-navigation > div > ul > li:focus-within > a::after { transform: scaleX(1); }
.zp-vivid-hero { background: radial-gradient(circle at 13% 26%, #f9cbaf 0 3%, transparent 3.2%), radial-gradient(circle at 18% 50%, #bce8d6 0 24%, transparent 24.2%), linear-gradient(115deg, #f9fcf1 0%, #e9f8ed 53%, #ccece1 100%); }
.zp-vivid-hero::before { content: ''; position: absolute; z-index: -1; width: 22rem; height: 22rem; left: 5%; top: -3rem; border: 1px solid #5da99255; border-radius: 50%; box-shadow: 0 0 0 35px #ffffff30, 0 0 0 75px #ffffff1c; }
.zp-vivid-hero::after { animation: zp-float 6s ease-in-out infinite; }
.zp-vivid-kicker { display: inline-block; padding: .35rem .9rem; border-radius: 100px; background: #fffaf0; box-shadow: 0 5px 20px #507b5410; }
.zp-vivid h2 { letter-spacing: -.035em; }
.zp-vivid-label { display: inline-block; position: relative; }
.zp-vivid-label::before { content: ''; display: inline-block; width: 1.3rem; height: .25rem; margin-inline-end: .5rem; vertical-align: middle; border-radius: 1rem; background: #f4a07d; }
.zp-vivid-trust > .wp-block-column { border: 0; border-inline-start: 3px solid #97d5bb; background: #f5faf6; transition: transform .2s, box-shadow .2s; }
.zp-vivid-trust > .wp-block-column:nth-child(2) { background: #fff6ea; border-color: #f4c08f; }
.zp-vivid-trust > .wp-block-column:nth-child(3) { background: #eff7fb; border-color: #96cdd9; }
.zp-vivid-trust > .wp-block-column:nth-child(4) { background: #fff1ed; border-color: #edb4a4; }
.zp-vivid-trust > .wp-block-column:hover { transform: translateY(-4px); box-shadow: 0 12px 24px #1b5d4d12; }
.zp-vivid-sale { background: linear-gradient(135deg, #fff2eb, #ffeadc); border: 1px solid #f8ddcf; }
.zp-vivid-banner { box-shadow: 0 12px 26px #204f4210; transition: transform .25s, box-shadow .25s; }
.zp-vivid-banner:hover { transform: translateY(-5px); box-shadow: 0 18px 30px #204f421c; }
.zp-banner-mint { background: linear-gradient(125deg, #d9f4e4, #bfe8d5); }
.zp-banner-peach { background: linear-gradient(125deg, #ffeddd, #f8d9c7); }
.woocommerce ul.products li.product, .zp-vivid .wc-block-grid__product, .post-card { transition: transform .25s, box-shadow .25s, border-color .25s; }
.woocommerce ul.products li.product:hover, .zp-vivid .wc-block-grid__product:hover, .post-card:hover { transform: translateY(-5px); border-color: #b8dcd0; box-shadow: 0 16px 32px #164d4014; }
.zp-vivid-brands .zp-brands a { border-radius: 100px; transition: background-color .2s, transform .2s; }
.zp-vivid-brands .zp-brands a:hover { background: #dff3e8; transform: translateY(-3px); }
.zp-vivid-contact { background: radial-gradient(circle at 10% 10%, #ffffff85 0 10%, transparent 10.5%), linear-gradient(115deg, #d5f4e4, #c6eae4); }
.site-footer { background: #133e40; color: #e9f7f1; }
.site-footer a { color: #c7eae0; }
@keyframes zp-float { 0%, 100% { transform: rotate(-9deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .zp-vivid-hero::after { animation: none; } *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* Editorial storefront direction: warm paper, deep green and restrained coral. */
:root { --ink: #193c38; --muted: #60756e; --line: #e5e9e1; --soft: #f4f5ef; }
body { background: #fffefa; }
.site-container { width: min(100% - 3rem, 78rem); }
.topbar { background: #173f3b; color: #e9f2ec; letter-spacing: .01em; }
.topbar-inner { padding-block: .35rem; }
.site-header { background: #fffefa; box-shadow: none; }
.header-main { padding-block: 1.4rem; }
.site-brand a { color: #164b41; font-weight: 900; }
.header-search form { background: #f3f4ef; border-radius: 4px; }
.header-search input[type=search] { background: transparent; }
.header-actions a { border: 0; border-radius: 0; padding-inline: .5rem; }
.primary-navigation { border-top: 1px solid #eff0ea; font-size: .9rem; }
.primary-navigation > div > ul { gap: 2rem; }
.content-area { padding-block: 1.8rem; }
.zp-vivid { --zp-vivid-dark: #183f37; --zp-vivid-teal: #1f6654; }
.zp-vivid-hero { min-height: 530px; padding: clamp(2.2rem, 5.5vw, 5.5rem); border-radius: 0; background: #e9eee3; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.zp-vivid-hero::before { content: ''; z-index: 0; left: 43%; top: 0; height: 100%; width: 10%; border: 0; border-radius: 0; box-shadow: none; background: linear-gradient(to left, #e9eee3, #e9eee300); }
.zp-vivid-hero::after { content: ''; inset: 0 auto 0 0; width: 47%; height: auto; border: 0; border-radius: 0; background: url('assets/hero-editorial.jpg') center / cover no-repeat; box-shadow: none; transform: none; animation: none; z-index: -1; }
.zp-vivid-hero > * { position: relative; z-index: 1; }
.zp-vivid-hero h1 { max-width: 12.5em; font-weight: 900; font-size: clamp(2.15rem, 4.1vw, 3.7rem); line-height: 1.55; letter-spacing: -.055em; margin: 1rem 0; }
.zp-vivid-intro { max-width: 29rem; color: #50695e; font-size: 1rem; line-height: 2.1; }
.zp-vivid-kicker { color: #a85b44; background: transparent; box-shadow: none; border: 0; border-radius: 0; padding: 0; letter-spacing: .01em; }
.zp-vivid-hero-note { margin-top: 2.2rem; padding-top: 1rem; border-top: 1px solid #b7cdc1; color: #507569; font-size: .8rem; }
.zp-vivid .wp-block-button__link { border-radius: 3px; background: #205c4c; padding: .8rem 1.5rem; font-weight: 700; }
.zp-vivid .is-style-outline .wp-block-button__link { border-radius: 3px; color: #205c4c; }
.zp-vivid-trust { gap: 0; margin: 0; border-bottom: 1px solid #dfe7df; }
.zp-vivid-trust > .wp-block-column, .zp-vivid-trust > .wp-block-column:nth-child(n) { background: transparent; border: 0; border-radius: 0; padding: 1.5rem 1rem; box-shadow: none; }
.zp-vivid-trust > .wp-block-column + .wp-block-column { border-inline-start: 1px solid #e4eae2; }
.zp-vivid-trust > .wp-block-column:hover { transform: none; box-shadow: none; }
.zp-vivid-trust strong { color: #1e4a3f; }
.zp-vivid-section { padding-top: clamp(3.5rem, 7vw, 6.5rem); }
.zp-vivid-section h2, .zp-vivid-contact h2 { font-size: clamp(1.7rem, 2.7vw, 2.35rem); font-weight: 850; }
.zp-vivid-label { color: #b0644d; }
.zp-vivid-label::before { background: #b0644d; height: 2px; }
.zp-vivid-sale { margin-top: 5rem; padding: clamp(1.8rem, 4vw, 3.5rem); border: 0; border-radius: 0; background: #f4e9de; }
.zp-vivid-banner { border-radius: 0; padding: clamp(2rem, 4vw, 3.4rem); min-height: 250px; box-shadow: none; }
.zp-vivid-banner::after { content: '✳'; left: 1.5rem; top: auto; bottom: -3.5rem; font-size: 14rem; color: #ffffff55; }
.zp-banner-mint { background: #d9e8d9; }
.zp-banner-peach { background: #efd8c8; }
.zp-vivid .wc-block-grid__product, .woocommerce ul.products li.product { border-radius: 3px; border-color: #e5e8df; box-shadow: none; }
.woocommerce ul.products li.product:hover, .zp-vivid .wc-block-grid__product:hover, .post-card:hover { border-color: #b6cfc2; box-shadow: 0 12px 30px #1b534414; transform: translateY(-3px); }
.zp-vivid-brands .zp-brands a { border-radius: 0; background: #f4f5ef; color: #305b4e; }
.zp-vivid .wp-block-latest-posts.is-grid li, .post-card { border-radius: 2px; }
.zp-vivid-contact { border-radius: 0; background: #dceadf; }
.site-footer { background: #193f38; }
@media (max-width: 768px) {
 .site-container { width: min(100% - 2rem, 78rem); }
 .zp-vivid-hero { min-height: 0; padding: 2.2rem 1.5rem 0; display: block; }
 .zp-vivid-hero::before { display: none; }
 .zp-vivid-hero::after { position: relative; display: block; width: calc(100% + 3rem); height: 220px; margin: 1.8rem -1.5rem 0; opacity: 1; inset: auto; }
 .zp-vivid-hero h1 { max-width: none; font-size: clamp(1.8rem, 7vw, 2.5rem); }
 .zp-vivid-trust > .wp-block-column + .wp-block-column { border: 0; }
}
