/* Магазин упаковки */
.gs-shop { position: relative; }
.gs-shop-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.gs-shop-cats button { border: 1.5px solid var(--line, #e9e9e6); background: #fff; color: var(--ink, #151515); border-radius: 999px; padding: 11px 18px; font: 600 14px/1 inherit; font-family: inherit; cursor: pointer; transition: background .15s, border-color .15s; }
.gs-shop-cats button sup { font-size: 11px; color: var(--mute, #76767a); margin-left: 2px; }
.gs-shop-cats button:hover { border-color: var(--ink, #151515); }
.gs-shop-cats button.is-on { background: var(--ink, #151515); border-color: var(--ink, #151515); color: #fff; }
.gs-shop-cats button.is-on sup { color: var(--acc, #ff8a00); }
.gs-shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gs-prod { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line, #e9e9e6); border-radius: 24px; overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; scroll-margin-top: 110px; }
.gs-prod:hover { box-shadow: 0 18px 40px rgba(21,21,21,.08); transform: translateY(-2px); }
.gs-prod[hidden] { display: none; }
.gs-prod.is-in { border-color: var(--acc, #ff8a00); }
.gs-prod.is-hl { box-shadow: 0 0 0 4px var(--acc, #ff8a00); }
.gs-prod-img { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #ffb04a, #ff8a00); }
.gs-prod-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-prod-save { position: absolute; top: 12px; right: 12px; background: var(--ink, #151515); color: #fff; font-family: var(--wide); font-weight: 700; font-size: 13px; padding: 7px 10px; border-radius: 10px; }
.gs-prod-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 18px; }
.gs-prod-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--chipt, #9a5300); font-weight: 600; margin-bottom: 6px; }
.gp .gs-prod-t, .gs-prod-t { margin: 0 0 10px; font-family: var(--wide); font-size: 15px; line-height: 1.25; text-transform: uppercase; color: var(--ink, #151515); }
.gs-prod-specs, .gs-prod-parts ul { list-style: none; margin: 0 0 10px; padding: 0; font-size: 13px; }
.gs-prod-specs li, .gs-prod-parts li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px dashed var(--line, #e9e9e6); }
.gs-prod-specs span, .gs-prod-parts span { color: var(--mute, #76767a); }
.gs-prod-specs b, .gs-prod-parts b { font-weight: 600; text-align: right; color: var(--ink, #151515); }
.gs-prod-d { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: var(--txt, #3d3d3d); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.gs-prod-d:hover { -webkit-line-clamp: unset; }
.gs-prod-parts { margin: 0 0 12px; background: var(--soft, #f5f5f2); border-radius: 14px; padding: 10px 14px; }
.gs-prod-parts summary { cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; }
.gs-prod-parts summary::after { content: "+"; font-weight: 700; }
.gs-prod-parts[open] summary::after { content: "−"; }
.gs-prod-parts summary::-webkit-details-marker { display: none; }
.gs-prod-parts ul { margin: 8px 0 0; }
.gs-prod-buy { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 6px; }
.gs-prod-price b { display: block; font-family: var(--wide); font-size: 21px; line-height: 1.1; color: var(--ink, #151515); white-space: nowrap; }
.gs-prod-price small { font-size: 12px; color: var(--mute, #76767a); margin-right: 6px; }
.gs-prod-price s { font-size: 13px; color: var(--mute, #76767a); white-space: nowrap; }
.gs-add { border: 0; background: var(--acc, #ff8a00); color: var(--ink, #151515); font-family: var(--wide); font-weight: 600; font-size: 12px; text-transform: uppercase; padding: 13px 14px; border-radius: 12px; cursor: pointer; white-space: nowrap; transition: background .15s; }
.gs-add:hover { background: var(--acc2, #e67a00); }
.gs-add[hidden], .gs-qty[hidden] { display: none; }
.gs-qty { display: flex; align-items: center; background: var(--ink, #151515); border-radius: 12px; overflow: hidden; }
.gs-qty button { border: 0; background: transparent; color: #fff; width: 34px; height: 42px; font-size: 20px; cursor: pointer; }
.gs-qty button:hover { color: var(--acc, #ff8a00); }
.gs-qty input { width: 44px; height: 42px; border: 0; background: transparent; color: #fff; text-align: center; font: 700 15px/1 inherit; font-family: inherit; -moz-appearance: textfield; }
.gs-qty input::-webkit-outer-spin-button, .gs-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.gs-cart { margin-top: 48px; padding: 32px; background: var(--soft, #f5f5f2); border-radius: 32px; scroll-margin-top: 100px; }
.gs-cart[hidden] { display: none; }
.gs-cart-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
.gs-cart-list ul { list-style: none; margin: 18px 0 0; padding: 0; }
.gs-cart-list li { display: grid; grid-template-columns: 1fr auto 110px 28px; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line, #e9e9e6); font-size: 15px; }
.gs-cart-list li .q { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 10px; padding: 2px; }
.gs-cart-list li .q button { border: 0; background: transparent; width: 28px; height: 30px; font-size: 18px; cursor: pointer; }
.gs-cart-list li .q b { min-width: 60px; text-align: center; font-size: 14px; }
.gs-cart-list li .s { text-align: right; font-weight: 700; white-space: nowrap; }
.gs-cart-list li .x { border: 0; background: transparent; font-size: 22px; color: var(--mute, #76767a); cursor: pointer; }
.gs-cart-total { margin: 18px 0 6px; font-size: 18px; }
.gs-cart-total b { font-family: var(--wide); font-size: 28px; color: var(--ink, #151515); margin-left: 6px; }
.gs-cart-note { font-size: 13px; color: var(--mute, #76767a); margin: 0 0 12px; }
.gs-cart-clear { border: 0; background: none; padding: 0; color: var(--mute, #76767a); text-decoration: underline; cursor: pointer; font: inherit; font-size: 13px; }
.gs-order { background: #fff; border-radius: 24px; padding: 26px; }
.gs-order label { display: block; margin-bottom: 12px; }

.gs-cartbar { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 9990; display: flex; align-items: center; gap: 16px; background: var(--ink, #151515); color: #fff; padding: 10px 10px 10px 22px; border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.3); font-size: 14px; white-space: nowrap; }
.gs-cartbar[hidden] { display: none; }
.gs-cartbar b { font-family: var(--wide); font-size: 16px; color: var(--acc, #ff8a00); }
.gs-cartbar-go { background: var(--acc, #ff8a00); color: var(--ink, #151515) !important; text-decoration: none; font-family: var(--wide); font-weight: 600; font-size: 12px; text-transform: uppercase; padding: 12px 16px; border-radius: 12px; }
.gs-cartbar.is-bump { animation: gs-bump .35s ease; }
@keyframes gs-bump { 40% { transform: translateX(-50%) scale(1.06); } }

@media (max-width: 1180px) { .gs-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.gs-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.gs-cart-grid { grid-template-columns: 1fr; }
	.gs-cart { padding: 22px 16px; border-radius: 24px; }
	.gs-cart-list li { grid-template-columns: 1fr auto 28px; }
	.gs-cart-list li .s { grid-column: 1 / 2; text-align: left; }
	.gs-cartbar { bottom: 84px; left: 10px; right: 10px; transform: none; justify-content: space-between; }
	.gs-cartbar.is-bump { animation: none; }
}
@media (max-width: 560px) {
	.gs-shop-cats { flex-wrap: nowrap; overflow-x: auto; padding: 0 0 4px; scrollbar-width: none; max-width: 100%; }
	.gs-shop-cats button { flex: 0 0 auto; }
	.gs-shop-grid { grid-template-columns: 1fr; }
	.gs-prod-img { aspect-ratio: 16 / 10; }
}
.gs-shop-sec { padding-top: 8px; }
.gs-shop { scroll-margin-top: 100px; }

/* Ссылки на категории (страницы категорий) */
.gs-shop-cats a, .gs-shop-cats span { display: inline-flex; align-items: center; gap: 2px; border: 1.5px solid var(--line, #e9e9e6); background: #fff; color: var(--ink, #151515); border-radius: 999px; padding: 11px 18px; font-weight: 600; font-size: 14px; line-height: 1; text-decoration: none; transition: border-color .15s; }
.gs-shop-cats a:hover { border-color: var(--ink, #151515); }
.gs-shop-cats a sup, .gs-shop-cats span sup { font-size: 11px; color: var(--mute, #76767a); margin-left: 2px; }
.gs-shop-cats span.is-on { background: var(--ink, #151515); border-color: var(--ink, #151515); color: #fff; }
.gs-shop-cats span.is-on sup { color: var(--acc, #ff8a00); }
@media (max-width: 560px) { .gs-shop-cats a, .gs-shop-cats span { flex: 0 0 auto; } }

/* Карточка: ссылки на страницу товара */
.gs-prod-img a { display: block; height: 100%; }
.gs-prod-t a { color: inherit; text-decoration: none; }
.gs-prod-t a:hover { color: var(--acc2, #e67a00); }
.gs-prod-more { display: inline-block; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--chipt, #9a5300); text-decoration: none; }
.gs-prod-more:hover { text-decoration: underline; }
.gs-cart-list li a.n { color: inherit; text-decoration: none; }
.gs-cart-list li a.n:hover { text-decoration: underline; }

/* Страница товара */
.gs-pp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: start; scroll-margin-top: 110px; }
.gs-pp-d { font-size: 17px; line-height: 1.6; color: var(--txt, #3d3d3d); margin: 14px 0 18px; }
.gs-pp-specs { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.gs-pp-specs li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line, #e9e9e6); }
.gs-pp-specs span { color: var(--mute, #76767a); }
.gs-pp-specs b { font-weight: 600; text-align: right; }
.gs-prod.gs-pp-buy { position: sticky; top: 110px; padding: 26px; border-radius: 28px; background: var(--soft, #f5f5f2); border: 0; gap: 14px; }
.gs-prod.gs-pp-buy:hover { transform: none; box-shadow: none; }
.gs-pp-buy.is-in { box-shadow: 0 0 0 2px var(--acc, #ff8a00) inset; }
.gs-pp-save { align-self: flex-start; background: var(--ink, #151515); color: #fff; font-family: var(--wide); font-weight: 700; font-size: 12px; padding: 8px 12px; border-radius: 10px; }
.gs-pp-buy .gs-prod-price b { font-size: 34px; }
.gs-pp-buy .gs-prod-price small { font-size: 14px; }
.gs-pp-buy .gs-prod-price em { display: block; font-style: normal; font-size: 12px; color: var(--mute, #76767a); }
.gs-pp-buy .gs-prod-buy { justify-content: flex-start; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; }
.gs-pp-buy .gs-add { font-size: 14px; padding: 17px 26px; flex: 1 1 auto; }
.gs-pp-buy .gs-qty button { width: 44px; height: 52px; }
.gs-pp-buy .gs-qty input { height: 52px; }
.gs-pp-go { font-weight: 600; color: var(--ink, #151515); }
.gs-pp-go[hidden] { display: none; }
.gs-pp-terms { list-style: none; margin: 4px 0 0; padding: 0; font-size: 13px; color: var(--txt, #3d3d3d); }
.gs-pp-terms li { position: relative; padding: 5px 0 5px 22px; }
.gs-pp-terms li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 10px; height: 6px; border-left: 2px solid var(--acc, #ff8a00); border-bottom: 2px solid var(--acc, #ff8a00); transform: rotate(-45deg); }
.gs-pp-also { margin-top: 56px; }
.gs-pp-also .gp-h2 { margin-bottom: 22px; }
@media (max-width: 900px) {
	.gs-pp { grid-template-columns: 1fr; gap: 20px; }
	.gs-prod.gs-pp-buy { position: static; padding: 20px; }
	.gs-pp-also { margin-top: 36px; }
}

/* Калькулятор коробок */
.gs-bc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; background: var(--soft, #f5f5f2); border-radius: 32px; padding: 32px; scroll-margin-top: 100px; }
.gs-bc-lead { margin: 8px 0 18px; color: var(--txt, #3d3d3d); }
.gs-bc-q { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.gs-bc-q legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; padding: 0; }
.gs-bc-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-bc-opts label { cursor: pointer; }
.gs-bc-opts input { position: absolute; opacity: 0; pointer-events: none; }
.gs-bc-opts span { display: inline-block; border: 1.5px solid var(--line, #e2e2de); background: #fff; border-radius: 12px; padding: 11px 15px; font-weight: 600; font-size: 14px; transition: background .15s, border-color .15s; }
.gs-bc-opts label:hover span { border-color: var(--ink, #151515); }
.gs-bc-opts input:checked + span { background: var(--ink, #151515); border-color: var(--ink, #151515); color: #fff; }
.gs-bc-opts input:focus-visible + span { outline: 3px solid var(--acc, #ff8a00); outline-offset: 2px; }
.gs-bc-chk input:checked + span::before { content: "✓ "; color: var(--acc, #ff8a00); }
.gs-bc-res { background: #fff; border-radius: 24px; padding: 24px; align-self: start; }
.gs-bc-k { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute, #76767a); font-weight: 700; margin: 0 0 10px; }
.gs-bc-need { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.gs-bc-need li { font-size: 14px; line-height: 1.3; }
.gs-bc-need b { display: block; font-family: var(--wide); font-size: 24px; color: var(--ink, #151515); }
.gs-bc-offer { border-top: 1px dashed var(--line, #e2e2de); padding-top: 16px; }
.gs-bc-kit { font-weight: 700; margin: 0 0 6px; }
.gs-bc-kit a { color: var(--ink, #151515); }
.gs-bc-add { list-style: none; margin: 0 0 10px; padding: 0; font-size: 13px; color: var(--txt, #3d3d3d); }
.gs-bc-add li { padding: 2px 0; }
.gs-bc-sum { margin: 12px 0 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.gs-bc-sum b { font-family: var(--wide); font-size: 24px; }
.gs-bc-sum s { color: var(--mute, #76767a); font-size: 15px; }
.gs-bc-btn { width: 100%; border: 0; background: var(--acc, #ff8a00); color: var(--ink, #151515); font-family: var(--wide); font-weight: 600; font-size: 14px; text-transform: uppercase; padding: 17px 18px; border-radius: 14px; cursor: pointer; }
.gs-bc-btn:hover { background: var(--acc2, #e67a00); }
.gs-bc-ok { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: #1d7a3a; }
.gs-bc-ok[hidden] { display: none; }
@media (max-width: 900px) {
	.gs-bc { grid-template-columns: 1fr; padding: 22px 16px; border-radius: 24px; gap: 18px; }
	.gs-bc-res { padding: 18px; }
}
.gs-pp-info .gp-h2 { margin-bottom: 14px; }
.gs-pp-specs a { color: inherit; }
.gs-pp-note { margin: 16px 0 0; font-size: 14px; color: var(--txt, #3d3d3d); }
