/* ============================================================
   ASTROBHARAT — PREMIUM DESIGN SYSTEM
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────── */
:root {
  --gold:        #c8a96e;
  --gold-light:  #dfc08a;
  --gold-dark:   #9a7440;
  --gold-grad:   linear-gradient(135deg, #c8a96e 0%, #e8c98e 50%, #c8a96e 100%);
  --purple-deep: #1a0a2e;
  --purple-mid:  #2d1052;
  --purple-soft: #3a1570;
  --cream:       #f9f4ef;
  --cream-dark:  #f0e8dc;
  --dark:        #1c1c1c;
  --text-muted:  #777;
  --white:       #ffffff;
  --shadow-sm:   0 2px 10px rgba(0,0,0,.08);
  --shadow-md:   0 8px 30px rgba(0,0,0,.12);
  --shadow-lg:   0 15px 50px rgba(0,0,0,.18);
  --shadow-gold: 0 8px 30px rgba(200,169,110,.25);
  --radius:      10px;
  --radius-lg:   16px;
  --transition:  all .3s cubic-bezier(.4,0,.2,1);
}

/* ── Global Resets ─────────────────────────────────────── */
* { box-sizing: border-box; }
body { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; }
a { transition: var(--transition); }
img { max-width: 100%; }

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Selection ──────────────────────────────────────────── */
::selection { background: var(--gold); color: #fff; }

/* ============================================================
   HEADER TOPBAR
   ============================================================ */
.as_info_detail {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-mid) 100%);
  padding: 10px 0;
  border-bottom: 1px solid rgba(200,169,110,.2);
  position: relative;
  overflow: hidden;
}

.as_info_detail::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a96e' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.as_info_detail ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.as_info_detail ul li { display: inline-flex; align-items: center; }

.as_info_detail .as_infobox {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  padding: 4px 14px 4px 8px;
  border-radius: 20px;
  transition: var(--transition);
  border: 1px solid rgba(200,169,110,0);
}

.as_info_detail a:hover .as_infobox {
  color: var(--gold-light);
  border-color: rgba(200,169,110,.3);
  background: rgba(200,169,110,.08);
  transform: none;
}

.as_infoicon {
  width: 30px;
  height: 30px;
  background: rgba(200,169,110,.15);
  border: 1px solid rgba(200,169,110,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.as_info_detail a:hover .as_infoicon {
  background: var(--gold);
  border-color: var(--gold);
}

/* Topbar right */
.as_info_detail .as_right_info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

/* Topbar social icons */
.topbar-social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.topbar-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

/* Topbar search */
.as_search_wrapper {
  position: relative;
}

.as_search_wrapper .form-control {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(200,169,110,.3);
  border-radius: 20px;
  color: #fff;
  padding: 5px 35px 5px 15px;
  font-size: 12px;
  height: 34px;
  width: 200px;
  transition: var(--transition);
}

.as_search_wrapper .form-control::placeholder { color: rgba(255,255,255,.45); }
.as_search_wrapper .form-control:focus {
  background: rgba(255,255,255,.15);
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200,169,110,.15);
  color: #fff;
  width: 240px;
}

.as_search_wrapper button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: .6;
  color: #fff;
  transition: var(--transition);
  line-height: 1;
}
.as_search_wrapper button:hover { opacity: 1; }
.as_search_wrapper button i { font-size: 13px; }

/* Topbar user */
.as_info_detail .as_user {
  display: flex;
  align-items: center;
}

/* User dropdown */
.as_user_dropdown {
  position: relative;
  display: inline-block;
}

.as_logged_user {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 12px 4px 4px;
  border-radius: 25px;
  border: 1px solid rgba(200,169,110,.35);
  transition: var(--transition);
}

.as_logged_user:hover {
  background: rgba(200,169,110,.1);
  border-color: var(--gold);
}

.as_logged_user img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.as_logged_user span {
  font-size: 13px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}

.as_logged_user::after {
  content: '▾';
  color: var(--gold);
  font-size: 10px;
  margin-left: 2px;
}

.as_user_dropdown .dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 190px;
  background: #fff;
  border: none;
  border-radius: var(--radius);
  z-index: 9999;
  padding: 8px 0;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
}

.as_user_dropdown .dropdown-menu::before {
  content: '';
  position: absolute;
  top: -8px; right: 18px;
  border: 5px solid transparent;
  border-bottom-color: var(--gold);
  border-top: none;
}

.as_user_dropdown:hover .dropdown-menu { display: block; animation: dropFade .2s ease; }

@keyframes dropFade {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}

.as_user_dropdown .dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  color: #444;
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition);
}

.as_user_dropdown .dropdown-menu a i {
  width: 16px;
  color: var(--gold);
  font-size: 13px;
}

.as_user_dropdown .dropdown-menu a:hover {
  background: var(--cream);
  color: var(--gold);
  padding-left: 22px;
}

.as_user_dropdown .dropdown-menu a.admin-link {
  color: var(--gold);
  font-weight: 600;
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
}

/* Guest user icon */
.as_guest_btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px 5px 6px;
  border-radius: 25px;
  background: rgba(200,169,110,.12);
  border: 1px solid rgba(200,169,110,.35);
  color: rgba(255,255,255,.85);
  font-size: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.as_guest_btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.as_guest_btn img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(200,169,110,.5);
}
.as_guest_btn i {
  font-size: 18px;
  color: var(--gold-light);
  transition: var(--transition);
}
.as_guest_btn:hover i { color: #fff; }

/* ============================================================
   MAIN HEADER / NAVBAR
   ============================================================ */
.as_header_wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

.as_header_wrapper > .container {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* Logo */
.as_logo { padding: 0; }
.as_logo a { display: inline-block; }
.as_logo img {
  height: 52px;
  transition: var(--transition);
}
.as_logo a:hover img { opacity: .85; transform: scale(1.02); }

/* Nav menu */
.as_menu ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 3px; }
.as_menu ul li { position: relative; }

.as_menu ul li > a {
  display: block;
  padding: 10px 13px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}

.as_menu ul li > a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
  border-radius: 1px;
}

.as_menu ul li > a:hover { color: var(--gold); }
.as_menu ul li > a:hover::after { transform: scaleX(1); }
.as_menu ul li > a.active { color: var(--gold); }
.as_menu ul li > a.active::after { transform: scaleX(1); }

/* Submenu */
.as_submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  border-top: 3px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
  list-style: none !important;
}

.as_menu ul li:hover .as_submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.as_submenu li a {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 9px 18px !important;
  color: #444 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  border-radius: 0 !important;
  text-decoration: none;
}

.as_submenu li a::before {
  content: '›';
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
}

.as_submenu li a::after { display: none !important; }
.as_submenu li a:hover { background: var(--cream) !important; color: var(--gold) !important; padding-left: 24px !important; }

/* Cart icon */
.as_cart_wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.as_cart_wrapper > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(200,169,110,.3);
  position: relative;
  transition: var(--transition);
}

.as_cart_wrapper > a:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.as_cart_wrapper > a:hover img { filter: brightness(0) invert(1); }

.as_cartnumber {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #c8a96e, #e8c98e);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(200,169,110,.4);
}

/* Mini cart dropdown */
.as_cart_box {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 310px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 9999;
}

.as_cart:hover .as_cart_box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.as_cart_list ul { list-style: none; padding: 0; margin: 0; }
.as_cart_list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.as_cart_img img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eee;
}

.as_cart_info a {
  font-size: 13px;
  color: #333;
  font-weight: 500;
  display: block;
  margin-bottom: 3px;
  text-decoration: none;
}
.as_cart_info a:hover { color: var(--gold); }
.as_cart_info p { font-size: 12px; color: var(--gold); margin: 0; font-weight: 600; }
.as_cart_remove { font-size: 11px !important; color: #ccc !important; margin-top: 4px; display: inline-block; }
.as_cart_remove:hover { color: #e74c3c !important; }

.as_cart_btn {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.as_cart_btn .as_btn {
  flex: 1;
  text-align: center;
  font-size: 12px;
  padding: 8px 10px;
}

/* Wishlist / cart icon link */
.as_wishlist {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(200,169,110,.3);
  margin-right: 8px;
  transition: var(--transition);
}
.as_wishlist:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.as_wishlist:hover img { filter: brightness(0) invert(1); }

/* ============================================================
   PREMIUM BUTTONS
   ============================================================ */
.as_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 28px;
  background: var(--gold-grad);
  background-size: 200% auto;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(200,169,110,.3);
  position: relative;
  overflow: hidden;
}

.as_btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transition: left .5s;
}

.as_btn:hover {
  background-position: right center;
  box-shadow: 0 6px 25px rgba(200,169,110,.45);
  transform: translateY(-2px);
  color: #fff !important;
}

.as_btn:hover::before { left: 100%; }

.as_btn:active { transform: translateY(0); }

/* Outline button variant */
.as_btn_outline {
  background: transparent;
  color: var(--gold) !important;
  border: 2px solid var(--gold);
  box-shadow: none;
}

.as_btn_outline:hover {
  background: var(--gold-grad);
  color: #fff !important;
  border-color: transparent;
}

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.as_heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  position: relative;
}

