:root {
    --clz-navy: #163a5a;
    --clz-teal: #5a9aae;
    --clz-bg: #f7f9fa;
    --clz-text: #1f2d3a;
    --clz-muted: #5f6f7c;
    --clz-radius: 8px;
    --clz-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--clz-text);
    background: #fff;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clz-navy); }

.container { width: min(100% - 1.25rem, var(--clz-max)); margin-inline: auto; }
.section--small { padding: 1rem 0; }
.section { padding: 1.75rem 0; }
.section__title { color: var(--clz-navy); font-size: 1.75rem; margin: 0 0 1.5rem; }

.screen-reader-text, .skip-link:not(:focus) {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
}

.clz-splash { position: fixed; inset: 0; z-index: 9999; background: #fff; display: flex; align-items: center; justify-content: center; pointer-events: none; animation: clz-splash-out 0.6s ease 1.6s forwards; }
.clz-splash__inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.clz-splash__bar { width: min(60vw, 320px); height: 4px; background: #e3e9ed; border-radius: 999px; overflow: hidden; }
.clz-splash__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--clz-teal), var(--clz-navy)); animation: clz-progress 1.6s ease-in-out forwards; }
@keyframes clz-progress {
    to { width: 100%; }
}
.clz-splash img { width: min(60vw, 320px); height: auto; animation: clz-blink 0.9s ease-in-out infinite; }
@keyframes clz-blink {
    0%, 100% { opacity: 1; filter: blur(0); }
    50% { opacity: 0.3; filter: blur(4px); }
}
@keyframes clz-splash-out {
    to { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
    .clz-splash { animation-delay: 0s; animation-duration: 0.01s; }
    .clz-splash img { animation: none; }
    .clz-splash__bar span { animation: none; width: 100%; }
}

@keyframes clz-fade-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
.site-main > * { animation: clz-fade-in 0.7s ease both; animation-delay: 1.9s; }
.site-main > *:nth-child(2) { animation-delay: 2.05s; }
.site-main > *:nth-child(3) { animation-delay: 2.2s; }
.site-main > *:nth-child(4) { animation-delay: 2.35s; }
.site-main > *:nth-child(5) { animation-delay: 2.5s; }
.site-main > *:nth-child(6) { animation-delay: 2.65s; }
.site-footer { animation: clz-fade-in 0.7s ease both; animation-delay: 2.6s; }
@media (prefers-reduced-motion: reduce) {
    .site-main > *, .site-footer { animation: none; }
}

.site-header { background: #fff; border-bottom: 1px solid #e3e9ed; position: sticky; top: 0; z-index: 10; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.75rem 0; flex-wrap: wrap; }
.site-logo img, .custom-logo { width: auto; height: 44px; }

.product-video { margin: 2.5rem 0 0; }
.product-video video { display: block; width: 100%; max-height: 560px; border-radius: var(--clz-radius); background: #000; }
.before-after { margin-top: 1.5rem; }
.before-after img { width: 100%; max-width: 640px; margin: 0 auto; border-radius: var(--clz-radius); }
.section__intro { color: var(--clz-muted); margin: -0.75rem 0 1.5rem; }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.review { background: #fff; border: 1px solid #e3e9ed; border-radius: var(--clz-radius); padding: 1.25rem; display: grid; gap: 0.6rem; }
.review__stars { color: #e0a800; letter-spacing: 0.1em; }
.review__text { margin: 0; color: var(--clz-text); }
.review__author { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--clz-muted); }
.review__photo { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; background: var(--clz-bg); }
.review--placeholder { border-style: dashed; color: var(--clz-muted); }

.faq { display: grid; gap: 0.6rem; max-width: 760px; }
.faq details { background: #fff; border: 1px solid #e3e9ed; border-radius: var(--clz-radius); padding: 0.85rem 1rem; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--clz-navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; color: var(--clz-teal); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0.6rem 0 0; color: var(--clz-muted); }

.sticky-cta { display: none; }
.sticky-cta.is-hidden { display: none !important; }
@media (max-width: 720px) {
    .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; padding: 0.6rem 0.75rem; box-shadow: 0 -4px 14px rgba(22, 58, 90, 0.12); }
    .sticky-cta.is-hidden { display: none !important; }
    .sticky-cta .btn { display: block; text-align: center; }
    .single-product { padding-bottom: 4.75rem; }
}

.single-product .primary-nav, .single-product .header-actions { display: none; }
.primary-nav .menu, .footer-nav .menu { list-style: none; display: flex; gap: 1.25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.primary-nav a, .footer-nav a { text-decoration: none; font-weight: 500; }
.primary-nav a:hover, .footer-nav a:hover { color: var(--clz-teal); }

.cart-link { display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none; font-weight: 600; color: var(--clz-navy); }
.clenzo-cart-count { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.4rem; background: var(--clz-teal); color: #fff; border-radius: 999px; font-size: 0.85rem; line-height: 1; font-variant-numeric: tabular-nums; }

.btn { display: inline-block; padding: 0.75rem 1.5rem; border-radius: var(--clz-radius); text-decoration: none; font-weight: 600; border: 2px solid transparent; }
.btn--primary { background: var(--clz-navy); color: #fff; }
.btn--primary:hover { background: var(--clz-teal); }

.hero { background: linear-gradient(120deg, #eef5f8 0%, #dbeaf0 100%); padding: 2rem 0; }
.hero h1 { color: var(--clz-navy); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0.25rem 0 1rem; }
.hero p { max-width: 36rem; color: var(--clz-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--clz-teal); font-weight: 700; margin: 0; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.feature { background: var(--clz-bg); border-radius: var(--clz-radius); padding: 1.5rem; }
.feature h3 { margin: 0 0 0.5rem; color: var(--clz-navy); }
.feature p { margin: 0; color: var(--clz-muted); }

.site-footer { background: var(--clz-navy); color: #dfe9ee; padding: 2.5rem 0; margin-top: 3rem; }
.site-footer a { color: #fff; }
.site-footer__inner { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 2rem; align-items: start; }
.site-footer__brand img { background: #fff; padding: 0.5rem; border-radius: var(--clz-radius); }
.site-footer__contact p { margin: 0 0 0.5rem; }
.footer-nav .menu { flex-direction: column; gap: 0.5rem; }

.woocommerce-wrap { padding-top: 2rem; padding-bottom: 2rem; }
.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit {
    background: var(--clz-navy); color: #fff; border-radius: var(--clz-radius);
}
.woocommerce ul.products li.product .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--clz-teal); color: #fff; }
.woocommerce span.onsale { background: var(--clz-teal); }

.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.hero__media { background: #fff; border-radius: var(--clz-radius); padding: 1.5rem; box-shadow: 0 10px 30px rgba(22, 58, 90, 0.12); }
.hero__media img { width: 100%; height: auto; object-fit: contain; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn--ghost { background: transparent; color: var(--clz-navy); border-color: var(--clz-navy); }
.btn--ghost:hover { background: var(--clz-navy); color: #fff; }

.section--alt { background: var(--clz-bg); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section__head .section__title { margin: 0; }
.section__lead { color: var(--clz-muted); margin: 0; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.product-card { background: #fff; border: 1px solid #e3e9ed; border-radius: var(--clz-radius); padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.product-card img { border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--clz-bg); }
.product-card--small img { width: 180px; height: auto; margin: 0 auto 0.75rem; }
.product-card--small h3 { font-size: 1rem; margin: 0.5rem 0 0.25rem; }
.product-card--small p { font-size: 0.9rem; margin: 0.25rem 0; }
.product-card--small .price { font-size: 1rem; }
.product-card--small .btn { font-size: 0.9rem; padding: 0.5rem 1rem; }
.product-card--small { padding: 0.9rem; }
.product-card p { margin: 0; color: var(--clz-muted); font-size: 0.95rem; }
.product-card .price { color: var(--clz-navy); font-weight: 700; font-size: 1.05rem; }
.product-card .btn { margin-top: auto; text-align: center; }
.product-card--soon { border-style: dashed; justify-content: center; align-items: flex-start; }
.badge { display: inline-block; background: var(--clz-teal); color: #fff; font-size: 0.75rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 999px; align-self: flex-start; }

.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.product-page__media img { width: 100%; border-radius: var(--clz-radius); background: var(--clz-bg); padding: 1.5rem; }
.product-gallery { position: relative; margin-top: 0.5rem; overflow: hidden; border-radius: 6px; background: var(--clz-bg); }
.product-gallery__track { display: flex; width: 100%; transition: transform 0.35s ease; }
.product-gallery__track img { flex: 0 0 100%; width: 100%; height: auto; object-fit: cover; display: block; }
.product-gallery__dots { display: flex; justify-content: center; gap: 0.4rem; padding: 0.5rem 0; }
.product-gallery__dots button { width: 8px; height: 8px; border: 0; border-radius: 999px; background: #b8c6cf; padding: 0; cursor: pointer; }
.product-gallery__dots button.is-active { background: var(--clz-navy); width: 18px; }
.product-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.85); color: var(--clz-navy); border: 0; width: 30px; height: 30px; border-radius: 999px; cursor: pointer; font-size: 1rem; line-height: 1; }
.product-gallery__nav--prev { left: 0.5rem; }
.product-gallery__nav--next { right: 0.5rem; }
.product-page__summary h1 { color: var(--clz-navy); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.25; margin: 0.25rem 0 0.5rem; }
.product-page__description { margin-top: 1.5rem; }
.product-page__description p { color: var(--clz-muted); max-width: 60ch; }
.product-page__price { font-size: 1.75rem; font-weight: 700; color: var(--clz-navy); margin: 0 0 1rem; }
.product-page__lead { color: var(--clz-muted); font-size: 1.05rem; }
.product-page__summary .btn--primary { margin-top: 0.5rem; }
.product-page__trust { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.5rem; }
.product-page__trust li { display: flex; align-items: center; gap: 0.6rem; }
.trust-icon { display: inline-flex; flex-shrink: 0; color: var(--clz-teal); }
.trust-icon svg { width: 20px; height: 20px; }
.product-page__howto { margin-top: 1.5rem; }

.ar { display: block; direction: rtl; text-align: right; font-family: "Segoe UI", Tahoma, Arial, sans-serif; font-weight: 500; color: var(--clz-muted); font-size: 0.92em; line-height: 1.5; }
.btn .ar, .cod-order__title .ar { display: block; color: inherit; font-size: 0.9em; margin-top: 0.15rem; }
.cod-order__title .ar { font-weight: 600; text-align: center; }
.btn .ar { text-align: center; }
.ar-inline { font-family: "Segoe UI", Tahoma, Arial, sans-serif; direction: rtl; }
.cod-form__note .ar { margin-top: 0.25rem; }

.cod-order { margin-top: 2rem; }
.cod-order__title { color: var(--clz-navy); font-size: 0.95rem; text-align: center; margin: 0.6rem 0 0; }
.cod-form { display: grid; gap: 0.6rem; background: var(--clz-bg); border: 1px solid #e3e9ed; border-radius: var(--clz-radius); padding: 0.9rem; }
.packs { display: grid; gap: 0.5rem; }
.pack { position: relative; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 0.7rem 1.4rem; padding: 0.6rem 0.7rem; background: #fff; border: 2px solid #e3e9ed; border-radius: 10px; cursor: pointer; }
.pack img { width: 72px; height: 90px; object-fit: contain; border-radius: 6px; background: #fff; border: 1px solid #e3e9ed; }
.pack__body { display: grid; gap: 0.2rem; min-width: 0; padding-left: 1.1rem; }
.pack__title { font-weight: 600; color: var(--clz-navy); font-size: 0.85rem; line-height: 1.3; }
.pack__title .ar-inline { display: inline; margin-left: 0.35rem; font-weight: 500; color: var(--clz-muted); font-size: 0.8rem; }
.pack__prices { font-size: 0.85rem; }
.pack__prices s { color: #8a97a0; margin-right: 0.35rem; }
.pack__prices strong { color: var(--clz-navy); font-size: 1rem; }
.pack__badge { justify-self: start; background: var(--clz-teal); color: #fff; border-radius: 999px; padding: 0.1rem 0.55rem; font-size: 0.72rem; font-weight: 600; white-space: nowrap; }
.pack input[type="radio"] { width: 1.1rem; height: 1.1rem; accent-color: var(--clz-navy); margin: 0; }
.pack.is-selected { border-color: var(--clz-navy); background: #eef7f9; }
.pack--best { padding-top: 1.7rem; }
.pack__best { position: absolute; top: 0.4rem; right: 0.7rem; background: #1f6fd1; color: #fff; border-radius: 999px; font-size: 0.7rem; font-weight: 600; padding: 0.15rem 0.6rem; white-space: nowrap; animation: clz-tag-pulse 1.6s ease-in-out infinite; }
@keyframes clz-tag-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(31, 111, 209, 0.55); }
    50% { box-shadow: 0 0 0 6px rgba(31, 111, 209, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .pack__best { animation: none; }
}

.cod-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.cod-form label { display: grid; gap: 0.2rem; font-weight: 600; color: var(--clz-navy); font-size: 0.85rem; }
.cod-form__label .ar { display: inline; margin-left: 0.35rem; font-size: 0.85em; }
.cod-form input, .cod-form textarea { font: inherit; font-size: 0.9rem; font-weight: 400; color: var(--clz-text); padding: 0.4rem 0.55rem; border: 1px solid #c9d5dc; border-radius: 6px; background: #fff; width: 100%; }
.cod-form textarea { resize: vertical; }
.cod-form .field { position: relative; display: block; }
.cod-form .field svg { position: absolute; left: 0.55rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--clz-teal); pointer-events: none; }
.cod-form .field--area svg { top: 0.6rem; transform: none; }
.cod-form .field input, .cod-form .field textarea { padding-left: 2.1rem; }
.cod-form input:focus, .cod-form textarea:focus { outline: 2px solid var(--clz-teal); outline-offset: 1px; }
.cod-form__note { margin: 0; color: var(--clz-muted); font-size: 0.8rem; text-align: center; }
.btn--block { display: block; width: 100%; text-align: center; border: 0; cursor: pointer; font-size: 0.95rem; padding: 0.6rem 1rem; }
@media (max-width: 720px) {
    .cod-form__row { grid-template-columns: 1fr; }
}
.notice { padding: 0.9rem 1rem; border-radius: var(--clz-radius); margin-bottom: 1rem; }
.notice--success { background: #e6f4ea; color: #1e5b2c; }
.notice--error { background: #fdecea; color: #8a1f14; }
.howto-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; counter-reset: step; }
.howto-steps li { list-style: none; background: var(--clz-bg); border-radius: var(--clz-radius); padding: 1.5rem; counter-increment: step; }
.howto-steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 999px; background: var(--clz-navy); color: #fff; font-weight: 700; margin-bottom: 0.75rem; }
.howto-steps h3 { margin: 0 0 0.5rem; color: var(--clz-navy); font-size: 1.05rem; }
.howto-steps p { margin: 0; color: var(--clz-muted); }

@media (max-width: 720px) {
    .product-page { grid-template-columns: 1fr; }
    .hero__inner { grid-template-columns: 1fr; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .site-header__inner { justify-content: center; }
}
