/* =============================================================================
   REMEDA - shared brand layer ("warm artisanal")
   -----------------------------------------------------------------------------
   Loaded on EVERY page, and deliberately last in <head> so it outranks
   main.css, responsive.css and each page's own inline <style> block at equal
   specificity. Page-specific work still layers on top of this:
   index-refresh.css is linked after it on the home page.

   The site shipped with five unrelated accent hues inherited from the template
   (two oranges, a slate blue, Bootstrap grey, and a separate gold). Everything
   here resolves to one accent family - honey amber over a warm ink neutral -
   which is what the product category is actually selling.

   Contrast, measured against the surface each colour is used on:
     ink   on cream 15.9:1   ink-soft on cream 7.8:1   amber-text on cream 5.4:1
     ink   on honey  7.7:1   amber-text on white 5.8:1  cream on ink     15.9:1
   ========================================================================== */

:root {
	/* Accent family */
	--r-honey:        #E0A33E;  /* primary button fill, highlights */
	--r-honey-deep:   #C98B26;  /* hover state for the above */
	--r-amber:        #C07A1E;  /* icons, rules, graphical accents */
	--r-amber-text:   #8F5A15;  /* accent TEXT - passes AA on cream and white */

	/* Neutrals */
	--r-ink:          #241A10;  /* headings and body text */
	--r-ink-soft:     #5C4A38;  /* secondary text */
	--r-cream:        #FBF6EC;  /* section band background */
	--r-cream-deep:   #F4EADA;  /* trust bar, table headers */
	--r-line:         #E7DBC7;  /* hairlines and card borders */
	--r-white:        #FFFFFF;

	/* Elevation - warm-tinted rather than neutral grey */
	--r-shadow-sm:    0 2px 8px rgba(36, 26, 16, 0.06);
	--r-shadow-md:    0 10px 28px rgba(36, 26, 16, 0.08);
	--r-shadow-lg:    0 18px 44px rgba(36, 26, 16, 0.13);

	--r-radius:       4px;
}

/* -----------------------------------------------------------------------------
   1. Type and links
   -------------------------------------------------------------------------- */
body { color: var(--r-ink); }

h1, .h1, h2, .h2, h3, .h3,
h4, .h4, h5, .h5, h6, .h6 { color: var(--r-ink); }

a:hover { color: var(--r-amber-text); }

/* The template's accent class is reused across every section title on every
   page. Repointing it retires the old orange in one move. */
.orange-text { color: var(--r-amber-text); }

.section-title h3, .section-title h1 {
	font-size: 38px;
	letter-spacing: -0.4px;
	color: var(--r-ink);
	padding-bottom: 18px;
}
.section-title h3:after, .section-title h1:after {
	width: 44px;
	height: 3px;
	border-radius: 2px;
	background-color: var(--r-honey);
}
/* main.css styles this but the pages never used it. */
.section-lead {
	max-width: 560px;
	margin: 14px auto 0;
	color: var(--r-ink-soft);
	font-size: 15.5px;
	line-height: 1.75;
}
.section-title { margin-bottom: 54px; }

/* -----------------------------------------------------------------------------
   2. Buttons
   Ink on honey rather than white on amber: 7.7:1 against 4.6:1, and dark type
   on gold reads considerably more premium.
   -------------------------------------------------------------------------- */
a.boxed-btn,
a.cart-btn,
input[type="submit"],
button[type="submit"].boxed-btn {
	font-family: 'Poppins', sans-serif;
	background-color: var(--r-honey);
	color: var(--r-ink);
	border: 2px solid var(--r-honey);
	border-radius: var(--r-radius);
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-size: 14px;
	padding: 12px 26px;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
a.boxed-btn:hover,
a.cart-btn:hover,
input[type="submit"]:hover {
	background-color: var(--r-honey-deep);
	border-color: var(--r-honey-deep);
	color: var(--r-ink);
	transform: translateY(-1px);
}

a.bordered-btn {
	font-family: 'Poppins', sans-serif;
	border: 2px solid var(--r-amber);
	color: var(--r-amber-text);
	border-radius: var(--r-radius);
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-size: 14px;
	padding: 10px 26px;
	transition: background 0.2s ease, color 0.2s ease;
}
a.bordered-btn:hover {
	background-color: var(--r-amber);
	color: #fff;
}

a.read-more-btn { color: var(--r-amber-text); }
a.read-more-btn:hover { color: var(--r-ink); }

/* Back-to-top control (terms page and the long blog posts). */
.back-to-top {
	background: var(--r-ink) !important;
	color: var(--r-cream) !important;
	box-shadow: var(--r-shadow-md) !important;
}
.back-to-top:hover {
	background: var(--r-amber-text) !important;
	color: #fff !important;
}

/* -----------------------------------------------------------------------------
   3. Product cards
   Shared by the home page and the shop; the home page adds its own layout on
   top in index-refresh.css.
   -------------------------------------------------------------------------- */
.single-product-item {
	background: var(--r-white);
	border: 1px solid var(--r-line);
	border-radius: 10px;
	box-shadow: var(--r-shadow-sm);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.single-product-item:hover {
	transform: translateY(-4px);
	box-shadow: var(--r-shadow-md) !important;
	border-color: rgba(192, 122, 30, 0.35);
}
.product-image img {
	transition: transform 0.35s ease;
}
.single-product-item:hover .product-image img { transform: scale(1.04); }

.single-product-item h3 {
	font-size: 17px;
	font-weight: 600;
	color: var(--r-ink);
	margin-bottom: 8px;
}
/* Price was 30px/700 against a 20px/600 product name - the number shouted
   louder than the thing being sold. */
p.product-price {
	font-size: 19px;
	font-weight: 700;
	color: var(--r-amber-text);
	line-height: 1.4;
}
p.product-price span {
	display: block;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--r-ink-soft);
	opacity: 1;
	letter-spacing: 0.2px;
}
/* On the honey cards the span IS the price - the selector above it already
   states the size, and JS rewrites the figure on a weight change. */
p.product-price #med-price-display {
	display: inline;
	font-size: inherit;
	font-weight: 700;
	color: inherit;
	letter-spacing: inherit;
}

