/*! Nuso Giya Modern Shop & Product UI — styles. Mobile-first. */

.ngms-root {
	--g: #078D4B;
	--g-dark: #057a40;
	--navy: #092B50;
	--g-soft: #EAF8EF;
	--b-soft: #EAF4FF;
	--gray: #F7F9FC;
	--bg: #ffffff;
	--card: #ffffff;
	--text: #26384d;
	--muted: #6b7a8c;
	--line: #e3eaf2;
	--star: #f5a623;
	--red: #e5484d;
	--shadow: 0 4px 16px rgba(9, 43, 80, .08);
	--shadow-sm: 0 2px 8px rgba(9, 43, 80, .07);
	--r: 18px;
	font-family: "Poppins", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
	line-height: 1.5;
}
html[data-ngh-theme="dark"] .ngms-root {
	--bg: #0e1417; --card: #151e23; --gray: #1a252b; --g-soft: #12301f; --b-soft: #14263a;
	--navy: #e8f0f7; --text: #d5dee6; --muted: #92a1ae; --line: #2b373f;
	--shadow: 0 4px 16px rgba(0, 0, 0, .35); --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
	--g: #1fb869; --g-dark: #17a35b;
}

.ngms-root *, .ngms-root *::before, .ngms-root *::after { box-sizing: border-box; }
.ngms-root [hidden] { display: none !important; }
.ngms-root img { max-width: 100%; height: auto; display: block; }
.ngms-root a { text-decoration: none; color: inherit; }
.ngms-root ul, .ngms-root ol { list-style: none; margin: 0; padding: 0; }
.ngms-root h1, .ngms-root h2, .ngms-root h3 { margin: 0; color: var(--navy); line-height: 1.2; font-family: inherit; }
.ngms-root p { margin: 0; }
.ngms-root button { font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ngms-sr, .ngms-root .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ngms-muted { color: var(--muted); }
body.ngms-lock { overflow: hidden; }

/* Avoid a duplicate theme header on redesigned pages (can be switched off in Settings). */
body.ngms-hide-theme-header :is(#masthead, .site-header, #site-header, #header, .main-header, .header-main, .ast-primary-header-bar, .ast-mobile-header-wrap, .ast-desktop-header, .elementor-location-header, .storefront-primary-navigation, .site-branding-container, .page-header, .woocommerce-breadcrumb, .storefront-breadcrumb, .woocommerce-products-header) { display: none !important; }
body.ngms-page { background: var(--bg, #fff); }
body.ngms-has-nav .ngms-root { padding-bottom: 104px; }

.ngms-wrap { max-width: 1320px; margin: 0 auto; padding: 4px 14px 24px; }

/* ================= Header ================= */
.ngms-header {
	position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px;
	padding: 10px 12px; background: var(--bg); box-shadow: 0 1px 0 var(--line);
}
.ngms-icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
	background: var(--card); color: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 0; flex: 0 0 auto;
}
.ngms-icon-btn svg { width: 22px; height: 22px; }
.ngms-account { background: var(--g); color: #fff; border-color: var(--g); }
.ngms-badge {
	position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff;
	font: 700 11px/19px "Poppins", sans-serif; text-align: center; font-style: normal; border: 2px solid var(--bg);
}
.ngms-header-actions { display: flex; align-items: center; gap: 8px; }
.ngms-brand { display: flex; align-items: center; gap: 8px; min-width: 0; justify-self: center; }
.ngms-brand-mark { height: 36px; width: auto; flex: 0 0 auto; }
.ngms-brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.ngms-brand-name { font-size: 25px; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; }
.ngms-brand-name b { color: var(--navy); font-weight: 800; }
.ngms-brand-name em { color: #1b8a2f; font-style: normal; }
html[data-ngh-theme="dark"] .ngms-brand-name em { color: #35d46d; }
.ngms-brand-tag { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 10.5px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.ngms-brand-tag::before, .ngms-brand-tag::after { content: ""; height: 2px; width: 10px; background: var(--g); border-radius: 2px; }
.ngms-cart-link { display: none; }
.ngms-root .ngh-theme-btn { width: 42px; height: 42px; }

/* ================= Search ================= */
.ngms-search {
	position: relative; display: flex; align-items: center; margin: 12px 0; background: var(--card); border: 2px solid #bfe6cf; border-radius: 16px; padding: 4px; box-shadow: var(--shadow-sm);
}
html[data-ngh-theme="dark"] .ngms-search { border-color: #1f5a3a; }
.ngms-search-ico { position: absolute; left: 14px; width: 20px; height: 20px; color: var(--g); pointer-events: none; }
.ngms-search input[type="search"] {
	flex: 1; min-width: 0; height: 42px; border: 0; background: transparent; outline: 0; box-shadow: none; padding: 0 10px 0 42px; font: 500 14.5px/1 inherit; color: var(--text); -webkit-appearance: none; appearance: none;
}
.ngms-search input[type="search"]::placeholder { color: var(--muted); }
.ngms-search:focus-within { border-color: var(--g); }
.ngms-search-btn { width: 52px; height: 42px; border: 0; border-radius: 12px; background: var(--g); color: #fff; display: grid; place-items: center; padding: 0; }
.ngms-search-btn svg { width: 22px; height: 22px; }

/* ================= Banner ================= */
.ngms-banner {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; overflow: hidden; border-radius: 20px; padding: 18px 8px 18px 20px; min-height: 112px;
	background: linear-gradient(120deg, #06803f 0%, #078D4B 45%, #0a5a45 80%, #092B50 130%); color: #fff; box-shadow: var(--shadow);
}
.ngms-banner::after { content: ""; position: absolute; right: -40px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%); }
.ngms-banner-copy { position: relative; z-index: 1; max-width: 62%; }
.ngms-root .ngms-banner h2 { color: #fff; font-size: 21px; font-weight: 800; }
.ngms-banner p { margin-top: 4px; font-size: 13px; opacity: .92; }
.ngms-banner-art { position: relative; z-index: 1; width: 44%; max-width: 250px; height: auto; flex: 0 0 auto; }

/* ================= Categories ================= */
.ngms-cats { margin: 14px -14px 4px; }
.ngms-cats ul { display: flex; gap: 12px; overflow-x: auto; padding: 4px 14px 8px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ngms-cats ul::-webkit-scrollbar { display: none; }
.ngms-cats li { flex: 0 0 auto; scroll-snap-align: start; }
.ngms-cat { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 74px; text-align: center; }
.ngms-cat-ico { width: 58px; height: 58px; border-radius: 18px; background: var(--b-soft); display: grid; place-items: center; overflow: hidden; border: 2px solid transparent; transition: border-color .15s, transform .15s; }
.ngms-cats li:nth-child(3n+1) .ngms-cat-ico { background: var(--g-soft); }
li:nth-child(3n+2) .ngms-cat-ico { background: var(--b-soft); }
li:nth-child(3n+3) .ngms-cat-ico { background: #fdeef0; }
html[data-ngh-theme="dark"] li:nth-child(3n+3) .ngms-cat-ico { background: #35161a; }
.ngms-cat-ico img { width: 38px; height: 38px; object-fit: contain; }
.ngms-cat-ico b { font-size: 22px; color: var(--g); font-weight: 800; }
.ngms-cat-ico--all { color: var(--g); }
.ngms-cat-ico--all svg { width: 28px; height: 28px; }
.ngms-cat-name { font-size: 12px; font-weight: 600; color: var(--navy); line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ngms-cat-count { font-size: 10.5px; color: var(--muted); margin-top: -3px; }
.ngms-cat.is-active .ngms-cat-ico { border-color: var(--g); transform: translateY(-1px); }
.ngms-cat.is-active .ngms-cat-name { color: var(--g); }

/* ================= Title bar ================= */
.ngms-titlebar { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 12px 0 4px; flex-wrap: wrap; }
.ngms-root .ngms-title { font-size: 30px; font-weight: 800; }
.ngms-sub { color: var(--muted); font-size: 13px; }
.ngms-tools { display: flex; gap: 8px; align-items: center; margin-left: auto; max-width: 100%; }
.ngms-tool {
	position: relative; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--navy); font: 600 13.5px/1 inherit; min-width: 0;
}
.ngms-tool svg { width: 18px; height: 18px; flex: 0 0 auto; }
.ngms-tool span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; }
.ngms-tool--primary { background: var(--g); border-color: var(--g); color: #fff; }
.ngms-dot { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.ngms-showing { margin: 6px 0 12px; font-size: 13px; font-weight: 600; color: var(--navy); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.ngms-clear-link { color: var(--g); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* ================= Grid + cards ================= */
.ngms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ngms-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; min-width: 0; transition: box-shadow .2s, transform .2s; }
.ngms-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ngms-card-media { position: relative; margin: 8px 8px 0; border-radius: 14px; background: var(--gray); aspect-ratio: 1 / 1; overflow: hidden; }
.ngms-card-img { display: block; width: 100%; height: 100%; }
.ngms-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: normal; }
.ngms-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 5px; z-index: 2; align-items: flex-start; pointer-events: none; }
.ngms-badge-pill { padding: 3px 10px; border-radius: 99px; font: 700 11.5px/1.4 "Poppins", sans-serif; color: #fff; background: var(--g); }
.ngms-badge-pill--sale { background: var(--g); }
.ngms-badge-pill--new { background: var(--navy); }
html[data-ngh-theme="dark"] .ngms-badge-pill--new { background: #2b6cb0; color: #fff; }
.ngms-wish { position: absolute; top: 8px; right: 8px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); color: var(--navy); overflow: hidden; }
.ngms-wish .yith-wcwl-add-to-wishlist, .ngms-wish .tinvwl_add_to_wishlist_button { margin: 0 !important; }
.ngms-card-body { display: flex; flex-direction: column; gap: 4px; padding: 9px 10px 12px; flex: 1; }
.ngms-card-rating { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted); }
.ngms-card-title { font-size: 13.5px; font-weight: 700; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ngms-card-title a { color: var(--navy); }

.ngms-price { font-weight: 800; color: var(--g); font-size: 15.5px; line-height: 1.25; display: flex; flex-direction: column; }
.ngms-price .price { display: flex; flex-direction: column; }
.ngms-price del { order: -1; color: #98a2b3; font-size: 12px; font-weight: 500; text-decoration: line-through; opacity: 1; }
.ngms-price ins { text-decoration: none; background: none; color: var(--g); }
.ngms-price .woocommerce-Price-amount { font-weight: 800; }
.ngms-price del .woocommerce-Price-amount { font-weight: 500; }
.ngms-card .ngms-price { margin-top: auto; padding-top: 2px; min-height: 2.5em; justify-content: flex-end; }

/* stars */
.ngms-stars {
	--sz: 14px; --r: 0; position: relative; display: inline-block; flex: 0 0 auto; width: calc(var(--sz) * 5); height: var(--sz); vertical-align: -2px;
	background: linear-gradient(90deg, var(--star) calc(var(--r) * 20%), #d5dbe1 0);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.5l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L1.4 7.8l6-.8z'/%3E%3C/svg%3E") 0 0 / var(--sz) var(--sz) repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.5l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L1.4 7.8l6-.8z'/%3E%3C/svg%3E") 0 0 / var(--sz) var(--sz) repeat-x;
}
html[data-ngh-theme="dark"] .ngms-stars { background: linear-gradient(90deg, var(--star) calc(var(--r) * 20%), #3a4852 0); }

/* ================= Buttons ================= */
.ngms-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 40px; padding: 0 14px; border: 2px solid var(--g); border-radius: 999px; background: var(--g); color: #fff !important;
	font: 700 13.5px/1 "Poppins", sans-serif; text-align: center; cursor: pointer; transition: background .15s, transform .1s, opacity .15s; -webkit-appearance: none; appearance: none;
}
.ngms-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.ngms-btn:hover { background: var(--g-dark); border-color: var(--g-dark); }
.ngms-btn:active { transform: scale(.98); }
.ngms-btn--outline { background: transparent; color: var(--g) !important; }
.ngms-btn--outline:hover { background: var(--g-soft); border-color: var(--g); }
.ngms-btn--inline { width: auto; padding: 0 22px; min-height: 44px; }
.ngms-btn--lg { min-height: 54px; font-size: 16px; }
.ngms-btn--lg svg { width: 22px; height: 22px; }
.ngms-btn--disabled, .ngms-btn:disabled, .ngms-btn.is-disabled { background: #c9d2db !important; border-color: #c9d2db !important; color: #fff !important; cursor: not-allowed; opacity: 1; }
html[data-ngh-theme="dark"] .ngms-btn--disabled, html[data-ngh-theme="dark"] .ngms-btn:disabled { background: #34434c !important; border-color: #34434c !important; color: #9fb0bc !important; }
.ngms-btn.is-loading { opacity: .8; pointer-events: none; }
.ngms-btn.is-added { background: var(--navy); border-color: var(--navy); }

/* ================= Pagination ================= */
.ngms-pagination { margin: 22px 0 6px; }
.ngms-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ngms-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--navy); font-weight: 700; font-size: 14px; }
.ngms-pagination .page-numbers.current { background: var(--g); border-color: var(--g); color: #fff; }
.ngms-pagination a.page-numbers:hover { border-color: var(--g); color: var(--g); }
.ngms-pagination .dots { border: 0; background: transparent; }

/* ================= Empty ================= */
.ngms-empty { text-align: center; padding: 36px 16px 20px; border: 1.5px dashed var(--line); border-radius: 22px; background: var(--gray); }
.ngms-empty svg { width: 110px; height: 110px; margin: 0 auto 8px; }
.ngms-empty h2 { font-size: 20px; }
.ngms-empty p { margin: 6px auto 16px; max-width: 420px; color: var(--muted); font-size: 14px; }
.ngms-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ================= Sheets ================= */
.ngms-sheet { position: fixed; inset: 0; z-index: 99990; }
.ngms-sheet-overlay { position: absolute; inset: 0; background: rgba(9, 43, 80, .5); opacity: 0; transition: opacity .2s; }
.ngms-sheet-panel {
	position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; display: flex; flex-direction: column; background: var(--card); color: var(--text); border-radius: 26px 26px 0 0;
	padding: 8px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .24s ease; box-shadow: 0 -10px 40px rgba(9, 43, 80, .25); margin: 0;
}
.ngms-sheet.is-open .ngms-sheet-overlay { opacity: 1; }
.ngms-sheet.is-open .ngms-sheet-panel { transform: none; }
.ngms-grab { align-self: center; width: 44px; height: 5px; border-radius: 9px; background: var(--line); margin: 2px 0 8px; }
.ngms-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 10px; }
.ngms-sheet-head h2 { font-size: 18px; }
.ngms-x { width: 38px; height: 38px; border: 0; background: transparent; color: var(--muted); font-size: 30px; line-height: 1; border-radius: 50%; }
.ngms-sort-list { overflow: auto; }
.ngms-sort-opt { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--text); }
.ngms-sort-opt:hover { background: var(--gray); }
.ngms-sort-opt.is-selected { background: var(--g-soft); font-weight: 700; color: var(--navy); }
.ngms-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #aab6c3; display: grid; place-items: center; flex: 0 0 auto; }
.ngms-sort-opt.is-selected .ngms-radio { border-color: var(--g); }
.ngms-sort-opt.is-selected .ngms-radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--g); }
.ngms-filter-body { overflow: auto; display: flex; flex-direction: column; gap: 14px; padding: 4px 2px 8px; }
.ngms-sheet-foot { display: flex; gap: 10px; padding-top: 12px; }
.ngms-sheet-foot .ngms-btn { flex: 1; }

/* forms */
.ngms-field { display: flex; flex-direction: column; gap: 6px; }
.ngms-field label, .ngms-label { font-weight: 700; font-size: 14px; color: var(--navy); display: block; }
.ngms-field select, .ngms-field input[type="text"], .ngms-field input[type="email"], .ngms-field input[type="number"], .ngms-field textarea, .ngms-pricerow input {
	width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); font: 500 14.5px/1.3 inherit; outline: 0; box-shadow: none;
}
.ngms-field textarea { resize: vertical; min-height: 110px; }
.ngms-field select:focus, .ngms-field input:focus, .ngms-field textarea:focus, .ngms-pricerow input:focus { border-color: var(--g); }
.ngms-pricerow { display: flex; align-items: center; gap: 8px; }
.ngms-pricerow input { flex: 1; min-width: 0; }
.ngms-check { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 14.5px; }
.ngms-check input { width: 20px; height: 20px; accent-color: var(--g); }
.ngms-field-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.req { color: var(--red); }

/* toast */
.ngms-toast {
	position: fixed; left: 50%; bottom: 104px; z-index: 99999; transform: translate(-50%, 16px); opacity: 0; transition: opacity .22s, transform .22s; max-width: min(92vw, 460px);
	display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--navy); color: #fff; font: 600 13.5px/1.35 "Poppins", sans-serif; box-shadow: 0 10px 30px rgba(9, 43, 80, .35);
}
html[data-ngh-theme="dark"] .ngms-toast { background: #243541; }
.ngms-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.ngms-toast.is-err { background: #b4232a; }
.ngms-toast a { color: #8ff0b6; font-weight: 800; white-space: nowrap; text-decoration: underline; }

/* ================= Single product ================= */
.ngms-pwrap { padding-top: 12px; }
.ngms-pgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ngms-gallery { position: relative; padding-left: 74px; }
.ngms-thumbs { position: absolute; left: 0; top: 0; bottom: 0; width: 64px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }
.ngms-thumbs::-webkit-scrollbar { display: none; }
.ngms-gallery:not(:has(.ngms-thumbs)) { padding-left: 0; }
.ngms-thumb { width: 64px; height: 64px; padding: 3px; border-radius: 14px; background: var(--card); border: 2px solid var(--line); flex: 0 0 auto; overflow: hidden; }
.ngms-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.ngms-thumb.is-active { border-color: var(--g); box-shadow: 0 0 0 2px var(--g-soft); }
.ngms-stage { position: relative; aspect-ratio: 1 / 1; border-radius: 22px; background: var(--gray); border: 1px solid var(--line); overflow: hidden; }
.ngms-zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.ngms-zoom img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.ngms-stage .ngms-badges { top: 12px; left: 12px; }
.ngms-stage .ngms-wish { top: 12px; right: 12px; width: 40px; height: 40px; }
.ngms-counter { position: absolute; right: 12px; bottom: 12px; background: #456b8f; color: #fff; font: 700 12px/1 "Poppins", sans-serif; padding: 7px 11px; border-radius: 99px; }
.ngms-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 26px; line-height: 1; box-shadow: var(--shadow-sm); display: none; }
.ngms-arrow--prev { left: 10px; } .ngms-arrow--next { right: 10px; }
@media (hover: hover) { .ngms-stage:hover .ngms-arrow { display: block; } }

.ngms-ptitle { font-size: 24px; font-weight: 800; margin-top: 4px; }
.ngms-root .ngms-ptitle { font-size: 24px; }
.ngms-prating { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; }
.ngms-prating .ngms-stars { --sz: 18px; }
.ngms-prating a { color: var(--g); font-weight: 600; }
.ngms-prating a.ngms-muted { color: var(--muted); }
.ngms-prow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ngms-pprice.ngms-price { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 30px; min-height: 0; }
.ngms-pprice .price { flex-direction: row-reverse; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; gap: 4px 12px; }
.ngms-pprice del { order: 2; font-size: 16px; }
.ngms-discount { background: var(--g); color: #fff; font: 700 13px/1 "Poppins", sans-serif; padding: 7px 12px; border-radius: 99px; }
.ngms-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ngms-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 14px; background: var(--g-soft); border: 1px solid rgba(7, 141, 75, .18); color: var(--g); font: 600 13px/1.2 "Poppins", sans-serif; }
.ngms-chip svg { width: 20px; height: 20px; flex: 0 0 auto; }
.ngms-chip--stock { color: var(--g); }
.ngms-chip--stock.is-out { color: var(--red); background: #fdeef0; border-color: rgba(229, 72, 77, .25); }
html[data-ngh-theme="dark"] .ngms-chip--stock.is-out { background: #35161a; }
.ngms-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.ngms-meta a { color: var(--g); font-weight: 600; }

.ngms-buy { margin-top: 12px; }
.ngms-attrs { display: flex; flex-direction: column; gap: 14px; }
.ngms-attr .ngms-label { margin-bottom: 8px; }
.ngms-selval { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 4px; }
.ngms-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.ngms-opt { min-width: 52px; padding: 9px 16px; border-radius: 13px; border: 2px solid var(--line); background: var(--gray); color: var(--navy); font: 700 14px/1.1 "Poppins", sans-serif; transition: border-color .15s, background .15s; }
.ngms-opt.is-selected { border-color: var(--g); background: var(--g-soft); color: var(--g); box-shadow: 0 0 0 2px rgba(7, 141, 75, .12); }
.ngms-opt.is-unavailable { opacity: .5; border-style: dashed; }
.ngms-opt:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.ngms-opt--swatch { width: 38px; height: 38px; min-width: 38px; padding: 0; border-radius: 50%; background: var(--sw, #ccc); border: 2px solid rgba(9, 43, 80, .18); position: relative; }
.ngms-opt--swatch .ngms-opt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.ngms-opt--swatch.is-selected { border-color: #fff; background: var(--sw); box-shadow: 0 0 0 3px var(--g); }
.ngms-opt--swatch:disabled { text-decoration: none; background-image: linear-gradient(135deg, transparent 46%, #e5484d 46%, #e5484d 54%, transparent 54%); }
.ngms-attr.is-missing .ngms-opts { outline: 2px solid var(--red); outline-offset: 5px; border-radius: 10px; animation: ngms-shake .35s; }
@keyframes ngms-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.ngms-formmsg { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #fdeef0; color: #a3212a; font-size: 13.5px; font-weight: 600; }
.ngms-buyrow { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: end; margin-top: 14px; }
.ngms-buyrow > .ngms-btn:only-child, .ngms-buyrow > input + .ngms-btn { grid-column: 1 / -1; }
.ngms-qtywrap .ngms-label { margin-bottom: 8px; }
.ngms-qty { display: inline-flex; align-items: center; height: 54px; border: 2px solid var(--line); border-radius: 999px; background: var(--card); padding: 0 5px; }
.ngms-qbtn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--g-soft); color: var(--g); font-size: 24px; font-weight: 700; line-height: 1; display: grid; place-items: center; padding: 0; }
.ngms-qinput { width: 46px; border: 0 !important; background: transparent !important; text-align: center; font: 700 17px/1 "Poppins", sans-serif; color: var(--navy) !important; padding: 0; outline: 0; box-shadow: none; -moz-appearance: textfield; appearance: textfield; min-height: 0 !important; }
.ngms-qinput::-webkit-outer-spin-button, .ngms-qinput::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ngms-legacy-form { margin-top: 14px; }
.ngms-legacy-form table { width: 100%; }
.ngms-legacy-form .button, .ngms-legacy-form button.single_add_to_cart_button { background: var(--g); color: #fff; border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 700; }

/* tabs */
.ngms-tabs { margin-top: 22px; }
.ngms-tablist { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: var(--gray); border: 1px solid var(--line); border-radius: 16px; padding: 4px; }
.ngms-tablist::-webkit-scrollbar { display: none; }
.ngms-tab { flex: 1 0 auto; border: 0; background: transparent; padding: 12px 16px; border-radius: 12px; font: 700 14px/1 "Poppins", sans-serif; color: var(--muted); white-space: nowrap; border-bottom: 3px solid transparent; }
.ngms-tab.is-active { background: var(--g-soft); color: var(--g); border-bottom-color: var(--g); }
.ngms-panel { margin-top: 12px; padding: 18px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.ngms-js .ngms-panel:not(.is-active) { display: none; }
.ngms-prose { font-size: 15px; line-height: 1.7; overflow-wrap: anywhere; }
.ngms-prose p { margin: 0 0 12px; }
.ngms-lead { font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.ngms-prose ul { margin: 0 0 12px; }
.ngms-prose ul li { position: relative; padding-left: 28px; margin: 6px 0; }
.ngms-prose ul li::before { content: ""; position: absolute; left: 0; top: .35em; width: 17px; height: 17px; border-radius: 50%; background: var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-8.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ngms-prose ol { list-style: decimal; padding-left: 22px; margin: 0 0 12px; }
.ngms-prose img { border-radius: 12px; margin: 10px 0; }
.ngms-prose a { color: var(--g); font-weight: 600; text-decoration: underline; }
.ngms-prose table { width: 100%; display: block; overflow-x: auto; }
.ngms-specs { overflow-x: auto; }
.ngms-specs table { width: 100%; border-collapse: collapse; font-size: 14.5px; border: 0; }
.ngms-specs tr:nth-child(odd) { background: var(--gray); }
.ngms-specs th, .ngms-specs td { padding: 12px 14px; text-align: left; border: 0; vertical-align: top; }
.ngms-specs th { width: 38%; color: var(--muted); font-weight: 600; }
.ngms-specs td { color: var(--navy); font-weight: 600; }
.ngms-specs td p { margin: 0; }

/* reviews */
.ngms-rsum { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-bottom: 18px; }
.ngms-rbig { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 110px; }
.ngms-rbig b { font-size: 44px; line-height: 1; color: var(--navy); font-weight: 800; }
.ngms-rbig span { font-size: 12.5px; color: var(--muted); }
.ngms-rbig .ngms-stars { --sz: 18px; }
.ngms-bars { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; min-width: 180px; }
.ngms-bars li { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.ngms-bars i { height: 8px; border-radius: 9px; background: var(--line); overflow: hidden; display: block; }
.ngms-bars u { display: block; height: 100%; background: var(--star); border-radius: 9px; text-decoration: none; }
.ngms-bars em { font-style: normal; text-align: right; }
.ngms-reviews { display: flex; flex-direction: column; gap: 12px; }
.ngms-review { padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--gray); }
.ngms-review:target { outline: 2px solid var(--g); }
.ngms-review-head { display: flex; align-items: center; gap: 10px; }
.ngms-review-head > div { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; column-gap: 8px; align-items: baseline; }
.ngms-review-head strong { color: var(--navy); font-size: 14.5px; }
.ngms-review-head time { width: 100%; font-size: 12px; color: var(--muted); }
.ngms-verified { font-style: normal; font-size: 11px; font-weight: 700; color: var(--g); background: var(--g-soft); padding: 2px 8px; border-radius: 99px; }
.ngms-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--g); color: #fff; display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }
.ngms-review-text { margin-top: 8px; font-size: 14.5px; line-height: 1.6; overflow-wrap: anywhere; }
.ngms-review-text p { margin: 0 0 6px; }
.ngms-writebox { margin-top: 20px; padding: 16px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--gray); }
.ngms-writebox h3 { font-size: 18px; margin-bottom: 12px; }
.ngms-review-form { display: flex; flex-direction: column; gap: 14px; }
.ngms-review-form .ngms-btn { align-self: flex-start; }
.ngms-rate { border: 0; padding: 0; margin: 0; }
.ngms-rate legend { font-weight: 700; color: var(--navy); font-size: 14px; padding: 0; margin-bottom: 6px; }
.ngms-rate-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.ngms-rate-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ngms-rate-stars label {
	width: 38px; height: 38px; cursor: pointer; background: #d5dbe1; display: block;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.5l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L1.4 7.8l6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.5l2.6 5.5 6 .8-4.4 4.2 1.1 6-5.3-2.9-5.3 2.9 1.1-6L1.4 7.8l6-.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ngms-rate-stars input:checked ~ label, .ngms-rate-stars label:hover, .ngms-rate-stars label:hover ~ label { background: var(--star); }
.ngms-rate-stars input:focus-visible + label { outline: 2px solid var(--g); outline-offset: 2px; }
.ngms-note { padding: 12px 14px; border-radius: 12px; background: var(--b-soft); color: var(--navy); font-size: 14px; margin-top: 14px; }
.ngms-note a { color: var(--g); font-weight: 700; text-decoration: underline; }
.ngms-note--ok { background: var(--g-soft); margin: 0 0 14px; }

/* related */
.ngms-related { margin-top: 28px; }
.ngms-related h2 { font-size: 22px; margin-bottom: 12px; }
.ngms-rail { display: flex; gap: 12px; overflow-x: auto; padding: 4px 14px 14px; margin: 0 -14px; scroll-snap-type: x proximity; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.ngms-rail .ngms-card { flex: 0 0 auto; width: min(46vw, 210px); scroll-snap-align: start; }

/* lightbox */
.ngms-lightbox { position: fixed; inset: 0; z-index: 99995; background: rgba(5, 15, 30, .94); display: flex; align-items: center; justify-content: center; }
.ngms-lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 10px; background: #fff; }
.ngms-lb-close { position: absolute; top: 12px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 32px; line-height: 1; }
.ngms-lightbox .ngms-arrow { display: block; }

/* fallback nav (only without the Homepage UI plugin) */
.ngms-fallback-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; justify-content: space-around; background: var(--card); border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(9, 43, 80, .08); }
.ngms-fallback-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--muted); min-width: 60px; }
.ngms-fallback-nav a svg { width: 25px; height: 25px; }
.ngms-fallback-nav a.is-active { color: var(--g); }
.ngms-fallback-nav .ngms-badge { top: -3px; right: 10px; }

/* ================= Larger screens ================= */
@media (min-width: 560px) {
	.ngms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
	.ngms-field-row { grid-template-columns: 1fr 1fr; }
	.ngms-banner { min-height: 130px; padding-left: 28px; }
	.ngms-root .ngms-banner h2 { font-size: 26px; }
}
@media (min-width: 768px) {
	.ngms-header { grid-template-columns: auto auto minmax(0, 1fr) ; padding: 12px 22px; gap: 14px; }
	.ngms-brand { justify-self: start; }
	.ngms-brand-mark { height: 44px; }
	.ngms-brand-name { font-size: 29px; }
	.ngms-header-actions { justify-self: end; }
	.ngms-cart-link { display: inline-flex; }
	.ngms-wrap { padding: 8px 22px 32px; }
	.ngms-search { max-width: 820px; margin: 16px auto; }
	.ngms-cats { margin-left: -22px; margin-right: -22px; }
	.ngms-cats ul { padding-left: 22px; padding-right: 22px; justify-content: flex-start; }
	.ngms-cat { width: 90px; }
	.ngms-cat-ico { width: 68px; height: 68px; }
	.ngms-cat-ico img { width: 44px; height: 44px; }
	.ngms-root .ngms-title { font-size: 36px; }
	.ngms-card-title { font-size: 14.5px; }
	.ngms-sheet-panel { left: 50%; right: auto; bottom: auto; top: 50%; width: 520px; max-width: 94vw; border-radius: 26px; transform: translate(-50%, -46%); opacity: 0; transition: transform .22s, opacity .22s; padding: 14px 24px 22px; }
	.ngms-sheet.is-open .ngms-sheet-panel { transform: translate(-50%, -50%); opacity: 1; }
	.ngms-grab { display: none; }
	.ngms-toast { bottom: 40px; }
	.ngms-rail { margin: 0; padding-left: 0; padding-right: 0; }
	.ngms-rail .ngms-card { width: 230px; }
	.ngms-panel { padding: 24px; }
	.ngms-gallery { padding-left: 94px; }
	.ngms-thumbs { width: 80px; }
	.ngms-thumb { width: 80px; height: 80px; }
	.ngms-field-row { grid-template-columns: 1fr 1fr; }
	.ngms-fallback-nav { justify-content: center; gap: 60px; }
	body.ngms-has-nav .ngms-root { padding-bottom: 110px; }
}
@media (min-width: 960px) {
	.ngms-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
	.ngms-pgrid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 36px; align-items: start; }
	.ngms-gallery { position: sticky; top: 90px; }
	.ngms-ptitle, .ngms-root .ngms-ptitle { font-size: 32px; }
	.ngms-pprice.ngms-price { font-size: 38px; }
	.ngms-banner { min-height: 150px; padding: 26px 30px; }
	.ngms-root .ngms-banner h2 { font-size: 32px; }
	.ngms-banner p { font-size: 15px; }
	.ngms-banner-art { width: 36%; }
	.ngms-buyrow { grid-template-columns: auto minmax(0, 360px); }
}
@media (min-width: 1360px) {
	.ngms-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
	.ngms-brand-name { font-size: 21px; }
	.ngms-brand-mark { height: 30px; }
	.ngms-tool span { max-width: 120px; }
	.ngms-gallery { padding-left: 66px; }
	.ngms-thumbs, .ngms-thumb { width: 56px; }
	.ngms-thumb { height: 56px; }
	.ngms-ptitle, .ngms-root .ngms-ptitle { font-size: 21px; }
	.ngms-pprice.ngms-price { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	.ngms-root *, .ngms-sheet-panel, .ngms-toast { transition: none !important; animation: none !important; }
}
