/* Jamaican Themed Light Mode Aesthetics Override */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  --color-white: #FFFFFF;
  --color-light: #F8F9FA;
  --color-dark: #1A1A1A;
  --color-green: #009B3A;
  --color-gold: #FED100;
  --font-main: 'Outfit', sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.05);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.06);
  --gradient-jam: linear-gradient(135deg, var(--color-green) 0%, var(--color-gold) 100%);
}

body {
  font-family: var(--font-main) !important;
  color: #333333 !important;
  background-color: #fff !important;
  background-image: linear-gradient(to top, #89e0a6 0%, transparent 40%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* Base Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--color-dark) !important;
  font-family: var(--font-main) !important;
  font-weight: 500 !important;
}

/* Gradient Text for specific emphasis (like brand names) */
.text-gradient {
  background: var(--gradient-jam);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation / Header */
.top-header,
.top-bar,
.navbar {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.top-header a,
.navbar a {
  color: #555 !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.top-header a:hover,
.navbar a:hover {
  color: var(--color-green) !important;
}

/* Home Page Banner / Search Section */
.home-banner-section,
.hero,
.top-merchant-bg {
  background: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  position: relative;
  overflow: hidden;
}

#main-search-banner {
  margin: 0 !important;
  padding: 80px 0 !important;
  border-bottom: 1px solid #e1e1e1;
}

/* Add a subtle green to gold overlay on banners */
.home-banner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gradient-jam);
  z-index: 10;
}

.home-banner-section * {
  position: relative;
  z-index: 2;
}

/* Input Fields & Search */
input[type="text"],
input[type="password"],
textarea,
select,
.form-control {
  background: #fff !important;
  border: 1px solid #CCC !important;
  color: #333 !important;
  border-radius: 12px !important;
  padding: 15px !important;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

input:focus,
.form-control:focus {
  border-color: var(--color-green) !important;
  box-shadow: 0 0 0 3px rgba(0, 155, 58, 0.15) !important;
  background: #fff !important;
}

/* Primary Buttons & Global Pill Geometry */
.btn-primary,
.btn-green,
.btn-black,
.el-button,
input[type="submit"] {
  background: var(--color-green) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important; /* Forces Pill Shape Everywhere */
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  padding: 12px 24px !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  box-shadow: 0 4px 15px rgba(0, 155, 58, 0.3);
}

.btn-primary:hover,
.btn-green:hover,
.btn-black:hover,
.el-button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 155, 58, 0.4);
  background: #008230 !important;
  color: #fff !important;
}

.el-button.is-circle {
  border-radius: 50% !important;
  padding: 12px !important;
}

/* Specifically target Gold buttons if needed */
.btn-gold,
.el-button.btn-gold {
  background: var(--color-gold) !important;
  color: var(--color-dark) !important;
  box-shadow: 0 4px 15px rgba(254, 209, 0, 0.3) !important;
}

.btn-gold:hover,
.el-button.btn-gold:hover {
  background: #E6BC00 !important;
}

/* Unified App Styling for All Cards (Removes Borders globally) */
.list-item,
.merchant-list-box,
.restaurant-list,
.box,
.rounded-box,
.section-join .card,
.join-sections .swiperSlide,
.join-sections .swiper-slide,
.swiperRestox .swiperSlide,
.swiperRestox .swiper-slide,
.swiperResto .swiperSlide,
.swiperResto .swiper-slide {
  background: #fff !important;
  border: 0 !important;
  outline: none !important;
  border-radius: 16px !important;
  padding: 18px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Float Interaction applied globally to cards */
.list-item:hover,
.merchant-list-box:hover,
.restaurant-list:hover,
.box:hover,
.rounded-box:hover,
.section-join .card:hover,
.join-sections .swiperSlide:hover,
.join-sections .swiper-slide:hover,
.swiperRestox .swiperSlide:hover,
.swiperRestox .swiper-slide:hover,
.swiperResto .swiperSlide:hover,
.swiperResto .swiper-slide:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 15px 35px rgba(0, 155, 58, 0.12) !important;
}

/* Luxurious Negative Space (Breathing Room) */
.swiperOutsideContainer,
.section-mobileapp,
.section-newmobileapp,
.section-join,
.container > .mb-4.mt-4 {
  margin-top: 90px !important;
  margin-bottom: 90px !important;
}

