/* =============================================================
   Atlas Trendo  —  Luxury 3D Modern Overlay
   ------------------------------------------------------------
   Enhances the Journal3 theme with a premium, luxurious,
   modern, 3D look & feel (gold + deep navy palette).
   Designed to be RTL-first (Arabic) and non-breaking.
   ============================================================= */

: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;

  /* Luxury palette */
  --atl-gold: #F26A1B;
  --atl-gold-2: #FFA76A;
  --atl-gold-soft: #FFC49A;
  --atl-rose: #b76e79;
  --atl-ink: #0a1128;
  --atl-ink-2: #111a38;
  --atl-ink-3: #1b2449;
  --atl-bg-soft: #FFF2E6;
  --atl-white: #ffffff;
  --atl-shadow-soft: 0 10px 30px rgba(10, 17, 40, 0.08);
  --atl-shadow-med: 0 20px 50px rgba(10, 17, 40, 0.18);
  --atl-shadow-gold: 0 10px 40px rgba(242,106,27, 0.35);
  --atl-grad-gold: linear-gradient(135deg, #FFC49A 0%, #F26A1B 45%, #C85413 100%);
  --atl-grad-ink: linear-gradient(135deg, #0a1128 0%, #1b2449 60%, #2b2f63 100%);
  --atl-grad-rose: linear-gradient(135deg, #FFA76A 0%, #F26A1B 50%, #b76e79 100%);
  --atl-border-gold: 1px solid rgba(242,106,27, 0.35);
  --atl-radius: 16px;
  --atl-radius-lg: 22px;
  --atl-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -----------------------------------------------------------
   Global polish: smoother rendering, fluid feel
   ----------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: linear-gradient(180deg, #ffffff 0%, #FFF5EB 100%);
  overflow-x: hidden;
}

/* Fancy selection */
::selection {
  background: var(--atl-gold);
  color: var(--atl-ink);
}

/* Custom scrollbar (desktop) */
@media (min-width: 992px) {
  ::-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); }
}

/* -----------------------------------------------------------
   Top scroll progress indicator (3D gold bar)
   ----------------------------------------------------------- */
.atl-scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 99999;
  background: transparent;
  pointer-events: none;
}
.atl-scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--atl-grad-gold);
  box-shadow: 0 0 14px rgba(242,106,27, 0.9), 0 0 4px rgba(255, 255, 255, 0.8);
  transition: width 120ms linear;
  border-radius: 0 4px 4px 0;
}
[dir="rtl"] .atl-scroll-progress__bar { border-radius: 4px 0 0 4px; }

/* -----------------------------------------------------------
   Header: glassmorphism + subtle floating feel
   ----------------------------------------------------------- */
header .header-main,
header .header-middle,
header .header-bottom,
header .main-header,
header .topbar,
.header-1 header,
.header-2 header,
.header-3 header,
.header-4 header,
.header-5 header,
.header-6 header,
.header-7 header,
.header-8 header,
.header-9 header,
.header-10 header {
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}

body.atl-scrolled header {
  box-shadow: var(--atl-shadow-med);
}

/* Logo gentle 3D lift */
#logo a, .journal-logo, header .logo a {
  display: inline-block;
  transform: translateZ(0);
  transition: transform .5s var(--atl-ease), filter .5s var(--atl-ease);
}
#logo a:hover, .journal-logo:hover, header .logo a:hover {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 8px 14px rgba(242,106,27,0.35));
}

/* -----------------------------------------------------------
   Hero / slider: cinematic depth
   ----------------------------------------------------------- */
.journal-slider-module,
.revolution-slider,
.rev_slider_wrapper,
.slideshow,
.fullscreen-slider {
  position: relative;
  border-radius: var(--atl-radius-lg);
  overflow: hidden;
}
.journal-slider-module::after,
.slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 120%, rgba(242,106,27,0.18), transparent 60%);
  mix-blend-mode: screen;
}

/* -----------------------------------------------------------
   Section titles: elegant gold underline + animated shimmer
   ----------------------------------------------------------- */
.module-title,
.module h3.title,
.module h2.title,
h3.module-title,
h2.module-title,
.box-heading,
#content h2,
#content h3 {
  position: relative;
  letter-spacing: .3px;
}
.module-title::after,
.module h3.title::after,
.module h2.title::after,
h3.module-title::after,
h2.module-title::after,
.box-heading::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 10px;
  background: var(--atl-grad-gold);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(242,106,27,.45);
  position: relative;
  overflow: hidden;
}
[dir="rtl"] .module-title::after,
[dir="rtl"] .module h3.title::after,
[dir="rtl"] .module h2.title::after,
[dir="rtl"] h3.module-title::after,
[dir="rtl"] h2.module-title::after,
[dir="rtl"] .box-heading::after {
  margin-left: auto; margin-right: 0;
}

/* Gold gradient text for big headings */
.module-title,
.module h2.title,
.module h3.title,
h2.module-title,
h3.module-title {
  background: linear-gradient(135deg, var(--atl-ink) 0%, #3a3f7a 60%, var(--atl-ink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* -----------------------------------------------------------
   Buttons: 3D gradient with hover lift + shine sweep
   IMPORTANT: Exclude utility buttons like .btn-link, search, dropdown-toggle
   ----------------------------------------------------------- */
.btn-primary, 
.btn-success,
.btn-danger,
.btn-warning,
.btn-info,
.cart button:not(.btn-link),
.journal-btn,
.product-thumb .cart button,
.cart-button, 
.btn-cart,
#button-cart, 
#button-confirm,
#button-search,
.btn-checkout,
.wk-btn.btn-primary,
button.btn-primary,
a.btn-primary {
  position: relative;
  border: none;
  border-radius: 14px;
  padding: 10px 22px;
  font-weight: 700;
  letter-spacing: .2px;
  background: var(--atl-grad-ink);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(10,17,40,0.22), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform .35s var(--atl-ease), box-shadow .35s var(--atl-ease), background .35s var(--atl-ease);
  overflow: hidden;
  transform: translateZ(0);
  isolation: isolate;
}

.btn-primary::before,
#button-cart::before, 
#button-confirm::before,
.cart button:not(.btn-link)::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -75%;
  width: 50%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .7s var(--atl-ease);
  z-index: 1;
}

.btn-primary:hover, 
.btn-success:hover,
#button-cart:hover, 
#button-confirm:hover, 
.cart button:not(.btn-link):hover, 
.btn-checkout:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 35px rgba(10,17,40,0.28), var(--atl-shadow-gold);
  background: var(--atl-grad-gold);
  color: var(--atl-ink) !important;
}

