/*
Theme Name: BuyPerfumes UAE
Theme URI: https://buyperfumes.ae
Description: Custom WooCommerce theme for BuyPerfumes.ae — Amazon + Perfume Gallery style
Author: BuyPerfumes UAE
Author URI: https://buyperfumes.ae
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: buyperfumes-child
*/

/* ============================================
   ANNOUNCEMENT BAR
============================================ */
.bp-announcement-bar {
  background: #1a1a2e;
  color: #ffffff;
  text-align: center;
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 9999;
}

.bp-announcement-bar span {
  color: #FFD700;
  font-weight: 700;
}

.bp-announcement-bar .bp-ann-divider {
  margin: 0 12px;
  opacity: 0.4;
}

/* ============================================
   HEADER
============================================ */
.ast-site-header-wrap,
#masthead,
.site-header {
  background: #ffffff !important;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08) !important;
  padding: 0 !important;
}

.ast-primary-header-bar {
  padding: 12px 0 !important;
  background: #ffffff !important;
}

/* Logo */
.ast-site-identity {
  padding: 0 !important;
}

/* Search Bar */
.ast-search-menu-icon .search-form,
.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.ast-search-menu-icon .search-field,
.search-form input[type="search"] {
  border: 2px solid #e0e0e0 !important;
  border-radius: 30px 0 0 30px !important;
  padding: 11px 20px !important;
  font-size: 14px !important;
  width: 420px !important;
  outline: none !important;
  transition: border-color 0.2s !important;
  background: #f8f8f8 !important;
}

.ast-search-menu-icon .search-field:focus,
.search-form input[type="search"]:focus {
  border-color: #1a1a2e !important;
  background: #fff !important;
}

.search-form .search-submit {
  background: #e74c3c !important;
  color: white !important;
  border: none !important;
  border-radius: 0 30px 30px 0 !important;
  padding: 11px 20px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.search-form .search-submit:hover {
  background: #c0392b !important;
}

/* ============================================
   NAVIGATION
============================================ */
#ast-desktop-header .main-header-bar-navigation,
.ast-main-header-wrap .main-navigation {
  background: #1a1a2e !important;
}

.ast-main-header-wrap .main-navigation ul li a,
#ast-desktop-header .main-header-bar-navigation ul li a {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 12px 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: color 0.2s !important;
}

.ast-main-header-wrap .main-navigation ul li a:hover,
#ast-desktop-header .main-header-bar-navigation ul li a:hover {
  color: #FFD700 !important;
  background: rgba(255,255,255,0.05) !important;
}

/* Dropdown */
.ast-main-header-wrap .main-navigation ul li ul {
  background: #1a1a2e !important;
  border-top: 2px solid #e74c3c !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
}

/* ============================================
   HOMEPAGE HERO SECTION
============================================ */
.bp-hero-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 60px 20px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.bp-hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  pointer-events: none;
}

.bp-hero-badge {
  display: inline-block;
  background: #e74c3c;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.bp-hero-section h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.2;
}

.bp-hero-section h1 span {
  color: #FFD700;
}

.bp-hero-section p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 30px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.bp-hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.bp-btn-primary {
  background: #e74c3c;
  color: white !important;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  transition: all 0.3s;
  display: inline-block;
}

.bp-btn-primary:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(231,76,60,0.4);
}

.bp-btn-secondary {
  background: transparent;
  color: white !important;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  border: 2px solid rgba(255,255,255,0.5);
  transition: all 0.3s;
  display: inline-block;
}

.bp-btn-secondary:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

/* Hero Stats */
.bp-hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.bp-stat {
  text-align: center;
}

.bp-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #FFD700;
  display: block;
}

.bp-stat-label {
  font-size: 12px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   CITY TABS SECTION
============================================ */
.bp-cities-section {
  background: #f8f9fa;
  padding: 30px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.bp-cities-section h3 {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.bp-city-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.bp-city-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none !important;
  color: #333 !important;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  background: white;
  min-width: 90px;
}

.bp-city-tab .city-emoji {
  font-size: 22px;
  margin-bottom: 5px;
}

.bp-city-tab:hover,
.bp-city-tab.active {
  border-color: #e74c3c;
  color: #e74c3c !important;
  box-shadow: 0 4px 15px rgba(231,76,60,0.15);
  transform: translateY(-2px);
}

/* ============================================
   CATEGORY ICONS ROW
============================================ */
.bp-categories-section {
  padding: 35px 20px;
  background: #ffffff;
}

.bp-categories-grid {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.bp-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 15px;
  border-radius: 16px;
  text-decoration: none !important;
  color: #333 !important;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s;
  background: #f8f9fa;
  min-width: 100px;
  text-align: center;
}

.bp-category-card .cat-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 10px;
}

.bp-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  color: #e74c3c !important;
}

/* ============================================
   SECTION HEADINGS
============================================ */
.bp-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.bp-section-heading h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  position: relative;
  padding-left: 15px;
}

.bp-section-heading h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
  background: #e74c3c;
  border-radius: 2px;
}

.bp-section-heading a {
  color: #e74c3c !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.2s;
}

.bp-section-heading a:hover {
  color: #c0392b !important;
}

/* ============================================
   PRODUCT CARDS
============================================ */
.woocommerce ul.products {
  margin: 0 !important;
}

