/* =========================================================
   BUTTONS
   ========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; border-radius:999px; border:0; font-weight:700; font-size:15px;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:active{ transform:scale(.97); }
.btn-orange{ background:var(--pz-orange-500); color:var(--pz-white); box-shadow:0 6px 18px rgba(244,99,31,.35); }
.btn-orange:hover{ background:var(--pz-orange-600); }
.btn-purple{ background:var(--pz-purple-600); color:var(--pz-white); }
.btn-purple:hover{ background:var(--pz-purple-700); }
.btn-outline{ background:transparent; color:var(--pz-purple-600); border:1.5px solid var(--pz-purple-600); }
.btn-block{ width:100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:50; background:var(--pz-white);
  border-bottom:1px solid var(--pz-line);
}
.header-top{ display:flex; align-items:center; gap:12px; padding:10px 0; }
.header-top .container{ display:flex; align-items:center; gap:10px; width:100%; }
.site-logo{ display:flex; align-items:center; gap:8px; font-family:var(--pz-font-display); font-weight:800; font-size:20px; color:var(--pz-orange-500); margin-inline-start:auto; }
.site-logo img{ height:34px; width:auto; }
.header-icon-btn{
  width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--pz-cream); color:var(--pz-purple-600); position:relative; flex:0 0 auto;
}
.header-icon-btn .badge{
  position:absolute; top:-2px; left:-2px; background:var(--pz-orange-500); color:#fff;
  font-size:10px; font-weight:800; min-width:16px; height:16px; border-radius:8px;
  display:flex; align-items:center; justify-content:center; padding:0 3px;
}
.header-search{ flex:1 1 auto; display:flex; align-items:center; background:var(--pz-cream); border-radius:999px; padding:4px; }
.header-search input{ flex:1; border:0; background:transparent; padding:8px 14px; outline:none; }
.header-search button{ width:38px; height:38px; border-radius:50%; background:var(--pz-orange-500); border:0; color:#fff; display:flex; align-items:center; justify-content:center; }
.mobile-menu-toggle{ display:flex; }

.primary-nav{ display:none; }
.primary-nav ul{ display:flex; gap:22px; align-items:center; padding:10px 0; }
.primary-nav a{ font-weight:600; color:var(--pz-ink); font-size:14.5px; }
.primary-nav a:hover{ color:var(--pz-orange-500); }

/* Mobile slide-out menu */
.mobile-nav-panel{
  position:fixed; inset:0 0 0 auto; width:82%; max-width:320px; background:#fff; z-index:100;
  transform:translateX(100%); transition:transform .25s ease; padding:18px; overflow-y:auto;
  box-shadow:-10px 0 30px rgba(0,0,0,.15);
}
[dir="rtl"] .mobile-nav-panel, .mobile-nav-panel{ right:0; transform:translateX(100%); }
.mobile-nav-panel.is-open{ transform:translateX(0); }
.mobile-nav-scrim{ position:fixed; inset:0; background:rgba(33,26,44,.45); z-index:99; opacity:0; pointer-events:none; transition:opacity .2s ease; }
.mobile-nav-scrim.is-open{ opacity:1; pointer-events:auto; }
.mobile-nav-panel ul{ display:flex; flex-direction:column; gap:4px; margin-top:20px; }
.mobile-nav-panel a{ display:block; padding:12px 8px; font-weight:700; border-bottom:1px solid var(--pz-line); }
.mobile-nav-close{ width:36px; height:36px; border-radius:50%; background:var(--pz-cream); border:0; }

@media (min-width:1024px){
  .mobile-menu-toggle, .mobile-nav-panel, .mobile-nav-scrim{ display:none!important; }
  .primary-nav{ display:block; border-top:1px solid var(--pz-line); }
}

/* =========================================================
   BOTTOM MOBILE NAV (signature element)
   ========================================================= */
.bottom-nav{
  position:fixed; bottom:0; right:0; left:0; z-index:60; background:#fff;
  border-top:1px solid var(--pz-line); display:flex; box-shadow:0 -6px 18px rgba(44,15,82,.08);
}
.bottom-nav a{
  flex:1; display:flex; flex-direction:column; align-items:center; gap:2px; padding:8px 0 10px;
  font-size:11px; font-weight:700; color:var(--pz-ink-soft);
}
.bottom-nav a.is-active{ color:var(--pz-orange-500); }
.bottom-nav svg{ width:22px; height:22px; }
@media (min-width:1024px){ .bottom-nav{ display:none; } }

/* =========================================================
   HERO — diagonal purple/orange banner
   ========================================================= */
