/* ============================================
   ELKO eCom — "Dark Pro" teema-overlay
   Disainitud sobima tumeda gradient-stiilis teemadega.
   Värvid asuvad CSS muutujates (--elko-*) — saad neid
   üle kirjutada oma teemast ilma plugiini muutmata.
   ============================================ */

:root {
	--elko-bg:        #0d1626;
	--elko-bg-2:      #142039;
	--elko-bg-3:      #1d2c4d;
	--elko-fg:        #ffffff;
	--elko-fg-muted:  #a0b0c8;
	--elko-accent:    #ff7847;  /* warm orange */
	--elko-accent-2:  #5ed3f0;  /* cyan */
	--elko-accent-3:  #ffd166;  /* amber */
	--elko-border:    rgba(255, 255, 255, 0.10);
	--elko-card:      rgba(255, 255, 255, 0.04);
	--elko-card-hi:   rgba(255, 255, 255, 0.08);
	--elko-radius:    16px;
	--elko-radius-sm: 10px;
	--elko-shadow:    0 10px 30px rgba(0, 0, 0, 0.45);
	--elko-glow:      0 0 0 1px rgba(255, 120, 71, 0.30), 0 0 24px rgba(255, 120, 71, 0.18);
	--elko-font:      'Inter', 'Inter var', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================
   Body wrapper aktiveerub ainult ElkO-page postidel,
   et mitte üle kirjutada admini-teemat.
   ============================================ */

body.elko-themed,
body.elko-themed .site-content,
body.elko-themed .entry-content {
	background: radial-gradient(ellipse at top, var(--elko-bg-3) 0%, var(--elko-bg) 60%);
	color: var(--elko-fg);
}

body.elko-themed,
body.elko-themed input,
body.elko-themed select,
body.elko-themed textarea,
body.elko-themed button {
	font-family: var(--elko-font);
}

body.elko-themed h1, body.elko-themed h2, body.elko-themed h3,
body.elko-themed h4, body.elko-themed h5, body.elko-themed h6 {
	color: var(--elko-fg);
	letter-spacing: -0.01em;
	font-weight: 700;
}

body.elko-themed a { color: var(--elko-accent); }
body.elko-themed a:hover { color: var(--elko-accent-2); }

body.elko-themed hr {
	border: 0;
	border-top: 1px solid var(--elko-border);
	margin: 28px 0;
}

/* ============================================
   Hero sektsioonid (kategooria-leht jms)
   ============================================ */

.elko-hero {
	background: linear-gradient(180deg, rgba(255,120,71,0.05) 0%, rgba(255,120,71,0) 100%);
	padding: 60px 0 40px;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--elko-border);
}
.elko-hero h1 {
	font-size: clamp(2rem, 5vw, 3.4rem);
	margin: 0 0 12px;
	background: linear-gradient(135deg, var(--elko-fg) 0%, var(--elko-accent) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.elko-hero p { color: var(--elko-fg-muted); font-size: 18px; max-width: 720px; }

.elko-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 120, 71, 0.1);
	border: 1px solid rgba(255, 120, 71, 0.25);
	color: var(--elko-accent);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.elko-pill::before {
	content: '';
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--elko-accent);
	box-shadow: 0 0 8px var(--elko-accent);
}

/* ============================================
   Botoonid
   ============================================ */

body.elko-themed .button,
body.elko-themed .wc-block-components-button,
body.elko-themed button[type="submit"],
body.elko-themed .elko-btn {
	background: var(--elko-accent);
	color: #0d1626;
	font-weight: 700;
	border: 0;
	padding: 12px 22px;
	border-radius: 10px;
	cursor: pointer;
	transition: filter .15s, transform .15s;
	text-decoration: none;
	display: inline-block;
}
body.elko-themed .button:hover,
body.elko-themed .wc-block-components-button:hover,
body.elko-themed button[type="submit"]:hover,
body.elko-themed .elko-btn:hover {
	filter: brightness(1.1);
	transform: translateY(-1px);
}
body.elko-themed .button.alt {
	background: linear-gradient(135deg, var(--elko-accent) 0%, var(--elko-accent-2) 100%);
}
body.elko-themed .button.secondary,
body.elko-themed .elko-btn-secondary {
	background: var(--elko-card);
	color: var(--elko-fg);
	border: 1px solid var(--elko-border);
}
body.elko-themed .button.secondary:hover {
	background: var(--elko-card-hi);
}

