/* =========================================================================
   EGlobeStore — custom Elementor widgets (Hero area)
   Light, clean, premium — recreates the reference hero natively.
   ========================================================================= */

/* ---- Clean premium buttons (per spec: no inner ring, no shadow, no border) ---- */
.egs-ebtn {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1;
	padding: 15px 30px; border: none !important; border-radius: 999px;
	box-shadow: none !important; outline: none; cursor: pointer; text-decoration: none;
	transition: transform .25s cubic-bezier(.22,.61,.36,1), background .25s ease, color .2s ease;
}
.egs-ebtn:focus, .egs-ebtn:focus-visible, .egs-ebtn:active { box-shadow: none !important; outline: none; border: none !important; }
.egs-ebtn--primary { background: var(--brand); color: #fff; }
.egs-ebtn--primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.egs-ebtn--light { background: #fff; color: var(--text); }
.egs-ebtn--light:hover { background: #fff; color: var(--text); transform: translateY(-2px); }

/* =========================================================================
   HERO LAYOUT — section + 3 columns
   ========================================================================= */
.egs-ehero-section { padding-block: 26px 14px; }
.egs-ehero-section .elementor-container,
.egs-ehero-row { gap: 20px; }
.egs-ehero-section .elementor-column,
.egs-ehero-section .elementor-widget-wrap { display: flex; }
.egs-ehero-section .elementor-widget { width: 100%; }

/* =========================================================================
   CATEGORY MENU
   ========================================================================= */
.egs-ecats { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px; height: 100%; }
.egs-ecats__list { display: flex; flex-direction: column; gap: 2px; }
.egs-ecats__link {
	display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px;
	color: var(--text-2); font-weight: 600; font-size: 15px; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.egs-ecats__link:hover { background: #fff; color: var(--brand-600); transform: translateX(2px); box-shadow: var(--sh-sm); }
.egs-ecats__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--text); flex: none; transition: background .2s, color .2s; }
.egs-ecats__icon svg, .egs-ecats__icon i { width: 17px; height: 17px; font-size: 16px; }
.egs-ecats__link:hover .egs-ecats__icon { background: var(--brand); color: #fff; }
.egs-ecats__link:hover .egs-ecats__icon i,
.egs-ecats__link:hover .egs-ecats__icon svg { color: #fff !important; fill: #fff !important; }
.egs-ecats__text { flex: 1; }
.egs-ecats__arrow { color: var(--muted); opacity: 0; transform: translateX(-6px); transition: all .2s ease; }
.egs-ecats__link:hover .egs-ecats__arrow { opacity: 1; transform: none; color: var(--brand); }

/* =========================================================================
   HERO CAROUSEL
   ========================================================================= */
.egs-ehero { position: relative; background: linear-gradient(120deg, #eef3fb 0%, #f6f8fc 55%, #eaf1fb 100%); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; min-height: 560px; }
/* NOTE: clipping lives on .egs-ehero (the static viewport), NOT on the track.
   The track is what we translateX — if it also clipped, it would hide the
   incoming slide as it moves. */
.egs-ehero__track { display: flex; flex: 1; will-change: transform; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.egs-ehero__slide { flex: 0 0 100%; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 20px; padding: 48px clamp(28px, 4vw, 56px); }
.egs-ehero__content { position: relative; z-index: 2; }
.egs-ehero__eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 14px; }
.egs-ehero__title { font-size: clamp(30px, 3.4vw, 50px); line-height: 1.05; letter-spacing: -.03em; color: var(--text); margin: 0 0 14px; font-weight: 800; }
.egs-ehero__sub { font-size: clamp(16px, 1.4vw, 20px); color: var(--muted); margin: 0 0 26px; max-width: 360px; }
.egs-ehero__media { position: relative; display: grid; place-items: center; min-height: 340px; }
.egs-ehero__media::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.16), rgba(34,211,238,.10) 45%, transparent 70%); filter: blur(18px); }
.egs-ehero__media img { position: relative; max-width: 100%; max-height: 420px; width: auto; object-fit: contain; filter: drop-shadow(0 30px 50px rgba(13,20,38,.20)); }
.egs-ehero__ph { width: 80%; aspect-ratio: 1; border-radius: 30px; background: linear-gradient(160deg, #dde7f6, #eef3fb); }

/* tab navigation */
.egs-ehero__tabs { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 0 24px 26px; }
.egs-ehero__tab { position: relative; background: none; border: none; padding: 10px 18px; font-family: inherit; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; transition: color .2s ease; }
.egs-ehero__tab::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 4px; height: 2px; background: var(--brand); border-radius: 2px; transform: scaleX(0); transition: transform .3s ease; }
.egs-ehero__tab:hover { color: var(--text-2); }
.egs-ehero__tab.is-active { color: var(--text); }
.egs-ehero__tab.is-active::after { transform: scaleX(1); }

/* slide enter animation */
.egs-ehero__slide .egs-ehero__content > * { opacity: 0; transform: translateY(14px); }
.egs-ehero__slide.is-active .egs-ehero__content > * { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.egs-ehero__slide.is-active .egs-ehero__content > *:nth-child(1) { transition-delay: .05s; }
.egs-ehero__slide.is-active .egs-ehero__content > *:nth-child(2) { transition-delay: .12s; }
.egs-ehero__slide.is-active .egs-ehero__content > *:nth-child(3) { transition-delay: .19s; }
.egs-ehero__slide.is-active .egs-ehero__content > *:nth-child(4) { transition-delay: .26s; }
.egs-ehero__slide.is-active .egs-ehero__media img { animation: egsHeroFloat 6s ease-in-out infinite; }
@keyframes egsHeroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* =========================================================================
   HOT DEALS
   ========================================================================= */
.egs-deals { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; height: 100%; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--sh-sm); }
.egs-deals__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.egs-deals__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: var(--text); }
.egs-deals__flame { font-size: 18px; }
.egs-deals__timer { display: inline-flex; align-items: center; gap: 3px; background: var(--brand); color: #fff; padding: 7px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.egs-deals__timer i { opacity: .6; font-style: normal; }
.egs-deals__card { position: relative; display: block; border-radius: var(--r); overflow: hidden; min-height: 250px; }
.egs-deals__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.egs-deals__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.5) 38%, rgba(255,255,255,.12) 70%, rgba(255,255,255,0) 100%); }
.egs-deals__cardbody { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 18px 0; height: 100%; }
.egs-deals__pn { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.egs-deals__headline { font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--text); max-width: 220px; margin-bottom: 16px; }
.egs-deals__btn { margin-top: auto; padding: 11px 26px; font-size: 14px; }
.egs-deals__product { display: flex; align-items: center; gap: 14px; padding-top: 4px; }
.egs-deals__thumb { width: 64px; height: 64px; border-radius: 14px; background: var(--bg-soft); overflow: hidden; flex: none; display: grid; place-items: center; }
.egs-deals__thumb img { width: 100%; height: 100%; object-fit: cover; }
.egs-deals__pinfo { display: flex; flex-direction: column; gap: 3px; }
.egs-deals__pname { font-weight: 700; font-size: 15px; color: var(--text); }
.egs-deals__stars { color: var(--star); font-size: 15px; letter-spacing: 1px; }
.egs-deals__staroff { color: var(--border-2); }
.egs-deals__price { font-weight: 800; color: var(--brand-600); font-size: 16px; }

/* =========================================================================
   BRAND CAROUSEL
   ========================================================================= */
.egs-brands2 { display: flex; align-items: stretch; gap: 14px; margin-top: 14px; }
.egs-brands2__lead { display: inline-flex; align-items: center; gap: 9px; flex: none; background: var(--text); color: #fff; font-weight: 700; padding: 0 26px; border-radius: var(--r); white-space: nowrap; transition: transform .2s ease, background .2s ease; }
.egs-brands2__lead:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.egs-brands2__bolt { color: var(--brand-cyan); }
.egs-brands2__track { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.egs-brands2__track::-webkit-scrollbar { display: none; }
.egs-brands2__item { display: grid; place-items: center; min-height: 76px; padding: 18px 24px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.egs-brands2__item:hover { transform: translateY(-3px); box-shadow: var(--sh); background: #fff; }
.egs-brands2__item img { max-height: 30px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .25s, opacity .25s; }
.egs-brands2__item:hover img { filter: none; opacity: 1; }
.egs-brands2__name { font-weight: 800; font-size: 19px; letter-spacing: -.01em; color: var(--text); opacity: .55; transition: opacity .25s; }
.egs-brands2__item:hover .egs-brands2__name { opacity: 1; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
	.egs-ehero { min-height: 460px; }
	.egs-ehero__slide { grid-template-columns: 1fr; text-align: center; }
	.egs-ehero__media { order: -1; min-height: 220px; }
	.egs-ehero__sub { margin-inline: auto; }
}
@media (max-width: 880px) {
	.egs-brands2 { flex-wrap: wrap; }
	.egs-brands2__lead { width: 100%; justify-content: center; padding: 16px; }
	.egs-brands2__track { grid-auto-columns: minmax(130px, 1fr); }
}
@media (max-width: 560px) {
	.egs-ehero__title { font-size: 30px; }
	.egs-deals__card { min-height: 200px; }
}

/* =========================================================================
   PRODUCT TABS — "Bestsellers in Category"
   ========================================================================= */
.egs-ptabs { padding-block: 18px 8px; }
.egs-ptabs__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.egs-ptabs__title { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -.02em; color: var(--text); margin: 0; }
.egs-ptabs__nav { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.egs-ptabs__tab { border: none; background: var(--bg-soft); color: var(--text-2); font-family: inherit; font-weight: 700; font-size: 14.5px; padding: 12px 24px; border-radius: 999px; cursor: pointer; transition: background .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease; }
.egs-ptabs__tab:hover { background: var(--border); }
.egs-ptabs__tab.is-active { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(37,99,235,.28); }

.egs-ptabs__panel { display: none; }
.egs-ptabs__panel.is-active { display: block; animation: egsPtFade .5s cubic-bezier(.16,1,.3,1); }
@keyframes egsPtFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.egs-ptabs__empty { color: var(--muted); padding: 40px 0; text-align: center; }

.egs-ptabs__grid { display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); gap: 22px; }

/* ---- premium product card ---- */
.egs-pcard {
	position: relative; display: flex; flex-direction: column; background: #fff;
	border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
	transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s cubic-bezier(.16,1,.3,1), border-color .45s;
}
.egs-pcard:hover { transform: translateY(-10px); box-shadow: 0 28px 60px rgba(13,20,38,.16); border-color: transparent; }

.egs-pcard__media { position: relative; aspect-ratio: 1; background: linear-gradient(180deg, #fbfcfe, #f3f6fb); overflow: hidden; }
.egs-pcard__imglink { display: grid; place-items: center; width: 100%; height: 100%; padding: 16%; }
.egs-pcard__img { grid-area: 1 / 1; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .45s ease; }
.egs-pcard__img--main { transform: scale(1); }
.egs-pcard:hover .egs-pcard__img--main { transform: scale(1.08) translateY(-2px); }
.egs-pcard__img--hover { opacity: 0; }
.egs-pcard:hover .egs-pcard__img--hover { opacity: 1; transform: scale(1.08); }
.egs-pcard__shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 62%); transform: translateX(-120%); }
.egs-pcard:hover .egs-pcard__shine { animation: egsPShine 1s cubic-bezier(.16,1,.3,1); }
@keyframes egsPShine { 0% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

.egs-pcard__badges { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; flex-direction: column; gap: 6px; }

.egs-pcard__actions { position: absolute; top: 12px; right: 12px; z-index: 4; display: flex; flex-direction: column; gap: 8px; }
.egs-pcard__act { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--text); box-shadow: var(--sh); opacity: 0; transform: translateX(14px) scale(.9); transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s, color .2s; }
.egs-pcard__act:nth-child(2) { transition-delay: .05s; }
.egs-pcard__act:nth-child(3) { transition-delay: .1s; }
.egs-pcard:hover .egs-pcard__act { opacity: 1; transform: none; }
.egs-pcard__act:hover { background: var(--brand); color: #fff; transform: scale(1.1); }
.egs-pcard__act.is-active { background: var(--sale); color: #fff; }

.egs-pcard__body { display: flex; flex-direction: column; gap: 9px; padding: 16px 16px 18px; flex: 1; border-top: 1px solid var(--border); }
.egs-pcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.egs-pcard__cat { font-size: 12px; color: var(--muted); font-weight: 600; }
.egs-pcard__rating { font-size: 13px; font-weight: 700; color: var(--text-2); display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.egs-pcard__star { color: var(--star); }
.egs-pcard__title { font-size: 15.5px; font-weight: 700; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.egs-pcard__title:hover { color: var(--brand-600); }
.egs-pcard__swatches { display: flex; gap: 7px; min-height: 16px; }
.egs-pcard__swatch { width: 15px; height: 15px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px var(--border-2), inset 0 0 0 2px #fff; cursor: pointer; transition: transform .2s; }
.egs-pcard__swatch:hover { transform: scale(1.18); }
.egs-pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.egs-pcard__price { font-size: 18px; font-weight: 800; color: var(--brand-600); }
.egs-pcard__price del { color: var(--muted); font-weight: 600; font-size: 13px; margin-right: 5px; }
.egs-pcard__price ins { text-decoration: none; color: var(--brand-600); }
.egs-pcard__price .amount { color: inherit; }
.egs-pcard__cart { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--bg-soft); color: var(--text); flex: none; transition: background .25s ease, color .25s ease, transform .2s ease; position: relative; }
.egs-pcard__cart:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.egs-pcard__cart.loading { opacity: .6; pointer-events: none; }
.egs-pcard__cart.added { background: var(--new); color: #fff; }
.egs-pcard__cart .added_to_cart { display: none; }

@media (max-width: 1200px) { .egs-ptabs__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .egs-ptabs__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .egs-ptabs__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.egs-pcard__act { opacity: 1; transform: none; }
	.egs-ptabs__head { gap: 14px; }
}

/* =========================================================================
   CATEGORY CIRCLES — "Shop by categories"
   ========================================================================= */
.egs-catcircles { padding-block: 8px; }
.egs-catcircles__title { font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--text); letter-spacing: -.01em; margin: 0 0 26px; }
.egs-catcircles__row { display: flex; flex-wrap: wrap; gap: 26px 18px; align-items: flex-start; }
.egs-catcircle { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 116px; flex: 0 0 auto; }
.egs-catcircle__media {
	width: 116px; height: 116px; border-radius: 50%; background: #fff; display: grid; place-items: center;
	overflow: hidden; box-shadow: 0 10px 26px rgba(13,20,38,.07); border: 1px solid var(--border);
	transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.egs-catcircle__media img { width: 78%; height: 78%; object-fit: contain; transition: transform .4s var(--ease-out); }
.egs-catcircle:hover .egs-catcircle__media { transform: translateY(-6px) scale(1.04); box-shadow: 0 22px 44px rgba(13,20,38,.16); border-color: transparent; }
.egs-catcircle:hover .egs-catcircle__media img { transform: scale(1.08); }
.egs-catcircle__ph { font-size: 32px; font-weight: 800; color: var(--brand); }
.egs-catcircle__label { font-size: 14.5px; font-weight: 600; color: var(--text-2); text-align: center; transition: color .2s; }
.egs-catcircle:hover .egs-catcircle__label { color: var(--brand-600); }

/* =========================================================================
   FEATURED CARDS — "Most Popular"
   ========================================================================= */
.egs-fcards { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 28px; }
.egs-fcard {
	position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
	background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px 32px 40px;
	overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s;
}
.egs-fcard:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }
.egs-fcard__media { display: grid; place-items: center; width: 100%; min-height: 300px; margin-bottom: 22px; }
.egs-fcard__media img { max-width: 86%; max-height: 320px; width: auto; object-fit: contain; transition: transform .55s var(--ease-out); filter: drop-shadow(0 26px 44px rgba(13,20,38,.16)); }
.egs-fcard:hover .egs-fcard__media img { transform: scale(1.05) translateY(-4px); }
.egs-fcard__ph { width: 70%; aspect-ratio: 1; border-radius: 24px; background: linear-gradient(160deg, #eef3fb, #f6f8fc); }
.egs-fcard__brand { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.egs-fcard__title { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--text); margin: 0 0 12px; }
.egs-fcard__desc { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 24px; max-width: 380px; }
.egs-fcard__btn {
	display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
	padding: 14px 34px; border-radius: 999px; background: var(--brand); color: #fff;
	border: none !important; box-shadow: none !important; outline: none; margin-top: auto;
	transition: transform .25s var(--ease), background .25s ease;
}
.egs-fcard__btn:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); box-shadow: none !important; }

/* Dark variant */
.egs-fcard--dark { background: #0a0e18; border-color: #0a0e18; }
.egs-fcard--dark .egs-fcard__title { color: #fff; }
.egs-fcard--dark .egs-fcard__brand { color: var(--dark-muted); }
.egs-fcard--dark .egs-fcard__desc { color: var(--dark-muted); }
.egs-fcard--dark .egs-fcard__media img { filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }

@media (max-width: 1024px) {
	.egs-fcards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
	.egs-catcircle, .egs-catcircle__media { width: 100px; }
	.egs-catcircle__media { height: 100px; }
}
@media (max-width: 600px) {
	.egs-catcircles__row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 18px; padding-bottom: 6px; }
	.egs-catcircles__row::-webkit-scrollbar { display: none; }
	.egs-catcircle, .egs-catcircle__media { width: 86px; }
	.egs-catcircle__media { height: 86px; }
	.egs-fcard__media { min-height: 220px; }
}

/* =========================================================================
   RECOMMENDED PRODUCTS GRID
   ========================================================================= */
.egs-recs { padding-block: 8px; }
.egs-recs__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.02em; color: var(--text); margin: 0 0 26px; }
.egs-recs__grid { display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); gap: 22px; }

.egs-rcard {
	position: relative; display: flex; flex-direction: column; background: #fff;
	border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; text-align: center;
	transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.egs-rcard:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }

.egs-rcard__media { position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 14%; overflow: hidden; }
.egs-rcard__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .55s var(--ease-out); }
.egs-rcard:hover .egs-rcard__img { transform: scale(1.07) translateY(-3px); }

.egs-rcard__badges { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.egs-rbadge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; color: #fff; line-height: 1; box-shadow: var(--sh-sm); }
.egs-rbadge--sale { background: #5fa83d; }
.egs-rbadge--hot  { background: #ef4444; }

.egs-rcard__body { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 18px 16px 22px; flex: 1; border-top: 1px solid var(--border); }
.egs-rcard__title { font-size: 15.5px; font-weight: 700; color: var(--text); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; transition: color .2s; }
.egs-rcard:hover .egs-rcard__title { color: var(--brand-600); }
.egs-rcard__cat { font-size: 13px; color: var(--muted); font-weight: 500; }
.egs-rcard__rating { display: inline-flex; gap: 1px; font-size: 15px; color: var(--border-2); letter-spacing: 1px; }
.egs-rcard__rating .on { color: var(--star); }
.egs-rcard__rating .half { position: relative; color: var(--border-2); }
.egs-rcard__rating .half::before { content: "★"; position: absolute; left: 0; top: 0; width: 50%; overflow: hidden; color: var(--star); }
.egs-rcard__price { margin-top: 5px; font-size: 17px; font-weight: 800; color: var(--sale); }
.egs-rcard__price del { color: var(--muted); font-weight: 600; font-size: 14px; margin-right: 7px; text-decoration: line-through; }
.egs-rcard__price ins { text-decoration: none; color: var(--sale); }
.egs-rcard__price .amount { color: inherit; }
.egs-rcard__price del .amount { color: var(--muted); }

@media (max-width: 1200px) { .egs-recs__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .egs-recs__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .egs-recs__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* =========================================================================
   HOT DEALS — clean non-overlapping redesign
   ========================================================================= */
.egs-deals__card {
	position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
	min-height: 0; gap: 0; overflow: hidden; padding: 24px 18px 4px;
	background: linear-gradient(180deg, #eef3fb 0%, #f6f8fc 70%); border: 1px solid var(--border); border-radius: var(--r);
}
.egs-deals__bg, .egs-deals__overlay { display: none !important; }
.egs-deals__cardbody { position: static; display: flex; flex-direction: column; align-items: center; padding: 0; height: auto; }
.egs-deals__pn { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.egs-deals__headline { font-size: 21px; font-weight: 800; line-height: 1.22; letter-spacing: -.01em; color: var(--text); max-width: 230px; margin-bottom: 18px; }
.egs-deals__btn { margin: 0 0 6px; padding: 12px 30px; font-size: 14.5px; }
.egs-deals__media { width: 100%; display: grid; place-items: center; padding-top: 10px; position: relative; }
.egs-deals__media::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.14), rgba(34,211,238,.10) 45%, transparent 70%); filter: blur(16px); }
.egs-deals__img { position: relative; max-height: 150px; width: auto; max-width: 78%; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(13,20,38,.16)); }
