/* ==========================================================================
   New Concept Bar — components.css
   Buttons, cards, forms, filters, chips, prose, pagination
   ========================================================================== */

.ncb-icon { display: inline-block; width: 24px; height: 24px; vertical-align: middle; flex: none; }

/* --- Buttons -------------------------------------------------------------- */
.ncb-btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; font-size: .84rem;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.ncb-btn .ncb-icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.ncb-btn:hover { transform: translateY(-2px); }
.ncb-btn:active { transform: translateY(0); }
.ncb-btn:hover .ncb-icon { transform: translateX(3px); }

.ncb-btn--gold { background: var(--ncb-gold-grad); color: #201607; box-shadow: var(--shadow-gold); }
.ncb-btn--gold:hover { color: #201607; box-shadow: 0 24px 60px -18px rgba(201,150,47,.55); }
.ncb-btn--gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%); transform: translateX(-120%); transition: transform var(--dur-slow) var(--ease); }
.ncb-btn--gold:hover::after { transform: translateX(120%); }

.ncb-btn--outline { border-color: var(--ncb-gold-soft); color: var(--ncb-gold-3); }
.ncb-btn--outline:hover { border-color: var(--ncb-gold-3); background: color-mix(in srgb, var(--ncb-gold-2) 12%, transparent); color: var(--ncb-gold-3); }

.ncb-btn--ghost { border-color: var(--ncb-line-solid); color: var(--ncb-text); }
.ncb-btn--ghost:hover { border-color: var(--ncb-gold-2); color: var(--ncb-gold-3); }

.ncb-btn--accent { background: linear-gradient(120deg, var(--ncb-accent), var(--ncb-accent-deep)); color: #fff; box-shadow: var(--shadow-accent); }
.ncb-btn--accent:hover { color: #fff; }

/* --- Section headings ----------------------------------------------------- */
.ncb-section-head { max-width: 720px; margin-bottom: clamp(2.4rem, 1.5rem + 3vw, 4rem); }
.ncb-section-head__title { font-size: var(--text-3xl); margin: 1rem 0 1.1rem; }
.ncb-section-head__lead { margin: 0; }

/* --- Surface / card base -------------------------------------------------- */
.ncb-card, .ncb-value, .ncb-contact__form-wrap {
  background: linear-gradient(180deg, var(--ncb-surface) 0%, var(--ncb-surface-2) 100%);
  border: 1px solid var(--ncb-line);
  border-radius: var(--radius-lg);
}

/* --- Product card --------------------------------------------------------- */
.ncb-card {
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ncb-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--ncb-gold-2) 45%, var(--ncb-line-solid)); box-shadow: var(--shadow); }
/* No fixed aspect-ratio: the media box takes the shot's own height. Product
   images range from 0.4 (tall bottles) to 1.4 (landscape catalogue sheets), and
   a single frame either cropped them or left dead bands. Landscape shots now
   span the full card width with the height following the ratio — no gaps; tall
   ones are capped by --ncb-card-media-h and centre themselves.
   No hover scale on the image: it cropped the edges of shots that are meant to
   be read whole. The card still lifts on hover. */
.ncb-card { --ncb-card-media-h: 480px; }
.ncb-card__media { position: relative; overflow: hidden; background: radial-gradient(circle at 50% 40%, #17151a, #0a0a0c 78%); }
.ncb-card__img { display: block; width: 100%; }
.ncb-card__media picture { display: block; width: 100%; }
/* ncb_asset_picture() puts the class on <picture>, so the sizing has to be
   restated on the replaced element itself.
   width:100% + height:auto + max-height does both jobs at once, with no need to
   know the ratio in PHP: a landscape shot stays under the cap, so its box keeps
   the natural ratio and object-fit never crops; a portrait one hits the cap, so
   the box becomes 100% x cap and `cover` zooms it to fill instead of leaving
   bands down the sides. */
.ncb-card__media img {
  display: block; width: 100%; height: auto; max-height: var(--ncb-card-media-h);
  object-fit: cover; object-position: center;
}
.ncb-card__img--placeholder { display: block; aspect-ratio: 4 / 5; background: var(--ncb-gold-line); }
/* Starts lower and lighter than it used to: the shot now reaches the bottom
   edge of the media box, so a heavy wash would dim the product itself. It only
   has to keep the línea pill legible — the pill carries its own backdrop. */
.ncb-card__sheen { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(10,10,12,.6) 100%); pointer-events: none; }

.ncb-card__count {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 62px; padding: .5rem .6rem; border-radius: 14px; text-align: center;
  background: color-mix(in srgb, var(--ncb-black) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--ncb-gold-2) 40%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ncb-card__count-num { font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: var(--ncb-gold-3); }
.ncb-card__count-label { font-size: .56rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ncb-muted); margin-top: .25em; }
.ncb-card__line {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ncb-gold-3);
  padding: .35rem .7rem; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--ncb-black) 55%, transparent); border: 1px solid var(--ncb-line);
}

