/* =============================================================
   Atlas Trendo — Luxury Multivendor Marketplace
   Premium 3D homepage styling for the OpenCart "default" theme
   Author: Atlas Trendo UI — RTL-first, zero external dependencies
   ============================================================= */

:root {
  /* Trendo brand — orange palette (auto-overrides for legacy gold tokens) */
  --atl-orange:      #F26A1B;
  --atl-orange-2:    #FFA76A;
  --atl-orange-soft: #FFC49A;
  --atl-orange-deep: #7A3609;
  --atl-orange-ink:  #1a0d07;
  --atl-grad-orange: linear-gradient(135deg,#FFC49A 0%,#F26A1B 45%,#C85413 100%);
  --atl-grad-orange-hover: linear-gradient(135deg,#FFE4CC 0%,#F28848 40%,#A8430A 100%);
  --atl-gold:        #F26A1B;
  --atl-gold-2:      #FFA76A;
  --atl-gold-soft:   #FFC49A;
  --atl-gold-deep:   #7A3609;
  --atl-shadow-gold: 0 10px 40px rgba(242,106,27,.35);
  --atl-grad-gold:   linear-gradient(135deg,#FFC49A 0%,#F26A1B 45%,#C85413 100%);
  --atl-grad-gold-hover: linear-gradient(135deg,#FFE4CC 0%,#F28848 40%,#A8430A 100%);
  --atl-grad-rose:   linear-gradient(135deg,#FFA76A 0%,#F26A1B 40%,#C85413 100%);
  --atl-rose:        #F26A1B;
  --atl-rose-2:      #FFA76A;

  --atl-gold:        #F26A1B;
  --atl-gold-2:      #FFA76A;
  --atl-gold-soft:   #FFC49A;
  --atl-gold-deep:   #7A3609;
  --atl-rose:        #b76e79;
  --atl-rose-2:      #e2a7a0;
  --atl-ink:         #0a1128;
  --atl-ink-2:       #121a3b;
  --atl-ink-3:       #1b2449;
  --atl-bg:          #FFF6EE;
  --atl-bg-2:        #ffffff;
  --atl-line:        rgba(10,17,40,.08);
  --atl-shadow-sm:   0 8px 24px rgba(10,17,40,.08);
  --atl-shadow-md:   0 20px 50px rgba(10,17,40,.16);
  --atl-shadow-lg:   0 36px 80px rgba(10,17,40,.22);
  --atl-shadow-gold: 0 10px 40px rgba(242,106,27,.35);
  --atl-grad-gold:   linear-gradient(135deg,#FFC49A 0%,#F26A1B 45%,#C85413 100%);
  --atl-grad-gold-hover: linear-gradient(135deg,#FFE4CC 0%,#F28848 40%,#A8430A 100%);
  --atl-grad-ink:    linear-gradient(135deg,#0a1128 0%,#1b2449 55%,#2b2f63 100%);
  --atl-grad-rose:   linear-gradient(135deg,#FFA76A 0%,#F26A1B 40%,#b76e79 100%);
  --atl-radius:      16px;
  --atl-radius-lg:   22px;
  --atl-radius-xl:   28px;
  --atl-ease:        cubic-bezier(.22,1,.36,1);
  --atl-ease-out:    cubic-bezier(.16,1,.3,1);
}

/* -----------------------------------------------------------
   Base polish for the homepage (scoped)
   ----------------------------------------------------------- */
body { background: linear-gradient(180deg,#ffffff 0%,#FFF6EE 100%); }

.atl-home { position: relative; }
.atl-home img { max-width: 100%; height: auto; display: block; }
.atl-home a { text-decoration: none; color: inherit; }

.atl-home ::selection { background: var(--atl-gold); color: var(--atl-ink); }

/* Custom smooth scrollbar */
@media (min-width: 992px) {
  html { scroll-behavior: smooth; }
  ::-webkit-scrollbar        { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track  { background: #FFE6D2; }
  ::-webkit-scrollbar-thumb  { background: var(--atl-grad-gold); border-radius: 20px; border: 3px solid #FFE6D2; }
  ::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg,#F26A1B,#7A3609); }
}

/* =============================================================
   HERO SLIDER — Luxury Compact Style
   ============================================================= */
.atl-hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}

/* Luxury compact slider - centered with refined spacing */
.atl-hero--elryan {
  padding: 14px 0 22px;
  background: transparent;
}

.atl-hero--elryan .atl-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .atl-hero--elryan .atl-hero__inner {
    padding: 0 24px;
  }
}

.atl-slider--elryan {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #f3ece4;
  aspect-ratio: 32 / 9;
  max-height: 320px;
  min-height: 180px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 18px 40px -18px rgba(122,54,9,.24),
    0 6px 18px -10px rgba(10,17,40,.16);
  isolation: isolate;
}

/* Subtle gold ring overlay — elegant without being heavy */
.atl-slider--elryan::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(242,106,27,.18);
  z-index: 4;
}

@media (max-width: 1199.98px) {
  .atl-slider--elryan {
    aspect-ratio: 24 / 8;
    max-height: 280px;
  }
}

@media (max-width: 991.98px) {
  .atl-slider--elryan {
    aspect-ratio: 21 / 9;
    max-height: 240px;
    border-radius: 14px;
  }
}

@media (max-width: 767.98px) {
  .atl-slider--elryan {
    aspect-ratio: 16 / 8;
    max-height: 210px;
    border-radius: 12px;
  }
}

@media (max-width: 575.98px) {
  .atl-slider--elryan {
    aspect-ratio: 16 / 9;
    max-height: 170px;
    border-radius: 10px;
  }
}

.atl-hero__inner {
  position: relative;
  z-index: 1;
}

.atl-slider {
  position: relative;
  border-radius: var(--atl-radius-xl);
  overflow: hidden;
  box-shadow: var(--atl-shadow-lg), inset 0 0 0 1px rgba(242,106,27,.18);
  perspective: 1600px;
  transform-style: preserve-3d;
  aspect-ratio: 16 / 6.8;
  max-height: 720px;
  background: var(--atl-ink);
}

@media (max-width: 991.98px) { .atl-slider:not(.atl-slider--elryan) { aspect-ratio: 16/9; } }
@media (max-width: 575.98px) { .atl-slider:not(.atl-slider--elryan) { aspect-ratio: 4/5; } }

.atl-slider__track {
  position: absolute;
  inset: 0;
}

.atl-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s;
  will-change: opacity;
}

.atl-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.atl-slide__bg {
  position: absolute; 
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

/* Elryan style - no Ken Burns, just clean display */
.atl-slider--elryan .atl-slide__bg {
  transform: none;
  filter: none;
  background-size: cover;
  background-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

.atl-slider--elryan .atl-slide.is-active .atl-slide__bg {
  transform: translateZ(0);
}

@media (min-width: 1600px) {
  .atl-slider--elryan {
    aspect-ratio: 16 / 6;
  }
}

/* Arrow icon (pseudo) */
.atl-arrow {
  width: 10px; height: 10px;
  border-top: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
  display: inline-block;
  transform: rotate(45deg);
  transition: transform .4s var(--atl-ease);
}
[dir="rtl"] .atl-arrow { transform: rotate(-135deg); }
.atl-card__cta:hover .atl-arrow,
.atl-section__viewAll:hover .atl-arrow { transform: translate(3px,-3px) rotate(45deg); }
[dir="rtl"] .atl-card__cta:hover .atl-arrow,
[dir="rtl"] .atl-section__viewAll:hover .atl-arrow { transform: translate(-3px,-3px) rotate(-135deg); }

/* Nav buttons - Luxury Style */
.atl-slider__nav {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(242,106,27,.22);
  color: var(--atl-orange-deep);
  z-index: 5;
  transform: translateY(-50%);
  cursor: pointer;
  transition: all .35s var(--atl-ease);
  box-shadow:
    0 6px 18px rgba(10,17,40,.14),
    0 2px 6px rgba(122,54,9,.10);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.atl-slider__nav svg {
  width: 18px;
  height: 18px;
  transition: transform .35s var(--atl-ease);
}

.atl-slider__nav--prev {
  inset-inline-start: 18px;
}

.atl-slider__nav--next {
  inset-inline-end: 18px;
}

[dir="rtl"] .atl-slider__nav--prev svg {
  transform: rotate(180deg);
}

[dir="rtl"] .atl-slider__nav--next svg {
  transform: rotate(180deg);
}

.atl-slider__nav:hover {
  background: #fff;
  color: #fff;
  background-image: var(--atl-grad-gold);
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
  box-shadow:
    0 10px 26px rgba(242,106,27,.35),
    0 4px 10px rgba(122,54,9,.18);
}

.atl-slider__nav:hover svg {
  transform: scale(1.08);
}

[dir="rtl"] .atl-slider__nav--prev:hover svg {
  transform: rotate(180deg) scale(1.08);
}

[dir="rtl"] .atl-slider__nav--next:hover svg {
  transform: rotate(180deg) scale(1.08);
}

/* Hide old ::before arrows for elryan style */
.atl-slider--elryan .atl-slider__nav::before {
  display: none;
}

@media (max-width: 767.98px) {
  .atl-slider__nav {
    width: 34px;
    height: 34px;
  }
  .atl-slider__nav svg {
    width: 14px;
    height: 14px;
  }
  .atl-slider__nav--prev { inset-inline-start: 10px; }
  .atl-slider__nav--next { inset-inline-end: 10px; }
}

/* Dots - Luxury Style */
.atl-slider__dots {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 5;
  padding: 7px 12px;
  background: rgba(10,17,40,.32);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

[dir="rtl"] .atl-slider__dots {
  transform: translateX(50%);
}

.atl-slider__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  border: none;
  cursor: pointer;
  transition: all .4s var(--atl-ease);
  padding: 0;
}

.atl-slider__dot:hover {
  background: rgba(255,255,255,.9);
}

.atl-slider__dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--atl-grad-gold);
  box-shadow: 0 0 10px rgba(242,106,27,.55);
}

/* Slider Counter - Luxury Style */
.atl-slider__counter {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(10,17,40,.45);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.atl-slider__current {
  color: #fff;
}

.atl-slider__sep {
  opacity: .55;
}

.atl-slider__total {
  opacity: .75;
}

@media (max-width: 575.98px) {
  .atl-slider__counter {
    display: none;
  }
  .atl-slider__dots {
    bottom: 10px;
    padding: 5px 10px;
    gap: 6px;
  }
  .atl-slider__dot {
    width: 6px;
    height: 6px;
  }
  .atl-slider__dot.is-active {
    width: 18px;
  }
}

/* Legacy styles for non-elryan sliders - kept for backwards compatibility */
.atl-slider:not(.atl-slider--elryan) .atl-slide {
  transform: scale(1.02);
  transition: opacity 1.1s var(--atl-ease), transform 1.4s var(--atl-ease), visibility 1.1s;
}

.atl-slider:not(.atl-slider--elryan) .atl-slide.is-active {
  transform: scale(1);
}

.atl-slider:not(.atl-slider--elryan) .atl-slide__bg {
  transform: scale(1.05);
  transition: transform 10s linear;
  filter: saturate(1.05) contrast(1.02);
}

.atl-slider:not(.atl-slider--elryan) .atl-slide.is-active .atl-slide__bg {
  transform: scale(1.16);
}

/* =============================================================
   TRUST STRIP
   ============================================================= */
.atl-trust {
  margin: 12px auto 48px;
  position: relative;
  z-index: 2;
}
.atl-trust__grid {
  background: #fff;
  border-radius: var(--atl-radius-xl);
  padding: 18px;
  box-shadow: var(--atl-shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border: 1px solid var(--atl-line);
}
.atl-trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--atl-radius);
  transition: transform .4s var(--atl-ease), background .4s var(--atl-ease);
}
.atl-trust__item:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(242,106,27,.06), rgba(242,106,27,.02));
}
.atl-trust__icon {
  flex: 0 0 52px;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--atl-grad-gold);
  color: var(--atl-ink);
  display: inline-flex;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(242,106,27,.35), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .6s var(--atl-ease);
}
.atl-trust__item:hover .atl-trust__icon { transform: rotate(-6deg) scale(1.06); }
.atl-trust__icon svg { width: 26px; height: 26px; }
.atl-trust__item strong {
  display: block;
  font-weight: 800;
  color: var(--atl-ink);
  letter-spacing: .2px;
  font-size: 1em;
  margin-bottom: 2px;
}
.atl-trust__item span {
  display: block;
  color: #55607a;
  font-size: .88em;
}
@media (max-width: 991.98px) { .atl-trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px)  { .atl-trust__grid { grid-template-columns: 1fr; } }

/* =============================================================
   SECTION HEADERS
   ============================================================= */
.atl-section { padding: 44px 0; position: relative; }
.atl-section__head {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
}
.atl-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  color: var(--atl-gold-deep);
  font-weight: 800;
  font-size: .78em;
  margin-bottom: 8px;
  padding: 4px 12px;
  background: rgba(242,106,27,.08);
  border: 1px solid rgba(242,106,27,.2);
  border-radius: 999px;
}
.atl-eyebrow--rose { color: #8b4b55; background: rgba(183,110,121,.08); border-color: rgba(183,110,121,.2); }
.atl-section__title {
  margin: 8px 0 0;
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 900;
  color: var(--atl-ink);
  letter-spacing: .3px;
  background: linear-gradient(135deg,#0a1128 0%,#2b2f63 60%,#0a1128 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.atl-flash { -webkit-text-fill-color: initial; filter: drop-shadow(0 4px 10px rgba(255,140,40,.5)); }
.atl-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px auto 0;
  max-width: 260px;
  color: var(--atl-gold);
}
.atl-divider::before,
.atl-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,106,27,.65), transparent);
}
.atl-divider i {
  display: inline-block;
  width: 10px; height: 10px;
  transform: rotate(45deg);
  background: var(--atl-grad-gold);
  box-shadow: 0 0 18px rgba(242,106,27,.7);
  border-radius: 2px;
}

.atl-section__head--cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: start;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(242,106,27,.35);
  margin-bottom: 22px;
}
.atl-section__headL {
  display: flex;
  align-items: center;
  gap: 16px;
}
.atl-section__catImg {
  flex: 0 0 64px;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #FFEAD4 100%);
  box-shadow: var(--atl-shadow-sm), inset 0 0 0 1px rgba(242,106,27,.25);
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 8px;
  transition: transform .6s var(--atl-ease);
}
.atl-section__head--cat:hover .atl-section__catImg { transform: rotate(-6deg) scale(1.06); }
.atl-section__catImg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.atl-section__head--cat .atl-section__title { font-size: clamp(22px, 2.2vw, 32px); margin: 4px 0 0; }
.atl-section__head--cat .atl-eyebrow { margin-bottom: 0; }

.atl-section__viewAll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--atl-grad-ink);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(10,17,40,.22), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .4s var(--atl-ease), background .4s var(--atl-ease);
  white-space: nowrap;
}
.atl-section__viewAll:hover {
  transform: translateY(-2px);
  background: var(--atl-grad-gold);
  color: var(--atl-ink) !important;
}

/* =============================================================
   CATEGORY TILES
   ============================================================= */
.atl-cats {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
@media (max-width: 1199.98px) { .atl-cats { grid-template-columns: repeat(6, 1fr); } }
@media (max-width:  991.98px) { .atl-cats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width:  767.98px) { .atl-cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width:  479.98px) { .atl-cats { grid-template-columns: repeat(2, 1fr); } }

.atl-cat {
  position: relative;
  display: block;
  text-align: center;
  padding: 18px 10px 14px;
  border-radius: var(--atl-radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #FFEAD4 100%);
  box-shadow: var(--atl-shadow-sm);
  transition: transform .5s var(--atl-ease), box-shadow .5s var(--atl-ease);
  overflow: hidden;
  perspective: 800px;
  transform-style: preserve-3d;
  animation: atlCardIn .7s var(--atl-ease) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}
@keyframes atlCardIn {
  from { opacity: 0; transform: translateY(18px) rotateX(8deg); }
  to   { opacity: 1; transform: translateY(0) rotateX(0); }
}
.atl-cat:hover {
  transform: translateY(-8px);
  box-shadow: var(--atl-shadow-md), 0 0 0 1px rgba(242,106,27,.3);
}
.atl-cat__img {
  width: 96px; height: 96px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #fff6d9);
  box-shadow: inset 0 0 0 1px rgba(242,106,27,.3), 0 10px 20px rgba(242,106,27,.18);
  display: flex;
  align-items: center; justify-content: center;
  padding: 14px;
  transition: transform .6s var(--atl-ease);
}
.atl-cat:hover .atl-cat__img {
  transform: rotateY(360deg);
  transition-duration: 1s;
}
.atl-cat__img img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(10,17,40,.15));
}
.atl-cat__name {
  font-weight: 800;
  color: var(--atl-ink);
  font-size: .92em;
  line-height: 1.3;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.atl-cat__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 50% 110%, rgba(242,106,27,.28), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--atl-ease);
  pointer-events: none;
  z-index: -1;
}
.atl-cat:hover .atl-cat__glow { opacity: 1; }

/* =============================================================
   PRODUCT CARDS — 3D luxury
   ============================================================= */
.atl-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1199.98px) { .atl-products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width:  767.98px) { .atl-products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width:  479.98px) { .atl-products { grid-template-columns: 1fr; } }
.atl-products--deals .atl-card {
  background: linear-gradient(180deg, #fff 0%, #fff6e9 100%) !important;
}

.atl-card {
  position: relative;
  border-radius: var(--atl-radius-lg);
  background: #fff;
  box-shadow: var(--atl-shadow-sm);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .6s var(--atl-ease), box-shadow .6s var(--atl-ease);
  isolation: isolate;
}
.atl-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(242,106,27,0) 0%, rgba(242,106,27,0) 55%, rgba(242,106,27,.22) 100%);
  opacity: 0;
  transition: opacity .5s var(--atl-ease);
  border-radius: inherit;
  z-index: 1;
  pointer-events: none;
}
.atl-card::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%; bottom: -16px;
  height: 24px;
  background: rgba(10,17,40,.22);
  filter: blur(18px);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .5s var(--atl-ease), transform .5s var(--atl-ease);
  z-index: -1;
}
.atl-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--atl-shadow-md), 0 0 0 1px rgba(242,106,27,.3);
}
.atl-card:hover::before { opacity: 1; }
.atl-card:hover::after  { opacity: 1; transform: translateY(6px) scale(1.08); }

