/* ==========================================================================
   OC Cars – Shop Redesign
   Brand navy matches the OC Cars main menu (#1c507e).
   ========================================================================== */

.occ {
	--occ-primary: #1c507e;
	--occ-primary-ink: #ffffff;
	--occ-ink: #13212f;
	--occ-muted: #5a6876;
	--occ-line: #e2e8ee;
	--occ-soft: #f3f6f9;
	--occ-card: #ffffff;
	--occ-sale: #d6452b;
	--occ-ok: #1f8a4c;
	--occ-radius: 14px;
	--occ-radius-sm: 9px;
	--occ-shadow: 0 1px 2px rgba(16, 32, 48, .06), 0 6px 20px rgba(16, 32, 48, .06);
	--occ-shadow-hover: 0 2px 4px rgba(16, 32, 48, .08), 0 14px 34px rgba(16, 32, 48, .12);
	color: var(--occ-ink);
	font-size: 16px;
	line-height: 1.55;
	padding-bottom: 64px;
}
.occ *, .occ *::before, .occ *::after { box-sizing: border-box; }
.occ a { text-decoration: none; }
.occ img { max-width: 100%; height: auto; display: block; }
.occ h1, .occ h2, .occ h3, .occ h4 { text-transform: none !important; color: var(--occ-ink); margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
.occ p { margin: 0; }
.occ ul { list-style: none; margin: 0; padding: 0; }
.occ svg.occ-i { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Avada page cleanup on our pages */
body.occ-shop .fusion-page-title-bar,
body.occ-shop .avada-page-titlebar-wrapper,
body.occ-shop .fusion-tb-page-title-bar { display: none !important; }
body.occ-shop #main { padding-top: 0 !important; overflow-x: clip; }
/* Shop pages: remove Avada's container side padding so every section shares the same 16px gutter. */
html body.occ-shop #main,
html body.occ-shop #main > .fusion-row,
html body.occ-shop #main .fusion-row,
html body.occ-shop #content.occ-content {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: none !important;
	width: 100% !important;
}
html body.occ-shop .occ { width: 100%; max-width: none; margin: 0; }
html body.occ-shop .occ .occ-bleed { width: 100%; left: 0; right: 0; margin-left: 0; margin-right: 0; }
body.occ-shop #content.occ-content { width: 100% !important; float: none !important; margin: 0 !important; }
body.occ-shop #sidebar, body.occ-shop #sidebar-2 { display: none !important; }

.occ-bleed { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
.occ-wrap { max-width: calc(var(--site_width, 1240px) + 32px); margin: 0 auto; padding: 0 16px; }

/* ---------- Buttons ---------- */
.occ-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: 0 18px; border-radius: 999px;
	font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap;
	border: 1.5px solid transparent; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.occ-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--occ-primary) 40%, transparent); outline-offset: 2px; }