.hero{
  position:relative; overflow:hidden; margin:12px auto 0; max-width:var(--pz-container);
  border-radius:var(--pz-radius-lg); background:var(--pz-orange-500);
  padding:36px 20px 40px;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(115deg, var(--pz-purple-700) 0 55%, transparent 55%);
}
.hero-inner{ position:relative; z-index:1; text-align:center; color:#fff; }
.hero-eyebrow{ display:inline-block; writing-mode:vertical-rl; letter-spacing:6px; font-weight:800; opacity:.8; margin-bottom:10px; }
.hero-title{ color:#fff; font-size:26px; margin:0 0 6px; }
.hero-sub{ color:#fff; opacity:.9; font-size:14px; margin-bottom:18px; }
.hero-media{ margin:0 auto 20px; max-width:420px; }
@media (min-width:768px){
  .hero{ padding:56px 40px; }
  .hero-title{ font-size:34px; }
}

/* =========================================================
   FEATURE / "پت‌زنگ چیکار می‌کنه" ICON ROW
   ========================================================= */
.feature-row{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; padding:30px 0; }
.feature-item{ text-align:center; }
.feature-icon{
  width:64px; height:64px; margin:0 auto 10px; border-radius:50%; background:var(--pz-cream);
  display:flex; align-items:center; justify-content:center; color:var(--pz-purple-600);
}
.feature-icon svg{ width:28px; height:28px; }
.feature-item h4{ font-size:14px; margin-bottom:4px; }
.feature-item p{ font-size:12.5px; color:var(--pz-ink-soft); margin:0; }
@media (min-width:768px){ .feature-row{ grid-template-columns:repeat(4,1fr); gap:24px; } }

/* =========================================================
   SECTION HEADINGS
   ========================================================= */
.section{ padding:28px 0; }
.section-head{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:16px; }
.section-head h2{ font-size:20px; margin:0; }
.section-head a{ font-size:13px; font-weight:700; color:var(--pz-orange-500); }

/* =========================================================
   PRODUCT GRID (WooCommerce)
   ========================================================= */
ul.products{ display:grid!important; grid-template-columns:repeat(2,1fr); gap:14px; margin:0!important; padding:0!important; }
ul.products li.product{
  list-style:none; background:#fff; border-radius:var(--pz-radius-md); padding:10px; box-shadow:var(--pz-shadow);
  position:relative;
}
ul.products li.product img{ border-radius:var(--pz-radius-sm); aspect-ratio:1/1; object-fit:cover; }
ul.products li.product .woocommerce-loop-product__title{ font-size:13.5px; margin:8px 0 4px; color:var(--pz-ink); }
ul.products li.product .price{ color:var(--pz-orange-600); font-weight:800; font-size:14px; }
ul.products li.product .price del{ color:var(--pz-ink-soft); font-weight:400; font-size:12px; margin-inline-start:6px; }
ul.products li.product .button{
  display:block; text-align:center; margin-top:8px; background:var(--pz-purple-600); color:#fff;
  border-radius:999px; padding:8px; font-size:12.5px; font-weight:700;
}
ul.products li.product .onsale{
  position:absolute; top:8px; inset-inline-start:8px; background:var(--pz-orange-500); color:#fff;
  font-size:11px; font-weight:800; border-radius:999px; padding:2px 9px; z-index:1;
}
@media (min-width:600px){ ul.products{ grid-template-columns:repeat(3,1fr); } }
@media (min-width:1024px){ ul.products{ grid-template-columns:repeat(4,1fr); gap:20px; } }

.woocommerce div.product .woocommerce-tabs, .woocommerce-page div.product .woocommerce-tabs{ margin-top:20px; }
.woocommerce ul.cart_list li, .woocommerce ul.product_list_widget li{ padding:8px 0; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
  background:var(--pz-purple-600)!important; color:#fff!important; border-radius:999px!important; border:0!important;
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order{
  background:var(--pz-orange-500)!important;
}
.woocommerce span.onsale{ background:var(--pz-orange-500)!important; }
.woocommerce table.shop_table{ border-radius:var(--pz-radius-md); overflow:hidden; border-color:var(--pz-line)!important; }
.woocommerce-message, .woocommerce-info{ border-top-color:var(--pz-orange-500)!important; }
.woocommerce-error{ border-top-color:var(--pz-danger)!important; }

/* =========================================================
   CARDS (services / articles)
   ========================================================= */
.pz-card{ background:#fff; border-radius:var(--pz-radius-md); box-shadow:var(--pz-shadow); overflow:hidden; }
.pz-card .pz-card-body{ padding:14px; }
.pz-card h3{ font-size:15px; margin-bottom:4px; }
.pz-card p{ font-size:13px; color:var(--pz-ink-soft); }

/* =========================================================
   FORMS (auth / booking)
   ========================================================= */
.pz-auth-wrap, .pz-booking-wrap{ max-width:440px; margin:24px auto; padding:0 16px; }
.pz-tabs{ display:flex; background:var(--pz-cream); border-radius:999px; padding:4px; margin-bottom:20px; }
.pz-tabs button{ flex:1; border:0; background:transparent; padding:10px; border-radius:999px; font-weight:700; color:var(--pz-ink-soft); }
.pz-tabs button.is-active{ background:var(--pz-purple-600); color:#fff; }
.pz-form-panel{ display:none; }
.pz-form-panel.is-active{ display:block; }
.pz-field{ margin-bottom:14px; }
.pz-field label{ display:block; font-size:13px; font-weight:700; margin-bottom:6px; color:var(--pz-ink); }
.pz-field input, .pz-field select, .pz-field textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--pz-line); border-radius:var(--pz-radius-sm); background:#fff;
}
.pz-field input:focus, .pz-field select:focus, .pz-field textarea:focus{ border-color:var(--pz-purple-500); outline:none; }
.pz-note{ font-size:12px; color:var(--pz-ink-soft); text-align:center; margin-top:14px; }
.pz-alert{ padding:12px 14px; border-radius:var(--pz-radius-sm); font-size:13px; margin-bottom:16px; }
.pz-alert-success{ background:#e8f8f1; color:var(--pz-success); }
.pz-alert-error{ background:#fdeceb; color:var(--pz-danger); }

/* =========================================================
   BOOKING PAGE extra
   ========================================================= */
.pz-service-picker{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-bottom:16px; }
.pz-service-picker label{ display:block; }
.pz-service-picker input{ position:absolute; opacity:0; }
.pz-service-picker span{
  display:block; text-align:center; padding:14px 8px; border:1.5px solid var(--pz-line); border-radius:var(--pz-radius-sm);
  font-size:12.5px; font-weight:700; color:var(--pz-ink-soft);
}
.pz-service-picker input:checked + span{ border-color:var(--pz-orange-500); color:var(--pz-orange-600); background:#fff5ef; }

/* =========================================================
   INVOICE
   ========================================================= */
.pz-invoice{ max-width:720px; margin:20px auto; background:#fff; border-radius:var(--pz-radius-md); box-shadow:var(--pz-shadow); padding:26px; }
.pz-invoice-head{ display:flex; justify-content:space-between; align-items:flex-start; border-bottom:2px dashed var(--pz-line); padding-bottom:16px; margin-bottom:16px; }
.pz-invoice-head h2{ margin:0; color:var(--pz-orange-600); }
.pz-invoice table{ width:100%; border-collapse:collapse; font-size:13.5px; }
.pz-invoice th{ text-align:right; background:var(--pz-cream); padding:10px; font-size:12.5px; }
.pz-invoice td{ padding:10px; border-bottom:1px solid var(--pz-line); }
.pz-invoice-total{ text-align:left; font-weight:800; font-size:16px; color:var(--pz-purple-700); margin-top:10px; }
.pz-print-btn{ margin-top:18px; }
@media print{
  .site-header,.bottom-nav,.site-footer,.pz-print-btn{ display:none!important; }
  body{ background:#fff; padding-bottom:0; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background:var(--pz-purple-700); color:#fff; margin-top:40px; padding:32px 0 90px; }
.site-footer h4{ color:#fff; font-size:14px; margin-bottom:12px; }
.footer-grid{ display:grid; grid-template-columns:1fr; gap:24px; }
.footer-grid a{ display:block; color:rgba(255,255,255,.75); font-size:13px; padding:6px 0; }
.footer-bottom{ text-align:center; font-size:12px; color:rgba(255,255,255,.6); margin-top:24px; padding-top:16px; border-top:1px solid rgba(255,255,255,.12); }
@media (min-width:1024px){ .site-footer{ padding-bottom:32px; } .footer-grid{ grid-template-columns:repeat(4,1fr); } }

/* WhatsApp float button */
.pz-whatsapp-float{
  position:fixed; bottom:calc(var(--pz-bottomnav-h) + 14px); inset-inline-start:14px; z-index:55;
  width:52px; height:52px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 20px rgba(37,211,102,.4); color:#fff;
}
@media (min-width:1024px){ .pz-whatsapp-float{ bottom:24px; } }

/* =========================================================
   HERO SLIDER + OFFER BOX (homepage)
   ========================================================= */
.hero-row{ display:flex; flex-direction:column; gap:12px; margin-top:12px; }
.hero-slider{ position:relative; border-radius:var(--pz-radius-lg); overflow:hidden; background:var(--pz-purple-700); }
.hero-slider-track{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; -ms-overflow-style:none; }
.hero-slider-track::-webkit-scrollbar{ display:none; }
.hero-slide{ flex:0 0 100%; scroll-snap-align:start; position:relative; min-height:220px; display:flex; align-items:center; justify-content:center; text-align:center; padding:28px 20px; background:linear-gradient(115deg, var(--pz-purple-700) 0 55%, var(--pz-orange-500) 55%); }
.hero-slide-placeholder{ background:linear-gradient(115deg, var(--pz-purple-700) 0 55%, var(--pz-orange-500) 55%); }
.hero-slide-media{ position:absolute; inset:0; z-index:0; opacity:.35; }
.hero-slide-media img{ width:100%; height:100%; object-fit:cover; }
.hero-slide-copy{ position:relative; z-index:1; color:#fff; max-width:480px; }
.hero-slide-copy h2{ color:#fff; font-size:22px; margin-bottom:8px; }
.hero-slide-copy p{ color:rgba(255,255,255,.9); font-size:13.5px; margin-bottom:16px; }
.hero-slider-dots{ position:absolute; bottom:12px; left:0; right:0; display:flex; justify-content:center; gap:6px; z-index:2; }
.hero-slider-dots button{ width:8px; height:8px; border-radius:50%; border:0; background:rgba(255,255,255,.5); padding:0; }
.hero-slider-dots button.is-active{ background:#fff; width:20px; border-radius:6px; }

.hero-offer-box{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px;
  background:#fff; border-radius:var(--pz-radius-lg); box-shadow:var(--pz-shadow); padding:16px; position:relative;
}
.hero-offer-tag{ position:absolute; top:10px; inset-inline-start:10px; background:var(--pz-orange-500); color:#fff; font-size:11px; font-weight:800; border-radius:999px; padding:3px 10px; }
.hero-offer-box img{ width:120px; height:120px; object-fit:cover; border-radius:var(--pz-radius-sm); margin-top:14px; }
.hero-offer-title{ font-size:13px; font-weight:700; color:var(--pz-ink); }
.hero-offer-price{ font-size:13px; font-weight:800; color:var(--pz-orange-600); }

@media (min-width:1024px){
  .hero-row{ flex-direction:row; align-items:stretch; }
  .hero-slider{ flex:1 1 68%; }
  .hero-offer-box{ flex:0 0 30%; justify-content:center; }
  .hero-slide{ min-height:320px; padding:0 60px; }
  .hero-slide-copy h2{ font-size:30px; }
}

/* Feature row variants */
.feature-row-3{ grid-template-columns:repeat(3,1fr); }
.feature-row-4{ margin-top:10px; }
.feature-icon-badge{ background:var(--pz-purple-600); color:#fff; width:48px; height:48px; }
.feature-row-4 .feature-item p{ font-weight:700; color:var(--pz-ink); font-size:12px; }
@media (max-width:767px){ .feature-row-3{ grid-template-columns:1fr; } }

/* Brand strip */
.brand-strip{ display:flex; gap:10px; overflow-x:auto; padding-bottom:6px; scrollbar-width:none; }
.brand-strip::-webkit-scrollbar{ display:none; }
.brand-chip{
  flex:0 0 auto; background:#fff; border:1px solid var(--pz-line); border-radius:999px; padding:10px 18px;
  font-size:12.5px; font-weight:700; color:var(--pz-ink-soft); white-space:nowrap;
}

/* Category promo banners */
.category-banners{ display:grid; grid-template-columns:1fr; gap:14px; }
.category-banner{
  position:relative; border-radius:var(--pz-radius-lg); overflow:hidden; min-height:150px; display:flex; flex-direction:column;
  justify-content:flex-end; padding:18px; background:linear-gradient(120deg,var(--pz-purple-600),var(--pz-purple-700));
}
.category-banner h3{ color:#fff; margin:0; font-size:18px; }
.category-banner-btn{
  align-self:flex-start; background:var(--pz-orange-500); color:#fff; font-size:11.5px; font-weight:800;
  border-radius:999px; padding:5px 14px; margin-bottom:10px;
}
@media (min-width:768px){ .category-banners{ grid-template-columns:repeat(3,1fr); } }

/* Sale strip (yellow highlight) */
.pz-sale-strip{ background:#fff3d6; border-radius:var(--pz-radius-lg); padding:14px; }
.pz-sale-strip ul.products{ margin:0!important; }

/* =========================================================
   ADMIN: schedule table / settings polish
   ========================================================= */
.wrap table.widefat input[type="time"]{ padding:4px; }
