/* ShotPay Shop directory. Scoped under .sp-shop. */
[hidden] { display: none !important; }

.sp-shop { font-family: "Poppins", system-ui, sans-serif; background: transparent; color: #000; }
.sp-shop *, .sp-shop *::before, .sp-shop *::after { box-sizing: border-box; }
.sp-shop a { text-decoration: none; }

/* Hero */
.sp-shop__hero { background: #0a0a0a; color: #fff; padding: 56px 24px 48px; text-align: left; }
.sp-shop__hero > * { max-width: 85vw; margin-left: auto; margin-right: auto; }
.sp-shop__eyebrow { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #9a9a9a; margin-bottom: 14px; }
.sp-shop .sp-shop__title { color: #fff; font-size: 3rem; line-height: 1.05; font-weight: 800; text-transform: uppercase; margin: 0 auto 28px; }
.sp-shop .sp-shop__title span { color: var(--e-global-color-accent, #FF3400); }

/* Category pills */
.sp-shop__pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 24px; background: #fff; border: 1px solid #e5e5e5; border-radius: 15px; }
.sp-shop__pills button { border: 1px solid transparent; background: transparent; border-radius: 999px; padding: 8px 16px; font: 600 14px/1 "Poppins", sans-serif; color: #111; text-transform: none; cursor: pointer; }
.sp-shop__pills button span { color: #888; font-weight: 400; margin-left: 2px; }
.sp-shop__pills button:hover:not(.is-active) { background: var(--e-global-color-accent, #FF3400); border-color: var(--e-global-color-accent, #FF3400); color: #fff; }
.sp-shop__pills button.is-active { background: #0a0a0a; color: #fff; }
.sp-shop__pills button.is-active span { color: #bbb; }

/* Layout */
.sp-shop__layout { max-width: 85vw; margin: 0 auto; padding: 24px 0px; display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start;background: transparent; }
.sp-shop__panel { background: #fff; border: 1px solid #e5e5e5; border-radius: 18px; padding: 16px; margin-bottom: 16px; }
.sp-shop__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.sp-shop__panel select { width: 100%; height: 42px; border: 1px solid #ddd; border-radius: 6px; padding: 0 10px; font: inherit; background: #fff; }
.sp-shop__check { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 0; cursor: pointer; }
.sp-shop__note { font-size: 12px; color: #7a2a1a; background: #fbeee9; border-radius: 8px; padding: 12px; line-height: 1.5; }
.sp-shop__meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 14px; }
.sp-shop__meta span { color: #666; }

/* Grid and cards */
.sp-shop__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.sp-shop-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.sp-shop-card--extra { display: contents; }
.sp-shop-card__media { position: relative; height: 170px; display: flex; align-items: center; justify-content: center; padding: 28px 24px; background: #ececec; overflow: hidden; justify-content: center; }
.sp-shop-card__media::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--sp-card-icon) 100% 50% / auto 90% no-repeat; opacity: .5; pointer-events: none; }
.sp-shop-card__media > .sp-shop-card__img, .sp-shop-card__media > .sp-shop-card__fallback { position: relative; z-index: 1; }
.sp-shop-card__media > .sp-shop-badge { z-index: 2; }
.sp-shop-card__media--light { background: #ececec; }
.sp-shop-card__media--either { background: #dadada; }
.sp-shop-card__media--dark { background: #0a0a0a; }
.sp-shop-card__img { max-width: 50%; max-height: 100px; width: auto; height: auto; object-fit: contain; }
.sp-shop-card__fallback { font-weight: 700; font-size: 18px; color: #333; text-align: center; }
.sp-shop-card__media--dark .sp-shop-card__fallback { color: #fff; }
.sp-shop-badge { position: absolute; top: 12px; left: 12px; background: #000000; color: #ffffff; font-size: 10px; font-weight: 700; letter-spacing: .12em; padding: 4px 8px; border-radius: 100px; }
/* Dark logo background: inverted badge so it stays visible. */
.sp-shop-card__media--dark > .sp-shop-badge { background: #ffffff; color: #000000; }
.sp-shop-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sp-shop-card__head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.sp-shop-card__name { font-size: 17px; font-weight: 700; margin: 0; color: #111; text-decoration: none; text-transform: none!important; }
.sp-shop-card__domain { font-size: 12px; color: #888; }
.sp-shop-card__loc { font-size: 12px; color: #888; }
.sp-shop-card__desc { font-size: 14px; line-height: 1.55; color: #444; margin: 0; }
.sp-shop-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; }
.sp-shop-tags li { font-size: 12px; background: #f0f0f0; border-radius: 999px; padding: 4px 10px; color: #333; }
.sp-shop-btn { margin-top: auto; display: inline-block; text-align: center; border: 1px solid #FF3400; color: #FF3400; padding: 10px 16px; border-radius: 6px; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
/* Left-to-right sweep on hover, as on the main site. */
.sp-shop-btn { position: relative; overflow: hidden; isolation: isolate; transition: color .35s ease, border-color .35s ease; }
.sp-shop-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--e-global-color-accent, #FF3400); transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.65, 0, .35, 1); }
.sp-shop-btn:hover, .sp-shop-btn:focus-visible { color: #fff; border-color: var(--e-global-color-accent, #FF3400); }
.sp-shop-btn:hover::before, .sp-shop-btn:focus-visible::before { transform: scaleX(1); }
.sp-shop-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.sp-shop-btn__icon { flex: 0 0 auto; width: 20px; height: 20px; transition: transform .2s ease; }
.sp-shop-btn:hover .sp-shop-btn__icon { transform: translateX(3px); }
.sp-shop-btn--solid { background: #0a0a0a; border-color: #0a0a0a; color: #fff!important; }
.sp-shop-card--placeholder { border: 2px dashed #d5d5d5; background: #fafafa; align-items: center; justify-content: center; text-align: center; padding: 32px 20px; gap: 10px; min-height: 280px; }
.sp-shop-card--placeholder p { margin: 0; font-size: 14px; color: #666; }
.sp-shop-card__kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #888; }
.sp-shop__empty { font-size: 15px; color: #666; padding: 40px 0; text-align: center; }

/* How it works */
.sp-shop__how { max-width: 85vw; margin: 0 auto 24px; background: #fff; border: 1px solid #e5e5e5; border-radius: 15px; padding: 28px; }
.sp-shop__how h2 { font-size: 22px; font-weight: 800; text-transform: uppercase; margin: 0 0 20px; }
.sp-shop__how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sp-shop__how li span { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #0a0a0a; color: #fff; font-weight: 700; margin-bottom: 10px; }
.sp-shop__how li.is-accent span { background: #FF3400; }
.sp-shop__how li strong { display: block; margin-bottom: 6px; }
.sp-shop__how li p { margin: 0; font-size: 14px; color: #555; line-height: 1.5; }

.sp-shop__disclosure { max-width: 85vw; margin: 0 auto 32px; padding: 0 24px; font-size: 12px; color: #777; line-height: 1.5; }

@media (max-width: 1024px) {
	.sp-shop .sp-shop__title { font-size: 2.5rem; }
}
@media (max-width: 767px) {
	.sp-shop .sp-shop__title { font-size: 2rem; }
}
@media (max-width: 860px) {
	.sp-shop__layout { grid-template-columns: 1fr; }
	.sp-shop__how ol { grid-template-columns: 1fr; }
}

/* Width of the Elementor container that holds [shotpay_shop]: 85vw desktop, 90vw tablet and mobile. */
.elementor .e-con-inner:has(.sp-shop) {
	width: 85vw;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}
@media (max-width: 1024px) {
	.elementor .e-con-inner:has(.sp-shop) { width: 90vw; }
	.sp-shop__hero > *,
	.sp-shop__layout,
	.sp-shop__how,
	.sp-shop__disclosure { max-width: 90vw; }
}
@media (max-width: 767px) {
	.elementor .e-con-inner:has(.sp-shop) { width: 90vw; }
	.sp-shop__hero > *,
	.sp-shop__layout,
	.sp-shop__how,
	.sp-shop__disclosure { max-width: 90vw; }
}

/* Sidebar category list (no counts) */
.sp-shop__cats { display: flex; flex-direction: column; gap: 2px; }
.sp-shop__cats button { display: block; width: 100%; border: 0; border-left: 3px solid transparent; background: transparent; border-radius: 6px; padding: 10px 12px; text-align: left; font: 500 15px/1.2 "Poppins", sans-serif; text-transform: none; color: #333; cursor: pointer; }
.sp-shop__cats button:hover:not(.is-active) { color: #ffffff; background: var(--e-global-color-accent, #FF3400); }
.sp-shop__cats button.is-active { background: #f4f4f4; border-left-color: var(--e-global-color-accent, #FF3400); font-weight: 700; color: #111; }

/* Placeholder cards ("Coming soon" and "Sell on ShotPay"), per design */
.sp-shop-card--placeholder { border: 2px dashed #bcbcbc; border-radius: 24px; background: #fafafa; min-height: 480px; padding: 40px 20px; gap: 18px; }
.sp-shop-card--placeholder .sp-shop-card__kicker { font-size: 13px; letter-spacing: .18em; color: #666; }
.sp-shop-card--placeholder strong { font-size: 2.25rem; font-weight: 800; line-height: 1.1; color: #111; }
.sp-shop-card--placeholder.sp-shop-card--soon strong { color: #444; }
.sp-shop-card--placeholder p { font-size: 1.125rem; line-height: 1.5; max-width: 320px; color: #666; }
.sp-shop-card--placeholder .sp-shop-btn { margin-top: 12px; padding: 16px; border-radius: 12px; font-size: 15px; }
@media (max-width: 767px) {
	.sp-shop-card--placeholder { min-height: 360px; padding: 32px 20px; border-radius: 20px; }
	.sp-shop-card--placeholder strong { font-size: 1.75rem; }
	.sp-shop-card--placeholder p { font-size: 1rem; }
}

/* Logo stays centered and smaller. */
@media (max-width: 767px) {
	.sp-shop-card__img { max-width: 60%; max-height: 52px; }
}

/* Sidebar category counts and orange checkboxes. */
.sp-shop__cats button { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sp-shop__cats button span { color: #888; font-weight: 400; }
.sp-shop__cats button.is-active span { color: #666; }
.sp-shop__check input[type="checkbox"] { accent-color: var(--e-global-color-accent, #FF3400); }

/* Active and focus states for category controls (pills and sidebar).
   Mouse clicks show the active style only; keyboard focus gets an orange ring. */
.sp-shop .sp-shop__cats button.is-active { background: #f4f4f4; border-left-color: var(--e-global-color-accent, #FF3400); color: #111; font-weight: 700; }
.sp-shop .sp-shop__cats button:focus:not(:focus-visible),
.sp-shop .sp-shop__pills button:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.sp-shop .sp-shop__cats button:focus-visible,
.sp-shop .sp-shop__pills button:focus-visible { outline: 2px solid var(--e-global-color-accent, #FF3400); outline-offset: 2px; }
.sp-shop .sp-shop__pills button.is-active { background: #0a0a0a; color: #fff; }