.occ-btn--primary { background: var(--occ-primary); color: var(--occ-primary-ink) !important; }
.occ-btn--primary:hover { background: color-mix(in srgb, var(--occ-primary) 86%, #000); }
.occ-btn--ghost { background: transparent; color: var(--occ-ink) !important; border-color: var(--occ-line); }
.occ-btn--ghost:hover { border-color: var(--occ-ink); }
.occ-btn--light { background: #fff; color: var(--occ-primary) !important; }
.occ-btn--light:hover { background: #eef3f8; }
.occ-btn--outline-light { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.occ-btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.occ-btn.loading { opacity: .65; pointer-events: none; }
.occ-btn.added::after { content: "✓"; margin-left: 2px; }

/* ---------- Hero (landing) ---------- */
.occ-hero {
	background:
		radial-gradient(1200px 400px at 85% -10%, rgba(255,255,255,.14), transparent 60%),
		linear-gradient(135deg, color-mix(in srgb, var(--occ-primary) 92%, #000) 0%, var(--occ-primary) 55%, color-mix(in srgb, var(--occ-primary) 75%, #3aa0ff) 100%);
	color: #fff; padding: 64px 0 72px;
}
/* Optional background photo (set in Appearance > Customize > OC Cars Shop) */
.occ-hero.has-bg { position: relative; isolation: isolate; background: #1c507e; }
.occ-hero.has-bg::before {
	content: ""; position: absolute; inset: 0; z-index: -2;
	background-image: var(--occ-hero-img); background-size: cover; background-position: var(--occ-hero-pos, center);
}
.occ-hero.has-bg::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(90deg, rgba(20, 58, 92, var(--occ-hero-shade, .88)) 0%, rgba(28, 80, 126, calc(var(--occ-hero-shade, .88) - .15)) 60%, rgba(28, 80, 126, calc(var(--occ-hero-shade, .88) - .3)) 100%);
}
@media (max-width: 860px) {
	.occ-hero.has-bg::after { background: rgba(20, 58, 92, var(--occ-hero-shade, .88)); }
}
.occ-hero__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.occ-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; margin-bottom: 14px; }
.occ-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; opacity: .7; }
.occ-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; margin-bottom: 16px; }
.occ .occ-hero__lead { font-size: 18px; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 20px; }
.occ-search { display: flex; background: #fff; border-radius: 999px; padding: 6px; max-width: 540px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.occ-search input[type=search] {
	flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important;
	padding: 0 18px !important; height: 46px !important; font-size: 16px !important; color: var(--occ-ink) !important; outline: none;
}
.occ-search button { border: 0; }
.occ-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.occ-hero__panel {
	background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 26px;
	backdrop-filter: blur(6px);
}
.occ-hero__panel h3 { color: #fff; font-size: 18px; margin-bottom: 14px; }
.occ-ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.92); font-size: 15px; }
.occ-ticks li:first-child { border-top: 0; padding-top: 0; }
.occ-ticks .occ-i { margin-top: 3px; color: #9fe2b8; }
.occ-ticks strong { color: #fff; display: block; }

/* ---------- Sections ---------- */
.occ-section { padding: 56px 0 0; }
.occ-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.occ-section__head h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.occ-section__head p { color: var(--occ-muted); margin-top: 6px; }
.occ-link { color: var(--occ-primary) !important; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.occ-link:hover { gap: 10px; }

/* ---------- Category tiles ---------- */
.occ-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.occ-cat {
	position: relative; display: flex; flex-direction: column; background: var(--occ-card); border: 1px solid var(--occ-line);
	border-radius: var(--occ-radius); overflow: hidden; box-shadow: var(--occ-shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
	color: var(--occ-ink) !important;
}
.occ-cat:hover { transform: translateY(-3px); box-shadow: var(--occ-shadow-hover); border-color: color-mix(in srgb, var(--occ-primary) 30%, var(--occ-line)); }
.occ-cat__media { aspect-ratio: 4 / 3; background: var(--occ-soft); display: flex; align-items: center; justify-content: center; padding: 18px; }
.occ-cat__media img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.occ-cat:hover .occ-cat__media img { transform: scale(1.04); }
.occ-cat__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.occ-cat__body h3 { font-size: 19px; font-weight: 700; }
.occ-cat__tag { color: var(--occ-muted); font-size: 14px; }
.occ-cat__meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; font-size: 14px; }
.occ-cat__from { color: var(--occ-muted); }
.occ-cat__from b { color: var(--occ-ink); }
.occ-cat__go { width: 34px; height: 34px; border-radius: 50%; background: var(--occ-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--occ-primary); transition: background .2s, color .2s; }
.occ-cat:hover .occ-cat__go { background: var(--occ-primary); color: #fff; }

/* Wide tiles (Scooters + Accessories) span two columns, image beside text */
.occ-cat--wide { grid-column: span 2; flex-direction: row; }
.occ-cat--wide .occ-cat__media { aspect-ratio: auto; width: 46%; flex: none; min-height: 240px; }
.occ-cat--wide .occ-cat__body { padding: 24px; justify-content: center; }
.occ-cat--feature .occ-cat__body h3 { font-size: 24px; }
.occ-cat__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- Chips ---------- */
.occ-chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
	background: var(--occ-soft); border: 1px solid var(--occ-line); color: var(--occ-ink) !important;
	font-size: 14px; font-weight: 600; transition: background .15s, border-color .15s, color .15s;
}
.occ-chip small { color: var(--occ-muted); font-weight: 500; }
.occ-chip:hover { border-color: var(--occ-primary); color: var(--occ-primary) !important; }
.occ-chip.is-active { background: var(--occ-primary); border-color: var(--occ-primary); color: #fff !important; }
.occ-chip.is-active small { color: rgba(255,255,255,.8); }
.occ-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Scooter size guide ---------- */
.occ-guide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.occ-guide__item {
	display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--occ-card); border: 1px solid var(--occ-line);
	border-radius: var(--occ-radius); color: var(--occ-ink) !important; transition: border-color .2s, box-shadow .2s;
}
.occ-guide__item:hover { border-color: var(--occ-primary); box-shadow: var(--occ-shadow); }
.occ-guide__item.is-active { border-color: var(--occ-primary); box-shadow: inset 0 0 0 1px var(--occ-primary); }
.occ-guide__img { width: 76px; height: 76px; flex: none; border-radius: 10px; background: var(--occ-soft); display: flex; align-items: center; justify-content: center; padding: 6px; }
.occ-guide__img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.occ-guide__item h4 { font-size: 16px; font-weight: 700; }
.occ-guide__item p { font-size: 13.5px; color: var(--occ-muted); line-height: 1.4; margin-top: 2px; }

/* ---------- Product grid & cards ---------- */
.occ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.occ-card {
	display: flex; flex-direction: column; background: var(--occ-card); border: 1px solid var(--occ-line);
	border-radius: var(--occ-radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.occ-card:hover { box-shadow: var(--occ-shadow-hover); transform: translateY(-2px); border-color: color-mix(in srgb, var(--occ-primary) 25%, var(--occ-line)); }
.occ-card__media { position: relative; aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 16px; border-bottom: 1px solid var(--occ-line); }
.occ-card__media img, .occ-card__media .occ-card__img { width: 100%; height: 100%; object-fit: contain; margin: 0 !important; transition: transform .3s; }
.occ-card:hover .occ-card__media img { transform: scale(1.04); }
.occ-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.occ-badge { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1; }
.occ-badge--sale { background: var(--occ-sale); color: #fff; }
.occ-badge--oos { background: #2b3540; color: #fff; }
.occ-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.occ-card__cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--occ-primary); }
.occ-card__title { font-size: 16px !important; font-weight: 600 !important; line-height: 1.35 !important; margin: 0 !important; }
.occ-card__title a { color: var(--occ-ink) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.occ-card__title a:hover { color: var(--occ-primary) !important; }
.occ-card__price { margin-top: auto; padding-top: 8px; font-size: 20px; font-weight: 800; color: var(--occ-ink); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.occ-card__price del { font-size: 14px; font-weight: 500; color: var(--occ-muted); opacity: 1; order: 2; }
.occ-card__price ins { text-decoration: none; color: var(--occ-sale); order: 1; }
.occ-card__price .occ-poa { font-size: 16px; font-weight: 700; color: var(--occ-muted); }
.occ-card__price .screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.occ-card__vat { font-size: 12px; color: var(--occ-muted); font-weight: 500; }
.occ-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.occ-card__actions .occ-btn { min-height: 40px; padding: 0 10px; font-size: 14px; }
.occ-card__actions .occ-btn:only-child { grid-column: span 2; }
.occ-card__actions .added_to_cart { grid-column: span 2; text-align: center; font-size: 13px; font-weight: 600; color: var(--occ-ok) !important; }

/* ---------- Archive header ---------- */
.occ-head { background: var(--occ-soft); border-bottom: 1px solid var(--occ-line); padding: 28px 0 32px; }
.occ-crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; color: var(--occ-muted); margin-bottom: 14px; }
.occ-crumbs a { color: var(--occ-muted) !important; }
.occ-crumbs a:hover { color: var(--occ-primary) !important; }
.occ-crumbs span[aria-hidden] { opacity: .5; }
.occ-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.occ-head h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
.occ-head__intro { color: var(--occ-muted); max-width: 720px; margin-top: 10px; font-size: 17px; }
.occ-head__intro p + p { margin-top: 8px; }
.occ-head__count { color: var(--occ-muted); font-size: 14px; white-space: nowrap; }
.occ-head .occ-chips { margin-top: 22px; }
.occ-head .occ-chip { background: #fff; }
.occ-head .occ-chip.is-active { background: var(--occ-primary); }

/* ---------- Toolbar ---------- */
.occ-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0 18px; flex-wrap: wrap; }
.occ-toolbar .woocommerce-result-count { margin: 0 !important; color: var(--occ-muted); font-size: 14px; float: none !important; }
.occ-toolbar .woocommerce-ordering { margin: 0 !important; float: none !important; }
.occ-toolbar .woocommerce-ordering select {
	appearance: none; -webkit-appearance: none; height: 42px; padding: 0 40px 0 16px; border: 1px solid var(--occ-line) !important;
	border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6876' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
	font-size: 14px; font-weight: 600; color: var(--occ-ink); cursor: pointer; min-width: 220px;
}

/* ---------- Pagination ---------- */
.occ-pagination { margin-top: 36px; }
.occ-pagination ul.page-numbers { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; border: 0 !important; }
.occ-pagination ul.page-numbers li { border: 0 !important; margin: 0; }
.occ-pagination .page-numbers a, .occ-pagination .page-numbers span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
	border-radius: 999px; border: 1px solid var(--occ-line); background: #fff; color: var(--occ-ink) !important; font-weight: 600; font-size: 15px;
}
.occ-pagination .page-numbers a:hover { border-color: var(--occ-primary); color: var(--occ-primary) !important; }
.occ-pagination .page-numbers span.current { background: var(--occ-primary); border-color: var(--occ-primary); color: #fff !important; }
.occ-pagination .page-numbers span.dots { border: 0; background: transparent; }

/* ---------- Empty state ---------- */
.occ-empty { text-align: center; padding: 56px 20px; background: var(--occ-soft); border-radius: var(--occ-radius); }
.occ-empty h3 { font-size: 22px; margin-bottom: 8px; }
.occ-empty p { color: var(--occ-muted); margin-bottom: 18px; }

/* ---------- Trust strip ---------- */
.occ-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.occ-trust__item { padding: 22px; border-radius: var(--occ-radius); background: var(--occ-soft); }
.occ-trust__icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--occ-primary); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: var(--occ-shadow); }
.occ-trust__icon .occ-i { width: 22px; height: 22px; }
.occ-trust__item h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.occ-trust__item p { color: var(--occ-muted); font-size: 14.5px; }
.occ-trust__item a { color: var(--occ-primary) !important; font-weight: 600; }

/* ---------- Banners ---------- */
.occ-hire {
	display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
	margin-top: 40px; padding: 22px 26px; border-radius: var(--occ-radius); border: 1px dashed color-mix(in srgb, var(--occ-primary) 45%, var(--occ-line));
	background: color-mix(in srgb, var(--occ-primary) 5%, #fff);
}
.occ-hire h3 { font-size: 18px; font-weight: 700; }
.occ-hire p { color: var(--occ-muted); font-size: 15px; margin-top: 2px; }

.occ-help {
	margin-top: 56px; border-radius: 20px; padding: 40px; color: #fff;
	background: linear-gradient(120deg, color-mix(in srgb, var(--occ-primary) 90%, #000), var(--occ-primary));
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center;
}
.occ .occ-help h2 { color: #fff !important; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; margin-bottom: 8px; }
.occ-help p { color: rgba(255,255,255,.86); }
.occ-help__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.occ-help__actions .occ-btn { min-height: 50px; font-size: 16px; }
.occ .occ-help__addr { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 10px; display: flex; gap: 8px; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.occ-cats { grid-template-columns: repeat(3, 1fr); }
	.occ-cat--feature { grid-column: span 3; }
	.occ-grid { grid-template-columns: repeat(3, 1fr); }
	.occ-guide { grid-template-columns: repeat(2, 1fr); }
	.occ-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.occ-hero { padding: 44px 0 52px; }
	.occ-hero__grid { grid-template-columns: 1fr; gap: 28px; }
	.occ-cats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.occ-cat--wide, .occ-cat--feature { grid-column: span 2; }
	.occ-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.occ-help { grid-template-columns: 1fr; padding: 28px 22px; }
}
@media (max-width: 560px) {
	.occ { font-size: 15px; }
	.occ-section { padding-top: 40px; }
	.occ-cat__body { padding: 14px; }
	.occ-cat__body h3 { font-size: 16px; }
	.occ-cat__tag { font-size: 13px; }
	.occ-cat--wide { flex-direction: column; }
	.occ-cat--wide .occ-cat__media { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
	.occ-cat--wide .occ-cat__body { padding: 16px; }
	.occ-cat--feature .occ-cat__body h3 { font-size: 21px; }
	.occ-cat__meta { font-size: 13px; }
	.occ-guide { grid-template-columns: 1fr 1fr; gap: 10px; }
	.occ-guide__item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
	.occ-guide__img { width: 100%; height: 72px; }
	.occ-guide__item p { font-size: 12.5px; }
	.occ-trust { grid-template-columns: 1fr; }
	.occ-card__body { padding: 12px; }
	.occ-card__title { font-size: 14.5px !important; }
	.occ-card__price { font-size: 17px; }
	.occ-card__actions { grid-template-columns: 1fr; }
	.occ-card__actions .occ-btn:only-child, .occ-card__actions .added_to_cart { grid-column: auto; }
	.occ-toolbar .woocommerce-ordering, .occ-toolbar .woocommerce-ordering select { width: 100%; }
	.occ-search input[type=search] { padding: 0 12px !important; }
	.occ-search .occ-btn span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.occ *, .occ *::before, .occ *::after { transition: none !important; }
}