.btn-primary:hover::before,
#button-cart:hover::before, 
#button-confirm:hover::before, 
.cart button:not(.btn-link):hover::before {
  left: 120%;
}

.btn-primary:active, 
.btn-success:active { 
  transform: translateY(-1px) scale(.99); 
}

/* ============================================
   RESET: Preserve default styling for utility buttons
   ============================================ */
.btn-link,
.btn-link:hover,
.btn-link:focus,
.dropdown-toggle.btn-link,
.currency-select,
.language-select,
#form-currency .btn,
#form-language .btn,
#top .btn-link,
#top .dropdown-toggle,
.btn-group > .btn-link {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  color: inherit !important;
  padding: 6px 12px !important;
  border-radius: 0 !important;
  transform: none !important;
}

.btn-link:hover,
.dropdown-toggle.btn-link:hover,
#form-currency .btn:hover,
#form-language .btn:hover {
  background: transparent !important;
  color: var(--atl-gold) !important;
  transform: none !important;
}

/* =============================================================
   SEARCH — Trendo pill design (luxury)
   ============================================================= */
#search.atl-search,
#search {
  position: relative;
  display: flex !important;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(10,17,40,.08);
  border-radius: 999px !important;
  padding: 4px 4px 4px 16px;
  height: 52px;
  box-shadow:
    0 10px 30px rgba(10,17,40,.06),
    inset 0 0 0 1px rgba(255,255,255,.6);
  transition: box-shadow .3s var(--atl-ease), border-color .3s var(--atl-ease), transform .3s var(--atl-ease);
  overflow: visible;
}
[dir="rtl"] #search.atl-search,
[dir="rtl"] #search {
  padding: 4px 16px 4px 4px;
}
#search:hover {
  border-color: rgba(242,106,27,.35);
  box-shadow: 0 14px 32px rgba(10,17,40,.08);
}
#search:focus-within {
  border-color: var(--atl-orange, #F26A1B);
  box-shadow:
    0 0 0 4px rgba(242,106,27,.18),
    0 14px 34px rgba(242,106,27,.18);
}

/* Leading search icon inside the pill */
#search .atl-search__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8b93a8;
  width: 24px;
  height: 24px;
  margin-inline-end: 8px;
  transition: color .3s var(--atl-ease);
  flex-shrink: 0;
}
#search:focus-within .atl-search__icon { color: var(--atl-orange, #F26A1B); }
#search .atl-search__icon svg { width: 20px; height: 20px; }

/* Input field */
#search .form-control,
#search .atl-search__input {
  flex: 1 1 auto;
  height: 44px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 12px !important;
  font-size: 15px;
  font-weight: 500;
  color: var(--atl-ink, #0a1128);
  border-radius: 0 !important;
  min-width: 0;
  outline: none;
}
#search .form-control::placeholder,
#search .atl-search__input::placeholder {
  color: #8b93a8;
  font-weight: 500;
  opacity: 1;
}
#search .form-control:focus,
#search .atl-search__input:focus {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Button addon must not break the pill shape */
#search .input-group-btn {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
}

/* Search button — premium orange pill */
#search .btn,
#search .btn-default,
#search button,
#search .atl-search__btn {
  height: 44px !important;
  min-width: 44px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px !important;
  border: none !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #FFA76A 0%, #F26A1B 55%, #C85413 100%) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  box-shadow:
    0 10px 24px rgba(242,106,27,.35),
    inset 0 1px 0 rgba(255,255,255,.35) !important;
  transition: transform .3s var(--atl-ease), box-shadow .3s var(--atl-ease), filter .3s var(--atl-ease) !important;
  position: relative;
  overflow: hidden;
}
#search .btn svg,
#search button svg,
#search .atl-search__btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
#search .atl-search__btn-label {
  display: inline-block;
  letter-spacing: .2px;
  white-space: nowrap;
}

/* Shine sweep */
#search .atl-search__btn::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -75%;
  width: 50%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.4) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .8s var(--atl-ease);
}

#search .btn:hover,
#search .btn-default:hover,
#search button:hover,
#search .atl-search__btn:hover {
  background: linear-gradient(135deg, #FFC49A 0%, #F28848 55%, #A8430A 100%) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow:
    0 14px 30px rgba(242,106,27,.45),
    inset 0 1px 0 rgba(255,255,255,.45) !important;
}
#search .atl-search__btn:hover::before { left: 120%; }

#search .btn:active,
#search .atl-search__btn:active {
  transform: translateY(0) !important;
  filter: brightness(.96);
}

/* Responsive: hide button label on small screens (icon only) */
@media (max-width: 767px) {
  #search.atl-search,
  #search {
    height: 46px;
    padding-inline-start: 14px;
    padding-inline-end: 4px;
  }
  #search .form-control,
  #search .atl-search__input {
    height: 38px !important;
    font-size: 14px;
    padding: 0 8px !important;
  }
  #search .btn,
  #search .atl-search__btn {
    height: 38px !important;
    padding: 0 12px !important;
    min-width: 38px;
  }
  #search .atl-search__btn-label { display: none; }
}

/* Keep layout sane inside header col */
header .col-sm-5 #search { margin: 4px 0; }

/* btn-default reset for non-search contexts */
.btn-default:not(#search .btn-default) {
  background: #fff !important;
  color: var(--atl-ink) !important;
  border: 1px solid rgba(10,17,40,0.15) !important;
  box-shadow: 0 2px 8px rgba(10,17,40,0.08) !important;
}

.btn-default:not(#search .btn-default):hover {
  background: var(--atl-gold) !important;
  color: var(--atl-ink) !important;
  border-color: var(--atl-gold) !important;
}

/* Keep small "wishlist/compare" icon-buttons subtle */
.product-thumb .cart ~ button,
.product-thumb .button-group button:not(.btn-cart),
.btn-wishlist, 
.btn-compare {
  background: transparent !important;
  color: var(--atl-ink) !important;
  box-shadow: none !important;
}

