/* ==========================================================================
   Laminin — main.css (same system as the Samin theme, Laminin magenta palette)
   Tokens → base → header → sections → pages → forms → motion
   ========================================================================== */

@property --fade { syntax: '<length>'; inherits: false; initial-value: 3.5rem; }

:root {
    --ink: #231F20;
    --ink-soft: #55535A;
    --ink-mute: #8A8890;
    --sky: #C6168D;
    --sky-deep: #C4017E;
    --sky-wash: #FBE8F3;
    --mist: #F6F6F7; /* neutral page background — coral is kept for accents only */
    --line: #E7E7EA;

    --heading-color: var(--ink);
    --primary: var(--sky);
    --secondary: #C6168D2b;

    --buy: #C4017E;
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 28px;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --shadow-sm: 0 1px 2px rgba(35, 31, 32, .04), 0 8px 20px -10px rgba(35, 31, 32, .10);
    --shadow-md: 0 2px 4px rgba(35, 31, 32, .04), 0 22px 44px -20px rgba(35, 31, 32, .14);
    --dir: 1;
}
html[dir="ltr"] { --dir: -1; }
/* WordPress screen-reader-only text (e.g. the pagination heading): hidden on screen, still read aloud */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; word-wrap: normal !important; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; margin: 0; clip: auto; clip-path: none; overflow: visible; white-space: normal; }

/* ---------- fonts ---------- */
@font-face { font-family: 'icomoon'; src: url('../fonts/icomoon.eot?jef8xe'); src: url('../fonts/icomoon.eot?jef8xe#iefix') format('embedded-opentype'), url('../fonts/icomoon.ttf?jef8xe') format('truetype'), url('../fonts/icomoon.woff?jef8xe') format('woff'), url('../fonts/icomoon.svg?jef8xe#icomoon') format('svg'); font-weight: normal; font-style: normal; font-display: swap; }
[class^="icon-"], [class*=" icon-"] { font-family: 'icomoon' !important; speak: never; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.icon-comment:before { content: "\e918"; } .icon-copyright:before { content: "\e917"; } .icon-instagram:before { content: "\e900"; } .icon-pump:before { content: "\e901"; } .icon-barcode:before { content: "\e902"; } .icon-chevron:before { content: "\e903"; } .icon-percent:before { content: "\e904"; } .icon-arrow:before { content: "\e905"; } .icon-bars:before { content: "\e906"; } .icon-credit:before { content: "\e907"; } .icon-pen:before { content: "\e908"; } .icon-money:before { content: "\e909"; } .icon-circle:before { content: "\e90a"; } .icon-box:before { content: "\e90b"; } .icon-house:before { content: "\e90c"; } .icon-table:before { content: "\e90d"; } .icon-circle-user:before { content: "\e90e"; } .icon-cart:before { content: "\e90f"; } .icon-shield:before { content: "\e910"; } .icon-ellipsis:before { content: "\e911"; } .icon-info:before { content: "\e912"; } .icon-headset:before { content: "\e913"; } .icon-medal:before { content: "\e914"; } .icon-truck:before { content: "\e915"; } .icon-heart:before { content: "\e916"; }

@font-face { font-family: IRANYekanX; font-style: normal; font-weight: 300; src: url('../fonts/woff2/IRANYekanX-Light.woff2') format('woff2'), url('../fonts/woff/IRANYekanX-Light.woff') format('woff'); font-display: swap; }
@font-face { font-family: IRANYekanX; font-style: normal; font-weight: 400; src: url('../fonts/woff2/IRANYekanX-Regular.woff2') format('woff2'), url('../fonts/woff/IRANYekanX-Regular.woff') format('woff'); font-display: swap; }
@font-face { font-family: IRANYekanX; font-style: normal; font-weight: 500; src: url('../fonts/woff2/IRANYekanX-Medium.woff2') format('woff2'), url('../fonts/woff/IRANYekanX-Medium.woff') format('woff'); font-display: swap; }
@font-face { font-family: IRANYekanX; font-style: normal; font-weight: 600; src: url('../fonts/woff2/IRANYekanX-DemiBold.woff2') format('woff2'), url('../fonts/woff/IRANYekanX-DemiBold.woff') format('woff'); font-display: swap; }
@font-face { font-family: IRANYekanX; font-style: normal; font-weight: 700; src: url('../fonts/woff2/IRANYekanX-Bold.woff2') format('woff2'), url('../fonts/woff/IRANYekanX-Bold.woff') format('woff'); font-display: swap; }

/* ---------- base ---------- */
html { scroll-padding-top: 96px; }
body {
    position: relative; isolation: isolate;
    font-family: IRANYekanX, Tahoma, sans-serif;
    font-weight: 400; line-height: 1.9;
    color: var(--ink); background: var(--mist);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 620px; z-index: -1; pointer-events: none;
    background: none; /* no tinted glow behind the header */
}
::selection { background: var(--sky); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }
a, a:hover { text-decoration: none; color: var(--ink); }
a { transition: color .3s var(--ease); }
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.55; color: var(--ink); }
h1 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.2rem); }
h2 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem); }
h3 { font-size: 1.1rem; }
p { color: var(--ink-soft); }
@media (min-width: 1400px) { .container { max-width: 1200px; } }

/* utilities kept for existing markup */
.theme-color, .text-primary-color { color: var(--sky-deep); }
.fw300 { font-weight: 300; }
.text-justify { text-align: justify; }
.text-12 { font-size: .8rem; }
.x-size { font-size: .75rem; }
.max-content { width: max-content; }
.bg-none { background: none; }
.bg-theme { background: var(--sky-wash); }
.rotate { transform: rotate(90deg); }
.lineDevider { height: 1px; background: var(--line); flex-grow: 1; }
.shadow-theme { box-shadow: var(--shadow-sm); }
ul.comment-list, ul.children { list-style: none; }

/* ---------- buttons ---------- */
.btn, .btn-buy {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .65rem 1.5rem; border: 1px solid transparent; border-radius: 999px;
    font-weight: 600; font-size: .92rem; line-height: 1.6; cursor: pointer;
    transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.btn-buy, .btn-danger, .btn-primary {
    --bs-btn-bg: var(--buy); --bs-btn-border-color: var(--buy); --bs-btn-color: #fff;
    --bs-btn-hover-bg: var(--buy); --bs-btn-hover-border-color: var(--ink); --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--buy); --bs-btn-active-border-color: var(--ink); --bs-btn-active-color: #fff;
    --bs-btn-disabled-bg: var(--buy); --bs-btn-disabled-border-color: var(--buy);
    background: var(--buy); border-color: var(--buy); color: #fff;
}
.btn-buy { padding: .5rem 1.25rem; font-size: .88rem; }
.btn-buy::before, .btn-danger::before, .btn-primary::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
    transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn-buy:hover::before, .btn-danger:hover::before, .btn-primary:hover::before,