/* ============================================
   Vormiväljad
   ============================================ */

body.elko-themed input[type=text],
body.elko-themed input[type=email],
body.elko-themed input[type=password],
body.elko-themed input[type=tel],
body.elko-themed input[type=number],
body.elko-themed input[type=search],
body.elko-themed textarea,
body.elko-themed select,
body.elko-themed .form-row .input-text,
body.elko-themed .input-text {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	color: var(--elko-fg);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	width: 100%;
	box-sizing: border-box;
	transition: border-color .15s, box-shadow .15s;
}
body.elko-themed input:focus,
body.elko-themed textarea:focus,
body.elko-themed select:focus {
	outline: none;
	border-color: var(--elko-accent);
	box-shadow: 0 0 0 3px rgba(255, 120, 71, 0.18);
}
body.elko-themed label { color: var(--elko-fg-muted); font-size: 14px; margin-bottom: 6px; display: block; }

/* ============================================
   Tooteloend (shop archive)
   ============================================ */

body.elko-themed ul.products,
body.elko-themed .wc-block-grid__products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}
body.elko-themed ul.products li.product,
body.elko-themed .wc-block-grid__product {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 18px;
	margin: 0 !important;
	width: auto !important;
	float: none !important;
	transition: transform .2s, border-color .2s, box-shadow .2s;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
body.elko-themed ul.products li.product::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top right, rgba(255, 120, 71, 0.08), transparent 60%);
	opacity: 0;
	transition: opacity .25s;
	pointer-events: none;
}
body.elko-themed ul.products li.product:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 120, 71, 0.4);
	box-shadow: var(--elko-shadow);
}
body.elko-themed ul.products li.product:hover::before { opacity: 1; }

body.elko-themed ul.products li.product img {
	border-radius: var(--elko-radius-sm);
	margin-bottom: 14px;
	background: #fff;
	padding: 8px;
}
body.elko-themed ul.products li.product .woocommerce-loop-product__title {
	color: var(--elko-fg);
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 8px;
}
body.elko-themed ul.products li.product .price {
	color: var(--elko-accent);
	font-size: 18px;
	font-weight: 700;
	margin: auto 0 12px;
}
body.elko-themed ul.products li.product .price del { color: var(--elko-fg-muted); font-size: 14px; }
body.elko-themed ul.products li.product .price ins { background: transparent; }

body.elko-themed ul.products li.product .button {
	margin-top: auto;
	width: 100%;
	text-align: center;
}

body.elko-themed .onsale {
	background: var(--elko-accent-3) !important;
	color: #fff !important;
	border-radius: 999px;
	padding: 4px 10px;
	font-weight: 600;
	font-size: 11px;
	top: 16px !important;
	left: 16px !important;
	right: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	line-height: 1.2 !important;
}

/* ============================================
   Üksiku toote leht
   ============================================ */

body.elko-themed .single-product div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 768px) { body.elko-themed .single-product div.product { grid-template-columns: 1fr; } }

body.elko-themed .single-product .woocommerce-product-gallery {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 20px;
}
body.elko-themed .single-product .woocommerce-product-gallery img {
	background: #fff;
	border-radius: var(--elko-radius-sm);
	padding: 12px;
}
body.elko-themed .single-product .product_title {
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	margin: 0 0 12px;
}
body.elko-themed .single-product .price {
	color: var(--elko-accent);
	font-size: 28px;
	font-weight: 700;
}
body.elko-themed .single-product .woocommerce-product-details__short-description { color: var(--elko-fg-muted); }
body.elko-themed .single-product .product_meta { color: var(--elko-fg-muted); font-size: 13px; margin-top: 16px; border-top: 1px solid var(--elko-border); padding-top: 16px; }
body.elko-themed .single-product .product_meta span { display: block; margin: 4px 0; }
body.elko-themed .single-product .product_meta a { color: var(--elko-accent); }