/* Cart dropdown button fix */
#cart > .btn,
#cart .dropdown-toggle,
#cart .btn-inverse {
  background: var(--atl-grad-ink) !important;
  box-shadow: 0 4px 12px rgba(10,17,40,0.2) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 12px !important;
  padding: 10px 16px !important;
  transition: all .3s var(--atl-ease) !important;
}

#cart > .btn:hover,
#cart .dropdown-toggle:hover,
#cart .btn-inverse:hover {
  background: var(--atl-grad-gold) !important;
  color: var(--atl-ink) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(242,106,27,0.35) !important;
}

/* btn-inverse general styling */
.btn-inverse:not(#cart .btn-inverse) {
  background: var(--atl-grad-ink) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
}

.btn-inverse:not(#cart .btn-inverse):hover {
  background: var(--atl-grad-gold) !important;
  color: var(--atl-ink) !important;
}

/* Small buttons fix (btn-xs, btn-sm) */
.btn-xs,
.btn-sm {
  padding: 4px 10px !important;
  font-size: 12px !important;
  border-radius: 8px !important;
}

.btn-danger.btn-xs {
  background: #dc3545 !important;
  color: #fff !important;
}

.btn-danger.btn-xs:hover {
  background: #c82333 !important;
}

/* Modal buttons fix */
.modal-footer .btn-default {
  background: #f5f5f5 !important;
  color: var(--atl-ink) !important;
  border: 1px solid #ddd !important;
}

.modal-footer .btn-default:hover {
  background: #e9e9e9 !important;
}

.modal-footer .btn-primary {
  background: var(--atl-grad-gold) !important;
  color: var(--atl-ink) !important;
}

/* Top bar luxury redesign */
#top {
  position: relative;
  background: linear-gradient(135deg, #070d22 0%, #0e1a3f 55%, #1b2a5e 100%);
  color: #fff;
  border-bottom: 1px solid rgba(242,106,27, 0.26);
  box-shadow: 0 10px 30px rgba(10, 17, 40, 0.22);
  overflow: hidden;
}

#top::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 90% at 0% 0%, rgba(242,106,27, 0.17), transparent 60%),
    radial-gradient(50% 90% at 100% 100%, rgba(183, 110, 121, 0.16), transparent 60%);
}

#top .container {
  position: relative;
  z-index: 1;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#top .pull-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

#top .btn-group > .btn-link {
  border-radius: 999px !important;
  padding: 6px 12px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f2f5ff !important;
  font-weight: 600;
}

#top .btn-group > .btn-link:hover,
#top .btn-group.open > .btn-link {
  background: rgba(242,106,27, 0.22) !important;
  border-color: rgba(242,106,27, 0.55) !important;
  color: #ffe7a3 !important;
}

#top-links {
  margin: 0;
}

#top-links .list-inline {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#top-links .list-inline > li {
  padding: 0;
}

#top-links .list-inline > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #eaf0ff !important;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .1px;
  transition: all .28s ease;
}

#top-links .list-inline > li > a i {
  font-size: 13px;
  opacity: .92;
}

#top-links .list-inline > li > a:hover,
#top-links .list-inline > li.open > a {
  transform: translateY(-1px);
  background: rgba(242,106,27, 0.2);
  border-color: rgba(242,106,27, 0.6);
  color: #ffe7a3 !important;
  box-shadow: 0 8px 20px rgba(242,106,27, 0.22);
}

/* Strong CTA for checkout */
#top-links a[href*="route=checkout/checkout"] {
  background: var(--atl-grad-gold) !important;
  color: var(--atl-ink) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 8px 24px rgba(242,106,27, 0.38);
}

#top-links a[href*="route=checkout/checkout"]:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 28px rgba(242,106,27, 0.48);
}

/* Seller link emphasis */
#top-links a[href*="module_marketplace"],
#top-links a[href*="account/customerpartner"] {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(242,106,27, 0.22)) !important;
  border-color: rgba(242,106,27, 0.55) !important;
  color: #ffe7a3 !important;
}

/* Counter-like look for wishlist text */
#wishlist-total {
  position: relative;
  font-weight: 700 !important;
}

#top .dropdown-menu {
  margin-top: 10px !important;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  padding: 8px 0;
}

#top .dropdown-menu a,
#top .dropdown-menu .btn-link {
  color: var(--atl-ink) !important;
  padding: 9px 16px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  width: 100%;
  text-align: start;
}

#top .dropdown-menu a:hover,
#top .dropdown-menu .btn-link:hover {
  background: rgba(242,106,27,0.12) !important;
  color: #7A3609 !important;
}

@media (max-width: 991px) {
  #top .container {
    display: block;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  #top .pull-left,
  #top-links .list-inline {
    justify-content: center;
  }

  #top-links {
    float: none !important;
    margin-top: 8px;
  }
}

/* Menu styling */
#menu {
  background: var(--atl-grad-ink);
  border: none;
  border-radius: 0;
}

#menu .nav > li > a {
  color: #fff !important;
  padding: 14px 18px;
  transition: all .3s ease;
}

#menu .nav > li > a:hover,
#menu .nav > li.open > a {
  background: rgba(242,106,27,0.15) !important;
  color: var(--atl-gold-2) !important;
}

#menu .dropdown-menu {
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 12px 0;
}

#menu .dropdown-menu a {
  color: var(--atl-ink) !important;
  padding: 10px 20px;
  transition: all .3s ease;
}

#menu .dropdown-menu a:hover {
  background: rgba(242,106,27,0.1);
  color: var(--atl-gold) !important;
}

/* Input group button addon fix */
.input-group-btn .btn {
  height: 100%;
}

/* Mobile navbar toggle button */
.btn-navbar,
.navbar-toggle {
  background: var(--atl-grad-gold) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  color: var(--atl-ink) !important;
}

.btn-navbar:hover,
.navbar-toggle:hover {
  background: var(--atl-gold-2) !important;
}

.btn-navbar i,
.navbar-toggle i {
  font-size: 18px;
}

/* Fix for btn-lg in non-search contexts */
.btn-lg:not(#search .btn-lg):not(#cart .btn-lg) {
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 14px;
}

/* Ensure proper header styling */
header {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

/* Logo container */
#logo {
  display: flex;
  align-items: center;
  height: 100%;
}

#logo img {
  max-height: 60px;
  width: auto;
}

