:root {
    --color-primary: #ff5001;
    --color-primary-dark: #e24700;
    --color-dark: #1f2933;
    --color-black: #000000;
    --color-text: #2f3a45;
    --color-secondary-text: #6b7280;
    --color-background: #f7f8fa;
    --color-white: #ffffff;
    --color-border: #e5e7eb;
    --color-soft: #fff4ee;

    --font-heading: Verdana, sans-serif;
    --font-body: Verdana, sans-serif;

    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.14);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --container-width: 1240px;
    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.page-container {
    width: min(var(--container-width), calc(100% - 40px));
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo img {
    height: 52px;
    width: auto;
    transition: transform var(--transition);
}

.logo:hover img {
    transform: scale(1.04);
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-socials a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.header-socials a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(255, 80, 1, 0.35);
}

.header-socials img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Sections */
.feature-section {
    position: relative;
    overflow: hidden;
    padding: 96px 0;
}

.feature-section-light {
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}

.feature-section-alt {
    background: var(--color-background);
}

.feature-section::before {
    content: "";
    position: absolute;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.9;
    background: radial-gradient(circle, rgba(255, 80, 1, 0.12), rgba(255, 80, 1, 0) 70%);
    z-index: 0;
}

#main-app::before {
    top: -220px;
    left: -240px;
}

#admin-app::before {
    right: -240px;
    bottom: -260px;
}

.feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: center;
    gap: 72px;
}

.reverse-on-desktop {
    grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
}

.reverse-on-desktop .content-wrapper {
    order: 2;
}

.reverse-on-desktop .image-wrapper {
    order: 1;
}

/* Content */
.content-wrapper {
    max-width: 620px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--color-soft);
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    color: var(--color-dark);
    max-width: 12ch;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 22px;
    color: var(--color-dark);
    max-width: 14ch;
}

.lead-text {
    font-size: 1.08rem;
    color: var(--color-secondary-text);
    margin: 0 0 28px;
    max-width: 58ch;
}

.language-flags-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px;
}

.language-flags-container span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.language-flags-container img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
    transition: transform var(--transition), box-shadow var(--transition);
}

.language-flags-container span:hover img {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: grid;
    gap: 16px;
}

.feature-list li {
    position: relative;
    padding: 16px 18px 16px 50px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius-md);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(255, 80, 1, 0.22);
}

.feature-list li::before {
    content: "✔";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 80, 1, 0.12);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Store Buttons */
.app-buttons-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.app-store-button.image-only {
    background: transparent;
    padding: 0;
    border-radius: 12px;
    transition: transform var(--transition);
}

.app-store-button.image-only img {
    height: 52px;
    width: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.app-store-button.image-only:hover img {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Mockup */
.image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: min(100%, 340px);
    aspect-ratio: 1098 / 2040;
    padding: 12px;
    border-radius: 38px;
    background: linear-gradient(180deg, #242a31 0%, #14181d 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.phone-mockup::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 42%;
    height: 18px;
    background: #111418;
    border-radius: 0 0 14px 14px;
    z-index: 3;
}

.phone-mockup::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 38px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: #0d1115;
}

.carousel-inner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-inner img.active {
    opacity: 1;
    z-index: 1;
}

/* Footer */
.site-footer {
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.03);
    margin-top: 60px;
}

.footer-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding: 18px 0;
}

.footer-left p,
.footer-right p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-secondary-text);
}

.site-footer a {
    color: var(--color-dark);
    transition: color var(--transition);
}

.site-footer a:hover {
    color: var(--color-primary);
}

.biovell-link {
    font-weight: 700;
}

.footer-separator {
    margin: 0 8px;
    color: #a1a1aa;
}

/* Scroll Animation */
.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Large screens */
@media (min-width: 1400px) {
    .feature-grid {
        gap: 90px;
    }

    .phone-mockup {
        width: 360px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .feature-section {
        padding: 80px 0;
    }

    .feature-grid,
    .reverse-on-desktop {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .reverse-on-desktop .content-wrapper,
    .reverse-on-desktop .image-wrapper {
        order: initial;
    }

    .content-wrapper {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .hero-title,
    .section-heading,
    .lead-text {
        max-width: 100%;
    }

    .language-flags-container,
    .app-buttons-container {
        justify-content: center;
    }

    .feature-list {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .image-wrapper {
        order: -1;
    }

    .phone-mockup {
        width: min(100%, 320px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .page-container {
        width: min(100% - 28px, var(--container-width));
    }

    .site-header {
        position: sticky;
    }

    .header-inner {
        min-height: 74px;
        gap: 14px;
    }

    .logo img {
        height: 44px;
    }

    .header-socials {
        gap: 10px;
    }

    .header-socials a {
        width: 38px;
        height: 38px;
    }

    .header-socials img {
        width: 18px;
        height: 18px;
    }

    .feature-section {
        padding: 64px 0;
    }

    .hero-title {
        font-size: clamp(1.9rem, 8vw, 2.8rem);
    }

    .section-heading {
        font-size: clamp(1.7rem, 7vw, 2.4rem);
    }

    .lead-text {
        font-size: 1rem;
    }

    .feature-list li {
        padding: 14px 14px 14px 46px;
        font-size: 0.97rem;
    }

    .app-store-button.image-only img {
        height: 48px;
    }

    .phone-mockup {
        width: min(100%, 290px);
        border-radius: 32px;
        padding: 10px;
    }

    .carousel-inner {
        border-radius: 22px;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        text-align: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .page-container {
        width: calc(100% - 22px);
    }

    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 0;
    }

    .logo {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .header-socials {
        width: 100%;
        justify-content: center;
    }

    .feature-section {
        padding: 54px 0;
    }

    .eyebrow {
        font-size: 0.75rem;
        padding: 7px 12px;
    }

    .hero-title,
    .section-heading {
        line-height: 1.18;
    }

    .language-flags-container img {
        width: 28px;
        height: 28px;
    }

    .feature-list {
        gap: 12px;
    }

    .feature-list li {
        padding: 13px 12px 13px 42px;
    }

    .feature-list li::before {
        left: 14px;
    }

    .app-buttons-container {
        flex-direction: column;
        align-items: center;
    }

    .app-store-button.image-only img {
        height: 46px;
    }

    .phone-mockup {
        width: min(100%, 270px);
    }

    .footer-left p,
    .footer-right p {
        font-size: 0.88rem;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-heading {
        font-size: 1.55rem;
    }

    .phone-mockup {
        width: min(100%, 250px);
    }

    .app-store-button.image-only img {
        height: 42px;
    }
}
.hidden {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex: 1;
}

.main-nav a,
.nav-dropdown button {
    color: var(--color-dark);
    font-size: 0.94rem;
    font-weight: 700;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
    transition: color var(--transition);
}

.main-nav a:hover,
.nav-dropdown button:hover {
    color: var(--color-primary);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 190px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    display: none;
    z-index: 999;
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    white-space: nowrap;
    color: var(--color-dark);
}

.dropdown-menu a:hover {
    background: var(--color-soft);
    color: var(--color-primary);
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

@media (max-width: 1100px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 14px;
        padding-bottom: 12px;
    }
}

@media (max-width: 600px) {
    .main-nav {
        gap: 10px;
    }

    .main-nav a,
    .nav-dropdown button {
        font-size: 0.78rem;
    }
}

:root {
  --ecx-orange: #ff6a00;
  --ecx-orange-dark: #e95700;
  --ecx-black: #111111;
  --ecx-text: #202124;
  --ecx-muted: #667085;
  --ecx-line: #eceff3;
  --ecx-soft: #fff7ef;
  --ecx-card: #ffffff;
  --ecx-shadow: 0 18px 48px rgba(16, 24, 40, 0.10);
  --ecx-radius: 18px;
}

.ecx-body {
  margin: 0;
  background: #ffffff;
  color: var(--ecx-text);
  font-family: "Manrope", Inter, Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.ecx-body * {
  box-sizing: border-box;
}

.ecx-body a {
  color: inherit;
  text-decoration: none;
}

.ecx-body img {
  max-width: 100%;
}

.ecx-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(236, 239, 243, 0.9);
  backdrop-filter: blur(18px);
}

.ecx-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  min-height: 72px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.ecx-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
  white-space: nowrap;
}

.ecx-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.ecx-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 800;
}

.ecx-nav a {
  color: #30343a;
}

.ecx-nav a:hover {
  color: var(--ecx-orange);
}

.ecx-header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.ecx-mini-store {
  min-width: 112px;
  min-height: 42px;
  padding: 7px 13px;
  border-radius: 999px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.10);
}

.ecx-mini-store span {
  font-size: 0.66rem;
  opacity: 0.82;
  font-weight: 700;
}

.ecx-mini-store strong {
  font-size: 0.88rem;
  font-weight: 900;
}

.ecx-store-black {
  background: #111111;
}

.ecx-store-orange {
  background: var(--ecx-orange);
}

.ecx-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 1.3rem;
}

.ecx-mobile-menu {
  display: none;
  padding: 8px 22px 18px;
  border-top: 1px solid var(--ecx-line);
}

.ecx-mobile-menu.active {
  display: block;
}

.ecx-mobile-menu a {
  display: block;
  padding: 12px 0;
  font-weight: 850;
}

.ecx-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #111111;
}

.ecx-hero-image {
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/generated/ec-image-fallback.svg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: ecxHeroZoom 18s ease-in-out infinite alternate;
}

@keyframes ecxHeroZoom {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.1);
  }
}

.ecx-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 106, 0, 0.35), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.72));
}