/* Badges */
.atl-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .76em;
  letter-spacing: .3px;
  color: #fff;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 14px rgba(10,17,40,.18);
}
.atl-badge--rose { background: var(--atl-grad-rose); }
.atl-badge--gold { background: var(--atl-grad-gold); color: var(--atl-ink); }
.atl-badge--ink  { background: var(--atl-grad-ink); }
/* Stack when both badges exist */
.atl-card .atl-badge + .atl-badge { top: 44px; }

/* Media */
.atl-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg,#FFF6EE 0%,#ffffff 100%);
  border-radius: var(--atl-radius-lg) var(--atl-radius-lg) 0 0;
}
.atl-card__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12%;
  transition: transform .9s var(--atl-ease), filter .9s var(--atl-ease);
  will-change: transform;
}
.atl-card:hover .atl-card__media img {
  transform: scale(1.08) translateZ(20px);
  filter: saturate(1.08) contrast(1.02);
}
.atl-card__shine {
  position: absolute;
  top: 0; bottom: 0; left: -70%;
  width: 50%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 1s var(--atl-ease);
  pointer-events: none;
  z-index: 2;
}
.atl-card:hover .atl-card__shine { left: 140%; }

/* Body */
.atl-card__body {
  padding: 16px 16px 18px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 0 0 var(--atl-radius-lg) var(--atl-radius-lg);
}
.atl-card__title {
  margin: 0 0 8px;
  font-size: 1em;
  line-height: 1.4;
  font-weight: 800;
  color: var(--atl-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  transition: color .3s var(--atl-ease);
}
.atl-card:hover .atl-card__title { color: var(--atl-gold-deep); }

.atl-card__rating {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}
.atl-star {
  width: 14px; height: 14px;
  background: #e3e3ea;
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  display: inline-block;
}
.atl-star.is-on { background: var(--atl-grad-gold); box-shadow: 0 2px 6px rgba(242,106,27,.35); }

.atl-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.atl-price {
  font-size: 1.1em;
  font-weight: 900;
  color: var(--atl-ink);
}
.atl-price--special {
  background: var(--atl-grad-rose);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.atl-price--old {
  font-size: .92em;
  font-weight: 600;
  color: #8b93a8;
  text-decoration: line-through;
}

.atl-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--atl-grad-ink);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(10,17,40,.18), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .4s var(--atl-ease), background .4s var(--atl-ease), box-shadow .4s var(--atl-ease);
  position: relative;
  overflow: hidden;
}
.atl-card__cta::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -75%;
  width: 50%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .7s var(--atl-ease);
}
.atl-card__cta:hover {
  background: var(--atl-grad-gold);
  color: var(--atl-ink) !important;
  transform: translateY(-2px);
  box-shadow: var(--atl-shadow-gold);
}
.atl-card__cta:hover::before { left: 120%; }

