/* Global components: top bar, header, footer, buttons, forms, notices, cards. */

/* ---------- Top bar ---------- */
.nt-topbar {
	background: var(--nt-light);
	color: var(--nt-navy);
	font-family: var(--nt-font-head);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	padding: 10px 24px;
}
.nt-topbar__list {
	list-style: none; margin: 0 auto; padding: 0;
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
	gap: 6px 0; max-width: var(--nt-max);
}
.nt-topbar__item { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; position: relative; }
.nt-topbar__item a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.nt-topbar__item .nt-icon { color: var(--nt-blue); flex: none; }
.nt-topbar__item .nt-icon--flag { border-radius: 2px; }
.nt-topbar__item--mobile { display: none; }
.nt-topbar__item + .nt-topbar__item::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 16px;
	transform: translateY(-50%); background: var(--nt-blue);
}
.nt-topbar__item--desktop + .nt-topbar__item--mobile::before { display: none; }
@media (max-width: 860px) {
	.nt-topbar { font-size: 12px; padding: 8px 12px; }
	.nt-topbar__item { padding: 0 10px; gap: 6px; }
	.nt-topbar__item--desktop { display: none; }
	.nt-topbar__item--mobile { display: inline-flex; }
	.nt-topbar__item + .nt-topbar__item::before { display: none; }
}

/* ---------- Header ---------- */
.nt-header {
	background: var(--nt-white);
	border-bottom: 1px solid var(--nt-border);
	position: relative;
	z-index: 50;
}
.nt-sticky-header .nt-header { position: sticky; top: 0; }
.admin-bar.nt-sticky-header .nt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.nt-sticky-header .nt-header { top: 0; } }

.nt-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--nt-header-h); }
.nt-header__logo { display: inline-flex; flex: none; }
.nt-header__logo .nt-logo { height: 52px; width: auto; }
.nt-header__secure {
	margin: 0 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--nt-font-head); font-weight: 600; font-size: 15px; color: var(--nt-navy);
}
.nt-header__secure .nt-icon { color: var(--nt-blue); }

.nt-nav { margin-left: auto; }
.nt-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nt-nav__list a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
	font-family: var(--nt-font-head); font-weight: 600; font-size: 15px;
	color: var(--nt-navy); text-decoration: none; border-radius: var(--nt-radius-sm);
	transition: background var(--nt-ease), color var(--nt-ease);
}
.nt-nav__list a:hover, .nt-nav__list .current-menu-item:not(.menu-item-type-custom) > a { background: var(--nt-surface); color: var(--nt-blue); }
.nt-menu-hint { margin: 0; font-size: 14px; }

.nt-header__actions { display: flex; align-items: center; gap: 6px; }
.nt-cart-link {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 46px; height: 46px; border-radius: 50%; color: var(--nt-navy);
	transition: background var(--nt-ease);
}
.nt-cart-link:hover { background: var(--nt-surface); color: var(--nt-navy); }
.nt-cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
	border-radius: 10px; background: var(--nt-blue); color: var(--nt-white);
	font-family: var(--nt-font-head); font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
}
.nt-cart-count.is-empty { display: none; }

.nt-menu-btn {
	display: none; align-items: center; justify-content: center;
	width: 46px; height: 46px; border: 1px solid var(--nt-border-2); border-radius: var(--nt-radius-sm);
	background: var(--nt-white); color: var(--nt-navy);
}
.nt-menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nt-menu-btn__close { display: none; }
.nt-menu-btn[aria-expanded="true"] .nt-menu-btn__open { display: none; }
.nt-menu-btn[aria-expanded="true"] .nt-menu-btn__close { display: inline-flex; }

@media (max-width: 860px) {
	.nt-header__inner { gap: 12px; }
	.nt-header__logo .nt-logo { height: 38px; }
	.nt-header__actions { margin-left: auto; }
	.nt-menu-btn { display: inline-flex; }
	.nt-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--nt-white); border-bottom: 1px solid var(--nt-border);
		box-shadow: var(--nt-shadow-soft); padding: 8px var(--nt-gutter) 16px; margin: 0;
	}
	.nt-nav.is-open { display: block; }
	.nt-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nt-nav__list a { min-height: 50px; padding: 0 8px; border-bottom: 1px solid var(--nt-border); border-radius: 0; font-size: 16px; }
	.nt-nav__list li:last-child a { border-bottom: 0; }
	.nt-header__secure { font-size: 13px; }
}