.ecx-hero-content {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  min-height: 620px;
  padding: 78px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 360px;
  align-items: center;
  gap: 34px;
  color: #ffffff;
}

.ecx-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.ecx-live-pill span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #26d07c;
  box-shadow: 0 0 0 6px rgba(38, 208, 124, 0.18);
}

.ecx-hero h1 {
  max-width: 820px;
  margin: 18px 0 14px;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.93;
  letter-spacing: -0.075em;
  font-weight: 900;
}

.ecx-hero p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.68;
}

.ecx-search-panel {
  max-width: 980px;
  margin-top: 28px;
  padding: 9px;
  display: grid;
  grid-template-columns: 1.25fr 0.72fr 0.72fr auto;
  gap: 7px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.ecx-search-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  border-right: 1px solid var(--ecx-line);
}

.ecx-search-field label {
  color: #737a84;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ecx-search-field input,
.ecx-search-field select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111111;
  font-size: 0.96rem;
  font-weight: 850;
  font-family: inherit;
}

.ecx-search-panel button {
  border: 0;
  min-width: 128px;
  border-radius: 22px;
  background: var(--ecx-orange);
  color: #ffffff;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.ecx-search-panel button:hover {
  background: var(--ecx-orange-dark);
  transform: translateY(-1px);
}

.ecx-hero-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ecx-hero-tags a {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.ecx-hero-side {
  display: grid;
  gap: 14px;
}

.ecx-location-card,
.ecx-app-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

.ecx-location-card span,
.ecx-location-card strong,
.ecx-location-card small {
  display: block;
}

.ecx-location-card span,
.ecx-app-card p {
  color: rgba(255, 255, 255, 0.74);
}

.ecx-location-card strong {
  margin: 8px 0;
  font-size: 1.3rem;
  line-height: 1.15;
}

.ecx-location-card small {
  color: #ffd1ad;
  font-weight: 800;
}

.ecx-app-card strong {
  display: block;
  font-size: 1.2rem;
}

.ecx-app-card p {
  margin: 8px 0 14px;
  line-height: 1.55;
  font-size: 0.92rem;
}

.ecx-store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ecx-store-row img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.ecx-feature-strip {
  max-width: 1280px;
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--ecx-line);
  border-radius: 24px;
  box-shadow: var(--ecx-shadow);
}

.ecx-feature-strip article {
  padding: 12px;
}

.ecx-feature-strip strong,
.ecx-feature-strip span {
  display: block;
}

.ecx-feature-strip strong {
  font-size: 0.96rem;
}

.ecx-feature-strip span {
  margin-top: 4px;
  color: var(--ecx-muted);
  font-size: 0.86rem;
  line-height: 1.42;
}

.ecx-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 66px 22px 0;
}

.ecx-section-soft {
  max-width: none;
  margin-top: 66px;
  padding: 66px max(22px, calc((100vw - 1320px) / 2 + 22px));
  background: linear-gradient(180deg, #fff7ef, #ffffff);
}

.ecx-section-head {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}

.ecx-section-head span {
  display: block;
  margin-bottom: 6px;
  color: var(--ecx-orange-dark);
  font-weight: 900;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ecx-section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.ecx-section-head a {
  color: var(--ecx-orange);
  font-weight: 900;
  white-space: nowrap;
}

.ecx-event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ecx-event-card {
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--ecx-line);
  box-shadow: 0 10px 32px rgba(16, 24, 40, 0.075);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  animation: ecxFadeUp 0.45s ease both;
}

@keyframes ecxFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ecx-event-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 106, 0, 0.4);
  box-shadow: 0 22px 58px rgba(16, 24, 40, 0.14);
}

.ecx-event-image {
  position: relative;
  display: block;
  height: 182px;
  overflow: hidden;
  background: #f4f4f4;
}

.ecx-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.ecx-event-card:hover .ecx-event-image img {
  transform: scale(1.07);
}

.ecx-event-image b {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111111;
  font-size: 0.72rem;
  font-weight: 900;
}

.ecx-event-body {
  padding: 13px;
}

.ecx-event-topline {
  min-height: 20px;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #0f7b3f;
  font-size: 0.78rem;
  font-weight: 900;
}

.ecx-event-topline span:last-child {
  color: var(--ecx-muted);
}

.ecx-event-card h3 {
  margin: 0;
  min-height: 44px;
  font-size: 0.98rem;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.ecx-event-card h3 a:hover {
  color: var(--ecx-orange);
}

.ecx-event-card p {
  margin: 8px 0 10px;
  min-height: 38px;
  color: var(--ecx-muted);
  font-size: 0.84rem;
  line-height: 1.42;
}

.ecx-event-facts {
  display: grid;
  gap: 4px;
  color: #475467;
  font-size: 0.8rem;
  font-weight: 750;
}

.ecx-event-bottom {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--ecx-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ecx-event-bottom strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.ecx-event-bottom a {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ecx-orange);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
}

.ecx-destination-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ecx-destination-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 22px;
  background: #111111;
  box-shadow: 0 16px 46px rgba(16, 24, 40, 0.13);
}

.ecx-destination-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: brightness(0.72);
  transition: transform 0.34s ease;
}

.ecx-destination-card:hover img {
  transform: scale(1.08);
}

.ecx-destination-card div {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: #ffffff;
}

.ecx-destination-card strong,
.ecx-destination-card span {
  display: block;
}

.ecx-destination-card strong {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.ecx-destination-card span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  font-size: 0.9rem;
}

.ecx-category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.ecx-category-grid a {
  padding: 16px 15px;
  border-radius: 18px;
  border: 1px solid var(--ecx-line);
  background: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.055);
}

.ecx-category-grid a:hover {
  border-color: rgba(255, 106, 0, 0.48);
  color: var(--ecx-orange);
  transform: translateY(-2px);
}

.ecx-category-grid small {
  color: var(--ecx-muted);
  margin-left: 4px;
}

.ecx-app-showcase,
.ecx-organizer-cta {
  max-width: 1276px;
  margin: 68px auto 0;
  border-radius: 30px;
}

.ecx-app-showcase {
  padding: 38px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 106, 0, 0.32), transparent 28%),
    linear-gradient(135deg, #111111, #291300);
  overflow: hidden;
}