/* =============================================================
   STATS BAND
   ============================================================= */
.atl-stats {
  position: relative;
  padding: 70px 0;
  margin-top: 30px;
  color: #fff;
  overflow: hidden;
}
.atl-stats__bg {
  position: absolute; inset: 0;
  background: var(--atl-grad-ink);
  z-index: 0;
}
.atl-stats__bg::before,
.atl-stats__bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.atl-stats__bg::before {
  width: 500px; height: 500px;
  top: -160px; inset-inline-start: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(242,106,27,.35), transparent 70%);
}
.atl-stats__bg::after {
  width: 500px; height: 500px;
  bottom: -160px; inset-inline-end: -160px;
  background: radial-gradient(circle at 70% 60%, rgba(183,110,121,.35), transparent 70%);
}
.atl-stats .container { position: relative; z-index: 1; }
.atl-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 767.98px) { .atl-stats__grid { grid-template-columns: repeat(2, 1fr); } }
.atl-stat {
  text-align: center;
  padding: 22px;
  border-radius: var(--atl-radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(242,106,27,.25);
  transition: transform .5s var(--atl-ease), box-shadow .5s var(--atl-ease);
}
.atl-stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--atl-shadow-gold);
}
.atl-stat__num {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  background: var(--atl-grad-gold);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: .5px;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 10px 20px rgba(242,106,27,.25);
}
.atl-stat__label {
  font-size: .95em;
  opacity: .85;
  letter-spacing: .3px;
}

/* =============================================================
   BRANDS MARQUEE
   ============================================================= */
.atl-brands {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(250,246,232,.6));
  border-radius: var(--atl-radius-lg);
  border: 1px solid var(--atl-line);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.atl-brands__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: atlMarquee 40s linear infinite;
}
.atl-brands:hover .atl-brands__track { animation-play-state: paused; }
@keyframes atlMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
[dir="rtl"] .atl-brands__track { animation-name: atlMarqueeRTL; }
@keyframes atlMarqueeRTL {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
.atl-brand {
  flex: 0 0 auto;
  height: 80px;
  width: 160px;
  display: flex;
  align-items: center; justify-content: center;
  padding: 12px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--atl-shadow-sm);
  transition: transform .4s var(--atl-ease), box-shadow .4s var(--atl-ease);
  filter: grayscale(.2);
}
.atl-brand:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: var(--atl-shadow-md);
  filter: grayscale(0);
}
.atl-brand img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* =============================================================
   NEWSLETTER
   ============================================================= */