.btn-buy:focus-visible::before, .btn-danger:focus-visible::before, .btn-primary:focus-visible::before { transform: translateY(0); }
.btn-buy:hover, .btn-danger:hover, .btn-primary:hover { color: #fff; border-color: var(--ink); }
.btn:active, .btn-buy:active { transform: scale(.97); }
.btn:disabled, .btn.disabled { opacity: .55; pointer-events: none; }
.btn-outline-warning {
    --bs-btn-color: var(--ink); --bs-btn-hover-color: var(--ink); --bs-btn-active-color: var(--ink);
    background: #fff; border-color: var(--line); color: var(--ink);
}
.btn-outline-warning:hover { background: var(--sky-wash); border-color: var(--sky); color: var(--ink); }

/* ---------- header ---------- */
/* minimal: flat full-width bar, transparent on top, white + hairline once scrolled; sky dot accent echoes the logo */
/* bg/blur live on ::before and hiding moves children only, so .site-header never becomes a
   containing block for fixed descendants (progress bar) */
.site-header { position: sticky; top: 0; z-index: 1030; isolation: isolate; }
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: transparent; border-bottom: 1px solid transparent;
    transition: transform .6s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease);
}
.site-header > .container { transition: transform .6s var(--ease); }
.site-header.is-scrolled::before {
    background: rgba(255, 255, 255, .82); border-bottom-color: var(--line);
    -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
}
.site-header.is-hidden { pointer-events: none; }
.site-header.is-hidden::before, .site-header.is-hidden > .container { transform: translateY(-100%); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; transition: height .5s var(--ease); }
.site-header.is-scrolled .header-bar { height: 60px; }
.brand { display: flex; align-items: center; }
/* Laminin logo is wide (about 2.4:1): 40px tall reads well without crowding the header */
.brand-logo, .mainlogo { height: 40px; width: auto; display: block; transition: height .5s var(--ease); }
.site-header.is-scrolled .brand-logo { height: 34px; }
.header-bar .brand + .mainmenu { padding-inline-start: 1.25rem; margin-inline-start: .25rem; border-inline-start: 1px solid var(--line); }
.mainmenu ul { display: flex; gap: clamp(1rem, 2vw, 1.6rem); margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.mainmenu li { position: relative; display: flex; align-items: center; margin: 0; font-size: .9rem; }
.mainmenu a { position: relative; display: block; padding: .35rem 0; font-weight: 500; color: var(--ink-soft); transition: color .3s var(--ease); }
.mainmenu a::after {
    content: ""; position: absolute; inset-inline-start: 50%; bottom: -3px; width: 5px; height: 5px; margin-inline-start: -2.5px;
    border-radius: 50%; background: var(--sky); transform: scale(0); transition: transform .4s var(--ease);
}
.mainmenu a:hover, .mainmenu .current-menu-item > a, .mainmenu .current_page_item > a { color: var(--ink); }
.mainmenu a:hover::after, .mainmenu .current-menu-item > a::after, .mainmenu .current_page_item > a::after { transform: scale(1); }
.mainmenu .sub-menu {
    position: absolute; top: 100%; inset-inline-start: -.75rem; min-width: 200px; margin: 12px 0 0; padding: .4rem; list-style: none; display: block;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: var(--shadow-sm);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.mainmenu .sub-menu a { padding: .45rem .75rem; border-radius: 8px; }
.mainmenu .sub-menu a::after { display: none; }
.mainmenu .sub-menu a:hover { background: var(--mist); }
.mainmenu li:hover > .sub-menu, .mainmenu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
ul#menu-main { margin: 0; }
li.menu-item { display: flex; align-items: center; }
/* header CTA: ink pill that fills with brand sky on hover */
.site-header .btn-buy { padding: .45rem 1.15rem; background: var(--ink); border-color: var(--ink); }
.site-header .btn-buy::before { background: var(--sky-deep); }
.site-header .btn-buy:hover { border-color: var(--sky-deep); }

/* top progress */
#progress-container { position: fixed; top: 0; height: 2px; border-radius: 0; background: transparent; z-index: 1100; overflow: visible; }
#progress-container .progress-bar { width: 100%; height: 2px; transition: none; transform: scaleX(0); transform-origin: right; background: linear-gradient(90deg, var(--sky), var(--sky-deep)); }
html:not([dir="rtl"]) #progress-container .progress-bar { transform-origin: left; }

/* mobile nav */
.navbar-toggler { padding: .5rem .6rem; border: 0; border-radius: 50%; font-size: 1.15rem; transition: background-color .3s; }
.navbar-toggler:hover { background: var(--sky-wash); }
.navbar-toggler:focus { box-shadow: none; }
.mobile-nav.offcanvas {
    width: min(86vw, 340px); background-color: rgba(255, 255, 255, .98); transition: transform .65s var(--ease);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 0;
    border-start-end-radius: var(--r-lg); border-end-end-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.mobile-nav .offcanvas-header { padding: 1.25rem 1.5rem; }
.mobile-nav .offcanvas-body { padding: .5rem 1.5rem 2rem; }
.mobile-nav-link {
    display: flex; align-items: center; justify-content: space-between; padding: 1rem .25rem; font-size: 1.1rem; font-weight: 500;
    border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(calc(var(--dir) * 24px));
}
.mobile-nav.show .mobile-nav-link {
    opacity: 1; transform: none;
    transition: opacity .7s var(--ease) calc(var(--i, 0) * 60ms + 180ms), transform .8s var(--ease) calc(var(--i, 0) * 60ms + 180ms), color .3s;
}
.offcanvas-backdrop { background: var(--ink); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: opacity .5s var(--ease); }
.offcanvas-backdrop.show { opacity: .35; }

/* ---------- breadcrumb ---------- */
.theme-breadcrumb { font-size: .8rem; color: var(--ink-mute); padding-block: 1.1rem .6rem; gap: .2rem; }
.theme-breadcrumb a { color: var(--ink-soft); }
.theme-breadcrumb a:hover { color: var(--ink); }
.theme-breadcrumb .icon-chevron { font-size: .55rem; opacity: .6; color: var(--ink-mute); }

/* ---------- main-slider — same design as the Samin theme (content | full image), Laminin: neutral backgrounds, magenta only as accents ---------- */
/* same language as the header: flat, hairline borders, ink type, sky dot accent */
.main-slider { margin-top: .5rem; }
.main-slider-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
/* decorative shapes: coral outline ring + dot, dotted grid, white arc on the image (no tinted background glow) */
.main-slider-card::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none; width: 520px; height: 520px;
    inset-block-start: -260px; inset-inline-start: -200px; border-radius: 50%;
    background: none;
}
.main-slider-content > * { position: relative; z-index: 1; }
.main-slider-content::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none; width: 150px; height: 150px;
    inset-block-start: -95px; inset-inline-start: -95px; border-radius: 50%;
    border: 1.5px solid rgba(198, 22, 141, .45);
    background: radial-gradient(circle at 50% 50%, var(--sky) 0 6px, transparent 7px) no-repeat 8% 78% / 30px 30px;
    animation: main-slider-float 9s ease-in-out infinite;
}
.main-slider-content::after {
    content: ""; position: absolute; z-index: 0; pointer-events: none; width: 110px; height: 88px;
    inset-block-start: 1.75rem; inset-inline-end: 1.5rem;
    background: radial-gradient(circle, rgba(196, 1, 126, .28) 1.5px, transparent 2px) 0 0 / 14px 14px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent); mask-image: linear-gradient(to bottom, #000, transparent);
}
@keyframes main-slider-float { 50% { transform: translate(10px, 12px) rotate(25deg); } }
/* Laminin motif: soft bubbles (cleansers, shampoos) rising slowly over the image and fading out at the top */
.main-slider-bubbles { position: absolute; z-index: 2; inset-block: 0; inset-inline-end: 0; width: 50%; overflow: hidden; pointer-events: none; container-type: size; }
.main-slider-bubbles span {
    position: absolute; inset-block-end: -60px; inset-inline-start: var(--x); width: calc(var(--s) * var(--s2, 1)); aspect-ratio: 1; border-radius: 50%;
    border: 1.5px solid rgba(198, 22, 141, .55);
    background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .95) 0 14%, rgba(255, 255, 255, .3) 16%, rgba(198, 22, 141, .16) 72%);
    box-shadow: inset 0 0 8px rgba(255, 255, 255, .6), 0 4px 12px rgba(198, 22, 141, .15);
    opacity: 0; animation: bubble-rise var(--d) linear var(--w) infinite;
}
@keyframes bubble-rise {
    0%   { transform: translate(0, 0) scale(.6); opacity: 0; }
    12%  { opacity: 1; }
    50%  { transform: translate(14px, calc(-50cqh - 30px)) scale(.9); }
    85%  { opacity: .9; }
    100% { transform: translate(-10px, calc(-100cqh - 60px)) scale(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .main-slider-bubbles { display: none; } }
.main-slider .carousel-item { transition: opacity 1s var(--ease); }
.main-slider-slide { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(440px, 40vw, 540px); }
.main-slider-content { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.75rem, 4vw, 3.5rem); padding-bottom: 8.5rem; background: #fff; }
.main-slider-kicker { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .85rem; border-radius: 999px; background: #F3F3F5; color: var(--sky-deep); font-size: .8rem; font-weight: 600; }
.main-slider-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.main-slider-title { margin: .9rem 0 .75rem; font-size: clamp(1.6rem, 1.05rem + 2.1vw, 2.6rem); font-weight: 700; line-height: 1.45; color: var(--ink); text-wrap: balance; }
.main-slider-desc { max-width: 46ch; margin: 0 0 1.75rem; font-size: 1rem; font-weight: 300; line-height: 2.05; color: var(--ink-soft); }
.main-slider-points { display: grid; gap: .5rem; margin: -.5rem 0 1.75rem; padding: 0; list-style: none; }
.main-slider-points li { display: flex; align-items: center; gap: .65rem; font-size: .92rem; font-weight: 500; color: var(--ink); }
.main-slider-points li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.main-slider-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.main-slider-actions .btn { padding: .7rem 1.5rem; }
/* primary CTA mirrors the header button: ink pill filling with sky */
.main-slider-actions .btn-danger { background: var(--ink); border-color: var(--ink); }
.main-slider-actions .btn-danger::before { background: var(--sky-deep); }
.main-slider-actions .btn-danger:hover { border-color: var(--sky-deep); }
.main-slider-actions .btn-outline-warning { background: transparent; border-color: var(--line); }
.main-slider-media { position: relative; overflow: hidden; background: var(--mist); border-inline-start: 1px solid var(--line); }
.main-slider-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 55%; }
/* slow, endless zoom on the slide image ("Ken Burns"): 1 → 1.08 and back over 18s, smooth both ways */
/* Laminin: the product line fits inside the frame (transparent image, base at 79% of its height): size by width, base on a soft shadow, in front of a pale magenta disc wrapped by a slow dashed orbit */
.main-slider-media { isolation: isolate; background: #FAFAFB; container-type: inline-size; --img-w: 92cqw; }
.main-slider-media img { z-index: 1; inset: auto; inset-inline-start: calc((100cqw - var(--img-w)) / 2); inset-block-end: calc(15% - .207 * var(--img-w)); width: var(--img-w); height: auto; aspect-ratio: 1; object-fit: contain; transform-origin: 50% 79%; }
.main-slider-media::before { content: ""; position: absolute; z-index: 0; inset-block-end: calc(15% - 11px); inset-inline-start: 50%; width: 70%; height: 22px; border-radius: 50%; transform: translateX(50%); background: radial-gradient(closest-side, rgba(35, 31, 32, .16), rgba(35, 31, 32, 0)); }
.main-slider-media::after { content: ""; position: absolute; z-index: 0; inset-block-start: 48%; inset-inline-start: 50%; width: min(74%, 360px); aspect-ratio: 1; border-radius: 50%; transform: translate(50%, -50%); background: radial-gradient(circle, #FBE3F1 0, #FDF1F8 50%, rgba(253, 241, 248, 0) 66%); border: 1.5px dashed rgba(198, 22, 141, .3); animation: laminin-orbit 60s linear infinite; }
@keyframes laminin-orbit { to { transform: translate(50%, -50%) rotate(360deg); } }
/* two small shapes on the bubble layer: a corner arc and a solid dot */
.main-slider-bubbles::before { content: ""; position: absolute; width: 150px; aspect-ratio: 1; inset-block-start: -75px; inset-inline-end: -75px; border-radius: 50%; border: 1.5px solid rgba(198, 22, 141, .28); box-shadow: 0 0 0 14px rgba(198, 22, 141, .05); }
.main-slider-bubbles::after { content: ""; position: absolute; width: 12px; aspect-ratio: 1; inset-block-start: 20%; inset-inline-start: 10%; border-radius: 50%; background: var(--sky); box-shadow: 18px 22px 0 -3px rgba(198, 22, 141, .35); animation: main-slider-float 9s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .main-slider-media::after, .main-slider-bubbles::after { animation: none; } }
@keyframes main-slider-zoom { from { transform: scale(1); } to { transform: scale(1.04); } }
@media (prefers-reduced-motion: no-preference) {
    .main-slider .carousel-item.active .main-slider-media img { animation: main-slider-zoom 9s ease-in-out infinite alternate; }
    .main-slider .carousel-item.active .main-slider-content > * { animation: rise .9s var(--ease) both; }
    .main-slider .carousel-item.active .main-slider-content > :nth-child(2) { animation-delay: .08s; }
    .main-slider .carousel-item.active .main-slider-content > :nth-child(3) { animation-delay: .16s; }
    .main-slider .carousel-item.active .main-slider-content > :nth-child(4) { animation-delay: .24s; }
}
/* controls: compact white bar in the image corner, dots like the menu indicator */
.main-slider-controls { position: absolute; z-index: 3; bottom: 1.25rem; inset-inline-end: 1.25rem; display: flex; align-items: center; gap: .25rem; padding: .25rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.main-slider .carousel-indicators { position: static; margin: 0 .35rem; padding: 0; gap: 8px; }
.main-slider .carousel-indicators [data-bs-target] { width: 6px; height: 6px; margin: 0; padding: 0; border: 0; border-radius: 99px; background: var(--ink-mute); opacity: .6; transition: width .6s var(--ease), background-color .4s, opacity .4s; box-sizing: border-box; text-indent: -999px; overflow: hidden; }
.main-slider .carousel-indicators .active { width: 20px; background: var(--sky); opacity: 1; }
.main-slider-arrow { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: .65rem; transition: background-color .3s var(--ease), color .3s; }
.main-slider-arrow:hover { background: var(--sky-wash); color: var(--sky-deep); }
.main-slider-arrow[data-bs-slide="prev"] i { transform: rotate(-90deg); }
.main-slider-arrow[data-bs-slide="next"] i { transform: rotate(90deg); }
/* numbers under the content column */
.main-slider-stats { position: absolute; z-index: 2; bottom: 0; inset-inline-start: 0; width: 50%; display: flex; gap: clamp(1rem, 3vw, 2.5rem); margin: 0; padding: 1.25rem clamp(1.75rem, 4vw, 3.5rem) 1.5rem; border-top: 1px solid var(--line); background: #fff; }
.main-slider-stats dt { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); font-weight: 700; line-height: 1.3; color: var(--sky-deep); font-variant-numeric: tabular-nums; }
.main-slider-stats div + div { padding-inline-start: clamp(.5rem, 3vw, 2.5rem); border-inline-start: 1px solid var(--line); }
.main-slider-stats dd { margin: 0; font-size: .8rem; font-weight: 300; color: var(--ink-soft); }
@media (max-width: 991.98px) {
    .main-slider-slide { grid-template-columns: 1fr; min-height: 0; }
    .main-slider-media { order: -1; aspect-ratio: 16 / 10; --img-w: 62cqw; }
    /* image is on top here: the bubble layer covers just the image */
    .main-slider-bubbles { inset-block-end: auto; width: 100%; aspect-ratio: 16 / 10; }
    .main-slider-content { padding-bottom: 1.5rem; }
    .main-slider-media { border-inline-start: 0; border-bottom: 1px solid var(--line); }
    .main-slider-controls { bottom: auto; top: 1rem; inset-inline-end: 1rem; }
    .main-slider-stats { position: static; width: auto; justify-content: space-around; text-align: center; }
}
@media (max-width: 575.98px) {
    .main-slider-card { border-radius: var(--r-md); }
    .main-slider-content { padding: 1.25rem 1.25rem 1.5rem; }
    .main-slider-desc { margin-bottom: 1.25rem; font-size: .92rem; line-height: 1.95; }
    .main-slider-media { aspect-ratio: 4 / 3; --img-w: 72cqw; }
    .main-slider-bubbles { aspect-ratio: 4 / 3; }
    .main-slider-bubbles span { --s2: .7; }
    .main-slider-actions { align-self: stretch; }
    .main-slider-content::before { display: none; }
    .main-slider-content::after { width: 70px; height: 56px; inset-block-start: 1rem; inset-inline-end: 1rem; }
    .main-slider-actions .btn { flex: 1 1 auto; padding: .65rem 1rem; }
    .main-slider-controls { top: .75rem; inset-inline-end: .75rem; }
    .main-slider-arrow { width: 30px; height: 30px; }
    .main-slider-stats { gap: 0; padding: 1rem .5rem; }
    .main-slider-stats div { flex: 1; padding-inline: .5rem; }
    .main-slider-stats dd { font-size: .72rem; }
    .site-header .btn-buy { padding: .4rem .9rem; font-size: .8rem; }
}

/* ---------- intro (one column, expandable) ---------- */
.eyebrow { display: inline-block; margin-bottom: .75rem; font-size: .8rem; font-weight: 600; color: var(--sky-deep); letter-spacing: .02em; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; margin-inline-end: .5rem; vertical-align: middle; border-radius: 2px; background: var(--sky); }
/* header language: no box, sits on the page background, menu-sized type, sky dot */
.intro { margin-top: clamp(1.75rem, 4vw, 2.75rem); padding: 0; background: transparent; }
.intro .eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .6rem; font-size: .9rem; color: var(--ink); letter-spacing: 0; }
.intro .eyebrow::before { width: 5px; height: 5px; margin: 0; border-radius: 50%; }
.intro p { width: 100%; margin: 0; font-size: .92rem; line-height: 2.1; font-weight: 300; color: var(--ink-soft); text-wrap: pretty; text-align: justify; }
.intro p::first-line { font-weight: 500; color: var(--ink); }
.mobileDesc {
    --fade: 0px; max-height: 9.5rem; overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(#000 calc(100% - var(--fade)), transparent);
    transition: max-height .9s var(--ease), --fade .9s var(--ease);
}
.mobileDesc:not(.is-open) { --fade: 4rem; }
.mobileDesc.is-open { max-height: 80rem; }
@media (max-width: 767.98px) { .mobileDesc { max-height: 12.5rem; } }
/* "see more" behaves like a menu link: plain text, sky dot on hover */
#seemore { position: relative; display: block; border: 0; background: none; width: max-content; margin: .75rem auto 0; padding: .35rem 0; font-size: .88rem; font-weight: 500; color: var(--ink-soft); cursor: pointer; transition: color .3s var(--ease); }
#seemore::after { content: ""; position: absolute; inset-inline-start: 50%; bottom: -3px; width: 5px; height: 5px; margin-inline-start: -2.5px; border-radius: 50%; background: var(--sky); transform: scale(0); transition: transform .4s var(--ease); }
#seemore:hover, #seemore:focus-visible { color: var(--ink); }
#seemore:hover::after, #seemore:focus-visible::after { transform: scale(1); }

/* ---------- features ---------- */
.features { padding-block: clamp(1.5rem, 4vw, 3rem); }
.feature { text-align: center; padding: 1.25rem 1rem; }
.feature .icons { display: block; width: 72px; height: 72px; max-height: none; padding: 16px; margin: 0 auto 1rem; border-radius: 50%; background: var(--sky-wash); object-fit: contain; transition: transform .8s var(--ease), background-color .5s var(--ease); }
.feature:hover .icons { transform: translateY(-5px); background: #F6D6EA; }
.feature b { display: block; font-size: 1.05rem; font-weight: 700; margin-bottom: .3rem; }
.feature p { max-width: 32ch; margin: 0 auto; text-align: center; font-size: .92rem; font-weight: 300; }

/* ---------- section heads / links ---------- */
.section { padding-block: clamp(1.75rem, 4vw, 3.25rem); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.section-title { margin: 0; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.link-more {
    font-size: .9rem; font-weight: 500; color: var(--sky-deep); white-space: nowrap;
    background: linear-gradient(currentColor, currentColor) right bottom / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .6s var(--ease), color .3s;
}
html[dir="ltr"] .link-more { background-position: left bottom; }
.link-more:hover { background-size: 100% 1px; color: var(--sky-deep); }

/* ---------- product cards ---------- */
.product-card {
    display: block; height: 100%; padding: .55rem .55rem 1rem; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm);
    transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card .thumb {
    position: relative; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden;
    border-radius: calc(var(--r-md) - 6px); background: #F3F3F5; /* neutral, so product packaging colours read true */
}
.product-card .thumb img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; transition: transform 1s var(--ease); }
.product-card:hover .thumb img { transform: scale(1.07) translateY(-2%); }
.product-card .product { min-height: 3.4em; margin: .85rem .5rem 0; text-align: center; font-weight: 500; font-size: .95rem; line-height: 1.7; color: var(--ink); }

/* ---------- product card extras ---------- */
.product-card { display: flex; flex-direction: column; position: relative; }
.product-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--sky), transparent 45%, transparent 60%, var(--sky-deep)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.product-card:hover::after { opacity: 1; }
.pc-chip { position: absolute; z-index: 1; inset-block-start: .6rem; inset-inline-start: .6rem; padding: .15rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: .7rem; font-weight: 600; color: var(--ink-soft); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.product-card .product { flex: 1; }
/* CTA hovers like a header menu link: ink-soft → ink, sky dot appears below */
.pc-cta { position: relative; align-self: center; margin-top: .35rem; padding-bottom: .2rem; font-size: .82rem; font-weight: 500; color: var(--ink-soft); transition: color .3s var(--ease); }
.pc-cta::after { content: ""; position: absolute; inset-inline-start: 50%; bottom: -5px; width: 5px; height: 5px; margin-inline-start: -2.5px; border-radius: 50%; background: var(--sky); transform: scale(0); transition: transform .4s var(--ease); }
.product-card:hover .pc-cta, .product-card:focus-visible .pc-cta { color: var(--ink); }
.product-card:hover .pc-cta::after, .product-card:focus-visible .pc-cta::after { transform: scale(1); }

/* ---------- product slider (scroll-snap) ---------- */
.p-slider { position: relative; }
.p-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 1.25rem) / 4); gap: 1.25rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: .35rem; scrollbar-width: none; padding: .75rem .35rem 1.75rem; margin: -.75rem -.35rem -1rem; }
.p-track::-webkit-scrollbar { display: none; }
.p-slide { scroll-snap-align: start; }
.p-btn { position: absolute; z-index: 2; top: 38%; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: .7rem; box-shadow: var(--shadow-md); cursor: pointer; transition: opacity .4s var(--ease), transform .5s var(--ease), background-color .3s; }
.p-btn:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.p-btn[data-dir="prev"] { inset-inline-start: -22px; }
.p-btn[data-dir="next"] { inset-inline-end: -22px; }
.p-btn[data-dir="prev"] i { transform: rotate(-90deg); }
.p-btn[data-dir="next"] i { transform: rotate(90deg); }
.p-btn:disabled, .p-slider.is-static .p-btn { opacity: 0; pointer-events: none; }
@media (max-width: 991.98px) { .p-track { grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); } }
@media (max-width: 767.98px) { .p-track { grid-auto-columns: 44%; gap: .85rem; } }
@media (hover: none) { .p-btn { display: none; } }

/* ---------- product archive ---------- */
/* product archive — same language as the product page: thin dividers, white image boxes with a hairline, sky for "active" */
.archive-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.archive-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; } /* title at the start, count at the far end (left in RTL) */
.archive-head h1 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); }
.archive-count { padding: .2rem .7rem; border-radius: 999px; background: var(--sky-wash); color: var(--sky-deep); font-size: .78rem; font-weight: 600; }
.cat-filter { display: flex; gap: .5rem; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: .25rem 0; }
.cat-filter::-webkit-scrollbar { display: none; }
.cat-filter :is(a, button) { display: inline-flex; font: inherit; font-size: .85rem; cursor: pointer; align-items: center; gap: .4rem; flex: none; padding: .35rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .85rem; color: var(--ink-soft); white-space: nowrap; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
.cat-filter :is(a, button) small { font-size: .7rem; opacity: .6; }
.cat-filter :is(a, button):hover { border-color: var(--sky); color: var(--ink); }
.cat-filter :is(a, button).active { background: var(--sky-wash); border-color: var(--sky-deep); color: var(--sky-deep); }
.theme-pagination { margin-top: 2.5rem; }
.theme-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.theme-pagination .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .75rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 500; color: var(--ink-soft); font-variant-numeric: tabular-nums; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.theme-pagination a.page-numbers:hover { border-color: var(--sky); color: var(--ink); }
.theme-pagination .page-numbers.current { background: var(--sky-wash); border-color: var(--sky-deep); color: var(--sky-deep); }
.theme-pagination .page-numbers.dots { background: none; border-color: transparent; }
.theme-pagination .prev i { transform: rotate(-90deg); font-size: .65rem; }
.theme-pagination .next i { transform: rotate(90deg); font-size: .65rem; }
/* archive cards: one white card holding image, name and link (hairline like the product page, no shadow) */
.archive-grid .product-card { padding: .5rem .5rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: none; transition: border-color .4s var(--ease); }
.archive-grid .product-card:hover { transform: none; box-shadow: none; border-color: rgba(198, 22, 141, .6); }
.archive-grid .product-card::after { display: none; }
.archive-grid .product-card .thumb { background: var(--mist); border-radius: calc(var(--r-md) - 6px); }
.archive-grid .product-card .product { margin-inline: .25rem; font-weight: 600; }

/* ---------- single product extras ---------- */
@media (min-width: 768px) { .product-main .product-visual { position: sticky; top: 96px; } }
.product-visual { position: relative; }
.product-visual img { position: relative; }
.product-visual .pc-chip { inset-block-start: 1rem; inset-inline-start: 1rem; font-size: .8rem; padding: .25rem .8rem; background: var(--buy); color: #fff; }
/* editor-ticked badges (محصول جدید، بسته‌بندی جدید) in the image corner opposite the volume chip */
.product-badges { position: absolute; z-index: 1; inset-block-start: 1rem; inset-inline-end: 1rem; display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.product-badges span { padding: .25rem .8rem; border-radius: 999px; background: var(--sky-deep); color: #fff; font-size: .78rem; font-weight: 600; line-height: 1.6; }
.product-badges .badge-new_pack { background: #0f9d6b; }
/* volume switcher, colour swatches, share — menu language: hairline pills, sky for the active one */
.product-option { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; margin: 0 0 1rem; }
.product-option-label { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.product-option-label::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.product-variants { display: flex; flex-wrap: wrap; gap: .4rem; }
.product-variants button { padding: .3rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 500; color: var(--ink-soft); transition: border-color .3s, color .3s, background-color .3s; }
.product-variants button:hover { border-color: var(--sky); color: var(--ink); }
.product-variants button.is-active { border-color: var(--sky-deep); background: var(--sky-wash); color: var(--sky-deep); }
.product-colors { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: 0; padding: 0; list-style: none; }
.product-colors li { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--ink-soft); }
.product-colors .swatch { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(35, 31, 32, .15); }
.btn-share { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink-soft); transition: border-color .3s, color .3s, background-color .3s; }
.btn-share:hover { border-color: var(--sky); background: var(--sky-wash); color: var(--sky-deep); }
.product-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.product-head .btn-share { flex: none; width: 38px; height: 38px; margin-top: .35rem; }
.btn-share[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); inset-inline-start: 50%; transform: translateX(50%); padding: .25rem .6rem; border-radius: 6px; background: var(--ink); color: #fff; font-size: .72rem; white-space: nowrap; }
html[dir="ltr"] .btn-share[data-tip]::after { transform: translateX(-50%); }
/* header language: categories read like menu links (sky dot), hairline boxes, ink CTA */
.product-cats { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-bottom: .6rem; }
.product-cats a { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 500; color: var(--ink-soft); transition: color .3s var(--ease); }
.product-cats a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.product-cats a:hover { color: var(--ink); }
.btn-lg-pad { padding: .8rem 2rem; font-size: 1rem; }
/* buy button hover: deepen the same red instead of flipping to black */
.product-main .btn-danger { --buy: #dc3545; } /* buy button stays red in every brand (as in Samin) */
.product-main .btn-danger::before { background: #b52b38; }
.product-main .btn-danger:hover { border-color: #b52b38; box-shadow: 0 8px 20px -10px rgba(220, 53, 69, .55); }
.product-main .btn-outline-warning { background: transparent; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.5rem 0 0; padding: 1.25rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-soft); }
.trust i { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--sky-deep); font-size: .85rem; }
.product-about { font-size: .95rem; font-weight: 300; line-height: 2.1; color: var(--ink-soft); }
.product-about img { height: auto; border-radius: var(--r-md); }

/* banner */
.banner { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.banner img { display: block; width: 100%; height: auto; }
/* banner motion: slow zoom on hover (the reveal's clip-path transition is kept alongside) */
.banner img { transition: transform .9s var(--ease); }
.js .banner[data-reveal] > img { transition: clip-path 1.4s var(--ease), transform .9s var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .banner:hover img { transform: scale(1.05); } }

/* ---------- accordion / faq ---------- */
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-width: 0; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--sky-deep); }
.accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
/* header-menu language: ink-soft → ink, sky dot appears on hover/open, bare + that turns into a sky × */
.accordion-button {
    gap: .75rem; padding: 1.1rem 0; background: transparent; box-shadow: none; font-size: 1rem; font-weight: 600; line-height: 1.85; color: var(--ink); text-align: start;
    transition: color .3s var(--ease);
}
.accordion-button::before {
    content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--sky);
    transform: scale(0); transition: transform .4s var(--ease);
}
.accordion-button:hover, .accordion-button:not(.collapsed) { color: var(--sky-deep); background: transparent; box-shadow: none; }
.accordion-button:hover::before, .accordion-button:not(.collapsed)::before, .accordion-button:focus-visible::before { transform: scale(1); }
.accordion-button::after, .accordion-button:not(.collapsed)::after {
    width: 16px; height: 16px; border: 0; flex: none; color: var(--ink-soft);
    background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
    background-size: 12px 1.5px, 1.5px 12px; background-position: center; background-repeat: no-repeat;
    transition: transform .5s var(--ease), color .3s;
}
.accordion-button:not(.collapsed)::after { transform: rotate(45deg); color: var(--sky); }
.accordion-button:focus { border: 0; box-shadow: none; }
/* answers: regular weight, darker grey, sky bar on the start side so the open answer is easy to follow */
.accordion-body { margin: 0 0 1.25rem; margin-inline-start: calc(5px + .75rem); padding: .15rem 0 .15rem; padding-inline-start: 1rem; max-width: 70ch; border-inline-start: 2px solid rgba(198, 22, 141, .55); font-size: .97rem; font-weight: 400; line-height: 2.1; color: #3A383E; }
.accordion-body .link-more { position: relative; background: none; padding-bottom: .2rem; font-size: .85rem; color: var(--ink-soft); }
.accordion-body .link-more::after { content: ""; position: absolute; inset-inline-start: 50%; bottom: -4px; width: 5px; height: 5px; margin-inline-start: -2.5px; border-radius: 50%; background: var(--sky); transform: scale(0); transition: transform .4s var(--ease); }
.accordion-body .link-more:hover { color: var(--ink); }
.accordion-body .link-more:hover::after { transform: scale(1); }
.accordion-body p { margin-bottom: .75rem; color: inherit; font-weight: inherit; }
.accordion-body p:empty { display: none; }
.collapsing { transition: height .55s var(--ease); }
.faqQuestion { white-space: normal; overflow: visible; text-overflow: clip; }
.accordion-item.is-entering { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
.accordion.is-loading { opacity: .35; transition: opacity .3s; pointer-events: none; }
.accordion { transition: opacity .5s var(--ease); }

.faq-filter { display: flex; gap: .5rem; margin: 0 0 1.5rem; padding: .25rem 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.faq-filter::-webkit-scrollbar { display: none; }
.faq-filter .nav-item { margin: 0 !important; flex: none; }
.nav-link { font-size: .85rem; }
.faq-filter .nav-link {
    padding: .45rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-soft); white-space: nowrap;
    transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.faq-filter .nav-link:hover { border-color: var(--sky); color: var(--ink); }
.faq-filter .nav-link.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- mag cards ---------- */
.mag-card { display: block; }
.mag-card .media { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--mist); }
.mag-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mag-card:hover .media img { transform: scale(1.05); }
/* title hovers like a header menu link: ink-soft → ink, sky dot appears at its start
   (dot is a background, since ::before would break -webkit-line-clamp) */
.mag-card .mag-title {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    margin: .75rem 0 0; padding-inline-start: calc(5px + .6rem); font-size: .92rem; font-weight: 500; line-height: 1.85; color: var(--ink-soft);
    background: radial-gradient(circle, var(--sky) 2.5px, transparent 3px) no-repeat right .62em / 0 0;
    transition: color .3s var(--ease), background-size .4s var(--ease);
}
html[dir="ltr"] .mag-card .mag-title { background-position: left .62em; }
.mag-card:hover .mag-title, .mag-card:focus-visible .mag-title { color: var(--ink); background-size: 6px 6px; }
/* magazine archive: one white card per article (hairline, like the product archive cards) */
.mag-item { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .4s var(--ease); }
.mag-item:hover { border-color: rgba(198, 22, 141, .6); }
.mag-item-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.mag-item-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mag-item:hover .mag-item-img img { transform: scale(1.04); }
.mag-item-body { display: flex; flex: 1; flex-direction: column; padding: 1rem 1.1rem 1.1rem; }
.mag-item .mag-meta { margin-bottom: .45rem; font-size: .78rem; }
.mag-item-title { margin: 0 0 .4rem; font-size: 1.02rem; font-weight: 700; line-height: 1.8; color: var(--ink); }
.mag-item-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 .75rem; font-size: .88rem; line-height: 1.95; color: var(--ink-soft); }
.mag-item .pc-cta { align-self: center; margin-top: auto; }
.mag-item:hover .pc-cta, .mag-item:focus-visible .pc-cta { color: var(--ink); }
.mag-item:hover .pc-cta::after, .mag-item:focus-visible .pc-cta::after { transform: scale(1); }

/* ---------- panels (inner pages) ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }
.panel-title { display: flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem; font-size: 1.05rem; font-weight: 700; }
.panel-title::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
/* product page: sections sit straight on the page (no white boxes), split by a hairline */
body.single-product .panel { background: transparent; border: 0; border-radius: 0; padding: clamp(1.5rem, 3.5vw, 2.25rem) 0; margin: 0; }
body.single-product .panel + .panel, body.single-product .panel + div > .panel { border-top: 1px solid var(--line); }
body.single-product .product-main { padding-top: .5rem; }
body.single-product .product-visual { background: #fff; border: 1px solid var(--line); }
.page-content h1, .container > .row > h1 { margin-bottom: 1.25rem; }
.page-content .archive-head h1 { margin-bottom: 0; }
.page-body { padding-bottom: 1rem; } /* default pages: full container width (a narrower column read as an empty second column) */
.page-body > :last-child { margin-bottom: 0; }

/* ---------- product page ---------- */
.product-visual { aspect-ratio: 1; display: grid; place-items: center; border-radius: var(--r-md); background: var(--mist); overflow: hidden; }
.product-visual img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; transition: transform 1s var(--ease); }
.product-visual:hover img { transform: scale(1.06); }
h1.product-name, .product-title { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem); font-weight: 700; margin: 0 0 .25rem; }
span.english-name, .english-name { font: 500 .78rem/1.4 sans-serif; color: var(--ink-mute); direction: ltr; text-transform: uppercase; max-height: 24px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.product-tinymce-content { font-weight: 300; color: var(--ink-soft); line-height: 2.05; }
.codes, .volume { font-weight: 300; font-size: .85rem; }
.badge-soft { display: inline-flex; align-items: center; padding: .3rem .9rem; border-radius: 999px; background: #FBE8F3; color: var(--ink-soft); font-size: .82rem; font-weight: 500; }
.feedback { position: relative; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); } /* same divider as above .trust */
.feedback-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .7rem; font-size: .88rem; font-weight: 500; }
.feedback-label { position: relative; display: inline-flex; align-items: center; gap: .4rem; }
.feedback-head .icon-info { position: relative; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-wash); color: var(--sky-deep); font-size: .7rem; cursor: pointer; transition: background-color .3s, color .3s; }
.feedback-head .icon-info:hover, .feedback-head .icon-info:focus-visible { background: var(--sky-deep); color: #fff; outline: 0; }
.feedback-value { font-size: 1.05rem; font-weight: 700; color: var(--sky-deep); font-variant-numeric: tabular-nums; }
/* bar: flat and minimal — thin track, solid brand color */
.feedback .progress { height: 6px; border-radius: 99px; background: var(--sky-wash); overflow: hidden; }
.feedback .progress-bar { height: 100%; border-radius: 99px; background: var(--sky-deep); animation: fill 1.6s var(--ease) .3s both; }
/* tooltip: white card right above the label, pointer coming out of the (i) icon */
.theme-alert {
    position: absolute; z-index: 5; inset-inline-start: 0; bottom: calc(100% + 12px); width: max-content; max-width: min(260px, 80vw);
    padding: .6rem .85rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-soft);
    font-size: .78rem; font-weight: 400; line-height: 1.8; text-align: start; box-shadow: 0 14px 30px -14px rgba(15, 23, 42, .3);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s; pointer-events: none;
}
.theme-alert.is-open { opacity: 1; visibility: visible; transform: none; }
.feedback-head .icon-info::after { content: ""; position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 6; width: 10px; height: 10px; border: solid var(--line); border-width: 0 1px 1px 0; background: #fff; opacity: 0; transform: translateX(-50%) rotate(45deg); transition: opacity .3s; pointer-events: none; }
.theme-alert.is-open + .icon-info::after { opacity: 1; }

/* ---------- mag article — product-page language: no white box, readable body, sky accents ---------- */
.mag-head { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.mag-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-bottom: .6rem; font-size: .82rem; color: var(--ink-mute); }
.mag-meta > * { display: inline-flex; align-items: center; gap: .45rem; }
.mag-meta > *::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.mag-title-h1 { margin: 0; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem); line-height: 1.6; }
.magContent p, .magContent li { font-size: 1.02rem; font-weight: 400; line-height: 2.15; color: #3A383E; text-align: start; }
.magContent h2 { margin: 2.5rem 0 1rem; font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); scroll-margin-top: 96px; }
.magContent h3 { margin: 2rem 0 .75rem; font-size: 1.08rem; }
.magContent img { display: block; max-width: 100%; height: auto; margin: 1rem auto; border-radius: var(--r-md); } /* every image centred, whatever alignment it was inserted with */
.magContent figure, .magContent .wp-caption { max-width: 100%; margin-inline: auto; text-align: center; }
.magContent figcaption, .magContent .wp-caption-text { font-size: .82rem; color: var(--ink-mute); }
.magContent a { color: var(--sky-deep); text-decoration: underline; text-decoration-color: rgba(196, 1, 126, .3); text-underline-offset: .3em; transition: text-decoration-color .3s; }
.magContent a:hover { text-decoration-color: currentColor; }
.magContent blockquote { margin: 1.5rem 0; padding: .25rem 0; padding-inline-start: 1rem; border-inline-start: 2px solid rgba(198, 22, 141, .55); }
.magContent table { width: 100%; display: block; overflow-x: auto; }
.mag-comments { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
/* table of contents: numbered sections on a rail (read = light sky, current = sky + bold), reading-progress bar */
.toc { padding: 1.1rem 1.15rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.toc-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.toc-title { display: inline-flex; align-items: center; gap: .45rem; margin: 0; font-size: .95rem; font-weight: 700; color: var(--ink); }
.toc-title::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.toc-progress { display: block; height: 3px; margin: .8rem 0 .6rem; overflow: hidden; border-radius: 99px; background: var(--line); }
.toc-progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--sky), var(--sky-deep)); transform: scaleX(0); transform-origin: right; transition: transform .15s linear; }
html[dir="ltr"] .toc-progress > span { transform-origin: left; }
.toc-list { margin: 0; padding: 0; list-style: none; }
.toc-list li { padding-inline-start: .9rem; border-inline-start: 2px solid var(--line); transition: border-color .3s var(--ease); }
.toc-list li.is-done { border-color: rgba(198, 22, 141, .45); }
.toc-list li.is-active { border-color: var(--sky-deep); }
.toc-link { display: flex; align-items: baseline; gap: .6rem; padding: .42rem 0; font-size: .86rem; line-height: 1.75; color: var(--ink-soft); transition: color .3s; }
.toc-link:hover { color: var(--ink); }
.toc-num { flex: none; min-width: 1.1rem; font-size: .74rem; font-weight: 600; color: var(--ink-mute); font-variant-numeric: tabular-nums; transition: color .3s; }
.toc-list li.is-done .toc-num { color: var(--sky); }
.toc-list li.is-active .toc-link { color: var(--ink); font-weight: 600; }
.toc-list li.is-active .toc-num { color: var(--sky-deep); }
@media (min-width: 992px) { .mag-aside .toc-list { max-height: calc(100vh - 300px); overflow-y: auto; scrollbar-width: thin; } }
/* small screens: the same card, collapsible; header shows count + progress even when closed */
.toc-inline { margin-bottom: 1.5rem; }
.toc-inline > summary { display: block; cursor: pointer; list-style: none; }
.toc-inline > summary::-webkit-details-marker { display: none; }
.toc-inline .toc-head { justify-content: flex-start; }
.toc-inline .toc-head::after { margin-inline-start: auto; content: "+"; font-size: 1.15rem; line-height: 1; color: var(--ink-soft); }
.toc-inline[open] .toc-head::after { content: "−"; }
.toc-inline:not([open]) .toc-progress { margin-bottom: 0; }
@media (min-width: 992px) { .mag-aside-inner { position: sticky; top: 96px; } .mag-aside .toc { margin-bottom: 1.75rem; } }
@media (max-width: 991.98px) { .mag-aside { padding-top: 1.5rem; border-top: 1px solid var(--line); } }
/* other articles: one card each (image + title), hairline like the archive cards */
.mag-others { display: grid; gap: .75rem; }
@media (min-width: 576px) and (max-width: 991.98px) { .mag-others { grid-template-columns: 1fr 1fr; } }
.mag-other { display: flex; align-items: center; gap: .75rem; padding: .45rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .4s var(--ease); }
.mag-other:hover { border-color: rgba(198, 22, 141, .6); }
.mag-other img { flex: none; width: 84px; height: 64px; object-fit: cover; border-radius: calc(var(--r-md) - 6px); }
.mag-other span { font-size: .88rem; font-weight: 500; line-height: 1.8; color: var(--ink); }
/* single FAQ — product-page language: no white box, question + answer with the sky bar, menu-style related list */
.faq-eyebrow { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .5rem; font-size: .85rem; font-weight: 600; color: var(--sky-deep); }
.faq-eyebrow::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.faq-question { margin: 0 0 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); line-height: 1.7; }
.faq-answer { padding-inline-start: 1rem; border-inline-start: 2px solid rgba(198, 22, 141, .55); font-size: 1rem; line-height: 2.1; color: #3A383E; }
.faq-answer p { margin: 0 0 .75rem; color: inherit; font-weight: 400; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer p:empty { display: none; }
.faq-products { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.faq-product-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.faq-product { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .9rem .35rem .35rem; padding-inline: .35rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .88rem; font-weight: 500; color: var(--ink); transition: border-color .3s var(--ease); }
.faq-product:hover { border-color: var(--sky); color: var(--ink); }
.faq-product img { width: 38px; height: 38px; border-radius: 50%; object-fit: contain; background: var(--mist); }
.faq-back { display: inline-flex; align-items: center; gap: .45rem; margin-top: 2rem; font-size: .88rem; font-weight: 500; color: var(--ink-soft); transition: color .3s; }
.faq-back::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.faq-back:hover { color: var(--ink); }
@media (min-width: 992px) { .faq-aside { padding-inline-start: 2rem; border-inline-start: 1px solid var(--line); } }
@media (max-width: 991.98px) { .faq-aside { padding-top: 1.5rem; border-top: 1px solid var(--line); } }
.faqList { margin: 0; padding: 0; list-style: none; }
.faqList li { border-bottom: 1px solid var(--line); }
.faqList li:last-child { border-bottom: 0; }
.faqList a { position: relative; display: block; padding: .7rem 0; padding-inline-start: calc(5px + .6rem); font-size: .9rem; line-height: 1.8; color: var(--ink-soft); transition: color .3s var(--ease); }
.faqList a::before { content: ""; position: absolute; inset-inline-start: 0; top: 1.35rem; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); transform: scale(0); transition: transform .4s var(--ease); }
.faqList a:hover { color: var(--ink); }
.faqList a:hover::before { transform: scale(1); }

/* ---------- comments ---------- */
.comments-area { margin-top: 1rem; }
.mag-comments .comments-area { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; }
/* comments: list split by hairlines, initial-letter avatars, brand replies indented with the sky bar (as in FAQ answers) */
.c-count { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .45rem; border-radius: 999px; background: var(--sky-wash); color: var(--sky-deep); font-size: .78rem; font-weight: 600; }
.c-list { margin-bottom: 1rem; }
.c-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.c-item.is-reply { margin-top: .9rem; margin-inline-start: calc(34px + .6rem); padding: .85rem 1rem; border: 0; border-inline-start: 2px solid rgba(198, 22, 141, .55); border-start-end-radius: var(--r-sm); border-end-end-radius: var(--r-sm); background: rgba(198, 22, 141, .06); }
.c-head { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; }
.c-avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sky-wash); color: var(--sky-deep); font-size: .9rem; font-weight: 700; }
.c-item.is-brand > .c-head .c-avatar { background: var(--sky-deep); color: #fff; }
.c-name { font-size: .92rem; font-weight: 600; color: var(--ink); }
.c-badge { padding: .1rem .55rem; border-radius: 999px; background: rgba(198, 22, 141, .14); color: var(--sky-deep); font-size: .7rem; font-weight: 600; }
.c-date { margin-inline-start: auto; font-size: .78rem; color: var(--ink-mute); }
.c-body { margin-top: .4rem; padding-inline-start: calc(34px + .6rem); font-size: .95rem; line-height: 2; color: #3A383E; overflow-wrap: anywhere; }
.c-item.is-reply .c-body { padding-inline-start: 0; }
.c-body p { margin: 0 0 .4rem; color: inherit; font-weight: 400; }
.c-body p:last-child { margin-bottom: 0; }
.c-more > summary { display: block; width: max-content; margin: 1rem auto 0; padding: .45rem 1.3rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .85rem; font-weight: 500; color: var(--ink-soft); cursor: pointer; list-style: none; transition: border-color .3s, color .3s; }
.c-more > summary::-webkit-details-marker { display: none; }
.c-more > summary:hover { border-color: var(--sky); color: var(--ink); }
/* open: button moves below the extra comments and reads «نمایش کمتر» */
.c-more[open] { display: flex; flex-direction: column; }
.c-more[open] > summary { order: 1; }
.c-more .c-more-close, .c-more[open] .c-more-open { display: none; }
.c-more[open] .c-more-close { display: inline; }
.c-empty { margin: 0 0 1rem; font-size: .92rem; color: var(--ink-soft); }
.c-form-title { margin: 1.75rem 0 .35rem; font-size: 1rem; font-weight: 700; }
.c-note { margin: 0 0 1rem; font-size: .8rem; color: var(--ink-mute); }
.c-form .comment-form-cookies-consent { display: flex; align-items: center; gap: .5rem; }
.c-form .comment-form-cookies-consent label { margin: 0; font-size: .8rem; }
.c-form .comment-form-cookies-consent input { flex: none; width: 16px; height: 16px; accent-color: var(--sky-deep); }
.c-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.c-form > * { grid-column: 1 / -1; }
.c-form > .comment-form-author, .c-form > .comment-form-email { grid-column: auto; }
@media (max-width: 575.98px) { .c-form > .comment-form-author, .c-form > .comment-form-email { grid-column: 1 / -1; } .c-item.is-reply { margin-inline-start: 1rem; } .c-body { padding-inline-start: 0; } }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: .35rem; font-size: .85rem; color: var(--ink-soft); }
.comment-form input[type=email], .comment-form input[type=search], .comment-form input[type=text], .comment-form input[type=url], .comment-form textarea {
    width: 100%; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-size: .92rem; letter-spacing: 0;
    transition: border-color .3s, box-shadow .4s var(--ease);
}
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(198, 22, 141, .18); }
.form-submit input#submit {
    margin: 0; padding: .65rem 1.75rem; border: 0; border-radius: 999px; background: var(--buy); color: #fff; font-weight: 600; cursor: pointer;
    transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.form-submit input#submit:hover { background: var(--ink); color: #fff; }
.form-submit input#submit:active { transform: scale(.97); }

/* ---------- forms ---------- */
.form-control, .form-select { padding-inline: 1rem; border: 1px solid var(--line); border-radius: 14px; background-color: #fff; color: var(--ink); transition: border-color .3s, box-shadow .4s var(--ease); }
.form-control:not(textarea), .form-select { min-height: 3rem; }
.form-floating > .form-control, .form-floating > .form-select { padding-top: 1.625rem; padding-bottom: .625rem; min-height: calc(3.5rem + 2px); }
.form-control:focus, .form-select:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(198, 22, 141, .18); }
.form-label { font-size: .85rem; color: var(--ink-soft); }
/* contact page — product-page language: details list with hairline icon circles, form in one hairline card */
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: .85rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { padding-top: .25rem; }
.contact-list li:last-child { border-bottom: 0; }
.contact-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--sky-deep); font-size: 1rem; }
.contact-label { display: block; margin-bottom: .15rem; font-size: .8rem; color: var(--ink-mute); }
.contact-list p { margin: 0; font-size: .95rem; font-weight: 500; line-height: 1.9; color: var(--ink); }
.contact-list a { color: var(--ink); transition: color .3s; }
.contact-list a:hover { color: var(--sky-deep); }
.contact-card { padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.contact-form p { margin: 0 0 1rem; }
.contact-form .contact-full { grid-column: 1 / -1; }
.contact-form .contact-full:last-child { margin-bottom: 0; }
.contact-form label { display: block; margin-bottom: .35rem; font-size: .85rem; color: var(--ink-soft); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: .92rem; transition: border-color .3s, box-shadow .4s var(--ease); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(198, 22, 141, .18); }
.contact-form button { width: 100%; }
.contact-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-notice { margin: 0 0 1rem; padding: .7rem 1rem; border-radius: var(--r-sm); font-size: .9rem; }
.contact-notice.is-ok { background: rgba(15, 157, 107, .1); color: #0b7a53; }
.contact-notice.is-err { background: rgba(196, 1, 126, .08); color: #9B1173; }
@media (max-width: 575.98px) { .contact-form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
/* mirrors the scrolled header: flat white, hairline top, menu links with sky dot, same CTA */
.site-footer { margin-top: clamp(3rem, 7vw, 6rem); padding: clamp(1.75rem, 4vw, 3rem) 0 1rem; background: #fff; border-top: 1px solid var(--line); }
.site-footer p { font-weight: 300; font-size: .88rem; line-height: 2.05; color: var(--ink-soft); }
.footer-logo { height: 44px; width: auto; }
.site-footer .footer-title { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .9rem; font-weight: 600; color: var(--ink); text-align: start; }
.footer-title::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.footerMenu ul { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.footerMenu a { position: relative; display: inline-block; padding-inline-start: calc(5px + .5rem); font-size: .88rem; font-weight: 400; color: var(--ink-soft); transition: color .3s var(--ease); }
.footerMenu a::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--sky); transform: scale(0); transition: transform .4s var(--ease); }
.footerMenu a:hover, .footerMenu .current-menu-item > a { color: var(--ink); }
.footerMenu a:hover::before, .footerMenu .current-menu-item > a::before { transform: scale(1); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: .8rem; }
.footer-bottom a { color: var(--ink-soft); }
.footer-actions { display: flex; align-items: center; gap: .5rem; }
.footer-social { display: grid; place-items: center; flex: none; width: 38px; height: 38px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 50%; transition: background-color .3s var(--ease), border-color .3s, color .3s; }
.footer-social:hover { background: var(--sky-wash); border-color: var(--sky); color: var(--sky-deep); }
.footer-social .icon-instagram { font-size: 1.05rem; }

/* back to top with progress ring */
#go-up {
    position: fixed; z-index: 1020; inset-block-end: 22px; inset-inline-end: 22px; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
    display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: var(--shadow-md); cursor: pointer;
    opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
    transition: opacity .5s var(--ease), transform .6s var(--ease), background-color .4s var(--ease);
}
#go-up.is-visible { opacity: 1; transform: none; pointer-events: auto; }
#go-up:hover { background: var(--sky-wash); }
#go-up .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
html[dir="rtl"] #go-up .ring { transform: rotate(-90deg) scaleY(-1); }
#go-up .ring circle { fill: none; stroke-width: 2; }
#go-up .ring-bg { stroke: var(--line); }
#go-up .ring-fg { stroke: var(--sky-deep); stroke-linecap: round; }
#go-up svg.arrow { width: 16px; height: 16px; position: relative; }

/* ---------- 404 ---------- */
.error-page { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(3rem, 8vw, 6rem) 1rem; text-align: center; }
.error-page img { max-width: min(380px, 80vw); height: auto; margin-bottom: 1.5rem; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; margin-block: clamp(1.5rem, 4vw, 3rem); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee-track span { display: flex; align-items: center; padding-inline: 1.25rem; font-size: clamp(2rem, 1rem + 3.5vw, 4rem); font-weight: 700; line-height: 1.5; color: #EFC9E0; white-space: nowrap; transition: color .5s var(--ease); }
.marquee-track span::after { content: ""; width: 10px; height: 10px; margin-inline-start: 2.5rem; border-radius: 50%; background: var(--sky); }
.marquee:hover .marquee-track span { color: #E3B2D1; }
@keyframes marquee { to { transform: translateX(calc(var(--dir) * 50%)); } }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: marquee 45s linear infinite; } .marquee:hover .marquee-track { animation-play-state: paused; } }

/* ---------- home: stats, ingredients, cta ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: clamp(1rem, 3vw, 2rem); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.stat { padding: 1.75rem 1.25rem; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat strong { display: block; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 700; line-height: 1.3; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .25rem; font-size: .88rem; font-weight: 300; color: var(--ink-soft); }
.ingredients { padding: clamp(1.75rem, 5vw, 4rem); border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.ingredients h2, .ingredients h3 { color: #fff; }
.ingredients > p { max-width: 58ch; margin: .75rem 0 0; color: rgba(255, 255, 255, .72); font-weight: 300; }
.ing-card { height: 100%; padding: 1.5rem; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-md); transition: background-color .6s var(--ease), border-color .6s var(--ease), transform .7s var(--ease); }
.ing-card:hover { background: rgba(255, 255, 255, .06); border-color: var(--sky); transform: translateY(-4px); }
.ing-card h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.ing-card p { margin: 0; color: rgba(255, 255, 255, .7); font-weight: 300; font-size: .92rem; }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.cta-band h2 { margin: 0 0 .25rem; }
.cta-band p { margin: 0; font-weight: 300; }
@media (max-width: 767.98px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-inline-start: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fill { from { width: 0; } }
@keyframes reveal-main-slider { from { clip-path: inset(0 0 100% 0 round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
    @view-transition { navigation: auto; }
    ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .4s; animation-timing-function: var(--ease); }

    .main-slider-card { animation: reveal-main-slider 1.3s var(--ease) .1s both; }

    .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
    .js [data-reveal].is-in { opacity: 1; transform: none; }
    /* clip reveal runs on the child, so the observed box itself is never clipped away */
    .js [data-reveal="clip"] { opacity: 1; transform: none; }
    .js [data-reveal="clip"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
    .js [data-reveal="clip"].is-in > * { clip-path: inset(0 0 0 0); }
    .reveal-fallback [data-reveal] { opacity: 1 !important; transform: none !important; }
    .reveal-fallback [data-reveal] > * { clip-path: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- small screens ---------- */
@media (max-width: 767.98px) {
    .header-bar, .site-header.is-scrolled .header-bar { height: 64px; }
    .brand-logo, .mainlogo, .site-header.is-scrolled .brand-logo { height: 32px; }
    .product-card .product { font-size: .88rem; }
    #go-up { inset-block-end: 16px; inset-inline-end: 16px; }
}

/* ---------- search: header toggle + panel, shared form, results list ---------- */
.skip-link:focus { position: fixed !important; z-index: 2000; inset-block-start: .75rem; inset-inline-start: .75rem; padding: .5rem 1rem; border-radius: 999px; background: var(--ink); color: #fff; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-search-toggle { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink-soft); transition: border-color .3s, color .3s, background-color .3s; }
.header-search-toggle:hover, .header-search-toggle[aria-expanded="true"] { border-color: var(--sky); background: var(--sky-wash); color: var(--sky-deep); }
.header-search { padding: 0 0 .9rem; }
.search-form { display: flex; flex-direction: column; gap: .35rem; max-width: 640px; margin-inline: auto; }
.search-box { position: relative; display: flex; }
.search-field { width: 100%; padding: .7rem 1.1rem; padding-inline-end: 3rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .92rem; transition: border-color .3s, box-shadow .4s var(--ease); }
.search-field:focus { outline: 0; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(198, 22, 141, .18); }
.search-form.is-empty .search-field { border-color: var(--buy); box-shadow: 0 0 0 4px rgba(196, 1, 126, .12); }
.search-hint { padding-inline: 1.1rem; font-size: .8rem; color: #9B1173; }
.search-hint:empty { display: none; }
.search-field::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-submit { position: absolute; inset-block: .3rem; inset-inline-end: .3rem; display: grid; place-items: center; width: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: #fff; transition: background-color .3s; }
.search-submit:hover { background: var(--sky-deep); }
.search-page-form .search-form { margin-inline: 0; }
.error-search { width: min(520px, 100%); }
.search-results { display: grid; gap: .6rem; }
.search-item { display: flex; align-items: center; gap: 1rem; padding: .6rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; transition: border-color .4s var(--ease); }
.search-item:hover { border-color: rgba(198, 22, 141, .6); }
.search-item-img { display: grid; place-items: center; flex: none; width: 72px; height: 72px; overflow: hidden; border-radius: calc(var(--r-md) - 6px); background: var(--mist); }
.search-item-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.search-item-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.search-item-type { display: inline-flex; align-items: center; gap: .4rem; font-size: .74rem; font-weight: 600; color: var(--sky-deep); }
.search-item-type::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.search-item-type:empty { display: none; }
.search-item-title { font-size: .98rem; font-weight: 700; line-height: 1.8; color: var(--ink); }
.search-item-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .85rem; line-height: 1.9; color: var(--ink-soft); }
.search-empty p { margin: 0 0 .75rem; color: var(--ink-soft); }
.search-empty-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.search-empty-links a { padding: .35rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .85rem; color: var(--ink-soft); }
.search-empty-links a:hover { border-color: var(--sky); color: var(--ink); }

/* ---------- customer stars (separate from the field survey bar) ---------- */
.stars { --star-on: #F5A623; --star-off: #D9DEE6; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 2px; }
.stars::before { content: "★★★★★"; background: linear-gradient(to left, var(--star-on) calc(var(--v) / 5 * 100%), var(--star-off) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-head .stars { font-size: .8rem; }
.product-rating { display: inline-flex; align-items: center; gap: .45rem; margin: .1rem 0 .5rem; color: var(--ink); font-size: .9rem; font-weight: 600; text-decoration: none; }
.product-rating:hover .product-rating-count { color: var(--sky-deep); }
.product-rating-count { color: var(--ink-mute); font-weight: 400; transition: color .3s; }
/* star input in the comment form: reversed DOM + row-reverse, so star 1 sits first and "~" lights the lower ones */
.c-rate { margin: 0; padding: 0; border: 0; }
.c-rate legend { float: none; width: auto; margin-bottom: .35rem; padding: 0; font-size: .85rem; }
.c-rate-stars { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.c-rate-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.c-rate-stars label { font-size: 1.6rem; line-height: 1; color: #D9DEE6; cursor: pointer; transition: color .2s, transform .2s; }
.c-rate-stars input:checked ~ label { color: #F5A623; }
.c-rate-stars:hover label { color: #D9DEE6; }
.c-rate-stars label:hover, .c-rate-stars label:hover ~ label { color: #F5A623; transform: scale(1.08); }
.c-rate-stars input:focus-visible + label { outline: 2px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