.ecx-app-showcase span,
.ecx-organizer-cta span {
  color: #ffb36d;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ecx-app-showcase h2,
.ecx-organizer-cta h2 {
  margin: 10px 0 10px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.ecx-app-showcase p,
.ecx-organizer-cta p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.ecx-app-showcase ul {
  margin: 18px 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ecx-app-showcase li {
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 850;
}

.ecx-app-showcase > img {
  max-height: 430px;
  justify-self: center;
  object-fit: contain;
  filter: drop-shadow(0 28px 50px rgba(0, 0, 0, 0.35));
}

.ecx-organizer-cta {
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, #181818, #331800);
}

.ecx-organizer-cta div {
  max-width: 790px;
}

.ecx-organizer-cta a {
  min-width: 210px;
  padding: 15px 20px;
  border-radius: 999px;
  text-align: center;
  background: var(--ecx-orange);
  color: #ffffff;
  font-weight: 900;
}

.ecx-footer {
  margin-top: 70px;
  padding: 52px 22px 24px;
  background: #101010;
  color: #ffffff;
}

.ecx-footer-grid {
  max-width: 1276px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 30px;
}

.ecx-footer img {
  width: 44px;
}

.ecx-footer h3,
.ecx-footer h4 {
  margin: 10px 0;
}

.ecx-footer p,
.ecx-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.ecx-footer a {
  display: block;
  margin: 9px 0;
}

.ecx-footer-bottom {
  max-width: 1276px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.ecx-loader,
.ecx-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--ecx-line);
  color: var(--ecx-muted);
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .ecx-hero-image,
  .ecx-event-card {
    animation: none;
  }

  .ecx-event-card,
  .ecx-event-image img,
  .ecx-destination-card img {
    transition: none;
  }
}

@media (max-width: 1120px) {
  .ecx-nav,
  .ecx-mini-store {
    display: none;
  }

  .ecx-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ecx-header-inner {
    justify-content: space-between;
  }

  .ecx-hero-content {
    grid-template-columns: 1fr;
  }

  .ecx-hero-side {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecx-search-panel {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .ecx-search-field {
    border-right: 0;
    border-bottom: 1px solid var(--ecx-line);
  }

  .ecx-search-panel button {
    min-height: 52px;
  }

  .ecx-feature-strip,
  .ecx-event-grid,
  .ecx-destination-grid,
  .ecx-category-grid,
  .ecx-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ecx-app-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .ecx-header-inner {
    min-height: 66px;
    padding: 9px 16px;
  }

  .ecx-brand span {
    font-size: 0.96rem;
  }

  .ecx-hero,
  .ecx-hero-content {
    min-height: auto;
  }

  .ecx-hero-content {
    padding: 58px 16px 76px;
  }

  .ecx-hero h1 {
    font-size: 2.75rem;
  }

  .ecx-hero p {
    font-size: 1rem;
  }

  .ecx-hero-side,
  .ecx-feature-strip,
  .ecx-event-grid,
  .ecx-destination-grid,
  .ecx-category-grid,
  .ecx-footer-grid,
  .ecx-app-showcase ul {
    grid-template-columns: 1fr;
  }

  .ecx-feature-strip {
    margin: -24px 14px 0;
  }

  .ecx-section,
  .ecx-section-soft {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ecx-section-head,
  .ecx-organizer-cta,
  .ecx-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .ecx-app-showcase,
  .ecx-organizer-cta {
    margin-left: 16px;
    margin-right: 16px;
    padding: 26px;
  }

  .ecx-store-row img {
    height: 39px;
  }
}

/* =========================================================
   Event Country premium reservation cards
========================================================= */

.ecx-event-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.ecx-reserve-card {
  position: relative;
  min-height: 430px;
  border: 0 !important;
  border-radius: 30px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.ecx-reserve-link {
  position: relative;
  display: block;
  height: 430px;
  border-radius: 30px;
  overflow: hidden;
  color: #ffffff;
  background: #1c251b;
  box-shadow:
    0 28px 55px rgba(16, 24, 40, 0.22),
    0 8px 20px rgba(16, 24, 40, 0.12);
  isolation: isolate;
  transform: translateZ(0);
}

.ecx-reserve-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0.04) 30%,
      rgba(18, 22, 14, 0.38) 52%,
      rgba(17, 23, 12, 0.80) 76%,
      rgba(14, 20, 10, 0.97) 100%
    );
  pointer-events: none;
}

.ecx-reserve-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.ecx-reserve-card:hover .ecx-reserve-img {
  transform: scale(1.07);
  filter: saturate(1.04) contrast(1.02);
}

.ecx-reserve-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 74px;
  z-index: 4;
  padding: 0 22px;
}

.ecx-reserve-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.ecx-reserve-heading h3 {
  flex: 1;
  margin: 0 !important;
  color: #ffffff;
  font-size: 1.28rem !important;
  line-height: 1.1 !important;
  letter-spacing: -0.04em;
  font-weight: 800;
  font-family: "Manrope", Inter, Arial, sans-serif;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ecx-reserve-price {
  flex-shrink: 0;
  margin-top: 2px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
  font-family: "Manrope", Inter, Arial, sans-serif;
  white-space: nowrap;
}

.ecx-reserve-content p {
  margin: 0 0 10px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
  font-weight: 500;
  font-family: "Manrope", Inter, Arial, sans-serif;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ecx-reserve-inline {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 700;
  font-family: "Manrope", Inter, Arial, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ecx-reserve-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ecx-reserve-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1;
  font-family: "Manrope", Inter, Arial, sans-serif;
  backdrop-filter: blur(12px);
}

.ecx-reserve-button {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 5;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111 !important;
  background: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  font-family: "Manrope", Inter, Arial, sans-serif;
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.ecx-reserve-button:hover {
  transform: translateY(-2px);
  color: #ffffff !important;
  background: var(--ecx-orange, #ff6a00);
}

.ecx-reserve-card::after {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  bottom: -18px;
  height: 38px;
  z-index: -1;
  border-radius: 999px;
  background: rgba(16, 24, 40, 0.20);
  filter: blur(22px);
}

@media (max-width: 1120px) {
  .ecx-event-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }
}

@media (max-width: 640px) {
  .ecx-event-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ecx-reserve-card {
    min-height: 420px;
  }

  .ecx-reserve-link {
    height: 420px;
    border-radius: 28px;
  }

  .ecx-reserve-content {
    bottom: 72px;
    padding: 0 18px;
  }

  .ecx-reserve-heading h3 {
    font-size: 1.18rem !important;
  }

  .ecx-reserve-price {
    font-size: 0.92rem;
  }

  .ecx-reserve-inline {
    font-size: 0.72rem;
  }

  .ecx-reserve-button {
    left: 18px;
    right: 18px;
  }
}
/* =========================================================
   FINAL Event Country luxury booking cards
   This overrides older .ecx-reserve-card styles.
========================================================= */

.ecx-event-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

.ecx-lux-card {
  position: relative !important;
  min-height: 520px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 38px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.ecx-lux-link {
  position: relative !important;
  display: block !important;
  height: 520px !important;
  border-radius: 38px !important;
  overflow: hidden !important;
  color: #ffffff !important;
  background: #111827 !important;
  box-shadow:
    0 34px 70px rgba(15, 23, 42, 0.28),
    0 10px 26px rgba(15, 23, 42, 0.16) !important;
  isolation: isolate !important;
}

.ecx-lux-link::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  pointer-events: none !important;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.00) 0%,
      rgba(0, 0, 0, 0.05) 28%,
      rgba(24, 35, 52, 0.32) 48%,
      rgba(31, 43, 63, 0.82) 73%,
      rgba(22, 30, 45, 0.98) 100%
    ) !important;
}

.ecx-lux-img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.01) !important;
  transition: transform 0.45s ease, filter 0.45s ease !important;
}

.ecx-lux-card:hover .ecx-lux-img {
  transform: scale(1.07) !important;
  filter: saturate(1.08) contrast(1.04) !important;
}

.ecx-lux-save {
  position: absolute !important;
  top: 22px !important;
  right: 22px !important;
  z-index: 5 !important;
  width: 42px !important;
  height: 42px !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16) !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  backdrop-filter: blur(14px) !important;
  transition: transform 0.22s ease, background 0.22s ease !important;
}

