/* WishGroup B2B catalog */
.wsg-root {
	--wsg-accent: #1f6f5c;
	--wsg-accent-dark: #17574a;
	--wsg-border: #e3e6e8;
	--wsg-muted: #000; /* Brand: black text everywhere, hierarchy by weight only. */
	--wsg-bg-soft: #f6f8f8;
	--wsg-sel: #eef7f4;
	--wsg-danger: #b3261e;
	font-size: 15px;
	line-height: 1.45;
	color: #000;
	padding-bottom: 96px;
}
.wsg-root *, .wsg-root *::before, .wsg-root *::after { box-sizing: border-box; }
.wsg-root [hidden] { display: none !important; }

/* Buttons */
.wsg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	background: var(--wsg-accent); color: #fff; border: 0; border-radius: 6px;
	padding: 11px 20px; font-weight: 600; font-size: 15px; cursor: pointer; line-height: 1.2;
	transition: background .15s;
}
.wsg-btn:hover:not(:disabled) { background: var(--wsg-accent-dark); }
.wsg-btn:disabled { opacity: .45; cursor: not-allowed; }
.wsg-btn--ghost { background: #fff; color: var(--wsg-accent); border: 1px solid var(--wsg-accent); }
.wsg-btn--ghost:hover:not(:disabled) { background: var(--wsg-sel); }
.wsg-link { background: none; border: 0; padding: 4px 6px; color: var(--wsg-muted); text-decoration: underline; cursor: pointer; font-size: 14px; }
.wsg-link:disabled { opacity: .4; cursor: default; }
.is-loading { opacity: .6; pointer-events: none; }

/* Producer selection */
.wsg-select {
	min-height: calc(100vh - 320px); display: flex; flex-direction: column;
	align-items: center; justify-content: center; text-align: center; padding: 24px 0;
}
.wsg-select__title { margin: 0 0 6px; }
.wsg-select__lead { color: var(--wsg-muted); margin: 0 auto 24px; max-width: 620px; }
.wsg-select__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; }
.wsg-select__grid .wsg-producer { flex: 0 1 280px; }
.wsg-producer {
	display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
	background: #fff; border: 1px solid var(--wsg-border); border-radius: 10px; padding: 22px;
	cursor: pointer; transition: border-color .15s, box-shadow .15s; font: inherit; color: inherit;
}
.wsg-producer:hover { border-color: var(--wsg-accent); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.wsg-producer.is-active { border-color: var(--wsg-accent); background: var(--wsg-sel); }
.wsg-producer__name { font-size: 20px; font-weight: 700; }
.wsg-producer__logo { display: flex; align-items: center; justify-content: center; height: 64px; margin-bottom: 6px; }
.wsg-producer__logo img { max-height: 64px; max-width: 220px; width: auto; height: auto; object-fit: contain; margin: 0; }
.wsg-head__producer { align-items: center; }
.wsg-head__logo { max-height: 44px; max-width: 180px; width: auto; height: auto; object-fit: contain; margin: 0 4px 0 0; }
.wsg-producer__desc { color: var(--wsg-muted); font-size: 14px; }
.wsg-producer__meta { font-size: 13px; color: var(--wsg-muted); }
.wsg-producer__cart { font-size: 13px; font-weight: 600; color: var(--wsg-accent); }

/* Header */
.wsg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.wsg-head__producer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.wsg-head__label { color: var(--wsg-muted); }
.wsg-head__name { font-size: 22px; }
.wsg-head__min { font-size: 13px; color: var(--wsg-muted); }
.wsg-head__switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wsg-head__all { font-size: 14px; color: #000; text-decoration: underline; text-underline-offset: 3px; }
.wsg-head__switch-label { font-size: 14px; font-weight: 700; color: #000; }
.wsg-chip {
	display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid #000;
	border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 700; cursor: pointer; color: #000;
	transition: background-color .15s ease, color .15s ease;
}
.wsg-chip::before {
	content: ""; width: 16px; height: 16px; flex: 0 0 16px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%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 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}
.wsg-chip:hover, .wsg-chip:focus-visible { background: #000; color: #fff; }
.wsg-chip:hover .wsg-chip__badge { background: #fff; color: #000; }
.wsg-chip__badge { background: var(--wsg-accent); color: #fff; border-radius: 999px; font-size: 12px; min-width: 20px; padding: 1px 6px; text-align: center; }

/* Toolbar */
.wsg-toolbar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	padding: 12px; background: var(--wsg-bg-soft); border: 1px solid var(--wsg-border); border-radius: 8px; margin-bottom: 8px;
	position: sticky; top: 0; z-index: 5;
}
.admin-bar .wsg-toolbar { top: 32px; }
.wsg-field { margin: 0; }
.wsg-field--search { flex: 1 1 260px; }
.wsg-root .wsg-toolbar .wsg-field--letter select { min-width: 130px; }
.wsg-root .wsg-toolbar .wsg-field--perpage select { min-width: 140px; }
.wsg-toolbar input[type="search"], .wsg-toolbar select {
	width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--wsg-border); border-radius: 6px; background: #fff; font-size: 14px; margin: 0;
}
/* Own select arrow – overrides theme arrows that repeat when background is reset. */
.wsg-root .wsg-toolbar select {
	min-width: 170px;
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	background-color: #fff !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b7378' stroke-width='1.6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	background-size: 12px 8px !important;
	padding-right: 34px !important;
}
.wsg-count { margin-left: auto; font-size: 13px; color: var(--wsg-muted); }

/* Table */
.wsg-table { width: 100%; border-collapse: collapse; margin: 0; table-layout: auto; }
.wsg-table th {
	text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--wsg-muted);
	padding: 10px 8px; border-bottom: 2px solid var(--wsg-border); background: none; font-weight: 600;
}
.wsg-table td { padding: 8px; border-bottom: 1px solid var(--wsg-border); vertical-align: middle; background: #fff; }
.wsg-row:nth-child(odd) td { background: #ffffff; }
.wsg-row:nth-child(even) td { background: #f8f8f8; }
.wsg-row:hover td { background: #f1f4f4; }
.wsg-row.is-selected td { background: var(--wsg-sel); }
.wsg-row.is-disabled { opacity: .55; }
.wsg-col-img { width: 64px; }
.wsg-col-img img { width: 52px; height: 52px; object-fit: contain; display: block; border-radius: 4px; background: #fff; margin: 0; }
.wsg-col-price { width: 150px; white-space: nowrap; text-align: right; }
.wsg-table th.wsg-col-price { text-align: right; }
.wsg-col-qty { width: 190px; }
.wsg-name { display: block; font-weight: 600; color: inherit; text-decoration: none; }
.wsg-name:hover { color: var(--wsg-accent); text-decoration: underline; }
.wsg-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--wsg-muted); margin-top: 2px; }
.wsg-net { display: block; font-weight: 700; font-size: 16px; }
.wsg-net small { font-weight: 400; font-size: 12px; color: var(--wsg-muted); }
.wsg-zoom { display: block; cursor: zoom-in; }

/* Lightbox */
.wsg-lightbox {
	position: fixed; inset: 0; z-index: 2147483001; display: flex; align-items: center; justify-content: center;
	background: rgba(15, 18, 20, .86); padding: 40px 20px; cursor: zoom-out;
}
.wsg-lightbox figure { margin: 0; max-width: min(900px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wsg-lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; background: #fff; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.wsg-lightbox figcaption { color: #fff; font-size: 15px; text-align: center; }
.wsg-lightbox__close {
	position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.wsg-lightbox__close:hover { background: rgba(255,255,255,.25); }
.wsg-gross { display: block; font-size: 12px; color: var(--wsg-muted); }
.wsg-stock--outofstock { color: var(--wsg-danger); }
.wsg-status td { text-align: center; color: var(--wsg-muted); padding: 28px 8px; }

/* Quantity */
.wsg-qty { display: flex; width: 100%; max-width: 220px; align-items: stretch; border: 1px solid #1d2327; border-radius: 6px; overflow: hidden; background: #fff; }
.wsg-qty__btn { flex: 0 0 44px; width: 44px; font-weight: 700; border: 0; background: var(--wsg-bg-soft); font-size: 18px; line-height: 1; cursor: pointer; color: inherit; padding: 0; }
.wsg-qty__btn:hover { background: #e9eded; }
.wsg-qty__input {
	flex: 1 1 auto; width: auto !important; min-width: 48px; height: 38px; border: 0 !important; border-left: 1px solid #1d2327 !important; border-right: 1px solid #1d2327 !important;
	text-align: center; font-size: 15px; font-weight: 600; padding: 0 4px !important; margin: 0 !important; -moz-appearance: textfield; border-radius: 0 !important; box-shadow: none !important;
}
.wsg-qty__input::-webkit-outer-spin-button, .wsg-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wsg-row.is-selected .wsg-qty { border-color: var(--wsg-accent); }
.wsg-incart { display: block; font-size: 12px; color: var(--wsg-accent); margin-top: 3px; }
.wsg-unavailable { font-size: 13px; color: var(--wsg-muted); }

/* Load more */
.wsg-more { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 20px 0; }

/* Floating bar */
.wsg-bar {
	/* !important: wp-components CSS (loaded e.g. by Popup Maker) sets [role="region"] { position: relative }. */
	position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 9990;
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px;
	padding: 12px max(16px, calc((100vw - 1200px) / 2));
	background: #fff; border-top: 1px solid var(--wsg-border); box-shadow: 0 -6px 20px rgba(0,0,0,.08);
}
.wsg-bar__cart { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 14px; }
.wsg-bar__cartlink { color: inherit; text-decoration: none; }
.wsg-bar__cartlink:hover { text-decoration: underline; }
.wsg-bar__min { color: var(--wsg-danger); font-size: 13px; }
.wsg-bar__cartlink strong .woocommerce-Price-amount { font-weight: inherit; }
.wsg-btn.wsg-bar__order { padding: 9px 16px; font-size: 14px; text-decoration: none; }
.wsg-bar__sel { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.wsg-bar__selinfo { font-size: 14px; color: var(--wsg-muted); }
.wsg-bar.has-selection .wsg-bar__selinfo { color: inherit; }
.wsg-bar.has-selection .wsg-bar__add { box-shadow: 0 0 0 3px rgba(31,111,92,.2); }

/* Toast */
.wsg-toast {
	position: fixed; right: 16px; bottom: 90px; z-index: 9991; max-width: 420px;
	background: #1d2327; color: #fff; padding: 14px 18px; border-radius: 8px; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.wsg-toast a { color: #9be3cf; font-weight: 600; }
.wsg-toast.is-error { background: #fff; color: #1d2327; border-left: 4px solid var(--wsg-danger); }
.wsg-toast.is-error a { color: var(--wsg-accent); }
.wsg-toast ul { margin: 8px 0 0 18px; padding: 0; }

/* Paste order modal */
.wsg-paste-open { padding: 9px 14px; font-size: 14px; }
body.wsg-modal-open { overflow: hidden; }
.wsg-modal {
	position: fixed; inset: 0; z-index: 2147483000; background: rgba(15, 18, 20, .55);
	display: flex; align-items: flex-start; justify-content: center; padding: max(120px, 14vh) 16px 40px; overflow-y: auto;
}
.wsg-modal[hidden] { display: none !important; }
.wsg-modal__box {
	position: relative; width: 100%; max-width: 860px; background: #fff; border-radius: 10px;
	padding: 24px 28px; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.wsg-modal__box h3 { margin: 0 0 8px; }
.wsg-modal__lead { color: var(--wsg-muted); margin: 0 0 12px; font-size: 14px; }
.wsg-modal__close {
	position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; background: none;
	font-size: 26px; line-height: 1; cursor: pointer; color: var(--wsg-muted);
}
.wsg-paste__text {
	width: 100%; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px;
	border: 1px solid var(--wsg-border); border-radius: 6px; padding: 10px; resize: vertical; tab-size: 16;
}
.wsg-modal__actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 14px; }
.wsg-paste__summary { font-size: 14px; margin: 0 0 10px; }
.wsg-paste__tablewrap { max-height: 50vh; overflow: auto; border: 1px solid var(--wsg-border); border-radius: 6px; }
.wsg-paste__table { width: 100%; border-collapse: collapse; margin: 0; font-size: 13px; }
.wsg-paste__table th { position: sticky; top: 0; background: var(--wsg-bg-soft); text-align: left; padding: 8px; font-size: 12px; color: var(--wsg-muted); }
.wsg-paste__table td { padding: 6px 8px; border-top: 1px solid var(--wsg-border); vertical-align: middle; }
.wsg-paste__table tr.is-ok td:last-child { color: var(--wsg-accent); font-weight: 600; }
.wsg-paste__table tr.is-other td:last-child { color: #8a5a00; font-weight: 600; }
.wsg-paste__table tr.is-error td { background: #fdf3f2; }
.wsg-paste__table tr.is-error td:last-child { color: var(--wsg-danger); font-weight: 600; }
.wsg-paste__qty { width: 70px !important; height: 30px; padding: 0 6px !important; margin: 0 !important; border: 1px solid var(--wsg-border) !important; border-radius: 4px !important; text-align: center; }
.wsg-paste__others { display: block; margin-top: 12px; font-size: 14px; }
.wsg-muted { color: var(--wsg-muted); }

.wsg-company-notice { background: #fff8e5; border: 1px solid #f0d58a; border-left: 4px solid #d9a400; padding: 10px 14px; border-radius: 4px; margin-bottom: 14px; font-size: 14px; }
.wsg-company-notice a { font-weight: 600; margin-left: 6px; }

/* Cart page notice */
.wsg-cart-notice { background: #f6f8f8; border: 1px solid #e3e6e8; border-left: 4px solid #1f6f5c; padding: 12px 16px; margin-bottom: 20px; border-radius: 4px; }
.wsg-cart-notice p { margin: 0; }
.wsg-cart-notice p + p { margin-top: 6px; font-size: 14px; }

/* Login */

/* Mobile */
@media (max-width: 720px) {
	.wsg-table thead { display: none; }
	.wsg-table, .wsg-table tbody { display: block; }
	.wsg-row { display: grid; grid-template-columns: 56px 1fr; grid-template-areas: "img name" "img price" "qty qty"; gap: 4px 10px; padding: 10px 0; border-bottom: 1px solid var(--wsg-border); }
	.wsg-table td { display: block; border: 0; padding: 0; background: none !important; }
	.wsg-row.is-selected { background: var(--wsg-sel); }
	.wsg-col-img { grid-area: img; width: auto; }
	.wsg-col-name { grid-area: name; }
	.wsg-col-price { grid-area: price; text-align: left; width: auto; }
	.wsg-col-qty { grid-area: qty; width: auto; display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px; }
	.wsg-col-qty .wsg-unit, .wsg-col-qty .wsg-qty { flex: 1 0 100%; max-width: none; margin: 0; }
	.wsg-net, .wsg-gross { display: inline; margin-right: 8px; }
	.wsg-toolbar { position: static; }
	.wsg-root .wsg-toolbar select { min-width: 0; }
	.wsg-row:nth-child(even):not(.is-selected) { background: #f8f8f8; }
	.wsg-field { flex: 1 1 45%; }
	.wsg-field--search { flex-basis: 100%; }
	.wsg-bar { padding: 10px 12px; }
	.wsg-bar__sel { width: 100%; justify-content: space-between; margin-left: 0; }
	.wsg-bar__selinfo { font-size: 13px; }
	.wsg-root { padding-bottom: 140px; }
	.wsg-toast { left: 12px; right: 12px; bottom: 130px; }
}

/* Commercial terms */
.wsg-terms-summary{display:flex;flex-wrap:wrap;gap:4px 24px;margin:0 0 14px;padding:10px 14px;background:#f8f8f8;border-left:3px solid #2e7d32;font-size:13px;line-height:1.5}
.wsg-terms-summary__fulfil{color:#555}
.wsg-terms-notice{margin:0 0 20px;padding:12px 16px;background:#f3f8f3;border-left:3px solid #2e7d32;font-size:14px}
.wsg-terms-notice p{margin:0 0 4px}
.wsg-terms-notice p:last-child{margin:0}
.wsg-terms-fulfil{color:#555}

/* Guest gate: welcome, brands, login + registration */
.wsg-gate { max-width: 1120px; margin: 0 auto; padding: 8px 0 24px; }
.wsg-gate .woocommerce-error, .wsg-gate .woocommerce-message, .wsg-gate .woocommerce-info { margin: 0 0 24px; }
.wsg-gate__hero { text-align: center; padding: 24px 16px 8px; }
.wsg-gate__eyebrow { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--wsg-accent); font-weight: 600; }
.wsg-nowrap { white-space: nowrap; }
.wsg-gate__title { margin: 0 auto 12px; max-width: 960px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
.wsg-gate__lead { margin: 0 auto; max-width: 640px; color: var(--wsg-muted); font-size: 17px; }
.wsg-gate__logos { list-style: none; margin: 32px auto 8px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 48px; }
.wsg-gate ul, .wsg-gate ul li { list-style: none !important; }
.wsg-gate ul li::marker { content: none; }
.wsg-gate__logos li { margin: 0; padding: 0; display: flex; align-items: center; height: 56px; }
.wsg-gate__logo--natural-herbs img { height: 132px !important; max-width: none !important; margin: -38px -40px; }
.wsg-gate__logos img { display: block; height: 44px; width: auto; max-width: 190px; object-fit: contain; filter: brightness(0); opacity: 1; }
.wsg-gate__terms { margin: 28px auto 0; max-width: 980px; }
.wsg-gate__terms .wsg-terms-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.wsg-gate__terms .wsg-terms-list li { margin: 0; padding: 7px 14px; background: var(--wsg-bg-soft); border: 1px solid var(--wsg-border); border-radius: 999px; font-size: 14px; }
.wsg-gate__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; margin-top: 40px; align-items: start; }
.wsg-gate__cols--single { grid-template-columns: minmax(0, 460px); justify-content: center; }
.wsg-gate__card { background: #fff; border: 1px solid var(--wsg-border); border-radius: 14px; padding: 32px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.wsg-gate__card--register { background: var(--wsg-bg-soft); }
.wsg-gate__card h2 { margin: 0 0 6px; font-size: 22px; }
.wsg-gate__hint { margin: 0 0 20px; color: var(--wsg-muted); font-size: 14px; }
.wsg-gate__note { margin: 0 0 22px; padding: 12px 14px; background: #fff; border: 1px solid var(--wsg-border); border-left: 3px solid var(--wsg-accent); border-radius: 8px; font-size: 14px; }
.wsg-gate form.login, .wsg-gate form.register { margin: 0; padding: 0; border: 0; }
.wsg-gate .form-row { margin: 0 0 14px; padding: 0; }
.wsg-gate .form-row-first, .wsg-gate .form-row-last { width: calc(50% - 7px); float: left; }
.wsg-gate .form-row-last { margin-left: 14px; }
.wsg-gate .form-row-wide, .wsg-gate .wsg-terms-accept { clear: both; }
.wsg-gate form.login .form-row-first, .wsg-gate form.login .form-row-last { width: 100%; float: none; margin-left: 0; }
.wsg-gate .clear { clear: both; }
.wsg-gate label { display: block; margin: 0 0 5px; font-size: 13px; font-weight: 600; color: #1d2327; }
.wsg-gate label.checkbox, .wsg-gate .woocommerce-form-login__rememberme { display: inline-flex; align-items: flex-start; gap: 8px; font-weight: 400; font-size: 14px; line-height: 1.4; }
.wsg-gate input[type="text"], .wsg-gate input[type="email"], .wsg-gate input[type="tel"], .wsg-gate input[type="password"] {
	width: 100% !important; height: 44px; padding: 0 12px; margin: 0; border: 1px solid #cfd5d9; border-radius: 8px; background: #fff; font-size: 15px; box-shadow: none;
}
.wsg-gate input:focus { border-color: var(--wsg-accent); outline: 2px solid rgba(31, 111, 92, .15); outline-offset: 0; }
.wsg-gate input[type="checkbox"] { width: 16px; height: 16px; margin: 2px 0 0; flex: 0 0 auto; }
.wsg-gate .required { color: var(--wsg-danger); text-decoration: none; border: 0; }
.wsg-gate .password-input { display: block; position: relative; }
.wsg-gate button.button, .wsg-gate .woocommerce-form-login__submit {
	display: inline-flex; align-items: center; justify-content: center; min-width: 180px; height: 46px; padding: 0 24px; margin: 6px 0 0;
	background: #1f6f5c !important; color: #fff !important; border: 0 !important; border-radius: 8px; font-weight: 600; font-size: 15px; letter-spacing: 0; text-transform: none; cursor: pointer;
}
.wsg-gate button.button:hover { background: #17574a !important; color: #fff !important; }
.wsg-gate .woocommerce-form-login .form-row:last-of-type { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.wsg-gate .lost_password { margin: 14px 0 0; font-size: 14px; }
.wsg-gate .lost_password a, .wsg-gate .wsg-terms-accept a { color: var(--wsg-accent); text-decoration: underline; }
.wsg-gate .woocommerce-privacy-policy-text p { font-size: 13px; color: var(--wsg-muted); margin: 0 0 14px; }

@media (max-width: 860px) {
	.wsg-gate__cols { grid-template-columns: minmax(0, 1fr); }
	.wsg-gate__card { padding: 22px 18px; }
	.wsg-gate__logos { gap: 16px 28px; }
	.wsg-gate__logos img { height: 38px; }
}
@media (max-width: 480px) {
	.wsg-gate .form-row-first, .wsg-gate .form-row-last { width: 100%; float: none; margin-left: 0; }
}

/* Paste modal: load from file */
.wsg-paste__file { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px; }
.wsg-paste__filebtn { cursor: pointer; margin: 0; }
.wsg-paste__filenote { font-size: 13px; color: var(--wsg-muted); }
.wsg-paste__filenote.is-done { color: var(--wsg-accent); font-weight: 600; }

/* Catalog bar: progress to discount */
.wsg-bar__goal { flex: 1 1 320px; max-width: 620px; }
.wsg-bar__goal .wsg-goal__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1100px) { .wsg-bar__goal .wsg-goal__text { white-space: normal; } }
.wsg-bar__goal .wsg-goal__track { margin-top: 16px; }
@media (max-width: 720px) { .wsg-bar__goal { order: 3; max-width: none; width: 100%; } }

/* My lists */
.wsg-lists { position: relative; }
.wsg-lists > summary { list-style: none; cursor: pointer; }
.wsg-lists > summary::-webkit-details-marker { display: none; }
.wsg-lists__n { display: inline-block; min-width: 20px; padding: 1px 6px; border-radius: 99px; background: var(--wsg-accent); color: #fff; font-size: 12px; line-height: 18px; text-align: center; }
.wsg-lists__panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; width: min(440px, 92vw); padding: 14px; background: #fff; border: 1px solid var(--wsg-border); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.wsg-lists__panel ul { list-style: none; margin: 0; padding: 0; }
.wsg-lists__panel li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--wsg-border); margin: 0; }
.wsg-lists__panel li:last-child { border-bottom: 0; }
.wsg-lists__name { flex: 1; min-width: 0; font-size: 14px; }
.wsg-lists__name small { display: block; color: var(--wsg-muted); font-size: 12px; }
.wsg-btn.wsg-lists__load { padding: 7px 12px; font-size: 13px; text-decoration: none; white-space: nowrap; }
.wsg-lists__del { font-size: 12px; }
.wsg-lists__empty, .wsg-lists__hint { margin: 0; font-size: 13px; color: var(--wsg-muted); }
.wsg-lists__hint { margin-top: 8px; }
/* Theme link colours must not override button text */
a.wsg-btn:not(.wsg-btn--ghost), a.wsg-btn:not(.wsg-btn--ghost):hover, a.wsg-btn:not(.wsg-btn--ghost):focus, a.wsg-btn:not(.wsg-btn--ghost):visited { color: #fff !important; text-decoration: none !important; }
a.wsg-btn.wsg-lists__load:hover { background: var(--wsg-accent-dark); }

/* Promotions: new products / products of the month */
.wsg-promo-badge{display:inline-block;margin:2px 0 4px;padding:2px 8px;border-radius:3px;font-size:11px;font-weight:600;line-height:1.5;letter-spacing:.3px;color:#fff;background:#1f6f5c;white-space:nowrap}
.wsg-promo-badge--month{background:#b45309}
.wsg-promo-badge--featured{background:#7c5c12}
.wsg-col-name .wsg-promo-badge{display:table}
.wsg-net--promo del{opacity:.55;font-weight:400;margin-right:4px}
.wsg-row.is-promo{background:rgba(31,111,92,.04)}
.wsg-row.is-promo--month{background:rgba(180,83,9,.05)}

/* Floating bar: dark brand background, one row (B2B update, pts 9–10). */
.wsg-bar { background: var(--wsg-accent-dark); color: #fff; border-top-color: var(--wsg-accent-dark); box-shadow: 0 -6px 20px rgba(0,0,0,.18); font-size: 13px; padding-top: 9px; padding-bottom: 9px; gap: 8px 16px; }
@media (min-width: 1100px) { .wsg-bar { flex-wrap: nowrap; } }
.wsg-bar__cart, .wsg-bar__sel { flex: 0 0 auto; flex-wrap: nowrap; gap: 10px; font-size: 13px; white-space: nowrap; }
.wsg-bar a, .wsg-bar .wsg-bar__cartlink, .wsg-bar strong, .wsg-bar .woocommerce-Price-amount { color: #fff !important; }
.wsg-bar .wsg-bar__selinfo { color: rgba(255,255,255,.8); font-size: 13px; }
.wsg-bar.has-selection .wsg-bar__selinfo { color: #fff; }
.wsg-bar .wsg-bar__min { color: #ffd8d4; font-size: 12px; }
.wsg-bar .wsg-link, .wsg-bar .wsg-link:hover { color: #fff !important; font-size: 13px; }
.wsg-bar .wsg-link:disabled { color: rgba(255,255,255,.55) !important; opacity: 1; }
/* Compact bar buttons: "Koszyk" (icon + count) and "Finalizuj". */
.wsg-bar__btn { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.8); border-radius: 6px; font-size: 13px; font-weight: 600; line-height: 1.3; text-decoration: none !important; white-space: nowrap; }
.wsg-bar__btn:hover { background: rgba(255,255,255,.12); }
.wsg-bar__btn.wsg-bar__order { background: #fff; color: var(--wsg-accent-dark) !important; border-color: #fff; }
.wsg-bar__btn.wsg-bar__order:hover { background: var(--wsg-sel); }
.wsg-bar__ico { position: relative; display: inline-flex; }
.wsg-bar__badge { position: absolute; top: -8px; right: -10px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #fff; color: var(--wsg-accent-dark) !important; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
.wsg-bar__tocart { gap: 14px; padding-right: 14px; }
/* Buttons: white on dark. */
.wsg-bar .wsg-btn { background: #fff; color: var(--wsg-accent-dark); border: 1px solid #fff; padding: 7px 14px; font-size: 13px; }
.wsg-bar .wsg-btn:hover:not(:disabled) { background: var(--wsg-sel); color: var(--wsg-accent-dark); }
.wsg-bar .wsg-btn:disabled { opacity: .5; }
.wsg-bar.has-selection .wsg-bar__add { box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
/* Threshold progress: shorter, compact. */
.wsg-bar .wsg-bar__goal { flex: 1 1 300px; max-width: 520px; min-width: 0; }
.wsg-bar .wsg-goal { min-width: 0; }
.wsg-bar .wsg-goal__track { background: rgba(255,255,255,.25); margin: 12px 0 4px; height: 6px; }
.wsg-bar .wsg-goal__fill { background: #8fd3b9; }
.wsg-bar .wsg-goal__mark { background: rgba(255,255,255,.55); height: 12px; top: -3px; }
.wsg-bar .wsg-goal__mark.is-reached { background: #8fd3b9; }
.wsg-bar .wsg-goal__mark span { bottom: 13px; font-size: 10px; }
.wsg-bar .wsg-goal__mark span, .wsg-bar .wsg-goal__sep { color: rgba(255,255,255,.75); }
.wsg-bar .wsg-goal__mark.is-reached span { color: #8fd3b9; }
.wsg-bar .wsg-goal__text { color: #fff; font-size: 11.5px; line-height: 1.35; white-space: normal !important; }
@media (max-width: 1099px) { .wsg-bar__cart, .wsg-bar__sel { flex-wrap: wrap; white-space: normal; } .wsg-bar .wsg-bar__goal { max-width: none; } }

/* Promo banners above the product list (1/2 + 1/2). */
.wsg-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 18px; }
.wsg-banner { display: block; border-radius: 8px; overflow: hidden; line-height: 0; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform .15s, box-shadow .15s; }
.wsg-banner:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.wsg-banner img { display: block; width: 100%; height: auto; }
@media (max-width: 720px) { .wsg-banners { grid-template-columns: 1fr; } }

/* Bulk package unit switch (pcs / carton) in the catalog row. */
.wsg-unit { display: flex; width: 100%; max-width: 220px; margin: 0 0 6px; border: 1px solid #1d2327; border-radius: 6px; overflow: hidden; }
.wsg-unit__btn { flex: 1 1 50%; padding: 6px 8px; border: 0; background: #fff; color: #000; font-size: 12px; font-weight: 700; line-height: 1.3; cursor: pointer; white-space: nowrap; }
.wsg-unit__btn + .wsg-unit__btn { border-left: 1px solid #1d2327; }
.wsg-unit__btn.is-active { background: var(--wsg-accent); color: #fff; }
.wsg-unit__btn:not(.is-active):hover { background: #f1f1ee; }
.wsg-carton-hint { display: block; font-size: 11px; color: var(--wsg-accent); margin-top: 3px; }
.wsg-row.is-carton .wsg-qty { border-color: var(--wsg-accent); }
.wsg-promo-badge--carton { background: #2f5d8a; }

/* Paste order: bulk package top-up */
.wsg-paste__cartons { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 0 10px; padding: 10px 12px; border: 2px solid #000; border-radius: 6px; }
.wsg-paste__cartons-note { margin: 0; font-size: 14px; flex: 1 1 320px; }
.wsg-paste__topup { font-weight: 700; }
.wsg-paste__table .wsg-paste__chk { width: 28px; text-align: center; }
.wsg-paste__table .wsg-paste__chk input { width: 16px; height: 16px; margin: 0; }
.wsg-paste__carton { font-size: 12px; line-height: 1.35; white-space: nowrap; }
.wsg-paste__ok { color: var(--wsg-accent); font-weight: 700; }
/* Paste order checkboxes: own look (theme draws them almost invisible on white). */
.wsg-paste__table input[type="checkbox"] {
	-webkit-appearance: none !important; appearance: none !important;
	display: inline-block !important; position: relative !important;
	width: 18px !important; height: 18px !important; min-width: 18px; margin: 0 !important; padding: 0 !important;
	border: 2px solid #000 !important; border-radius: 3px !important; background: #fff !important;
	box-shadow: none !important; cursor: pointer; vertical-align: middle; opacity: 1 !important;
}
.wsg-paste__table input[type="checkbox"]:checked { background: #000 !important; }
.wsg-paste__table input[type="checkbox"]:checked::after {
	content: ""; position: absolute; left: 4px; top: 0; width: 6px; height: 10px;
	border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.wsg-paste__table input[type="checkbox"]::before { display: none !important; }
.wsg-paste__table input[type="checkbox"]:disabled { border-color: #c4c7c5 !important; cursor: default; }
.wsg-paste__table input[type="checkbox"]:focus-visible { outline: 2px solid var(--wsg-accent); outline-offset: 2px; }

/* Custom promotional campaign: full-width banner on top, own badge colour. */
.wsg-banners--full { grid-template-columns: 1fr; }
.wsg-promo-badge--action { background: #000; }
.wsg-row.is-promo--action { background: rgba(0,0,0,.035); }