.as_heading::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold-grad);
  border-radius: 2px;
  margin-top: 10px;
}

.as_heading_center::after { margin: 10px auto 0; }

/* ============================================================
   PREMIUM CARDS — SERVICE BOXES
   ============================================================ */
.as_service_box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,169,110,.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.as_service_box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.as_service_box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(200,169,110,.2);
}

.as_service_box:hover::before { transform: scaleX(1); }

.as_service_box .as_icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(200,169,110,.1), rgba(200,169,110,.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
  border: 2px solid rgba(200,169,110,.2);
}

.as_service_box:hover .as_icon {
  background: var(--gold-grad);
  border-color: transparent;
  transform: rotate(10deg) scale(1.1);
}

.as_service_box:hover .as_icon img { filter: brightness(0) invert(1); }

/* ============================================================
   PREMIUM CARDS — SIGN / HOROSCOPE BOXES
   ============================================================ */
.as_sign_box {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 10px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,169,110,.1);
  transition: var(--transition);
  cursor: pointer;
}

.as_sign_box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(135deg, #fff8ed, #fff);
  border-color: rgba(200,169,110,.3);
}

.as_sign_box .as_sign {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 12px;
  background: var(--cream);
  border-radius: 50%;
  border: 2px solid rgba(200,169,110,.15);
  transition: var(--transition);
}

.as_sign_box:hover .as_sign {
  background: var(--gold-grad);
  border-color: transparent;
}

.as_sign_box:hover .as_sign img { filter: brightness(0) invert(1); }

.as_sign_box h5 {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin: 0 0 3px;
  transition: var(--transition);
}

.as_sign_box:hover h5 { color: var(--gold); }
.as_sign_box p { font-size: 11px; color: var(--text-muted); margin: 0; }

/* ============================================================
   PREMIUM CARDS — TEAM / ASTROLOGER BOXES
   ============================================================ */
.as_team_box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 20px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,169,110,.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.as_team_box::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transition: var(--transition);
}

.as_team_box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(200,169,110,.25);
}

.as_team_box:hover::after { transform: scaleX(1); }

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(200,169,110,.15);
  transition: var(--transition);
}

.as_team_box:hover .team-avatar {
  box-shadow: 0 0 0 6px rgba(200,169,110,.2);
  transform: scale(1.05);
}

.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   PREMIUM CARDS — PRODUCT BOXES
   ============================================================ */
.as_product_box {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,169,110,.08);
  transition: var(--transition);
}

.as_product_box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(200,169,110,.2);
}

.as_product_img {
  position: relative;
  overflow: hidden;
}

.as_product_img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .5s ease;
}

.as_product_box:hover .as_product_img img { transform: scale(1.07); }

.as_product_img ul {
  position: absolute;
  bottom: -50px;
  left: 0; right: 0;
  list-style: none;
  padding: 10px;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
}

.as_product_box:hover .as_product_img ul { bottom: 0; }

.as_product_img ul li a {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  color: #333;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.as_product_img ul li a:hover {
  background: var(--gold);
  color: #fff;
}

.as_product_img ul li a img { width: 14px; height: 14px; }

.as_product_detail {
  padding: 15px 18px 18px;
}

.as_price {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}

.as_price del {
  color: #bbb;
  font-size: 13px;
  font-weight: 400;
  margin-left: 5px;
}

/* ============================================================
   BLOG BOXES
   ============================================================ */
.as_blog_box {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,169,110,.08);
  transition: var(--transition);
}

.as_blog_box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(200,169,110,.2);
}

.as_blog_img { position: relative; overflow: hidden; }
.as_blog_img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .5s ease;
}

.as_blog_box:hover .as_blog_img img { transform: scale(1.06); }

.as_blog_img .as_btn {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 11px;
  padding: 5px 12px;
}

.as_blog_detail {
  padding: 18px;
}

.as_blog_detail ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.as_blog_detail ul li a {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.as_blog_detail ul li a:hover { color: var(--gold); }

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,169,110,.08);
  transition: var(--transition);
  position: relative;
  text-align: center;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 60px;
  line-height: 1;
  color: rgba(200,169,110,.15);
  font-family: Georgia, serif;
  font-weight: 700;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(200,169,110,.2);
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(200,169,110,.12);
}

.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-stars { margin-bottom: 10px; }
.testimonial-text {
  font-size: 13px;
  font-style: italic;
  color: #555;
  line-height: 1.7;
  margin: 10px 0;
}
.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  margin: 8px 0 3px;
}
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.as_about_detail {
  padding: 20px 0 20px 20px;
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow-sm);
  border: 2px solid rgba(200,169,110,.12);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.pricing-card.popular {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple-soft));
  border-color: var(--gold);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -28px;
  background: var(--gold-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 35px;
  transform: rotate(45deg);
  letter-spacing: .5px;
}

/* ============================================================
   CONTACT INFO CARDS
   ============================================================ */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,169,110,.1);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-info-card:hover {
  box-shadow: var(--shadow-gold);
  border-color: rgba(200,169,110,.25);
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gold-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(200,169,110,.3);
  font-size: 18px;
  color: #fff;
}

/* ============================================================
   STAT / COUNTER BOXES
   ============================================================ */
.stat-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200,169,110,.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold-grad);
}

.stat-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
}

/* ============================================================
   FORM STYLES
   ============================================================ */
.form-control {
  border-radius: 6px;
  border: 1.5px solid #e0e0e0;
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
  height: auto;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,169,110,.12);
  outline: none;
}

.form-group label {
  font-weight: 600;
  color: #444;
  font-size: 14px;
  margin-bottom: 6px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.as_breadcrum_wrapper {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-mid) 60%, var(--purple-soft) 100%);
  padding: 55px 0;
  position: relative;
  overflow: hidden;
}

.as_breadcrum_wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(200,169,110,.08) 0%, transparent 60%);
}

