/* Home page top: photo hero + free-shipping card (design "G6", 2026-11-14).
 * Elementor structure on the front page:
 *   container .alpus-top
 *     container .alpus-hero   <- photo = this container's Elementor background image
 *       HTML widget: .alpus-hero__in (text + button) and .alpus-ship--float
 *     HTML widget: .alpus-ship--below (phone only)
 * Desktop: shipping card floats in the hero's bottom-right corner.
 * Phone (<768px): shorter hero, shipping card sits below it. */

.e-con.alpus-top { margin-bottom: 56px; --gap: 10px; --row-gap: 10px; --alpus-red: #D64545; --alpus-red-d: #B83434; --alpus-ink: #1E1E1E; --alpus-muted: #5C5C5C; --alpus-sand: #F5F0E8; --alpus-band-gap: 40px; --alpus-band: 420px; position: relative; isolation: isolate; }
/* Full-width darker-red (#C23E3E, the old band colour) band behind the top of the hero (like the old home page): starts right under
 * the red nav bar (covers the page's 40px top gap) and stops partway down the photo.
 * Full-bleed via box-shadow + clip-path, so no 100vw horizontal scroll. */
.e-con.alpus-top::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: calc(-1 * var(--alpus-band-gap)); height: calc(var(--alpus-band-gap) + var(--alpus-band)); background: #C23E3E; box-shadow: 0 0 0 100vmax #C23E3E; clip-path: inset(0 -100vmax); opacity: 1; border-radius: 0; }

.e-con.alpus-hero { position: relative; height: 540px; min-height: 0; padding: 0; border-radius: 6px; overflow: hidden; display: flex; flex-direction: row; align-items: center; color: #fff; background-color: #2a2a2a; background-size: cover; background-position: center 40%; background-repeat: no-repeat; }
.e-con.alpus-hero::before { content: ""; display: block; position: absolute; inset: 0; z-index: 1; opacity: 1; border-radius: 0; background: linear-gradient(90deg, rgba(18,18,18,.3) 0%, rgba(18,18,18,.12) 40%, rgba(18,18,18,0) 60%); }
/* widget wrapper must not be the positioning box, so the float card anchors to the hero */
.e-con.alpus-hero > .elementor-widget { position: static; width: 100%; }
.alpus-hero__in { position: relative; z-index: 2; padding: 0 72px; max-width: 640px; }
.alpus-hero__eyebrow { margin: 0 0 18px; font: 600 13px/1 "Work Sans", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.92); text-shadow: 0 1px 8px rgba(0,0,0,.6), 0 1px 2px rgba(0,0,0,.4); }
.alpus-hero .alpus-hero__title { margin: 0 0 30px; font: 800 56px/1.08 "Mulish", Arial, sans-serif; letter-spacing: -.01em; color: #fff; text-transform: none; }
.alpus-hero__title .al { color: var(--alpus-red); }
.alpus-hero__title .pus { color: #C9C9C9; }

.alpus-top .alpus-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 26px; border-radius: 4px; background: var(--alpus-red); color: #fff; font: 600 13px/1 "Work Sans", Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.alpus-top .alpus-btn:hover, .alpus-top .alpus-btn:focus-visible { background: var(--alpus-red-d); color: #fff; }

.alpus-ship { display: flex; align-items: center; gap: 16px; background: var(--alpus-sand); color: var(--alpus-ink); border-radius: 6px; }
.alpus-ship__badge { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--alpus-red); color: #fff; }
.alpus-ship__badge svg { width: 30px; height: 30px; }
.alpus-ship__title { margin: 0 0 2px; font: 800 18px/1.3 "Mulish", Arial, sans-serif; color: var(--alpus-ink); }
.alpus-ship__text { margin: 0; font: 400 14px/1.5 "Work Sans", Arial, sans-serif; color: var(--alpus-muted); }

.alpus-ship--float { position: absolute; right: 28px; bottom: 28px; z-index: 2; padding: 16px 26px 16px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.alpus-ship--below { display: none; }

@media (max-width: 767px) {
	.e-con.alpus-top { margin-bottom: 32px; --alpus-band: 230px; }
	.e-con.alpus-hero { height: 320px; align-items: flex-end; background-position: 60% 40%; }
	.e-con.alpus-hero::before { background: linear-gradient(0deg, rgba(18,18,18,.4) 0%, rgba(18,18,18,.15) 55%, rgba(18,18,18,0) 100%); }
	.alpus-hero__in { padding: 28px 22px; max-width: none; width: 100%; }
	.alpus-hero .alpus-hero__title { font-size: 34px; margin-bottom: 22px; }
	.alpus-hero .alpus-btn { height: 44px; padding: 0 22px; }
	.alpus-ship--float { display: none; }
	.alpus-ship--below { display: flex; margin-top: 0; padding: 14px 16px; gap: 14px; }
	.alpus-ship--below .alpus-ship__badge { width: 56px; height: 56px; }
	.alpus-ship--below .alpus-ship__badge svg { width: 28px; height: 28px; }
	.alpus-ship--below .alpus-ship__title { font-size: 17px; }
}

/* ---------------------------------------------------------------------------
 * Benefits strip under the products (2026-11-14).
 * Elementor container .alpus-benefits holding 4 native Image Box widgets
 * (icon = Media Library SVG, title + text = widget fields).
 * 4 columns on desktop/tablet, 2×2 on phone.
 * ------------------------------------------------------------------------- */
.e-con.alpus-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 8px 0; }
.e-con.alpus-benefits > .elementor-widget { width: auto; max-width: none; margin: 0; }
.alpus-benefits .elementor-image-box-wrapper { display: flex; align-items: center; gap: 18px; text-align: left; }
.alpus-benefits .elementor-image-box-img { flex: none; width: 64px !important; margin: 0 !important; }
.alpus-benefits .elementor-image-box-img img { display: block; width: 64px; height: 64px; }
.alpus-benefits .elementor-image-box-content { flex: 1; min-width: 0; }
.alpus-benefits .elementor-image-box-title { margin: 0 0 4px; font: 800 18px/1.3 "Mulish", Arial, sans-serif; color: #1E1E1E; }
.alpus-benefits .elementor-image-box-description { margin: 0; font: 400 15px/1.45 "Work Sans", Arial, sans-serif; color: #5C5C5C; }

@media (max-width: 1024px) {
	.e-con.alpus-benefits { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
}
@media (max-width: 767px) {
	.e-con.alpus-benefits { gap: 22px 10px; }
	.alpus-benefits .elementor-image-box-wrapper { flex-direction: column; text-align: center; gap: 10px; }
	.alpus-benefits .elementor-image-box-img { width: 56px !important; }
	.alpus-benefits .elementor-image-box-img img { width: 56px; height: 56px; }
	.alpus-benefits .elementor-image-box-title { font-size: 16px; }
	.alpus-benefits .elementor-image-box-description { font-size: 14px; }
}

/* Gap above the footer (2026-11-14): the "Posljednje pregledani" (recently viewed) widget
 * is empty for new visitors (WoodMart adds .wd-hide) but kept its 70px bottom margin.
 * Hide its container while empty, and halve the benefits row's 80px bottom margin. */
.e-con:has(> .e-con-inner > .elementor-widget-wd_products .wd-carousel-container.wd-hide) { display: none; }
.e-con:has(> .e-con-inner > .alpus-benefits) { margin-bottom: 40px; }