.atl-newsletter { padding: 54px 0 64px; }
.atl-newsletter__card {
  position: relative;
  border-radius: var(--atl-radius-xl);
  overflow: hidden;
  padding: 44px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  box-shadow: var(--atl-shadow-lg);
  isolation: isolate;
}
.atl-newsletter__bg {
  position: absolute; inset: 0;
  background: var(--atl-grad-ink);
  z-index: -2;
}
.atl-newsletter__bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 10% 20%, rgba(242,106,27,.4), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(183,110,121,.35), transparent 60%);
  animation: atlNewsShift 12s ease-in-out infinite;
}
@keyframes atlNewsShift {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-20px,-10px); }
}
.atl-newsletter__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(130deg, rgba(242,106,27,0), rgba(242,106,27,.75), rgba(242,106,27,0));
  background-size: 300% 300%;
  animation: atlFrameShift 7s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}
@keyframes atlFrameShift { to { background-position: 300% 50%; } }

.atl-newsletter__content h2 {
  margin: 0 0 6px;
  font-size: clamp(22px,2.2vw,32px);
  font-weight: 900;
  background: linear-gradient(135deg,#fff 0%,#FFD5B2 50%,#fff 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.atl-newsletter__content p { margin: 0; opacity: .9; }

.atl-newsletter__form {
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(255,255,255,.1);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(242,106,27,.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 320px;
  position: relative;
}
.atl-newsletter__form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 10px 16px;
  color: #fff;
  outline: none;
  font-size: 1em;
}
.atl-newsletter__form input::placeholder { color: rgba(255,255,255,.7); }
.atl-newsletter__form button {
  padding: 10px 22px;
  border: none;
  background: var(--atl-grad-gold);
  color: var(--atl-ink);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .4s var(--atl-ease), box-shadow .4s var(--atl-ease);
  box-shadow: 0 8px 20px rgba(242,106,27,.35), inset 0 1px 0 rgba(255,255,255,.4);
}
.atl-newsletter__form button:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 30px rgba(242,106,27,.5); }
.atl-newsletter__done {
  position: absolute;
  inset-inline-end: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity .4s var(--atl-ease), transform .4s var(--atl-ease);
  pointer-events: none;
}
.atl-newsletter__done.is-on { opacity: 1; transform: scale(1); }

@media (max-width: 767.98px) {
  .atl-newsletter__card { grid-template-columns: 1fr; text-align: center; padding: 28px; }
  .atl-newsletter__form { min-width: 0; width: 100%; }
}

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.atl-reveal {
  opacity: 0;
  transform: translateY(28px) rotateX(6deg) scale(.985);
  transform-origin: center top;
  transition: opacity .9s var(--atl-ease), transform .9s var(--atl-ease);
  will-change: transform, opacity;
}
.atl-reveal.atl-in {
  opacity: 1;
  transform: translateY(0) rotateX(0) scale(1);
}

/* =============================================================
   FOOTER BEAUTIFICATION (default theme's footer)
   ============================================================= */
footer {
  position: relative;
  margin-top: 40px;
  background: var(--atl-grad-ink) !important;
  color: #e6e8f3 !important;
  padding-top: 44px !important;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 90% 0%, rgba(242,106,27,.18), transparent 60%),
    radial-gradient(50% 50% at 10% 100%, rgba(183,110,121,.18), transparent 60%);
  pointer-events: none;
}
footer .container { position: relative; z-index: 1; }
footer a { color: #e6e8f3 !important; transition: color .3s var(--atl-ease); }
footer a:hover { color: var(--atl-gold-2) !important; }
footer h5 {
  color: #fff !important;
  font-weight: 800;
  letter-spacing: .3px;
  position: relative;
  margin-bottom: 14px !important;
  padding-bottom: 10px !important;
}
footer h5::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 48px; height: 2px;
  background: var(--atl-grad-gold);
  border-radius: 2px;
}
footer hr { border-color: rgba(242,106,27,.25) !important; }
footer p { opacity: .9; }

/* =============================================================
   GLOBAL POLISH THAT LEAKS TO REST OF SITE (safe)
   ============================================================= */
.btn-primary, .btn-default, .btn-success, .btn-danger, .btn-info, .btn-warning {
  border: none !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 16px rgba(10,17,40,.15), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .4s var(--atl-ease), background .4s var(--atl-ease), box-shadow .4s var(--atl-ease) !important;
}
.btn-primary { background: var(--atl-grad-ink) !important; color: #fff !important; }
.btn-primary:hover, .btn-primary:focus {
  background: var(--atl-grad-gold) !important;
  color: var(--atl-ink) !important;
  transform: translateY(-2px);
  box-shadow: var(--atl-shadow-gold);
}
.btn-default { background: #fff !important; color: var(--atl-ink) !important; }
.btn-default:hover { background: var(--atl-grad-gold) !important; color: var(--atl-ink) !important; }

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .atl-reveal { opacity: 1 !important; transform: none !important; }
}

/* =============================================================
   PRODUCT PAGE — Trendyol-inspired Luxury
   ============================================================= */
.atl-product-page .atl-breadcrumb { background: transparent; border: none; padding: 14px 0; margin: 0 0 14px; }
.atl-product-page .atl-breadcrumb > li + li::before { content: "›"; color: var(--atl-gold); padding: 0 8px; opacity: .7; }

.atl-product {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}
.atl-gallery {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  position: sticky;
  top: 16px;
}
.atl-gallery__thumbs { max-height: 620px; overflow-y: auto; padding: 4px; }
.atl-gallery__thumbs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.atl-gallery__thumbs-list > li { list-style: none; margin: 0; }
.atl-gallery__thumb {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(10,17,40,.08);
  background: #fff;
  transition: all .3s var(--atl-ease);
  padding: 0 !important;
  display: block;
}
.atl-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atl-gallery__thumb:hover { border-color: rgba(242,106,27,.6); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(10,17,40,.1); }
.atl-gallery__thumb.is-active { border-color: var(--atl-gold); box-shadow: 0 8px 20px rgba(242,106,27,.35); }

.atl-gallery__main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFF6EE 0%, #fff 100%);
  box-shadow: 0 12px 32px rgba(10,17,40,.08);
  aspect-ratio: 1/1;
  border: 1px solid rgba(10,17,40,.06);
}
.atl-gallery__mainlink { display: block; width: 100%; height: 100%; position: relative; overflow: hidden; cursor: zoom-in; }
.atl-gallery__mainlink img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  transition: transform .6s var(--atl-ease);
  image-rendering: -webkit-optimize-contrast;
}
.atl-gallery__mainlink:hover img { transform: scale(1.08); }
.atl-gallery__zoom {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  color: #0a1128;
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s ease;
}
.atl-gallery__mainlink:hover .atl-gallery__zoom { opacity: 1; transform: translateY(0); }
.atl-gallery__zoom svg { width: 22px; height: 22px; }
.atl-gallery__badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg,#FFA76A 0%,#F26A1B 40%,#b76e79 100%);
}