/* ---------- Footer ---------- */
.nt-footer { background: var(--nt-surface); border-top: 1px solid var(--nt-border); padding: 64px 0 32px; font-size: 15px; color: var(--nt-text-2); }
.nt-footer--minimal { padding: 24px 0; }
.nt-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.nt-footer__logo .nt-logo { height: 52px; width: auto; margin-bottom: 18px; }
.nt-footer__about { line-height: 1.7; margin: 0; }
.nt-footer__title { font-size: 15px; font-weight: 700; margin: 6px 0 14px; }
.nt-footer__links { list-style: none; margin: 0; padding: 0; }
.nt-footer__links li { margin: 0 0 6px; }
.nt-footer__links a { color: var(--nt-text-2); text-decoration: none; display: inline-block; padding: 4px 0; }
.nt-footer__links a:hover { color: var(--nt-blue); text-decoration: underline; }
.nt-footer__disclaimer {
	margin-top: 40px; padding: 18px 20px; background: var(--nt-white);
	border: 1px solid var(--nt-border); border-radius: var(--nt-radius-md); font-size: 14px; color: var(--nt-muted);
}
.nt-footer__disclaimer p:last-child { margin: 0; }
.nt-footer__copy { margin: 28px 0 0; font-size: 14px; color: var(--nt-muted); }
.nt-footer--minimal .nt-footer__copy { margin: 0; text-align: center; }
@media (max-width: 860px) {
	.nt-footer { padding: 40px 0 28px; }
	.nt-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.nt-footer__brand { grid-column: 1 / -1; }
	.nt-footer__logo .nt-logo { height: 40px; }
}

/* ---------- Buttons ---------- */
.nt-btn, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px;
	font-family: var(--nt-font-head); font-weight: 600; font-size: 15px; line-height: 1.2;
	text-decoration: none; text-align: center;
	border: 1px solid transparent; border-radius: var(--nt-radius-sm);
	background: var(--nt-blue); color: var(--nt-white);
	transition: background var(--nt-ease), color var(--nt-ease), border-color var(--nt-ease);
	cursor: pointer;
}
.nt-btn:hover, .woocommerce .button:hover { background: var(--nt-navy); color: var(--nt-white); }
.nt-btn:active, .woocommerce .button:active { transform: translateY(1px); }
.nt-btn:disabled, .nt-btn[aria-disabled="true"], .woocommerce .button:disabled { opacity: .35; cursor: not-allowed; }
.nt-btn--lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.nt-btn--block { display: flex; width: 100%; }
.nt-btn--grow { flex: 1 1 auto; }
.nt-btn--primary { background: var(--nt-blue); color: var(--nt-white); }
.nt-btn--primary:hover { background: var(--nt-navy); color: var(--nt-white); }
.nt-btn--quick { background: var(--nt-white); color: var(--nt-navy); border: 2px solid var(--nt-navy); }
.nt-btn--quick:hover { background: var(--nt-navy); color: var(--nt-white); }
.nt-btn--wa { background: var(--nt-navy); color: var(--nt-white); }
.nt-btn--wa:hover { background: var(--nt-blue); color: var(--nt-white); }
.nt-btn--ghost { background: var(--nt-white); color: var(--nt-navy); border-color: var(--nt-border-2); }
.nt-btn--ghost:hover { background: var(--nt-light); color: var(--nt-navy); }
.nt-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 0; }
.nt-btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.nt-btn.is-loading::after {
	content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%;
	border: 2px solid var(--nt-white); border-right-color: transparent; animation: nt-spin .7s linear infinite;
}
@keyframes nt-spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) {
	.nt-btn { border-radius: 12px; }
	.nt-btn--lg { min-height: 54px; }
}

.nt-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--nt-font-head); font-weight: 600; font-size: 15px; text-decoration: none; }
.nt-link-arrow:hover { text-decoration: underline; }
.nt-link-arrow--back { margin-bottom: 14px; }
.nt-link-muted { color: var(--nt-muted); font-size: 14px; }

/* ---------- Price, badges, stars ---------- */
.nt-price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.nt-price { font-family: var(--nt-font-head); font-weight: 700; font-size: 28px; color: var(--nt-navy); line-height: 1.1; }
.nt-price--lg { font-size: 32px; }
.nt-price-suffix { color: var(--nt-muted); font-size: 15px; }
.nt-was { color: var(--nt-muted); font-size: 18px; }

.nt-badge {
	display: inline-flex; align-items: center; padding: 4px 11px; border-radius: var(--nt-radius-pill);
	background: var(--nt-light); color: var(--nt-navy);
	font-family: var(--nt-font-head); font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap;
}
.nt-badge--neutral { background: var(--nt-neutral-badge); color: var(--nt-text-2); }