.as_breadcrum_wrapper h1 {
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.breadcrumb li {
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

.breadcrumb li + li::before {
  content: '›';
  color: var(--gold);
  padding-right: 8px;
  font-size: 16px;
}

.breadcrumb li a {
  color: var(--gold-light);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb li a:hover { color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.as_footer_wrapper {
  background: linear-gradient(180deg, var(--purple-deep) 0%, #0d0620 100%);
  position: relative;
}

.as_footer_widget h3.as_footer_heading {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}

.as_footer_heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 35px;
  height: 2px;
  background: var(--gold-grad);
  border-radius: 2px;
}

.as_footer_widget ul { list-style: none; padding: 0; margin: 0; }
.as_footer_widget ul li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.as_footer_widget ul li a {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
  padding: 2px 0;
}

.as_footer_widget ul li a::before {
  content: '›';
  color: var(--gold);
  font-size: 14px;
  transition: var(--transition);
}

.as_footer_widget ul li a:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.as_footer_widget p { color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.8; }

.as_contact_list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0 !important;
  border: none !important;
}

.as_contact_list li img { width: 16px; margin-top: 2px; opacity: .7; }
.as_contact_list li a { color: rgba(255,255,255,.6) !important; }
.as_contact_list li a:hover { color: var(--gold-light) !important; }
.as_contact_list li a::before { display: none !important; }
.as_contact_list li p { color: rgba(255,255,255,.55); margin: 0; font-size: 13px; }

/* Footer social */
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(200,169,110,.35);
}

/* Newsletter */
.as_newsletter_wrapper .as_newsletter_box {
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(200,169,110,.3);
  margin-top: 12px;
}

.as_newsletter_box .form-control {
  background: rgba(255,255,255,.08);
  border: none;
  color: #fff;
  border-radius: 0;
  flex: 1;
  height: 44px;
}

.as_newsletter_box .form-control::placeholder { color: rgba(255,255,255,.4); }
.as_newsletter_box .form-control:focus {
  background: rgba(255,255,255,.12);
  box-shadow: none;
}

.as_newsletter_box .as_btn {
  border-radius: 0;
  padding: 0 16px;
  height: 44px;
  box-shadow: none;
}

.as_newsletter_box .as_btn:hover { transform: none; }

/* Zodiac finder in footer */
.as_know_sign_wrapper {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.as_know_sign_wrapper .as_heading { color: #fff; }
.as_know_sign_wrapper .as_heading::after { background: var(--gold-grad); }

.as_sign_form ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0; margin: 0;
}

.as_sign_form .as_select_box .form-control {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(200,169,110,.3);
  color: #fff;
  height: 44px;
  min-width: 120px;
}

.as_sign_form .as_select_box .form-control option { color: #333; }

/* Copyright */
.as_copyright_wrapper {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 10px;
}

.as_copyright_wrapper p {
  color: rgba(255,255,255,.45);
  font-size: 13px;
  margin: 0;
}

.as_copyright_wrapper a {
  color: var(--gold) !important;
  text-decoration: none;
}

.as_copyright_wrapper a:hover { color: var(--gold-light) !important; }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-msg {
  padding: 12px 20px;
  margin: 12px 0;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn .3s ease;
}

@keyframes slideIn {
  from { transform: translateY(-10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.flash-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.flash-error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.flash-info    { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.section-cream { background: var(--cream); }
.section-dark  { background: linear-gradient(135deg, var(--purple-deep), var(--purple-mid)); }

/* ============================================================
   LINK STYLE
   ============================================================ */
.as_link {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.as_link:hover { color: var(--gold-dark); gap: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .as_info_detail { display: none; }
  .as_header_wrapper > .container { padding: 10px 15px; }
  .as_menu { display: none; }
  .as_menu.open {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 280px;
    height: 100vh;
    background: var(--purple-deep);
    overflow-y: auto;
    z-index: 9999;
    padding: 20px 0;
    box-shadow: 5px 0 30px rgba(0,0,0,.3);
  }
  .as_menu.open ul { flex-direction: column; gap: 0; padding: 0 15px; }
  .as_menu.open ul li > a { color: rgba(255,255,255,.85); padding: 12px 10px; }
  .as_menu.open ul li > a::after { display: none; }
  .as_menu.open ul li > a:hover { color: var(--gold); background: rgba(200,169,110,.1); border-radius: 6px; }
  .as_submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; background: rgba(0,0,0,.2); border-radius: 6px; margin: 5px 0 10px 10px; }
  .as_submenu li a { color: rgba(255,255,255,.65) !important; }
}

@media (max-width: 767px) {
  .as_heading { font-size: 24px; }
  .as_breadcrum_wrapper h1 { font-size: 26px; }
  .as_sign_form ul { flex-direction: column; align-items: stretch; }
  .as_search_wrapper .form-control { width: 160px; }
}

/* ============================================================
   LOADER
   ============================================================ */
.as_loader {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--purple-deep);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease;
}

/* ============================================================
   STAR RATING
   ============================================================ */
.as_rating img { width: 14px; height: 14px; }

/* ============================================================
   ASTROBHARAT PREMIUM REFRESH
   Final overrides for shared layout, color, motion, and mobile.
   ============================================================ */

:root {
  --primary-color: #62594e;
  --secondary-color: #d6ad62;
  --dark-color1: #171221;
  --dark-color2: #163f3b;
  --white-color: #fff8ed;

  --gold: #d6ad62;
  --gold-light: #f0d38d;
  --gold-dark: #9b6b29;
  --gold-grad: linear-gradient(135deg, #9b6b29 0%, #d6ad62 45%, #fff0ae 58%, #b57b2b 100%);
  --purple-deep: #171221;
  --purple-mid: #241631;
  --purple-soft: #46233f;
  --cream: #f5eadb;
  --cream-dark: #ead8bf;
  --dark: #221b17;
  --text-muted: #766b60;
  --white: #fff8ed;

  --ab-bg: #f3e7d5;
  --ab-bg-soft: #f8efdf;
  --ab-surface: #fff6e8;
  --ab-surface-strong: #fffaf1;
  --ab-panel: #ead8bf;
  --ab-ink: #14111d;
  --ab-text: #342b22;
  --ab-muted: #75695d;
  --ab-teal: #143f3b;
  --ab-rose: #8f405d;
  --ab-border: rgba(110, 78, 36, .18);
  --ab-border-strong: rgba(214, 173, 98, .42);
  --ab-shadow: 0 16px 42px rgba(45, 30, 18, .12);
  --ab-shadow-hover: 0 24px 60px rgba(76, 50, 24, .18);
  --ab-glow: 0 12px 34px rgba(214, 173, 98, .28);
  --radius: 8px;
  --radius-lg: 10px;
  --transition: all .28s cubic-bezier(.2, .8, .2, 1);
}

html {
  background: var(--ab-bg);
}

body {
  background-color: var(--ab-bg) !important;
  background-image:
    linear-gradient(180deg, rgba(255, 250, 241, .84) 0%, rgba(243, 231, 213, .94) 46%, rgba(238, 221, 198, .98) 100%),
    repeating-linear-gradient(135deg, rgba(111, 80, 36, .035) 0 1px, transparent 1px 18px);
  color: var(--ab-text);
  font-family: 'Lato', 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0;
}

body.as_menu_is_open {
  overflow: hidden;
}

body.as_menu_is_open::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 10, 24, .56);
  backdrop-filter: blur(3px);
}

.as_main_wrapper {
  background: transparent;
  overflow: hidden;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.text-right { text-align: right !important; }
.text-left { text-align: left !important; }

@media (max-width: 575.98px) {
  .col-xs-1 { flex: 0 0 auto; width: 8.333333%; }
  .col-xs-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-xs-3 { flex: 0 0 auto; width: 25%; }
  .col-xs-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-xs-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-xs-6 { flex: 0 0 auto; width: 50%; }
  .col-xs-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-xs-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-xs-9 { flex: 0 0 auto; width: 75%; }
  .col-xs-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-xs-11 { flex: 0 0 auto; width: 91.666667%; }
  .col-xs-12 { flex: 0 0 auto; width: 100%; }
}

/* Header and topbar */
.as_header_wrapper {
  position: sticky !important;
  top: 0;
  z-index: 1100;
  background:
    linear-gradient(135deg, rgba(20, 17, 29, .98) 0%, rgba(21, 62, 58, .97) 52%, rgba(49, 25, 47, .98) 100%) !important;
  border-bottom: 1px solid rgba(214, 173, 98, .24);
  box-shadow: 0 10px 32px rgba(10, 8, 16, .2);
  backdrop-filter: blur(16px);
}

.as_header_wrapper.is_scrolled {
  box-shadow: 0 18px 44px rgba(10, 8, 16, .3);
}

.as_header_wrapper > .container {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.as_header_wrapper > .container > .row,
.as_info_detail .row {
  align-items: center;
}

.as_logo {
  display: flex;
  align-items: center;
  padding: 0;
}

.as_logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(214, 173, 98, .18));
}

.as_info_detail {
  display: block;
  position: relative;
  padding: 7px 0 !important;
  background:
    linear-gradient(90deg, #100d19 0%, #143d3a 48%, #21142e 100%) !important;
  border-bottom: 1px solid rgba(214, 173, 98, .18) !important;
  overflow: hidden;
}

.as_info_detail::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 56px);
  pointer-events: none;
}

.as_info_detail .container {
  position: relative;
  z-index: 1;
}

.as_info_detail ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
}

.as_info_detail ul li {
  padding: 0 !important;
}

.as_info_detail .as_infobox {
  min-height: 32px;
  padding: 4px 12px 4px 5px;
  color: rgba(255, 248, 237, .78);
  border: 1px solid rgba(214, 173, 98, .18);
  background: rgba(255, 248, 237, .045);
  border-radius: 999px;
}

.as_infoicon {
  width: 24px;
  height: 24px;
  background: rgba(214, 173, 98, .16);
  border-color: rgba(214, 173, 98, .32);
}

.as_info_detail a:hover .as_infobox {
  color: var(--gold-light);
  background: rgba(214, 173, 98, .11);
  border-color: rgba(214, 173, 98, .45);
}

.as_info_detail .as_right_info {
  gap: 10px;
  flex-wrap: wrap;
}

.topbar-social a,
.footer-social a {
  border-radius: 50%;
  background: rgba(255, 248, 237, .075);
  border-color: rgba(214, 173, 98, .22);
  color: rgba(255, 248, 237, .75);
}

.topbar-social a:hover,
.footer-social a:hover {
  background: var(--gold-grad);
  border-color: transparent;
  color: var(--ab-ink);
  transform: translateY(-2px);
  box-shadow: var(--ab-glow);
}

.as_header_wrapper > .container .as_right_info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-left: 0;
}

.as_menu_wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.as_menu ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.as_menu > ul > li {
  display: flex;
  align-items: center;
  margin: 0 !important;
  color: rgba(255, 248, 237, .86);
}

.as_menu ul li > a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 9px !important;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 248, 237, .86) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.as_menu ul li > a::before {
  display: none !important;
}

.as_menu ul li > a::after {
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  background: var(--gold-grad);
}

.as_menu ul li > a:hover,
.as_menu ul li > a.active {
  color: var(--gold-light) !important;
  background: rgba(255, 248, 237, .075);
  border-color: rgba(214, 173, 98, .24);
}

.as_has_submenu > a::after {
  right: 24px;
}

.as_has_submenu > a {
  padding-right: 24px !important;
}

.as_menu > ul > li.as_has_submenu > .as_submenu::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 22px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 8px solid var(--ab-surface-strong);
}

.as_menu > ul > li > .as_submenu {
  min-width: 210px;
  top: calc(100% + 12px);
  background: var(--ab-surface-strong) !important;
  border: 1px solid var(--ab-border);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  box-shadow: var(--ab-shadow-hover);
  padding: 8px;
}

.as_menu > ul > li:hover > .as_submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.as_submenu li a {
  min-height: 38px;
  color: var(--ab-text) !important;
  border-radius: 7px !important;
  padding: 9px 12px !important;
  font-weight: 700 !important;
}

.as_submenu li a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 6px;
}

