/* ==========================================================================
   MAISON ROSE - LUXURY SCENTED CANDLES DESIGN SYSTEM
   ========================================================================== */

/* 1. Global Typography & Colors */
:root {
  --mr-gold-primary: #C59B27;
  --mr-gold-dark: #A47E1E;
  --mr-gold-light: #F4E8C1;
  --mr-amber-price: #A46D23;
  --mr-charcoal-dark: #1C1B18;
  --mr-charcoal-soft: #2E2B25;
  --mr-text-body: #4A463E;
  --mr-text-muted: #7A756C;
  --mr-bg-ivory: #FAF8F5;
  --mr-bg-card: #FFFFFF;
  --mr-border-subtle: rgba(197, 155, 39, 0.18);
  --mr-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.04);
  --mr-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --mr-shadow-lg: 0 20px 45px rgba(164, 126, 30, 0.14);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: var(--mr-text-body);
  background-color: var(--mr-bg-ivory) !important;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.product-title,
.banner-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: var(--mr-charcoal-dark) !important;
  letter-spacing: 0.3px;
}

/* 2. Header & Top Bar */
#top-bar {
  background: #1A1916 !important;
  color: #E6E1D8 !important;
  border-bottom: 1px solid rgba(197, 155, 39, 0.25);
  font-size: 12.5px;
  letter-spacing: 0.6px;
}

#top-bar a {
  color: #E6E1D8 !important;
  transition: color 0.2s ease;
}

#top-bar a:hover {
  color: var(--mr-gold-primary) !important;
}

#masthead {
  background: linear-gradient(135deg, #BE9939 0%, #A47E25 100%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-main {
  height: 70px !important;
}

/* Brand Logo */
.logo a,
#logo a {
  font-family: 'Playfair Display', serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
  display: block;
  text-transform: uppercase;
}

/* Nav Menu */
.nav > li > a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  padding: 10px 14px !important;
  position: relative;
  transition: all 0.25s ease;
}

.nav > li > a:after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #FFFFFF;
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav > li > a:hover:after,
.nav > li.active > a:after {
  width: 70%;
}

.nav > li > a:hover {
  color: #FFF !important;
  opacity: 0.95;
}

/* Cart & Account Icons */
.header-nav .cart-link,
.header-nav .account-link {
  color: #FFFFFF !important;
}

.cart-icon strong {
  background: #FFFFFF !important;
  color: var(--mr-gold-dark) !important;
  font-weight: 700 !important;
  border-radius: 50% !important;
}

/* 3. Hero Banner & Trust Highlights Bar */
.brand-highlights-bar {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--mr-border-subtle);
  box-shadow: var(--mr-shadow-md);
  padding: 24px 20px;
  margin: -35px auto 40px auto;
  position: relative;
  z-index: 10;
  max-width: 1200px;
}

.brand-highlight-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  transition: transform 0.3s ease;
}

.brand-highlight-item:hover {
  transform: translateY(-3px);
}

.brand-highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #F9F5EA 0%, #EFE5CD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-right: 14px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.8);
}

.brand-highlight-text h4 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: var(--mr-charcoal-dark) !important;
  margin: 0 0 2px 0 !important;
  line-height: 1.3;
}

.brand-highlight-text p {
  font-size: 12.5px;
  color: var(--mr-text-muted);
  margin: 0;
  line-height: 1.4;
}

/* 4. Luxury Quote / Story Card */
.maison-quote-container {
  max-width: 860px;
  margin: 20px auto 40px auto;
  padding: 30px 40px;
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F0 100%);
  border-radius: 20px;
  border: 1px solid var(--mr-border-subtle);
  box-shadow: var(--mr-shadow-sm);
  position: relative;
}

.maison-quote-container:before {
  content: '“';
  font-family: 'Playfair Display', serif;
  font-size: 70px;
  color: var(--mr-gold-primary);
  opacity: 0.25;
  position: absolute;
  top: -10px;
  left: 30px;
  line-height: 1;
}

.maison-quote-text {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.25rem !important;
  font-style: italic;
  color: var(--mr-charcoal-soft) !important;
  line-height: 1.7;
  margin: 0 0 12px 0;
}

.maison-quote-author {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--mr-gold-dark);
  font-weight: 700;
}

/* 5. Luxury Section Titles */
.luxury-section-header {
  text-align: center;
  margin: 50px auto 30px auto;
  position: relative;
}

.luxury-section-subtitle {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mr-gold-dark);
  margin-bottom: 6px;
}

.luxury-section-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--mr-charcoal-dark) !important;
  margin: 0 0 12px 0 !important;
}

.luxury-section-divider {
  width: 60px;
  height: 2px;
  background: var(--mr-gold-primary);
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}

.luxury-section-divider:after {
  content: '◆';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--mr-gold-primary);
  font-size: 10px;
  background: var(--mr-bg-ivory);
  padding: 0 6px;
}

/* 6. Product Cards (WooCommerce & Flatsome) */
.product-small.box {
  background: var(--mr-bg-card) !important;
  border-radius: 14px !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  box-shadow: var(--mr-shadow-sm) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  overflow: hidden !important;
  padding-bottom: 12px !important;
}

.product-small.box:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--mr-shadow-lg) !important;
  border-color: var(--mr-border-subtle) !important;
}