.atl-buybox {
  background: linear-gradient(180deg, #fff 0%, #FFF6EE 100%);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(10,17,40,.06);
  border: 1px solid rgba(242,106,27,.15);
}
.atl-buybox__title { margin: 0 0 14px; font-size: clamp(20px,2.2vw,30px); font-weight: 800; color: #0a1128; line-height: 1.35; }
.atl-buybox__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px dashed rgba(10,17,40,.08); }
.atl-stars { display: inline-flex; gap: 2px; }

.atl-buybox__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(242,106,27,.25);
  background: linear-gradient(135deg, #FFF3EA 0%, #FFE1CC 100%);
}
.atl-buybox__meta { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.atl-buybox__meta li { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; background: rgba(250,247,239,.6); border: 1px solid rgba(10,17,40,.06); }

.atl-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.atl-swatch { position: relative; margin: 0; cursor: pointer; }
.atl-swatch input { position: absolute; opacity: 0; width: 0; height: 0; }
.atl-swatch__inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 2px solid rgba(10,17,40,.12);
  background: #fff;
  transition: all .3s ease;
}
.atl-swatch input:checked + .atl-swatch__inner { border-color: var(--atl-gold); background: linear-gradient(135deg,#FFF3EA 0%,#FFE1CC 100%); }

.atl-buybox__cta { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: end; margin-top: 8px; }
.atl-qty__control { display: inline-flex; align-items: center; height: 52px; border: 2px solid rgba(10,17,40,.1); border-radius: 12px; overflow: hidden; background: #fff; }
.atl-qty__btn { width: 42px; height: 100%; border: none; background: transparent; font-size: 20px; font-weight: 700; color: #0a1128; }
.atl-qty__input { width: 50px !important; height: 100% !important; border: none !important; border-inline: 1px solid rgba(10,17,40,.08) !important; border-radius: 0 !important; text-align: center !important; font-weight: 800 !important; padding: 0 !important; }

.atl-btn-cart { height: 52px; display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; border-radius: 14px !important; background: var(--atl-grad-ink) !important; color: #fff !important; font-weight: 800 !important; border: none !important; }
.atl-btn-cart:hover { background: var(--atl-grad-gold) !important; color: var(--atl-ink) !important; }

.atl-icon-btn { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 2px solid rgba(10,17,40,.1); color: #0a1128; display: inline-flex; align-items: center; justify-content: center; }
.atl-icon-btn:hover { border-color: var(--atl-gold); color: #7A3609; background: rgba(242,106,27,.08); }
.atl-icon-btn svg { width: 22px; height: 22px; }

.atl-buybox__trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px dashed rgba(242,106,27,.35); }
.atl-trust-chip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(250,247,239,.5); border: 1px solid rgba(10,17,40,.06); }
.atl-trust-chip__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--atl-grad-gold); color: #0a1128; display: inline-flex; align-items: center; justify-content: center; }
.atl-trust-chip__icon svg { width: 18px; height: 18px; }

.atl-tabs { background: #fff; border-radius: 20px; box-shadow: 0 8px 28px rgba(10,17,40,.06); border: 1px solid rgba(10,17,40,.06); overflow: hidden; margin-bottom: 32px; }
.atl-tabs__nav { display: flex; margin: 0; padding: 0 16px; list-style: none; background: linear-gradient(180deg,#FFF5EB 0%,#FFF1E2 100%); border-bottom: 1px solid rgba(10,17,40,.06) !important; }
.atl-tabs__nav > li { float: none !important; margin: 0 !important; }
.atl-tabs__nav > li > a { padding: 16px 22px !important; font-weight: 700; color: #55607a !important; border: none !important; background: transparent !important; position: relative; margin: 0 !important; }
.atl-tabs__nav > li.active > a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; background: var(--atl-grad-gold); }
.atl-tabs__content { padding: 28px; line-height: 1.8; }

.atl-related { margin-top: 16px; padding: 28px 0; }
.atl-related__head { text-align: center; margin-bottom: 26px; }
.atl-related__title { margin: 0; font-size: clamp(20px,2.2vw,30px); font-weight: 900; color: #0a1128; }
.atl-related .atl-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.atl-card__actions { display: flex; gap: 8px; align-items: stretch; }
.atl-card__cta { flex: 1; padding: 9px 12px; border-radius: 10px; background: var(--atl-grad-ink); color: #fff; font-weight: 800; border: none; }

@media (max-width: 1199.98px) { .atl-related .atl-products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991.98px) {
  .atl-buybox__trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  .atl-buybox { padding: 20px; border-radius: 16px; }
  .atl-buybox__title { font-size: 18px; }
  .atl-tabs__content { padding: 20px; }
  .atl-gallery__thumb { width: 64px; height: 64px; }
  .atl-related .atl-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479.98px) {
  .atl-buybox__meta { grid-template-columns: 1fr; }
  .atl-buybox__cta { grid-template-columns: 1fr; }
  .atl-related .atl-products { grid-template-columns: 1fr; }
}



/* =============================================================
   LUXURY MEGA MENU v2 — Modern & Clean
   ============================================================= */
.atl-mega-wrap {
  position: relative;
  z-index: 9000 !important;
  background: #ffffff;
  border-top: 1px solid rgba(10,17,40,.05);
  border-bottom: 1px solid rgba(10,17,40,.06);
  box-shadow: 0 8px 22px -18px rgba(10,17,40,.18);
}
.atl-mega-container { position: relative; }
.atl-mega-wrap::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: var(--atl-grad-gold);
  opacity: .85;
}

.atl-mega-container {
  position: relative;
}

/* neutralize legacy #menu bootstrap styles */
#menu.atl-mega,
#menu.atl-mega * { text-shadow: none; }
#menu.atl-mega {
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  padding: 0;
  margin: 0;
  position: static;
}

/* Wrapper — show all categories (wrap on multiple lines if needed) */
.atl-mega__scroll {
  overflow: visible;
}

/* Category bar — all items visible, wraps gracefully, centered */
.atl-mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 0;
  column-gap: 0;
}

.atl-mega__item {
  position: static;
  display: flex;
  align-items: stretch;
}

.atl-mega__item + .atl-mega__item::before {
  content: "";
  align-self: center;
  width: 1px;
  height: 16px;
  background: rgba(10,17,40,.08);
  margin: 0 2px;
}

.atl-mega__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 14px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .1px;
  color: var(--atl-ink);
  text-decoration: none;
  line-height: 1.1;
  transition: color .3s var(--atl-ease);
  white-space: nowrap;
}

.atl-mega__linkText { position: relative; }
.atl-mega__linkText::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--atl-grad-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s var(--atl-ease);
}
.atl-mega__link:hover,
.atl-mega__item.is-open > .atl-mega__link {
  color: var(--atl-orange-deep);
  text-decoration: none;
}
.atl-mega__link:hover .atl-mega__linkText::after,
.atl-mega__item.is-open > .atl-mega__link .atl-mega__linkText::after {
  transform: scaleX(1);
}

.atl-mega__caret {
  width: 11px;
  height: 11px;
  opacity: .6;
  transition: transform .35s var(--atl-ease), opacity .3s var(--atl-ease);
}
.atl-mega__item.is-open > .atl-mega__link .atl-mega__caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mega panel — fixed to viewport, driven by JS-set CSS variables.
   Using position: fixed bypasses any parent stacking context / transform issues. */
.atl-mega__panel {
  position: fixed;
  top: var(--atl-mega-top, 0px);
  left: var(--atl-mega-left, 0px);
  width: var(--atl-mega-width, 100%);
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .25s var(--atl-ease), transform .3s var(--atl-ease), visibility .25s;
  z-index: 2147483000 !important;
  pointer-events: none;
}
.atl-mega__item.is-open > .atl-mega__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.atl-mega__panelInner {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 24px 60px -24px rgba(10,17,40,.32),
    0 8px 24px -12px rgba(122,54,9,.18);
  border: 1px solid rgba(242,106,27,.12);
  position: relative;
  overflow: hidden;
}
.atl-mega__panelInner::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 140px;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,196,154,.28) 0%, rgba(255,196,154,0) 70%);
  pointer-events: none;
}

.atl-mega__panelHead {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(10,17,40,.08);
}
.atl-mega__panelTitle {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--atl-ink);
}

/* Categories grid — auto-fit columns */
.atl-mega__grid {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 4px 10px;
  max-height: 360px;
  overflow-y: auto;
  white-space: normal;
}

/* custom scrollbar inside the grid */
.atl-mega__grid::-webkit-scrollbar { width: 6px; }
.atl-mega__grid::-webkit-scrollbar-thumb { background: rgba(242,106,27,.4); border-radius: 999px; }
.atl-mega__grid::-webkit-scrollbar-track { background: transparent; }

.atl-mega__grid > li { margin: 0; }

.atl-mega__sub {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: #3a3f54;
  text-decoration: none;
  transition: all .25s var(--atl-ease);
  white-space: normal;
  line-height: 1.35;
}
.atl-mega__subDot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(242,106,27,.35);
  transition: all .25s var(--atl-ease);
}
.atl-mega__subText {
  display: inline-block;
  transition: transform .3s var(--atl-ease);
}
.atl-mega__sub:hover {
  background: linear-gradient(90deg, rgba(255,196,154,.4), rgba(255,196,154,0));
  color: var(--atl-orange-deep);
  text-decoration: none;
}
.atl-mega__sub:hover .atl-mega__subDot {
  background: var(--atl-orange);
  transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(242,106,27,.15);
}
.atl-mega__sub:hover .atl-mega__subText { transform: translateX(4px); }
[dir="rtl"] .atl-mega__sub:hover .atl-mega__subText { transform: translateX(-4px); }