.as_submenu li a:hover {
  background: rgba(214, 173, 98, .14) !important;
  color: var(--gold-dark) !important;
  padding-left: 16px !important;
}

.as_search_wrapper .form-control {
  height: 34px !important;
  width: 190px;
  background: rgba(255, 248, 237, .08) !important;
  color: #fff8ed !important;
  border: 1px solid rgba(214, 173, 98, .35) !important;
  border-radius: 999px !important;
  padding: 5px 34px 5px 14px !important;
}

.as_search_wrapper .form-control:focus {
  width: 218px;
  background: rgba(255, 248, 237, .13) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(214, 173, 98, .16) !important;
}

.as_search_wrapper button {
  color: var(--gold-light);
}

.as_guest_btn,
.as_logged_user {
  border-color: rgba(214, 173, 98, .35);
  background: rgba(255, 248, 237, .07);
  color: rgba(255, 248, 237, .9);
}

.as_guest_btn:hover,
.as_logged_user:hover {
  color: var(--ab-ink);
  background: var(--gold-grad);
}

.as_wishlist,
.as_cart_wrapper > a {
  width: 40px;
  height: 40px;
  margin: 0;
  border: 1px solid rgba(214, 173, 98, .32);
  background: rgba(255, 248, 237, .07);
}

.as_wishlist:hover,
.as_cart_wrapper > a:hover {
  background: var(--gold-grad);
  border-color: transparent;
  box-shadow: var(--ab-glow);
}

.as_wishlist img,
.as_cart_wrapper img,
.as_toggle img {
  filter: brightness(0) invert(1);
}

.as_cartnumber {
  color: var(--ab-ink);
  background: var(--gold-grad);
  border-color: var(--ab-ink);
}

.as_user_dropdown .dropdown-menu,
.as_cart_box {
  background: var(--ab-surface-strong) !important;
  border: 1px solid var(--ab-border);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  box-shadow: var(--ab-shadow-hover);
}

/* Hero and page banners */
.as_banner_wrapper {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 96px 0 120px !important;
  background-image:
    linear-gradient(112deg, rgba(18, 14, 27, .94) 0%, rgba(23, 18, 33, .86) 48%, rgba(20, 63, 59, .78) 100%),
    url('../images/bg1.jpg') !important;
  background-position: center;
  background-size: cover;
}

.as_banner_wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, rgba(255, 248, 237, .055) 0 1px, transparent 1px 72px);
  pointer-events: none;
}

.as_banner_wrapper::after {
  opacity: .35;
}

.as_banner_slider,
.as_banner_img,
.as_banner_detail {
  position: relative;
  z-index: 2;
}

.as_banner_detail h5 {
  color: var(--gold-light);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.as_banner_detail h1 {
  max-width: 620px;
  color: #fff8ed;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0;
}

.as_banner_detail p {
  max-width: 570px;
  color: rgba(255, 248, 237, .78);
  font-size: 16px;
  line-height: 1.8;
}

.as_banner_detail .as_btn {
  color: var(--ab-ink) !important;
  background: var(--gold-grad) !important;
}

.as_banner_img {
  filter: drop-shadow(0 24px 56px rgba(214, 173, 98, .18));
  animation: premiumFloat 5.8s ease-in-out infinite;
}

@keyframes premiumFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.as_breadcrum_wrapper {
  padding: 70px 0 62px !important;
  background:
    linear-gradient(125deg, rgba(18, 14, 27, .96) 0%, rgba(20, 63, 59, .9) 56%, rgba(70, 35, 63, .92) 100%) !important;
  border-bottom: 1px solid rgba(214, 173, 98, .22);
}

.as_breadcrum_wrapper::before {
  background: repeating-linear-gradient(115deg, rgba(255, 248, 237, .055) 0 1px, transparent 1px 76px);
}

.as_breadcrum_wrapper h1 {
  color: #fff8ed;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0;
}

.breadcrumb {
  justify-content: center;
}

.breadcrumb li,
.breadcrumb li a {
  color: rgba(255, 248, 237, .72);
}

.breadcrumb li a:hover {
  color: var(--gold-light);
}

/* Shared section and card polish */
.as_main_wrapper > section:not(.as_header_wrapper):not(.as_footer_wrapper):not(.as_banner_wrapper):not(.as_breadcrum_wrapper) {
  background-color: transparent;
}

.as_about_wrapper,
.as_horoscope_wrapper,
.as_service_wrapper,
.as_shop_wrapper,
.as_blog_wrapper,
.as_pricing_plan,
.as_contact_wrapper,
.as_appointment_wrapper,
.as_padderTop50.as_padderBottom80,
.as_padderTop60.as_padderBottom80,
.as_padderTop80.as_padderBottom80 {
  background:
    linear-gradient(180deg, rgba(255, 250, 241, .62), rgba(243, 231, 213, .78)) !important;
}

section[style*="background:#f9f4ef"],
section[style*="background: #f9f4ef"],
[style*="background:#f9f4ef"]:not(.as_btn),
[style*="background: #f9f4ef"]:not(.as_btn) {
  background:
    linear-gradient(180deg, rgba(234, 216, 191, .86), rgba(247, 236, 220, .92)) !important;
}

.as_heading {
  color: var(--ab-ink);
  font-size: 34px;
  line-height: 1.22;
  letter-spacing: 0;
}

.as_heading::after {
  height: 3px;
  background: var(--gold-grad);
  box-shadow: 0 7px 18px rgba(214, 173, 98, .22);
}

.as_subheading,
h1, h2, h3, h4, h5, h6 {
  color: var(--ab-ink);
  letter-spacing: 0;
}

p,
.as_font14,
.as_paragraph_wrapper p {
  color: var(--ab-muted);
}

.as_paragraph_wrapper {
  border-left-color: var(--gold);
}

.as_service_box,
.as_sign_box,
.as_team_box,
.as_product_box,
.as_blog_box,
.testimonial-card,
.pricing-card,
.contact-info-card,
.stat-box,
.as_pricing_box,
.as_counter_box,
.ad_login_box,
.modal-content,
.table,
[style*="background:#fff"]:not(.as_btn):not(.btn):not(a),
[style*="background: #fff"]:not(.as_btn):not(.btn):not(a),
[style*="background:#ffffff"]:not(.as_btn):not(.btn):not(a),
[style*="background: #ffffff"]:not(.as_btn):not(.btn):not(a) {
  background: linear-gradient(180deg, var(--ab-surface-strong), var(--ab-surface)) !important;
  border: 1px solid var(--ab-border) !important;
  box-shadow: var(--ab-shadow) !important;
}

.as_service_box,
.as_sign_box,
.as_team_box,
.as_product_box,
.as_blog_box,
.testimonial-card,
.pricing-card,
.contact-info-card,
.stat-box,
.as_pricing_box,
[style*="box-shadow:0 2px 15px"],
[style*="box-shadow:0 2px 10px"] {
  border-radius: 10px !important;
}

.as_service_box:hover,
.as_sign_box:hover,
.as_team_box:hover,
.as_product_box:hover,
.as_blog_box:hover,
.testimonial-card:hover,
.pricing-card:hover,
.contact-info-card:hover,
.stat-box:hover,
.as_pricing_box:hover {
  transform: translateY(-7px);
  border-color: var(--ab-border-strong) !important;
  box-shadow: var(--ab-shadow-hover) !important;
}

.as_service_box::before,
.as_team_box::after,
.testimonial-card::before,
.stat-box::before {
  background: var(--gold-grad);
}

.as_service_box .as_icon,
.as_sign_box .as_sign,
.contact-icon {
  background: linear-gradient(135deg, rgba(214, 173, 98, .16), rgba(143, 64, 93, .1));
  border-color: rgba(214, 173, 98, .26);
}

.as_product_img img,
.as_blog_img img {
  border-bottom: 1px solid var(--ab-border);
}

.as_product_img ul {
  background: linear-gradient(to top, rgba(20, 17, 29, .76), rgba(20, 17, 29, 0));
}

.as_product_img ul li a {
  color: var(--ab-ink);
  background: var(--ab-surface-strong);
}

.as_product_img ul li a:hover {
  color: var(--ab-ink);
  background: var(--gold-grad);
}

.as_price,
.testimonial-name,
.as_orange,
.as_gradient_text {
  color: var(--gold-dark) !important;
}

.star-rating {
  color: #c79335 !important;
}

.as_btn,
.as_btn:focus,
.as_btn:visited,
.btn-default {
  min-height: 44px;
  background: var(--gold-grad) !important;
  background-size: 180% auto !important;
  color: var(--ab-ink) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: var(--ab-glow);
}

.as_btn:hover,
.btn-default:hover {
  color: var(--ab-ink) !important;
  background-position: right center !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(214, 173, 98, .34);
}

.as_btn[style*="display:block"] {
  display: flex !important;
}

.as_link {
  color: var(--gold-dark);
  font-weight: 800;
}

.as_link:hover {
  color: var(--ab-rose);
}

/* Forms, tables, and utility components */
.form-control,
.select2-selection {
  min-height: 45px;
  background: rgba(255, 250, 241, .95) !important;
  border: 1px solid rgba(110, 78, 36, .2) !important;
  border-radius: 10px !important;
  color: var(--ab-text) !important;
  box-shadow: none !important;
}

.form-control:focus,
.select2-container--default .select2-selection--single:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 4px rgba(214, 173, 98, .14) !important;
}