/* Breadcrumb container */
.breadcrumb-wrapper,
.breadcrumb-row {
  background: linear-gradient(180deg, #FFF5EB 0%, #fff 100%);
  padding: 10px 0;
  margin-bottom: 20px;
}

/* Alert/notification styling */
.alert {
  border-radius: 12px;
  border: none;
  padding: 15px 20px;
}

.alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
}

.alert-warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
  color: #856404;
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
  color: #0c5460;
}

/* Pagination styling */
.pagination > li > a,
.pagination > li > span {
  border: none;
  border-radius: 8px !important;
  margin: 0 3px;
  color: var(--atl-ink);
  transition: all .3s ease;
}

.pagination > li > a:hover {
  background: rgba(242,106,27,0.15);
  color: var(--atl-gold);
}

.pagination > .active > a,
.pagination > .active > span {
  background: var(--atl-grad-gold) !important;
  color: var(--atl-ink) !important;
  border: none !important;
}

/* Well/panel styling */
.well,
.panel {
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.panel-heading {
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, #FFF5EB 0%, #FFF1E2 100%);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Table styling */
.table {
  border-radius: 12px;
  overflow: hidden;
}

.table > thead > tr > th {
  background: linear-gradient(180deg, #FFF5EB 0%, #FFF1E2 100%);
  border-bottom: 2px solid rgba(242,106,27,0.3);
  color: var(--atl-ink);
  font-weight: 700;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background: rgba(250,247,239,0.5);
}

/* Form group spacing */
.form-group {
  margin-bottom: 20px;
}

/* Label styling */
label.control-label {
  font-weight: 600;
  color: var(--atl-ink);
  margin-bottom: 8px;
}

/* -----------------------------------------------------------
   Forms: luxe inputs
   ----------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="password"],
input[type="search"], input[type="tel"], input[type="number"],
select, textarea, .form-control {
  border-radius: 12px !important;
  border: 1px solid rgba(10,17,40,0.12) !important;
  box-shadow: inset 0 2px 6px rgba(10,17,40,0.04);
  transition: border-color .3s var(--atl-ease), box-shadow .3s var(--atl-ease), transform .3s var(--atl-ease);
}
input:focus, select:focus, textarea:focus, .form-control:focus {
  border-color: var(--atl-gold) !important;
  box-shadow: 0 0 0 4px rgba(242,106,27,0.18), inset 0 2px 4px rgba(10,17,40,0.04) !important;
  outline: none;
}

/* -----------------------------------------------------------
   Product cards: 3D tilt + glossy image + floating shadow
   ----------------------------------------------------------- */
.product-layout,
.product-grid .product-thumb,
.product-list .product-thumb {
  perspective: 1200px;
}

.product-thumb {
  position: relative;
  border-radius: var(--atl-radius-lg) !important;
  background: #ffffff;
  box-shadow: var(--atl-shadow-soft);
  transition:
    transform .55s var(--atl-ease),
    box-shadow .55s var(--atl-ease),
    background .55s var(--atl-ease);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}
.product-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(242,106,27,0) 0%, rgba(242,106,27,0) 55%, rgba(242,106,27,0.18) 100%);
  opacity: 0;
  transition: opacity .5s var(--atl-ease);
  border-radius: inherit;
  z-index: 1;
}
.product-thumb::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%; bottom: -18px;
  height: 24px;
  filter: blur(18px);
  background: rgba(10,17,40,0.25);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .5s var(--atl-ease), transform .5s var(--atl-ease);
  z-index: 0;
}
.product-thumb:hover {
  transform: translateY(-10px);
  box-shadow: var(--atl-shadow-med), 0 0 0 1px rgba(242,106,27,0.25);
}
.product-thumb:hover::before { opacity: 1; }
.product-thumb:hover::after { opacity: 1; transform: translateY(6px) scale(1.05); }

/* The image area gets a soft depth + shine on hover */
.product-thumb .image {
  overflow: hidden;
  border-radius: var(--atl-radius-lg) var(--atl-radius-lg) 0 0;
  background: linear-gradient(180deg, #FFF6EE 0%, #ffffff 100%);
  position: relative;
  transform: translateZ(0);
}
.product-thumb .image img {
  transition: transform .8s var(--atl-ease), filter .8s var(--atl-ease);
  transform-origin: center center;
  will-change: transform;
}
.product-thumb:hover .image img {
  transform: scale(1.06) translateZ(20px);
  filter: saturate(1.08) contrast(1.03);
}

/* Shine sweep on product image */
.product-thumb .image::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -75%;
  width: 50%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left .9s var(--atl-ease);
  pointer-events: none;
  z-index: 2;
}
.product-thumb:hover .image::after { left: 140%; }

/* Product caption nicer typography */
.product-thumb .caption {
  padding: 18px 18px 20px !important;
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 0 0 var(--atl-radius-lg) var(--atl-radius-lg);
}
.product-thumb .name a,
.product-thumb h4 a,
.product-thumb .caption h4 a {
  font-weight: 700;
  color: var(--atl-ink) !important;
  transition: color .3s var(--atl-ease);
}
.product-thumb:hover .name a,
.product-thumb:hover h4 a {
  color: #7A3609 !important;
}

/* Prices: gold accent */
.product-thumb .price,
.product-price {
  font-weight: 800;
}
.product-thumb .price .price-new,
.price-new,
.special-price {
  background: var(--atl-grad-rose);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  font-weight: 900;
}
.product-thumb .price .price-old,
.price-old {
  color: #9aa0b4 !important;
  font-weight: 600;
}

/* Rating stars gold */
.rating .fa-stack .fa-star,
.rating i.fa-star { color: var(--atl-gold) !important; }

/* Labels: premium pill look */
.product-label {
  border-radius: 999px !important;
  padding: 4px 12px !important;
  font-weight: 800;
  letter-spacing: .3px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 6px 14px rgba(10,17,40,0.15);
}
.product-label.product-label-new,
.product-label-new {
  background: var(--atl-grad-ink) !important;
  color: #fff !important;
}
.product-label.product-label-special,
.product-label.product-label-sale,
.product-label-sale {
  background: var(--atl-grad-rose) !important;
  color: #fff !important;
}
.product-label-discount {
  background: var(--atl-grad-gold) !important;
  color: var(--atl-ink) !important;
}

/* -----------------------------------------------------------
   Product page: gallery & info card
   ----------------------------------------------------------- */
