/*
Theme Name: Pooja Computers Astra Child
Theme URI: https://poojacomputers.net/
Description: Custom Astra child theme for Pooja Computers and WooCommerce.
Author: Pooja Computers
Template: astra
Version: 1.0.0
Text Domain: pooja-computers-astra-child
*/

:root {
  --pc-saffron: #ff6b00;
  --pc-navy: #123b6d;
  --pc-blue: #1688d4;
  --pc-border: #e5e7eb;
}

/* The child theme supplies its own stable site header. */
#masthead { display: none !important; }

/* The custom Home page already has its own hero heading. */
body.home .entry-header,
body.home .entry-title,
body.home .ast-single-entry-banner,
body.home .ast-archive-description {
  display: none !important;
}

body.home .site-content,
body.home .ast-container,
body.home .site-main,
body.home #primary,
body.home article.page,
body.home .ast-article-single,
body.home .entry-content-wrap,
body.home .entry-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.home .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home #primary,
body.home .site-main,
body.home article.page,
body.home .ast-article-single,
body.home .entry-content,
body.home .wp-block-post-content {
  width: 100% !important;
  max-width: 100% !important;
}

body.home .entry-content > :first-child,
body.home .entry-content > .pc-home:first-child,
body.home .pc-home > :first-child {
  margin-top: 0 !important;
}

