/* پوسته‌ی «pastel» — فقط وقتی همین پوسته فعاله بارگذاری می‌شه. */
html[data-skin="pastel"]:not([data-theme="dark"]) {
  --bg-page:#FDF4F7; --bg-card:#FFFFFF; --header-bg:#FFFFFF; --footer-bg:#FFF8FA;
  --primary:#D9669A; --pastel-red:#FDE2EC; --pastel-green:#DFF3EE; --pastel-blue:#E8E3FB;
  --text-dark:#3B2A3A; --text-muted:#8D7189; --border:#F5DDE8;
}
html[data-skin="pastel"] { --card-radius:24px; }
html[data-skin="pastel"] .pro-header-search, html[data-skin="pastel"] .pro-icon-btn, html[data-skin="pastel"] .pro-mega-btn { border-radius:999px; }
html[data-skin="pastel"] .pro-brand-name { color:var(--primary); }
html[data-skin="pastel"] .pro-card { border:none; padding:9px; }
html[data-skin="pastel"] .pro-thumb { border-radius:18px; }
html[data-skin="pastel"] .pro-card:nth-child(4n+1) .pro-thumb { background:#FDE2EC; }
html[data-skin="pastel"] .pro-card:nth-child(4n+2) .pro-thumb { background:#E8E3FB; }
html[data-skin="pastel"] .pro-card:nth-child(4n+3) .pro-thumb { background:#DFF3EE; }
html[data-skin="pastel"] .pro-card:nth-child(4n+4) .pro-thumb { background:#FFF0D9; }
html[data-skin="pastel"] .pro-badge-off, html[data-skin="pastel"] .pro-card-flag { background:#fff; color:var(--primary); border:1px solid var(--pastel-red); border-radius:999px; }
html[data-skin="pastel"] .pro-hero { border:none; background:var(--pastel-blue); border-radius:32px; }
html[data-skin="pastel"] .pro-slider { border-radius:28px; }
html[data-skin="pastel"] .pro-section-head h2 { color:var(--text-dark); }
html[data-skin="pastel"] .pro-section-head h2::after { content:" ♡"; color:var(--primary); font-size:15px; }
html[data-skin="pastel"] .pro-section-head a { background:var(--pastel-red); padding:4px 12px; border-radius:999px; }
html[data-skin="pastel"] .pro-cat-circle-img { border:3px solid #fff; box-shadow:0 0 0 2px var(--pastel-red); }
html[data-skin="pastel"] { --head-font:'Vazirmatn'; }
@media (prefers-reduced-motion:no-preference) {
  html[data-skin="pastel"] .pro-card { transition:transform .2s cubic-bezier(.3,1.6,.5,1), box-shadow .2s; }
  html[data-skin="pastel"] .pro-card:hover { transform:translateY(-4px); }
  html[data-skin="pastel"] .pro-thumb img { transition:transform .6s ease; }
  html[data-skin="pastel"] .pro-card:hover .pro-thumb img { transform:scale(1.06); }
}
html[data-skin="pastel"] .pro-hero { padding:44px 26px; position:relative; overflow:hidden; }
html[data-skin="pastel"] .pro-hero::after { content:""; position:absolute; width:220px; height:220px; left:-60px; bottom:-90px; border-radius:58% 42% 50% 50% / 45% 55% 45% 55%; background:var(--pastel-red); }
html[data-skin="pastel"] .pro-hero > * { position:relative; z-index:1; }
html[data-skin="pastel"] .pro-footer { border-radius:32px 32px 0 0; border-top:none; background:var(--pastel-blue); }
html[data-skin="pastel"] .pro-gallery-main { border:none; border-radius:32px; }

/* ====== پوسته‌ی پاستلی — کارتِ اختصاصی (templates/storefront/skins/pastel/) ====== */
html[data-skin="pastel"] .ps-card { position:relative; padding:9px 9px 12px !important; gap:6px; border:none !important; border-radius:26px; background:var(--bg-card) !important; transition:transform .2s cubic-bezier(.3,1.6,.5,1); }
@media (hover:hover) { html[data-skin="pastel"] .ps-card:hover { transform:translateY(-4px); } }
html[data-skin="pastel"] .ps-media { position:relative; aspect-ratio:1/1; border-radius:20px !important; }
html[data-skin="pastel"] .ps-card:nth-child(4n+1) .ps-media { background:#FDE2EC !important; }
html[data-skin="pastel"] .ps-card:nth-child(4n+2) .ps-media { background:#E8E3FB !important; }
html[data-skin="pastel"] .ps-card:nth-child(4n+3) .ps-media { background:#DFF3EE !important; }
html[data-skin="pastel"] .ps-card:nth-child(4n+4) .ps-media { background:#FFF0D9 !important; }
html[data-skin="pastel"] .ps-media img { object-fit:cover; mix-blend-mode:multiply; }
.ps-tag { position:absolute; top:10px; right:10px; background:#fff; color:var(--primary); font-size:12px; font-weight:800; border-radius:999px; padding:2px 10px; box-shadow:0 2px 8px rgba(217,102,154,.2); }
.ps-tag.is-out { color:#8D7189; }
.ps-wrap { position:relative; }
html[data-skin="pastel"] .ps-add { position:absolute; left:10px; bottom:10px; width:40px !important; height:40px; padding:0 !important; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 16px rgba(217,102,154,.35); z-index:2; }
html[data-skin="pastel"] .ps-wrap .dn-qty { position:absolute; left:8px; right:8px; bottom:8px; background:#fff; z-index:2; }
html[data-skin="pastel"] .ps-add .ic { width:19px; height:19px; }
html[data-skin="pastel"] .ps-add:disabled { display:none; }
html[data-skin="pastel"] .ps-card .pro-card-name { font-size:13.5px; font-weight:600; min-height:40px; text-align:center; padding:0 4px; }
.ps-price { text-align:center; display:flex; justify-content:center; align-items:baseline; gap:5px; flex-wrap:wrap; }
.ps-price s { font-size:11px; color:var(--text-muted); }
.ps-price b { font-size:15px; color:var(--primary); font-weight:800; }
.ps-price small { font-size:10.5px; color:var(--text-muted); }
html[data-skin="pastel"] .ps-card.is-oos .ps-media img { opacity:.45; }
html[data-skin="pastel"] .pro-shop-grid.is-list .ps-card { display:grid !important; grid-template-columns:120px minmax(0,1fr); gap:10px; }
html[data-skin="pastel"] .pro-shop-grid.is-list .ps-add { position:static; }
@media (max-width:699px) {
  html[data-skin="pastel"] .pro-block .pro-grid:not(.pro-shop-grid) { display:grid; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:46%;
    overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; gap:10px; margin-inline:-11px; padding:2px 11px 8px; }
  html[data-skin="pastel"] .pro-block .pro-grid:not(.pro-shop-grid)::-webkit-scrollbar { display:none; }
  html[data-skin="pastel"] .pro-block .pro-grid:not(.pro-shop-grid) > .pro-card { scroll-snap-align:start; }
}
@media (max-width:820px) {
  html[data-skin="pastel"] .pro-header.is-compact { box-shadow:0 4px 18px rgba(0,0,0,.08); }
  html[data-skin="pastel"] .pro-header.is-compact .pro-mobile-search, html[data-skin="pastel"] .pro-header.is-compact .pro-topbar { display:none; }
  html[data-skin="pastel"] .pro-header.is-compact .pro-header-main { padding:4px 0; }
  html[data-skin="pastel"] .pro-header.is-compact .pro-search-toggle { display:inline-flex; }
  html[data-skin="pastel"] .pro-header.is-compact.search-open .pro-mobile-search { display:block; }
  html[data-skin="pastel"] .pro-header.is-compact .pro-nav-bar { display:none; }
}
/* ---------- صفحه‌ی محصول ---------- */
@media (min-width:821px) {
  html[data-skin="pastel"] .pro-product { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:34px; }
  html[data-skin="pastel"] .pro-product > div:first-child:has(.pro-gallery-thumbs) { display:grid; grid-template-columns:72px minmax(0,1fr); gap:12px; align-items:start; }
  html[data-skin="pastel"] .pro-product > div:first-child:has(.pro-gallery-thumbs) > .pro-gallery-main { grid-column:2; grid-row:1; }
  html[data-skin="pastel"] .pro-product > div:first-child:has(.pro-gallery-thumbs) > .pro-gallery-thumbs { grid-column:1; grid-row:1; flex-direction:column; flex-wrap:nowrap; margin:0; max-height:560px; overflow-y:auto; scrollbar-width:none; }
  html[data-skin="pastel"] .pro-product > div:first-child:has(.pro-gallery-thumbs) > .pro-gallery-dots { display:none; }
  html[data-skin="pastel"] .pro-gallery-thumbs button { width:72px; height:72px; flex-shrink:0; }
  html[data-skin="pastel"] .pro-product > div:last-child { position:sticky; top:96px; }
}
html[data-skin="pastel"] .pro-product-title { font-size:22px; font-weight:800; line-height:1.6; }
html[data-skin="pastel"] .pro-price-box { border-radius:16px; }
html[data-skin="pastel"] .pro-price-big { font-size:26px; }
.cl-perks { list-style:none; margin:4px 0 14px; padding:12px 14px; display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:10px 14px;
  background:var(--bg-card); border:1px solid var(--border); border-radius:16px; }
.cl-perks li { display:flex; align-items:center; gap:9px; font-size:12.5px; line-height:1.6; }
.cl-perks .ic { width:22px; height:22px; flex-shrink:0; color:var(--primary); }
.cl-perks small { display:block; color:var(--text-muted); font-size:11px; }
html[data-skin="pastel"] .pro-info { border-radius:16px; }

/* ---------- فوتر ---------- */
.cl-footer { padding:34px 0 18px; margin-top:40px; }
.cl-footer-grid { display:grid; grid-template-columns:minmax(0,1.4fr) repeat(3, minmax(0,1fr)); gap:26px; }
.cl-fabout .pro-brand { margin-bottom:10px !important; }
.cl-fabout .pro-footer-meta { margin:0 0 12px; max-width:none; }
.cl-fcol summary { list-style:none; cursor:default; }
.cl-fcol summary::-webkit-details-marker { display:none; }
.cl-fcol summary h3 { margin:0 0 12px; font-size:14px; }
.cl-fcontact span { line-height:1.9; }
@media (max-width:820px) {
  .cl-footer-grid { grid-template-columns:1fr; gap:0; }
  .cl-fabout { padding-bottom:14px; }
  .cl-fcol { border-top:1px solid var(--border); }
  .cl-fcol summary { cursor:pointer; display:flex; align-items:center; justify-content:space-between; padding:13px 0; }
  .cl-fcol summary h3 { margin:0; }
  .cl-fcol summary::after { content:""; width:9px; height:9px; border-left:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(-45deg); transition:transform .2s; margin-inline-end:4px; opacity:.6; }
  .cl-fcol[open] summary::after { transform:rotate(135deg); }
  .cl-fcol .pro-footer-links { padding-bottom:14px; }
}

html[data-skin="pastel"] :is(.pro-section-head h2, .pro-hero h1, .pro-brand-name) { font-weight:900; }
