﻿/* ==========================================================================
   ZAINAB COLLECTION - HAUTE COUTURE LUXURY DESIGN SYSTEM
   World-class modest fashion e-commerce styling for Desktop & Mobile
   ========================================================================== */

:root {
  --zc-gold: #C5A880;
  --zc-gold-light: #E8D8C3;
  --zc-gold-dark: #9A7E56;
  --zc-gold-subtle: rgba(197, 168, 128, 0.12);
  --zc-gold-glow: rgba(197, 168, 128, 0.35);
  --zc-noir: #141416;
  --zc-charcoal: #232326;
  --zc-muted: #6E6D7A;
  --zc-border-light: rgba(0, 0, 0, 0.07);
  --zc-border-gold: rgba(197, 168, 128, 0.28);
  --zc-bg-cream: #FAF8F5;
  --zc-bg-ivory: #FDFBF8;
  --zc-white: #FFFFFF;
  --zc-font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --zc-font-sans: 'Plus Jakarta Sans', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --zc-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
  --zc-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.08);
  --zc-radius-sm: 6px;
  --zc-radius-md: 10px;
  --zc-radius-lg: 16px;
  --zc-radius-pill: 999px;
  --zc-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   1. Typography & Global Polish
   -------------------------------------------------------------------------- */
body {
  color: var(--zc-charcoal);
  background-color: var(--zc-bg-ivory);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.site-title a,
.elementor-heading-title,
.woocommerce-loop-product__title,
.product_title {
  font-family: var(--zc-font-serif) !important;
  color: var(--zc-noir) !important;
  font-feature-settings: "pnum" on, "lnum" on;
}

/* Remove clunky, childish cloud shape dividers permanently */
.elementor-shape-clouds,
.elementor-shape-bottom svg,
.elementor-shape-top svg,
.elementor-shape {
  display: none !important;
}

/* --------------------------------------------------------------------------
   2. Top Editorial Announcement Marquee Bar
   -------------------------------------------------------------------------- */
.zc-announcement-bar {
  background: var(--zc-noir);
  color: var(--zc-gold-light);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  overflow: hidden;
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 168, 128, 0.25);
}

.zc-marquee-track {
  display: flex;
  white-space: nowrap;
  animation: zcMarquee 28s linear infinite;
  gap: 3rem;
}

.zc-announcement-bar:hover .zc-marquee-track {
  animation-play-state: paused;
}

.zc-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.zc-marquee-item .zc-star {
  color: var(--zc-gold);
  font-size: 9px;
}

@keyframes zcMarquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   3. Header & Brand Navigation
   -------------------------------------------------------------------------- */
.main-header-bar-wrap {
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--zc-border-light) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  transition: var(--zc-transition) !important;
}

.site-title a {
  font-family: var(--zc-font-serif) !important;
  font-weight: 700 !important;
  font-size: 1.65rem !important;
  letter-spacing: 3.5px !important;
  text-transform: uppercase !important;
  color: var(--zc-noir) !important;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}

.site-title a:hover {
  color: var(--zc-gold-dark) !important;
}

/* Refined Menu Links */
.main-header-menu .menu-item a.menu-link {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: var(--zc-noir) !important;
  padding: 0 14px !important;
  position: relative !important;
  transition: color 0.3s ease !important;
}

.main-header-menu .menu-item a.menu-link:hover {
  color: var(--zc-gold-dark) !important;
}

.main-header-menu .menu-item a.menu-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--zc-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.main-header-menu .menu-item:hover a.menu-link::after,
.main-header-menu .current-menu-item a.menu-link::after {
  transform: scaleX(1);
}

/* Header Icons (Cart, Account, Search) */
.ast-header-woo-cart,
.ast-header-account {
  display: flex !important;
  align-items: center !important;
}

.ast-site-header-cart i.astra-icon:after {
  background-color: var(--zc-gold) !important;
  color: var(--zc-noir) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px var(--zc-gold-glow) !important;
  top: -6px !important;
  right: -8px !important;
}

/* --------------------------------------------------------------------------
   4. Buttons & CTAs (Haute Couture Styling)
   -------------------------------------------------------------------------- */