/* See-all CTA (in panel header) */
.atl-mega__seeAll {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: var(--atl-grad-gold);
  box-shadow: 0 6px 14px -4px rgba(242,106,27,.4);
  text-decoration: none;
  transition: all .25s var(--atl-ease);
  white-space: nowrap;
}
.atl-mega__seeAll:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -4px rgba(242,106,27,.5);
  color: #fff;
  text-decoration: none;
}
.atl-mega__seeAllArrow {
  width: 6px; height: 6px;
  border-top: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
  display: inline-block;
  transform: rotate(45deg);
  transition: transform .3s var(--atl-ease);
}
[dir="rtl"] .atl-mega__seeAllArrow { transform: rotate(-135deg); }
.atl-mega__seeAll:hover .atl-mega__seeAllArrow { transform: translate(3px,-3px) rotate(45deg); }
[dir="rtl"] .atl-mega__seeAll:hover .atl-mega__seeAllArrow { transform: translate(-3px,-3px) rotate(-135deg); }

/* Mobile toggle (hidden on desktop) */
.atl-mega__toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin: 10px 0;
  border-radius: 12px;
  border: 1px solid rgba(242,106,27,.25);
  background: #fff;
  color: var(--atl-orange-deep);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s var(--atl-ease);
  box-shadow: 0 4px 12px rgba(122,54,9,.08);
}
.atl-mega__toggle:hover { background: var(--atl-grad-gold); color: #fff; border-color: transparent; }
.atl-mega__toggle-icon { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.atl-mega__toggle-icon i { display: block; height: 2px; background: currentColor; border-radius: 2px; }

/* ============== Tablet / Mobile (<= 991px) ============== */
/* Slightly tighter spacing when the bar has many categories */
@media (min-width: 1200px) {
  .atl-mega__link { padding: 14px 16px; font-size: 14px; }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
  .atl-mega__link { padding: 12px 10px; font-size: 13px; }
  .atl-mega__item + .atl-mega__item::before { margin: 0; }
}

@media (max-width: 991.98px) {
  #menu.atl-mega { display: block; padding: 6px 0 10px; }
  .atl-mega__toggle { display: inline-flex; }

  .atl-mega__scroll {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--atl-ease);
  }
  #menu.atl-mega.is-open .atl-mega__scroll {
    max-height: 80vh;
    overflow-y: auto;
    margin-top: 6px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 28px -14px rgba(10,17,40,.22);
    border: 1px solid rgba(242,106,27,.12);
    padding: 6px;
  }

  .atl-mega__list {
    flex-direction: column;
    align-items: stretch;
    white-space: normal;
  }
  .atl-mega__item {
    display: block;
    border-bottom: 1px dashed rgba(10,17,40,.08);
  }
  .atl-mega__item:last-child { border-bottom: 0; }
  .atl-mega__item + .atl-mega__item::before { display: none; }

  .atl-mega__link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 12px;
    border-radius: 8px;
  }
  .atl-mega__linkText::after { display: none; }

  .atl-mega__panel {
    position: static;
    inset: auto;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    padding-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height .35s var(--atl-ease);
    pointer-events: auto;
  }
  .atl-mega__item.is-open > .atl-mega__panel {
    max-height: 75vh;
    overflow-y: auto;
  }
  .atl-mega__panelInner {
    border-radius: 10px;
    margin: 0 4px 10px;
    padding: 14px;
    box-shadow: none;
    border-color: rgba(242,106,27,.14);
  }
  .atl-mega__grid {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
    gap: 2px;
  }
  .atl-mega__panelHead { margin-bottom: 10px; padding-bottom: 10px; }
}

/* =============================================================
   LUXURY TOPBAR DROPDOWNS (Sell / Account / Currency / Language)
   ============================================================= */

/* Lift the whole top bar above the header, slider and mega menu */
#top {
  position: relative !important;
  z-index: 100000 !important;
}
#top .dropdown,
#top .btn-group {
  position: relative;
}

/* Ensure open state doesn't get trapped by overflow */
#top,
#top .container,
#top-links,
#top-links .list-inline,
#top-links li.dropdown {
  overflow: visible !important;
}

/* -------- The dropdown panel itself -------- */
#top .dropdown-menu,
#top.atl-topbar-lux .dropdown-menu,
#top-links .dropdown-menu {
  display: block !important;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px) scale(.985);
  transform-origin: top center;
  transition:
    opacity .24s cubic-bezier(.4,0,.2,1),
    transform .28s cubic-bezier(.4,0,.2,1),
    visibility .24s;
  pointer-events: none;

  position: absolute;
  top: calc(100% + 10px);
  min-width: 220px;
  margin: 0 !important;
  padding: 10px !important;

  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,248,240,.96) 100%) !important;
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);

  border: 1px solid rgba(242,106,27,.18) !important;
  border-radius: 16px !important;
  box-shadow:
    0 2px 0 rgba(255,255,255,.9) inset,
    0 18px 48px -18px rgba(10,17,40,.35),
    0 8px 24px -14px rgba(122,54,9,.22) !important;

  list-style: none;
  z-index: 2147483000 !important;
  isolation: isolate;
}

/* Top gold accent bar */
#top .dropdown-menu::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #F26A1B 20%, #FFD37A 50%, #F26A1B 80%, transparent);
  opacity: .85;
}

/* Little arrow pointer */
#top .dropdown-menu::after {
  content: "";
  position: absolute;
  top: -7px;
  inset-inline-end: 22px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fff8f0 100%);
  border-inline-start: 1px solid rgba(242,106,27,.18);
  border-top: 1px solid rgba(242,106,27,.18);
  transform: rotate(45deg);
  border-top-left-radius: 2px;
}

/* Visible state */
#top .dropdown.open > .dropdown-menu,
#top .btn-group.open > .dropdown-menu,
#top li.open > .dropdown-menu,
#top-links li.open > .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* -------- Items inside the dropdown -------- */
#top .dropdown-menu > li,
#top .dropdown-menu > .atl-top-item {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

#top .dropdown-menu > li + li {
  margin-top: 2px;
  position: relative;
}
#top .dropdown-menu > li + li::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,17,40,.08) 30%, rgba(10,17,40,.08) 70%, transparent);
}

#top .dropdown-menu a,
#top .dropdown-menu .btn-link,
#top.atl-topbar-lux .dropdown-menu .atl-top-link,
#top-links .dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px !important;
  border-radius: 10px !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;

  color: #1a2342 !important;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .1px;
  text-shadow: none !important;
  text-decoration: none !important;
  line-height: 1.2;

  transition: background .25s ease, color .25s ease, transform .25s ease, padding .25s ease;
  position: relative;
}

/* Small gold indicator on the inline-start edge when hovered */
#top .dropdown-menu a::before,
#top .dropdown-menu .btn-link::before,
#top-links .dropdown-menu a::before {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--atl-grad-gold, linear-gradient(135deg,#F26A1B 0%,#FFD37A 100%));
  transform: translateY(-50%);
  transition: height .25s ease;
  opacity: 0;
}