/* Prevent the full-bleed home layout from producing a small mobile scrollbar. */
@media (max-width: 600px) {
  body.home .pc-home {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.home { overflow-x: hidden; }
}

/* Custom About page includes its own hero and heading. */
body.page-about-us .entry-header,
body.page-about-us .entry-title,
body.page-about-us .ast-single-entry-banner,
body.pc-about-custom-page .entry-header,
body.pc-about-custom-page .entry-title,
body.pc-about-custom-page .ast-single-entry-banner {
  display: none !important;
}

body.page-about-us .site-content,
body.page-about-us .ast-container,
body.page-about-us .site-main,
body.page-about-us #primary,
body.page-about-us article.page,
body.page-about-us .ast-article-single,
body.page-about-us .entry-content-wrap,
body.page-about-us .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.pc-about-custom-page .site-content,
body.pc-about-custom-page .ast-container,
body.pc-about-custom-page .site-main,
body.pc-about-custom-page #primary,
body.pc-about-custom-page article.page,
body.pc-about-custom-page .ast-article-single,
body.pc-about-custom-page .entry-content-wrap,
body.pc-about-custom-page .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.page-about-us .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.pc-about-custom-page .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.page-about-us .entry-content > :first-child,
body.page-about-us .entry-content > .pc-about-page:first-child,
body.page-about-us .pc-about-page > :first-child {
  margin-top: 0 !important;
}

body.pc-about-custom-page .entry-content > :first-child,
body.pc-about-custom-page .entry-content > .pc-about-page:first-child,
body.pc-about-custom-page .pc-about-page > :first-child {
  margin-top: 0 !important;
}

/* Custom Software Development page includes its own hero and heading. */
body.pc-software-custom-page .entry-header,
body.pc-software-custom-page .entry-title,
body.pc-software-custom-page .ast-single-entry-banner {
  display: none !important;
}

body.pc-software-custom-page .site-content,
body.pc-software-custom-page .ast-container,
body.pc-software-custom-page .site-main,
body.pc-software-custom-page #primary,
body.pc-software-custom-page article.page,
body.pc-software-custom-page .ast-article-single,
body.pc-software-custom-page .entry-content-wrap,
body.pc-software-custom-page .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.pc-software-custom-page .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.pc-software-custom-page .entry-content > :first-child,
body.pc-software-custom-page .entry-content > .pcsd-page:first-child,
body.pc-software-custom-page .pcsd-page > :first-child {
  margin-top: 0 !important;
}

/* Custom repair page includes its own hero and heading. */
body.pc-repair-custom-page .entry-header,
body.pc-repair-custom-page .entry-title,
body.pc-repair-custom-page .ast-single-entry-banner {
  display: none !important;
}

body.pc-repair-custom-page .site-content,
body.pc-repair-custom-page .ast-container,
body.pc-repair-custom-page .site-main,
body.pc-repair-custom-page #primary,
body.pc-repair-custom-page article.page,
body.pc-repair-custom-page .ast-article-single,
body.pc-repair-custom-page .entry-content-wrap,
body.pc-repair-custom-page .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.pc-repair-custom-page .ast-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.pc-repair-custom-page .entry-content > :first-child,
body.pc-repair-custom-page .entry-content > .pcr-page:first-child,
body.pc-repair-custom-page .pcr-page > :first-child {
  margin-top: 0 !important;
}

/* Custom Contact page includes its own hero and heading. */
body.pc-contact-custom-page .entry-header,
body.pc-contact-custom-page .entry-title,
body.pc-contact-custom-page .ast-single-entry-banner { display:none!important; }
body.pc-contact-custom-page .site-content,
body.pc-contact-custom-page .ast-container,
body.pc-contact-custom-page .site-main,
body.pc-contact-custom-page #primary,
body.pc-contact-custom-page article.page,
body.pc-contact-custom-page .ast-article-single,
body.pc-contact-custom-page .entry-content-wrap,
body.pc-contact-custom-page .entry-content { width:100%!important;max-width:100%!important;margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important; }
body.pc-contact-custom-page .ast-container { max-width:100%!important;padding-left:0!important;padding-right:0!important; }
body.pc-contact-custom-page .entry-content > :first-child,
body.pc-contact-custom-page .entry-content > .pcc-page:first-child,
body.pc-contact-custom-page .pcc-page > :first-child { margin-top:0!important; }

/* Contact enquiry form */
.pc-enquiry-section{padding:78px 0;background:#fff}.pc-enquiry-container{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;width:min(1160px,92%);margin:auto;align-items:start}.pc-enquiry-intro>span{color:#ff6b00;font-size:13px;font-weight:800;letter-spacing:1px}.pc-enquiry-intro h2{margin:10px 0 18px;color:#123b6d;font-size:clamp(30px,4vw,44px);line-height:1.2}.pc-enquiry-intro p{color:#667085;font-size:17px}.pc-enquiry-intro ul{margin:24px 0;padding:0;list-style:none}.pc-enquiry-intro li{position:relative;margin:12px 0;padding-left:28px;color:#526071}.pc-enquiry-intro li:before{content:"✓";position:absolute;left:0;color:#ff6b00;font-weight:900}.pc-enquiry-box{padding:34px;border:1px solid #dfe7f0;border-radius:14px;background:#f7faff;box-shadow:0 14px 35px rgba(18,59,109,.1)}.pc-enquiry-form label{display:block;margin:0 0 17px;color:#123b6d;font-size:14px;font-weight:700}.pc-enquiry-form label b{color:#e75200}.pc-enquiry-form input:not([type=checkbox]),.pc-enquiry-form select,.pc-enquiry-form textarea{display:block;width:100%;margin-top:7px;padding:12px 13px;border:1px solid #cbd6e3;border-radius:7px;background:#fff;color:#26364a;font:inherit;outline:none}.pc-enquiry-form input:focus,.pc-enquiry-form select:focus,.pc-enquiry-form textarea:focus{border-color:#1688d4;box-shadow:0 0 0 3px rgba(22,136,212,.12)}.pc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.pc-consent{display:flex!important;gap:10px;align-items:flex-start;color:#526071!important;font-weight:400!important}.pc-consent input{flex:0 0 auto;margin-top:5px}.pc-enquiry-form button{padding:14px 27px;border:0;border-radius:7px;color:#fff;background:#ff6b00;font-weight:800;cursor:pointer}.pc-enquiry-form button:hover{background:#e85f00}.pc-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.pc-form-message{margin-bottom:20px;padding:13px 15px;border-radius:7px;font-weight:700}.pc-form-success{color:#146c43;background:#dff5e9}.pc-form-error{color:#9d271d;background:#fde8e6}@media(max-width:850px){.pc-enquiry-container{grid-template-columns:1fr;gap:35px}}@media(max-width:600px){.pc-enquiry-section{padding:54px 0}.pc-enquiry-box{padding:24px 18px}.pc-form-grid{grid-template-columns:1fr}}

.pc-site-header {
  position: relative;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid var(--pc-border);
  box-shadow: 0 4px 16px rgba(18, 59, 109, .08);
}

.pc-header-inner {
  width: min(1240px, 94%);
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.pc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  text-decoration: none !important;
}

.pc-brand-logo {
  width: 88px;
  height: 72px;
  object-fit: contain;
}

.pc-brand-copy { line-height: 1; }
.pc-brand-name {
  display: block;
  white-space: nowrap;
  font: 800 25px/1.05 Arial, Helvetica, sans-serif;
  letter-spacing: .2px;
}
.pc-brand-pooja { color: var(--pc-saffron); }
.pc-brand-computers { color: var(--pc-navy); }
.pc-brand-tagline {
  display: block;
  margin-top: 6px;
  white-space: nowrap;
  color: #667085;
  font: 700 9px/1.1 Arial, Helvetica, sans-serif;
  letter-spacing: .75px;
}

.pc-nav { margin-left: auto; }
.pc-nav-list,
.pc-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc-nav-list { display: flex; align-items: center; gap: 4px; }
.pc-nav-item { position: relative; }
.pc-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 34px 12px;
  color: #1f2937 !important;
  font: 600 15px/1 Arial, Helvetica, sans-serif;
  text-decoration: none !important;
  white-space: nowrap;
}
.pc-nav-link:hover,
.pc-nav-link:focus { color: var(--pc-saffron) !important; }
.pc-caret { font-size: 10px; }

.pc-submenu {
  position: absolute;
  top: calc(100% - 18px);
  left: 0;
  min-width: 245px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--pc-border);
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(18, 59, 109, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s ease;
}
.pc-nav-item:hover > .pc-submenu,
.pc-nav-item:focus-within > .pc-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pc-submenu a {
  display: block;
  padding: 11px 12px;
  border-radius: 7px;
  color: #243044 !important;
  font: 500 14px/1.25 Arial, Helvetica, sans-serif;
  text-decoration: none !important;
}
.pc-submenu a:hover { color: var(--pc-saffron) !important; background: #fff4eb; }

.pc-actions { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.pc-icon-link,
.pc-menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pc-navy) !important;
  text-decoration: none !important;
  cursor: pointer;
}
.pc-icon-link:hover,
.pc-menu-toggle:hover { background: #fff4eb; color: var(--pc-saffron) !important; }
.pc-icon-link svg,
.pc-menu-toggle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.pc-cart { position: relative; }
.pc-cart-count {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--pc-saffron);
  color: #fff;
  font: 700 11px/1 Arial, sans-serif;
}
.pc-menu-toggle { display: none; }

@media (max-width: 1050px) {
  .pc-header-inner { min-height: 78px; }
  .pc-brand-logo { width: 70px; height: 58px; }
  .pc-brand-name { font-size: 21px; }
  .pc-nav-link { padding: 29px 8px; font-size: 14px; }
}

@media (max-width: 900px) {
  .pc-header-inner { min-height: 74px; flex-wrap: wrap; gap: 8px 14px; padding: 8px 0; }
  .pc-brand-logo { width: 62px; height: 54px; }
  .pc-brand-name { font-size: 19px; }
  .pc-brand-tagline { font-size: 7px; letter-spacing: .45px; }
  .pc-actions { margin-left: auto; }
  .pc-menu-toggle { display: inline-grid; }
  .pc-nav { display: none; order: 3; width: 100%; margin: 0; }
  .pc-nav.is-open { display: block; }
  .pc-nav-list { display: block; padding: 7px 0 12px; border-top: 1px solid var(--pc-border); }
  .pc-nav-link { justify-content: space-between; padding: 13px 8px; }
  .pc-submenu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 5px 12px;
    padding: 3px 7px;
    border: 0;
    border-left: 2px solid #ffd3b3;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .pc-nav-item.is-open > .pc-submenu { display: block; }
}

@media (max-width: 520px) {
  .pc-header-inner { width: 96%; }
  .pc-brand { gap: 7px; }
  .pc-brand-logo { width: 50px; height: 48px; }
  .pc-brand-name { font-size: 16px; }
  .pc-brand-tagline { display: none; }
  .pc-icon-link, .pc-menu-toggle { width: 36px; height: 36px; }
}

/* Pooja Computers footer */
#colophon { display: none !important; }

.pc-site-footer {
  margin-top: 0;
  color: #dbe7f5;
  background: #0b2d52;
  font-family: Arial, Helvetica, sans-serif;
}
.pc-footer-top {
  width: min(1240px, 92%);
  margin: 0 auto;
  padding: 64px 0 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.15fr 1.2fr;
  gap: 42px;
}
.pc-footer-brand {
  margin: 0 0 14px;
  color: #fff;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 800;
}
.pc-footer-brand .pc-orange { color: var(--pc-saffron); }
.pc-footer-text {
  margin: 0;
  color: #b9c9da;
  font-size: 14px;
  line-height: 1.7;
}
.pc-footer-heading {
  margin: 0 0 18px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
}
.pc-footer-links { margin: 0; padding: 0; list-style: none; }
.pc-footer-links li { margin: 0 0 10px; }
.pc-footer-links a,
.pc-footer-contact a {
  color: #c8d7e7 !important;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none !important;
}
.pc-footer-links a:hover,
.pc-footer-contact a:hover { color: #ff9a45 !important; }
.pc-footer-contact { font-style: normal; }
.pc-footer-contact p {
  margin: 0 0 12px;
  color: #c8d7e7;
  font-size: 14px;
  line-height: 1.55;
}
.pc-footer-label { color: #fff; font-weight: 700; }
.pc-footer-contact .pc-whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 8px;
  background: #25d366;
  color: #082e1a !important;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease;
}
.pc-footer-contact .pc-whatsapp-button:hover,
.pc-footer-contact .pc-whatsapp-button:focus {
  background: #5ee28d;
  color: #062414 !important;
  transform: translateY(-1px);
}
.pc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.13);
  background: #082541;
}
.pc-footer-bottom-inner {
  width: min(1240px, 92%);
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #aebfd1;
  font-size: 13px;
  padding-right: 70px;
}
.pc-footer-policy { display: flex; flex-wrap: wrap; gap: 18px; }
.pc-footer-policy a { color: #c8d7e7 !important; text-decoration: none !important; }
.pc-footer-policy a:hover { color: #ff9a45 !important; }
.pc-footer-bottom-inner > span a {
  color: #ffb16e !important;
  font-weight: 700;
  text-decoration: none !important;
}
.pc-footer-bottom-inner > span a:hover { color: #fff !important; }

@media (max-width: 900px) {
  .pc-footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pc-footer-top { grid-template-columns: 1fr; padding: 48px 0 30px; gap: 30px; }
  .pc-footer-bottom-inner { padding: 18px 55px 18px 0; display: block; text-align: center; }
  .pc-footer-policy { margin-top: 12px; justify-content: center; gap: 12px; }
}