.elementor-button,
.ast-button,
.button,
.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--zc-noir) !important;
  color: var(--zc-white) !important;
  border: 1px solid var(--zc-noir) !important;
  border-radius: var(--zc-radius-pill) !important;
  padding: 14px 32px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  transition: var(--zc-transition) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.elementor-button:hover,
.ast-button:hover,
.button:hover,
.single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--zc-gold) !important;
  border-color: var(--zc-gold) !important;
  color: var(--zc-noir) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px var(--zc-gold-glow) !important;
}

/* --------------------------------------------------------------------------
   5. Hero & Promotional Cards (Banners)
   -------------------------------------------------------------------------- */
.hfe-infocard {
  border-radius: var(--zc-radius-md) !important;
  padding: 30px !important;
  background: linear-gradient(135deg, rgba(20, 20, 22, 0.92) 0%, rgba(35, 35, 38, 0.88) 100%) !important;
  color: #fff !important;
  box-shadow: var(--zc-shadow-soft) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: var(--zc-transition) !important;
  overflow: hidden;
  position: relative;
}

.hfe-infocard:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--zc-shadow-hover) !important;
  border-color: var(--zc-gold) !important;
}

.hfe-infocard .hfe-infocard-title {
  color: var(--zc-gold-light) !important;
  font-size: 1.6rem !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
}

.hfe-infocard .hfe-infocard-text {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

/* --------------------------------------------------------------------------
   6. WooCommerce Product Grid & Cards (Haute Couture)
   -------------------------------------------------------------------------- */
.woocommerce ul.products,
.elementor-shortcode ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 2rem !important;
  padding: 0 !important;
  margin: 2rem 0 !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.ast-article-single.product {
  width: 100% !important;
  margin: 0 !important;
  background: var(--zc-white) !important;
  border: 1px solid var(--zc-border-light) !important;
  border-radius: var(--zc-radius-md) !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: var(--zc-shadow-soft) !important;
  transition: var(--zc-transition) !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--zc-shadow-hover) !important;
  border-color: var(--zc-gold-light) !important;
}

/* Image Framing & Zoom */
.astra-shop-thumbnail-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  overflow: hidden !important;
  background: var(--zc-bg-cream) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.astra-shop-thumbnail-wrap a.woocommerce-LoopProduct-link {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.astra-shop-thumbnail-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce ul.products li.product:hover .astra-shop-thumbnail-wrap img {
  transform: scale(1.06) !important;
}

/* Sale Badge */
.ast-on-card-button.ast-onsale-card,
.woocommerce span.onsale {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  background: var(--zc-noir) !important;
  color: var(--zc-gold) !important;
  border: 1px solid var(--zc-gold) !important;
  border-radius: var(--zc-radius-pill) !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 4px 12px !important;
  line-height: 1.3 !important;
  min-height: auto !important;
  min-width: auto !important;
  z-index: 4 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Summary Wrap */
.astra-shop-summary-wrap {
  padding: 16px 18px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  background: var(--zc-white) !important;
}

.ast-woo-product-category {
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: var(--zc-muted) !important;
  margin-bottom: 6px !important;
}

.woocommerce-loop-product__title {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
  color: var(--zc-noir) !important;
  transition: color 0.2s ease !important;
}

.woocommerce-loop-product__title:hover {
  color: var(--zc-gold-dark) !important;
}

/* Price Styling */
.price {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--zc-noir) !important;
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.price del {
  color: #A09E9C !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
}

.price ins {
  text-decoration: none !important;
  color: var(--zc-noir) !important;
  font-weight: 700 !important;
}

/* --------------------------------------------------------------------------
   7. Single Product Page Refinements
   -------------------------------------------------------------------------- */
.product_title.entry-title {
  font-size: 2.2rem !important;
  letter-spacing: 0.5px !important;
  line-height: 1.25 !important;
  margin-bottom: 12px !important;
}

.ast-woocommerce-container .summary .price {
  font-size: 1.6rem !important;
  margin-bottom: 16px !important;
}

.ast-shipping-text {
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(39, 174, 96, 0.1) !important;
  color: #219653 !important;
  padding: 5px 12px !important;
  border-radius: var(--zc-radius-pill) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 18px !important;
}

/* Single Add to Cart Form */
form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 24px 0 !important;
}

form.cart .quantity .qty {
  width: 65px !important;
  height: 48px !important;
  border-radius: var(--zc-radius-pill) !important;
  border: 1px solid var(--zc-border-light) !important;
  background: var(--zc-bg-cream) !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}

form.cart .single_add_to_cart_button {
  height: 48px !important;
  padding: 0 38px !important;
  font-size: 13px !important;
  letter-spacing: 2px !important;
}

/* Single Product Trust Badges Box */
.zc-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: var(--zc-bg-cream);
  border: 1px solid var(--zc-border-gold);
  border-radius: var(--zc-radius-md);
  padding: 18px;
  margin: 24px 0;
}