.ecx-lux-save:hover {
  transform: scale(1.06) !important;
  background: rgba(255, 255, 255, 0.26) !important;
}

.ecx-lux-content {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 86px !important;
  z-index: 4 !important;
  padding: 0 26px !important;
  font-family: "Manrope", Inter, Arial, sans-serif !important;
}

.ecx-lux-title-row {
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 14px !important;
}

.ecx-lux-title-row h3 {
  flex: 1 !important;
  min-height: 0 !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-family: "Manrope", Inter, Arial, sans-serif !important;
  font-size: clamp(1.25rem, 2vw, 1.55rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.055em !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32) !important;
  display: -webkit-box !important;
  line-clamp: 2 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.ecx-lux-title-row strong {
  flex-shrink: 0 !important;
  margin-top: 2px !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  font-family: "Manrope", Inter, Arial, sans-serif !important;
  font-size: 0.98rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  backdrop-filter: blur(12px) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
}

.ecx-lux-content p {
  min-height: 0 !important;
  margin: 0 0 12px !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-family: "Manrope", Inter, Arial, sans-serif !important;
  font-size: 0.94rem !important;
  line-height: 1.42 !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28) !important;
  display: -webkit-box !important;
  line-clamp: 3 !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.ecx-lux-info-line {
  margin-bottom: 14px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-family: "Manrope", Inter, Arial, sans-serif !important;
  font-size: 0.78rem !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ecx-lux-pills {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 9px !important;
}

.ecx-lux-pills span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  color: rgba(255, 255, 255, 0.96) !important;
  background: rgba(255, 255, 255, 0.16) !important;
  font-family: "Manrope", Inter, Arial, sans-serif !important;
  font-size: 0.78rem !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  backdrop-filter: blur(14px) !important;
}

.ecx-lux-button {
  position: absolute !important;
  left: 26px !important;
  right: 26px !important;
  bottom: 22px !important;
  z-index: 6 !important;
  height: 58px !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #111111 !important;
  background: #ffffff !important;
  font-family: "Manrope", Inter, Arial, sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 16px 30px rgba(0, 0, 0, 0.20) !important;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease !important;
}

.ecx-lux-button:hover {
  transform: translateY(-2px) !important;
  color: #ffffff !important;
  background: var(--ecx-orange, #ff6a00) !important;
}

.ecx-lux-card::after {
  content: "" !important;
  position: absolute !important;
  left: 14% !important;
  right: 14% !important;
  bottom: -20px !important;
  height: 42px !important;
  z-index: -1 !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, 0.22) !important;
  filter: blur(24px) !important;
}

.ecx-lux-card .ecx-event-image,
.ecx-lux-card .ecx-event-body,
.ecx-lux-card .ecx-event-topline,
.ecx-lux-card .ecx-event-facts,
.ecx-lux-card .ecx-event-bottom,
.ecx-lux-card .ecx-reserve-link,
.ecx-lux-card .ecx-reserve-content,
.ecx-lux-card .ecx-reserve-button {
  all: unset;
}

@media (max-width: 1120px) {
  .ecx-event-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .ecx-event-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .ecx-lux-card {
    min-height: 500px !important;
  }

  .ecx-lux-link {
    height: 500px !important;
    border-radius: 34px !important;
  }

  .ecx-lux-content {
    bottom: 84px !important;
    padding: 0 22px !important;
  }

  .ecx-lux-title-row h3 {
    font-size: 1.32rem !important;
  }

  .ecx-lux-title-row strong {
    font-size: 0.9rem !important;
    padding: 7px 10px !important;
  }

  .ecx-lux-content p {
    font-size: 0.9rem !important;
  }

  .ecx-lux-info-line {
    font-size: 0.73rem !important;
  }

  .ecx-lux-button {
    left: 22px !important;
    right: 22px !important;
    height: 56px !important;
  }
}

/* =========================================================
   Event detail page
========================================================= */

.ecd-page {
  background: #ffffff;
  min-height: 100vh;
}

.ecd-loading,
.ecd-error {
  max-width: 900px;
  margin: 80px auto;
  padding: 32px;
  border-radius: 24px;
  background: #fff7ef;
  color: #111111;
  font-weight: 900;
  text-align: center;
}

.ecd-error h1 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.ecd-error p {
  color: #667085;
}

.ecd-error a {
  display: inline-flex;
  margin-top: 16px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ecx-orange, #ff6a00);
  color: #ffffff;
  font-weight: 900;
}

.ecd-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 34px 22px 0;
}

.ecd-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 420px;
  gap: 26px;
  align-items: start;
}

.ecd-gallery {
  overflow: hidden;
  border-radius: 32px;
  background: #f2f4f7;
  min-height: 560px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
}

.ecd-gallery img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.ecd-booking-card {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid #eceff3;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.12);
}

