/* Graano – obchod/kategórie podľa návrhu: vlastná hlavička s čipmi, bez bočného panela, rýchly nákup na karte. */
body.gr-shop .page-title, body.gr-shop .wd-page-title { display: none !important; }
body.gr-shop .main-page-wrapper { padding-top: 0 !important; }
body.gr-shop .sidebar-container, body.gr-shop .wd-show-sidebar-btn, body.gr-shop .wd-sidebar-opener, body.gr-shop .shop-loop-head > :not(:has(.gr-shophead)) { display: none !important; }
body.gr-shop .wd-shop-tools:has(.gr-shophead) { display: block !important; width: 100%; flex: 1 1 100%; }
body.gr-shop .wd-shop-tools:has(.gr-shophead) > :not(.gr-shophead) { display: none !important; }
body.gr-shop .shop-loop-head { display: block !important; margin: 0 0 24px !important; padding: 0 !important; border: 0 !important; }
body.gr-shop .shop-content-area { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
body.gr-shop .term-description, body.gr-shop .page-description, body.gr-shop .wd-shop-desc { display: none; }

.gr-shophead { padding: 32px 0 24px; background: transparent; }
.gr-shophead .gr-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.gr-shophead .gr-crumbs a { color: var(--grey); text-decoration: underline; text-decoration-color: var(--y); text-underline-offset: 3px; }
.gr-shophead .gr-crumbs strong { color: var(--dark); font-weight: 600; }
.gr-shophead__top { display: grid; grid-template-columns: 1fr minmax(0, 460px); gap: 32px; align-items: end; margin-bottom: 24px; }
.gr-shophead h1 { font-size: clamp(44px, 6vw, 80px); font-weight: 800; letter-spacing: -.04em; line-height: .95; color: var(--dark); }
.gr-shophead__top p { color: var(--grey); font-size: 17px; }
.gr-shophead .gr-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.gr-shophead .gr-chip { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; transition: background .15s, border-color .15s; }
.gr-shophead a.gr-chip:hover, .gr-shophead button.gr-chip:hover { border-color: var(--dark); }
.gr-shophead .gr-chip.is-on, .gr-shophead .gr-chip.is-on:hover { background: var(--dark); border-color: var(--dark); color: #fff !important; }
.gr-shophead .gr-chip--s { padding: 8px 14px; font-size: 14px; min-height: 40px; }
.gr-shophead .gr-chip__n { font-size: 12px; color: var(--muted); font-weight: 600; }
.gr-shophead .gr-chip.is-on .gr-chip__n { color: #c9c9c9; }
.gr-shophead .gr-panel { background: var(--light); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 12px; }
.gr-shophead .gr-panel--flat { padding: 12px 20px; }
.gr-shophead .gr-panel__row { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; }
.gr-shophead .gr-panel__row > small { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.gr-shophead .gr-panel__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gr-shophead .gr-panel__chips .gr-chip { background: #fff; }
.gr-shophead .gr-panel__chips .gr-chip.is-on { background: var(--dark); }
.gr-shophead .gr-panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.gr-shophead .gr-panel__row + .gr-panel__foot { border-top: 1px solid var(--line); padding-top: 12px; }
.gr-shophead .gr-panel__count { font-weight: 700; font-size: 15px; }

/* 4 karty v riadku (bez bočného panela) */
@media (min-width: 1025px) {
	body.gr-shop .products.elements-grid { --wd-col-lg: 4 !important; }
	body.gr-shop .products.elements-grid > .product-grid-item { flex: 0 0 25% !important; max-width: 25% !important; width: 25% !important; }
}

/* Rýchly nákup na karte */
body.gr-site .product-grid-item.gr-has-qb .price, body.gr-site .product-grid-item.gr-has-qb .wd-add-btn, body.gr-site .product-grid-item.gr-has-qb .wc-stripe-bnpl-shop-message { display: none !important; }
body.gr-site .product-grid-item .gr-qb { background: transparent; margin-top: auto; padding: 4px 20px 20px !important; display: flex; flex-direction: column; gap: 10px; }
body.gr-site .product-grid-item .gr-qb .gr-weights { margin: 4px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
body.gr-site .product-grid-item .gr-qb .gr-w { min-height: 40px; font-size: 14px; padding: 8px 4px; }
body.gr-site .product-grid-item .gr-qb .gr-card__buy { padding-top: 4px; margin: 0; }
body.gr-site .product-grid-item .gr-qb .gr-price strong { font-size: 24px; color: var(--dark); }
body.gr-site .product-grid-item .gr-qb .gr-btn { min-height: 44px; padding: 10px 16px; font-size: 15px; color: var(--dark) !important; background: var(--y) !important; border-radius: 999px !important; text-transform: none !important; }
body.gr-site .product-grid-item .gr-qb .gr-btn svg { width: 16px; height: 16px; }
body.gr-site .product-grid-item .gr-qb .gr-btn.loading { opacity: .6; }
body.gr-site .product-grid-item .gr-qb .gr-btn.added::after { display: none; }
body.gr-site .product-grid-item .gr-qb .added_to_cart { display: none !important; }
body.gr-site .product-grid-item.gr-has-qb .gr-loop-taste { margin-bottom: 0 !important; }

@media (max-width: 900px) {
	.gr-shophead__top { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 768px) {
	.gr-shophead { padding: 20px 0 16px; }
	.gr-shophead .gr-cats, .gr-shophead .gr-panel__chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px 2px; }
	.gr-shophead .gr-panel .gr-panel__chips { margin-left: 0; margin-right: -20px; padding-left: 0; padding-right: 20px; }
	.gr-shophead .gr-cats::-webkit-scrollbar, .gr-shophead .gr-panel__chips::-webkit-scrollbar { display: none; }
	.gr-shophead .gr-chip { white-space: nowrap; flex: none; }
	.gr-shophead .gr-panel { padding: 14px 16px; border-radius: 18px; }
	.gr-shophead .gr-panel__row { grid-template-columns: 1fr; gap: 6px; }
	.gr-shophead .gr-panel__foot { flex-direction: column; align-items: stretch; }
	.gr-shophead .gr-panel__sort { margin-right: -16px !important; }
	body.gr-site .product-grid-item .gr-qb { padding: 2px 12px 14px !important; gap: 8px; }
	body.gr-site .product-grid-item .gr-qb .gr-w { font-size: 13px; min-height: 36px; padding: 6px 2px; }
	body.gr-site .product-grid-item .gr-qb .gr-card__buy { flex-direction: column; align-items: stretch; gap: 8px; }
	body.gr-site .product-grid-item .gr-qb .gr-price strong { font-size: 20px; }
	body.gr-site .product-grid-item .gr-qb .gr-btn { justify-content: center; min-height: 42px; font-size: 14px; }
}

/* Káva s kartou: vlastný titulok (pôvod · zvieratko · charakteristika) */
body.gr-site .product-grid-item.gr-has-card :is(.wd-entities-title, .wd-product-cats) { display: none !important; }
body.gr-site .product-grid-item .gr-ctitle { background: transparent; padding: 18px 20px 0 !important; display: flex; flex-direction: column; gap: 2px; }
body.gr-site .product-grid-item .gr-ctitle .gr-eyebrow { margin: 0 0 2px; font-size: 11px; }
body.gr-site .product-grid-item .gr-ctitle__n { font-family: var(--fh); font-size: 21px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
body.gr-site .product-grid-item .gr-ctitle__n a { color: var(--dark); }
body.gr-site .product-grid-item .gr-ctitle__t { color: var(--grey); font-size: 14px; line-height: 1.35; }
@media (max-width: 768px) {
	body.gr-site .product-grid-item .gr-ctitle { padding: 12px 12px 0 !important; }
	body.gr-site .product-grid-item .gr-ctitle__n { font-size: 17px; }
	body.gr-site .product-grid-item .gr-ctitle__t { font-size: 13px; }
}

/* Detail produktu podľa návrhu */
body.gr-pdp .gr-pdp__eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin: 0 0 8px; }
body.gr-pdp .summary-inner .product_title { margin-bottom: 12px !important; }
body.gr-pdp--var .summary-inner > p.price { display: none !important; }
body.gr-pdp .summary-inner :is(.wd-compare-btn, .wd-wishlist-btn, .product-share, .wd-social-icons, .sku_wrapper, .wd-action-btn.wd-style-text) { display: none !important; }
body.gr-pdp .summary-inner .product_meta { border: 0 !important; padding-top: 0 !important; }
body.gr-pdp .summary-inner .woocommerce-product-details__short-description { color: var(--grey); font-size: 16px; line-height: 1.6; }
body.gr-pdp .gr-weights--single .gr-w.has-price { display: flex; flex-direction: column; align-items: center; gap: 2px; line-height: 1.1; padding: 10px 14px; min-width: 104px; }
body.gr-pdp .gr-weights--single .gr-w.has-price small { font-size: 12px; font-weight: 500; opacity: .75; }
body.gr-pdp .gr-weights--single.gr-weights--inline { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); max-width: 460px; width: 100%; }
body.gr-pdp .variations_form .single_variation_wrap .woocommerce-variation-price .price { font-size: 30px; margin: 4px 0 12px; display: block; }
body.gr-pdp form.cart .single_add_to_cart_button { flex: 1 1 auto; }
body.gr-pdp form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
body.gr-pdp .gr-pdp__trust { list-style: none; padding: 16px 0 0; margin: 18px 0 8px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; font-size: 13px; color: var(--grey); background: none; max-width: 520px; }
body.gr-pdp .gr-pdp__trust li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.35; }
body.gr-pdp .gr-pdp__trust svg { color: #c98f00; width: 16px; height: 16px; margin-top: 1px; }
body.gr-pdp .gr-pdp__trust strong { color: var(--dark); }
@media (max-width: 600px) { body.gr-pdp .gr-pdp__trust { grid-template-columns: 1fr; } }
