/* RiHot Store — black + orange sports look. Logical properties = works in RTL and LTR. */

:root {
	--rh-black: #0b0b0f;
	--rh-ink: #1d1d22;
	--rh-muted: #6b6b76;
	--rh-orange: #ff5a1f;
	--rh-orange-dark: #e2440c;
	--rh-bg: #f6f6f7;
	--rh-border: #e6e6ea;
	--rh-green: #16a34a;
	--rh-wa: #25d366;
	--rh-radius: 14px;
	--rh-shadow: 0 6px 24px rgba(11, 11, 15, .08);
}

/* Text logo: "RiHot" + orange dot (Astra site title) */
.site-title a,
.site-title a:visited {
	font-weight: 900;
	letter-spacing: -.02em;
	color: var(--rh-black);
}
.site-title a::after {
	content: "";
	display: inline-block;
	width: .32em;
	height: .32em;
	margin-inline-start: .08em;
	border-radius: 50%;
	background: var(--rh-orange);
}

/* Layout */
.rihot-area { width: 100%; max-width: 1200px; margin: 0 auto; padding: 8px 0 48px; color: var(--rh-ink); }
.rihot-area *, .rihot-home * { box-sizing: border-box; }
.rihot-section { margin: 36px 0; }
.rihot-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.rihot-section__title { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 800; margin: 0 0 16px; }
.rihot-section__more { margin-top: 12px; text-align: center; }
.rihot-link { color: var(--rh-orange); font-weight: 700; text-decoration: none; }
.rihot-link:hover { text-decoration: underline; }
.rihot-empty { padding: 32px; text-align: center; background: var(--rh-bg); border-radius: var(--rh-radius); color: var(--rh-muted); }

/* Buttons */
.rihot-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border: 0; border-radius: 12px; cursor: pointer;
	background: var(--rh-orange); color: #fff !important; font-weight: 800; font-size: 1rem;
	text-decoration: none !important; line-height: 1.2; transition: background .15s, transform .15s;
}
.rihot-btn:hover { background: var(--rh-orange-dark); transform: translateY(-1px); }
.rihot-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.rihot-btn--small { width: 100%; padding: 10px 12px; font-size: .92rem; background: var(--rh-black); }
.rihot-btn--small:hover { background: var(--rh-orange); }
.rihot-btn--order { width: 100%; padding: 16px; font-size: 1.15rem; box-shadow: 0 8px 20px rgba(255, 90, 31, .35); animation: rihot-pulse 2.4s infinite; }
.rihot-btn--wa { background: var(--rh-wa); }
.rihot-btn--wa:hover { background: #1ebe5b; }
@keyframes rihot-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .rihot-btn--order { animation: none; } }

