:root {
    --nsf-navy: #07354a;
    --nsf-navy-2: #0c465f;
    --nsf-green: #82c341;
    --nsf-green-dark: #62a52a;
    --nsf-bg: #f5f8fa;
    --nsf-surface: #ffffff;
    --nsf-border: #dde6eb;
    --nsf-text: #17242b;
    --nsf-muted: #6a7a84;
    --nsf-radius: 18px;
    --nsf-shadow: 0 16px 45px rgba(7, 53, 74, .07);
}

.noorin-storefront-active .main-page-wrapper,
.noorin-storefront-active .site-content {
    padding: 0 !important;
    max-width: none !important;
}

.nsf-product-page {
    background: var(--nsf-bg);
    color: var(--nsf-text);
    padding: 28px 0 80px;
    min-height: 60vh;
    font-family: inherit;
}

.nsf-product-page *,
.nsf-product-page *::before,
.nsf-product-page *::after { box-sizing: border-box; }

.nsf-container {
    width: min(1440px, calc(100% - 40px));
    margin-inline: auto;
}

.nsf-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--nsf-muted);
    font-size: 13px;
}
.nsf-breadcrumb a { color: var(--nsf-navy); }

.nsf-hero {
    display: grid;
    grid-template-columns: minmax(360px, .95fr) minmax(360px, 1.12fr) minmax(285px, .72fr);
    gap: 24px;
    align-items: stretch;
    background: var(--nsf-surface);
    border: 1px solid var(--nsf-border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--nsf-shadow);
}

.nsf-gallery { min-width: 0; }
.nsf-gallery__stage {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--nsf-radius);
    background: #f8fafb;
    overflow: hidden;
    border: 1px solid #edf2f4;
}
.nsf-gallery__slide {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 28px;
    border: 0;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease;
}
.nsf-gallery__slide.is-active { opacity: 1; visibility: visible; }
.nsf-gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.nsf-gallery__zoom {
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--nsf-border);
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    color: var(--nsf-navy);
    z-index: 2;
}
.nsf-gallery__zoom svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nsf-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 2px; }
.nsf-gallery__thumb {
    flex: 0 0 70px;
    width: 70px;
    aspect-ratio: 1;
    border: 1px solid var(--nsf-border);
    border-radius: 12px;
    padding: 6px;
    background: #fff;
    opacity: .68;
}
.nsf-gallery__thumb.is-active { border-color: var(--nsf-green); opacity: 1; box-shadow: 0 0 0 2px rgba(130,195,65,.16); }
.nsf-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }

.nsf-summary { padding: 14px 4px; display: flex; flex-direction: column; }
.nsf-summary__eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.nsf-chip { background: rgba(130,195,65,.13); color: var(--nsf-green-dark); border: 1px solid rgba(130,195,65,.28); border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 700; }
.nsf-summary__sku { color: var(--nsf-muted); font-size: 12px; }
.nsf-summary__title { margin: 0 0 14px; color: var(--nsf-navy); font-size: clamp(24px, 2vw, 36px); line-height: 1.55; font-weight: 800; letter-spacing: -.03em; }
.nsf-summary__excerpt { color: #4d5c65; line-height: 2; font-size: 15px; }
.nsf-summary__excerpt p:last-child { margin-bottom: 0; }
.nsf-summary__quick-specs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 22px; }
.nsf-summary__quick-specs > div { border: 1px solid var(--nsf-border); background: #fafcfd; border-radius: 14px; padding: 13px; }
.nsf-summary__quick-specs span { display: block; color: var(--nsf-muted); font-size: 11px; margin-bottom: 6px; }
.nsf-summary__quick-specs strong { color: var(--nsf-navy); font-size: 15px; }
.nsf-summary__quick-specs small { color: var(--nsf-muted); font-size: 11px; margin-inline-start: 4px; }
.nsf-summary__actions { margin-top: auto; padding-top: 22px; display: flex; gap: 18px; flex-wrap: wrap; }
.nsf-text-action { padding: 0; min-height: 36px; border: 0; background: transparent; color: var(--nsf-navy); display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.nsf-text-action svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.nsf-purchase { align-self: stretch; border: 1px solid var(--nsf-border); border-radius: var(--nsf-radius); background: #f9fbfc; padding: 20px; display: flex; flex-direction: column; }
.nsf-purchase__status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 22px; }
.nsf-purchase__status span { width: 9px; height: 9px; border-radius: 50%; }
.nsf-purchase__status.is-in-stock { color: #2d8b40; }
.nsf-purchase__status.is-in-stock span { background: #47b95b; box-shadow: 0 0 0 4px rgba(71,185,91,.12); }
.nsf-purchase__status.is-out-of-stock { color: #bd3d3d; }
.nsf-purchase__status.is-out-of-stock span { background: #d65353; }
.nsf-purchase__price { padding-bottom: 18px; border-bottom: 1px solid var(--nsf-border); }
.nsf-purchase__price > span { display: block; color: var(--nsf-muted); font-size: 12px; margin-bottom: 8px; }
.nsf-purchase__price .price { color: var(--nsf-navy); font-size: 24px; font-weight: 800; }
.nsf-purchase__price del { color: #8d9aa2; font-size: 14px; margin-inline-end: 7px; }
.nsf-purchase__price ins { text-decoration: none; }
.nsf-purchase__stock-note { margin: 12px 0 0; color: var(--nsf-muted); font-size: 12px; }
.nsf-cart-form { margin-top: 22px; }
.nsf-quantity { display: grid; grid-template-columns: 42px 1fr 42px; border: 1px solid var(--nsf-border); border-radius: 12px; overflow: hidden; height: 46px; margin-bottom: 10px; background: #fff; }
.nsf-quantity button { border: 0; background: #f5f8fa; color: var(--nsf-navy); font-size: 18px; }
.nsf-quantity input { border: 0 !important; height: 44px !important; text-align: center; background: #fff !important; }
.nsf-primary-button { width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: var(--nsf-navy); color: #fff; font-weight: 800; font-size: 14px; transition: .2s ease; }
.nsf-primary-button:hover { background: var(--nsf-navy-2); transform: translateY(-1px); }
.nsf-primary-button:disabled { background: #9ba8af; }
.nsf-assurances { list-style: none; padding: 18px 0 0 !important; margin: auto 0 0 !important; border-top: 1px solid var(--nsf-border); display: grid; gap: 11px; }
.nsf-assurances li { margin: 0; color: #586871; font-size: 12px; display: flex; gap: 8px; }
.nsf-assurances span { color: var(--nsf-green-dark); font-weight: 900; }

.nsf-section-nav { position: sticky; top: var(--wd-admin-bar-h, 0); z-index: 40; display: flex; align-items: center; gap: 4px; margin: 22px 0; padding: 7px; border: 1px solid var(--nsf-border); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); box-shadow: 0 10px 25px rgba(7,53,74,.05); border-radius: 14px; overflow-x: auto; }
.nsf-section-nav a { flex: 0 0 auto; color: var(--nsf-muted); padding: 10px 16px; border-radius: 9px; font-size: 13px; font-weight: 700; }
.nsf-section-nav a.is-active, .nsf-section-nav a:hover { background: rgba(130,195,65,.13); color: var(--nsf-navy); }

.nsf-section { scroll-margin-top: 100px; background: #fff; border: 1px solid var(--nsf-border); border-radius: 22px; padding: 30px; margin-top: 22px; box-shadow: 0 12px 35px rgba(7,53,74,.04); }
.nsf-section__header { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.nsf-section__kicker { display: block; color: var(--nsf-green-dark); font-size: 12px; font-weight: 800; margin-bottom: 7px; }
.nsf-section__header h2 { color: var(--nsf-navy); margin: 0; font-size: 25px; font-weight: 800; }
.nsf-section__header p { max-width: 520px; color: var(--nsf-muted); margin: 0; line-height: 1.9; font-size: 13px; }
.nsf-highlight-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.nsf-highlight-card { border: 1px solid var(--nsf-border); background: #f9fbfc; border-radius: 15px; padding: 18px; min-height: 108px; display: flex; flex-direction: column; justify-content: space-between; }
.nsf-highlight-card span { color: var(--nsf-muted); font-size: 12px; }
.nsf-highlight-card strong { color: var(--nsf-navy); font-size: 20px; }
.nsf-highlight-card small { color: var(--nsf-muted); font-size: 12px; }

.nsf-spec-groups { display: grid; gap: 12px; }
.nsf-spec-group { border: 1px solid var(--nsf-border); border-radius: 15px; overflow: hidden; }
.nsf-spec-group__header { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border: 0; background: #f7fafb; color: var(--nsf-navy); text-align: right; }
.nsf-spec-group__header span { display: flex; align-items: center; gap: 14px; }
.nsf-spec-group__header small { color: var(--nsf-muted); font-size: 11px; font-weight: 500; }
.nsf-spec-group__header strong { font-size: 16px; }
.nsf-spec-group__header svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.nsf-spec-group.is-open .nsf-spec-group__header svg { transform: rotate(180deg); }
.nsf-spec-group__body { display: none; }
.nsf-spec-group.is-open .nsf-spec-group__body { display: block; }
.nsf-spec-list { margin: 0; }
.nsf-spec-row { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0,1.2fr); border-top: 1px solid #e7eef1; min-height: 58px; }
.nsf-spec-row dt, .nsf-spec-row dd { margin: 0; padding: 15px 20px; display: flex; align-items: center; }
.nsf-spec-row dt { color: #4c5d66; background: #fbfcfd; gap: 8px; }
.nsf-spec-row dt span { color: #9b6613; background: #fff5df; border: 1px solid #f5d99c; border-radius: 999px; padding: 3px 7px; font-size: 10px; }
.nsf-spec-row dd { color: var(--nsf-navy); gap: 6px; }
.nsf-spec-row dd strong { font-size: 14px; }
.nsf-spec-row dd small { color: var(--nsf-muted); }
.nsf-spec-row dd em { color: #9aa5ab; font-style: normal; font-size: 12px; }
.nsf-spec-row.is-highlight { box-shadow: inset -3px 0 var(--nsf-green); }

.nsf-prose { max-width: 900px; color: #46565f; font-size: 15px; line-height: 2.15; }
.nsf-prose h2, .nsf-prose h3 { color: var(--nsf-navy); margin-top: 28px; }
.nsf-reviews-shell .woocommerce-Reviews { display: block !important; }

.nsf-related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.nsf-product-card { border: 1px solid var(--nsf-border); border-radius: 16px; overflow: hidden; background: #fff; }
.nsf-product-card__image { display: block; aspect-ratio: 1 / 1; background: #f7fafb; padding: 14px; }
.nsf-product-card__image img { width: 100%; height: 100%; object-fit: contain; }
.nsf-product-card__content { padding: 15px; }
.nsf-product-card__content > span { font-size: 10px; font-weight: 700; }
.nsf-product-card__content > span.is-in-stock { color: #318c42; }
.nsf-product-card__content > span.is-out-of-stock { color: #bc4242; }
.nsf-product-card h3 { margin: 8px 0 12px; font-size: 14px; line-height: 1.8; min-height: 50px; }
.nsf-product-card h3 a { color: var(--nsf-navy); }
.nsf-product-card__price { color: var(--nsf-navy); font-weight: 800; font-size: 14px; }

.nsf-lightbox[hidden] { display: none; }
.nsf-lightbox { position: fixed; inset: 0; z-index: 99999; background: rgba(3,24,34,.94); display: grid; place-items: center; padding: 40px; }
.nsf-lightbox img { max-width: min(1100px, 92vw); max-height: 88vh; object-fit: contain; }
.nsf-lightbox button { position: absolute; top: 18px; left: 18px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; color: #fff; font-size: 28px; }
.nsf-lock-scroll { overflow: hidden; }
.nsf-mobile-buy { display: none; }

@media (max-width: 1180px) {
    .nsf-hero { grid-template-columns: minmax(320px, .9fr) minmax(360px, 1.1fr); }
    .nsf-purchase { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
    .nsf-purchase__status, .nsf-purchase__price, .nsf-cart-form, .nsf-assurances { margin: 0; }
    .nsf-assurances { grid-column: 1 / -1; grid-template-columns: repeat(3,1fr); padding-top: 14px !important; }
}

@media (max-width: 860px) {
    .nsf-product-page { padding-top: 14px; }
    .nsf-container { width: min(100% - 24px, 760px); }
    .nsf-hero { grid-template-columns: 1fr; padding: 16px; gap: 18px; border-radius: 18px; }
    .nsf-gallery__stage { max-height: none; }
    .nsf-summary { padding: 4px 2px; }
    .nsf-purchase { grid-column: auto; display: flex; }
    .nsf-assurances { display: grid; grid-template-columns: 1fr; }
    .nsf-highlight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nsf-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nsf-section { padding: 22px 18px; border-radius: 17px; }
    .nsf-section__header { align-items: start; flex-direction: column; gap: 8px; }
    .nsf-section__header h2 { font-size: 21px; }
    .nsf-spec-row { grid-template-columns: 1fr; padding: 15px 16px; gap: 8px; }
    .nsf-spec-row dt, .nsf-spec-row dd { padding: 0; background: transparent; }
    .nsf-spec-row dd strong { font-size: 15px; }
    .nsf-mobile-buy { position: fixed; inset-inline: 0; bottom: 0; z-index: 999; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--nsf-border); box-shadow: 0 -12px 30px rgba(7,53,74,.1); }
    .nsf-mobile-buy small { display: block; color: var(--nsf-muted); font-size: 10px; }
    .nsf-mobile-buy strong { color: var(--nsf-navy); font-size: 14px; }
    .nsf-mobile-buy button { min-width: 145px; min-height: 46px; border: 0; border-radius: 11px; background: var(--nsf-navy); color: #fff; font-weight: 800; }
}

@media (max-width: 520px) {
    .nsf-container { width: calc(100% - 16px); }
    .nsf-breadcrumb { display: none; }
    .nsf-hero { padding: 12px; }
    .nsf-gallery__slide { padding: 16px; }
    .nsf-summary__title { font-size: 22px; }
    .nsf-summary__quick-specs { grid-template-columns: 1fr 1fr; }
    .nsf-highlight-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .nsf-highlight-card { min-height: 92px; padding: 13px; }
    .nsf-highlight-card strong { font-size: 16px; }
    .nsf-related-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .nsf-product-card__content { padding: 11px; }
    .nsf-product-card h3 { font-size: 12px; min-height: 44px; }
    .nsf-spec-group__header { padding: 15px; }
    .nsf-section-nav { margin-inline: -4px; }
}

/* Release candidate refinements */
.nsf-chip--neutral { background:#f2f5f7; border-color:#dde5e9; color:#52636d; }
.nsf-summary__rating { display:inline-flex; align-items:center; gap:8px; width:max-content; margin:-2px 0 14px; color:var(--nsf-muted); font-size:12px; }
.nsf-summary__rating .star-rating { margin:0; color:#efb53a; }
.nsf-discount-badge { display:inline-flex; width:max-content; margin-top:8px; padding:4px 8px; border-radius:999px; color:#fff; background:#d34848; font-size:10px; }
.nsf-download-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.nsf-download-card { display:grid; grid-template-columns:48px minmax(0,1fr) auto; align-items:center; gap:12px; min-height:74px; padding:13px; border:1px solid var(--nsf-border); border-radius:14px; background:#fbfcfd; color:var(--nsf-text); }
.nsf-download-card:hover { border-color:rgba(130,195,65,.7); transform:translateY(-1px); }
.nsf-download-card__type { display:grid; place-items:center; min-height:42px; border-radius:10px; background:var(--nsf-navy); color:#fff; font-size:10px; font-weight:800; direction:ltr; }
.nsf-download-card__name { overflow:hidden; color:var(--nsf-navy); font-weight:750; text-overflow:ellipsis; white-space:nowrap; }
.nsf-download-card__action { color:var(--nsf-green-dark); font-size:12px; font-weight:800; }
.nsf-compare-tray { position:fixed; inset-inline:20px; bottom:20px; z-index:1001; display:flex; align-items:center; justify-content:space-between; gap:20px; max-width:760px; margin-inline:auto; padding:14px 16px; border:1px solid rgba(255,255,255,.14); border-radius:15px; background:rgba(7,53,74,.96); box-shadow:0 18px 50px rgba(7,53,74,.3); color:#fff; backdrop-filter:blur(12px); }
.nsf-compare-tray[hidden], .nsf-toast[hidden] { display:none; }
.nsf-compare-tray strong, .nsf-compare-tray span { display:block; }
.nsf-compare-tray span { margin-top:3px; color:rgba(255,255,255,.72); font-size:11px; }
.nsf-compare-tray__actions { display:flex; align-items:center; gap:8px; }
.nsf-compare-tray button, .nsf-compare-tray a { min-height:38px; padding:0 13px; border:1px solid rgba(255,255,255,.24); border-radius:9px; color:#fff; background:transparent; font-size:12px; font-weight:750; }
.nsf-compare-tray a { display:inline-flex; align-items:center; background:var(--nsf-green); border-color:var(--nsf-green); color:#143411; }
.nsf-toast { position:fixed; right:20px; bottom:94px; z-index:1002; max-width:340px; padding:11px 14px; border-radius:10px; background:#17242b; color:#fff; box-shadow:0 12px 30px rgba(0,0,0,.2); font-size:12px; }
.nsf-product-page section[id] { scroll-margin-top:125px; }
.nsf-section-nav { scrollbar-width:none; }
.nsf-section-nav::-webkit-scrollbar { display:none; }
.nsf-gallery__stage { touch-action:pan-y; }
.nsf-gallery__slide:focus-visible, .nsf-gallery__thumb:focus-visible, .nsf-text-action:focus-visible, .nsf-spec-group__header:focus-visible { outline:3px solid rgba(130,195,65,.35); outline-offset:2px; }
@media (max-width:860px) {
    .nsf-download-grid { grid-template-columns:1fr; }
    .nsf-compare-tray { bottom:78px; inset-inline:10px; }
    .nsf-toast { right:10px; bottom:148px; }
}
@media (max-width:520px) {
    .nsf-compare-tray { align-items:flex-start; flex-direction:column; gap:10px; }
    .nsf-compare-tray__actions { width:100%; }
    .nsf-compare-tray button, .nsf-compare-tray a { flex:1; justify-content:center; }
}

/* =========================================================
   Noorin Storefront 0.3.0 — final polish and preview safety
   ========================================================= */

.noorin-storefront-active {
    --nsf-navy: #07354a;
    --nsf-navy-2: #0b465d;
    --nsf-green: #88c83e;
    --nsf-green-strong: #6eaf2d;
    --nsf-bg: #f4f7f8;
    --nsf-surface: #ffffff;
    --nsf-border: #dfe8ec;
    --nsf-text: #12252f;
    --nsf-muted: #6a7b84;
}

.noorin-storefront-active .site-content,
.noorin-storefront-active .main-page-wrapper,
.noorin-storefront-active #content {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nsf-product-page {
    background:
        radial-gradient(circle at 90% 0%, rgba(136, 200, 62, .09), transparent 26rem),
        linear-gradient(180deg, #f8fafb 0%, var(--nsf-bg) 100%);
    padding-top: 22px;
}

.nsf-container {
    width: min(1480px, calc(100% - 48px));
}

.nsf-preview-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 10px 14px;
    border: 1px solid rgba(7, 53, 74, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    color: var(--nsf-navy);
    box-shadow: 0 8px 24px rgba(7, 53, 74, .05);
    font-size: 13px;
    font-weight: 750;
}

.nsf-preview-banner a {
    color: var(--nsf-green-strong);
    font-weight: 800;
}

.nsf-hero,
.nsf-section,
.nsf-section-nav,
.nsf-highlights {
    border-color: rgba(7, 53, 74, .11);
    box-shadow: 0 18px 50px rgba(7, 53, 74, .055);
}

.nsf-hero {
    border-radius: 28px;
    padding: 28px;
    gap: 28px;
}

.nsf-gallery__stage,
.nsf-purchase,
.nsf-highlight,
.nsf-related-card,
.nsf-download-card {
    border-radius: 20px;
}

.nsf-gallery__stage {
    background: linear-gradient(180deg, #fff, #f6f9fa);
    border: 1px solid rgba(7, 53, 74, .09);
}

.nsf-summary__title {
    letter-spacing: -.02em;
    line-height: 1.75;
}

.nsf-purchase {
    background: linear-gradient(180deg, #ffffff, #fbfdf9);
    border: 1px solid rgba(7, 53, 74, .11);
}

.nsf-cart-form .single_add_to_cart_button,
.nsf-mobile-buy .single_add_to_cart_button,
.nsf-primary-button {
    border-radius: 12px !important;
    background: var(--nsf-navy) !important;
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(7, 53, 74, .18);
}

.nsf-cart-form .single_add_to_cart_button:hover,
.nsf-mobile-buy .single_add_to_cart_button:hover,
.nsf-primary-button:hover {
    background: var(--nsf-navy-2) !important;
    transform: translateY(-1px);
}

.nsf-spec-group__header {
    background: linear-gradient(90deg, rgba(7, 53, 74, .03), rgba(136, 200, 62, .04));
}

.nsf-spec-row:nth-child(even) {
    background: rgba(7, 53, 74, .018);
}

.nsf-empty-state {
    margin: 80px auto;
    max-width: 680px;
    padding: 42px;
    border: 1px solid var(--nsf-border);
    border-radius: 24px;
    background: #fff;
    text-align: center;
    box-shadow: var(--nsf-shadow);
}

.nsf-empty-state h1 {
    margin: 0 0 10px;
    color: var(--nsf-navy);
    font-size: 28px;
    font-weight: 850;
}

.nsf-empty-state p {
    margin: 0;
    color: var(--nsf-muted);
}

@media (max-width: 1100px) {
    .nsf-container { width: min(100% - 32px, 1100px); }
    .nsf-hero { padding: 20px; gap: 20px; }
}

@media (max-width: 782px) {
    .nsf-container { width: min(100% - 20px, 720px); }
    .nsf-product-page { padding-top: 12px; }
    .nsf-preview-banner { align-items: flex-start; flex-direction: column; }
    .nsf-hero { border-radius: 20px; padding: 14px; }
    .nsf-section { border-radius: 18px; }
}

/* =========================================================
   Noorin Storefront 0.4.0 — premium product UI
   ========================================================= */
.noorin-storefront-active,
.nsf-product-page {
    --nsf-font: var(--noorin-font-family, "IRANSansX", "Vazirmatn", "Peyda", Tahoma, Arial, sans-serif);
    --nsf-navy: #06384d;
    --nsf-navy-strong: #032a3b;
    --nsf-green: #83c442;
    --nsf-green-strong: #65a92d;
    --nsf-ink: #14262f;
    --nsf-muted: #6d7d85;
    --nsf-soft: #f6f8f9;
    --nsf-line: #e3eaed;
    --nsf-line-strong: #d5e0e4;
    --nsf-surface: #fff;
    --nsf-shadow-sm: 0 8px 28px rgba(3, 42, 59, .055);
    --nsf-shadow-md: 0 18px 55px rgba(3, 42, 59, .075);
    font-family: var(--nsf-font) !important;
}

.nsf-product-page,
.nsf-product-page button,
.nsf-product-page input,
.nsf-product-page select,
.nsf-product-page textarea {
    font-family: var(--nsf-font) !important;
}

.nsf-product-page {
    color: var(--nsf-ink);
    background:
        radial-gradient(circle at 88% 2%, rgba(131, 196, 66, .095), transparent 25rem),
        linear-gradient(180deg, #fbfcfc 0, #f5f8f9 32rem, #f5f8f9 100%);
    padding: 24px 0 104px;
}

.nsf-container { width: min(1460px, calc(100% - 56px)); }

.nsf-breadcrumb {
    margin: 0 0 18px;
    gap: 7px;
    font-size: 12px;
    line-height: 1.8;
}
.nsf-breadcrumb a { color: #526872; font-weight: 600; }
.nsf-breadcrumb > span:last-child {
    max-width: 520px;
    overflow: hidden;
    color: var(--nsf-navy);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nsf-preview-banner {
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: var(--nsf-shadow-sm);
}

.nsf-hero {
    grid-template-columns: minmax(340px, .94fr) minmax(390px, 1.14fr) minmax(300px, .75fr);
    gap: 0;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--nsf-line-strong);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--nsf-shadow-md);
}

.nsf-gallery,
.nsf-summary,
.nsf-purchase { min-width: 0; }

.nsf-gallery {
    padding: 26px;
    border-inline-start: 1px solid var(--nsf-line);
    background: linear-gradient(180deg, #fbfcfc 0%, #f5f8f9 100%);
}
.nsf-gallery__stage {
    aspect-ratio: 1 / 1;
    border: 1px solid #edf2f3;
    border-radius: 20px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.8);
}
.nsf-gallery__slide { padding: 30px; }
.nsf-gallery__slide img { filter: drop-shadow(0 18px 28px rgba(3,42,59,.08)); }
.nsf-gallery__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    padding: 5px 9px;
    border: 1px solid var(--nsf-line);
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: #71818a;
    font-size: 10px;
    font-weight: 700;
}
.nsf-gallery__zoom {
    width: 44px;
    height: 44px;
    left: 14px;
    bottom: 14px;
    border: 1px solid var(--nsf-line);
    border-radius: 13px;
    background: rgba(255,255,255,.94);
    color: var(--nsf-navy);
    box-shadow: 0 8px 20px rgba(3,42,59,.08);
}
.nsf-gallery__thumbs { gap: 9px; margin-top: 12px; }
.nsf-gallery__thumb {
    width: 64px;
    height: 64px;
    padding: 6px;
    border: 1px solid var(--nsf-line);
    border-radius: 12px;
    background: #fff;
}
.nsf-gallery__thumb.is-active {
    border-color: var(--nsf-green);
    box-shadow: 0 0 0 3px rgba(131,196,66,.13);
}

.nsf-summary {
    display: flex;
    flex-direction: column;
    padding: 44px 38px 34px;
    border-inline-start: 1px solid var(--nsf-line);
}
.nsf-summary__eyebrow { gap: 8px; margin-bottom: 18px; }
.nsf-chip {
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .01em;
}
.nsf-summary__title {
    margin: 0;
    color: var(--nsf-navy-strong);
    font-size: clamp(27px, 2.1vw, 39px);
    font-weight: 900;
    line-height: 1.62;
    letter-spacing: -.025em;
}
.nsf-summary__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 13px;
    color: #7a8a92;
    font-size: 11px;
}
.nsf-summary__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nsf-summary__meta bdi {
    color: #40545e;
    font-weight: 750;
}
.nsf-summary__meta a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #75858d;
}
.nsf-summary__meta .star-rating { margin: 0; color: #e5ad34; }
.nsf-summary__excerpt {
    margin: 23px 0 0;
    color: #53666f;
    font-size: 14px;
    line-height: 2.05;
}
.nsf-summary__excerpt > :last-child { margin-bottom: 0; }
.nsf-summary__quick-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
    margin-top: 25px;
}
.nsf-summary__quick-specs > div {
    min-height: 84px;
    padding: 15px 16px;
    border: 1px solid var(--nsf-line);
    border-radius: 14px;
    background: #fbfcfc;
}
.nsf-summary__quick-specs span {
    display: block;
    margin-bottom: 8px;
    color: #7b8b93;
    font-size: 10px;
    font-weight: 700;
}
.nsf-summary__quick-specs strong {
    color: var(--nsf-navy);
    font-size: 16px;
    font-weight: 850;
    line-height: 1.55;
}
.nsf-summary__quick-specs small { color: #788991; font-size: 10px; font-weight: 700; }
.nsf-summary__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 26px;
}
.nsf-text-action {
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--nsf-line) !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #405861 !important;
    font-size: 11px !important;
    font-weight: 750 !important;
}
.nsf-text-action:hover,
.nsf-text-action.is-active {
    border-color: rgba(131,196,66,.65) !important;
    background: rgba(131,196,66,.08) !important;
    color: var(--nsf-green-strong) !important;
}
.nsf-text-action svg { width: 18px; height: 18px; }

.nsf-purchase {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px 26px;
    background: #fff;
}
.nsf-purchase:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--nsf-green), #a3d96b);
}
.nsf-purchase__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.nsf-purchase__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #317e3f;
    font-size: 11px;
    font-weight: 800;
}
.nsf-purchase__status > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #58b968;
    box-shadow: 0 0 0 5px rgba(88,185,104,.13);
}
.nsf-purchase__status.is-out-of-stock { color: #ad4545; }
.nsf-purchase__status.is-out-of-stock > span { background: #d15d5d; box-shadow: 0 0 0 5px rgba(209,93,93,.12); }
.nsf-discount-badge { margin: 0; background: #d84b4b; }
.nsf-purchase__price {
    margin-top: 31px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--nsf-line);
}
.nsf-purchase__price > span {
    display: block;
    margin-bottom: 9px;
    color: #7b8b93;
    font-size: 11px;
}
.nsf-purchase__price .price,
.nsf-purchase__price > div {
    color: var(--nsf-navy-strong);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.55;
}
.nsf-purchase__price del { color: #98a5aa; font-size: 13px; font-weight: 500; }
.nsf-purchase__price ins { text-decoration: none; }
.nsf-purchase__stock-note {
    margin: 12px 0 0;
    color: #6c7d85;
    font-size: 10px;
}
.nsf-cart-form { margin-top: 26px; }
.nsf-cart-form__label {
    margin-bottom: 8px;
    color: #657780;
    font-size: 10px;
    font-weight: 700;
}
.nsf-cart-form__controls { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 10px; }
.nsf-quantity {
    height: 50px;
    overflow: hidden;
    border: 1px solid var(--nsf-line-strong);
    border-radius: 12px;
    background: #f9fbfb;
}
.nsf-quantity button,
.nsf-quantity input { height: 100%; min-height: 0 !important; border: 0 !important; background: transparent !important; }
.nsf-quantity button { width: 35px; color: var(--nsf-navy); font-size: 17px; }
.nsf-quantity input { width: 42px; padding: 0 !important; color: var(--nsf-ink); font-weight: 800; }
.nsf-primary-button {
    min-height: 50px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--nsf-navy) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(6,56,77,.18) !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease !important;
}
.nsf-primary-button:hover {
    transform: translateY(-1px);
    background: var(--nsf-navy-strong) !important;
    box-shadow: 0 16px 30px rgba(6,56,77,.23) !important;
}
.nsf-assurances {
    display: grid;
    gap: 0;
    margin: auto 0 0 !important;
    padding: 25px 0 0 !important;
    border-top: 1px solid var(--nsf-line);
}
.nsf-assurances li {
    display: grid;
    grid-template-columns: 28px minmax(0,1fr);
    align-items: start;
    gap: 9px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
}
.nsf-assurances li > span {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    background: rgba(131,196,66,.11);
    color: var(--nsf-green-strong);
    font-weight: 900;
}
.nsf-assurances strong { display: block; color: #344b55; font-size: 11px; font-weight: 800; }
.nsf-assurances small { display: block; margin-top: 3px; color: #8a989e; font-size: 9px; line-height: 1.7; }

.nsf-section-nav {
    top: calc(var(--wd-admin-bar-h, 0px) + 10px);
    z-index: 50;
    justify-content: center;
    gap: 5px;
    margin: 20px 0 0;
    padding: 8px;
    border: 1px solid rgba(3,42,59,.1);
    border-radius: 15px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--nsf-shadow-sm);
    backdrop-filter: blur(14px);
}
.nsf-section-nav a {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    color: #6b7c84;
    font-size: 11px;
    font-weight: 750;
}
.nsf-section-nav a:hover,
.nsf-section-nav a.is-active {
    background: var(--nsf-navy);
    color: #fff;
}

.nsf-section {
    margin-top: 20px;
    padding: 32px;
    border: 1px solid rgba(3,42,59,.1);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--nsf-shadow-sm);
}
.nsf-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}
.nsf-section__header > div:first-child { max-width: 760px; }
.nsf-section__kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    color: var(--nsf-green-strong);
    font-size: 10px;
    font-weight: 850;
}
.nsf-section__kicker:before {
    content: "";
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--nsf-green);
}
.nsf-section__header h2 {
    margin: 0;
    color: var(--nsf-navy-strong);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.6;
    letter-spacing: -.015em;
}
.nsf-section__header p {
    margin: 7px 0 0;
    color: #75858d;
    font-size: 12px;
    line-height: 1.9;
}

.nsf-highlight-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.nsf-highlight-card {
    position: relative;
    min-height: 122px;
    padding: 19px;
    overflow: hidden;
    border: 1px solid var(--nsf-line);
    border-radius: 16px;
    background: linear-gradient(145deg, #fbfcfc, #f7f9fa);
}
.nsf-highlight-card:after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -34px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(131,196,66,.08);
}
.nsf-highlight-card > span { color: #75868e; font-size: 10px; font-weight: 750; }
.nsf-highlight-card strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 18px;
    color: var(--nsf-navy-strong);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.5;
}
.nsf-highlight-card small { color: #70818a; font-size: 10px; }

.nsf-spec-controls { display: flex; align-items: center; gap: 7px; }
.nsf-spec-controls button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--nsf-line) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #61737c !important;
    font-size: 10px !important;
    font-weight: 750 !important;
}
.nsf-spec-controls button:hover { border-color: var(--nsf-green) !important; color: var(--nsf-green-strong) !important; }
.nsf-spec-groups { display: grid; gap: 10px; }
.nsf-spec-group {
    overflow: hidden;
    border: 1px solid var(--nsf-line);
    border-radius: 15px;
    background: #fff;
}
.nsf-spec-group__header {
    display: grid !important;
    grid-template-columns: 34px minmax(0,1fr) 22px;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 12px 16px !important;
    border: 0 !important;
    background: #fafcfc !important;
    color: var(--nsf-ink) !important;
    text-align: right !important;
}
.nsf-spec-group.is-open .nsf-spec-group__header { background: #f6f9f9 !important; }
.nsf-spec-group__index {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(131,196,66,.12);
    color: var(--nsf-green-strong);
    font-size: 11px;
    font-weight: 900;
}
.nsf-spec-group__heading strong { display: block; color: var(--nsf-navy-strong); font-size: 13px; font-weight: 850; line-height: 1.7; }
.nsf-spec-group__heading small { display: block; margin-top: 2px; color: #8a989e; font-size: 9px; }
.nsf-spec-group__header svg { width: 18px; height: 18px; color: #809098; transition: transform .22s ease; }
.nsf-spec-group.is-open .nsf-spec-group__header svg { transform: rotate(180deg); }
.nsf-spec-group__body { border-top: 1px solid var(--nsf-line); }
.nsf-spec-list { margin: 0; }
.nsf-spec-row {
    display: grid;
    grid-template-columns: minmax(240px, .72fr) minmax(0,1.28fr);
    min-height: 60px;
    padding: 0;
    border-bottom: 1px solid #edf1f2;
}
.nsf-spec-row:last-child { border-bottom: 0; }
.nsf-spec-row dt,
.nsf-spec-row dd {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 14px 18px;
}
.nsf-spec-row dt {
    justify-content: space-between;
    border-inline-start: 1px solid #edf1f2;
    background: #fafbfb;
    color: #455b65;
    font-size: 11px;
    font-weight: 750;
}
.nsf-spec-row dt b {
    flex: 0 0 auto;
    padding: 3px 7px;
    border: 1px solid #f2d395;
    border-radius: 999px;
    background: #fff8e9;
    color: #a16a10;
    font-size: 8px;
    font-weight: 800;
}
.nsf-spec-row dd { justify-content: flex-start; color: var(--nsf-navy-strong); }
.nsf-spec-row dd strong { font-size: 13px; font-weight: 850; word-break: break-word; }
.nsf-spec-row dd small { color: #778991; font-size: 10px; font-weight: 700; }
.nsf-spec-row dd em { color: #9aa6ab; font-size: 10px; font-style: normal; }
.nsf-spec-row.is-highlight { box-shadow: inset -3px 0 var(--nsf-green); }

.nsf-prose { max-width: 880px; color: #4b6069; font-size: 14px; line-height: 2.2; }
.nsf-download-card { border-radius: 13px; background: #fafcfc; }
.nsf-product-card {
    border-radius: 16px;
    border-color: var(--nsf-line);
    box-shadow: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nsf-product-card:hover { transform: translateY(-3px); border-color: #cad9de; box-shadow: var(--nsf-shadow-sm); }
.nsf-product-card__image { background: #f8fafb; }
.nsf-product-card h3 { font-weight: 800; }

.nsf-mobile-buy {
    min-height: 72px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--nsf-line-strong);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -16px 38px rgba(3,42,59,.12);
    backdrop-filter: blur(14px);
}
.nsf-mobile-buy button { border-radius: 12px; background: var(--nsf-navy); font-size: 11px; font-weight: 850; }

@media (max-width: 1240px) {
    .nsf-hero { grid-template-columns: minmax(320px,.9fr) minmax(360px,1.1fr); }
    .nsf-purchase {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(180px,.65fr) minmax(220px,.8fr) minmax(390px,1.3fr);
        align-items: center;
        gap: 18px 24px;
        padding: 22px 26px;
        border-top: 1px solid var(--nsf-line);
    }
    .nsf-purchase__topline { display: block; }
    .nsf-discount-badge { margin-top: 8px; }
    .nsf-purchase__price { margin: 0; padding: 0; border: 0; }
    .nsf-purchase__stock-note { margin: 5px 0 0; }
    .nsf-cart-form { margin: 0; }
    .nsf-assurances { grid-column: 1 / -1; grid-template-columns: repeat(3,1fr); margin: 0 !important; padding: 16px 0 0 !important; }
}

@media (max-width: 900px) {
    .nsf-product-page { padding-top: 14px; }
    .nsf-container { width: min(100% - 24px, 760px); }
    .nsf-hero { display: flex; flex-direction: column; border-radius: 20px; }
    .nsf-gallery { order: 1; padding: 14px; border: 0; }
    .nsf-summary { order: 2; padding: 24px 20px 20px; border: 0; border-top: 1px solid var(--nsf-line); }
    .nsf-purchase { order: 3; display: flex; padding: 22px 20px; border-top: 1px solid var(--nsf-line); }
    .nsf-gallery__stage { max-width: 560px; margin-inline: auto; }
    .nsf-gallery__thumbs { justify-content: center; }
    .nsf-summary__title { font-size: clamp(24px, 7vw, 32px); line-height: 1.75; }
    .nsf-summary__actions { margin-top: 4px; }
    .nsf-purchase__price { margin-top: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--nsf-line); }
    .nsf-cart-form { margin-top: 20px; }
    .nsf-assurances { grid-template-columns: 1fr; margin-top: 20px !important; }
    .nsf-section-nav { justify-content: flex-start; overflow-x: auto; padding: 7px; }
    .nsf-section-nav a { flex: 0 0 auto; }
    .nsf-section { padding: 23px 18px; border-radius: 18px; }
    .nsf-section__header { align-items: flex-start; flex-direction: column; gap: 12px; }
    .nsf-section__header h2 { font-size: 21px; }
    .nsf-highlight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nsf-spec-controls { width: 100%; }
    .nsf-spec-controls button { flex: 1; }
    .nsf-spec-row { grid-template-columns: 1fr; min-height: 0; padding: 14px 16px; gap: 7px; }
    .nsf-spec-row dt,
    .nsf-spec-row dd { padding: 0; border: 0; background: transparent; }
    .nsf-spec-row dt { justify-content: flex-start; color: #75868e; font-size: 10px; }
    .nsf-spec-row dd strong { font-size: 14px; }
    .nsf-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 560px) {
    .nsf-container { width: calc(100% - 14px); }
    .nsf-preview-banner { align-items: flex-start; flex-direction: column; }
    .nsf-breadcrumb { display: none; }
    .nsf-hero { border-radius: 16px; }
    .nsf-gallery { padding: 10px; }
    .nsf-gallery__stage { border-radius: 14px; }
    .nsf-gallery__slide { padding: 18px; }
    .nsf-gallery__badge { top: 10px; right: 10px; }
    .nsf-gallery__zoom { left: 10px; bottom: 10px; width: 40px; height: 40px; }
    .nsf-gallery__thumb { width: 54px; height: 54px; border-radius: 10px; }
    .nsf-summary { padding: 20px 15px 18px; }
    .nsf-summary__title { font-size: 22px; line-height: 1.72; }
    .nsf-summary__meta { font-size: 10px; }
    .nsf-summary__excerpt { font-size: 12px; line-height: 2; }
    .nsf-summary__quick-specs { gap: 8px; margin-top: 18px; }
    .nsf-summary__quick-specs > div { min-height: 76px; padding: 12px; border-radius: 12px; }
    .nsf-summary__quick-specs strong { font-size: 14px; }
    .nsf-summary__actions { gap: 7px; padding-top: 18px; }
    .nsf-text-action { flex: 1; padding: 0 8px; font-size: 10px !important; }
    .nsf-purchase { padding: 20px 15px; }
    .nsf-cart-form__controls { grid-template-columns: 105px minmax(0,1fr); }
    .nsf-purchase__price .price,
    .nsf-purchase__price > div { font-size: 18px; }
    .nsf-section { margin-top: 12px; padding: 20px 14px; border-radius: 16px; }
    .nsf-section__header { margin-bottom: 18px; }
    .nsf-section__header h2 { font-size: 19px; }
    .nsf-section__header p { font-size: 10px; }
    .nsf-highlight-grid { gap: 7px; }
    .nsf-highlight-card { min-height: 102px; padding: 14px; border-radius: 13px; }
    .nsf-highlight-card strong { margin-top: 14px; font-size: 16px; }
    .nsf-spec-group__header { grid-template-columns: 30px minmax(0,1fr) 18px; min-height: 62px; padding: 10px 12px !important; }
    .nsf-spec-group__index { width: 28px; height: 28px; border-radius: 8px; }
    .nsf-spec-group__heading strong { font-size: 11px; }
    .nsf-related-grid { gap: 7px; }
    .nsf-product-card__content { padding: 10px; }
    .nsf-product-card h3 { font-size: 11px; line-height: 1.7; }
    .nsf-mobile-buy strong { font-size: 12px; }
    .nsf-mobile-buy button { min-width: 132px; }
}

/* =========================================================
   Noorin Storefront 0.5.0 — refined typography and interaction
   ========================================================= */
.noorin-storefront-active,
.nsf-product-page {
    --nsf-font: var(--noorin-font-family, "IRANSansX", "Vazirmatn", "Peyda", Tahoma, Arial, sans-serif);
    --nsf-navy: #08384b;
    --nsf-navy-strong: #052b3a;
    --nsf-green: #83c442;
    --nsf-green-strong: #67aa31;
    --nsf-ink: #1d2d35;
    --nsf-muted: #728088;
    --nsf-soft: #f7f9fa;
    --nsf-line: #e4eaed;
    --nsf-line-strong: #d7e0e4;
    --nsf-ease: cubic-bezier(.22, 1, .36, 1);
    font-family: var(--nsf-font) !important;
    font-weight: 400;
}

.nsf-product-page :is(h1,h2,h3,h4,h5,h6,strong,b) {
    font-family: var(--nsf-font) !important;
    letter-spacing: 0;
}

.nsf-summary__title {
    max-width: 760px;
    font-size: clamp(25px, 2vw, 34px);
    font-weight: 700;
    line-height: 1.65;
}

.nsf-summary__excerpt,
.nsf-section__header p,
.nsf-description__content {
    font-size: 13px;
    font-weight: 400;
    line-height: 2;
}

.nsf-summary__quick-specs strong,
.nsf-highlight-card strong {
    font-weight: 700;
}

.nsf-purchase__price .price {
    font-size: 21px;
    font-weight: 700;
}

.nsf-primary-button {
    font-weight: 600;
    letter-spacing: 0;
}

.nsf-section__header h2 {
    font-size: clamp(20px, 1.7vw, 25px);
    font-weight: 700;
    line-height: 1.55;
}

.nsf-section__kicker,
.nsf-chip,
.nsf-purchase__status,
.nsf-spec-group__header strong {
    font-weight: 600;
}

/* Section navigation */
.nsf-section-nav {
    top: calc(var(--wd-admin-bar-h, 0px) + 10px);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 7px;
    padding: 7px;
    margin: 20px 0 24px;
    overflow: visible;
    border: 1px solid rgba(215, 224, 228, .95);
    border-radius: 17px;
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 10px 34px rgba(5, 43, 58, .07);
    backdrop-filter: blur(18px) saturate(1.2);
}

.nsf-section-nav__item,
.nsf-section-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 54px;
    padding: 8px 11px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #64747d;
    background: transparent;
    font-size: 12px;
    font-weight: 400;
    transition: color .25s var(--nsf-ease), background-color .25s var(--nsf-ease), border-color .25s var(--nsf-ease), transform .25s var(--nsf-ease), box-shadow .25s var(--nsf-ease);
}

.nsf-section-nav__item::after {
    position: absolute;
    inset-inline: 12px;
    bottom: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--nsf-green);
    content: "";
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .25s var(--nsf-ease), transform .25s var(--nsf-ease);
}

.nsf-section-nav__icon {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #e1e8eb;
    border-radius: 10px;
    background: #f8fafb;
    color: #6a7a82;
    transition: color .25s var(--nsf-ease), background-color .25s var(--nsf-ease), border-color .25s var(--nsf-ease), transform .25s var(--nsf-ease);
}

.nsf-section-nav__icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.nsf-section-nav__text {
    display: block;
    min-width: 0;
    text-align: start;
}

.nsf-section-nav__text strong,
.nsf-section-nav__text small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nsf-section-nav__text strong {
    margin-bottom: 3px;
    color: currentColor;
    font-size: 12px;
    font-weight: 600;
}

.nsf-section-nav__text small {
    color: #95a1a7;
    font-size: 9.5px;
    font-weight: 400;
}

.nsf-section-nav__item:hover,
.nsf-section-nav__item.is-active {
    border-color: #dce6e9;
    color: var(--nsf-navy);
    background: #f9fbfb;
    box-shadow: 0 6px 18px rgba(5, 43, 58, .045);
    transform: translateY(-1px);
}

.nsf-section-nav__item:hover .nsf-section-nav__icon,
.nsf-section-nav__item.is-active .nsf-section-nav__icon {
    border-color: rgba(131, 196, 66, .38);
    color: var(--nsf-green-strong);
    background: rgba(131, 196, 66, .10);
}

.nsf-section-nav__item.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Smooth specification accordions */
.nsf-spec-group {
    transition: border-color .25s var(--nsf-ease), box-shadow .25s var(--nsf-ease), background-color .25s var(--nsf-ease);
}

.nsf-spec-group.is-open {
    border-color: #d4e0e4;
    box-shadow: 0 8px 24px rgba(5, 43, 58, .045);
}

.nsf-spec-group__header {
    transition: background-color .25s var(--nsf-ease), color .25s var(--nsf-ease);
}

.nsf-spec-group__header:hover {
    background: #f3f7f8;
}

.nsf-spec-group__header svg {
    transition: transform .42s var(--nsf-ease);
}

.nsf-spec-group__body,
.nsf-spec-group.is-open .nsf-spec-group__body {
    display: block;
    max-height: 0;
    overflow: hidden;
    border-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: max-height .55s var(--nsf-ease), opacity .28s ease, transform .45s var(--nsf-ease), visibility 0s linear .55s, border-color .25s ease;
}

.nsf-spec-group.is-open .nsf-spec-group__body {
    border-top: 1px solid var(--nsf-line);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: max-height .55s var(--nsf-ease), opacity .3s ease .04s, transform .45s var(--nsf-ease), visibility 0s linear 0s, border-color .25s ease;
}

.nsf-spec-row {
    transition: background-color .2s ease;
}
.nsf-spec-row:hover { background: #fbfcfc; }

/* Related products */
.nsf-related__header { align-items: center; }
.nsf-related__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--nsf-line-strong);
    border-radius: 11px;
    color: var(--nsf-navy);
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    transition: border-color .25s var(--nsf-ease), background-color .25s var(--nsf-ease), transform .25s var(--nsf-ease);
}
.nsf-related__all:hover {
    border-color: rgba(131, 196, 66, .55);
    color: var(--nsf-navy);
    background: rgba(131, 196, 66, .07);
    transform: translateY(-1px);
}

.nsf-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.nsf-product-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--nsf-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(5, 43, 58, .025);
    transition: border-color .3s var(--nsf-ease), box-shadow .3s var(--nsf-ease), transform .3s var(--nsf-ease);
}

.nsf-product-card:hover {
    border-color: #ccdadd;
    box-shadow: 0 15px 36px rgba(5, 43, 58, .085);
    transform: translateY(-4px);
}

.nsf-product-card__image {
    position: relative;
    display: block;
    aspect-ratio: 1.13 / 1;
    margin: 9px 9px 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f7f9fa;
    padding: 16px;
}

.nsf-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s var(--nsf-ease);
}
.nsf-product-card:hover .nsf-product-card__image img { transform: scale(1.035); }

.nsf-product-card__arrow {
    position: absolute;
    inset-inline-end: 9px;
    top: 9px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(215, 224, 228, .92);
    border-radius: 10px;
    color: var(--nsf-navy);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 5px 14px rgba(5, 43, 58, .06);
    font-size: 14px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .25s var(--nsf-ease), transform .25s var(--nsf-ease);
}
.nsf-product-card:hover .nsf-product-card__arrow { opacity: 1; transform: translateY(0); }

.nsf-product-card__content {
    display: flex;
    min-height: 154px;
    flex: 1;
    flex-direction: column;
    padding: 14px 15px 15px;
}

.nsf-product-card__meta {
    display: flex;
    align-items: center;
    min-height: 21px;
    margin-bottom: 8px;
}

.nsf-product-card__stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 500;
}
.nsf-product-card__stock i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 3px currentColor;
    opacity: .8;
}
.nsf-product-card__stock.is-in-stock { color: #3b9448; }
.nsf-product-card__stock.is-out-of-stock { color: #bd5353; }

.nsf-product-card h3 {
    display: -webkit-box;
    min-height: 49px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--nsf-ink);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.95;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.nsf-product-card h3 a { color: inherit; }
.nsf-product-card h3 a:hover { color: var(--nsf-navy); }

.nsf-product-card__footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #edf1f3;
}

.nsf-product-card__price {
    color: var(--nsf-navy);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.7;
}
.nsf-product-card__price :is(del, ins) { display: block; }
.nsf-product-card__price del { color: #9aa5aa; font-size: 10px; font-weight: 400; }
.nsf-product-card__price ins { text-decoration: none; }

.nsf-product-card__cta {
    flex: 0 0 auto;
    color: #708087;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .2s ease;
}
.nsf-product-card:hover .nsf-product-card__cta { color: var(--nsf-green-strong); }

@media (max-width: 980px) {
    .nsf-section-nav {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }
    .nsf-section-nav__item {
        flex: 0 0 min(210px, 72vw);
        scroll-snap-align: start;
    }
    .nsf-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .nsf-summary__title {
        font-size: 22px;
        font-weight: 700;
        line-height: 1.65;
    }
    .nsf-section-nav {
        top: calc(var(--wd-admin-bar-h, 0px) + 5px);
        margin-inline: 0;
        padding: 6px;
        border-radius: 14px;
    }
    .nsf-section-nav__item {
        flex-basis: 176px;
        min-height: 48px;
        padding: 6px 8px;
    }
    .nsf-section-nav__icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
    }
    .nsf-section-nav__text small { display: none; }
    .nsf-related__header { align-items: flex-start; }
    .nsf-related__all { display: none; }
    .nsf-related-grid {
        display: flex;
        gap: 10px;
        margin-inline: -14px;
        padding-inline: 14px;
        overflow-x: auto;
        scroll-padding-inline: 14px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .nsf-related-grid::-webkit-scrollbar { display: none; }
    .nsf-product-card {
        flex: 0 0 78vw;
        max-width: 310px;
        scroll-snap-align: start;
    }
    .nsf-product-card__image { aspect-ratio: 1.25 / 1; }
    .nsf-product-card__content { min-height: 142px; }
    .nsf-product-card__arrow { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .nsf-product-page *,
    .nsf-product-page *::before,
    .nsf-product-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Compare compatibility modal 0.11.3 */
.nsf-modal-lock{overflow:hidden!important}.nsf-compatibility-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:20px}.nsf-compatibility-modal__backdrop{position:absolute;inset:0;background:rgba(5,31,40,.5);backdrop-filter:blur(5px)}.nsf-compatibility-modal__dialog{position:relative;width:min(100%,500px);background:#fff;border:1px solid #dce8e4;border-radius:22px;padding:28px;box-shadow:0 28px 90px rgba(4,38,51,.25);text-align:right;color:#173e4d}.nsf-compatibility-modal__close{position:absolute;top:14px;left:14px;width:34px;height:34px;border:1px solid #dce7e4;border-radius:10px;background:#f8fbfa;color:#6d838b;font-size:20px;cursor:pointer}.nsf-compatibility-modal__icon{width:42px;height:42px;border-radius:13px;background:#fff2cf;color:#9a6a00;display:grid;place-items:center;font-weight:800;font-size:20px;margin-bottom:15px}.nsf-compatibility-modal h3{margin:0 0 8px;font-size:19px;color:#073e53}.nsf-compatibility-modal p{margin:0;color:#687d84;font-size:13px;line-height:2}.nsf-compatibility-modal__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}.nsf-compatibility-modal__actions button{min-height:44px;border-radius:12px;font:inherit;font-size:13px;font-weight:650;cursor:pointer}.nsf-compatibility-modal__actions button:first-child{border:1px solid #073e53;background:#073e53;color:#fff}.nsf-compatibility-modal__actions button:last-child{border:1px solid #d7e3e0;background:#fff;color:#173e4d}@media(max-width:782px){.nsf-compatibility-modal{padding:12px;align-items:end}.nsf-compatibility-modal__dialog{border-radius:22px 22px 16px 16px;padding:24px 18px 18px}.nsf-compatibility-modal__actions{grid-template-columns:1fr}.nsf-compatibility-modal__actions button{min-height:48px}}

/* =========================================================
   Noorin Storefront 0.15.4-rc2 — WooCommerce reviews UI
   Keep native WooCommerce review behavior; only normalize the
   presentation to the Noorin PDP and central visual identity.
   ========================================================= */
.nsf-product-page,
.nsf-product-page :where(.woocommerce-Reviews,.woocommerce-Reviews *,#review_form_wrapper,#review_form_wrapper *) {
    font-family: var(--noorin-font-family, var(--nsf-font), "IRANSansX", Tahoma, Arial, sans-serif) !important;
}

.nsf-section--reviews {
    overflow: hidden;
}

.nsf-reviews-heading {
    align-items: center;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--nsf-line, #e3eaed);
}

.nsf-reviews-heading > div > p {
    margin: 7px 0 0;
    color: var(--nsf-muted);
    font-size: 12px;
    line-height: 1.9;
}

.nsf-reviews-count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 13px;
    border: 1px solid rgba(131,196,66,.3);
    border-radius: 999px;
    background: rgba(131,196,66,.09);
    color: var(--nsf-green-strong, #67aa31);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.nsf-reviews-shell {
    color: var(--nsf-ink);
}

.nsf-reviews-shell .woocommerce-Reviews {
    display: grid !important;
    grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
    gap: 26px;
    align-items: start;
    margin: 0;
}

.nsf-reviews-shell .woocommerce-Reviews-title {
    display: none !important;
}

.nsf-reviews-shell #comments,
.nsf-reviews-shell #review_form_wrapper {
    min-width: 0;
}

.nsf-reviews-shell #comments {
    margin: 0;
}

.nsf-reviews-shell .woocommerce-noreviews {
    min-height: 110px;
    margin: 0 !important;
    padding: 22px;
    display: flex;
    align-items: center;
    border: 1px dashed var(--nsf-line-strong, #d7e0e4);
    border-radius: 16px;
    background: var(--nsf-soft, #f7f9fa);
    color: var(--nsf-muted);
    font-size: 12px;
    line-height: 2;
}

.nsf-reviews-shell .commentlist {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
}

.nsf-reviews-shell .commentlist > li.review,
.nsf-reviews-shell .commentlist > li.comment {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.nsf-reviews-shell .comment_container {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--nsf-line, #e3eaed);
    border-radius: 16px;
    background: #fff;
}

.nsf-reviews-shell .comment_container > img.avatar {
    position: static !important;
    float: none !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 14px;
    object-fit: cover;
    background: #eef4f1;
}

.nsf-reviews-shell .comment-text {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.nsf-reviews-shell .meta {
    margin: 0 0 8px !important;
    color: var(--nsf-muted) !important;
    font-size: 10px !important;
    line-height: 1.7;
}

.nsf-reviews-shell .meta .woocommerce-review__author {
    color: var(--nsf-navy);
    font-size: 12px;
    font-weight: 700;
}

.nsf-reviews-shell .description,
.nsf-reviews-shell .description p {
    margin: 0 !important;
    color: var(--nsf-ink) !important;
    font-size: 12px !important;
    line-height: 2 !important;
}

.nsf-reviews-shell .star-rating {
    float: none !important;
    margin: 0 0 8px !important;
    color: var(--nsf-green-strong, #67aa31) !important;
    font-size: 12px !important;
}

.nsf-reviews-shell #review_form_wrapper {
    padding: 22px;
    border: 1px solid var(--nsf-line, #e3eaed);
    border-radius: 18px;
    background: linear-gradient(180deg,#fbfdfc 0%,#f7faf9 100%);
}

.nsf-reviews-shell #respond,
.nsf-reviews-shell #review_form {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.nsf-reviews-shell #reply-title,
.nsf-reviews-shell .comment-reply-title {
    display: block;
    margin: 0 0 6px !important;
    color: var(--nsf-navy) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
}

.nsf-reviews-shell .comment-notes,
.nsf-reviews-shell .comment-form-cookies-consent,
.nsf-reviews-shell .logged-in-as {
    color: var(--nsf-muted) !important;
    font-size: 10px !important;
    line-height: 1.9 !important;
}

.nsf-reviews-shell .comment-form-rating,
.nsf-reviews-shell .comment-form-comment,
.nsf-reviews-shell .comment-form-author,
.nsf-reviews-shell .comment-form-email,
.nsf-reviews-shell .comment-form-cookies-consent,
.nsf-reviews-shell .form-submit {
    margin: 14px 0 0 !important;
}

.nsf-reviews-shell .comment-form-rating label,
.nsf-reviews-shell .comment-form-comment label,
.nsf-reviews-shell .comment-form-author label,
.nsf-reviews-shell .comment-form-email label {
    display: block;
    margin: 0 0 7px;
    color: var(--nsf-navy);
    font-size: 11px;
    font-weight: 700;
}

.nsf-reviews-shell textarea,
.nsf-reviews-shell input[type="text"],
.nsf-reviews-shell input[type="email"] {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    border: 1px solid var(--nsf-line-strong, #d7e0e4) !important;
    border-radius: 12px !important;
    outline: 0;
    background: #fff !important;
    color: var(--nsf-ink) !important;
    font-family: var(--noorin-font-family, var(--nsf-font), "IRANSansX", Tahoma, sans-serif) !important;
    font-size: 12px !important;
    line-height: 1.9 !important;
    box-shadow: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.nsf-reviews-shell textarea {
    min-height: 130px !important;
    padding: 12px 14px !important;
    resize: vertical;
}

.nsf-reviews-shell input[type="text"],
.nsf-reviews-shell input[type="email"] {
    min-height: 44px !important;
    padding: 0 13px !important;
}

.nsf-reviews-shell textarea:focus,
.nsf-reviews-shell input[type="text"]:focus,
.nsf-reviews-shell input[type="email"]:focus {
    border-color: rgba(131,196,66,.8) !important;
    box-shadow: 0 0 0 3px rgba(131,196,66,.10) !important;
}

.nsf-reviews-shell .comment-form-rating .stars {
    margin: 0 !important;
    line-height: 1;
}

.nsf-reviews-shell .comment-form-rating .stars a {
    color: #a8b5ba !important;
    font-size: 20px !important;
    transition: color .15s ease, transform .15s ease;
}

.nsf-reviews-shell .comment-form-rating .stars:hover a,
.nsf-reviews-shell .comment-form-rating .stars.selected a,
.nsf-reviews-shell .comment-form-rating .stars a:hover {
    color: var(--nsf-green-strong, #67aa31) !important;
}

.nsf-reviews-shell .comment-form-rating .stars a:hover {
    transform: translateY(-1px);
}

.nsf-reviews-shell .comment-form-cookies-consent {
    display: grid;
    grid-template-columns: 18px minmax(0,1fr);
    gap: 8px;
    align-items: start;
}

.nsf-reviews-shell .comment-form-cookies-consent input {
    width: 16px;
    height: 16px;
    margin: 3px 0 0 !important;
    accent-color: var(--nsf-green-strong, #67aa31);
}

.nsf-reviews-shell .comment-form-cookies-consent label {
    margin: 0 !important;
    color: var(--nsf-muted) !important;
    font-size: 10px !important;
    line-height: 1.9 !important;
}

.nsf-reviews-shell .form-submit .submit,
.nsf-reviews-shell #submit {
    min-height: 44px !important;
    margin: 0 !important;
    padding: 9px 20px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--nsf-navy) !important;
    color: #fff !important;
    font-family: var(--noorin-font-family, var(--nsf-font), "IRANSansX", Tahoma, sans-serif) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.nsf-reviews-shell .form-submit .submit:hover,
.nsf-reviews-shell #submit:hover {
    background: var(--nsf-navy-2, #0c465f) !important;
    transform: translateY(-1px);
}

@media (max-width: 860px) {
    .nsf-reviews-shell .woocommerce-Reviews {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .nsf-reviews-shell #review_form_wrapper { padding: 18px; }
}

@media (max-width: 560px) {
    .nsf-section--reviews { padding: 18px 14px; }
    .nsf-reviews-heading {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 18px;
        padding-bottom: 16px;
    }
    .nsf-reviews-heading > div > p { font-size: 10px; }
    .nsf-reviews-count { min-height: 34px; padding: 6px 10px; font-size: 9px; }
    .nsf-reviews-shell .comment_container {
        grid-template-columns: 36px minmax(0,1fr);
        gap: 10px;
        padding: 13px;
        border-radius: 14px;
    }
    .nsf-reviews-shell .comment_container > img.avatar {
        width: 36px !important;
        height: 36px !important;
        border-radius: 11px;
    }
    .nsf-reviews-shell #review_form_wrapper { padding: 15px; border-radius: 15px; }
    .nsf-reviews-shell #reply-title,
    .nsf-reviews-shell .comment-reply-title { font-size: 16px !important; }
    .nsf-reviews-shell textarea { min-height: 110px !important; }
}

/* Sales-request pricing */
.nsf-price-state{display:inline-flex;align-items:center;font-weight:800;line-height:1.6}.nsf-price-state--quote{color:#8a5a16}.nsf-price-state--foreign{color:var(--nsf-navy,#07384a)}.nsf-price-state__note{display:block;margin-top:4px;font-size:10px;line-height:1.7;color:#7e8d92}.nsf-purchase__price-note{display:block;margin-top:7px;color:#7d8d92;font-size:10px;line-height:1.8}

/* 0.16.1 — polished add-to-cart notice on the custom PDP */
.nsf-product-page .woocommerce-message{
    margin:0 0 18px!important;
    padding:0!important;
    border:0!important;
    border-radius:16px!important;
    background:#fff!important;
    color:var(--nsf-text)!important;
    box-shadow:0 10px 30px rgba(7,53,74,.06)!important;
    overflow:hidden;
    display:flex;
    justify-content:space-between;
}
.nsf-product-page .woocommerce-message::before,
.nsf-product-page .woocommerce-message::after{display:none!important}
.nsf-add-cart-success{
    display:grid;
    grid-template-columns:38px minmax(0,1fr) auto;
    align-items:center;
    gap:13px;
    min-height:78px;
    padding:14px 16px;
    border:1px solid #dce8df;
    border-radius:16px;
    background:linear-gradient(135deg,#fbfef9 0%,#fff 65%);
}
.nsf-add-cart-success__icon{
    width:38px;height:38px;border-radius:12px;display:grid;place-items:center;
    background:#e9f6e1;color:#4d912b;font-size:17px;font-weight:900;
}
.nsf-add-cart-success__copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.nsf-add-cart-success__copy strong{color:var(--nsf-navy);font-size:13px;font-weight:800}
.nsf-add-cart-success__copy span{overflow:hidden;color:#687b84;font-size:11px;line-height:1.8;text-overflow:ellipsis}
.nsf-product-page .nsf-add-cart-success__action.button{
    min-height:40px!important;margin:0!important;padding:0 15px!important;border:1px solid #d8e3e5!important;
    border-radius:11px!important;background:#fff!important;color:var(--nsf-navy)!important;font-size:10px!important;font-weight:700!important;
    box-shadow:none!important;text-decoration:none!important;white-space:nowrap;
}
.nsf-product-page .nsf-add-cart-success__action.button:hover{border-color:#bcd5c4!important;background:#f5faf3!important;color:#407d28!important}
@media(max-width:700px){
    .nsf-add-cart-success{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px}
    .nsf-add-cart-success__icon{width:34px;height:34px;border-radius:10px}
    .nsf-product-page .nsf-add-cart-success__action.button{grid-column:1/-1;width:100%;justify-content:center}
}


/* 0.16.3 — PDP commerce notice integrated with the Noorin product layout */
.nsf-pdp-notices{
    position:relative;
    z-index:4;
    margin:8px 0 16px;
}
body .nsf-product-page .nsf-pdp-notices .woocommerce-message,
body .nsf-product-page .nsf-pdp-notices .woocommerce-info,
body .nsf-product-page .nsf-pdp-notices .woocommerce-error{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    min-height:62px!important;
    margin:0!important;
    padding:11px 14px!important;
    border:1px solid #dce8e3!important;
    border-top:1px solid #dce8e3!important;
    border-radius:15px!important;
    background:linear-gradient(135deg,#f9fcfa 0%,#fff 72%)!important;
    color:#294a55!important;
    box-shadow:0 8px 24px rgba(7,53,74,.045)!important;
    font-size:11.5px!important;
    font-weight:600!important;
    line-height:1.9!important;
    overflow:hidden!important;
}
body .nsf-product-page .nsf-pdp-notices .woocommerce-message::before,
body .nsf-product-page .nsf-pdp-notices .woocommerce-info::before,
body .nsf-product-page .nsf-pdp-notices .woocommerce-error::before,
body .nsf-product-page .nsf-pdp-notices .woocommerce-message::after,
body .nsf-product-page .nsf-pdp-notices .woocommerce-info::after,
body .nsf-product-page .nsf-pdp-notices .woocommerce-error::after{display:none!important}
body .nsf-product-page .nsf-pdp-notices .woocommerce-message>.button,
body .nsf-product-page .nsf-pdp-notices .woocommerce-message>a.wc-forward{
    order:3!important;
    flex:none!important;
    min-height:38px!important;
    margin:0 0 0 2px!important;
    padding:0 14px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid #cbdad5!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#07384a!important;
    font-family:inherit!important;
    font-size:10.5px!important;
    font-weight:750!important;
    text-decoration:none!important;
    box-shadow:none!important;
    white-space:nowrap!important;
}
body .nsf-product-page .nsf-pdp-notices .woocommerce-message>.button:hover,
body .nsf-product-page .nsf-pdp-notices .woocommerce-message>a.wc-forward:hover{
    border-color:#9fcbb0!important;
    background:#f2f8f3!important;
    color:#3d7f31!important;
}
body .nsf-product-page .nsf-pdp-notices .nsf-add-cart-success{
    width:100%;
    min-height:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    grid-template-columns:34px minmax(0,1fr) auto;
    gap:11px;
}
body .nsf-product-page .nsf-pdp-notices .nsf-add-cart-success__icon{
    width:34px;height:34px;border-radius:10px;
    background:#e8f5e3;color:#4a902d;font-size:15px;
}
body .nsf-product-page .nsf-pdp-notices .nsf-add-cart-success__copy strong{
    color:#0a4051;font-size:11.5px;font-weight:800;
}
body .nsf-product-page .nsf-pdp-notices .nsf-add-cart-success__copy span{
    color:#6c7e84;font-size:10.5px;line-height:1.8;
}
body .nsf-product-page .nsf-pdp-notices .nsf-add-cart-success__action.button{
    min-height:38px!important;
    padding:0 14px!important;
    border:1px solid #cbdad5!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#07384a!important;
    font-size:10.5px!important;
    font-weight:750!important;
}
@media(max-width:700px){
    .nsf-pdp-notices{margin:6px 0 12px}
    body .nsf-product-page .nsf-pdp-notices .woocommerce-message,
    body .nsf-product-page .nsf-pdp-notices .woocommerce-info,
    body .nsf-product-page .nsf-pdp-notices .woocommerce-error{
        flex-wrap:wrap!important;
        gap:10px!important;
        padding:11px!important;
        border-radius:13px!important;
        font-size:10.5px!important;
    }
    body .nsf-product-page .nsf-pdp-notices .woocommerce-message>.button,
    body .nsf-product-page .nsf-pdp-notices .woocommerce-message>a.wc-forward{
        width:100%!important;
        margin:0!important;
    }
    body .nsf-product-page .nsf-pdp-notices .nsf-add-cart-success{
        grid-template-columns:32px minmax(0,1fr);
        gap:9px;
    }
    body .nsf-product-page .nsf-pdp-notices .nsf-add-cart-success__icon{width:32px;height:32px}
    body .nsf-product-page .nsf-pdp-notices .nsf-add-cart-success__action.button{
        grid-column:1/-1;width:100%!important;margin:0!important;
    }
}