.ecd-pill {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff1e6;
  color: var(--ecx-orange, #ff6a00);
  font-size: 0.78rem;
  font-weight: 900;
}

.ecd-booking-card h1 {
  margin: 14px 0 16px;
  color: #111111;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.ecd-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
}

.ecd-price-row strong {
  font-size: 1.7rem;
  font-weight: 1000;
  color: #111111;
}

.ecd-price-row span {
  color: #667085;
  font-weight: 800;
}

.ecd-info-list {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.ecd-info-list div {
  padding: 13px 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
}

.ecd-info-list small {
  display: block;
  margin-bottom: 4px;
  color: #667085;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ecd-info-list span {
  display: block;
  color: #111111;
  font-weight: 900;
}

.ecd-book-btn {
  width: 100%;
  min-height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ecx-orange, #ff6a00);
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 1000;
}

.ecd-action-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ecd-action-row button,
.ecd-action-row a {
  min-height: 46px;
  border: 1px solid #eceff3;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecd-main-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
}

.ecd-description-card,
.ecd-map-card,
.ecd-organizer-card {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid #eceff3;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(16, 24, 40, 0.06);
}

.ecd-description-card h2,
.ecd-map-card h2 {
  margin: 0 0 14px;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.ecd-description-card p,
.ecd-map-card p {
  color: #475467;
  line-height: 1.75;
}

.ecd-highlight-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ecd-highlight-grid div {
  padding: 16px;
  border-radius: 20px;
  background: #fff7ef;
}

.ecd-highlight-grid strong,
.ecd-highlight-grid span {
  display: block;
}

.ecd-highlight-grid span {
  margin-top: 5px;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.45;
}

.ecd-map-card a {
  display: inline-flex;
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
}

.ecd-organizer-card {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.ecd-organizer-card img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.ecd-organizer-card div {
  flex: 1;
}

.ecd-organizer-card span {
  color: var(--ecx-orange, #ff6a00);
  font-weight: 900;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.ecd-organizer-card h2 {
  margin: 4px 0;
}

.ecd-organizer-card p {
  margin: 0;
  color: #667085;
}

.ecd-organizer-card a {
  padding: 12px 16px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-weight: 900;
}

.ecd-related-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ecd-related-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #eceff3;
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
}

.ecd-related-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.ecd-related-card div {
  padding: 16px;
}

.ecd-related-card small {
  color: #667085;
  font-weight: 800;
}

.ecd-related-card h3 {
  margin: 8px 0;
  font-size: 1.05rem;
  line-height: 1.25;
}

.ecd-related-card strong {
  color: #111111;
}

@media (max-width: 980px) {
  .ecd-hero,
  .ecd-main-grid {
    grid-template-columns: 1fr;
  }

  .ecd-booking-card {
    position: static;
  }

  .ecd-gallery,
  .ecd-gallery img {
    min-height: auto;
    height: 420px;
  }

  .ecd-highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ecd-content {
    padding: 20px 16px 0;
  }

  .ecd-gallery,
  .ecd-gallery img {
    height: 330px;
    border-radius: 24px;
  }

  .ecd-booking-card,
  .ecd-description-card,
  .ecd-map-card,
  .ecd-organizer-card {
    padding: 20px;
    border-radius: 24px;
  }

  .ecd-action-row {
    grid-template-columns: 1fr;
  }

  .ecd-organizer-card {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================================
   FINAL OVERRIDE: compact square cards + 4px corners
   Added for Event Country public website card redesign.
========================================================= */

:root {
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-xl: 4px;
  --ecx-radius: 4px;
}

/* Make all visible UI corners consistent at 4px */
button,
input,
select,
textarea,
img,
[class*="card"],
[class*="btn"],
[class*="button"],
[class*="pill"],
[class*="panel"],
[class*="menu"],
[class*="store"],
[class*="field"],
[class*="badge"],
[class*="tag"],
[class*="chip"],
[class*="grid"],
.ecx-header,
.ecx-hero,
.ecx-feature-strip,
.ecx-section-soft,
.ecx-search-panel,
.ecx-search-panel *,
.ecx-location-card,
.ecx-app-card,
.ecx-destination-card,
.ecx-category-grid a,
.ecx-app-showcase,
.ecx-footer,
.ecd-gallery,
.ecd-booking-card,
.ecd-info-card,
.ecd-related-card,
.ecd-error,
.ecd-loading {
  border-radius: 4px !important;
}

/* Smaller and cleaner section spacing around cards */
.ecx-section {
  padding-top: 44px !important;
}

.ecx-section-head {
  margin-bottom: 14px !important;
}

.ecx-section-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 2.25rem) !important;
  letter-spacing: -0.04em !important;
}

.ecx-section-head span {
  font-size: 0.72rem !important;
}

/* Square card grid */
.ecx-event-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
}

/* Square Event Country cards */
.ecx-lux-card {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(236, 239, 243, 0.95) !important;
  border-radius: 4px !important;
  background: #111827 !important;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12) !important;
}

.ecx-lux-link {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  height: 100% !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  color: #ffffff !important;
  background: #111827 !important;
  box-shadow: none !important;
  isolation: isolate !important;
}

.ecx-lux-link::before {
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0.12) 34%,
      rgba(10, 16, 26, 0.62) 65%,
      rgba(10, 16, 26, 0.95) 100%
    ) !important;
}

.ecx-lux-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.ecx-lux-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 38px rgba(16, 24, 40, 0.18) !important;
}

.ecx-lux-card:hover .ecx-lux-img {
  transform: scale(1.04) !important;
}

/* Compact heart */
.ecx-lux-save {
  top: 12px !important;
  right: 12px !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 4px !important;
  font-size: 1rem !important;
  background: rgba(255, 255, 255, 0.18) !important;
}

/* Compact text area */
.ecx-lux-content {
  left: 0 !important;
  right: 0 !important;
  bottom: 56px !important;
  padding: 0 14px !important;
  max-height: 58% !important;
}

.ecx-lux-title-row {
  margin-bottom: 6px !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

.ecx-lux-title-row h3 {
  font-size: clamp(0.94rem, 1.1vw, 1.08rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.035em !important;
  font-weight: 900 !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
}

.ecx-lux-title-row strong {
  max-width: 96px !important;
  padding: 5px 7px !important;
  border-radius: 4px !important;
  font-size: 0.72rem !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ecx-lux-content p {
  margin: 0 0 7px !important;
  font-size: 0.72rem !important;
  line-height: 1.28 !important;
  font-weight: 650 !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
}

.ecx-lux-info-line {
  margin-bottom: 8px !important;
  font-size: 0.66rem !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
}

.ecx-lux-pills {
  gap: 5px !important;
}

.ecx-lux-pills span {
  min-height: 22px !important;
  max-width: 96px !important;
  padding: 4px 7px !important;
  border-radius: 4px !important;
  font-size: 0.64rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Compact button inside the square card */
.ecx-lux-button {
  left: 14px !important;
  right: 14px !important;
  bottom: 12px !important;
  height: 36px !important;
  border-radius: 4px !important;
  font-size: 0.82rem !important;
  letter-spacing: -0.015em !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18) !important;
}

.ecx-lux-card::after {
  display: none !important;
}

/* Clean old reserve/card styles if they appear anywhere */
.ecx-event-card,
.ecx-destination-card,
.ecx-category-grid a {
  border-radius: 4px !important;
}

/* Related/detail cards should also follow 4px corners */
.ecd-gallery,
.ecd-gallery img,
.ecd-booking-card,
.ecd-info-card,
.ecd-related-card,
.ecd-related-card img,
.ecd-error,
.ecd-loading {
  border-radius: 4px !important;
}

/* Desktop width tuning */
@media (min-width: 1320px) {
  .ecx-event-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }
}

@media (max-width: 1120px) {
  .ecx-event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 840px) {
  .ecx-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .ecx-lux-content {
    bottom: 52px !important;
    padding: 0 12px !important;
  }

  .ecx-lux-button {
    left: 12px !important;
    right: 12px !important;
    height: 34px !important;
    font-size: 0.78rem !important;
  }
}

@media (max-width: 520px) {
  .ecx-event-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ecx-lux-card {
    aspect-ratio: 1 / 1 !important;
  }

  .ecx-lux-title-row h3 {
    font-size: 1.02rem !important;
  }

  .ecx-lux-content p {
    font-size: 0.74rem !important;
  }
}

/* =========================================================
   FINAL OVERRIDE 009: narrow page, 3-column clean travel cards,
   image carousel arrows, real store badges, improved search.
========================================================= */

:root {
  --radius-sm: 6px;
  --radius-md: 6px;
  --radius-lg: 6px;
  --radius-xl: 6px;
  --ecx-radius: 6px;
  --ecx-page-max: 1180px;
  --ecx-header-max: 1220px;
}

/* Controlled page width: no more over-wide desktop layout */
.ecx-header-inner {
  max-width: var(--ecx-header-max) !important;
}

.ecx-hero-content,
.ecx-section,
.ecx-feature-strip,
.ecx-app-showcase,
.ecx-organizer-cta,
.ecx-footer-grid,
.ecx-footer-bottom,
.ecd-content {
  max-width: var(--ecx-page-max) !important;
}

.ecx-section {
  padding-left: 18px !important;
  padding-right: 18px !important;
}

.ecx-section-soft {
  max-width: none !important;
  padding-left: max(18px, calc((100vw - var(--ecx-page-max)) / 2 + 18px)) !important;
  padding-right: max(18px, calc((100vw - var(--ecx-page-max)) / 2 + 18px)) !important;
}

/* Use real store logo images everywhere, with identical boxes */
.ecx-store-badge,
.ecx-mini-store {
  display: none !important;
}

.ecx-header-actions {
  gap: 10px !important;
}

.ecx-download-logo {
  width: 148px !important;
  height: 46px !important;
  min-width: 148px !important;
  padding: 0 !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  line-height: 0 !important;
}

.ecx-download-logo img,
.ecx-store-row .ecx-download-logo img,
.ecx-header-actions .ecx-download-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  object-fit: contain !important;
  border-radius: 6px !important;
}

.ecx-store-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.ecx-store-row .ecx-download-logo {
  width: 150px !important;
  height: 46px !important;
}

.ecx-app-showcase .ecx-store-row .ecx-download-logo {
  width: 158px !important;
  height: 48px !important;
}

/* Header/nav polish */
.ecx-header {
  border-radius: 0 !important;
}

.ecx-nav {
  gap: 18px !important;
}

.ecx-nav a {
  position: relative !important;
  padding: 9px 0 !important;
  font-size: 0.94rem !important;
  letter-spacing: -0.02em !important;
}

.ecx-nav a.is-active::after,
.ecx-nav a:hover::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 2px !important;
  height: 4px !important;
  border-radius: 6px !important;
  background: #ffe100 !important;
}

.ecx-header-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  border: 1px solid #e7eaf0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #111111 !important;
  font-size: 1.3rem !important;
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.06) !important;
}