/* Top bar: breadcrumbs + language */
.rihot-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.rihot-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: .85rem; color: var(--rh-muted); }
.rihot-breadcrumbs li:not(:last-child)::after { content: "›"; margin-inline-start: 6px; }
.rihot-breadcrumbs a { color: var(--rh-muted); text-decoration: none; }
.rihot-breadcrumbs a:hover { color: var(--rh-orange); }
.rihot-langs { display: flex; gap: 4px; font-size: .8rem; }
.rihot-langs a { padding: 4px 10px; border: 1px solid var(--rh-border); border-radius: 999px; color: var(--rh-muted); text-decoration: none; }
.rihot-langs a.is-active { background: var(--rh-black); border-color: var(--rh-black); color: #fff; }

/* Hero (home) */
.rihot-hero {
	margin: 8px 0 28px; padding: clamp(28px, 6vw, 64px) clamp(20px, 5vw, 56px);
	border-radius: 22px; color: #fff; text-align: center;
	background: radial-gradient(circle at 85% 15%, rgba(255, 90, 31, .45), transparent 45%), var(--rh-black);
}
.rihot-hero__brand { margin: 0 0 8px; font-size: clamp(2.4rem, 7vw, 4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1; direction: ltr; }
.rihot-hero__brand span { color: var(--rh-orange); }
.rihot-hero__title { margin: 0 auto 10px; max-width: 760px; color: #fff; font-size: clamp(1.3rem, 3.4vw, 2rem); font-weight: 800; line-height: 1.4; }
.rihot-hero__sub { margin: 0 auto 6px; max-width: 640px; color: rgba(255, 255, 255, .8); }
.rihot-hero__tag { margin: 0 0 20px; color: var(--rh-orange); font-weight: 800; letter-spacing: .04em; }

/* Country cards */
.rihot-countries { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.rihot-country {
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 12px;
	background: #fff; border: 2px solid var(--rh-border); border-radius: var(--rh-radius);
	color: var(--rh-ink); text-decoration: none !important; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.rihot-country:hover, .rihot-country.is-active { border-color: var(--rh-orange); transform: translateY(-2px); box-shadow: var(--rh-shadow); }
.rihot-country__flag { font-size: 2.6rem; line-height: 1; }
.rihot-country__name { font-weight: 800; font-size: 1.1rem; }
.rihot-country__cta { color: var(--rh-orange); font-size: .85rem; font-weight: 700; }

/* Country page header */
.rihot-country-hero { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding: 20px; background: var(--rh-black); color: #fff; border-radius: 18px; }
.rihot-country-hero__flag { font-size: 3rem; line-height: 1; }
.rihot-country-hero__title { margin: 0; color: #fff; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 900; }
.rihot-country-hero__sub { margin: 4px 0 0; color: rgba(255, 255, 255, .75); font-size: .95rem; }

/* Category chips */
.rihot-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; scrollbar-width: thin; }
.rihot-chip { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--rh-border); border-radius: 999px; background: #fff; color: var(--rh-ink); text-decoration: none !important; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.rihot-chip.is-active, .rihot-chip:hover { background: var(--rh-orange); border-color: var(--rh-orange); color: #fff; }

/* Product grid & cards */
.rihot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .rihot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .rihot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rihot-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--rh-border); border-radius: var(--rh-radius); transition: box-shadow .15s, transform .15s; }
.rihot-card:hover { box-shadow: var(--rh-shadow); transform: translateY(-2px); }
.rihot-card__media { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--rh-bg); }
.rihot-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rihot-card__noimg { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 2.5rem; }
.rihot-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 12px; }
.rihot-card__title { margin: 0; font-size: .95rem; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rihot-card__title a { color: var(--rh-ink); text-decoration: none; }
.rihot-card .rihot-btn { margin-top: auto; }
.rihot-badge { position: absolute; top: 10px; inset-inline-start: 10px; padding: 4px 10px; border-radius: 999px; background: var(--rh-orange); color: #fff; font-size: .78rem; font-weight: 800; }

/* Prices */
.rihot-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.rihot-price__now { color: var(--rh-orange); font-weight: 900; font-size: 1.1rem; }
.rihot-price__old { color: var(--rh-muted); font-size: .9rem; }
.rihot-price--single .rihot-price__now { font-size: 2rem; }
.rihot-price--single .rihot-price__old { font-size: 1.1rem; }
.rihot-price__save { padding: 3px 10px; border-radius: 999px; background: #fff1eb; color: var(--rh-orange-dark); font-size: .85rem; font-weight: 800; }

/* Single product */
.rihot-product__grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .rihot-product__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; } .rihot-gallery { position: sticky; top: 20px; } }
.rihot-gallery__main { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 18px; background: var(--rh-bg); }
.rihot-gallery__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rihot-gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.rihot-thumb { flex: 0 0 68px; height: 68px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: var(--rh-bg); cursor: pointer; }
.rihot-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rihot-thumb.is-active { border-color: var(--rh-orange); }
.rihot-product__title { margin: 0 0 10px; font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 900; line-height: 1.35; }
.rihot-bullets { margin: 16px 0; padding: 0; list-style: none; }
.rihot-bullets li { position: relative; margin: 0 0 8px; padding-inline-start: 28px; line-height: 1.6; }
.rihot-bullets li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 1px; display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; border-radius: 50%; background: var(--rh-green); color: #fff; font-size: .75rem; font-weight: 900; }

/* Order form */
.rihot-order { margin: 18px 0; }
.rihot-form, .rihot-success { padding: 18px; background: #fff; border: 2px solid var(--rh-orange); border-radius: 18px; box-shadow: var(--rh-shadow); }
.rihot-form[hidden], .rihot-success[hidden] { display: none; }
.rihot-form__title { margin: 0 0 12px; font-weight: 800; font-size: 1.05rem; text-align: center; }
.rihot-field { margin-bottom: 12px; }
.rihot-field label { display: block; margin-bottom: 5px; font-weight: 700; font-size: .92rem; }
.rihot-field input, .rihot-field textarea, .rihot-qty__ctrl input {
	width: 100%; padding: 12px 14px; border: 1px solid #d4d4da; border-radius: 10px; background: #fff;
	color: var(--rh-ink); font-size: 16px; /* 16px = no zoom on iPhone */ font-family: inherit; line-height: 1.4;
}
.rihot-field input:focus, .rihot-field textarea:focus { outline: none; border-color: var(--rh-orange); box-shadow: 0 0 0 3px rgba(255, 90, 31, .18); }
.rihot-phone { display: flex; }
.rihot-phone__dial { display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid #d4d4da; border-right: 0; border-radius: 10px 0 0 10px; background: var(--rh-bg); font-weight: 700; white-space: nowrap; font-size: .95rem; }
.rihot-phone input { border-radius: 0 10px 10px 0; }
.rihot-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 14px; }
.rihot-qty { display: flex; align-items: center; gap: 10px; }
.rihot-qty__label { font-weight: 700; font-size: .92rem; }
.rihot-qty__ctrl { display: flex; align-items: center; }
.rihot-qty__ctrl button { width: 38px; height: 42px; border: 1px solid #d4d4da; background: var(--rh-bg); color: var(--rh-ink); font-size: 1.2rem; font-weight: 800; cursor: pointer; padding: 0; }
.rihot-qty__ctrl button:first-child { border-radius: 10px 0 0 10px; }
.rihot-qty__ctrl button:last-child { border-radius: 0 10px 10px 0; }
.rihot-qty__ctrl input { width: 52px; height: 42px; padding: 0; border-radius: 0; border-inline: 0; text-align: center; -moz-appearance: textfield; }
.rihot-qty__ctrl input::-webkit-outer-spin-button, .rihot-qty__ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rihot-total { text-align: end; }
.rihot-total span { display: block; color: var(--rh-muted); font-size: .8rem; }
.rihot-total strong { color: var(--rh-orange); font-size: 1.3rem; font-weight: 900; }
.rihot-form__msg { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #b42318; font-weight: 700; text-align: center; }
.rihot-form__msg[hidden] { display: none; }
.rihot-form__wa { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; color: #128c4a; font-weight: 700; font-size: .92rem; text-decoration: none; }
.rihot-form__wa svg { width: 20px; height: 20px; }
.rihot-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rihot-success { border-color: var(--rh-green); text-align: center; }
.rihot-success__title { margin: 0 0 8px; color: var(--rh-green); font-size: 1.3rem; font-weight: 900; }
.rihot-success__msg { margin: 0 0 14px; }
.rihot-success .rihot-btn { width: 100%; }
.rihot-btn svg { width: 22px; height: 22px; }

/* Trust badges */
.rihot-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .rihot-section > .rihot-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rihot-trust li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--rh-bg); font-weight: 700; font-size: .88rem; }
.rihot-trust li span { font-size: 1.2rem; }

/* Description */
.rihot-description { margin: 40px 0; padding: clamp(16px, 4vw, 32px); border: 1px solid var(--rh-border); border-radius: 18px; background: #fff; }
.rihot-description__content img { max-width: 100%; height: auto; border-radius: 12px; }
.rihot-description__content table { width: 100%; border-collapse: collapse; }
.rihot-description__content th, .rihot-description__content td { padding: 10px; border: 1px solid var(--rh-border); text-align: start; }

/* WhatsApp CTA block */
.rihot-wa-cta { margin: 40px 0 8px; padding: 28px 20px; border-radius: 18px; background: #eafbf1; text-align: center; }
.rihot-wa-cta h2 { margin: 0 0 6px; font-weight: 900; }
.rihot-wa-cta p { margin: 0 0 16px; color: var(--rh-muted); }

/* Pagination */
.rihot-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 24px 0 0; padding: 0; list-style: none; }
.rihot-pagination a, .rihot-pagination span { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 10px; border: 1px solid var(--rh-border); border-radius: 10px; color: var(--rh-ink); text-decoration: none; }
.rihot-pagination .current { background: var(--rh-orange); border-color: var(--rh-orange); color: #fff; }

/* Sticky mobile bar */
.rihot-sticky { position: fixed; inset-inline: 0; bottom: 0; z-index: 998; display: none; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0, 0, 0, .1); }
.rihot-sticky__price { color: var(--rh-orange); font-weight: 900; font-size: 1.15rem; white-space: nowrap; }
.rihot-sticky .rihot-btn { flex: 1; padding: 13px; font-size: 1.05rem; animation: none; }
@media (max-width: 899px) { .rihot-sticky.is-visible { display: flex; } }

/* Floating WhatsApp */
.rihot-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 999; display: flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: var(--rh-wa); color: #fff !important; box-shadow: 0 6px 20px rgba(37, 211, 102, .45); transition: transform .15s; }
.rihot-wa-float:hover { transform: scale(1.07); }
@media (max-width: 899px) { .rihot-has-sticky .rihot-wa-float { bottom: 84px; } }

/* Embeds inside normal pages (match pages, posts) */
.rihot-embed { margin: 28px 0; }
.rihot-embed .rihot-section__title { font-size: 1.25rem; }
