@import url('/axpert_cera_website/static/src/css/fonts.css');

/* Axpert Cera Clean Custom Styles matching https://www.axpertcera.com/ */
:root {
  --color-navy: #1a2744;
  --color-navy-dark: #111b33;
  --color-navy-light: #243156;
  --color-gold: #c9a96e;
  --color-gold-light: #e0c99a;
  --color-off-white: #f8f7f4;
  --color-light-gray: #f2f1ee;
  --color-mid-gray: #e5e3df;
  --color-text-gray: #6b7280;
  --color-text-dark: #1a1a1a;
  --color-border: #e8e6e2;

  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

html {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: smooth;
}

#collections,
#designer {
  scroll-margin-top: 80px;
}

body {
  height: auto !important;
  min-height: 100% !important;
  background-color: #ffffff;
  color: var(--color-text-dark);
  font-family: 'Inter', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* === Bootstrap Override: Prevent web.assets_frontend (Bootstrap 5) from breaking Tailwind layout === */
/* These rules are critical because our standalone layout loads web.assets_frontend for the Odoo editor,
   but Bootstrap's default styles conflict with the Tailwind-based design from axpertcera.com */

/* Prevent Bootstrap from altering body font-size or line-height */
body.font-sans {
  font-size: inherit;
  line-height: inherit;
}

/* Prevent Bootstrap link underlines on the custom layout */
body.text-text-dark a:not(.btn):not(.dropdown-item):not(.nav-link):not(.o_frontend_to_backend_apps_btn):not(.o_frontend_to_backend_edit_btn) {
  text-decoration: inherit;
}


/* Prevent Bootstrap's default list styles from breaking nav/footer lists */
body.text-text-dark ul, body.text-text-dark ol {
  padding-left: 0;
}

/* Prevent Bootstrap's container/row/col from interfering */
body.text-text-dark #wrapwrap {
  display: block;
}

/* Hide Odoo's default #top_menu_container since we use custom header */
body.text-text-dark #top_menu_container,
body.text-text-dark .o_main_navbar {
  display: none !important;
}

/* Ensure images don't get Bootstrap's max-width that breaks layout */
body.text-text-dark img:not(.hero-bg-img):not(.object-cover) {
  max-width: 100%;
  height: auto;
}

/* Hero Background Image Full Viewport Coverage */
.hero-bg-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: right center !important;
}

.font-serif,
h1.font-serif,
h2.font-serif,
h3.font-serif,
h4.font-serif {
  font-family: 'Playfair Display', serif !important;
}

.font-sans {
  font-family: 'Inter', sans-serif !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #c9a96e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1a2744;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #fafaf9;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #e5e3df;
  border-radius: 3px;
}

/* Search Overlay toggle */
#search-overlay {
  display: none !important;
}
#search-overlay.active {
  display: flex !important;
  z-index: 99999 !important;
}

@media (min-width: 1024px) {
  #search-overlay .grid.lg\:grid-cols-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 2.5rem !important;
  }
  #search-overlay .lg\:col-span-3 {
    grid-column: span 3 / span 3 !important;
  }
}

#search-overlay #search-results {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 0.875rem !important;
}

#search-overlay ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

#search-overlay ul li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#search-overlay a {
  text-decoration: none !important;
}

/* Mobile Gallery Modal toggle */
#gallery-modal.hidden {
  display: none !important;
}
#gallery-modal:not(.hidden) {
  display: flex !important;
  z-index: 99999 !important;
}

/* Luxury Breadcrumb Component */
.axpert-breadcrumb-bar {
  width: 100%;
  background-color: #FAFAF9;
  padding-top: 86px !important;
  padding-bottom: 14px;
  border-bottom: none !important;
}

.axpert-breadcrumb-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .axpert-breadcrumb-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.axpert-breadcrumb-nav {
  position: relative;
  z-index: 10;
}

.axpert-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.axpert-breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.axpert-breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(26, 39, 68, 0.6);
  text-decoration: none !important;
  border-bottom: none !important;
  transition: all 0.25s ease;
}

.axpert-breadcrumb-link:hover {
  color: #c4a484;
  text-decoration: none !important;
  border-bottom: none !important;
}

.axpert-breadcrumb-separator {
  margin: 0 8px;
  color: rgba(196, 164, 132, 0.7);
  display: inline-flex;
  align-items: center;
  user-select: none;
}

.axpert-breadcrumb-current {
  color: #1a2744;
  font-weight: 600;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Dark variant (e.g. Catalog Hero) */
.axpert-breadcrumb.dark .axpert-breadcrumb-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none !important;
  border-bottom: none !important;
}

.axpert-breadcrumb.dark .axpert-breadcrumb-link:hover {
  color: #c4a484;
}

.axpert-breadcrumb.dark .axpert-breadcrumb-separator {
  color: rgba(196, 164, 132, 0.85);
}

.axpert-breadcrumb.dark .axpert-breadcrumb-current {
  color: #ffffff;
  text-decoration: none !important;
  border-bottom: none !important;
}

/* Image Containment for Product Cards */
.cycle-img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  pointer-events: none;
}

/* Dynamic Website Logo Containment */
.header-logo {
  display: inline-flex;
  align-items: center;
  max-height: 60px !important;
  height: 60px !important;
}

.header-logo img,
.header-logo span[role="img"] img,
.header-logo [role="img"] img,
.header-logo span img {
  max-height: 60px !important;
  height: 60px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  max-height: 60px !important;
  height: 60px !important;
}

.footer-logo img,
.footer-logo span[role="img"] img,
.footer-logo [role="img"] img,
.footer-logo span img {
  max-height: 60px !important;
  height: 60px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block;
}

/* Top Fixed Navbar - exact 0.5rem (8px) padding, identical across all pages */
#main-nav {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

