/*
Theme Name: a2allmarket
Theme URI: https://understrap.com
Author: Nasim Ansari
Author URI: https://howarddc.com
GitHub Theme URI: https://github.com/understrap/understrap
Description: The renowned WordPress starter theme framework that combined Underscores and Bootstrap. Trusted by more than 100,000 developers for building handcrafted, custom WordPress sites.
Version: 1.2.4
Requires at least: 5.0
Tested up to: 6.1
Requires PHP: 5.2
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: understrap
Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, custom-background, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, block-styles, wide-blocks, editor-style, threaded-comments, accessibility-ready

Understrap WordPress Theme, (C) 2021 Howard Development & Consulting, LLC
Understrap is distributed under the terms of the GNU GPL.

Resource Licenses:
Understrap is based on Underscores https://underscores.me/, (C) Automattic, Inc.
Font Awesome: https://fontawesome.com/v4.7/license/ (Font: SIL OFL 1.1, (S)CSS: MIT)
Bootstrap: https://getbootstrap.com | https://github.com/twbs/bootstrap/blob/master/LICENSE (MIT)
WP Bootstrap Navwalker by Edward McIntyre & William Patton: https://github.com/twittem/wp-bootstrap-navwalker (GNU GPLv3)
*/

/*
Do not modify the parent Understrap theme. Instead, download a copy of the Understrap Child starter theme and do all your development within the child theme.
Full developer documentation: https://docs.understrap.com
*/
/* ================================
   HEADER & NAVIGATION STYLING
   ================================ */

/* Header image wrapper */
.header-image-wrapper {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 250px;
  position: relative;
  display: flex;
  align-items: center;
}

/* Transparent navbar wrapper */
#wrapper-navbar {
  position: relative;
  z-index: 2;
  background: transparent !important;
}

/* Transparent navbar itself */
.navbar {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Navbar link styling */
.navbar-nav > li > a,
.navbar-brand {
  color: white !important;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

/* Logo image size */
.site-branding img {
  max-height: 60px;
  height: auto;
}

/* Contact section layout */
.header-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  font-size: 15px;
  color: #fff;
  text-align: right;
  gap: 20px;
}

.header-contact i.fa {
  color: #0d6efd;
  margin-right: 5px;
  font-size: 16px;
}

.header-contact .phone,
.header-contact .email {
  display: inline-block;
}

/* Search bar below contact info */
.header-search {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
}

.header-search input[type="text"] {
  border-radius: 30px;
  padding: 6px 15px;
  font-size: 14px;
  max-width: 250px;
}

.header-search button {
  border-radius: 30px;
  padding: 6px 20px;
  font-size: 14px;
  margin-left: 10px;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .header-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .header-search {
    justify-content: flex-start;
  }

  .site-branding {
    text-align: center;
    margin-bottom: 15px;
  }

  .navbar-nav > li > a {
    color: #fff !important;
  }
}


/* ================================
   PRODUCT IMAGE STYLING
   ================================ */
.product-img {
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.detail-img {
  height: 300px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 6px;
}

/* ================================
   GENERAL IMPROVEMENTS
   ================================ */

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  color: #333;
}

.card {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.btn-outline-primary {
  border-radius: 20px;
}

/* ================================
   DYNAMIC FOOTER STYLING
   ================================ */

#wrapper-footer {
  background-color: #212529;
  color: #f8f9fa;
  font-size: 15px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #f8f9fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

#wrapper-footer p {
  color: #ccc;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  #wrapper-footer .footer-heading,
  #wrapper-footer .footer-links,
  #wrapper-footer p {
    text-align: center;
  }
}

/* Sidebar fix */
.sidebar-area {
  display: block;
  width: 100%;
}

@media (min-width: 992px) {
  .sidebar-area {
    max-width: 100%;
    flex: 0 0 auto;
  }
}

.btn-group .btn {
    margin-right: 5px;
}

.btn .bi {
    vertical-align: middle;
    font-size: 1rem;
}

.btn.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