body.elko-themed .single-product .quantity input {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	color: var(--elko-fg);
	border-radius: 10px;
	padding: 12px 14px;
	width: 80px;
}

body.elko-themed .single-product .stock { color: var(--elko-accent); font-weight: 600; }
body.elko-themed .single-product .out-of-stock { color: #f87171; }

body.elko-themed .woocommerce-tabs ul.tabs {
	border-bottom: 1px solid var(--elko-border) !important;
	padding: 0 !important;
	margin: 32px 0 0 !important;
}
body.elko-themed .woocommerce-tabs ul.tabs li {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	padding: 0 !important;
	margin: 0 24px 0 0 !important;
}
body.elko-themed .woocommerce-tabs ul.tabs li::before,
body.elko-themed .woocommerce-tabs ul.tabs li::after { display: none !important; }
body.elko-themed .woocommerce-tabs ul.tabs li a {
	color: var(--elko-fg-muted) !important;
	padding: 14px 0 !important;
	border-bottom: 2px solid transparent !important;
	font-weight: 600;
	display: block;
}
body.elko-themed .woocommerce-tabs ul.tabs li.active a {
	color: var(--elko-accent) !important;
	border-bottom-color: var(--elko-accent) !important;
}
body.elko-themed .woocommerce-tabs .panel { padding-top: 24px !important; color: var(--elko-fg); }

body.elko-themed table.shop_attributes,
body.elko-themed table.shop_table,
body.elko-themed .elko-specs {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}
body.elko-themed table.shop_attributes th,
body.elko-themed table.shop_table th,
body.elko-themed .elko-specs th {
	background: var(--elko-card) !important;
	color: var(--elko-fg-muted) !important;
	border-bottom: 1px solid var(--elko-border) !important;
	font-weight: 600;
	text-align: left;
	padding: 10px 14px;
}
body.elko-themed table.shop_attributes td,
body.elko-themed table.shop_table td,
body.elko-themed .elko-specs td {
	color: var(--elko-fg);
	border-bottom: 1px solid var(--elko-border);
	padding: 10px 14px;
}

/* ============================================
   Ostukorv
   ============================================ */

body.elko-themed .woocommerce-cart .cart-collaterals,
body.elko-themed .woocommerce-cart .woocommerce-cart-form {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 22px;
	margin-bottom: 22px;
}
body.elko-themed .woocommerce-cart .cart_totals h2 { margin-top: 0; }

body.elko-themed table.cart .product-thumbnail img {
	width: 64px; height: 64px;
	background: #fff;
	padding: 6px;
	border-radius: 8px;
}
body.elko-themed table.cart .product-remove a {
	background: rgba(255,100,100,0.15);
	color: #f87171 !important;
	width: 28px; height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-weight: bold;
}

body.elko-themed .cart_totals table {
	border: 0;
}
body.elko-themed .cart_totals .order-total .woocommerce-Price-amount {
	color: var(--elko-accent);
	font-size: 22px;
	font-weight: 700;
}

body.elko-themed .coupon { display: flex; gap: 10px; align-items: center; }
body.elko-themed .coupon input { max-width: 220px; }

/* ============================================
   Checkout
   ============================================ */

body.elko-themed .woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 30px;
}
@media (max-width: 900px) { body.elko-themed .woocommerce-checkout form.checkout { grid-template-columns: 1fr; } }