/* Badge - the green/teal gradient was the one hue with no relationship to
   anything else on the site. */
.product-label,
.product-label.novo,
.product-label.najtrazenije {
	background: var(--r-ink);
	color: var(--r-cream);
	border-radius: 999px;
	padding: 5px 13px;
	font-size: 10.5px;
	letter-spacing: 1px;
	box-shadow: var(--r-shadow-sm);
	animation: none;   /* an infinitely pulsing badge is just distracting */
}

/* -----------------------------------------------------------------------------
   4. Variant selectors
   Were unstyled default-grey squares set entirely through inline style
   attributes on every page that sells a variant.
   -------------------------------------------------------------------------- */
.weight-buttons,
.color-buttons { gap: 8px !important; }

.weight-btn,
.color-btn {
	font-family: 'Open Sans', sans-serif;
	/* Must be a flex box, not the button default: the colour swatch below is a
	   ::before, and width/height are ignored on an inline pseudo-element. */
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	height: 30px !important;
	padding: 0 14px !important;
	border: 1px solid var(--r-line) !important;
	border-radius: 999px !important;
	background: var(--r-white) !important;
	color: var(--r-ink-soft) !important;
	font-size: 12.5px !important;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
	box-shadow: none;
}
.weight-btn:hover,
.color-btn:hover {
	border-color: var(--r-honey) !important;
	background: var(--r-cream) !important;
	color: var(--r-ink) !important;
	transform: none;
	box-shadow: none;
}
.weight-btn.active,
.color-btn.active {
	background: var(--r-ink) !important;
	border-color: var(--r-ink) !important;
	color: var(--r-cream) !important;
	box-shadow: none;
}

/* The wax colour as an actual swatch. This has to be a pseudo-element: i18n
   translates the labels by writing textContent onto .color-btn, which would
   wipe any real child element out of the DOM on a language switch. */
