/* ==========================================================================
   Магазинът: пътечка, страница на продукта, магазин/категории, текст (prose),
   елементите на WooCommerce (форма, отзиви, съобщения, страници)
   ========================================================================== */

/* --- съобщенията на WooCommerce --- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 18px 0 0; padding: 14px 18px; border-radius: 16px; list-style: none;
	background: #fffdf8; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-size: .95rem;
}
.woocommerce-message { box-shadow: inset 4px 0 0 var(--jade-600), inset 0 0 0 1px var(--line); }
.woocommerce-error { box-shadow: inset 4px 0 0 #b4473a, inset 0 0 0 1px var(--line); }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; color: var(--jade-700); font-weight: 600; }

/* --- страницата на продукта --- */
.nd-pp { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; padding: clamp(18px, 2.6vw, 34px) 0 clamp(50px, 6vw, 80px); }
.nd-pp__gallery { position: sticky; top: calc(var(--bar-h) + 24px); }
.nd-pp__main { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: #f3ead9; aspect-ratio: 1; box-shadow: inset 0 0 0 1px var(--line); }
.nd-pp__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.nd-pp__img.is-swap { opacity: 0; }
.nd-pp__yy { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; box-shadow: 0 10px 24px -12px rgba(19, 35, 28, .5); }
.nd-pp__yy--yang { background: var(--gold-grad) border-box; color: var(--jade-950); }
.nd-pp__yy--yin, .nd-pp__yy--pair { background: var(--jade-800); color: var(--gold-300); }
.nd-pp__thumbs { display: flex; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.nd-pp__thumb { display: block; width: 84px; height: 84px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: pointer; background: #f3ead9; box-shadow: inset 0 0 0 1px var(--line); opacity: .75; transition: opacity .25s, box-shadow .25s; }
.nd-pp__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nd-pp__thumb:hover { opacity: 1; }
.nd-pp__thumb.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--gold-500); }
.nd-pp__thumb:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

.nd-pp__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.nd-pp__brand { padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 640; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(173, 129, 48, .4); }
.nd-pp__tags .nd-badge { box-shadow: inset 0 0 0 1px var(--line); }
.nd-pp__title { margin: 0 0 16px; font-size: clamp(2rem, 3.4vw, 3.1rem); font-weight: 300; line-height: 1.08; letter-spacing: -.03em; color: var(--ink); }
.nd-pp__lead { margin: 0 0 22px; font-size: clamp(1.05rem, 1.25vw, 1.16rem); line-height: 1.6; color: var(--ink-2); }
.nd-pp__lead p { margin: 0; }
.nd-pp__price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 20px; }
.nd-pp__price b { font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.nd-pp__price s { font-size: 1.1rem; color: var(--muted); }
.nd-pp__price .nd-badge { align-self: center; }

/* формата „Добави“ (WooCommerce) */
.nd-pp__buy form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0; }
.nd-pp__buy .quantity { display: inline-flex; align-items: center; border-radius: 999px; background: #fffdf8; box-shadow: inset 0 0 0 1px var(--line-2); }
.nd-pp__buy .quantity .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.nd-pp__buy input.qty { width: 52px; height: 56px; padding: 0; border: 0; background: transparent; text-align: center; font: inherit; font-size: 1.1rem; font-weight: 600; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.nd-pp__buy input.qty::-webkit-inner-spin-button, .nd-pp__buy input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.nd-pp__buy input.qty:focus { outline: none; }
.nd-pp__buy .quantity:focus-within { box-shadow: inset 0 0 0 2px var(--gold-500); }
.nd-qty__btn { display: grid; place-items: center; width: 44px; height: 56px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; border-radius: 999px; }
.nd-qty__btn:hover { color: var(--jade-700); }
.nd-pp__buy .single_add_to_cart_button {
	flex: 1 1 220px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--jade-800); color: #fbf6ea; font: inherit; font-size: 1.05rem; font-weight: 600;
	box-shadow: 0 16px 34px -18px rgba(19, 35, 28, .8); transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.nd-pp__buy .single_add_to_cart_button:hover { background: var(--jade-700); }
.nd-pp__buy .single_add_to_cart_button:active { transform: scale(.98); }
.nd-pp__buy .single_add_to_cart_button.is-loading { opacity: .75; pointer-events: none; }
.nd-pp__buy .single_add_to_cart_button .nd-btn__disc { display: grid; place-items: center; width: 42px; height: 42px; margin: -4px -18px -4px 4px; border-radius: 50%; font-size: 1.15rem; color: var(--jade-950); background: var(--gold-grad) border-box; }
.nd-pp__added { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--jade-700); font-weight: 560; }
.nd-pp__added[hidden] { display: none; }
.nd-pp__added .nd-i { font-size: 1.3rem; }
.nd-pp__added a { margin-left: 4px; color: var(--jade-800); text-decoration: underline; }
.nd-pp__svc { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-size: .92rem; color: var(--ink-2); }
.nd-pp__svc .nd-i { flex: none; font-size: 1.2rem; color: var(--gold-700); }

.nd-pp__trust { display: grid; gap: 12px; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.nd-pp__trust li { display: flex; align-items: center; gap: 12px; font-size: .94rem; color: var(--ink-2); }
.nd-pp__trust .nd-i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 9px; box-sizing: border-box; border-radius: 50%; color: var(--gold-700); background: radial-gradient(circle at 35% 30%, #fffdf6, #f3e9d2); box-shadow: inset 0 0 0 1px rgba(173, 129, 48, .3); }
.nd-pp__trust b { font-weight: 600; color: var(--ink); }
.nd-pp__trust a { color: var(--jade-700); }

/* двойката на баланса */
.nd-pp-pair { margin: 24px 0 0; padding: 18px; border-radius: 22px; background: linear-gradient(120deg, #fbf3df 0%, #f6efe2 50%, #e7efe9 100%); box-shadow: inset 0 0 0 1px rgba(173, 129, 48, .3); }
.nd-pp-pair__head { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: .92rem; color: var(--ink-2); line-height: 1.4; }
.nd-pp-pair__head .nd-pair__yy { --s: 42px; flex: none; }
.nd-pp-pair__head small { display: block; font-size: .7rem; font-weight: 640; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); }
.nd-pp-pair__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; background: rgba(255, 253, 248, .8); }
.nd-pp-pair__img { display: block; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #f3ead9; }
.nd-pp-pair__img img { width: 100%; height: 100%; object-fit: cover; }
.nd-pp-pair__name { display: grid; gap: 2px; margin: 0; font-size: .95rem; line-height: 1.3; }
.nd-pp-pair__name a { color: var(--ink); font-weight: 560; text-decoration: none; }
.nd-pp-pair__name b { font-weight: 640; }
.nd-pp-pair__yy { font-size: .7rem; font-weight: 640; letter-spacing: .14em; text-transform: uppercase; color: var(--jade-700); }
.nd-pp-pair__bundle { display: inline-flex; align-items: center; gap: 8px; margin: 12px 0 0 4px; font-size: .92rem; font-weight: 560; color: var(--jade-700); text-decoration: none; border-bottom: 1px solid currentColor; }

.nd-pp__meta { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 22px 0 0; font-size: .88rem; color: var(--muted); }
.nd-pp__meta div { display: flex; gap: 6px; }
.nd-pp__meta dt::after { content: ":"; }
.nd-pp__meta dd { margin: 0; color: var(--ink-2); }
.nd-pp__meta a { color: var(--jade-700); }

/* описание + страничната колона */
.nd-pp-details { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4.5vw, 72px); align-items: start; padding: clamp(46px, 5vw, 70px) 0; border-top: 1px solid var(--line); }
.nd-pp-details__title { margin: 0 0 22px; font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 320; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.nd-pp-details__aside { position: sticky; top: calc(var(--bar-h) + 24px); display: grid; gap: 18px; }
.nd-pp-ask { display: grid; justify-items: start; gap: 12px; padding: 24px; border-radius: 24px; color: #e9f0ec; background: linear-gradient(160deg, #13342a, #0b1b15); box-shadow: 0 30px 60px -36px rgba(9, 25, 19, .8); }
.nd-pp-ask__ava { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; font-weight: 600; color: var(--jade-950); background: var(--gold-grad) border-box; }
.nd-pp-ask__t { margin: 0; font-size: 1.2rem; font-weight: 420; line-height: 1.3; color: #fbf6ea; }
.nd-pp-ask__s { margin: 0; font-size: .92rem; line-height: 1.55; color: #c3d1c9; }
.nd-pp-ask__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-300); font-weight: 600; text-decoration: none; }
.nd-pp-needs { padding: 20px 22px; border-radius: 22px; background: #fffdf8; box-shadow: inset 0 0 0 1px var(--line); }
.nd-pp-needs__t { margin: 0 0 12px; font-size: .74rem; font-weight: 640; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700); }
.nd-pp-needs ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nd-pp-needs a { display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: .9rem; color: var(--ink); text-decoration: none; background: #f6efe2; transition: background-color .25s; }
.nd-pp-needs a:hover { background: #efe3c9; }
.nd-pp-ship p { display: flex; gap: 12px; margin: 0; padding: 0 6px; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.nd-pp-ship .nd-i { flex: none; font-size: 1.4rem; color: var(--gold-700); }

/* свързаните */
.nd-pp-related { padding: clamp(46px, 5vw, 70px) 0; border-top: 1px solid var(--line); }
.nd-pp-related__title, .woocommerce-Reviews-title, .comment-reply-title { margin: 0 0 24px; font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 320; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }

/* отзивите (шаблонът на WooCommerce) */
.nd-pp-reviews { padding: clamp(46px, 5vw, 70px) 0 clamp(60px, 7vw, 100px); border-top: 1px solid var(--line); }
#reviews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); }
#reviews .commentlist { margin: 0; padding: 0; list-style: none; }
#reviews .commentlist li { margin: 0 0 16px; padding: 18px 20px; border-radius: 20px; background: #fffdf8; box-shadow: inset 0 0 0 1px var(--line); }
#reviews .commentlist img.avatar { display: none; }
#reviews .woocommerce-noreviews { color: var(--muted); }
.comment-reply-title { font-size: 1.3rem; font-weight: 420; }
#review_form { padding: 24px; border-radius: 24px; background: #fffdf8; box-shadow: inset 0 0 0 1px var(--line); }
#review_form p { margin: 0 0 14px; }
#review_form label { display: block; margin-bottom: 6px; font-size: .92rem; font-weight: 560; color: var(--ink); }
#review_form input[type="text"], #review_form input[type="email"], #review_form textarea, #review_form select {
	display: block; width: 100%; padding: 13px 16px; border: 1px solid rgba(19, 35, 28, .18); border-radius: 14px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink);
}
#review_form textarea { min-height: 120px; resize: vertical; }
#review_form input:focus, #review_form textarea:focus, #review_form select:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(201, 154, 62, .2); }
#review_form .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
#review_form .comment-form-cookies-consent label { font-weight: 400; margin: 0; }
#review_form .form-submit input[type="submit"] { padding: 14px 26px; border: 0; border-radius: 999px; background: var(--jade-800); color: #fbf6ea; font: inherit; font-weight: 600; cursor: pointer; }
#review_form .required { color: #a33c30; }
.star-rating { display: none; }

/* лентата с бутона на телефон */
.nd-pp-bar { display: none; }

/* --- магазин и категории --- */
.nd-arch { padding-bottom: clamp(60px, 7vw, 100px); }
.nd-arch__head { max-width: 860px; padding: clamp(20px, 3vw, 40px) 0 clamp(20px, 2.6vw, 30px); }
.nd-arch__eyebrow { gap: 12px; margin-bottom: 18px; }
.nd-arch__eyebrow::before { display: none; }
.nd-arch__title { margin: 0 0 16px; font-size: clamp(2.3rem, 4.4vw, 4rem); font-weight: 280; line-height: 1.04; letter-spacing: -.035em; color: var(--ink); }
.nd-arch__intro { font-size: clamp(1.04rem, 1.25vw, 1.16rem); line-height: 1.65; color: var(--ink-2); }
.nd-arch__intro p { margin: 0 0 .6em; }

.nd-filter { display: grid; gap: 10px; margin: 0 0 22px; }
.nd-filter__row { display: flex; align-items: center; gap: 14px; min-width: 0; }
.nd-filter__label { flex: none; width: 84px; font-size: .74rem; font-weight: 640; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-700); }
.nd-filter ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nd-filter__chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; font-size: .9rem; color: var(--ink); text-decoration: none; background: #fffdf8; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s; }
.nd-filter__chip .nd-i { font-size: 1.05rem; color: var(--gold-700); }
.nd-filter__chip:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.nd-filter__chip.is-on { background: var(--jade-800); color: #fbf6ea; box-shadow: none; }
.nd-filter__chip.is-on .nd-i { color: var(--gold-300); }

.nd-arch__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; padding: 14px 0; border-block: 1px solid var(--line); }
.nd-arch__count { margin: 0; font-size: .95rem; color: var(--ink-2); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { padding: 10px 40px 10px 16px; border: 0; border-radius: 999px; background: #fffdf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23977238' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; box-shadow: inset 0 0 0 1px var(--line-2); font: inherit; font-size: .92rem; color: var(--ink); appearance: none; cursor: pointer; }
.woocommerce-ordering select:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.nd-arch__empty { padding: 30px 0; font-size: 1.05rem; color: var(--ink-2); }
.nd-arch__empty a { color: var(--jade-700); }

.woocommerce-pagination { margin: 34px 0 0; }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; border: 0; }
.woocommerce-pagination .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; color: var(--ink); text-decoration: none; background: #fffdf8; box-shadow: inset 0 0 0 1px var(--line); }
.woocommerce-pagination .page-numbers.current { background: var(--jade-800); color: #fbf6ea; box-shadow: none; }

.nd-arch__ask { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; margin: clamp(40px, 5vw, 64px) 0 0; padding: 22px 26px; border-radius: 26px; color: #e9f0ec; background: linear-gradient(140deg, #13342a, #0b1b15); }
.nd-arch__ask .nd-pair__yy { --s: 52px; }
.nd-arch__ask p { margin: 0; font-size: 1rem; line-height: 1.5; color: #c3d1c9; }
.nd-arch__ask b { display: block; font-size: 1.15rem; font-weight: 500; color: #fbf6ea; }

/* --- отзивчивост --- */
@media (max-width: 1100px) {
	.nd-pp-details { grid-template-columns: minmax(0, 1fr); }
	.nd-pp-details__aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 900px) {
	.nd-pp { grid-template-columns: minmax(0, 1fr); }
	.nd-pp__gallery { position: static; }
	#reviews { grid-template-columns: minmax(0, 1fr); }
	.nd-arch__ask { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}
@media (max-width: 760px) {
	.nd-pp__main { border-radius: 22px; }
	.nd-pp__thumb { width: 68px; height: 68px; }
	.nd-pp__title { font-size: clamp(1.8rem, 7.6vw, 2.4rem); }
	.nd-pp-pair__item { grid-template-columns: 56px minmax(0, 1fr); }
	.nd-pp-pair__item .nd-card__add { grid-column: 1 / -1; justify-content: center; }
	.nd-filter__row { flex-direction: column; align-items: flex-start; gap: 8px; }
	.nd-filter ul { flex-wrap: nowrap; overflow-x: auto; width: calc(100% + var(--gut)); padding-bottom: 4px; scrollbar-width: none; }
	.nd-filter ul::-webkit-scrollbar { display: none; }
	.nd-arch__bar { flex-wrap: wrap; }
	/* лентата с бутона */
	.nd-pp-bar {
		position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 999px;
		background: rgba(255, 253, 248, .97); box-shadow: 0 18px 40px -16px rgba(19, 35, 28, .5), inset 0 0 0 1px var(--line);
		translate: 0 140%; transition: translate .45s var(--ease);
	}
	.nd-pp-bar.is-on { translate: 0 0; }
	.nd-pp-bar__name { flex: 1; min-width: 0; font-size: .86rem; line-height: 1.25; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.nd-pp-bar__price { font-size: 1.05rem; white-space: nowrap; }
	.nd-pp-bar .nd-btn { padding-block: 8px; }
}