body.elko-themed .woocommerce-checkout .col2-set,
body.elko-themed .woocommerce-checkout #order_review_heading,
body.elko-themed .woocommerce-checkout #order_review {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 22px;
	color: var(--elko-fg);
}
body.elko-themed .woocommerce-checkout #order_review { position: sticky; top: 24px; }
body.elko-themed .woocommerce-checkout #payment {
	background: transparent !important;
	border: 0 !important;
}
body.elko-themed .woocommerce-checkout #payment ul.payment_methods {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius-sm);
	padding: 14px;
}
body.elko-themed .woocommerce-checkout #payment ul.payment_methods li { background: transparent; color: var(--elko-fg); }
body.elko-themed .woocommerce-checkout #payment .place-order { padding: 0; margin-top: 16px; }
body.elko-themed .woocommerce-checkout #payment .place-order button { width: 100%; padding: 16px; font-size: 16px; }

/* ============================================
   My Account
   ============================================ */

body.elko-themed .woocommerce-account .woocommerce-MyAccount-navigation,
body.elko-themed .woocommerce-account .woocommerce-MyAccount-content {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 22px;
}
body.elko-themed .woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none; padding: 0; margin: 0;
}
body.elko-themed .woocommerce-account .woocommerce-MyAccount-navigation ul li {
	padding: 0;
	margin-bottom: 6px;
}
body.elko-themed .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	color: var(--elko-fg-muted) !important;
	transition: background .15s, color .15s;
}
body.elko-themed .woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
	background: var(--elko-card-hi);
	color: var(--elko-fg) !important;
}
body.elko-themed .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	background: var(--elko-accent);
	color: #0d1626 !important;
	font-weight: 600;
}

/* ============================================
   Märguanded
   ============================================ */

body.elko-themed .woocommerce-message,
body.elko-themed .woocommerce-info {
	background: rgba(255, 120, 71, 0.08);
	border: 1px solid rgba(255, 120, 71, 0.3);
	border-radius: 10px;
	color: var(--elko-fg);
	padding: 14px 18px;
}
body.elko-themed .woocommerce-message::before { color: var(--elko-accent); }
body.elko-themed .woocommerce-error {
	background: rgba(248, 113, 113, 0.08);
	border: 1px solid rgba(248, 113, 113, 0.3);
	color: #fecaca;
	border-radius: 10px;
	padding: 14px 18px;
}

/* ============================================
   Tellimuse vastuvõtu (thankyou) leht
   ============================================ */

body.elko-themed .woocommerce-order {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 30px;
}
body.elko-themed .woocommerce-thankyou-order-received {
	font-size: 22px;
	color: var(--elko-fg);
	margin-bottom: 18px;
}
body.elko-themed ul.order_details {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	background: var(--elko-bg-2);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 18px;
	list-style: none;
}
body.elko-themed ul.order_details li {
	display: flex; flex-direction: column;
	border: 0 !important;
	color: var(--elko-fg-muted);
	text-transform: uppercase;
	font-size: 12px;
}
body.elko-themed ul.order_details li strong { color: var(--elko-fg); font-size: 16px; text-transform: none; }

/* ============================================
   Lehed (privaatsus, tingimused, taganemine, kontakt jne)
   ============================================ */

body.elko-themed .page-template-default .entry-content,
body.elko-themed .page .entry-content {
	max-width: 880px;
	margin: 0 auto;
	padding: 40px 24px;
}
body.elko-themed .page .entry-content h2 { margin-top: 36px; }
body.elko-themed .page .entry-content h3 {
	font-size: 19px;
	color: var(--elko-accent);
	margin-top: 28px;
}
body.elko-themed .page .entry-content ul li,
body.elko-themed .page .entry-content ol li { color: var(--elko-fg); padding: 4px 0; }
body.elko-themed .page .entry-content p { color: var(--elko-fg); line-height: 1.7; }

/* ============================================
   Taganemisvorm — dark style
   ============================================ */

body.elko-themed .elko-withdrawal-form fieldset {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 22px;
}
body.elko-themed .elko-withdrawal-form legend { color: var(--elko-accent); }

/* ============================================
   eeID widget — dark variant
   ============================================ */