.form-control::placeholder {
  color: rgba(117, 105, 93, .72);
}

.as_appointment_form {
  padding: 28px;
  background: linear-gradient(180deg, var(--ab-surface-strong), var(--ab-surface));
  border: 1px solid var(--ab-border);
  border-radius: 10px;
  box-shadow: var(--ab-shadow);
}

.as_appointment_form .form-group > span {
  top: 10px;
  opacity: .74;
}

.as_appointment_form textarea.form-control {
  border-radius: 10px !important;
}

.input-group .form-control {
  border-radius: 10px 0 0 10px !important;
}

.input-group .input-group-btn {
  display: flex;
}

.input-group .btn,
.input-group .btn-default {
  min-height: 45px;
  border-radius: 0 10px 10px 0 !important;
}

.table-responsive {
  border-radius: 10px;
  box-shadow: var(--ab-shadow);
}

.table {
  margin-bottom: 0;
  color: var(--ab-text);
  border-color: rgba(110, 78, 36, .14) !important;
  overflow: hidden;
}

.table thead,
.table thead[style*="background:#f9f4ef"],
.table tr[style*="background:#f9f4ef"],
thead[style*="background:#f9f4ef"],
tr[style*="background:#f9f4ef"] {
  background: linear-gradient(180deg, #ecdbc2, #e5cfac) !important;
  color: var(--ab-ink);
}

.table > :not(caption) > * > * {
  border-color: rgba(110, 78, 36, .14) !important;
}

.pagination,
.as_pagination ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 0;
  margin-top: 30px;
}

.pagination li,
.as_pagination ul li {
  list-style: none;
  margin: 0 !important;
  background: transparent !important;
}

.pagination li a,
.pagination li span,
.as_pagination ul li a,
.as_pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--ab-surface-strong);
  border: 1px solid var(--ab-border);
  color: var(--ab-text);
  box-shadow: 0 8px 20px rgba(45, 30, 18, .08);
}

.pagination li.active a,
.pagination li a:hover,
.as_pagination ul li.as_active,
.as_pagination ul li:hover a {
  background: var(--gold-grad) !important;
  color: var(--ab-ink) !important;
  border-color: transparent;
}

.label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px !important;
  border-radius: 999px !important;
  font-size: 12px;
  font-weight: 800;
}

.label-warning { background: #f1c46f; color: #3e2b0c; }
.label-info { background: #a8d8d2; color: #113a37; }
.label-success { background: #a9d8a8; color: #143a18; }
.label-danger { background: #eaa1a1; color: #4b1212; }

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 0;
  border-bottom: 1px solid var(--ab-border);
}

.nav-tabs > li {
  list-style: none;
}

.nav-tabs > li > a,
.nav-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--ab-border) !important;
  border-radius: 999px !important;
  color: var(--ab-text);
  background: var(--ab-surface);
  font-weight: 800;
}

.nav-tabs > li.active > a,
.nav-tabs > li > a.active,
.nav-tabs .nav-link.active,
.nav-tabs > li > a:hover,
.nav-tabs .nav-link:hover {
  color: var(--ab-ink) !important;
  background: var(--gold-grad) !important;
  border-color: transparent !important;
}

.tab-content > .tab-pane {
  display: none;
}

.tab-content > .active,
.tab-content > .show {
  display: block;
}

/* Pricing and account panels */
.as_pricing_box {
  padding: 34px 24px;
  position: relative;
  overflow: hidden;
}

.as_pricing_box::after {
  background: linear-gradient(180deg, rgba(214, 173, 98, .14), transparent) !important;
}

.as_pricing_popular {
  background:
    linear-gradient(145deg, rgba(20, 17, 29, .97), rgba(20, 63, 59, .92)) !important;
  color: #fff8ed !important;
  border-color: rgba(214, 173, 98, .55) !important;
}

.as_pricing_popular h1,
.as_pricing_popular li,
.as_pricing_popular .as_pricing {
  color: #fff8ed !important;
}

.as_pricing_popular .as_btn {
  background: var(--gold-grad) !important;
  color: var(--ab-ink) !important;
}

.as_counter_box {
  padding: 26px 16px;
  border-radius: 10px;
  transition: var(--transition);
}

.as_counter_box:hover {
  transform: translateY(-5px);
  box-shadow: var(--ab-shadow-hover) !important;
}

/* Login, signup, and password pages */
.as_login_wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 56px 0;
  background:
    linear-gradient(125deg, rgba(20, 17, 29, .92), rgba(20, 63, 59, .84)),
    url('../images/login_bg.jpg') center/cover no-repeat !important;
}

.ad_login_box {
  overflow: hidden;
  border-radius: 10px !important;
}

.as_login_slider {
  min-height: 560px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(145deg, rgba(20, 17, 29, .52), rgba(143, 64, 93, .22)),
    url('../images/login_bg.jpg') !important;
}

.as_login_img img {
  margin: 0 auto;
  filter: drop-shadow(0 24px 42px rgba(20, 17, 29, .2));
}

.as_login_detail {
  min-height: 560px;
  padding: 62px 38px !important;
  background: linear-gradient(180deg, var(--ab-surface-strong), var(--ab-surface));
}

.as_login_detail h1 {
  color: var(--ab-ink);
  font-family: 'Philosopher', serif;
  letter-spacing: 0;
}

.as_login_detail p,
.as_login_data label,
.as_login_data a {
  color: var(--ab-muted);
}

.as_login_detail > a img {
  max-height: 54px;
  margin: 0 auto;
}