.ncb-card__body { display: flex; flex-direction: column; gap: .55rem; padding: 1.5rem 1.5rem 1.6rem; flex: 1; }
.ncb-card__title { font-size: 1.5rem; }
.ncb-card__tagline { font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ncb-gold); }
.ncb-card__excerpt { font-size: .93rem; color: var(--ncb-muted); line-height: 1.6; }
.ncb-card__features { display: flex; flex-wrap: wrap; gap: .4rem .8rem; margin-top: .3rem; }
.ncb-card__features li { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--ncb-text); }
.ncb-card__features .ncb-icon { width: 15px; height: 15px; color: var(--ncb-gold-2); }
.ncb-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--ncb-line); }
.ncb-card__meta { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--ncb-muted); }
.ncb-card__meta .ncb-icon { width: 15px; height: 15px; color: var(--ncb-accent); }
.ncb-card__link { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ncb-gold-3); }
.ncb-card__link .ncb-icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.ncb-card__link:hover .ncb-icon { transform: translate(3px, -3px); }

/* --- Value cards ---------------------------------------------------------- */
.ncb-value { display: flex; gap: 1.1rem; padding: 1.5rem 1.6rem; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.ncb-value:hover { transform: translateX(6px); border-color: color-mix(in srgb, var(--ncb-gold-2) 40%, var(--ncb-line-solid)); }
.ncb-value__icon { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; color: var(--ncb-gold-3); background: color-mix(in srgb, var(--ncb-gold-2) 12%, transparent); border: 1px solid color-mix(in srgb, var(--ncb-gold-2) 30%, transparent); }
.ncb-value__icon .ncb-icon { width: 24px; height: 24px; }
.ncb-value__title { font-size: 1.3rem; margin-bottom: .3rem; }
.ncb-value__text { font-size: .92rem; color: var(--ncb-muted); line-height: 1.6; }

/* --- Forms ---------------------------------------------------------------- */
.ncb-contact__form-wrap { padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.ncb-form { display: flex; flex-direction: column; gap: 1.1rem; }
.ncb-form__row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.ncb-field { display: flex; flex-direction: column; gap: .45rem; }
.ncb-field label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ncb-muted); }
.ncb-field .req { color: var(--ncb-accent); }
.ncb-field input, .ncb-field textarea, .ncb-search__input {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--ncb-black) 55%, transparent);
  border: 1px solid var(--ncb-line-solid); color: var(--ncb-text); font-size: .95rem;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.ncb-field input::placeholder, .ncb-field textarea::placeholder { color: var(--ncb-dim); }