body.elko-themed .elko-eid-widget {
	background: linear-gradient(135deg, var(--elko-bg-2) 0%, var(--elko-bg-3) 100%);
	border: 1px solid var(--elko-border);
	color: var(--elko-fg);
}
body.elko-themed .elko-eid-widget h3 { color: var(--elko-fg); }
body.elko-themed .elko-eid-desc { color: var(--elko-fg-muted); }
body.elko-themed .elko-btn-eid {
	background: linear-gradient(135deg, var(--elko-accent) 0%, var(--elko-accent-2) 100%);
	color: #0d1626;
}
body.elko-themed .elko-eid-icon {
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230b0f1e'><path d='M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4Zm-2 16-4-4 1.4-1.4L10 14.2l6.6-6.6L18 9l-8 8Z'/></svg>") center/contain no-repeat;
}

/* ============================================
   Küpsisebanner
   ============================================ */

.elko-cookie-banner {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	max-width: 920px;
	width: calc(100% - 32px);
	background: rgba(11, 15, 30, 0.95);
	backdrop-filter: blur(10px);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 18px 22px;
	color: var(--elko-fg);
	display: none;
	z-index: 99999;
	box-shadow: var(--elko-shadow);
	font-family: var(--elko-font);
}
.elko-cookie-banner.is-open { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.elko-cookie-banner p { margin: 0; flex: 1; font-size: 14px; }
.elko-cookie-banner p a { color: var(--elko-accent); }
.elko-cookie-banner .elko-cookie-actions { display: flex; gap: 8px; }
.elko-cookie-banner button {
	padding: 10px 18px; border-radius: 8px; border: 0; cursor: pointer;
	font-weight: 600; font-family: inherit;
}
.elko-cookie-banner .elko-cookie-accept {
	background: var(--elko-accent); color: #0d1626;
}
.elko-cookie-banner .elko-cookie-decline {
	background: transparent; color: var(--elko-fg-muted); border: 1px solid var(--elko-border);
}

/* ============================================
   Trust-rida (alajaotus avalehel/lehtedel)
   ============================================ */

.elko-trust-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
	margin: 40px 0;
}
.elko-trust-card {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 22px;
	display: flex;
	gap: 14px;
	align-items: flex-start;
}
.elko-trust-icon {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--elko-accent) 0%, var(--elko-accent-2) 100%);
	display: flex; align-items: center; justify-content: center;
	color: #0d1626; font-weight: 700; flex-shrink: 0;
}
.elko-trust-card h4 { margin: 0 0 6px; font-size: 16px; color: var(--elko-fg); }
.elko-trust-card p { margin: 0; color: var(--elko-fg-muted); font-size: 14px; }

/* ============================================
   FAQ accordion
   ============================================ */

