/* ==========================================================================
   StableShot — classic theme styles
   All design tokens live here as CSS custom properties so colors/fonts stay
   consistent everywhere, whether a page is edited with Elementor, the
   classic editor, or left as shipped.
   ========================================================================== */

:root {
	--ss-orange: #FF6A13;
	--ss-orange-dark: #D94E00;
	--ss-green: #2FA84F;
	--ss-green-dark: #1B5E20;
	--ss-cream: #FFF7EE;
	--ss-charcoal: #20201E;
	--ss-white: #FFFFFF;
	--ss-font-heading: "Poppins", sans-serif;
	--ss-font-body: "Inter", sans-serif;
	--ss-radius: 18px;
	--ss-max-width: 1200px;
}

* { box-sizing: border-box; }

body {
	font-family: var(--ss-font-body);
	color: var(--ss-charcoal);
	background: var(--ss-cream);
	margin: 0;
	line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ss-font-heading);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 0.6em;
}

a { color: var(--ss-orange-dark); text-decoration: none; }
a:hover { color: var(--ss-green); }

.ss-container {
	max-width: var(--ss-max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* ---------- Sections ---------- */
.ss-section {
	padding: 4rem 1.5rem;
}
.ss-section--tight { padding: 3rem 1.5rem; }
.ss-section--white { background: var(--ss-white); }
.ss-section--cream { background: var(--ss-cream); }
.ss-section--charcoal { background: var(--ss-charcoal); color: var(--ss-white); }
.ss-section--gradient {
	background: linear-gradient(135deg, var(--ss-orange) 0%, var(--ss-green) 100%);
	color: var(--ss-white);
	position: relative;
	overflow: visible;
}
.ss-section-inner {
	max-width: var(--ss-max-width);
	margin: 0 auto;
}
.ss-center { text-align: center; }

/* ---------- Grid / columns ---------- */
.ss-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: center;
}
.ss-grid > * { flex: 1 1 260px; }
.ss-grid--3 > * { flex-basis: calc(33.333% - 1.4rem); }
.ss-grid--4 > * { flex-basis: calc(25% - 1.5rem); }

/* ---------- Buttons ---------- */
.ss-btn {
	display: inline-block;
	font-family: var(--ss-font-body);
	font-weight: 700;
	font-size: 1rem;
	padding: 0.9rem 2rem;
	border-radius: 999px;
	background: var(--ss-orange);
	color: var(--ss-white);
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, background-color 0.15s ease;
}
.ss-btn:hover { background: var(--ss-green); color: var(--ss-white); transform: translateY(-2px) scale(1.03); }
.ss-btn--white { background: var(--ss-white); color: var(--ss-orange-dark); }
.ss-btn--white:hover { background: var(--ss-green-dark); color: var(--ss-white); }
.ss-btn--outline { background: transparent; border-color: currentColor; color: var(--ss-orange-dark); }
.ss-btn--outline:hover { background: var(--ss-orange-dark); color: var(--ss-white); }
.ss-btn--outline-white { background: transparent; border-color: var(--ss-white); color: var(--ss-white); }
.ss-btn--outline-white:hover { background: var(--ss-white); color: var(--ss-orange-dark); }
.ss-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.ss-buttons--center { justify-content: center; }

/* ---------- Cards ---------- */
.ss-card {
	background: var(--ss-white);
	border-radius: var(--ss-radius);
	padding: 1.5rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ss-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(32, 32, 30, 0.1); }
.ss-card__icon { font-size: 2.5rem; margin-bottom: 0.5rem; }

/* ---------- Text helpers ---------- */
.ss-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--ss-green-dark);
}
.ss-tag {
	display: inline-block;
	background: var(--ss-green);
	color: var(--ss-white);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	margin-bottom: 0.5rem;
}
.ss-badge {
	display: inline-block;
	background: rgba(255,255,255,0.22);
	padding: 0.3rem 0.9rem;
	border-radius: 999px;
	margin-bottom: 0.75rem;
	font-weight: 700;
	font-size: 0.9rem;
}
.ss-lead { font-size: 1.1rem; }