/* Improved search panel */
.ecx-search-panel {
  max-width: 860px !important;
  margin-top: 28px !important;
  padding: 10px !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 1.25fr) minmax(160px, 0.65fr) minmax(180px, 0.75fr) 132px !important;
  gap: 8px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28) !important;
  backdrop-filter: blur(18px) !important;
}

.ecx-search-field {
  min-height: 62px !important;
  padding: 10px 12px !important;
  border: 1px solid #eef1f5 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
}

.ecx-search-field > div {
  min-width: 0 !important;
  flex: 1 !important;
}

.ecx-search-icon {
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px !important;
  border-radius: 6px !important;
  background: #fff4eb !important;
  color: var(--ecx-orange, #ff6a00) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 900 !important;
  font-size: 1.05rem !important;
}

.ecx-search-field label {
  display: block !important;
  margin-bottom: 2px !important;
  color: #697386 !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

.ecx-search-field input,
.ecx-search-field select {
  width: 100% !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  font-size: 0.92rem !important;
  font-weight: 850 !important;
  font-family: inherit !important;
}

.ecx-search-panel button {
  min-width: 0 !important;
  min-height: 62px !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: linear-gradient(135deg, #ff7a00, #ff5001) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 0.96rem !important;
  font-weight: 1000 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 26px rgba(255, 106, 0, 0.28) !important;
}

.ecx-search-panel button:hover {
  transform: translateY(-1px) !important;
  background: linear-gradient(135deg, #ff5001, #e24700) !important;
}

/* Feature strip: cleaner and narrower */
.ecx-feature-strip {
  border-radius: 6px !important;
  padding: 14px !important;
  gap: 10px !important;
  box-shadow: 0 16px 38px rgba(16, 24, 40, 0.10) !important;
}

.ecx-feature-strip article {
  border-radius: 6px !important;
  padding: 14px !important;
  border: 1px solid #edf0f4 !important;
  background: #ffffff !important;
  display: flex !important;
  gap: 10px !important;
  align-items: flex-start !important;
}

.ecx-feature-icon {
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  background: #fff4eb !important;
  color: var(--ecx-orange, #ff6a00) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 900 !important;
  flex: 0 0 32px !important;
}

.ecx-feature-strip strong {
  font-size: 0.92rem !important;
  letter-spacing: -0.02em !important;
}

.ecx-feature-strip span:not(.ecx-feature-icon) {
  font-size: 0.78rem !important;
  line-height: 1.35 !important;
}

/* GUARANTEED 3-column clean travel cards */
.ecx-event-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

.ecx-event-card.ecx-trip-card,
.ecx-trip-card {
  position: relative !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  border: 1px solid #e8ebf0 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.07) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.ecx-trip-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255, 106, 0, 0.35) !important;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.11) !important;
}

.ecx-trip-media {
  position: relative !important;
  height: 214px !important;
  overflow: hidden !important;
  background: #f2f4f7 !important;
  border-radius: 6px 6px 0 0 !important;
}

.ecx-trip-media-link,
.ecx-trip-media-link:visited {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  color: inherit !important;
}

.ecx-trip-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0 !important;
  transform: scale(1.01) !important;
  transition: opacity 0.22s ease, transform 0.32s ease !important;
  border-radius: 0 !important;
}

.ecx-trip-img.is-active {
  opacity: 1 !important;
  z-index: 1 !important;
}

.ecx-trip-card:hover .ecx-trip-img.is-active {
  transform: scale(1.04) !important;
}

.ecx-trip-save,
.ecx-trip-arrow,
.ecx-trip-count {
  position: absolute !important;
  z-index: 4 !important;
}

.ecx-trip-save {
  top: 10px !important;
  right: 10px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 6px !important;
  background: rgba(0, 0, 0, 0.58) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  backdrop-filter: blur(10px) !important;
}

.ecx-trip-arrow {
  top: 50% !important;
  width: 34px !important;
  height: 38px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #111827 !important;
  font-size: 1.6rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transform: translateY(-50%) !important;
  opacity: 0 !important;
  transition: opacity 0.2s ease, background 0.2s ease !important;
}

.ecx-trip-card:hover .ecx-trip-arrow {
  opacity: 1 !important;
}

.ecx-trip-arrow-prev { left: 10px !important; }
.ecx-trip-arrow-next { right: 10px !important; }
.ecx-trip-arrow:hover { background: #ffffff !important; }

.ecx-trip-count {
  left: 10px !important;
  bottom: 10px !important;
  padding: 5px 8px !important;
  border-radius: 6px !important;
  background: rgba(0, 0, 0, 0.58) !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  backdrop-filter: blur(10px) !important;
}

.ecx-trip-dots {
  position: absolute !important;
  left: 50% !important;
  bottom: 13px !important;
  z-index: 5 !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 5px !important;
}

.ecx-trip-dots span {
  width: 6px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.65) !important;
}

.ecx-trip-dots span.is-active {
  width: 16px !important;
  background: #ffffff !important;
}

.ecx-trip-body {
  padding: 14px 14px 13px !important;
}

.ecx-trip-category {
  display: inline-flex !important;
  margin-bottom: 7px !important;
  color: #4b5f7a !important;
  font-size: 0.72rem !important;
  font-weight: 1000 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.ecx-trip-body h3 {
  min-height: 0 !important;
  margin: 0 0 8px !important;
  color: #111827 !important;
  font-size: 1.02rem !important;
  line-height: 1.18 !important;
  letter-spacing: -0.035em !important;
  font-weight: 950 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.ecx-trip-body h3 a:hover {
  color: var(--ecx-orange, #ff6a00) !important;
}

.ecx-trip-rating {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 0 10px !important;
  color: #111827 !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
}

.ecx-trip-rating-dots {
  display: inline-flex !important;
  gap: 3px !important;
}

.ecx-trip-rating-dots i {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #00aa6c !important;
  display: block !important;
}

.ecx-trip-rating span:last-child {
  color: #53627a !important;
}

.ecx-trip-meta {
  display: grid !important;
  gap: 4px !important;
  min-height: 58px !important;
  color: #465875 !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  line-height: 1.22 !important;
}

.ecx-trip-meta span {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ecx-trip-footer {
  margin-top: 14px !important;
  padding-top: 12px !important;
  border-top: 1px solid #edf0f4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.ecx-trip-footer strong {
  color: #111827 !important;
  font-size: 1.02rem !important;
  font-weight: 1000 !important;
  letter-spacing: -0.02em !important;
}

.ecx-trip-footer a {
  min-width: 96px !important;
  min-height: 38px !important;
  padding: 9px 14px !important;
  border-radius: 6px !important;
  background: #080b10 !important;
  color: #ffffff !important;
  font-size: 0.82rem !important;
  font-weight: 950 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ecx-trip-footer a:hover {
  background: var(--ecx-orange, #ff6a00) !important;
}

/* Remove the old overlay-card text design if old classes remain in cache */
.ecx-lux-content p,
.ecx-lux-info-line {
  display: none !important;
}

/* Detail gallery carousel */
.ecd-gallery-slider {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  border-radius: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ecd-gallery-main {
  position: relative !important;
  height: 520px !important;
  overflow: hidden !important;
  border-radius: 6px !important;
  background: #f2f4f7 !important;
  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.12) !important;
}

.ecd-gallery-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0 !important;
  transition: opacity 0.22s ease !important;
}

.ecd-gallery-img.is-active {
  opacity: 1 !important;
  z-index: 1 !important;
}

.ecd-gallery-arrow {
  position: absolute !important;
  top: 50% !important;
  z-index: 4 !important;
  width: 42px !important;
  height: 48px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #111827 !important;
  font-size: 1.9rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  transform: translateY(-50%) !important;
}

.ecd-gallery-prev { left: 14px !important; }
.ecd-gallery-next { right: 14px !important; }

.ecd-gallery-count {
  position: absolute !important;
  right: 14px !important;
  bottom: 14px !important;
  z-index: 4 !important;
  padding: 7px 10px !important;
  border-radius: 6px !important;
  background: rgba(0, 0, 0, 0.62) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 0.82rem !important;
}

.ecd-gallery-thumbs {
  margin-top: 10px !important;
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 8px !important;
}

.ecd-gallery-thumbs button {
  height: 68px !important;
  padding: 0 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
  background: #f2f4f7 !important;
  cursor: pointer !important;
}

.ecd-gallery-thumbs button.is-active {
  border-color: var(--ecx-orange, #ff6a00) !important;
}

.ecd-gallery-thumbs img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

.ecd-clean-list {
  margin: 0 !important;
  padding-left: 18px !important;
  display: grid !important;
  gap: 8px !important;
  color: #475467 !important;
  line-height: 1.65 !important;
}

/* Keep all UI corners 6px after older 4px overrides */
button,
input,
select,
textarea,
img,
[class*="card"],
[class*="btn"],
[class*="button"],
[class*="pill"],
[class*="panel"],
[class*="menu"],
[class*="store"],
[class*="field"],
[class*="badge"],
[class*="tag"],
[class*="chip"],
.ecx-feature-strip,
.ecx-search-panel,
.ecx-location-card,
.ecx-app-card,
.ecx-destination-card,
.ecx-category-grid a,
.ecx-app-showcase,
.ecx-organizer-cta,
.ecd-booking-card,
.ecd-description-card,
.ecd-map-card,
.ecd-organizer-card,
.ecd-related-card,
.ecd-error,
.ecd-loading {
  border-radius: 6px !important;
}

@media (max-width: 1120px) {
  .ecx-header-inner,
  .ecx-hero-content,
  .ecx-section,
  .ecx-feature-strip,
  .ecx-app-showcase,
  .ecx-organizer-cta,
  .ecx-footer-grid,
  .ecx-footer-bottom,
  .ecd-content {
    max-width: 920px !important;
  }

  .ecx-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .ecx-search-panel {
    grid-template-columns: 1fr 1fr !important;
  }

  .ecx-search-panel button {
    grid-column: 1 / -1 !important;
  }

  .ecx-download-logo {
    width: 138px !important;
    min-width: 138px !important;
    height: 43px !important;
  }
}

@media (max-width: 780px) {
  .ecx-event-grid,
  .ecx-feature-strip,
  .ecd-gallery-thumbs {
    grid-template-columns: 1fr !important;
  }

  .ecx-search-panel {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }

  .ecx-trip-media {
    height: 240px !important;
  }

  .ecd-gallery-main {
    height: 350px !important;
  }

  .ecx-download-logo {
    width: 132px !important;
    min-width: 132px !important;
    height: 41px !important;
  }

  .ecx-header-actions .ecx-download-logo {
    display: none !important;
  }
}
/* =========================================================
   Event Country targeted stable header + travel cards
   Only affects: ecx-header, ecx-event cards, page background
========================================================= */

:root {
  --ecx-orange: #ff6200;
  --ecx-orange-dark: #e95700;
  --ecx-text: #101010;
  --ecx-muted: #667085;
  --ecx-border: #e7eaf0;
  --ecx-page-grey: #f2f2f2;
  --ecx-radius: 6px;
}

/* Page background like the reference */
.ecx-body {
  background: var(--ecx-page-grey) !important;
}

/* Header */
.ecx-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e6e8ec !important;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04) !important;
  backdrop-filter: none !important;
}

.ecx-header-shell {
  width: min(100% - 48px, 1360px);
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ecx-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0;
  color: #101010 !important;
  font-weight: 900 !important;
  font-size: 1.08rem !important;
  letter-spacing: -0.03em !important;
}

.ecx-brand img {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain !important;
}

.ecx-nav {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 24px !important;
  font-size: 0.96rem !important;
  font-weight: 900 !important;
}

.ecx-nav a {
  position: relative;
  color: #101010 !important;
  white-space: nowrap;
  padding: 8px 0 !important;
}

.ecx-nav a:hover {
  color: var(--ecx-orange) !important;
}

.ecx-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 4px;
  border-radius: 999px;
  background: #ffe600;
}

.ecx-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.ecx-search-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: var(--ecx-radius) !important;
  border: 1px solid var(--ecx-border) !important;
  background: #ffffff !important;
  color: #101010 !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

.ecx-store-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 142px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: var(--ecx-radius) !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ecx-store-badge img {
  width: 142px !important;
  height: 44px !important;
  object-fit: contain !important;
  display: block !important;
}

.ecx-menu-btn {
  display: none !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: var(--ecx-radius) !important;
  border: 0 !important;
  background: #101010 !important;
  color: #ffffff !important;
}

/* Mobile menu */
.ecx-mobile-menu {
  display: none;
  width: min(100% - 32px, 1360px);
  margin: 0 auto 12px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--ecx-border);
  border-radius: var(--ecx-radius);
}

.ecx-mobile-menu.active {
  display: block;
}

.ecx-mobile-menu a {
  display: block;
  padding: 12px;
  border-radius: var(--ecx-radius);
  font-weight: 900;
  color: #101010;
}

/* Card section width */
.ecx-section {
  max-width: 1240px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.ecx-section-head h2 {
  color: #101010 !important;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  letter-spacing: -0.055em !important;
}

/* 3 cards per row */
.ecx-event-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  align-items: stretch !important;
}

/* Card style like the reference */
.ecx-trip-card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--ecx-radius) !important;
  background: #ffffff !important;
  border: 1px solid #e8ebef !important;
  box-shadow: none !important;
  animation: ecxCardRise 0.55s ease both;
}

@keyframes ecxCardRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ecx-trip-card:hover {
  border-color: rgba(255, 98, 0, 0.5) !important;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08) !important;
}

.ecx-trip-image-wrap {
  position: relative;
  height: 248px;
  overflow: hidden;
  background: #e9edf2;
}

.ecx-trip-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

.ecx-trip-card:hover .ecx-trip-image-wrap img {
  transform: scale(1.04);
}

.ecx-card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #101010;
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.16);
}

.ecx-card-arrow.prev {
  left: 12px;
}

.ecx-card-arrow.next {
  right: 12px;
}

.ecx-card-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 5;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.72);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 900;
}