/* Fix Swiper Shadows Clipping */
.swiper, 
.swiper-container, 
.swiper-wrapper {
  padding-bottom: 45px !important;
  margin-bottom: -45px !important;
  padding-top: 20px !important;
  margin-top: -20px !important;
}

/* Badges / Ratings / Notifications */
.badge,
.rating,
.cart-count,
.notification-badge {
  background: var(--color-green) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px;
  padding: 5px 10px;
  font-weight: 700;
}

/* Footers */
footer,
.footer,
.sub-footer {
  background: transparent !important;
  border-top: none !important;
  color: #111 !important;
}

footer a,
.sub-footer a {
  color: #222 !important;
}

footer a:hover,
.sub-footer a:hover {
  color: #000 !important;
}

/* Join Cards */
/* Join Cards */
.card,
.box-join,
.section-join .card,
.join-sections .swiperSlide,
.join-sections .swiper-slide,
.swiperRestox .swiperSlide,
.swiperRestox .swiper-slide,
.swiperOutsideContainer .swiper-slide,
.swiperOutsideContainer .swiperSlide {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Join Section Heading Colors */
.swiperOutsideContainer h3 {
   color: #666666 !important;
}
.swiperOutsideContainer h3 span {
   color: #000000 !important;
}

/* Footer Subscription Strict Overrides */
.sub-footer .esubscription {
  border-radius: 40px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sub-footer .el-input,
.sub-footer .el-input__wrapper,
.sub-footer .field-wrap,
.sub-footer .el-input__inner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.sub-footer .el-button--success {
  border-radius: 30px !important;
  background: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
  color: #111 !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}

.sub-footer .el-button--success:hover {
  background: #E6BC00 !important;
  color: #000 !important;
}

/* App Store Intersections in Footer */
footer .app-store-wrap a,
.footer-bottom a.d-inline {
  display: inline-block !important;
  margin-right: 15px !important;
}

/* Footer Logo Adjustments */
footer img[src*="logo"],
.footer-logo img {
  transform: scale(1.56);
  transform-origin: left center;
  margin-left: -30px !important;
  filter: grayscale(100%);
  transition: all 0.4s ease;
}

footer img[src*="logo"]:hover,
.footer-logo img:hover {
  filter: grayscale(0%);
}

/* Footer Subscription Input & Button */
footer input[type="email"],
footer .form-control {
  border-top-left-radius: 20px !important;
  border-bottom-left-radius: 20px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

footer button,
footer .btn-green {
  border-top-right-radius: 20px !important;
  border-bottom-right-radius: 20px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  background: var(--color-gold) !important;
  color: #111 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(254, 209, 0, 0.4) !important;
}

footer .btn-green:hover {
  background: #E6BC00 !important;
  transform: none !important;
}

/* Mobile App Section */
.section-mobileapp, .section-newmobileapp {
   background: transparent !important;
}

/* Sidebar / Modals */
.modal-content,
.sidebar {
  background: #ffffff !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-radius: 20px !important;
}

/* Increase Top Bar Logo Size securely to maintain hotspot */
.top-logo img {
  max-height: 55px !important;
  width: auto;
  transition: all 0.3s;
}

/* Custom Search Mode Dropdown and Wrapper */
#searchModeSwitch {
  background-color: var(--color-green) !important;
  color: #fff !important;
  font-weight: 600;
  border: none !important;
  box-shadow: 0 4px 10px rgba(0, 155, 58, 0.2) !important;
  border-radius: 20px !important;
  padding: 10px 20px !important;
  cursor: pointer;
}

#searchModeSwitch:focus,
#searchModeSwitch:active {
  outline: none;
  box-shadow: 0 4px 15px rgba(254, 209, 0, 0.4) !important;
}

.restaurant-search-wrap,
#address-search-container {
  width: 100%;
  padding: 10px;
  background: var(--glass-bg);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

/* Ensure inner inputs match the look without nested squared boxes */
#address-search-container .form-control,
#address-search-container .el-input__wrapper {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

#address-search-container .el-input__inner {
  background: transparent !important;
  border: none !important;
}