/*
Theme Name: Astra Child 02
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.9.1756669461
Updated: 2025-08-31 19:44:21

*/

/* ===========================
   EVERYBARBER DIRECTORY CSS
   =========================== */

/* === Hide theme chrome on CPT (archive + single) === */
.post-type-archive-barber_shops .entry-meta,
.post-type-archive-barber_shops .byline,
.post-type-archive-barber_shops .posted-on,
.post-type-archive-barber_shops .comments-link,
.post-type-archive-barber_shops .entry-footer,
.post-type-archive-barber_shops .more-link,
.single-barber_shops .entry-meta,
.single-barber_shops .byline,
.single-barber_shops .posted-on,
.single-barber_shops .comments-link,
.single-barber_shops .entry-footer,
.single-barber_shops .tags-links,
.single-barber_shops .cat-links {
  display: none !important;
}

/* === Archive card styling === */
.post-type-archive-barber_shops .eb-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
  will-change: transform;
}

.post-type-archive-barber_shops .eb-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.post-type-archive-barber_shops .eb-thumb--placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  border: 1px solid #e5e7eb;
}

.post-type-archive-barber_shops .eb-initial {
  font-weight: 700;
  font-size: 24px;
  color: #374151;
  line-height: 1;
}

.post-type-archive-barber_shops .eb-body {
  min-width: 0;
}

.post-type-archive-barber_shops .eb-name {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  display: inline-block;
}

.post-type-archive-barber_shops .eb-name:hover {
  text-decoration: underline;
}

.post-type-archive-barber_shops .eb-city {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.post-type-archive-barber_shops .eb-stars {
  --rating: 0;
  --star-size: 18px;
  --star-color: #e5e7eb;
  --star-fill: #fbbf24;
  position: relative;
  display: inline-block;
  font-size: var(--star-size);
  line-height: 1;
  letter-spacing: 3px;
  margin-right: 6px;
  color: transparent;
}

.post-type-archive-barber_shops .eb-stars::before {
  content: "★★★★★";
  background: linear-gradient(90deg, var(--star-fill) calc(var(--rating) / 5 * 100%), var(--star-color) 0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.post-type-archive-barber_shops .eb-stars[aria-label] {
  color: inherit;
}

.post-type-archive-barber_shops .eb-reviews {
  display: inline-block;
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}

.post-type-archive-barber_shops .eb-icons {
  margin-top: 8px;
  font-size: 18px;
}

.post-type-archive-barber_shops .eb-icons .ico {
  margin-right: 6px;
}

@media (max-width: 520px) {
  .post-type-archive-barber_shops .eb-card {
    grid-template-columns: 48px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .post-type-archive-barber_shops .eb-thumb--placeholder {
    width: 48px;
    height: 48px;
  }

  .post-type-archive-barber_shops .eb-initial {
    font-size: 18px;
  }

  .post-type-archive-barber_shops .eb-name {
    font-size: 16px;
  }
}

/* === Archive card spacing === */
.post-type-archive-barber_shops .hentry,
.post-type-archive-barber_shops article {
  margin-bottom: 16px;
}

/* === Single barbershop page === */
.single-barber_shops .eb-single {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.single-barber_shops .eb-single__head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.single-barber_shops .eb-single__titleblock {
  min-width: 0;
}

.single-barber_shops .eb-single__name {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
}

.single-barber_shops .eb-single__addr {
  font-size: 14px;
  color: #4b5563;
}

.single-barber_shops .eb-single__rating {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-barber_shops .eb-reviews-inline {
  font-size: 13px;
  color: #6b7280;
}

.single-barber_shops .eb-single__actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.single-barber_shops .eb-btn {
  display: inline-block;
  font-size: 14px;
  padding: 8px 12px;
  background: #0ea5e9;
  color: #fff !important;
  border-radius: 8px;
  text-decoration: none;
  flex: 1 1 auto;
  text-align: center;
}

.single-barber_shops .eb-btn:hover {
  background: #0284c7;
}

.single-barber_shops .eb-section {
  margin-top: 20px;
}

.single-barber_shops .eb-h2 {
  font-size: 18px;
  margin: 0 0 8px 0;
}

.single-barber_shops .eb-hours {
  white-space: pre-line;
  font-family: system-ui, sans-serif;
}

.single-barber_shops .eb-about {
  margin: 0;
}

@media (max-width: 520px) {
  .single-barber_shops .eb-single__head {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .single-barber_shops .eb-single__actions {
    justify-content: center;
  }
}

/* === CTA Buttons Anywhere (.button) === */
a.button,
button.button {
  display: inline-block;
  background-color: #0073e6;
  color: #ffffff !important;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  border: none;
  transition: background-color 0.3s ease, transform 0.15s ease;
}

a.button:hover,
button.button:hover {
  background-color: #005bb5;
  transform: translateY(-1px);
}

a.button:focus,
button.button:focus {
  outline: 3px solid #90cdf4;
  outline-offset: 2px;
}

/* === Global Typography Cleanup === */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

/* === Home Page CTA Button Styling (Gutenberg-safe) ===
   Works with:
   - default Gutenberg button classes (.wp-block-button__link / .wp-element-button)
   - optional custom class .cta-button (if you ever add it)
*/
.home .cta-button,
.home .wp-block-button__link,
.home .wp-element-button {
  display: inline-block;
  padding: 14px 32px;
  margin: 40px auto;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;              /* White text */
  background-color: #222;   /* Charcoal black */
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* Center the button container on Home */
.home .wp-block-buttons,
.home .wp-block-button,
.home p {
  text-align: center;
}

/* Hover + focus */
.home .cta-button:hover,
.home .cta-button:focus,
.home .wp-block-button__link:hover,
.home .wp-block-button__link:focus,
.home .wp-element-button:hover,
.home .wp-element-button:focus {
  background-color: #b8860b; /* Golden brown hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Active (clicked) */
.home .cta-button:active,
.home .wp-block-button__link:active,
.home .wp-element-button:active {
  background-color: #8b6508; /* Darker gold */
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}