.ecx-save-btn {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 6;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.62);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
}

.ecx-trip-body {
  padding: 18px 18px 16px;
}

.ecx-trip-category {
  display: block;
  margin-bottom: 7px;
  color: #516078;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ecx-trip-title {
  margin: 0 0 10px !important;
  color: #101010 !important;
  font-size: 1.16rem !important;
  line-height: 1.22 !important;
  letter-spacing: -0.035em !important;
  font-weight: 900 !important;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ecx-trip-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #101010;
  font-size: 0.86rem;
  font-weight: 900;
}

.ecx-trip-rating .dots {
  display: inline-flex;
  gap: 3px;
}

.ecx-trip-rating .dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00aa6c;
  display: block;
}

.ecx-trip-facts {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  color: #475467;
  font-size: 0.88rem;
  font-weight: 750;
}

.ecx-trip-facts span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ecx-trip-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid #eef0f3;
}

.ecx-trip-price {
  color: #101010;
  font-size: 1.1rem;
  font-weight: 1000;
  letter-spacing: -0.03em;
}

.ecx-trip-book {
  padding: 10px 14px;
  border-radius: var(--ecx-radius);
  background: #101010;
  color: #ffffff !important;
  font-size: 0.86rem;
  font-weight: 900;
}

/* Remove older card designs safely */
.ecx-lux-card,
.ecx-reserve-card,
.ecx-event-card {
  border-radius: var(--ecx-radius) !important;
}