/* Footer */
.as_footer_wrapper {
  background:
    linear-gradient(180deg, #171221 0%, #111625 48%, #0d211f 100%) !important;
  border-top: 1px solid rgba(214, 173, 98, .28);
}

.as_footer_wrapper::before,
.as_footer_wrapper::after {
  opacity: .18;
}

.as_know_sign_wrapper {
  margin-bottom: 16px;
  padding: 34px 28px !important;
  background: rgba(255, 248, 237, .055);
  border: 1px solid rgba(214, 173, 98, .2);
  border-radius: 10px;
}

.as_footer_inner {
  padding-top: 28px !important;
}

.as_footer_widget {
  margin-bottom: 28px;
}

.as_footer_widget h3.as_footer_heading,
.as_footer_heading,
.as_know_sign_wrapper .as_heading {
  color: #fff8ed !important;
}

.as_footer_widget p,
.as_contact_list li p,
.as_copyright_wrapper p {
  color: rgba(255, 248, 237, .62) !important;
}

.as_footer_widget ul li {
  border-bottom-color: rgba(255, 248, 237, .07);
}

.as_footer_widget ul li a {
  color: rgba(255, 248, 237, .68);
}

.as_footer_widget ul li a:hover {
  color: var(--gold-light) !important;
}

.as_newsletter_wrapper .as_newsletter_box {
  border-radius: 999px;
  border-color: rgba(214, 173, 98, .35);
}

.as_newsletter_box .form-control,
.as_sign_form .as_select_box .form-control,
.as_footer_wrapper .select2-selection {
  background: rgba(255, 248, 237, .08) !important;
  border-color: rgba(214, 173, 98, .3) !important;
  color: #fff8ed !important;
}

.as_newsletter_box .as_btn {
  min-width: 54px;
}

.as_copyright_wrapper {
  border-top-color: rgba(255, 248, 237, .08);
}

/* Responsive behavior */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .as_logo img {
    height: 36px;
  }

  .as_menu ul li > a {
    padding: 9px 5px !important;
    font-size: 12px;
  }

  .as_wishlist {
    display: none;
  }

  .as_header_wrapper > .container .as_right_info {
    gap: 6px;
  }
}

@media (max-width: 991.98px) {
  .as_info_detail {
    display: none !important;
  }

  .as_header_wrapper > .container {
    padding-top: 9px !important;
    padding-bottom: 9px !important;
  }

  .as_header_wrapper > .container > .row {
    flex-wrap: nowrap;
  }

  .as_header_wrapper > .container > .row > div:first-child {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
  }

  .as_header_wrapper > .container > .row > div:last-child {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }

  .as_logo img {
    height: 38px;
  }

  .as_toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(214, 173, 98, .35);
    border-radius: 50%;
    background: rgba(255, 248, 237, .08);
    cursor: pointer;
    position: relative;
    z-index: 1205;
  }

  .as_menu_wrapper .as_menu {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: min(86vw, 330px);
    height: 100vh;
    padding: 82px 16px 24px;
    background:
      linear-gradient(180deg, rgba(20, 17, 29, .98), rgba(20, 63, 59, .96)) !important;
    border-right: 1px solid rgba(214, 173, 98, .32);
    box-shadow: 18px 0 48px rgba(10, 8, 16, .38);
    transform: translateX(-105%);
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    z-index: 1200;
    transition: transform .32s cubic-bezier(.2, .8, .2, 1);
  }

  .as_menu_wrapper.menu_open .as_menu {
    transform: translateX(0);
  }

  .as_menu > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0;
  }

  .as_menu > ul > li {
    display: block;
    width: 100%;
    border: 0;
  }

  .as_menu > ul > li > a {
    justify-content: space-between;
    width: 100%;
    min-height: 46px;
    padding: 12px 14px !important;
    border-radius: 8px;
    color: rgba(255, 248, 237, .9) !important;
    background: rgba(255, 248, 237, .045);
    border-color: rgba(255, 248, 237, .08);
  }

  .as_menu > ul > li > a::after {
    display: none !important;
  }

  .as_menu ul li.as_submenu_li::after {
    display: none;
  }

  .as_menu > ul > li > .as_submenu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 6px 0 0;
    padding: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, .14) !important;
    border: 1px solid rgba(255, 248, 237, .08);
    box-shadow: none;
  }

  .as_menu > ul > li.as_has_submenu > .as_submenu::before {
    display: none !important;
  }

  .as_menu > ul > li > .as_submenu.active {
    display: block;
  }

  .as_submenu li a {
    color: rgba(255, 248, 237, .78) !important;
    background: transparent;
  }

  .as_submenu li a:hover {
    color: var(--gold-light) !important;
    background: rgba(214, 173, 98, .12) !important;
  }

  .as_wishlist {
    display: none;
  }

  .as_cart_box {
    right: -8px;
    width: min(92vw, 320px);
  }

  .as_banner_wrapper {
    min-height: auto;
    padding: 76px 0 86px !important;
  }

  .as_banner_detail h1 {
    font-size: 42px;
  }

  .as_banner_img {
    max-width: 430px;
    margin: 42px auto 0;
  }

  .as_about_detail {
    padding-left: 0;
  }

  .as_footer_widget,
  .as_footer_heading {
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .as_heading {
    font-size: 28px;
  }

  .as_banner_detail,
  .as_banner_wrapper {
    text-align: center;
  }

  .as_banner_detail h5 {
    font-size: 14px;
  }

  .as_banner_detail h1 {
    font-size: 34px;
    line-height: 1.16;
    margin-left: auto;
    margin-right: auto;
  }

  .as_banner_detail p {
    margin-left: auto;
    margin-right: auto;
  }

  .as_banner_img {
    max-width: 310px;
  }

  .as_breadcrum_wrapper {
    padding: 48px 0 !important;
  }

  .as_breadcrum_wrapper h1 {
    font-size: 28px;
  }

  .as_appointment_form,
  [style*="padding:35px"],
  [style*="padding:30px"],
  [style*="padding:25px"] {
    padding: 22px !important;
  }

  .as_contact_expert {
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .as_contact_expert .as_icon {
    width: 74px;
    height: 74px;
    margin-right: 0;
  }

  .as_contact_expert .as_icon::before {
    width: 74px;
    height: 74px;
  }

  .as_year_ex {
    font-size: 42px;
  }

  .as_product_img img,
  .as_blog_img img {
    height: 210px;
  }

  .as_sign_form ul {
    align-items: stretch;
  }

  .as_sign_form .as_form_box,
  .as_sign_form .as_select_box .form-control,
  .as_sign_form .as_btn {
    width: 100%;
  }

  .as_login_wrapper {
    padding: 24px 0;
  }

  .as_login_slider {
    min-height: 240px;
    border-radius: 10px 10px 0 0 !important;
  }

  .as_login_detail {
    min-height: auto;
    padding: 30px 22px !important;
  }

  .as_login_data {
    gap: 10px;
    text-align: left;
  }

  .table-responsive {
    box-shadow: none;
  }
}

@media (max-width: 575.98px) {
  .as_header_wrapper > .container .as_right_info {
    gap: 7px;
  }

  .as_cart_wrapper > a,
  .as_toggle {
    width: 38px;
    height: 38px;
  }

  .as_logo img {
    height: 34px;
  }

  .as_banner_detail h1 {
    font-size: 30px;
  }

  .as_product_img ul {
    position: static;
    background: var(--ab-ink);
    padding: 10px;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .as_copyright_wrapper p {
    line-height: 1.8;
  }
}

/* Search page */
.as_search_page {
  background: linear-gradient(180deg, rgba(255, 250, 241, .62), rgba(243, 231, 213, .78)) !important;
}

.site-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, var(--ab-surface-strong), var(--ab-surface));
  border: 1px solid var(--ab-border);
  border-radius: 10px;
  box-shadow: var(--ab-shadow);
}

.search-summary {
  margin: 24px 0 8px;
  color: var(--ab-muted);
}

.search-section {
  margin-top: 34px;
}

.search-section .as_heading {
  font-size: 26px;
  margin-bottom: 18px;
}

.search-result-card {
  display: block;
  height: calc(100% - 18px);
  margin-bottom: 18px;
  padding: 20px;
  background: linear-gradient(180deg, var(--ab-surface-strong), var(--ab-surface));
  border: 1px solid var(--ab-border);
  border-radius: 10px;
  color: var(--ab-text);
  box-shadow: var(--ab-shadow);
  transition: var(--transition);
}

.search-result-card:hover {
  color: var(--ab-text);
  transform: translateY(-5px);
  border-color: var(--ab-border-strong);
  box-shadow: var(--ab-shadow-hover);
}

.search-result-card.with-media {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.search-result-card img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--ab-border);
  flex: 0 0 86px;
}

.search-result-type {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-result-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
}

.search-result-card p {
  margin: 0;
  color: var(--ab-muted);
}

.search-empty {
  margin-top: 28px;
  padding: 42px 24px;
  background: linear-gradient(180deg, var(--ab-surface-strong), var(--ab-surface));
  border: 1px solid var(--ab-border);
  border-radius: 10px;
  box-shadow: var(--ab-shadow);
}

@media (max-width: 575.98px) {
  .site-search-form {
    grid-template-columns: 1fr;
  }

  .search-result-card.with-media {
    align-items: center;
  }

  .search-result-card img {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }
}

/* ============================================================
   COSMIC FINISH PASS
   Strong non-white astrology palette, visible popups, richer motion.
   ============================================================ */

