#pizza-builder-frontend {
  background: #fffaf0;
  padding: 20px;
  border-radius: 12px;
  font-family: sans-serif;
}
.pb-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fffaf0;
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 12px;
  border: 1px solid #eee;
}

.pb-product-title {
  background-color: #000000;
  color: #ffffff;
  font-size: 22px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  margin: 0;
}

.pb-cart-button {
  background-color: #e63946;
  border: none;
  color: white;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}

.pb-cart-button:hover {
  background-color: #c72b3a;
}

.pb-cart-button .cart-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
  margin-bottom: 3px;
}

.pb-cart-button .cart-price {
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

.pb-header-wrapper form {
  margin: 0;
}

@media (max-width: 480px) {
  .pb-header-wrapper {
    flex-direction: column;
    gap: 12px;
  }
  .pb-cart-button {
    width: 60px;
    height: 60px;
  }
  .pb-product-title {
    font-size: 18px;
    padding: 10px 16px;
  }
}


.pb-topping-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pb-topping-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.pb-topping-left,
.pb-topping-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


.pb-btn {
    background: transparent !important;
    border: 2px solid black !important;
    color: black !important;
    padding: 6px 12px !important;
    border-radius: 100px !important;
    cursor: pointer !important;
    transition: all 0.2s ease;
    margin: 4px;
    font-weight: 500;
    text-align: center !important;;
    display: inline-block;
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

/* HOVER/ACTIVE STATES (for ALL button types) */

.pb-btn:active {
    background: white !important;
    color: black !important;
    border-color: white !important;
    outline: none !important;
    box-shadow: none !important;
}

/* SPECIFIC TOGGLE BUTTONS (accessories-left/right) */
.pb-toggle {
    width: 100% !important;
    margin: 4px 0 !important;
    text-align: left !important;
    padding-left: 20px !important;
    position: relative!important;
    text-align: center !important;
}

/* Add checkmark for selected toggle buttons */
.pb-toggle.active::after {
    background-color: white;
    border: white;
    color: black;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
}

/* TOPPING GRID SPECIFICS */
.pb-topping-left .pb-btn,
.pb-topping-right .pb-btn {
    width: calc(100% - 8px) !important;
    margin: 4px 0 !important;
}

/* SIZE/SAUCE BUTTONS */
 .pb-btn[data-group="size"],
 .pb-btn[data-group="sauce"] {
    min-width: 100px;
    max-width: 100%;
    margin: 4px 8px 4px 0 !important;
}

/* PRICE LABELS */
.pb-price-label {
    text-align: center;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: normal;
    color: black;
}

.pb-group-title {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 16px;
  color: black;
  font-size: 20px;

}
/* INGREDIENT ITEMS */
.pb-feature-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 4px;
    margin: 2px 0;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.pb-feature-item.active {

    text-decoration: line-through;
}

.pb-feature-item .icon {
    font-size: 18px;
    margin-left: 4px;
    transition: all 0.2s;
}

.df-live-cart-button {
  background-color: #E31E24 !important; 
  color: #ffffff !important;
  border: none !important;
  border-radius: 100% !important;
  width: 110px !important;
  height: 110px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  
}

.df-live-cart-button:hover {
  background-color: #c5303b;
  transform: scale(1.05);
}

.df-cart-icon svg {
  width: 28px;
  height: 28px;
  fill: #111111;
  margin-bottom: 8px;
}

.df-cart-price {
  font-size: 26px;
  font-weight: bold;
  color: #ffffff; /* white price text */
  line-height: 1;
}

.df-live-cart-form {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.pb-topping-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 12px;
}

.pb-topping-header-row .pb-group-title {
  font-weight: bold;
  text-align: center;
  font-size: 20px;
  color: black;
  min-width: 100px;
}

.pb-topping-header-row .pb-price-label {
  font-size: 20px;
  color: black;
  font-weight: normal;
  white-space: nowrap;
}

.pb-topping-header-row .pb-price-label.left {
  text-align: left;
  flex: 1;
}

.pb-topping-header-row .pb-price-label.right {
  text-align: right;
  flex: 1;
}

/* FORCE OVERRIDES FOR WOOCOMMERCE CONFLICTS */
body .pb-btn {
  background: transparent !important;
  color: black !important;
}

body .pb-btn.active {
     background: white !important;
    color: black !important;
}


body .pb-btn.active {
    background: white !important;
    border: 2px solid white !important;
}