/* Font Awesome icons: fixed width so text next to them lines up. */
i.nt-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.25em; line-height: 1; flex: none; font-style: normal; }

.nt-stars { display: inline-flex; gap: 2px; color: var(--nt-blue); vertical-align: middle; }
.nt-stars i { display: block; line-height: 1; }
.nt-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 16px; font-size: 15px; }
.nt-rating__avg { font-family: var(--nt-font-head); font-weight: 700; color: var(--nt-navy); }
.nt-rating__none { color: var(--nt-muted); }
.nt-rating__link { font-weight: 700; }

/* ---------- Cards, tiles, panels ---------- */
.nt-card {
	background: var(--nt-white); border: 1px solid var(--nt-border); border-radius: var(--nt-radius-md);
	padding: 24px; transition: transform .4s ease, box-shadow .4s ease;
}
.nt-card__text { color: var(--nt-text-2); font-size: 16px; }
.nt-card__text p:last-child { margin: 0; }
.nt-icon-tile {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 44px; height: 44px; border-radius: 12px; background: var(--nt-light); color: var(--nt-navy); margin-bottom: 14px;
}
.nt-icon-tile--lg { width: 64px; height: 64px; border-radius: 18px; }
.nt-panel-light {
	background: var(--nt-light); border-radius: var(--nt-radius-xl); overflow: hidden;
	display: flex; align-items: center; justify-content: center;
}
.nt-panel-light img { width: 100%; height: 100%; object-fit: cover; }
.nt-bottle { width: 78%; height: auto; filter: drop-shadow(var(--nt-shadow-img)); }
.nt-cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .nt-cards-2 { grid-template-columns: 1fr; } }

.nt-checklist, .nt-info-list, .nt-summary__list { list-style: none; margin: 0 0 24px; padding: 0; }
.nt-checklist li, .nt-info-list li, .nt-summary__list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: var(--nt-text-2); font-size: 16px; }
.nt-checklist .nt-icon, .nt-info-list .nt-icon, .nt-summary__list .nt-icon { color: var(--nt-blue); flex: none; margin-top: 3px; }

/* ---------- Directions card ---------- */
.nt-directions {
	display: flex; gap: 16px; align-items: flex-start;
	background: var(--nt-light); border-radius: var(--nt-radius-lg); padding: 22px 24px; color: var(--nt-navy);
}
.nt-directions__icon {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 44px; height: 44px; border-radius: 50%; background: var(--nt-white); color: var(--nt-navy);
}
.nt-directions__title { font-family: var(--nt-font-head); font-weight: 700; font-size: 17px; margin: 0 0 4px; }
.nt-directions__text { margin: 0 0 8px; padding: 0; font-size: 17px; color: var(--nt-navy); }
.nt-directions__text p { margin: 0; }
.nt-directions .nt-link-arrow { color: var(--nt-navy); }
.nt-directions--large { padding: 32px; border-radius: var(--nt-radius-xl); }
.nt-directions--large .nt-directions__icon { width: 56px; height: 56px; }
.nt-directions--large .nt-directions__title { font-size: 20px; }
.nt-directions--large .nt-directions__text { font-size: 22px; font-family: var(--nt-font-head); font-weight: 600; line-height: 1.45; }
@media (max-width: 860px) {
	.nt-directions--large { padding: 22px; }
	.nt-directions--large .nt-directions__text { font-size: 18px; }
}

/* ---------- Accordion ---------- */
.nt-accordion { border-top: 1px solid var(--nt-border); }
.nt-accordion__item { border-bottom: 1px solid var(--nt-border); }
.nt-accordion__heading { margin: 0; font-size: inherit; }
.nt-accordion__button, .nt-info__toggle {
	display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 56px; padding: 16px 0; border: 0; background: none; text-align: left;
	font-family: var(--nt-font-head); font-weight: 600; font-size: 17px; color: var(--nt-navy);
}
.nt-accordion__button:hover { color: var(--nt-blue); }
.nt-pm { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--nt-light); }
.nt-pm::before, .nt-pm::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--nt-navy);
	transform: translate(-50%, -50%); transition: transform var(--nt-ease);
}
.nt-pm::after { transform: translate(-50%, -50%) rotate(90deg); }
[aria-expanded="true"] .nt-pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.nt-accordion__panel { overflow: hidden; transition: height .3s ease; }
.nt-accordion__inner { padding: 0 0 20px; color: var(--nt-text-2); }
.nt-accordion__inner p:last-child { margin: 0; }