.zc-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--zc-charcoal);
}

.zc-trust-icon {
  font-size: 18px;
  color: var(--zc-gold-dark);
}

/* --------------------------------------------------------------------------
   8. Feature Highlights (Worldwide Shipping, etc.)
   -------------------------------------------------------------------------- */
.elementor-element-37e1671 .elementor-image-box-wrapper {
  background: var(--zc-white) !important;
  border: 1px solid var(--zc-border-light) !important;
  border-radius: var(--zc-radius-md) !important;
  padding: 24px 16px !important;
  box-shadow: var(--zc-shadow-soft) !important;
  transition: var(--zc-transition) !important;
  text-align: center !important;
}

.elementor-element-37e1671 .elementor-image-box-wrapper:hover {
  transform: translateY(-4px) !important;
  border-color: var(--zc-gold) !important;
  box-shadow: var(--zc-shadow-hover) !important;
}

.elementor-element-37e1671 .elementor-image-box-title {
  font-size: 1rem !important;
  letter-spacing: 0.5px !important;
  margin-top: 10px !important;
}

/* --------------------------------------------------------------------------
   9. Mobile Native App Bottom Navigation Bar
   -------------------------------------------------------------------------- */
.zc-mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 62px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--zc-border-light);
  display: none;
  justify-content: space-around;
  align-items: center;
  z-index: 99999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.zc-mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  color: var(--zc-muted) !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.2s ease;
  width: 20%;
  padding: 4px 0;
}

.zc-mobile-nav-link svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  margin-bottom: 2px;
  transition: stroke 0.2s ease;
}

.zc-mobile-nav-link:hover,
.zc-mobile-nav-link.active {
  color: var(--zc-gold-dark) !important;
}

.zc-mobile-nav-link.active svg {
  stroke: var(--zc-gold-dark) !important;
}

.zc-mobile-cart-badge {
  position: absolute;
  top: 1px;
  right: 20px;
  background: var(--zc-gold);
  color: var(--zc-noir);
  font-size: 10px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Floating WhatsApp Stylist Concierge */
.zc-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #fff !important;
  border-radius: var(--zc-radius-pill);
  padding: 10px 18px 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none !important;
  z-index: 9999;
  transition: var(--zc-transition);
}

.zc-whatsapp-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  color: #fff !important;
}

.zc-whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   10. Mobile Responsive Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  body {
    padding-bottom: 68px !important;
  }

  .zc-mobile-bottom-nav {
    display: flex !important;
  }

  .zc-whatsapp-float {
    bottom: 74px !important;
    right: 16px !important;
    padding: 10px !important;
    border-radius: 50% !important;
  }

  .zc-whatsapp-float span.zc-whatsapp-text {
    display: none !important;
  }

  .woocommerce ul.products,
  .elementor-shortcode ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .astra-shop-summary-wrap {
    padding: 10px 12px 14px !important;
  }

  .woocommerce-loop-product__title {
    font-size: 0.95rem !important;
  }

  .price {
    font-size: 0.95rem !important;
  }

  .zc-trust-badges {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .site-title a {
    font-size: 1.3rem !important;
    letter-spacing: 2px !important;
  }
}

/* --------------------------------------------------------------------------
   0. Emergency Desktop Unblocker (Overrides Additional CSS Blocker)
   -------------------------------------------------------------------------- */
@media only screen and (min-width: 0px) {
  body::before {
    content: none !important;
    display: none !important;
  }
}
@media only screen and (min-width: 768px) {
  body * {
    display: revert !important;
  }
  body header,
  body div,
  body section,
  body main,
  body footer,
  body nav,
  body article,
  body p,
  body h1, body h2, body h3, body h4, body h5, body h6,
  body ul, body ol, body li,
  body a, body span, body img, body button, body form {
    display: revert !important;
  }
}