:root {
  --primary-color: #d7c6aa;
  --secondary-color: #d6ad62;
  --white-color: #f3dfbd;
  --cream: #2a2030;
  --cream-dark: #382738;
  --dark: #f7e7c7;
  --text-muted: #c9b89c;
  --white: #f7e7c7;

  --ab-bg: #100d19;
  --ab-bg-soft: #181221;
  --ab-surface: #211828;
  --ab-surface-strong: #2c2031;
  --ab-panel: #3a2a34;
  --ab-ink: #fff2d2;
  --ab-text: #f3dfbd;
  --ab-muted: #c7b79b;
  --ab-teal: #143f3b;
  --ab-rose: #b96a7f;
  --ab-border: rgba(214, 173, 98, .22);
  --ab-border-strong: rgba(240, 211, 141, .55);
  --ab-shadow: 0 18px 48px rgba(0, 0, 0, .26);
  --ab-shadow-hover: 0 26px 70px rgba(0, 0, 0, .38), 0 0 28px rgba(214, 173, 98, .14);
  --ab-glow: 0 14px 38px rgba(214, 173, 98, .26);
  --cosmic-grad: linear-gradient(135deg, #120e1d 0%, #20152a 42%, #123b38 100%);
  --cosmic-card: linear-gradient(145deg, rgba(44, 32, 49, .96) 0%, rgba(30, 23, 36, .98) 52%, rgba(19, 49, 47, .9) 100%);
  --cosmic-card-soft: linear-gradient(145deg, rgba(55, 39, 52, .95) 0%, rgba(34, 25, 39, .96) 100%);
}

body {
  background-color: var(--ab-bg) !important;
  background-image:
    radial-gradient(circle at 8% 10%, rgba(214, 173, 98, .15), transparent 26rem),
    radial-gradient(circle at 88% 12%, rgba(20, 110, 100, .16), transparent 30rem),
    radial-gradient(circle at 50% 90%, rgba(185, 106, 127, .14), transparent 26rem),
    linear-gradient(180deg, #100d19 0%, #181221 45%, #111e20 100%) !important;
  color: var(--ab-text);
}

.as_main_wrapper {
  background:
    repeating-linear-gradient(115deg, rgba(247, 231, 199, .026) 0 1px, transparent 1px 64px),
    transparent;
}

body::selection,
::selection {
  background: rgba(214, 173, 98, .92);
  color: #120e1d;
}

.as_main_wrapper > section:not(.as_header_wrapper):not(.as_footer_wrapper):not(.as_banner_wrapper):not(.as_breadcrum_wrapper),
.as_about_wrapper,
.as_horoscope_wrapper,
.as_service_wrapper,
.as_shop_wrapper,
.as_blog_wrapper,
.as_pricing_plan,
.as_contact_wrapper,
.as_appointment_wrapper,
.as_search_page,
.as_counter_wrapper,
.as_team_wrapper,
.as_padderTop50.as_padderBottom80,
.as_padderTop60.as_padderBottom80,
.as_padderTop80.as_padderBottom80,
section[style*="background:#f9f4ef"],
section[style*="background: #f9f4ef"] {
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 173, 98, .08), transparent 28rem),
    radial-gradient(circle at 92% 18%, rgba(20, 110, 100, .12), transparent 28rem),
    linear-gradient(180deg, rgba(19, 15, 26, .98), rgba(23, 18, 31, .98)) !important;
}

.as_banner_wrapper {
  background-image:
    radial-gradient(circle at 18% 18%, rgba(214, 173, 98, .2), transparent 22rem),
    radial-gradient(circle at 82% 16%, rgba(20, 110, 100, .2), transparent 28rem),
    linear-gradient(112deg, rgba(15, 11, 23, .96) 0%, rgba(28, 18, 38, .9) 48%, rgba(13, 52, 49, .84) 100%),
    url('../images/bg1.jpg') !important;
}

.as_breadcrum_wrapper {
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 173, 98, .16), transparent 26rem),
    linear-gradient(125deg, rgba(15, 11, 23, .98) 0%, rgba(31, 20, 42, .96) 52%, rgba(13, 54, 50, .94) 100%) !important;
}

.as_heading,
.as_subheading,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ab-ink) !important;
}

p,
.as_font14,
.as_paragraph_wrapper p,
.testimonial-text,
.search-result-card p {
  color: var(--ab-muted) !important;
}

.as_heading::after {
  background: var(--gold-grad);
  box-shadow: 0 0 20px rgba(214, 173, 98, .34);
}

.as_service_box,
.as_sign_box,
.as_team_box,
.as_product_box,
.as_blog_box,
.testimonial-card,
.pricing-card,
.contact-info-card,
.stat-box,
.as_pricing_box,
.as_counter_box,
.ad_login_box,
.modal-content,
.search-result-card,
.search-empty,
.site-search-form,
.as_appointment_form,
.table,
[style*="background:#fff"]:not(.as_btn):not(.btn):not(a),
[style*="background: #fff"]:not(.as_btn):not(.btn):not(a),
[style*="background:#ffffff"]:not(.as_btn):not(.btn):not(a),
[style*="background: #ffffff"]:not(.as_btn):not(.btn):not(a) {
  background: var(--cosmic-card) !important;
  border: 1px solid var(--ab-border) !important;
  color: var(--ab-text) !important;
  box-shadow: var(--ab-shadow) !important;
}

.as_service_box::before,
.as_team_box::after,
.stat-box::before {
  background: var(--gold-grad) !important;
  box-shadow: 0 0 18px rgba(214, 173, 98, .32);
}

.as_service_box:hover,
.as_sign_box:hover,
.as_team_box:hover,
.as_product_box:hover,
.as_blog_box:hover,
.testimonial-card:hover,
.pricing-card:hover,
.contact-info-card:hover,
.stat-box:hover,
.as_pricing_box:hover,
.search-result-card:hover,
[style*="background:#fff"]:not(.as_btn):not(.btn):not(a):hover {
  transform: translateY(-8px);
  border-color: var(--ab-border-strong) !important;
  box-shadow: var(--ab-shadow-hover) !important;
}

.as_service_box,
.as_sign_box,
.as_team_box,
.as_product_box,
.as_blog_box,
.testimonial-card,
.pricing-card,
.contact-info-card,
.stat-box,
.as_pricing_box,
.search-result-card {
  position: relative;
  isolation: isolate;
}

.as_service_box::after,
.as_sign_box::after,
.as_team_box::before,
.as_product_box::before,
.as_blog_box::before,
.testimonial-card::after,
.pricing-card::before,
.search-result-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(120deg, transparent 0%, rgba(240, 211, 141, .09) 42%, transparent 68%),
    radial-gradient(circle at 12% 0%, rgba(214, 173, 98, .14), transparent 14rem);
  opacity: .72;
  pointer-events: none;
}

.as_service_box:hover::after,
.as_sign_box:hover::after,
.as_team_box:hover::before,
.as_product_box:hover::before,
.as_blog_box:hover::before,
.testimonial-card:hover::after,
.pricing-card:hover::before,
.search-result-card:hover::before {
  animation: premiumSheen 1.1s ease both;
}

@keyframes premiumSheen {
  0% { opacity: .2; transform: translateX(-18px); }
  45% { opacity: .9; }
  100% { opacity: .55; transform: translateX(18px); }
}

.as_reveal {
  opacity: 0;
  transform: translateY(22px) scale(.985);
  transition:
    opacity .68s ease var(--reveal-delay, 0ms),
    transform .68s cubic-bezier(.2, .8, .2, 1) var(--reveal-delay, 0ms),
    box-shadow .28s ease,
    border-color .28s ease;
}

.as_reveal.as_reveal_visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.as_reveal.as_reveal_visible:hover {
  transform: translateY(-8px) scale(1);
}

.as_service_box .as_icon,
.as_sign_box .as_sign,
.contact-icon,
.as_contact_expert .as_icon,
[style*="background:#c8a96e"]:not(.as_btn):not(a):not(button) {
  background: linear-gradient(135deg, rgba(214, 173, 98, .22), rgba(20, 110, 100, .16)) !important;
  border: 1px solid rgba(240, 211, 141, .36) !important;
  box-shadow: inset 0 1px 0 rgba(247, 231, 199, .12), 0 12px 30px rgba(0, 0, 0, .18);
}

.as_service_box:hover .as_icon,
.as_sign_box:hover .as_sign,
.contact-info-card:hover .contact-icon {
  background: var(--gold-grad) !important;
  transform: translateY(-3px) rotate(8deg) scale(1.04);
}

.as_product_detail,
.as_blog_detail {
  background: rgba(18, 14, 27, .18);
}