/* Tablet */
@media (max-width: 1080px) {
  .ecx-header-shell {
    width: min(100% - 28px, 1360px);
  }

  .ecx-nav {
    display: none !important;
  }

  .ecx-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .ecx-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .ecx-header-shell {
    min-height: 68px;
    gap: 12px;
  }

  .ecx-brand span {
    font-size: 0.96rem !important;
  }

  .ecx-search-icon,
  .ecx-store-badge {
    display: none !important;
  }

  .ecx-event-grid {
    grid-template-columns: 1fr !important;
  }

  .ecx-trip-image-wrap {
    height: 230px;
  }
}
/* =========================================================
   Event Country TARGETED FIX
   Paste this at the VERY BOTTOM of assets/css/style.css
   It only targets: ecx-header, store badges, page background, event cards.
========================================================= */

:root {
  --ecx-orange: #ff6200;
  --ecx-orange-dark: #e95700;
  --ecx-text: #101010;
  --ecx-muted: #667085;
  --ecx-border: #e7eaf0;
  --ecx-page-grey: #f2f2f2;
  --ecx-radius: 6px;
}

.ecx-body {
  background: var(--ecx-page-grey) !important;
}

/* ---------------- Header only ---------------- */
.ecx-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e6e8ec !important;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04) !important;
  backdrop-filter: none !important;
}

.ecx-header-shell,
.ecx-header-inner {
  width: min(100% - 48px, 1360px) !important;
  max-width: 1360px !important;
  margin: 0 auto !important;
  min-height: 76px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
}

.ecx-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  color: #101010 !important;
  font-weight: 900 !important;
  font-size: 1.08rem !important;
  letter-spacing: -0.03em !important;
}

.ecx-brand img {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain !important;
}

.ecx-nav {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 24px !important;
  font-size: 0.96rem !important;
  font-weight: 900 !important;
}

.ecx-nav a {
  position: relative !important;
  color: #101010 !important;
  white-space: nowrap !important;
  padding: 8px 0 !important;
}

.ecx-nav a:hover {
  color: var(--ecx-orange) !important;
}

.ecx-nav a.active::after,
.ecx-nav a[href="/"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 4px;
  border-radius: 999px;
  background: #ffe600;
}

.ecx-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.ecx-search-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: var(--ecx-radius) !important;
  border: 1px solid var(--ecx-border) !important;
  background: #ffffff !important;
  color: #101010 !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

/* Store badges: real images, same display size everywhere */
.ecx-store-badge,
.ecx-header-actions .ecx-store-badge,
.ecx-store-row a,
.ecx-app-card .ecx-store-row a,
.store-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 142px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: var(--ecx-radius) !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ecx-store-badge img,
.ecx-header-actions .ecx-store-badge img,
.ecx-store-row img,
.ecx-app-card .ecx-store-row img,
.store-badge img {
  width: 142px !important;
  height: 44px !important;
  max-width: none !important;
  object-fit: contain !important;
  display: block !important;
}

.ecx-mini-store {
  width: 142px !important;
  height: 44px !important;
  border-radius: var(--ecx-radius) !important;
}

.ecx-menu-btn {
  display: none !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: var(--ecx-radius) !important;
  border: 0 !important;
  background: #101010 !important;
  color: #ffffff !important;
}

.ecx-mobile-menu {
  display: none;
  width: min(100% - 32px, 1360px);
  margin: 0 auto 12px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--ecx-border);
  border-radius: var(--ecx-radius);
}

.ecx-mobile-menu.active {
  display: block;
}

.ecx-mobile-menu a {
  display: block;
  padding: 12px;
  border-radius: var(--ecx-radius);
  font-weight: 900;
  color: #101010;
}

/* ---------------- Main/card area only ---------------- */
.ecx-section {
  max-width: 1240px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.ecx-section-head h2 {
  color: #101010 !important;
  font-size: clamp(1.8rem, 3vw, 2.6rem) !important;
  letter-spacing: -0.055em !important;
}

.ecx-event-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  align-items: stretch !important;
}

.ecx-trip-card {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--ecx-radius) !important;
  background: #ffffff !important;
  border: 1px solid #e8ebef !important;
  box-shadow: none !important;
  animation: ecxCardRise 0.55s ease both;
}

@keyframes ecxCardRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ecx-trip-card:hover {
  border-color: rgba(255, 98, 0, 0.5) !important;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08) !important;
}

.ecx-trip-image-wrap {
  position: relative !important;
  height: 248px !important;
  overflow: hidden !important;
  background: #e9edf2 !important;
}

.ecx-trip-image-wrap img,
.ecx-trip-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.35s ease, opacity 0.18s ease !important;
}

.ecx-trip-card:hover .ecx-trip-img {
  transform: scale(1.04) !important;
}

.ecx-card-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
  width: 34px !important;
  height: 34px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #101010 !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.16) !important;
}

.ecx-card-arrow.prev { left: 12px !important; }
.ecx-card-arrow.next { right: 12px !important; }

.ecx-card-count {
  position: absolute !important;
  right: 12px !important;
  bottom: 12px !important;
  z-index: 5 !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  background: rgba(16, 16, 16, 0.72) !important;
  color: #ffffff !important;
  font-size: 0.74rem !important;
  font-weight: 900 !important;
}

.ecx-save-btn {
  position: absolute !important;
  right: 12px !important;
  top: 12px !important;
  z-index: 6 !important;
  width: 36px !important;
  height: 36px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(16, 16, 16, 0.62) !important;
  color: #ffffff !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
}

.ecx-save-btn.is-saved {
  background: var(--ecx-orange) !important;
}

.ecx-trip-body {
  padding: 18px 18px 16px !important;
}

.ecx-trip-category {
  display: block !important;
  margin-bottom: 7px !important;
  color: #516078 !important;
  font-size: 0.75rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.ecx-trip-title,
.ecx-trip-title a {
  margin: 0 0 10px !important;
  color: #101010 !important;
  font-size: 1.16rem !important;
  line-height: 1.22 !important;
  letter-spacing: -0.035em !important;
  font-weight: 900 !important;
  display: -webkit-box !important;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

.ecx-trip-rating {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
  color: #101010 !important;
  font-size: 0.86rem !important;
  font-weight: 900 !important;
}

.ecx-trip-rating .dots {
  display: inline-flex !important;
  gap: 3px !important;
}

.ecx-trip-rating .dots i {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #00aa6c !important;
  display: block !important;
}

.ecx-trip-facts {
  display: grid !important;
  gap: 6px !important;
  margin-bottom: 14px !important;
  color: #475467 !important;
  font-size: 0.88rem !important;
  font-weight: 750 !important;
}

.ecx-trip-facts span {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ecx-trip-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid #eef0f3 !important;
}

.ecx-trip-price {
  color: #101010 !important;
  font-size: 1.1rem !important;
  font-weight: 1000 !important;
  letter-spacing: -0.03em !important;
}

.ecx-trip-book {
  padding: 10px 14px !important;
  border-radius: var(--ecx-radius) !important;
  background: #101010 !important;
  color: #ffffff !important;
  font-size: 0.86rem !important;
  font-weight: 900 !important;
}

.ecx-lux-card,
.ecx-reserve-card,
.ecx-event-card {
  border-radius: var(--ecx-radius) !important;
}

@media (max-width: 1080px) {
  .ecx-header-shell,
  .ecx-header-inner {
    width: min(100% - 28px, 1360px) !important;
  }

  .ecx-nav {
    display: none !important;
  }

  .ecx-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .ecx-event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .ecx-header-shell,
  .ecx-header-inner {
    min-height: 68px !important;
    gap: 12px !important;
  }

  .ecx-brand span {
    font-size: 0.96rem !important;
  }

  .ecx-search-icon,
  .ecx-store-badge,
  .ecx-header-actions .ecx-store-badge,
  .ecx-mini-store {
    display: none !important;
  }

  .ecx-event-grid {
    grid-template-columns: 1fr !important;
  }

  .ecx-trip-image-wrap {
    height: 230px !important;
  }
}