#product .main-image,
.product-main-image,
.product-gallery {
  border-radius: var(--atl-radius-lg);
  overflow: hidden;
  box-shadow: var(--atl-shadow-med);
  background: #fff;
  position: relative;
}
#product .main-image::after,
.product-main-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 20% 0%, rgba(242,106,27,0.14), transparent 60%);
  mix-blend-mode: screen;
}
.product-info, .product-right {
  padding: 8px 4px;
}
.product-info .price, .product-right .price {
  font-size: 1.6em;
  font-weight: 900;
}

/* -----------------------------------------------------------
   Category / manufacturer grid: 3D tile look
   ----------------------------------------------------------- */
.journal-category-grid .category-item,
.category-item,
.manufacturer-grid .manufacturer-item {
  border-radius: var(--atl-radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--atl-shadow-soft);
  transition: transform .5s var(--atl-ease), box-shadow .5s var(--atl-ease);
  transform-style: preserve-3d;
}
.journal-category-grid .category-item:hover,
.category-item:hover,
.manufacturer-grid .manufacturer-item:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: var(--atl-shadow-med);
}

/* -----------------------------------------------------------
   Banners / info blocks: glass + soft 3D
   ----------------------------------------------------------- */
.journal-module.info-block,
.info-block,
.service-block,
.journal-testimonial-module,
.journal-banner-module,
.banner-module,
.newsletter-module {
  border-radius: var(--atl-radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(250,246,232,0.85) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(242,106,27,0.18);
  box-shadow: var(--atl-shadow-soft);
  transition: transform .5s var(--atl-ease), box-shadow .5s var(--atl-ease);
}
.journal-module.info-block:hover,
.info-block:hover,
.service-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--atl-shadow-med);
}

/* Icon-info blocks (24/7, تقسيط, تخفيضات ...) */
.info-block .icon,
.service-block .icon,
[class*="info-block"] i,
[class*="service"] i {
  background: var(--atl-grad-gold);
  color: var(--atl-ink) !important;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  padding: 14px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(242,106,27,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform .6s var(--atl-ease);
}
[class*="info-block"]:hover i,
[class*="service"]:hover i,
.info-block:hover .icon,
.service-block:hover .icon {
  transform: rotateY(360deg);
}

/* -----------------------------------------------------------
   Footer: deep luxury
   ----------------------------------------------------------- */
footer {
  position: relative;
  background: var(--atl-grad-ink) !important;
  color: #e6e8f3 !important;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 90% 0%, rgba(242,106,27,0.18), transparent 60%),
    radial-gradient(50% 50% at 10% 100%, rgba(183,110,121,0.18), transparent 60%);
  pointer-events: none;
}
footer a { color: #e6e8f3 !important; transition: color .3s var(--atl-ease); }
footer a:hover { color: var(--atl-gold-2) !important; }
footer h5, footer h4, footer .module-title,
footer .footer-title {
  color: #fff !important;
  position: relative;
}
footer h5::after, footer h4::after,
footer .footer-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 10px;
  background: var(--atl-grad-gold);
  border-radius: 2px;
}

/* -----------------------------------------------------------
   Scroll to top button: 3D gold orb
   ----------------------------------------------------------- */
.scroll-top {
  background: var(--atl-grad-gold) !important;
  color: var(--atl-ink) !important;
  border-radius: 50% !important;
  width: 48px; height: 48px;
  display: flex !important;
  align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(242,106,27,0.45), inset 0 2px 0 rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform .5s var(--atl-ease), box-shadow .5s var(--atl-ease);
}
.scroll-top:hover {
  transform: translateY(-6px) rotate(-8deg);
  box-shadow: 0 18px 40px rgba(242,106,27,0.55);
}
.scroll-top i { font-size: 18px; }

/* -----------------------------------------------------------
   Mini cart / wishlist counters: gold badge
   ----------------------------------------------------------- */
.cart-count,
#cart .badge,
.wishlist-count,
.compare-count,
.header-cart .count,
.header-wishlist .count {
  background: var(--atl-grad-gold) !important;
  color: var(--atl-ink) !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 10px rgba(242,106,27,0.5);
}

/* -----------------------------------------------------------
   Main navigation: underline slide + subtle lift
   ----------------------------------------------------------- */
.main-menu a,
.nav-menu a,
.menu-wrapper a {
  position: relative;
  transition: color .3s var(--atl-ease), transform .3s var(--atl-ease);
}
.main-menu > ul > li > a::after,
.nav-menu > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--atl-grad-gold);
  transition: width .4s var(--atl-ease), left .4s var(--atl-ease);
  border-radius: 2px;
}
.main-menu > ul > li:hover > a::after,
.nav-menu > ul > li:hover > a::after {
  width: 70%; left: 15%;
}
.main-menu > ul > li:hover > a,
.nav-menu > ul > li:hover > a {
  transform: translateY(-1px);
}

/* -----------------------------------------------------------
   Scroll-reveal animations (triggered by JS adding .atl-in)
   ----------------------------------------------------------- */
.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);
}

/* Staggered children inside a revealed container */
.atl-reveal.atl-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--atl-ease), transform .7s var(--atl-ease);
}
.atl-reveal.atl-in.atl-stagger > * { opacity: 1; transform: translateY(0); }
.atl-reveal.atl-in.atl-stagger > *:nth-child(1) { transition-delay: .04s; }
.atl-reveal.atl-in.atl-stagger > *:nth-child(2) { transition-delay: .1s; }
.atl-reveal.atl-in.atl-stagger > *:nth-child(3) { transition-delay: .16s; }
.atl-reveal.atl-in.atl-stagger > *:nth-child(4) { transition-delay: .22s; }
.atl-reveal.atl-in.atl-stagger > *:nth-child(5) { transition-delay: .28s; }
.atl-reveal.atl-in.atl-stagger > *:nth-child(6) { transition-delay: .34s; }
.atl-reveal.atl-in.atl-stagger > *:nth-child(7) { transition-delay: .4s; }
.atl-reveal.atl-in.atl-stagger > *:nth-child(8) { transition-delay: .46s; }

/* -----------------------------------------------------------
   Shimmering marquee / notice bar (if present)
   ----------------------------------------------------------- */