#top .dropdown-menu a:hover,
#top .dropdown-menu a:focus,
#top .dropdown-menu .btn-link:hover,
#top.atl-topbar-lux .dropdown-menu .atl-top-link:hover,
#top-links .dropdown-menu a:hover {
  background: linear-gradient(90deg, rgba(242,106,27,.10), rgba(255,211,122,.12)) !important;
  color: #7A3609 !important;
  padding-inline-start: 22px !important;
  text-decoration: none !important;
}

#top .dropdown-menu a:hover::before,
#top .dropdown-menu .btn-link:hover::before,
#top-links .dropdown-menu a:hover::before {
  height: 60%;
  opacity: 1;
}

/* RTL: flip pointer position */
[dir="rtl"] #top .dropdown-menu::after {
  inset-inline-end: auto;
  inset-inline-start: 22px;
}

/* LTR pull-right still works */
#top .dropdown-menu-right,
#top .dropdown-menu.pull-right {
  right: 0;
  left: auto;
}
[dir="rtl"] #top .dropdown-menu-right,
[dir="rtl"] #top .dropdown-menu.pull-right {
  left: 0;
  right: auto;
}

/* -------- Special: Cart dropdown (#cart) — apply the same luxury -------- */
#cart {
  position: relative;
  z-index: 99999;
}
#cart .dropdown-menu {
  display: block !important;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px) scale(.985);
  transform-origin: top center;
  transition:
    opacity .24s cubic-bezier(.4,0,.2,1),
    transform .28s cubic-bezier(.4,0,.2,1),
    visibility .24s;
  pointer-events: none;

  margin-top: 10px !important;
  padding: 14px !important;
  min-width: 320px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,248,240,.96) 100%) !important;
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);

  border: 1px solid rgba(242,106,27,.18) !important;
  border-radius: 16px !important;
  box-shadow:
    0 2px 0 rgba(255,255,255,.9) inset,
    0 18px 48px -18px rgba(10,17,40,.35),
    0 8px 24px -14px rgba(122,54,9,.22) !important;

  z-index: 2147483000 !important;
}
#cart.open .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#cart .dropdown-menu p.text-center {
  color: #5a6178;
  margin: 6px 0;
  font-weight: 600;
}

/* Mobile: keep menus usable on small screens */
@media (max-width: 575.98px) {
  #top .dropdown-menu {
    min-width: 190px;
    padding: 8px !important;
  }
  #top .dropdown-menu a,
  #top .dropdown-menu .btn-link {
    padding: 9px 12px !important;
    font-size: 13px;
  }
  #cart .dropdown-menu {
    min-width: calc(100vw - 24px);
    right: 12px !important;
    left: 12px !important;
  }
}

/* =============================================================
   LUXURY AUTH PAGES — Register / Login
   ============================================================= */
.atl-authpage {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 15px 60px;
}

.atl-auth__crumbs {
  background: transparent !important;
  padding: 0 6px !important;
  margin-bottom: 20px !important;
  border: 0 !important;
  font-size: 13px;
}
.atl-auth__crumbs li { color: #6a7190; }
.atl-auth__crumbs li a {
  color: var(--atl-orange-deep, #A8430A);
  text-decoration: none;
  font-weight: 600;
  transition: color .25s ease;
}
.atl-auth__crumbs li a:hover { color: #F26A1B; }

.atl-auth__alert {
  border-radius: 14px !important;
  border: 1px solid rgba(242,106,27,.25) !important;
  box-shadow: 0 10px 28px -14px rgba(10,17,40,.18);
  margin-bottom: 18px;
}

.atl-auth__row { margin: 0; }

.atl-auth {
  position: relative;
  background:
    linear-gradient(180deg, #ffffff 0%, #FFF7EE 100%);
  border: 1px solid rgba(242,106,27,.18);
  border-radius: 24px;
  padding: 40px 44px 44px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 26px 70px -26px rgba(10,17,40,.28),
    0 10px 24px -14px rgba(122,54,9,.18);
  overflow: hidden;
  isolation: isolate;
}
.atl-auth::before {
  content: "";
  position: absolute;
  inset-inline: 0; top: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #F26A1B 15%, #FFD37A 50%, #F26A1B 85%, transparent);
  z-index: 1;
}
.atl-auth::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(65% 42% at 100% 0%, rgba(242,106,27,.09), transparent 60%),
    radial-gradient(55% 35% at 0% 100%, rgba(255,211,122,.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.atl-auth > * { position: relative; z-index: 2; }

/* Hero */
.atl-auth__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 28px;
}
.atl-auth__badge {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFC49A 0%, #F28848 55%, #A8430A 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,.4) inset,
    0 16px 34px -10px rgba(242,106,27,.55),
    0 6px 14px -8px rgba(122,54,9,.45);
}
.atl-auth__badge svg { width: 30px; height: 30px; }
.atl-auth__title {
  margin: 4px 0 0;
  font-size: 28px;
  font-weight: 800;
  color: #0f1937;
  letter-spacing: -.2px;
}
.atl-auth__sub {
  margin: 0;
  font-size: 14.5px;
  color: #5a6178;
  max-width: 540px;
}
.atl-auth__sub a {
  color: var(--atl-orange-deep, #A8430A);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px dashed rgba(242,106,27,.5);
}
.atl-auth__sub a:hover { color: #F26A1B; border-color: #F26A1B; }

/* Socials */
.atl-auth__socials { margin: 0 auto 24px; max-width: 720px; }
.atl-auth__socialsLabel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: #6a7190;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .4px;
  text-align: center;
}
.atl-auth__socialsLine {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,17,40,.12) 30%, rgba(10,17,40,.12) 70%, transparent);
}

.atl-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 575.98px) {
  .atl-social-grid { grid-template-columns: 1fr; }
}

.atl-social-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(10,17,40,.08);
  background: #ffffff;
  color: #0f1937;
  cursor: pointer;
  text-align: start;
  transition:
    transform .28s cubic-bezier(.4,0,.2,1),
    box-shadow .28s cubic-bezier(.4,0,.2,1),
    border-color .28s ease,
    background .28s ease;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 10px 26px -14px rgba(10,17,40,.25),
    0 4px 10px -6px rgba(10,17,40,.12);
  overflow: hidden;
  isolation: isolate;
}
.atl-social-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.65), rgba(255,255,255,0) 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.atl-social-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(242,106,27,.25);
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 18px 34px -14px rgba(10,17,40,.35),
    0 8px 16px -8px rgba(10,17,40,.18);
}
.atl-social-btn:hover::before { opacity: 1; }
.atl-social-btn:active { transform: translateY(0); }

.atl-social-btn__iconWrap {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(10,17,40,.06);
  box-shadow: 0 4px 10px -6px rgba(10,17,40,.2);
}
.atl-social-btn__icon { width: 22px; height: 22px; display: block; }

.atl-social-btn__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
  flex: 1;
}
.atl-social-btn__label {
  font-size: 12px;
  color: #6a7190;
  font-weight: 600;
}
.atl-social-btn__brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #0f1937;
}

.atl-social-btn__arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  opacity: .55;
  transition: transform .3s ease, opacity .3s ease;
}
.atl-social-btn__arrow::before,
.atl-social-btn__arrow::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
/* Horizontal bar */
.atl-social-btn__arrow::before {
  top: 50%;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}
/* Chevron head */
.atl-social-btn__arrow::after {
  inset-inline-end: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
  background: transparent;
  transform: translateY(-50%) rotate(45deg);
}
[dir="rtl"] .atl-social-btn__arrow::after {
  transform: translateY(-50%) rotate(-135deg);
}
.atl-social-btn:hover .atl-social-btn__arrow {
  transform: translateX(4px);
  opacity: 1;
}
[dir="rtl"] .atl-social-btn:hover .atl-social-btn__arrow {
  transform: translateX(-4px);
}

/* Brand-specific accents */
.atl-social-btn--google .atl-social-btn__iconWrap {
  background: #fff;
}
.atl-social-btn--google:hover {
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
}