/* Enforce exact container width and padding across ALL pages (solves logo 8px shift between Blog/Login and custom pages) */
#main-nav > div,
#bottom > div {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 2.5rem !important; /* 40px */
  padding-right: 2.5rem !important; /* 40px */
}

@media (max-width: 767px) {
  #main-nav > div,
  #bottom > div {
    padding-left: 1.25rem !important; /* 20px */
    padding-right: 1.25rem !important; /* 20px */
  }
}

#main-nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#main-nav a {
  text-decoration: none !important;
}

#main-nav a:hover,
#main-nav a:focus,
#main-nav a:active {
  text-decoration: none !important;
}

#main-nav .text-navy {
  color: #1a2744 !important;
}

#main-nav .hover\:text-navy-light:hover {
  color: #243156 !important;
}

#main-nav .header-logo,
#main-nav .header-logo:hover,
#main-nav .header-logo:focus {
  text-decoration: none !important;
  color: inherit !important;
}

/* Scrolled Header State (exact match with https://www.axpertcera.com/) */
#main-nav.scrolled,
#main-nav.bg-white\/95 {
  background-color: #ffffff !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06) !important;
}

/* Enforce Identical Icon Colors Across All Pages (including Blog & Login) */
#main-nav a[aria-label*="WhatsApp"],
#main-nav a[aria-label*="WhatsApp"] svg,
#main-nav a[href*="wa.me"],
#main-nav a[href*="wa.me"] svg {
  color: #25D366 !important;
  fill: currentColor !important;
}

#main-nav #search-open-btn,
#main-nav a[aria-label*="Email"],
#main-nav a[aria-label*="Location Map"],
#main-nav a[href*="mailto:"],
#main-nav a[href*="maps.google"],
#main-nav #mobile-menu-btn {
  color: #1a2744 !important;
}

#main-nav #search-open-btn:hover,
#main-nav a[aria-label*="Email"]:hover,
#main-nav a[aria-label*="Location Map"]:hover,
#main-nav a[href*="mailto:"]:hover,
#main-nav a[href*="maps.google"]:hover,
#main-nav #mobile-menu-btn:hover {
  color: #C4A484 !important;
}

#mobile-menu ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#mobile-menu a {
  text-decoration: none !important;
}

/* ==========================================================================
   Axpert Cera Unified Footer Styles (Enforced Across ALL Pages & Layouts)
   Guarantees 100% style and color match even when Bootstrap 5 is active (e.g. /blog, /web/login)
   ========================================================================== */
footer#bottom {
  background-color: #111b33 !important;
  color: #ffffff !important;
}

@media (max-width: 767px) {
  footer#bottom {
    padding-bottom: 7rem !important; /* Clears mobile sticky action bar */
  }
}

/* Headings in Footer */
footer#bottom h4,
footer#bottom .font-sans.uppercase {
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.4) !important;
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
}

/* Lists and list items in Footer */
footer#bottom ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  margin-bottom: 0 !important;
}

footer#bottom ul li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* General Footer Links (Category links, More products, Quick links) */
footer#bottom ul li a,
footer#bottom .lg\:col-span-3 a,
footer#bottom .lg\:col-span-2 a {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

footer#bottom ul li a:hover,
footer#bottom .lg\:col-span-3 a:hover,
footer#bottom .lg\:col-span-2 a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Social Media Icons */
footer#bottom a[aria-label*="Follow"],
footer#bottom a[aria-label*="Instagram"],
footer#bottom a[aria-label*="Twitter"],
footer#bottom a[aria-label*="IndiaMART"] {
  width: 2rem !important;
  height: 2rem !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

footer#bottom a[aria-label*="Follow"]:hover,
footer#bottom a[aria-label*="Instagram"]:hover,
footer#bottom a[aria-label*="Twitter"]:hover,
footer#bottom a[aria-label*="IndiaMART"]:hover {
  border-color: #c9a96e !important;
  color: #c9a96e !important;
}

/* Badges (ISO, Vitreous China, All States) */
footer#bottom .text-gold {
  color: #c9a96e !important;
}

footer#bottom .text-white\/40 {
  color: rgba(255, 255, 255, 0.4) !important;
}

footer#bottom .text-white\/50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

footer#bottom .text-white\/30 {
  color: rgba(255, 255, 255, 0.3) !important;
}

/* Contact Us Section Links */
footer#bottom address {
  font-style: normal !important;
}

footer#bottom address a,
footer#bottom a[href^="tel:"],
footer#bottom a[href^="mailto:"] {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

footer#bottom address a:hover,
footer#bottom a[href^="tel:"]:hover,
footer#bottom a[href^="mailto:"]:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* WhatsApp in Footer */
footer#bottom a[aria-label*="WhatsApp"],
footer#bottom a[aria-label*="WhatsApp"] svg,
footer#bottom a[href*="wa.me"],
footer#bottom a[href*="wa.me"] svg {
  color: #25D366 !important;
  fill: currentColor !important;
  text-decoration: none !important;
}

footer#bottom a[aria-label*="WhatsApp"]:hover,
footer#bottom a[href*="wa.me"]:hover {
  color: #ffffff !important;
}

/* Copyright & Legal Links */
footer#bottom .border-t {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

footer#bottom .border-t p {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.35) !important;
  margin-bottom: 0 !important;
}

footer#bottom .border-t a {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.35) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

footer#bottom .border-t a:hover {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
}

/* Floating WhatsApp Button */
a[aria-label*="WhatsApp for dealer"] {
  background-color: #25D366 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Odoo Website Login Page Compatibility with Axpert Cera Header */
.oe_website_login_container {
  padding-top: 96px !important;
  padding-bottom: 60px !important;
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.oe_website_login_container .card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  border: 1px solid #EBEBEB !important;
}