/* Product Card Image */
.product-small .box-image {
  border-radius: 14px 14px 0 0 !important;
  overflow: hidden !important;
  background: #F5F2EB !important;
}

.product-small .box-image img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: 100% !important;
  object-fit: cover !important;
}

.product-small.box:hover .box-image img {
  transform: scale(1.06) !important;
}

/* Product Titles */
.product-small .name a,
.woocommerce-loop-product__title {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  color: var(--mr-charcoal-dark) !important;
  line-height: 1.4 !important;
  transition: color 0.2s ease !important;
  margin-top: 10px !important;
  display: block;
}

.product-small .name a:hover,
.woocommerce-loop-product__title:hover {
  color: var(--mr-gold-dark) !important;
}

/* Product Category Tag */
.product-small .category {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: var(--mr-text-muted) !important;
  margin-top: 8px !important;
}

/* Price Styling - Replace harsh red with warm luxury amber bronze */
span.amount,
.price .amount,
.woocommerce-Price-amount {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  color: var(--mr-amber-price) !important;
  letter-spacing: 0.3px !important;
}

del .amount {
  color: #A09D94 !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
  margin-right: 6px !important;
}

ins {
  text-decoration: none !important;
}

/* Add to cart button on cards */
.product-small .add-to-cart-button a {
  border-radius: 20px !important;
  font-size: 12px !important;
  letter-spacing: 0.8px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  background: var(--mr-charcoal-dark) !important;
  color: #FFF !important;
  border: none !important;
  transition: all 0.3s ease !important;
  padding: 8px 16px !important;
}

.product-small .add-to-cart-button a:hover {
  background: var(--mr-gold-primary) !important;
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.4) !important;
}

/* 7. Single Product Page Enhancements */
.single-product .product-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  color: var(--mr-charcoal-dark) !important;
  line-height: 1.25 !important;
  margin-bottom: 12px !important;
}

.single-product .price {
  font-size: 1.6rem !important;
  margin-bottom: 20px !important;
}

.single-product .single_add_to_cart_button {
  background: linear-gradient(135deg, #A46D23 0%, #875718 100%) !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 12px 28px !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(164, 109, 35, 0.25) !important;
  transition: all 0.3s ease !important;
}

.single-product .single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #BE9939 0%, #A47E25 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(197, 155, 39, 0.35) !important;
}

/* Quantity Input */
.quantity .qty {
  border-radius: 6px !important;
  border: 1px solid #D5D0C5 !important;
  font-weight: 600 !important;
}

/* 8. Floating Quick Contact Widget (Hotline + Zalo) */
.maison-quick-contact {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.maison-btn-contact {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none !important;
}

.maison-btn-contact:hover {
  transform: scale(1.1);
}

.maison-btn-zalo {
  background: #0068FF;
  color: #FFFFFF;
}

.maison-btn-phone {
  background: linear-gradient(135deg, #C59B27 0%, #A47E1E 100%);
  color: #FFFFFF;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(197, 155, 39, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(197, 155, 39, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 155, 39, 0);
  }
}

.maison-btn-contact svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .brand-highlights-bar {
    margin: 10px 15px 30px 15px;
    padding: 15px 10px;
  }
  .brand-highlight-item {
    padding: 8px 5px;
  }
  .brand-highlight-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .luxury-section-title {
    font-size: 1.5rem !important;
  }
  .maison-quote-container {
    margin: 15px;
    padding: 20px;
  }
  .maison-quote-text {
    font-size: 1.05rem !important;
  }
}

/* Header Nav Single Line Alignment */
.header-main .flex-col.flex-right {
  flex: 1 1 auto !important;
  justify-content: flex-end !important;
}
.header-nav,
.header-nav ul.nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
}
.header-main .nav > li > a {
  padding: 10px 11px !important;
  font-size: 12px !important;
  letter-spacing: 1px !important;
  white-space: nowrap !important;
}

/* 9. Luxury Footer Trust Bar */
#footer .row-divided {
  background: #FFFFFF !important;
  border-top: 1px solid rgba(197, 155, 39, 0.25) !important;
  border-bottom: 1px solid rgba(197, 155, 39, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  margin: 0 !important;
}

#footer .row-divided > .col {
  border-color: rgba(197, 155, 39, 0.18) !important;
}

#footer .row-divided .col-inner {
  padding: 26px 15px !important;
  background: #FFFFFF !important;
  transition: all 0.3s ease !important;
}

#footer .row-divided .col-inner:hover {
  background: #FAF8F3 !important;
}

#footer .row-divided .icon-box-img {
  width: 32px !important;
  margin: 0 auto 10px auto !important;
}

#footer .row-divided .icon-box-img img {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 2px 4px rgba(197, 155, 39, 0.25));
}

#footer .row-divided .icon-box-text p,
#footer .row-divided .icon-box-text strong,
#footer .row-divided .icon-box-text span {
  color: #1C1B18 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
}

@media (max-width: 768px) {
  #footer .row-divided .col-inner {
    padding: 18px 10px !important;
  }
  #footer .row-divided .icon-box-text p,
  #footer .row-divided .icon-box-text strong,
  #footer .row-divided .icon-box-text span {
    font-size: 11.5px !important;
  }
}