/* ---------- Wave divider ---------- */
.ss-wave {
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	width: 100%; height: 70px;
	display: block;
}

/* ---------- Header ---------- */
.ss-topbar {
	background: var(--ss-green-dark);
	color: var(--ss-white);
	font-size: 0.85rem;
	padding: 0.5rem 1.5rem;
}
.ss-topbar .ss-container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}
.ss-topbar a { color: inherit; }
.ss-topbar a:hover { color: var(--ss-cream); }
.ss-topbar-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }

.ss-header {
	background: var(--ss-white);
	padding: 1rem 1.5rem;
}
.ss-header .ss-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}
.ss-branding { display: flex; align-items: center; gap: 0.75rem; }
.ss-branding img { max-height: 52px; width: auto; }
.ss-site-title {
	font-family: var(--ss-font-heading);
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--ss-orange-dark);
	margin: 0;
}
.ss-nav { display: flex; }
.ss-nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.ss-nav a { color: var(--ss-charcoal); font-weight: 600; }
.ss-nav a:hover { color: var(--ss-orange-dark); }
.ss-cart-link { font-size: 1.4rem; position: relative; }
.ss-cart-count {
	position: absolute; top: -8px; right: -12px;
	background: var(--ss-orange); color: #fff;
	font-size: 0.65rem; font-weight: 700;
	border-radius: 999px; padding: 0.05rem 0.4rem;
}
.ss-menu-toggle {
	display: none;
	background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ss-charcoal);
}

@media (max-width: 860px) {
	.ss-nav {
		display: none;
		width: 100%;
		order: 3;
	}
	.ss-nav.is-open { display: block; }
	.ss-nav ul { flex-direction: column; gap: 0.75rem; padding: 1rem 0; }
	.ss-menu-toggle { display: block; }
}

/* ---------- Footer ---------- */
.ss-footer {
	background: var(--ss-charcoal);
	color: var(--ss-white);
	padding: 3.5rem 1.5rem 2rem;
}
.ss-footer h4 { color: var(--ss-green); font-family: var(--ss-font-heading); }
.ss-footer a { color: var(--ss-white); }
.ss-footer a:hover { color: var(--ss-orange); }
.ss-footer ul { list-style: none; padding: 0; margin: 0; }
.ss-footer li { margin-bottom: 0.5rem; }
.ss-footer hr { border: none; border-top: 1px solid var(--ss-green); margin: 2rem 0 1rem; }
.ss-footer-bottom { text-align: center; font-size: 0.85rem; }

/* ---------- Stats strip ---------- */
.ss-stats { text-align: center; }
.ss-stats__number { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.25rem; }
.ss-stats__number--orange { color: var(--ss-orange); }
.ss-stats__number--green { color: var(--ss-green); }
.ss-stats__note { font-size: 0.75rem; text-align: center; opacity: 0.8; margin-top: 1.5rem; }