.announcement,
.notice-bar,
.header-notice,
.top-notice {
  background: var(--atl-grad-ink) !important;
  color: #fff !important;
  position: relative;
  overflow: hidden;
}
.announcement::after,
.notice-bar::after,
.header-notice::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(242,106,27,0.35) 50%, transparent 70%);
  animation: atlShimmer 6s linear infinite;
  pointer-events: none;
}
@keyframes atlShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* -----------------------------------------------------------
   Quickview / modal polish
   ----------------------------------------------------------- */
.modal-content, .quickview-content {
  border-radius: var(--atl-radius-lg) !important;
  border: none !important;
  box-shadow: 0 40px 80px rgba(10,17,40,0.35) !important;
  overflow: hidden;
}

/* -----------------------------------------------------------
   Mobile polish
   ----------------------------------------------------------- */
@media (max-width: 767px) {
  .product-thumb { border-radius: 18px !important; }
  .product-thumb .image { border-radius: 18px 18px 0 0 !important; }
  .btn, .button { border-radius: 12px; padding: 10px 18px; }
  .module-title::after { width: 48px; }
}

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

/* =============================================================
   V2  —  STRONGER 3D & ULTRA-LUXURY UPGRADE
   ============================================================= */

/* -----------------------------------------------------------
   Ambient orbs: floating gold halos behind the whole page
   (injected by JS as: <div class="atl-ambient">…</div>)
   ----------------------------------------------------------- */
.atl-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}
.atl-ambient::before,
.atl-ambient::after,
.atl-ambient i {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  will-change: transform;
}
.atl-ambient::before {
  width: 520px; height: 520px;
  top: -140px; left: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(242,106,27,.55), rgba(242,106,27,0) 70%);
  animation: atlFloatA 22s ease-in-out infinite;
}
.atl-ambient::after {
  width: 620px; height: 620px;
  bottom: -180px; right: -160px;
  background: radial-gradient(circle at 70% 60%, rgba(183,110,121,.45), rgba(10,17,40,0) 70%);
  animation: atlFloatB 28s ease-in-out infinite;
}
.atl-ambient i {
  width: 420px; height: 420px;
  top: 40%; left: 55%;
  background: radial-gradient(circle at 50% 50%, rgba(43,47,99,.35), rgba(10,17,40,0) 70%);
  animation: atlFloatC 34s ease-in-out infinite;
  opacity: .35;
}
@keyframes atlFloatA {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(60px, 40px) scale(1.1); }
}
@keyframes atlFloatB {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-80px, -50px) scale(1.15); }
}
@keyframes atlFloatC {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-35%, -60%) scale(1.08); }
}
/* Keep real content above orbs */
body > header, body > main, body > footer,
body > #page, body > .page, body > #container,
body > div:not(.atl-ambient):not(.atl-scroll-progress) {
  position: relative;
  z-index: 1;
}

/* -----------------------------------------------------------
   Hero / Slider V2 — cinematic 3D, Ken Burns, spotlight
   ----------------------------------------------------------- */
.journal-slider-module,
.revolution-slider,
.rev_slider_wrapper,
.slideshow,
.fullscreen-slider,
.swiper-container[class*="slider"],
.owl-carousel[class*="slider"] {
  perspective: 1600px;
  transform-style: preserve-3d;
  border-radius: var(--atl-radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(10,17,40,.25),
    0 0 0 1px rgba(242,106,27,.18) inset;
  position: relative;
}
/* Soft gold halo around the slider */
.journal-slider-module::before,
.slideshow::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(242,106,27,.18), transparent 65%);
  filter: blur(22px);
  pointer-events: none;
  z-index: -1;
}

/* Ken-Burns auto zoom on every slide image */
.journal-slider-module .swiper-slide img,
.journal-slider-module .owl-item img,
.journal-slider-module .slick-slide img,
.slideshow .swiper-slide img,
.slideshow .owl-item img,
.slideshow .slick-slide img,
.rev_slider_wrapper .tp-bgimg {
  transition: transform 9s linear, filter .6s var(--atl-ease) !important;
  will-change: transform;
}
.journal-slider-module .swiper-slide-active img,
.journal-slider-module .owl-item.active img,
.journal-slider-module .slick-active img,
.slideshow .swiper-slide-active img,
.slideshow .owl-item.active img,
.slideshow .slick-active img {
  transform: scale(1.08) translateZ(0);
}

/* Inner cinematic vignette */
.journal-slider-module::after,
.slideshow::after,
.revolution-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 120%, rgba(242,106,27,.22), transparent 60%),
    radial-gradient(120% 90% at 50% -10%, rgba(10,17,40,.35), transparent 60%);
  mix-blend-mode: screen;
}

/* Mouse-follow spotlight (set via JS custom props) */
.atl-spotlight {
  position: relative;
}
.atl-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    320px circle at var(--atl-mx, 50%) var(--atl-my, 50%),
    rgba(255,225,195,.28),
    rgba(255,225,195,0) 55%);
  mix-blend-mode: screen;
  transition: background .2s linear;
  z-index: 3;
}

/* Slider dots & arrows — luxury polish */
.journal-slider-module .swiper-pagination-bullet,
.slideshow .swiper-pagination-bullet,
.owl-dot span, .slick-dots li button {
  background: rgba(255,255,255,.5) !important;
  box-shadow: 0 2px 8px rgba(10,17,40,.25);
  transition: transform .4s var(--atl-ease), background .4s var(--atl-ease), width .4s var(--atl-ease);
}
.journal-slider-module .swiper-pagination-bullet-active,
.slideshow .swiper-pagination-bullet-active,
.owl-dot.active span, .slick-dots li.slick-active button {
  background: var(--atl-grad-gold) !important;
  transform: scale(1.25);
}
.journal-slider-module .swiper-button-prev,
.journal-slider-module .swiper-button-next,
.slideshow .swiper-button-prev,
.slideshow .swiper-button-next,
.owl-prev, .owl-next,
.slick-prev, .slick-next {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: rgba(10,17,40,.55) !important;
  color: #fff !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(10,17,40,.35), inset 0 1px 0 rgba(255,255,255,.18);
  border: 1px solid rgba(242,106,27,.35) !important;
  transition: transform .4s var(--atl-ease), background .4s var(--atl-ease) !important;
}
.journal-slider-module .swiper-button-prev:hover,
.journal-slider-module .swiper-button-next:hover,
.slideshow .swiper-button-prev:hover,
.slideshow .swiper-button-next:hover,
.owl-prev:hover, .owl-next:hover,
.slick-prev:hover, .slick-next:hover {
  background: var(--atl-grad-gold) !important;
  color: var(--atl-ink) !important;
  transform: translateY(-2px) scale(1.08) !important;
}

