/* styles.css - keep the same palette and fonts as the original */
:root{ --brown:#503320; --cream:#faecd7; --muted:#705438; }
*{box-sizing:border-box}
body{margin:0; font-family:'Poppins',sans-serif; color:var(--brown); background:url('banner.png') center/cover no-repeat; background-color:rgba(255,255,255,0.67); background-blend-mode:overlay;}
.container{min-height:100vh; display:flex; flex-direction:column; align-items:center; padding:28px 20px;}
.logo img{width:220px; height:auto}
.hero{text-align:center; margin-top:10px}
.hero h1{font-size:2.4rem; margin:6px 0}
.tag{font-weight:500; color:var(--muted)}
.lede{max-width:760px; margin:8px auto 18px; color:#5a3d24}
.grid{display:flex; gap:20px; width:100%; max-width:1000px; margin-top:16px}
.panel{background:rgba(250,236,215,0.85); padding:18px; border-radius:12px; box-shadow:0 6px 18px rgba(80,51,32,0.08)}
.order-panel{flex:1}
.contact-panel{width:320px}
h2{margin:0 0 8px 0}
.muted{color:#6a4f3a}
.product{display:flex; align-items:center; justify-content:space-between; padding:10px; border-radius:8px; background:rgba(255,255,255,0.6); margin-bottom:10px}
.product .prod-name{font-weight:600}
.product .prod-desc{font-size:0.9rem; color:#6a4f3a}
.prod-controls{display:flex; gap:8px; align-items:center}
.text{width:100%; padding:10px; margin:8px 0; border-radius:8px; border:1px solid rgba(80,51,32,0.12)}
textarea{width:100%; padding:10px; border-radius:8px; border:1px solid rgba(80,51,32,0.12)}
.row{display:flex; gap:8px; align-items:center}
.btn{padding:10px 14px; border-radius:8px; border:0; cursor:pointer}
.btn.primary{background:var(--brown); color:var(--cream)}
.btn.secondary{background:transparent; border:1px solid var(--brown); color:var(--brown)}
.site-footer{margin-top:24px; color:var(--muted)}
.contact-info p{margin:8px 0}
.map iframe{border-radius:8px}
@media(max-width:900px){ .grid{flex-direction:column} .contact-panel{width:100%} }
/* Improved form field styling */
.form-field,
.form-select,
textarea.form-field {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(80, 51, 32, 0.18);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  color: var(--brown);
  transition: all 0.18s ease-in-out;
  appearance: none;
}

.form-field:focus,
.form-select:focus,
textarea.form-field:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(80, 51, 32, 0.12);
}

/* Custom dropdown arrow */
.form-select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23503320' height='18' width='18' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7.5l4.5 4.5 4.5-4.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 38px;
  cursor: pointer;
}

/* Number input spinners hidden for cleaner UI */
input[type=number].form-field::-webkit-outer-spin-button,
input[type=number].form-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number].form-field {
  -moz-appearance: textfield;
}
/* Pricing Section */
.pricing-section {
  width: 100%;
   max-width: 1000px;
  margin: 20px auto 10px;
  text-align: center;
}

.pricing-title {
  font-size: 1.9rem;
  margin-bottom: 16px;
  color: var(--brown);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.price-card {
  background: rgba(250,236,215,0.9);
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(80,51,32,0.08);
}

.price-card h3 {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 1.25rem;
  color: var(--brown);
}

.price-card .desc {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: #6a4f3a;
}

.price-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(80,51,32,0.12);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row strong {
  color: var(--brown);
}
.social {
  margin-top: 0.35rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #503320;
  color: #faecd7;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.social a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}
.social svg {
  width: 22px;
  height: 22px;
  fill: #faecd7;
}
/* About Section */
.about-section {
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px 0;
}

.about-container {
  display: flex;
  gap: 24px;
  background: rgba(250,236,215,0.9);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(80,51,32,0.08);
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(80,51,32,0.12);
}

.about-text h2 {
  margin-top: 0;
  font-size: 1.8rem;
  color: var(--brown);
}

.about-text p {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 12px;
  color: #6a4f3a;
  text-align: justify;
}

@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 100%;
  }
}
.cart-list {
  background: rgba(255,255,255,0.7);
  padding: 12px;
  border-radius: 8px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(80,51,32,0.12);
}

.cart-left {
  flex: 1;
  padding-right: 12px;
}

.cart-left span {
  display: block;
  color: var(--brown);
}

.cart-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px; /* ensures a stable right column */
  justify-content: flex-end;
}

.cart-right strong {
  white-space: nowrap;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-total {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  color: var(--brown);
}

.add-cart-btn {
  background: var(--brown);
  color: var(--cream);
  padding: 6px 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  width: 12rem;
  height: 2.5rem;
}
.remove-btn {
  background: transparent;
  border: none;
  color: #b52d2d;
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: 12px;
}

.remove-btn:hover {
  color: #8a1f1f;
}

/* Container for all active toasts */
#toast-portal {
    position: fixed;
    top: 20px; /* Change to bottom: 20px for Windows style */
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* Allows clicking through empty space */
}

.toast-box {
    min-width: 300px;
    max-width: 400px;
    background: white;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto; /* Re-enable clicks for the toast itself */
    animation: toast-slide-in 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
    border-left: 5px solid #ccc;
}

.toast-box.success { border-left-color: #27ae60; }
.toast-box.error { border-left-color: #e74c3c; }

.toast-content {
    color: #333;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: 500;
}

@keyframes toast-slide-in {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-fade-out {
    animation: toast-exit 0.5s ease forwards;
}

@keyframes toast-exit {
    to { transform: translateX(20px); opacity: 0; }
}