/* ---------- Forms ---------- */
.nt-field { margin: 0 0 16px; }
.nt-label, .woocommerce form .form-row label {
	display: block; margin: 0 0 6px;
	font-family: var(--nt-font-head); font-weight: 600; font-size: 14px; color: var(--nt-navy); line-height: 1.4;
}
.nt-optional, .woocommerce form .form-row .optional { font-family: var(--nt-font-body); font-weight: 400; color: var(--nt-muted); }
.woocommerce form .form-row .required { display: none; }
.nt-input,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea {
	display: block; width: 100%; min-height: 50px; padding: 12px 14px;
	font-family: var(--nt-font-body); font-size: 16px; line-height: 1.4; color: var(--nt-text);
	background: var(--nt-white); border: 1px solid var(--nt-border-2); border-radius: 10px;
	transition: border-color var(--nt-ease), box-shadow var(--nt-ease);
	-webkit-appearance: none; appearance: none;
}
select.nt-input, .woocommerce form .form-row select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23002759' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.nt-textarea, .woocommerce form .form-row textarea { min-height: 96px; resize: vertical; }
.nt-input:focus, .woocommerce form .form-row .input-text:focus, .woocommerce form .form-row select:focus, .woocommerce form .form-row textarea:focus,
.comment-form input:focus, .comment-form textarea:focus {
	outline: 2px solid var(--nt-blue); outline-offset: 0; border-color: var(--nt-blue);
}
.nt-input::placeholder, .woocommerce form .form-row .input-text::placeholder { color: var(--nt-muted); opacity: 1; }
.nt-field.has-error .nt-input,
.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.nt-invalid .input-text,
.woocommerce form .form-row.nt-invalid select { border: 2px solid var(--nt-error); }
.nt-field-error { margin: 6px 0 0; color: var(--nt-error); font-size: 14px; line-height: 1.4; }
.nt-form-error {
	margin: 0 0 18px; padding: 12px 16px; border-radius: 10px;
	background: var(--nt-error-bg); color: var(--nt-error); font-size: 15px; font-weight: 700;
}
.nt-form-error ul { margin: 0; padding-left: 1.2em; font-weight: 400; }
.nt-check { display: inline-flex; gap: 10px; align-items: center; cursor: pointer; font-size: 15px; }
.nt-check input { width: 20px; height: 20px; accent-color: var(--nt-blue); }
.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row .description { margin: 6px 0 0; font-size: 14px; color: var(--nt-muted); }
.woocommerce-input-wrapper { display: block; }
.nt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Option cards (shipping and payment) ---------- */
.nt-option {
	display: flex; align-items: center; gap: 14px; position: relative;
	padding: 16px 18px; border: 1px solid var(--nt-border-2); border-radius: 14px; background: var(--nt-white);
	cursor: pointer; transition: border-color var(--nt-ease), background var(--nt-ease);
}
.nt-option input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nt-option.is-selected, .nt-option:has(input:checked) { border: 2px solid var(--nt-blue); background: var(--nt-surface); padding: 15px 17px; }
.nt-option:has(input:focus-visible) { outline: 2px solid var(--nt-blue); outline-offset: 2px; }
.nt-option--static { cursor: default; margin: 6px 0 18px; }
.nt-option__radio {
	flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--nt-border-2); background: var(--nt-white); position: relative;
}
.nt-option.is-selected .nt-option__radio, .nt-option:has(input:checked) .nt-option__radio { border-color: var(--nt-blue); }
.nt-option.is-selected .nt-option__radio::after, .nt-option:has(input:checked) .nt-option__radio::after {
	content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--nt-blue);
}
.nt-option__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }
.nt-option__title { font-family: var(--nt-font-head); font-weight: 700; font-size: 15px; color: var(--nt-navy); }
.nt-option__text { color: var(--nt-text-2); font-size: 14px; line-height: 1.5; }
.nt-option__price { font-family: var(--nt-font-head); font-weight: 700; color: var(--nt-navy); }
.nt-option > .nt-icon { color: var(--nt-blue); flex: none; }

/* ---------- Totals ---------- */
.nt-totals { margin: 0 0 18px; }
.nt-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 16px; }
.nt-totals dt { color: var(--nt-text-2); }
.nt-totals dd { margin: 0; font-family: var(--nt-font-head); font-weight: 600; color: var(--nt-navy); text-align: right; }
.nt-totals__total { border-top: 1px solid var(--nt-border); margin-top: 6px; padding-top: 14px !important; }
.nt-totals__total dt { font-family: var(--nt-font-head); font-weight: 700; color: var(--nt-navy); }
.nt-totals__total dd { font-size: 22px; font-weight: 700; }
.nt-totals small, .nt-totals .includes_tax { display: block; font-size: 12px; font-weight: 400; color: var(--nt-muted); }

