/*
Theme Name: Dubai Market Child
Theme URI: https://dubaimarket1.com/
Author: Dubai Market Qeshm
Author URI: https://dubaimarket1.com/
Description: Custom child theme for Dubai Market Qeshm shop (parent: Twenty Twenty-Five). Navy/Gold/Yellow brand, Vazirmatn font, WooCommerce ready.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: dubaimarket-child
*/

/* Base font (Vazirmatn loaded via functions.php, Tahoma fallback). */
body {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

/* Brand helpers (logical properties, RTL safe). */
.dm-header-bar {
  background: var(--wp--preset--color--navy);
  color: var(--wp--preset--color--white);
}
.dm-gold-text {
  color: var(--wp--preset--color--gold);
}
.dm-yellow-badge {
  background: var(--wp--preset--color--yellow);
  color: #1a1a1a;
}

/* WhatsApp float button (bottom-left, RTL friendly). */
.dm-wa-float {
  position: fixed;
  inset-inline-start: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 999;
}
.dm-wa-float:hover {
  background: #1ebe5b;
}

/* Homepage: hide default page title (hero has own H1). */
body.home .wp-block-post-title {
  display: none;
}

/* Desktop: wide content (parent default narrow). */
.wp-block-group.alignwide,
.alignwide {
  max-width: 1400px;
}

/* Mobile: topbar/header rows wrap (no overflow). */
@media (max-width: 781px) {
  .dm-topbar-row,
  .dm-header-row {
    flex-wrap: wrap !important;
    row-gap: 10px;
  }
  .dm-header-row .wp-block-woocommerce-product-search {
    order: 3;
    flex-basis: 100%;
  }
}