.atl-social-btn--facebook {
  background: linear-gradient(180deg, #1877F2 0%, #0E5FCB 100%);
  color: #fff;
  border-color: rgba(255,255,255,.15);
  box-shadow:
    0 1px 0 rgba(255,255,255,.3) inset,
    0 14px 30px -12px rgba(24,119,242,.55),
    0 6px 14px -8px rgba(14,95,203,.45);
}
.atl-social-btn--facebook:hover {
  background: linear-gradient(180deg, #2684FF 0%, #1469D6 100%);
  border-color: rgba(255,255,255,.25);
  box-shadow:
    0 1px 0 rgba(255,255,255,.45) inset,
    0 22px 40px -14px rgba(24,119,242,.65),
    0 10px 20px -10px rgba(14,95,203,.55);
}
.atl-social-btn--facebook .atl-social-btn__label { color: rgba(255,255,255,.78); }
.atl-social-btn--facebook .atl-social-btn__brand { color: #fff; }
.atl-social-btn--facebook .atl-social-btn__iconWrap {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.22);
}
.atl-social-btn--facebook .atl-social-btn__icon { color: #fff; }

/* Loading state */
.atl-social-btn.is-loading {
  pointer-events: none;
  opacity: .75;
}
.atl-social-btn.is-loading .atl-social-btn__arrow {
  border: 2px solid rgba(10,17,40,.15);
  border-top-color: var(--atl-orange-deep, #A8430A);
  border-radius: 50%;
  width: 18px; height: 18px;
  animation: atl-spin .8s linear infinite;
}
.atl-social-btn.is-loading .atl-social-btn__arrow::before,
.atl-social-btn.is-loading .atl-social-btn__arrow::after { display: none; }
.atl-social-btn--facebook.is-loading .atl-social-btn__arrow {
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
}
@keyframes atl-spin { to { transform: rotate(360deg); } }

/* OR Divider */
.atl-auth__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 22px;
  color: #6a7190;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .5px;
}
.atl-auth__divider::before,
.atl-auth__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,17,40,.12), transparent);
}
.atl-auth__divider span {
  padding: 6px 14px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(242,106,27,.2);
  border-radius: 999px;
  color: #7A3609;
  box-shadow: 0 4px 12px -6px rgba(122,54,9,.2);
}

/* Form card */
.atl-auth__card {
  background: #ffffff;
  border: 1px solid rgba(10,17,40,.06);
  border-radius: 18px;
  padding: 28px 28px 26px;
  box-shadow:
    0 1px 0 rgba(255,255,255,1) inset,
    0 20px 48px -22px rgba(10,17,40,.22);
}

.atl-auth__fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}
.atl-auth__fieldset + .atl-auth__fieldset {
  border-top: 1px dashed rgba(10,17,40,.08);
  padding-top: 22px;
}

.atl-auth__legend {
  border: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f1937;
  margin-bottom: 14px;
  padding: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.atl-auth__legend::after {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: var(--atl-grad-gold, linear-gradient(90deg,#F26A1B,#FFD37A));
}

/* Inputs */
.atl-auth .form-control,
.atl-auth input[type="text"],
.atl-auth input[type="email"],
.atl-auth input[type="password"],
.atl-auth input[type="tel"],
.atl-auth textarea,
.atl-auth select {
  height: 48px;
  padding: 10px 14px;
  font-size: 14.5px;
  border-radius: 12px !important;
  border: 1.5px solid rgba(10,17,40,.09) !important;
  background: #fff !important;
  color: #0f1937 !important;
  box-shadow: none !important;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.atl-auth textarea { min-height: 100px; padding-top: 12px; }
.atl-auth .form-control:focus,
.atl-auth input:focus,
.atl-auth textarea:focus,
.atl-auth select:focus {
  border-color: rgba(242,106,27,.5) !important;
  box-shadow: 0 0 0 4px rgba(242,106,27,.12) !important;
  outline: none;
}
.atl-auth .form-control::placeholder { color: #9aa0b4; }

.atl-auth .control-label {
  font-weight: 700;
  color: #1a2342;
  font-size: 13.5px;
  padding-top: 14px;
}
.atl-auth .form-group.required > .control-label::before {
  content: "* ";
  color: #F26A1B;
}
.atl-auth .text-danger {
  margin-top: 6px;
  font-size: 13px;
  color: #c93a3a;
}

.atl-auth .radio, .atl-auth .checkbox {
  padding: 4px 2px;
}
.atl-auth .radio label, .atl-auth .checkbox label {
  font-weight: 600;
  color: #1a2342;
  cursor: pointer;
}
.atl-auth .radio-inline + .radio-inline { margin-inline-start: 16px; }

/* Form buttons */
.atl-auth__buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.atl-auth__agree {
  font-size: 13.5px;
  color: #4a5170;
}
.atl-auth__agree a {
  color: var(--atl-orange-deep, #A8430A);
  font-weight: 700;
}

.atl-auth__submit,
.atl-auth .btn-primary {
  padding: 12px 28px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .2px;
  border-radius: 14px !important;
  border: 0 !important;
  background: linear-gradient(135deg, #F26A1B 0%, #E45E0E 45%, #A8430A 100%) !important;
  color: #fff !important;
  box-shadow:
    0 1px 0 rgba(255,255,255,.35) inset,
    0 18px 40px -14px rgba(242,106,27,.55),
    0 8px 16px -8px rgba(168,67,10,.45) !important;
  transition: all .3s cubic-bezier(.4,0,.2,1) !important;
  cursor: pointer;
}
.atl-auth__submit:hover,
.atl-auth .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.45) inset,
    0 24px 52px -14px rgba(242,106,27,.7),
    0 12px 22px -10px rgba(168,67,10,.55) !important;
}
.atl-auth__submit:active,
.atl-auth .btn-primary:active { transform: translateY(0); }

/* Login page grid */
.atl-auth__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
}
@media (max-width: 767.98px) {
  .atl-auth__grid { grid-template-columns: 1fr; }
}
.atl-auth__newCard {
  background:
    linear-gradient(180deg, #FFF7EE 0%, #FFE7D2 100%);
  border: 1.5px solid rgba(242,106,27,.25);
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 20px 48px -22px rgba(242,106,27,.32);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.atl-auth__newIcon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  color: var(--atl-orange-deep, #A8430A);
  box-shadow: 0 8px 18px -10px rgba(242,106,27,.35);
  margin-bottom: 6px;
}
.atl-auth__newIcon svg { width: 22px; height: 22px; }
.atl-auth__newTitle {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #0f1937;
}
.atl-auth__newDesc { color: #4a5170; margin: 0; font-size: 14px; line-height: 1.55; }
.atl-auth__submit--ghost {
  margin-top: auto;
  width: 100%;
  text-align: center;
  text-decoration: none !important;
  display: inline-block;
}

.atl-auth__forgot {
  display: inline-block;
  margin-top: 8px;
  color: var(--atl-orange-deep, #A8430A) !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
}
.atl-auth__forgot:hover { color: #F26A1B !important; text-decoration: underline !important; }

/* Hide the breadcrumb's old styling overrides and well inside login */
.atl-authpage .well { all: unset; }

/* Responsive */
@media (max-width: 767.98px) {
  .atl-auth { padding: 26px 18px 28px; border-radius: 18px; }
  .atl-auth__title { font-size: 22px; }
  .atl-auth__card { padding: 20px 16px; }
  .atl-social-btn { padding: 12px 14px; gap: 12px; }
  .atl-social-btn__iconWrap { width: 38px; height: 38px; border-radius: 10px; }
  .atl-social-btn__brand { font-size: 15px; }
  .atl-auth__buttons { flex-direction: column; align-items: stretch; }
  .atl-auth__submit { width: 100%; }
}

/* Bootstrap form-horizontal tweaks on small screens */
@media (max-width: 767.98px) {
  .atl-auth__form.form-horizontal .control-label {
    text-align: start;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .atl-auth__form.form-horizontal .col-sm-2,
  .atl-auth__form.form-horizontal .col-sm-10 {
    width: 100%;
    padding: 0;
  }
}