/* ---------- Quantity stepper ---------- */
.nt-stepper {
	display: inline-flex; align-items: stretch; flex: none;
	border: 1px solid var(--nt-border-2); border-radius: var(--nt-radius-sm); background: var(--nt-white); overflow: hidden;
}
.nt-stepper__btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; min-height: 56px; border: 0; background: var(--nt-white); color: var(--nt-navy);
	transition: background var(--nt-ease);
}
.nt-stepper__btn:hover:not(:disabled) { background: var(--nt-surface); }
.nt-stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
.nt-stepper__input {
	width: 52px; border: 0; border-left: 1px solid var(--nt-border); border-right: 1px solid var(--nt-border);
	text-align: center; font-family: var(--nt-font-head); font-weight: 700; font-size: 17px; color: var(--nt-navy);
	-moz-appearance: textfield; appearance: textfield; padding: 0;
}
.nt-stepper__input::-webkit-outer-spin-button, .nt-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nt-stepper__input:focus { outline: 2px solid var(--nt-blue); outline-offset: -2px; }
.nt-stepper--sm .nt-stepper__btn { width: 44px; min-height: 44px; }
.nt-stepper--sm .nt-stepper__input { width: 46px; font-size: 16px; }

/* ---------- WooCommerce notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
	list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: 12px;
	background: var(--nt-surface); border: 1px solid var(--nt-border); color: var(--nt-text);
	font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
}
.woocommerce-message { background: var(--nt-light); border-color: var(--nt-light); color: var(--nt-navy); }
.woocommerce-error { background: var(--nt-error-bg); border-color: var(--nt-error-bg); color: var(--nt-error); display: block; }
.woocommerce-error li { margin: 2px 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 40px; padding: 0 16px; font-size: 14px; }
.woocommerce-NoticeGroup { margin-bottom: 8px; }
.nt-notices-wrap .woocommerce-notices-wrapper { padding-top: 20px; }

/* ---------- Modal (Quick Buy) ---------- */
.nt-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.nt-modal[hidden] { display: none; }
.nt-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 39, 89, .45); }
.nt-modal__dialog {
	position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 48px); overflow-y: auto;
	background: var(--nt-white); border-radius: 22px; box-shadow: var(--nt-shadow-modal); padding: 32px;
	overscroll-behavior: contain;
}
.nt-modal__dialog:focus { outline: none; }
.nt-modal__close {
	position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%;
	border: 0; background: var(--nt-surface); color: var(--nt-navy); display: inline-flex; align-items: center; justify-content: center;
}
.nt-modal__close:hover { background: var(--nt-light); }
body.nt-modal-open { overflow: hidden; }
@media (max-width: 860px) {
	.nt-modal { align-items: flex-end; padding: 0; }
	.nt-modal__dialog {
		max-width: none; max-height: 92vh; border-radius: 22px 22px 0 0; padding: 26px 18px calc(24px + env(safe-area-inset-bottom));
		animation: nt-sheet .3s ease;
	}
}
@keyframes nt-sheet { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }

/* ---------- Pagination ---------- */
.nt-pagination ul, .woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; padding: 0; margin: 20px 0; }
.nt-pagination a, .nt-pagination span, .woocommerce-pagination a, .woocommerce-pagination span {
	display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center;
	border: 1px solid var(--nt-border-2); border-radius: 10px; text-decoration: none;
}
.nt-pagination .current, .woocommerce-pagination .current { background: var(--nt-blue); color: var(--nt-white); border-color: var(--nt-blue); }

/* ---------- 404 ---------- */
.nt-404 { text-align: left; }

/* ---------- Floating WhatsApp button ---------- */
.nt-wa-float {
	position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 70;
	display: flex; align-items: center; justify-content: center;
	width: 60px; height: 60px; border-radius: 50%;
	background: #25d366; color: #fff; text-decoration: none;
	box-shadow: 0 8px 24px rgba(0, 39, 89, .22);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, bottom .3s ease;
}
.nt-wa-float:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 39, 89, .28); }
.nt-wa-float:focus-visible { outline: 3px solid var(--nt-blue); outline-offset: 3px; }
.nt-wa-float i.nt-icon { width: auto; }
@media (max-width: 860px) {
	.nt-wa-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 56px; height: 56px; }
	.nt-wa-float i.nt-icon { font-size: 30px !important; }
	body.nt-has-sticky-buy .nt-wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .nt-wa-float { transition: none; } }
@media print { .nt-wa-float { display: none; } }