/* Slider caption text — gold gradient + deep shadow */
.journal-slider-module .caption h1,
.journal-slider-module .caption h2,
.slideshow .caption h1,
.slideshow .caption h2,
.tp-caption h1, .tp-caption h2,
.rev_slider .caption h1 {
  background: linear-gradient(135deg, #fff 0%, #FFD5B2 50%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 40px rgba(10,17,40,.35);
  letter-spacing: .5px;
}

/* -----------------------------------------------------------
   Product cards V2 — true 3D depth + gold inner frame
   ----------------------------------------------------------- */
.product-thumb {
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ea 100%) !important;
  box-shadow:
    0 12px 30px rgba(10,17,40,.10),
    0 2px 6px rgba(10,17,40,.06),
    inset 0 0 0 1px rgba(242,106,27,.10) !important;
}
.product-thumb::before {
  background: linear-gradient(
    135deg,
    rgba(242,106,27,0) 0%,
    rgba(242,106,27,0) 40%,
    rgba(242,106,27,.28) 70%,
    rgba(253,210,170,.55) 100%
  ) !important;
}
.product-thumb:hover {
  transform: translateY(-14px) !important;
  box-shadow:
    0 28px 60px rgba(10,17,40,.22),
    0 10px 22px rgba(242,106,27,.22),
    inset 0 0 0 1px rgba(242,106,27,.35) !important;
}

/* Animated gold border that traces the card */
.product-thumb .caption::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: calc(var(--atl-radius-lg) - 6px);
  padding: 1px;
  background: linear-gradient(130deg, rgba(242,106,27,0) 0%, rgba(242,106,27,.55) 50%, rgba(242,106,27,0) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .6s var(--atl-ease);
  pointer-events: none;
}
.product-thumb:hover .caption::before { opacity: 1; }

/* Price pops up on hover */
.product-thumb .price {
  transition: transform .5s var(--atl-ease), letter-spacing .5s var(--atl-ease);
}
.product-thumb:hover .price {
  transform: translateY(-2px);
  letter-spacing: .4px;
}

/* Action buttons (cart / wishlist / compare) — floating glass bar */
.product-thumb .button-group {
  display: flex !important;
  gap: 8px !important;
  padding: 0 14px 16px !important;
  transform: translateY(6px);
  opacity: .92;
  transition: transform .5s var(--atl-ease), opacity .5s var(--atl-ease);
}
.product-thumb:hover .button-group {
  transform: translateY(0);
  opacity: 1;
}
.product-thumb .button-group button {
  border-radius: 12px !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Product label — 3D ribbon */
.product-label {
  transform: translateZ(30px);
  animation: atlLabelFloat 4s ease-in-out infinite;
}
@keyframes atlLabelFloat {
  0%, 100% { transform: translateY(0) translateZ(30px); }
  50%      { transform: translateY(-3px) translateZ(30px); }
}

/* -----------------------------------------------------------
   Category tiles V2 — isometric depth + parallax feel
   ----------------------------------------------------------- */
.journal-category-grid .category-item,
.category-item {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #FFEAD4 100%) !important;
}
.journal-category-grid .category-item::after,
.category-item::after {
  content: "";
  position: absolute;
  inset: auto 10% -16px 10%;
  height: 24px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(10,17,40,.3), transparent 70%);
  filter: blur(12px);
  opacity: .55;
  transition: opacity .5s var(--atl-ease), transform .5s var(--atl-ease);
  z-index: -1;
}
.journal-category-grid .category-item:hover::after,
.category-item:hover::after {
  opacity: .85;
  transform: translateY(6px) scale(1.1);
}
.journal-category-grid .category-item img,
.category-item img {
  transition: transform .8s var(--atl-ease), filter .8s var(--atl-ease);
}
.journal-category-grid .category-item:hover img,
.category-item:hover img {
  transform: scale(1.08) translateZ(0);
  filter: saturate(1.1);
}

/* -----------------------------------------------------------
   Section dividers — elegant gold thread with diamond
   ----------------------------------------------------------- */
.atl-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px auto 24px;
  max-width: 320px;
  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;
}

/* -----------------------------------------------------------
   Announcement / marquee — gold particle shimmer stronger
   ----------------------------------------------------------- */