.ncb-field input:focus, .ncb-field textarea:focus, .ncb-search__input:focus {
  outline: none; border-color: var(--ncb-gold-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ncb-gold-2) 18%, transparent);
  background: color-mix(in srgb, var(--ncb-black) 40%, transparent);
}
.ncb-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ncb-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; margin-top: .4rem; }
.ncb-form__privacy { font-size: .76rem; color: var(--ncb-dim); max-width: 32ch; margin: 0; }
.ncb-form__submit { flex: none; }
.ncb-form__notice { padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .9rem; border: 1px solid; }
.ncb-form__notice--success { color: #c8f0d8; background: color-mix(in srgb, #1e7d52 20%, transparent); border-color: #2f9d6a66; }
.ncb-form__notice--error { color: #ffd2df; background: color-mix(in srgb, var(--ncb-accent-deep) 18%, transparent); border-color: #d4126b66; }

/* --- Search --------------------------------------------------------------- */
.ncb-search { display: flex; gap: .6rem; max-width: 460px; margin: 1.4rem auto 0; }
.ncb-search__submit { display: grid; place-items: center; width: 52px; flex: none; border-radius: var(--radius-sm); background: var(--ncb-gold-grad); color: #201607; }
.ncb-search__submit .ncb-icon { width: 20px; height: 20px; }

/* --- Prose ---------------------------------------------------------------- */
.ncb-prose { color: var(--ncb-muted); line-height: 1.8; }
.ncb-prose > * + * { margin-top: 1.1rem; }
.ncb-prose h2, .ncb-prose h3 { color: var(--ncb-text); margin-top: 2rem; }
/* base.css resets `ul, ol { list-style: none; padding: 0 }` site-wide; editorial
   content needs its markers back. */
.ncb-prose ul { list-style: disc; padding-left: 1.4rem; }
.ncb-prose ol { list-style: decimal; padding-left: 1.4rem; }
.ncb-prose li + li { margin-top: .4rem; }
.ncb-prose a { color: var(--ncb-gold-3); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ncb-gold-2) 50%, transparent); text-underline-offset: 3px; }
.ncb-prose strong { color: var(--ncb-text); }
.ncb-prose img { border-radius: var(--radius); }
.ncb-prose blockquote { border-left: 3px solid var(--ncb-gold-2); padding-left: 1.2rem; font-family: var(--font-display); font-size: 1.3rem; color: var(--ncb-text); }

/* --- Pagination ----------------------------------------------------------- */
.ncb-pagination { margin-top: 3rem; }
.ncb-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.ncb-pagination a, .ncb-pagination .current { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .8rem; border-radius: var(--radius-sm); border: 1px solid var(--ncb-line-solid); color: var(--ncb-muted); font-weight: 600; }
.ncb-pagination a:hover { border-color: var(--ncb-gold-2); color: var(--ncb-gold-3); }
.ncb-pagination .current { background: var(--ncb-gold-grad); color: #201607; border-color: transparent; }

@media (min-width: 560px) {
  .ncb-form__row { grid-template-columns: 1fr 1fr; }
}

/* --- Zoomable image (click to expand) ------------------------------------ */
.ncb-zoom { display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; overflow: hidden; color: inherit; }
.ncb-zoom > picture, .ncb-zoom > img { pointer-events: none; }
.ncb-zoom__hint { position: absolute; right: .8rem; bottom: .8rem; z-index: 4; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ncb-gold-3); background: color-mix(in srgb, var(--ncb-black) 55%, transparent); border: 1px solid color-mix(in srgb, var(--ncb-gold-2) 40%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: translateY(8px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.ncb-zoom__hint .ncb-icon { width: 18px; height: 18px; }
.ncb-zoom:hover .ncb-zoom__hint, .ncb-zoom:focus-visible .ncb-zoom__hint { opacity: 1; transform: none; }
.ncb-zoom:focus-visible { outline: 2px solid var(--ncb-gold-3); outline-offset: 3px; }

/* --- Lightbox ------------------------------------------------------------ */
.ncb-lb { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); background: rgba(6,6,8,.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .35s var(--ease); }
.ncb-lb.is-open { opacity: 1; }
.ncb-lb:not(.is-open) { pointer-events: none; }
.ncb-lb__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 100%; }
.ncb-lb__img { max-width: min(94vw, 1200px); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--ncb-line); box-shadow: var(--shadow); background: #0a0a0c; transform: scale(.95); transition: transform .35s var(--ease); }
.ncb-lb.is-open .ncb-lb__img { transform: none; }
.ncb-lb__cap { color: var(--ncb-muted); font-size: .92rem; text-align: center; max-width: 60ch; }
.ncb-lb__close, .ncb-lb__nav { position: absolute; display: grid; place-items: center; border-radius: 50%; color: var(--ncb-gold-3); background: color-mix(in srgb, var(--ncb-surface) 82%, transparent); border: 1px solid var(--ncb-line-solid); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; line-height: 1; transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.ncb-lb__close:hover, .ncb-lb__nav:hover { color: var(--ncb-gold); border-color: var(--ncb-gold-2); }
.ncb-lb__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); width: 48px; height: 48px; font-size: 1.1rem; }
.ncb-lb__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 1.9rem; }
.ncb-lb__nav:hover { transform: translateY(-50%) scale(1.06); }
.ncb-lb__prev { left: clamp(.5rem, 2vw, 2rem); }
.ncb-lb__next { right: clamp(.5rem, 2vw, 2rem); }
@media (prefers-reduced-motion: reduce) { .ncb-lb, .ncb-lb__img { transition: none; } }

/* --- Comments (single.php / page.php) ------------------------------------- */
.ncb-comments { padding-block: clamp(2.5rem, 6vh, 4rem); border-top: 1px solid var(--ncb-line); }
.ncb-comments__title { font-size: var(--text-xl); margin-bottom: 1.6rem; }
.ncb-comments__list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.2rem; }
.ncb-comments__list ol.children { list-style: none; padding-left: clamp(1rem, 4vw, 2.2rem); margin-top: 1.2rem; display: grid; gap: 1.2rem; }
.ncb-comments__list .comment-body {
  padding: 1.2rem 1.4rem; border: 1px solid var(--ncb-line); border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--ncb-surface) 55%, transparent); color: var(--ncb-muted); line-height: 1.7;
}
.ncb-comments__list .comment-author { display: flex; align-items: center; gap: .6rem; color: var(--ncb-text); font-weight: 600; }
.ncb-comments__list .comment-author img { border-radius: 50%; }
.ncb-comments__list .comment-metadata { margin-top: .2rem; font-size: .78rem; color: var(--ncb-dim); }
.ncb-comments__list .comment-metadata a, .ncb-comments__list .reply a { color: var(--ncb-gold-3); }
.ncb-comments__list .reply { margin-top: .6rem; font-size: .85rem; font-weight: 600; }
.ncb-comments__closed { color: var(--ncb-dim); margin-bottom: 1.6rem; }
.ncb-comments__form .comment-notes, .ncb-comments__form .comment-form-cookies-consent { color: var(--ncb-dim); font-size: .85rem; }
/* .comment-reply-title is a *sibling* of the form (core prints it inside
   #respond, before <form>), so it must not be scoped to .ncb-comments__form. */
.ncb-comments .comment-reply-title { font-size: var(--text-lg); margin-bottom: 1rem; }
.ncb-comments #cancel-comment-reply-link { margin-left: .6rem; font-size: .85rem; color: var(--ncb-gold-3); }
.ncb-comments__form p { margin-bottom: 1rem; }