/* ---------- 3D scroll viewers ---------- */
.stableshot-3d-section { width: 100%; margin-top: 1.5rem; }
.stableshot-3d-block { position: relative; height: 220vh; }
.stableshot-3d-block:last-child { height: 200vh; }
.stableshot-3d-sticky {
	position: sticky; top: 90px; height: 80vh;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.25rem;
}
.stableshot-3d-canvas-wrap {
	position: relative; width: 100%; max-width: 520px; height: 52vh;
	border-radius: 24px;
	background: linear-gradient(180deg, #ffffff 0%, #fff1e2 100%);
	box-shadow: 0 20px 45px rgba(217, 78, 0, 0.15);
	overflow: hidden;
}
.stableshot-3d-canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.stableshot-3d-canvas:active { cursor: grabbing; }
.stableshot-3d-loading {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	font-size: 0.95rem; font-weight: 600; color: var(--ss-orange-dark);
	background: rgba(255,255,255,0.85); padding: 0.6rem 1.1rem; border-radius: 999px;
	pointer-events: none; white-space: nowrap;
}
.stableshot-3d-caption { text-align: center; max-width: 420px; }
.stableshot-3d-caption h3 { color: var(--ss-orange-dark); margin-bottom: 0.35rem; font-size: 1.4rem; }
.stableshot-3d-caption p { margin: 0; }

@media (max-width: 600px) {
	.stableshot-3d-block { height: 160vh; }
	.stableshot-3d-block:last-child { height: 145vh; }
	.stableshot-3d-sticky { top: 70px; height: 72vh; }
	.stableshot-3d-canvas-wrap { height: 38vh; border-radius: 16px; }
	.stableshot-3d-caption h3 { font-size: 1.15rem; }
}

/* ---------- WhatsApp / Call floating buttons ---------- */
.stableshot-whatsapp-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 9999;
	width: 60px; height: 60px; border-radius: 50%;
	background: var(--ss-green); display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 20px rgba(0,0,0,0.25); transition: transform 0.15s ease;
}
.stableshot-whatsapp-float:hover { transform: scale(1.08); }
.stableshot-whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }
.stableshot-call-float {
	position: fixed; right: 20px; bottom: 90px; z-index: 9999;
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--ss-orange); display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 20px rgba(0,0,0,0.25); font-size: 22px; text-decoration: none;
	transition: transform 0.15s ease;
}
.stableshot-call-float:hover { transform: scale(1.08); }
@media (max-width: 480px) {
	.stableshot-whatsapp-float, .stableshot-call-float { right: 14px; width: 52px; height: 52px; }
	.stableshot-call-float { bottom: 78px; }
}

/* ---------- Contact form ---------- */
.ss-contact-form {
	display: flex; flex-direction: column; gap: 0.35rem;
	background: var(--ss-white); padding: 1.75rem; border-radius: var(--ss-radius);
	box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.ss-contact-form label { font-weight: 600; font-size: 0.9rem; margin-top: 0.65rem; }
.ss-contact-form input, .ss-contact-form textarea {
	font-family: inherit; font-size: 1rem; padding: 0.7rem 0.9rem;
	border: 1px solid #e2d9cd; border-radius: 10px; background: var(--ss-cream);
}
.ss-contact-form input:focus, .ss-contact-form textarea:focus {
	outline: 2px solid var(--ss-green); outline-offset: 1px;
}
.ss-contact-form button { margin-top: 1.1rem; align-self: flex-start; }
.ss-form-notice { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 10px; font-size: 0.9rem; }
.ss-form-success { background: #e5f6e9; color: var(--ss-green-dark); }
.ss-form-error { background: #fdeae0; color: var(--ss-orange-dark); }

/* ---------- WooCommerce polish ---------- */
.woocommerce ul.products li.product .price { color: var(--ss-orange-dark); font-weight: 700; }
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit {
	background: var(--ss-orange); color: #fff; border-radius: 999px; padding: 0.7rem 1.6rem; border: none;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--ss-green); color: #fff; }

/* ---------- Misc ---------- */
.ss-tilt img { transition: transform 0.25s ease; border-radius: 20px; transform: rotate(-3deg); }
.ss-tilt:hover img { transform: rotate(0deg) scale(1.02); }
.ss-hero-image img { border-radius: 24px; }

@media (max-width: 782px) {
	.ss-grid--3 > *, .ss-grid--4 > * { flex-basis: 100%; }
}

/* Plain page/post content that ISN'T one of our full-width .ss-section
   blocks (e.g. a normal blog post, or a page you write in the classic
   editor without Elementor) still gets a readable, centered column. */
.ss-content-wrap > *:not(.ss-section) {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}
.ss-content-wrap > .ss-section:first-child { margin-top: 0; }