.announcement,
.notice-bar,
.header-notice,
.top-notice {
  letter-spacing: .3px;
  padding: 10px 14px !important;
  background:
    linear-gradient(135deg, #0a1128 0%, #1b2449 60%, #2b2f63 100%) !important;
}
.announcement::before,
.notice-bar::before,
.header-notice::before,
.top-notice::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(3px 3px at 10% 50%, rgba(253,210,170,.9), transparent 60%),
    radial-gradient(2px 2px at 30% 20%, rgba(253,210,170,.8), transparent 60%),
    radial-gradient(2px 2px at 55% 70%, rgba(253,210,170,.8), transparent 60%),
    radial-gradient(3px 3px at 80% 40%, rgba(253,210,170,.85), transparent 60%),
    radial-gradient(2px 2px at 92% 60%, rgba(253,210,170,.8), transparent 60%);
  opacity: .55;
  animation: atlSparkle 5s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes atlSparkle {
  0%   { transform: translateX(-4%); opacity: .35; }
  100% { transform: translateX( 4%); opacity: .7; }
}

/* -----------------------------------------------------------
   Stat / counter blocks — 3D tile with animated number
   ----------------------------------------------------------- */
.atl-counter {
  font-weight: 900;
  background: var(--atl-grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.2em;
  line-height: 1;
  letter-spacing: .5px;
  text-shadow: 0 10px 20px rgba(242,106,27,.25);
}

/* -----------------------------------------------------------
   Cart drawer / quickview — luxury glass
   ----------------------------------------------------------- */
.journal-cart-drawer,
.cart-drawer,
#cart-drawer,
.quickview .modal-content {
  border-radius: var(--atl-radius-lg) !important;
  box-shadow: 0 50px 100px rgba(10,17,40,.45) !important;
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(242,106,27,.25) !important;
}

/* -----------------------------------------------------------
   Scroll-to-top auto-injected (when theme has none)
   ----------------------------------------------------------- */
.atl-scroll-top {
  position: fixed;
  bottom: 26px;
  inset-inline-end: 26px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--atl-grad-gold);
  color: var(--atl-ink);
  display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 16px 40px rgba(242,106,27,.45), inset 0 2px 0 rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.6);
  cursor: pointer;
  z-index: 9990;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(.9);
  transition: transform .5s var(--atl-ease), opacity .5s var(--atl-ease), box-shadow .5s var(--atl-ease);
  font-size: 22px;
  line-height: 1;
}
body.atl-scrolled .atl-scroll-top {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.atl-scroll-top:hover {
  transform: translateY(-6px) rotate(-10deg) !important;
  box-shadow: 0 22px 50px rgba(242,106,27,.6);
}
.atl-scroll-top::before {
  content: "";
  width: 14px; height: 14px;
  border-top: 3px solid var(--atl-ink);
  border-inline-start: 3px solid var(--atl-ink);
  transform: rotate(45deg) translate(3px, 3px);
  border-radius: 2px;
}

/* -----------------------------------------------------------
   Header V2 — premium gold underline accent on scroll
   ----------------------------------------------------------- */
body.atl-scrolled header {
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(242,106,27,.25);
}

/* -----------------------------------------------------------
   Breadcrumbs — slim luxury
   ----------------------------------------------------------- */
.breadcrumb {
  background: transparent !important;
  border: none !important;
  padding: 14px 0 !important;
}
.breadcrumb > li + li::before {
  content: "◆" !important;
  color: var(--atl-gold) !important;
  opacity: .7;
  padding: 0 8px !important;
}
.breadcrumb a { color: var(--atl-ink) !important; opacity: .8; }
.breadcrumb a:hover { color: #7A3609 !important; opacity: 1; }

/* -----------------------------------------------------------
   Newsletter / CTA — shimmering gold border
   ----------------------------------------------------------- */
.newsletter-module,
.journal-newsletter-module {
  position: relative;
  padding: 28px !important;
}
.newsletter-module::before,
.journal-newsletter-module::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(130deg, rgba(242,106,27,.0), rgba(242,106,27,.7), rgba(242,106,27,0));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  animation: atlFrameShift 7s linear infinite;
  background-size: 300% 300%;
}
@keyframes atlFrameShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* -----------------------------------------------------------
   Mobile polish V2
   ----------------------------------------------------------- */
@media (max-width: 767px) {
  .atl-ambient::before { width: 320px; height: 320px; filter: blur(40px); }
  .atl-ambient::after  { width: 360px; height: 360px; filter: blur(40px); }
  .product-thumb:hover { transform: translateY(-6px) !important; }
  .atl-scroll-top { width: 46px; height: 46px; bottom: 18px; inset-inline-end: 18px; }
}

/* =============================================================
   Atl Topbar Lux (RTL-friendly premium top bar)
   ============================================================= */
#top.atl-topbar-lux {
  background: linear-gradient(120deg, #060b1f 0%, #0e1a3f 58%, #1a2a5f 100%);
  border-bottom: 1px solid rgba(242,106,27, 0.3);
  box-shadow: 0 12px 35px rgba(6, 11, 31, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#top.atl-topbar-lux::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 80% at 0% 10%, rgba(242,106,27, 0.18), transparent 62%),
    radial-gradient(45% 70% at 100% 100%, rgba(90, 120, 190, 0.2), transparent 65%);
}

#top.atl-topbar-lux .container {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}

#top.atl-topbar-lux .atl-top-links {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#top.atl-topbar-lux .atl-top-links > .atl-top-item {
  padding: 0;
}

#top.atl-topbar-lux .atl-top-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #edf2ff !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.15px;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, color 0.28s ease, background 0.28s ease;
}

#top.atl-topbar-lux .atl-top-link i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
}

#top.atl-topbar-lux .atl-top-link:hover,
#top.atl-topbar-lux .atl-top-item.open > .atl-top-link {
  transform: translateY(-2px);
  color: #ffe6a0 !important;
  border-color: rgba(242,106,27, 0.64);
  background: linear-gradient(135deg, rgba(242,106,27, 0.22), rgba(255, 255, 255, 0.08));
  box-shadow: 0 10px 22px rgba(242,106,27, 0.22);
}

#top.atl-topbar-lux .atl-top-link--checkout {
  color: #1b1720 !important;
  background: linear-gradient(135deg, #f5df9a 0%, #d7af42 45%, #b98824 100%);
  border-color: rgba(255, 243, 205, 0.65);
  box-shadow: 0 10px 26px rgba(242,106,27, 0.4);
}

#top.atl-topbar-lux .atl-top-link--checkout i {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(126, 88, 20, 0.28);
}

#top.atl-topbar-lux .atl-top-link--checkout:hover {
  color: #111 !important;
  background: linear-gradient(135deg, #fae8ad 0%, #ddb34a 52%, #c38e2d 100%);
  box-shadow: 0 14px 28px rgba(242,106,27, 0.5);
}

#top.atl-topbar-lux .atl-top-item--contact .atl-top-link {
  border-color: rgba(132, 196, 255, 0.5);
}

#top.atl-topbar-lux .dropdown-menu {
  margin-top: 10px !important;
  border-radius: 14px;
  border: 1px solid rgba(242,106,27, 0.25);
  box-shadow: 0 18px 42px rgba(6, 11, 31, 0.26);
  padding: 8px 0;
}

#top.atl-topbar-lux .dropdown-menu .atl-top-item {
  display: block;
}

#top.atl-topbar-lux .dropdown-menu .atl-top-link {
  width: 100%;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #0f1937 !important;
  font-weight: 600;
  padding: 9px 16px;
  transform: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#top.atl-topbar-lux .dropdown-menu .atl-top-link:hover {
  color: #7A3609 !important;
  background: rgba(242,106,27, 0.14);
}

[dir="rtl"] #top.atl-topbar-lux .atl-top-link {
  letter-spacing: 0;
}

@media (max-width: 991px) {
  #top.atl-topbar-lux .container {
    display: block;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  #top.atl-topbar-lux #top-links {
    float: none !important;
    margin-top: 8px;
  }

  #top.atl-topbar-lux .atl-top-links {
    justify-content: center;
    gap: 7px;
  }

  #top.atl-topbar-lux .atl-top-link {
    padding: 7px 11px;
    font-size: 12px;
  }
}

