/*
Theme Name: Extendable Child
Template: extendable
Version: 1.1
*/

.site-header-cart,
.header-cart,
.cart-icon,
.menu-item-cart,
li.cart {
  display: none !important;
}


/* Status Tags */
.psm-status.available {
  color: green;
  font-weight: bold;
}

.psm-status.upcoming {
  color: #cc6600;
}

.psm-status.closed {
  font-size: 0.9em;
  color: #b44;
  margin-top: 0.5em;
}

/* Availability Notice */
.psm-availability {
  margin-top: 1em;
}

/* Disabled Buttons */
.button.disabled {
  background: #ccc !important;
  color: #666 !important;
  cursor: not-allowed;
  pointer-events: none;
}

/* Signature Styles */
.jerry-wrap {
  position: relative;
  display: inline-block;
  margin-top: 1em;
}

.signature {
  position: absolute;
  top: -70px;
  left: -35px;
  width: 160px;
  opacity: 0.8;
  z-index: 0;
}

.typed-name {
  position: relative;
  z-index: 1;
  font-weight: 400;
}

/* Separator Line */
.psm-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  position: relative;
  height: 19px;
}

.psm-separator::before,
.psm-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ccc;
  height: 1px;
}

.psm-icon {
  margin: 0 1rem;
  font-size: 1.2rem;
  background: white;
  padding: 0 0.5rem;
  line-height: 1;
  transform: translateY(2px);
  color: #ccc;
}

.psm-separator.short {
  max-width: 950px; /* You can adjust this value to control how short */
  margin-left: auto;
  margin-right: auto;
}

/* Featured Pies Layout */
.psm-featured-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

/* 
.psm-featured-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 1.5rem 1.5rem;
  border: 1px solid #ccc;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
  margin-top: 3rem;
}
 */
 
.psm-featured-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 1.5rem 1.5rem;
  border: 1px solid #ccc;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: center;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .psm-featured-panel {
    flex: 1 1 100%;
  }
}


.psm-featured-image {
  position: absolute;
  top: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #ccc;
  border-radius: 100%;
  padding: 0.25rem;
  width: 5rem;
  height: 5rem;
  overflow: hidden;
}

.psm-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.psm-featured-content h2 {
  margin-top: 1rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.psm-desc {
  font-size: 0.95rem;
  color: #666;
  margin: 0.5rem 0;
}

.psm-price {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.psm-pickup {
  font-size: 1.1rem;
}

.psm-featured-panel .button {
  margin-top: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
}

/* Buy Pie Button */
.button.buy_pie,
.woocommerce .button.buy_pie {
  background-color: white;
  color: black;
  border: 2px solid black;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button.buy_pie:hover,
.woocommerce .button.buy_pie:hover {
  background-color: black;
  color: white;
}

.buy-now,
.button.disabled {
  font-size: 1rem;
  padding: 0.4rem 1.2rem;
  border-radius: 0.25rem;
  font-weight: 600;
  text-transform: none;
  text-decoration: underline;
  white-space: nowrap;
  border: none;
}

/* Pie Calendar Table */
.psm-calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.95em;
  border: 1px solid #ddd;
}

.psm-calendar-table th,
.psm-calendar-table td {
  padding: 0.75em 1em;
  border: 1px solid #ddd;
  text-align: left;
}

.psm-calendar-table th {
  background-color: #f8f8f8;
  font-weight: bold;
}

.psm-calendar-table tr:nth-child(even) {
  background-color: #fcfcfc;
}

.psm-calendar-table em {
  color: #999;
  font-style: italic;
}

/* Countdown Banner */
.psm-countdown-banner {
  color: #000;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.psm-countdown-banner h4 {
  font-size: 1.475rem;
}

/* featured content offweek help */

.psm-featured-graphic {
  text-align: center;
  padding: 2rem 0;
}

.psm-featured-graphic img {
  max-width: 100%;
  width: 600px;
  height: auto;
}



/* bio pic help */
.float-left-bio {
  float: left;
  margin: 0 30px 20px 0 !important;
/*   max-width: 300px; */
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .float-left-bio {
     float: left !important;
    margin: 0 20px 20px 0 !important;
    display: inline !important;
  }
}


/* empty cart icon */

/* Remove default emoji */
.with-empty-cart-icon::before {
  content: none !important;
}

/* Insert Broken Crust logo as a pseudo-element ABOVE the message */
.with-empty-cart-icon {
  position: relative;
  padding-top: 100px; /* Reserve space for logo above text */
  
  margin-bottom: 100px;
}

.with-empty-cart-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background-image: url('https://dev.brokencrustpies.com/wp-content/uploads/2025/07/broken-crust-logo-bw.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
}


/* 


body::after {
  content: "Child theme loaded";
  display: block;
  background: yellow;
  color: black;
  padding: 10px;
  text-align: center;
}
 */
 
 .wp-block-woocommerce-empty-cart-block .wp-block-separator{
 display: none;
 }
 

/* Responsive Layout */
@media screen and (max-width: 768px) {
  .psm-featured-grid {
    flex-direction: column;
    align-items: center;
  }
}
h1, h2, h3, h4,
.wp-block-heading h1,
.wp-block-heading h2,
.wp-block-heading h3,
.wp-block-heading h4 {
  color: #6A2B36 !important;
}