.as_price,
.testimonial-name,
.as_orange,
.as_gradient_text,
.search-result-type {
  color: var(--gold-light) !important;
}

.star-rating {
  color: #ffd678 !important;
  text-shadow: 0 0 14px rgba(214, 173, 98, .24);
}

.as_btn,
.as_btn:focus,
.as_btn:visited,
.btn-default,
button.as_btn,
[style*="background:#fff"].as_btn {
  color: #120e1d !important;
  background: var(--gold-grad) !important;
  border: 0 !important;
  box-shadow: 0 12px 32px rgba(214, 173, 98, .24) !important;
}

[style*="background:#f9f4ef"],
[style*="background: #f9f4ef"],
[style*="background:#f6f6f6"],
[style*="background: #f6f6f6"],
[style*="background:#f6f8fc"],
[style*="background: #f6f8fc"],
[style*="background-color:#fff"],
[style*="background-color: #fff"],
[style*="background-color:#ffffff"],
[style*="background-color: #ffffff"] {
  background: var(--cosmic-card-soft) !important;
  border-color: var(--ab-border) !important;
}

[style*="color:#333"],
[style*="color: #333"],
[style*="color:#3c3c3c"],
[style*="color: #3c3c3c"],
[style*="color:#555"],
[style*="color: #555"],
[style*="color:#666"],
[style*="color: #666"],
[style*="color:#797979"],
[style*="color: #797979"] {
  color: var(--ab-text) !important;
}

[style*="color:#999"],
[style*="color: #999"],
[style*="color:#bbb"],
[style*="color: #bbb"] {
  color: var(--ab-muted) !important;
}

[style*="color:#c8a96e"],
[style*="color: #c8a96e"],
[style*="color:#f4a636"],
[style*="color: #f4a636"] {
  color: var(--gold-light) !important;
}

.as_btn[style*="color:#c8a96e"],
.as_btn[style*="color: #c8a96e"],
.as_btn[style*="color:#f4a636"],
.as_btn[style*="color: #f4a636"] {
  color: #120e1d !important;
  background: var(--gold-grad) !important;
}

.as_btn:hover,
.btn-default:hover {
  color: #120e1d !important;
  background-position: right center !important;
  box-shadow: 0 18px 46px rgba(214, 173, 98, .36) !important;
}

a:not(.as_btn):not(.btn):not(.search-result-card) {
  transition: var(--transition);
}

a:not(.as_btn):not(.btn):not(.search-result-card):hover {
  color: var(--gold-light) !important;
}

.as_link {
  color: var(--gold-light) !important;
}

.form-control,
.select2-selection,
.as_newsletter_box .form-control,
.as_sign_form .as_select_box .form-control {
  background: rgba(14, 11, 21, .72) !important;
  border: 1px solid rgba(214, 173, 98, .28) !important;
  color: var(--ab-text) !important;
}

.form-control::placeholder {
  color: rgba(215, 198, 170, .64) !important;
}

.form-control:focus,
.select2-selection:focus {
  background: rgba(17, 13, 25, .9) !important;
  border-color: var(--gold-light) !important;
  box-shadow: 0 0 0 4px rgba(214, 173, 98, .16), 0 0 22px rgba(214, 173, 98, .1) !important;
}

select.form-control option,
.as_sign_form .as_select_box .form-control option {
  background: #211828;
  color: var(--ab-text);
}

.table {
  background: var(--cosmic-card) !important;
  color: var(--ab-text) !important;
}

.table thead,
.table thead[style*="background:#f9f4ef"],
.table tr[style*="background:#f9f4ef"],
thead[style*="background:#f9f4ef"],
tr[style*="background:#f9f4ef"] {
  background: linear-gradient(180deg, #3d2d33, #2b2030) !important;
  color: var(--ab-ink) !important;
}

.table td,
.table th {
  color: var(--ab-text);
}

.alert {
  background: rgba(44, 32, 49, .96) !important;
  border: 1px solid var(--ab-border) !important;
  color: var(--ab-text) !important;
}

.alert-success {
  border-left: 4px solid #8ccc96 !important;
}

.alert-danger {
  border-left: 4px solid #df8a8a !important;
}

.alert-info {
  border-left: 4px solid #7fc7c0 !important;
}

/* Popup/dropdown visibility fixes */
.as_menu > ul > li > .as_submenu,
.as_user_dropdown .dropdown-menu,
.as_cart_box {
  background: linear-gradient(145deg, rgba(28, 21, 35, .98), rgba(18, 39, 39, .98)) !important;
  border: 1px solid rgba(240, 211, 141, .36) !important;
  border-top: 3px solid var(--gold-light) !important;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .46), 0 0 34px rgba(214, 173, 98, .14) !important;
}

.as_menu > ul > li.as_has_submenu > .as_submenu::before,
.as_user_dropdown .dropdown-menu::before {
  border-bottom-color: var(--gold-light) !important;
}

.as_menu > ul > li > .as_submenu li > a,
.as_menu .as_submenu li > a,
.as_user_dropdown .dropdown-menu a,
.as_cart_info a,
.as_cart_info p,
.as_cart_list li,
.as_cart_box p {
  color: var(--ab-text) !important;
  opacity: 1 !important;
}

.as_menu .as_submenu li > a::after,
.as_menu > ul > li > .as_submenu li > a::after {
  display: none !important;
}

.as_menu > ul > li > .as_submenu li > a::before {
  background: var(--gold-light) !important;
}

.as_menu > ul > li > .as_submenu li > a:hover,
.as_user_dropdown .dropdown-menu a:hover {
  color: #120e1d !important;
  background: var(--gold-grad) !important;
}

.as_cart_list li {
  border-bottom-color: rgba(240, 211, 141, .16) !important;
}

.as_cart_img img {
  border-color: rgba(240, 211, 141, .3) !important;
}

.as_cart_remove {
  color: #ffb3a6 !important;
}

/* CTA blocks that previously used flat gold/white */
[style*="background:#c8a96e"] h1,
[style*="background:#c8a96e"] h2,
[style*="background:#c8a96e"] h3,
[style*="background:#c8a96e"] h4,
[style*="background:#c8a96e"] p,
[style*="background:#c8a96e"] span {
  color: var(--ab-ink) !important;
}

[style*="background:#c8a96e"] a:not(.as_btn),
[style*="background:#fff"][style*="color:#c8a96e"]:not(.as_btn),
[style*="background: #fff"][style*="color:#c8a96e"]:not(.as_btn) {
  background: rgba(18, 14, 27, .88) !important;
  color: var(--gold-light) !important;
  border: 1px solid rgba(240, 211, 141, .28) !important;
  border-radius: 999px !important;
}

.as_pricing_popular {
  background: linear-gradient(145deg, rgba(73, 48, 55, .98), rgba(24, 66, 61, .94)) !important;
}

.as_login_wrapper {
  background:
    radial-gradient(circle at 12% 12%, rgba(214, 173, 98, .18), transparent 26rem),
    radial-gradient(circle at 88% 18%, rgba(20, 110, 100, .2), transparent 28rem),
    linear-gradient(125deg, rgba(14, 10, 21, .96), rgba(17, 48, 46, .9)),
    url('../images/login_bg.jpg') center/cover no-repeat !important;
}

.as_login_detail,
.as_login_slider {
  background: var(--cosmic-card) !important;
}

.as_login_detail > a img {
  filter: brightness(0) invert(1) sepia(.28) saturate(2.4) hue-rotate(350deg);
}

.as_footer_wrapper {
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 173, 98, .12), transparent 26rem),
    linear-gradient(180deg, #110d1a 0%, #151323 46%, #0c2020 100%) !important;
}

.as_know_sign_wrapper {
  background: linear-gradient(145deg, rgba(44, 32, 49, .74), rgba(18, 54, 51, .5)) !important;
}

.site-search-form,
.search-result-card,
.search-empty {
  background: var(--cosmic-card) !important;
}

@keyframes softPulseGold {
  0%, 100% { box-shadow: 0 12px 32px rgba(214, 173, 98, .22); }
  50% { box-shadow: 0 18px 46px rgba(214, 173, 98, .38); }
}

.as_banner_detail .as_btn,
.as_contact_expert,
.as_pricing_popular {
  animation: softPulseGold 3.8s ease-in-out infinite;
}

@media (max-width: 991.98px) {
  .as_menu_wrapper .as_menu,
  .as_menu > ul > li > .as_submenu {
    background: linear-gradient(180deg, rgba(18, 14, 27, .99), rgba(18, 54, 51, .97)) !important;
  }

  .as_menu > ul > li > .as_submenu li > a,
  .as_menu .as_submenu li > a {
    color: var(--ab-text) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