.woocommerce ul.products li.product {
  background: #ffffff !important;
  border: 1px solid #f0f0f0 !important;
  border-radius: 14px !important;
  padding: 15px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  position: relative;
  overflow: hidden;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 10px 35px rgba(0,0,0,0.12) !important;
  transform: translateY(-4px) !important;
  border-color: #e0e0e0 !important;
}

.woocommerce ul.products li.product img {
  border-radius: 10px !important;
  margin-bottom: 12px !important;
  transition: transform 0.3s !important;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.03) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #222 !important;
  line-height: 1.4 !important;
  margin-bottom: 8px !important;
}

/* Price */
.woocommerce ul.products li.product .price {
  color: #e74c3c !important;
  font-weight: 700 !important;
  font-size: 17px !important;
}

.woocommerce ul.products li.product .price del {
  color: #aaa !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none !important;
}

/* Add to Cart */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  background: #1a1a2e !important;
  color: #ffffff !important;
  border-radius: 25px !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  width: 100% !important;
  text-align: center !important;
  border: none !important;
  margin-top: 10px !important;
  transition: all 0.2s !important;
  display: block !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: #e74c3c !important;
  transform: none !important;
}

/* Stars Gold */
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before {
  color: #FFC107 !important;
}

/* Sale Badge */
.woocommerce ul.products li.product .onsale {
  background: #e74c3c !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  top: 12px !important;
  left: 12px !important;
}

/* Wishlist heart */
.bp-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 14px;
  transition: all 0.2s;
  text-decoration: none !important;
  color: #ccc !important;
}

.bp-wishlist-btn:hover {
  color: #e74c3c !important;
  transform: scale(1.1);
}

/* ============================================
   BRANDS STRIP
============================================ */
.bp-brands-section {
  padding: 30px 20px;
  background: #f8f9fa;
  text-align: center;
}

.bp-brands-strip {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.bp-brand-pill {
  padding: 8px 20px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  color: #333 !important;
  text-decoration: none !important;
  transition: all 0.2s;
  white-space: nowrap;
}

.bp-brand-pill:hover {
  border-color: #e74c3c;
  color: #e74c3c !important;
  box-shadow: 0 3px 10px rgba(231,76,60,0.15);
}

/* ============================================
   PROMO BANNER
============================================ */
.bp-promo-banner {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  margin: 30px 0;
}

.bp-promo-banner h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.bp-promo-banner p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 20px;
}

/* ============================================
   FOOTER
============================================ */
.site-footer,
#colophon {
  background: #1a1a2e !important;
  color: #cccccc !important;
}

.ast-footer-widget-area {
  background: #1a1a2e !important;
  padding: 50px 0 30px !important;
}

.ast-footer-widget-area .widget-title {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 20px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #e74c3c !important;
  display: inline-block !important;
}

.ast-footer-widget-area a {
  color: #aaaaaa !important;
  font-size: 14px !important;
  text-decoration: none !important;
  line-height: 2 !important;
  transition: color 0.2s !important;
}

.ast-footer-widget-area a:hover {
  color: #FFD700 !important;
  padding-left: 5px !important;
}

.ast-small-footer {
  background: #0f0f1a !important;
  border-top: 1px solid rgba(255,255,255,0.05) !important;
  color: #666 !important;
  font-size: 13px !important;
  padding: 15px 0 !important;
}

/* ============================================
   FILTER SIDEBAR
============================================ */
.woocommerce-widget-layered-nav ul li {
  padding: 5px 0 !important;
  font-size: 14px !important;
  border-bottom: 1px solid #f5f5f5 !important;
}

.woocommerce-widget-layered-nav ul li a {
  color: #444 !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.woocommerce-widget-layered-nav ul li a:hover {
  color: #e74c3c !important;
}

.woocommerce-widget-layered-nav ul li.chosen a {
  color: #e74c3c !important;
  font-weight: 600 !important;
}

/* Price Slider */
.woocommerce .price_slider_wrapper .ui-widget-content {
  background: #e0e0e0 !important;
}

.woocommerce .ui-slider .ui-slider-handle {
  background: #e74c3c !important;
  border-color: #e74c3c !important;
}

.woocommerce .ui-slider-range {
  background: #e74c3c !important;
}

/* ============================================
   SINGLE PRODUCT PAGE
============================================ */
.woocommerce div.product .woocommerce-tabs .tabs li.active a {
  color: #e74c3c !important;
  border-bottom: 2px solid #e74c3c !important;
}

.woocommerce div.product .single_add_to_cart_button {
  background: #e74c3c !important;
  border-radius: 30px !important;
  padding: 15px 40px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border: none !important;
  transition: all 0.3s !important;
}

.woocommerce div.product .single_add_to_cart_button:hover {
  background: #c0392b !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(231,76,60,0.35) !important;
}

/* ============================================
   MOBILE RESPONSIVE
============================================ */
@media (max-width: 768px) {
  .bp-hero-section h1 {
    font-size: 28px;
  }

  .bp-hero-stats {
    gap: 20px;
  }

  .bp-city-tabs {
    gap: 8px;
  }

  .bp-city-tab {
    min-width: 75px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .search-form input[type="search"] {
    width: 200px !important;
  }
}

@media (max-width: 480px) {
  .bp-hero-section {
    padding: 40px 15px;
  }

  .bp-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
