/* Zone West necker configurator — ported from zonewest-web/css/site.css */
/* ---- neckers: gallery ---- */
.page-head { margin: 0 0 2rem; }
.page-head h1 { margin: 0 0 0.5rem; font-size: 2rem; }
.necker-shape { margin-bottom: 3rem; }
.necker-shape-head { display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap; border-bottom: 2px solid #0a0a0a; margin-bottom: 1.25rem; }
.necker-shape-head h2 { margin: 0 0 0.5rem; font-size: 1.5rem; }
.necker-sizes { margin: 0; font-size: 0.85rem; color: #999; }
.necker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.necker-card {
	display: block;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	padding: 1.1rem;
	text-decoration: none;
	color: #767676;
	text-align: center;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.necker-card:hover { border-color: #d0041c; box-shadow: 0 2px 12px rgba(208, 4, 28, 0.1); }
.necker-thumb svg { width: 100%; height: 110px; }
/* square (diamond) templates have a ~1:1 viewBox — give them more height so
 * the diamonds render at a similar visual size to the triangles */
#square .necker-thumb svg { height: 190px; }
.necker-card h3 { margin: 0.75rem 0 0.35rem; font-size: 1rem; color: #242424; }
.necker-cta { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #d0041c; }

/* ---- neckers: designer ---- */
.designer { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .designer { grid-template-columns: 1fr; } }
.designer-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.25rem; flex-wrap: wrap; }
.designer-head h1 { margin: 0; font-size: 1.75rem; }
.shape-tag { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #d0041c; vertical-align: middle; margin-left: 0.5rem; }
.necker-stage { border: 1px solid #ececec; border-radius: 6px; background: #fafafa; padding: 2.5rem; }
.necker-stage svg { width: 100%; height: auto; display: block; }
.designer-hint { font-size: 0.875rem; color: #999; }
.designer-region, .designer-option { margin-bottom: 1.4rem; }
.designer-region h3, .designer-option h3, .designer-pricing h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch {
	width: 30px; height: 30px;
	border-radius: 7px;
	border: 1px solid rgba(0, 0, 0, 0.25);
	cursor: pointer;
	padding: 0;
}
.swatch.selected { outline: 2px solid #000; outline-offset: 0; }
.option-pill { display: inline-block; margin: 0 0.5rem 0.25rem 0; padding: 0.35rem 0.8rem; border: 1px solid #ddd; border-radius: 999px; cursor: pointer; color: #444; }
.option-pill:has(input:checked) { border-color: #d0041c; color: #d0041c; font-weight: 700; }
.option-pill input { accent-color: #d0041c; }
.price-table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.price-table th, .price-table td { border: 1px solid #e5e5e5; padding: 0.45rem 0.6rem; text-align: right; }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table th { background: #fafafa; color: #242424; }
.price-table .dim { color: #aaa; font-size: 0.8rem; }
.price-note { font-size: 0.8rem; color: #999; }
.designer-actions { margin-top: 1.5rem; }
.qty-row { display: block; margin-bottom: 0.75rem; font-size: 0.9rem; color: #444; }
.qty-row input { width: 90px; margin-left: 0.5rem; padding: 0.35rem 0.5rem; border: 1px solid #ddd; border-radius: 4px; font-size: 0.95rem; }
.price-table .qty-hit { background: #fdeaea; }
.price-table th.qty-hit { background: #d0041c; color: #fff; }
.qty-estimate { font-size: 0.85rem; color: #444; }
/* Necker drawings: thinner outline, tight mitred corners (overrides the fat
 * round-joined strokes baked into the template SVGs). */
.necker-part { stroke: none; }
.necker-outline { fill: none; stroke: #1a1a1a; stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-linejoin: miter; stroke-miterlimit: 4; }
/* per-size quantity inputs + minimum-order feedback */
.price-table .qty-col { text-align: center; }
.size-qty { width: 58px; padding: 0.3rem 0.35rem; border: 1px solid #ddd; border-radius: 4px; font-size: 0.95rem; text-align: right; }
.size-qty:focus { outline: 2px solid #d0041c; outline-offset: 0; border-color: #d0041c; }
#min-note.min-bad { color: #d0041c; }
#min-note.flash { animation: min-flash 0.9s ease-out 2; }
@keyframes min-flash {
	0%, 100% { background: transparent; color: inherit; }
	30% { background: #d0041c; color: #fff; }
}
#min-note { padding: 0 3px; border-radius: 3px; }
.qty-bad { color: #d0041c; }
.btn.btn-disabled { opacity: 0.45; cursor: not-allowed; }
/* currency/locale picker */
.locale-picker { margin-left: auto; font-size: 13px; font-weight: 700; letter-spacing: 0.03em; }
.locale-picker a { color: #999; text-decoration: none; padding: 0.25rem 0.2rem; }
.locale-picker a:hover { color: #d0041c; }
.locale-picker a.active { color: #d0041c; }
.locale-picker .sep { color: #ddd; }

.designer-preview .designer-hint { margin: 0.75rem 0 0; }
/* pricing lives under the preview, same column */
.designer-pricing { margin-top: 1.75rem; }
.designer-pricing h3 { font-size: 1.15rem; }
.subtotal-col { text-align: right; font-weight: 700; color: #242424; min-width: 90px; }
th.subtotal-col { background: #fafafa; }
.designer-actions { margin-top: 1.25rem; }
/* near-break spotlight + nudge */
.price-table th.qty-near { background: #f7c937; color: #242424; }
.price-table td.qty-near { background: #fdf3d5; }
.qty-nudge { font-size: 0.85rem; font-weight: 700; color: #a83133; }
/* crest/logo upload block */
.designer-logo { margin-bottom: 1.4rem; border-top: 1px solid #eee; padding-top: 1.2rem; }
.logo-note { font-size: 0.8rem; color: #999; margin: 0.25rem 0 0.6rem; }
/* drag & drop zone */
.dropzone {
	border: 2px dashed #ccc;
	border-radius: 8px;
	padding: 1.5rem 1rem;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
	position: relative;
	margin: 0.5rem 0 0.75rem;
}
.dropzone:hover, .dropzone:focus-visible { border-color: #a83133; outline: none; }
.dropzone.drag { border-color: #d0041c; background: #fdf3f3; }
.dropzone.busy { pointer-events: none; }
.dropzone.busy .dz-icon, .dropzone.busy .dz-copy, .dropzone.busy .dz-types { opacity: 0.25; }
.dz-icon { width: 34px; height: 34px; fill: #a83133; margin-bottom: 0.35rem; }
.dropzone.drag .dz-icon { fill: #d0041c; }
.dz-copy strong { display: block; color: #242424; font-family: Roboto, sans-serif; font-weight: 500; }
.dz-copy span { font-size: 0.85rem; color: #999; }
.dz-types { display: block; margin-top: 0.6rem; font-size: 0.72rem; letter-spacing: 0.04em; color: #767676; }
.dz-status {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center; gap: 0.5rem;
	font-weight: 700; color: #a83133;
}
.dz-status[hidden] { display: none; }
.dz-spinner {
	width: 18px; height: 18px;
	border: 3px solid #f0d2d2; border-top-color: #d0041c;
	border-radius: 50%;
	animation: dz-spin 0.8s linear infinite;
}
@keyframes dz-spin { to { transform: rotate(360deg); } }
.dz-error { margin-top: 0.5rem; font-size: 0.85rem; font-weight: 700; color: #d0041c; }
.dropzone.shake { animation: dz-shake 0.35s; }
@keyframes dz-shake {
	25% { transform: translateX(-5px); }
	50% { transform: translateX(5px); }
	75% { transform: translateX(-3px); }
}

#logo-preview { display: flex; align-items: center; gap: 0.85rem; margin: 0.75rem 0; }
.logo-art { position: relative; }
.logo-badge {
	display: inline-flex; align-items: center; justify-content: center;
	width: 170px; height: 120px;
	border: 1px solid #e5e5e5; border-radius: 4px;
	background: #fafafa;
	font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; color: #a83133;
}
.logo-meta { display: flex; flex-direction: column; gap: 0.2rem; }
.logo-actions { font-size: 0.8rem; color: #ccc; }
#logo-thumb {
	max-width: 170px; max-height: 170px;
	border: 1px solid #e5e5e5; border-radius: 4px; padding: 3px;
	background: repeating-conic-gradient(#f2f2f2 0% 25%, #fff 0% 50%) 0 0 / 16px 16px;
}
#logo-name { font-size: 0.85rem; color: #444; word-break: break-all; }
.linkish { background: none; border: 0; color: #a83133; cursor: pointer; font-size: 0.8rem; text-decoration: underline; padding: 0; }
.designer-decoration { margin: 0.5rem 0; }
/* social share bar */
.share-bar { display: flex; gap: 6px; flex-shrink: 0; align-items: flex-start; }
.sh {
	width: 30px; height: 30px;
	border: 0; border-radius: 50%;
	background: #ececec;
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer;
	transition: background 0.15s;
}
.sh svg { width: 15px; height: 15px; fill: #555; transition: fill 0.15s; }
.sh:hover svg { fill: #fff; }
.sh-fb:hover { background: #1877f2; }
.sh-x:hover { background: #000; }
.sh-pi:hover { background: #bd081c; }
.sh-li:hover { background: #0a66c2; }
.sh-tg:hover { background: #26a5e4; }
.sh-cp:hover { background: #a83133; }
.sh.shared { background: #459647; }
.sh.shared svg { fill: #fff; }
/* random-design button */
.head-tools { display: flex; align-items: center; gap: 1rem; }
.btn-random {
	display: inline-flex; align-items: center; gap: 0.45rem;
	background: #fff; color: #a83133;
	border: 1px solid #a83133; border-radius: 999px;
	padding: 0.4rem 1rem;
	font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}
.btn-random svg { width: 16px; height: 16px; fill: currentColor; }
.btn-random svg .pip { fill: #fff; }
.btn-random:hover { background: #a83133; color: #fff; }
.btn-random:hover svg .pip { fill: #a83133; }
.btn-random:active svg { transform: rotate(90deg); transition: transform 0.15s; }
/* style-jump dropdown + subtotal visibility */
.style-jump {
	font-family: Lato, sans-serif; font-weight: 700; font-size: 0.85rem;
	text-transform: uppercase; letter-spacing: 0.06em;
	color: #d0041c; background: #fff;
	border: 1px solid #eee; border-radius: 5px;
	padding: 0.3rem 0.5rem; margin-left: 0.6rem;
	vertical-align: middle; cursor: pointer; max-width: 300px;
}
.price-table.no-qty .subtotal-col { display: none; }

/* ---- garments: search + category tiles ---- */

/* --- embed adjustments for the revived just-neckers shells --- */
.designer{display:grid;grid-template-columns:1.05fr .95fr;gap:2rem;align-items:start}
.designer-preview{position:sticky;top:90px}
.necker-stage svg{width:100%;height:auto;display:block}
.designer-controls{display:flex;flex-direction:column;gap:1.25rem}
@media(max-width:860px){.designer{grid-template-columns:1fr}.designer-preview{position:static}}

/* custom-neckers gallery: 3 columns (Joce 2026-09-10) */
.necker-grid{grid-template-columns:repeat(3,1fr) !important}
@media(max-width:820px){.necker-grid{grid-template-columns:repeat(2,1fr) !important}}
@media(max-width:520px){.necker-grid{grid-template-columns:1fr !important}}