.color-btn::before {
	content: '';
	width: 13px;
	height: 13px;
	border-radius: 50%;
	margin-right: 8px;
	flex-shrink: 0;
	background: var(--swatch, #ccc);
	box-shadow: inset 0 0 0 1px rgba(36, 26, 16, 0.18);
}
.color-btn[data-color="ljubicasta_jelka"]    { --swatch: #7C3F5C; }
.color-btn[data-color="naradjasta_jelka"]    { --swatch: #E07B39; }
.color-btn[data-color="svetlo_zelena_jelka"] { --swatch: #93B66F; }
.color-btn[data-color="crvena"]              { --swatch: #B8392C; }
.color-btn[data-color="tamno_zelena_jelka"]  { --swatch: #3F6B4B; }
.color-btn[data-color="zuta_jelka"]          { --swatch: #E8C24A; }
.color-btn.active::before { box-shadow: inset 0 0 0 1px rgba(251, 246, 236, 0.5); }

/* Quantity stepper (shop and product pages) */
.qty-btn {
	background: var(--r-ink) !important;
	color: var(--r-cream) !important;
	border-radius: 3px;
}
.qty-btn:hover { background: var(--r-amber-text) !important; }
.cart-qty-input {
	border: 1px solid var(--r-line) !important;
	color: var(--r-ink);
	border-radius: 3px;
}

/* Image gallery arrows (wraps and candle galleries) */
.index-gallery-nav-btn,
.gallery-nav-btn {
	background: rgba(36, 26, 16, 0.55) !important;
	border: none !important;
	color: #fff !important;
}
.index-gallery-nav-btn:hover,
.gallery-nav-btn:hover {
	background: var(--r-amber) !important;
	color: #fff !important;
}

/* -----------------------------------------------------------------------------
   5. Product detail pages
   -------------------------------------------------------------------------- */
.single-product-content h3,
.single-product-content .product-title { color: var(--r-ink); }

.single-product-img img {
	border-radius: 10px;
	box-shadow: var(--r-shadow-md);
	border: 1px solid var(--r-line);
}

/* The long description blocks sat on Bootstrap's cold #f8f9fa. */
.product-description-section {
	background: var(--r-cream) !important;
	border: 1px solid var(--r-line);
	border-radius: 10px;
}
.product-description-section h3,
.product-description-section h4 { color: var(--r-ink); }

/* -----------------------------------------------------------------------------
   6. Breadcrumb header (inner pages)
   The overlay was a cold #07212e at 80%, which turned every inner-page banner
   blue-grey regardless of the photograph underneath.
   -------------------------------------------------------------------------- */
.breadcrumb-section { padding: 130px 0 110px; padding-top: 170px; }
.breadcrumb-section:after {
	background-color: #1A120A;
	opacity: 0.72;
}
.breadcrumb-text p {
	color: var(--r-honey);
	letter-spacing: 4.5px;
	font-size: 13px;
}
.breadcrumb-text h1 {
	font-size: 44px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.5px;
}

/* -----------------------------------------------------------------------------
   7. Trust band (home page and cart)
   Two stacked full-width bars in two unrelated colours - slate blue and a
   saturated orange gradient - used to shout over the page.
   -------------------------------------------------------------------------- */
.scrolling-text-container {
	background: var(--r-ink);
	border-top: none;
	border-bottom: none;
	padding: 13px 0;
}
.scrolling-text {
	font-size: 12px;
	letter-spacing: 2.4px;
	font-weight: 600;
	color: rgba(251, 246, 236, 0.92);
}
.scrolling-text span:after { color: var(--r-honey); }

.promo-strip {
	background: var(--r-cream-deep);
	color: var(--r-ink);
	border-bottom: 1px solid var(--r-line);
	padding: 8px 0;
}
.promo-strip::before { display: none; }   /* decorative blobs, pure noise */

.promo-column { padding: 14px 20px; }
.promo-column:first-child { border-right: 1px solid var(--r-line); }

.promo-icon {
	background: var(--r-honey);
	width: 44px;
	height: 44px;
	box-shadow: var(--r-shadow-sm);
}
.promo-icon i { color: var(--r-ink); font-size: 17px; }

.promo-content h4 {
	color: var(--r-ink);
	font-size: 15px;
	letter-spacing: 0.1px;
	margin-bottom: 3px;
}
.promo-content p {
	color: var(--r-ink-soft);
	font-size: 13.5px;
	line-height: 1.55;
}

/* -----------------------------------------------------------------------------
   8. Tables (cart, checkout, order history)
   -------------------------------------------------------------------------- */
.cart-table table thead,
.order-details thead,
.orders-table thead {
	background: var(--r-cream-deep);
}
.cart-table table thead th,
.order-details thead th,
.orders-table thead th {
	color: var(--r-ink);
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	letter-spacing: 0.3px;
	border: none;
}
.cart-table table td,
.order-details td,
.orders-table td {
	border-color: var(--r-line);
	color: var(--r-ink-soft);
}
.total-section table,
.cart-total-table {
	background: var(--r-cream);
}

/* -----------------------------------------------------------------------------
   9. Forms
   -------------------------------------------------------------------------- */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--r-honey) !important;
	box-shadow: 0 0 0 3px rgba(224, 163, 62, 0.18);
}

/* -----------------------------------------------------------------------------
   10. Blog listing cards
   -------------------------------------------------------------------------- */
.blog-post-item,
.single-latest-news {
	border: 1px solid var(--r-line);
	border-radius: 10px;
	box-shadow: var(--r-shadow-sm);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.blog-post-item:hover,
.single-latest-news:hover {
	transform: translateY(-4px);
	box-shadow: var(--r-shadow-md);
	border-color: rgba(192, 122, 30, 0.35);
}
.blog-post-date { color: var(--r-ink-soft); }
.blog-post-excerpt { color: var(--r-ink-soft); }

/* -----------------------------------------------------------------------------
   11. Reduced motion
   The site runs an infinite marquee, a pulsing badge and autoplaying
   carousels, with no guard of any kind.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-delay: 0s !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.single-product-item:hover,
	.blog-post-item:hover,
	.single-latest-news:hover { transform: none; }
	/* The marquee is stepped frame by frame in JS, so it cannot be stopped from
	   here - index.html checks the same query before starting its loop. */
}