.elko-faq { max-width: 800px; margin: 30px auto; }
.elko-faq details {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius-sm);
	padding: 0;
	margin-bottom: 10px;
	overflow: hidden;
}
.elko-faq summary {
	padding: 18px 22px;
	cursor: pointer;
	color: var(--elko-fg);
	font-weight: 600;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.elko-faq summary::-webkit-details-marker { display: none; }
.elko-faq summary::after {
	content: '+';
	color: var(--elko-accent);
	font-size: 22px;
	transition: transform .2s;
}
.elko-faq details[open] summary::after { content: '−'; }
.elko-faq details > div { padding: 0 22px 18px; color: var(--elko-fg-muted); line-height: 1.6; }

/* ============================================
   TehnoPart avalehe ja kontakti komponendid (.tp-*)
   ============================================ */

.tp-container { max-width: 1180px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

.tp-pill {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px; border-radius: 999px;
	background: rgba(255, 120, 71, 0.12);
	border: 1px solid rgba(255, 120, 71, 0.28);
	color: var(--elko-accent);
	font-size: 12px; font-weight: 700;
	letter-spacing: 0.06em; text-transform: uppercase;
	margin-bottom: 18px;
}

.tp-btn {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 12px;
	font-weight: 700; font-size: 15px;
	text-decoration: none !important;
	transition: filter .15s, transform .15s;
	border: 0; cursor: pointer;
}
.tp-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.tp-btn-primary {
	background: linear-gradient(135deg, var(--elko-accent) 0%, #ff5a26 100%);
	color: #0d1626 !important;
	box-shadow: 0 8px 24px rgba(255, 120, 71, 0.35);
}
.tp-btn-ghost {
	background: transparent;
	color: var(--elko-fg) !important;
	border: 1px solid var(--elko-border);
}
.tp-btn-ghost:hover { background: var(--elko-card-hi); }

.tp-link-arrow {
	color: var(--elko-accent) !important;
	font-weight: 600; text-decoration: none !important;
	display: inline-flex; align-items: center; gap: 6px;
	transition: gap .15s;
}
.tp-link-arrow:hover { gap: 12px; }

.tp-section-head {
	display: flex; align-items: end; justify-content: space-between;
	gap: 20px; flex-wrap: wrap; margin-bottom: 28px;
}
.tp-section-head h1, .tp-section-head h2 { margin: 0; }

/* ---- HERO ---- */
.tp-hero {
	position: relative;
	padding: clamp(60px, 10vw, 120px) 0;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 30% 0%, rgba(255, 120, 71, 0.12) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 100%, rgba(94, 211, 240, 0.10) 0%, transparent 50%),
		linear-gradient(180deg, var(--elko-bg-3) 0%, var(--elko-bg) 100%);
}
.tp-hero-deco { position: absolute; inset: 0; opacity: 0.8; pointer-events: none; }
.tp-hero-deco svg { width: 100%; height: 100%; }
.tp-hero-content { position: relative; max-width: 760px; }
.tp-hero-title {
	font-size: clamp(2.2rem, 6vw, 4.2rem);
	line-height: 1.05; letter-spacing: -0.02em;
	margin: 0 0 22px;
	color: var(--elko-fg); font-weight: 800;
}
.tp-hero-title .tp-grad {
	background: linear-gradient(135deg, var(--elko-accent) 0%, var(--elko-accent-2) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	display: inline-block;
}
.tp-hero-sub {
	font-size: clamp(16px, 2vw, 19px);
	color: var(--elko-fg-muted);
	margin: 0 0 30px;
	max-width: 620px; line-height: 1.55;
}
.tp-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- FEATURES ---- */
.tp-features { padding: 60px 0; background: var(--elko-bg); }
.tp-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}
.tp-feature {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 24px;
	transition: border-color .2s, transform .2s;
}
.tp-feature:hover { border-color: rgba(255, 120, 71, 0.3); transform: translateY(-2px); }
.tp-feature h3 { margin: 14px 0 8px; font-size: 17px; color: var(--elko-fg); }
.tp-feature p { color: var(--elko-fg-muted); font-size: 14px; line-height: 1.5; margin: 0; }
.tp-feature-icon {
	width: 48px; height: 48px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	font-size: 22px;
}
.tp-feature-icon.tp-orange { background: linear-gradient(135deg, #ff7847, #ff5a26); color: #0d1626; }
.tp-feature-icon.tp-cyan   { background: linear-gradient(135deg, #5ed3f0, #2bb6dc); color: #0d1626; }
.tp-feature-icon.tp-amber  { background: linear-gradient(135deg, #ffd166, #ffb700); color: #0d1626; }

.tp-featured-products { padding: 60px 0 24px; background: var(--elko-bg); }

/* ---- WHY ---- */
.tp-why { padding: 80px 0; background: var(--elko-bg-2); border-top: 1px solid var(--elko-border); border-bottom: 1px solid var(--elko-border); }
.tp-why-grid {
	display: grid; grid-template-columns: 1.2fr 1fr;
	gap: 60px; align-items: center;
}
@media (max-width: 768px) { .tp-why-grid { grid-template-columns: 1fr; gap: 30px; } }
.tp-why-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 16px; }
.tp-why-text p { color: var(--elko-fg-muted); margin-bottom: 20px; font-size: 16px; line-height: 1.6; }
.tp-why-text ul { list-style: none; padding: 0; margin: 0 0 24px; }
.tp-why-text ul li { padding: 8px 0; color: var(--elko-fg); }
.tp-why-visual { display: flex; justify-content: center; }
.tp-cube {
	width: 260px; height: 260px;
	background:
		linear-gradient(135deg, rgba(255, 120, 71, 0.25), transparent 60%),
		radial-gradient(circle at 30% 30%, rgba(94, 211, 240, 0.4), transparent 60%),
		linear-gradient(135deg, #1d2c4d 0%, #142039 100%);
	border-radius: 24px; border: 1px solid var(--elko-border);
	box-shadow: var(--elko-shadow); position: relative; transform: rotate(-3deg);
}
.tp-cube::before, .tp-cube::after { content: ''; position: absolute; border-radius: 50%; }
.tp-cube::before {
	top: 30px; right: 40px; width: 60px; height: 60px;
	background: linear-gradient(135deg, var(--elko-accent), #ff5a26);
	box-shadow: 0 4px 16px rgba(255, 120, 71, 0.5);
}
.tp-cube::after {
	bottom: 40px; left: 40px; width: 80px; height: 80px;
	background: linear-gradient(135deg, var(--elko-accent-2), #2bb6dc);
	box-shadow: 0 4px 16px rgba(94, 211, 240, 0.4);
}

/* ---- CTA BANNER ---- */
.tp-cta-banner {
	padding: 80px 0;
	background: linear-gradient(135deg, rgba(255, 120, 71, 0.12) 0%, rgba(94, 211, 240, 0.08) 100%), var(--elko-bg);
	border-top: 1px solid var(--elko-border);
}
.tp-cta-content { text-align: center; max-width: 640px; margin: 0 auto; }
.tp-cta-content h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 12px; }
.tp-cta-content p { color: var(--elko-fg-muted); font-size: 17px; margin: 0 0 24px; }
.tp-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- CONTACT ---- */
.tp-contact { padding: 80px 0; }
.tp-contact .tp-section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
.tp-contact .tp-section-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 12px 0 8px; }
.tp-contact .tp-section-head p { color: var(--elko-fg-muted); font-size: 17px; margin: 0; }

.tp-contact-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px; margin-bottom: 60px;
}
.tp-contact-card {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 28px;
	text-decoration: none !important; color: inherit !important;
	transition: border-color .2s, transform .2s; display: block;
}
.tp-contact-card:hover { border-color: rgba(255, 120, 71, 0.3); transform: translateY(-2px); }
.tp-contact-icon {
	width: 56px; height: 56px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	font-size: 26px; margin-bottom: 16px;
}
.tp-contact-icon.tp-orange { background: linear-gradient(135deg, #ff7847, #ff5a26); color: #0d1626; }
.tp-contact-icon.tp-cyan   { background: linear-gradient(135deg, #5ed3f0, #2bb6dc); color: #0d1626; }
.tp-contact-icon.tp-amber  { background: linear-gradient(135deg, #ffd166, #ffb700); color: #0d1626; }
.tp-contact-card h3 { margin: 0 0 6px; font-size: 17px; color: var(--elko-fg); }
.tp-contact-card p { margin: 0; color: var(--elko-fg-muted); font-size: 15px; }

.tp-contact-faq {
	background: var(--elko-card);
	border: 1px solid var(--elko-border);
	border-radius: var(--elko-radius);
	padding: 32px; text-align: center;
}
.tp-contact-faq h2 { margin: 0 0 8px; font-size: 22px; }
.tp-contact-faq p { color: var(--elko-fg-muted); margin: 0 0 14px; }

/* Avalehel ÄRA stiili .entry-content max-width-iga — annab tervele lehele ruumi. */
body.elko-themed.home .entry-content,
body.elko-themed.page-template-default .entry-content:has(.tp-hero) {
	max-width: 100% !important;
	padding: 0 !important;
}
