/* GStore Tools: sugerencias de la búsqueda en vivo, filtros de la tienda y bloques de portada.
   Usa las variables de color del tema GStore (--gmk-…). */
.gmk-suggest {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
	background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
	max-height: 70vh; overflow: auto; padding: 6px;
}
.gmk-suggest a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 8px; color: var(--gmk-ink); }
.gmk-suggest a:hover, .gmk-suggest a.is-active { background: color-mix(in srgb, var(--gmk-blue) 7%, #fff); text-decoration: none; }
.gmk-suggest__item img, .gmk-suggest__item > span:first-child { width: 46px; height: 46px; object-fit: contain; flex: none; background: #fff; }
.gmk-suggest__item > span { flex: 1; min-width: 0; }
.gmk-suggest__item strong { display: block; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gmk-suggest__item small { color: var(--gmk-muted); }
.gmk-suggest__item em { font-style: normal; font-weight: 700; color: var(--gmk-ink); }
.gmk-suggest__cat { font-size: 14px; }
.gmk-suggest__none { margin: 0; padding: 12px; color: var(--gmk-muted); }
.gmk-suggest__all { width: 100%; margin-top: 4px; padding: 10px; border: 0; border-radius: 8px; background: #f2f4f7; font: inherit; font-weight: 600; color: var(--gmk-blue); cursor: pointer; }
.gmk-email { font-weight: 700; font-size: 1.1em; }
.gmk-check { display: flex; align-items: center; gap: 10px; padding: 5px 0; color: var(--gmk-text); font-size: 14px; }
.gmk-check:hover { text-decoration: none; color: var(--gmk-blue); }
.gmk-check__box { width: 18px; height: 18px; flex: none; border: 1.5px solid #8d99a6; border-radius: 4px; background: #fff; display: grid; place-items: center; }
.gmk-check.is-active .gmk-check__box { background: var(--gmk-blue-light); border-color: var(--gmk-blue-light); }
.gmk-check.is-active .gmk-check__box::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.gmk-check.is-active { font-weight: 600; color: var(--gmk-ink); }
.gmk-check__label { flex: 1; }
.gmk-check__count { color: var(--gmk-muted); font-size: 12px; }
.gmk-price-form { display: flex; gap: 8px; margin-top: 12px; }
.gmk-price-form label { flex: 1; min-width: 0; }
.gmk-price-form input { width: 100%; padding: 8px 10px; border: 1px solid #c3ccd6; border-radius: 999px; font: inherit; font-size: 13px; }
.gmk-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.gmk-chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px 5px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--gmk-line); color: var(--gmk-ink); font-size: 13px; }
.gmk-chip .gmk-icon { width: 14px; height: 14px; }
.gmk-chip:hover { border-color: var(--gmk-red); color: var(--gmk-red); text-decoration: none; }
.gmk-chips__clear { font-size: 13px; }
.gmk-row .onsale {
	position: absolute; top: 12px; left: 12px; right: auto; z-index: 2;
	min-width: 0; min-height: 0; margin: 0; padding: 3px 9px; border-radius: 4px;
	background: var(--gmk-red); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.5;
}
.gmk-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gmk-tile { display: flex; flex-direction: column; padding: 18px; background: #fff; border-radius: var(--gmk-radius); box-shadow: var(--gmk-shadow); min-width: 0; }
.gmk-tile h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.gmk-tile__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; }
.gmk-tile__grid a { display: flex; flex-direction: column; gap: 4px; color: var(--gmk-text); font-size: 12px; min-width: 0; }
.gmk-tile__grid a span { display: block; height: calc(1.35em * 2); line-height: 1.35; overflow: hidden; }
.gmk-tile__grid a:hover { text-decoration: none; color: var(--gmk-blue); }
.gmk-tile__grid img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 6px; border: 1px solid #f0f2f5; }
.gmk-tile__more { margin-top: 14px; font-size: 14px; font-weight: 600; }
.gmk-row { padding: 18px 20px; background: #fff; border-radius: var(--gmk-radius); box-shadow: var(--gmk-shadow); min-width: 0; }
.gmk-row__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 12px; }
.gmk-row__head h2 { margin: 0; font-size: 21px; }
.gmk-row__head a { font-size: 14px; font-weight: 600; }
.gmk-row__track { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.gmk-row__item { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; color: var(--gmk-ink); min-width: 0; }
.gmk-row__item:hover { text-decoration: none; color: var(--gmk-blue); }
.gmk-row__img { position: relative; display: block; background: #f7f9fb; border-radius: 8px; padding: 10px; }
.gmk-row__img img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.gmk-row__img .onsale { top: 8px; left: 8px; }
.gmk-row__title { font-size: 14px; line-height: 1.35; height: calc(1.35em * 2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gmk-row__price { font-weight: 700; font-size: 17px; min-height: 1.4em; }
.gmk-row__price del { font-weight: 400; font-size: 13px; color: var(--gmk-muted); }
.gmk-row__price ins { text-decoration: none; color: var(--gmk-red); }
.gmk-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.gmk-cats__item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px; background: #fff; border-radius: var(--gmk-radius); box-shadow: var(--gmk-shadow); text-align: center; color: var(--gmk-ink); transition: transform .2s, box-shadow .2s; }
.gmk-cats__item:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 10px 24px color-mix(in srgb, var(--gmk-blue) 16%, transparent); color: var(--gmk-blue); }
.gmk-cats__img { width: 100%; max-width: 120px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #f2f6fa; display: grid; place-items: center; }
.gmk-cats__img img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.gmk-cats__name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.gmk-cats__count { font-size: 12px; color: var(--gmk-muted); }
.gmk-row__track { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
.gmk-cats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; grid-auto-rows: auto; }
.gmk-cats__item { padding: 0 0 6px; gap: 6px; box-shadow: none; background: transparent; }
.gmk-cats__item:hover { box-shadow: none; }
.gmk-cats__img { max-width: none; border-radius: 8px; background: #fff; padding: 10px; box-shadow: var(--gmk-shadow); }
.gmk-cats__img img { width: 100%; height: 100%; }
@media (max-width: 1199px) {
.gmk-row__track, .gmk-cats { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.gmk-row__track > :nth-child(n+9) { display: none; }
.gmk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
.gmk-tiles { grid-template-columns: 1fr; }
.gmk-row { padding: 14px; }
.gmk-row__track, .gmk-cats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
.gmk-row__track > :nth-child(n+7) { display: none; }
}
.gmk-check { display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 6px; color: var(--mac-ink); font-size: 14px; line-height: 1.35; }
.gmk-check:hover { background: var(--mac-blue); color: #fff; text-decoration: none; }
.gmk-check:hover .gmk-check__count { color: rgba(255, 255, 255, .8); }
.gmk-check__box { width: 15px; height: 15px; border: 1px solid #b5b5b9; border-radius: 4px; background: #fff; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .06); }
.gmk-check.is-active .gmk-check__box { background: var(--mac-blue); border-color: var(--mac-blue); }
.gmk-check:hover .gmk-check__box { border-color: #fff; }
.gmk-check.is-active { font-weight: 500; color: var(--mac-ink); }
.gmk-check.is-active:hover { color: #fff; }
.gmk-check__count { color: var(--mac-muted); }
.gmk-price-form { margin: 8px 10px 0; }
.gmk-price-form input { border: 1px solid #c7c7cc; border-radius: 6px; }
@media (max-width: 600px) {
	.gmk-suggest { position: fixed; top: auto; left: 8px; right: 8px; margin-top: 46px; max-height: 60vh; }
}
