/* === Order Form Styles === */
form#cc-order-form {
  background: #fff8f0;
  border: 1px solid #f2d5a9;
  padding: 20px;
  max-width: 600px;
  margin: 2rem auto;
  font-family: 'Poppins', sans-serif;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
#cc-order-form h2 {
  color: #a0522d;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
#cc-product-rows .cc-product-row {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px dashed #e0b97d;
  background: #fff;
  border-radius: 8px;
}
#cc-product-rows select,
#cc-order-form input,
#cc-order-form textarea,
#cc-order-form input[type="number"] {
  padding: 6px;
  margin: 6px 0;
  width: 100%;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #ccc;
}
#cc-add-product {
  background: #a0522d;
  color: #fff;
  padding: 6px 12px;
  margin-top: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
#cc-add-product:hover {
  background: #7a3c1f;
}
.cc-remove {
  background: #b03e3e;
  color: #fff;
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}
.cc-remove:hover {
  background: #8e2d2d;
}
#cc-order-form input[type="submit"] {
  background: #a0522d;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 15px;
}
#cc-form-msg {
  margin-top: 15px;
}
.cc-success {
  background: #d1ffd6;
  padding: 10px;
  border: 1px solid #68a570;
  border-radius: 6px;
  color: #2d612e;
}

/* === Category Filter Buttons Styles === */
.cc-category-filters {
  text-align: center;
  margin-bottom: 20px;
}
.cc-category-filters .cc-cat-btn {
  display: inline-block;
  background: #f0f0f0;
  color: #333;
  padding: 8px 16px;
  margin: 4px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
.cc-category-filters .cc-cat-btn.active {
  background: #a0522d;
  color: #fff;
  border-color: #a0522d;
}
.cc-category-filters .cc-cat-btn:hover:not(.active) {
  background: #e0d1c5;
}

/* === Product Grid Styles === */
.cc-shop-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.cc-product-item {
  border: 1px solid #ddd;
  padding: 15px;
  width: 220px;
  text-align: center;
  border-radius: 8px;
  transition: box-shadow 0.3s;
  background: #fff;
}
.cc-product-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.cc-product-item a {
  text-decoration: none;
  color: inherit;
}
.cc-product-item h3 {
  font-size: 1.1rem;
  margin: 10px 0;
}
.cc-product-cats {
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.cc-price {
  font-size: 1.2rem;
  color: #a0522d;
  margin-top: 8px;
}

/* === Responsive adjustments === */
@media (max-width: 600px) {
  .cc-shop-grid {
    flex-direction: column;
    align-items: center;
  }
  .cc-product-item {
    width: 100%;
    max-width: 280px;
  }
}
/* === Single Product Page Styles === */
.cc-single-product .cc-product-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}
.cc-single-product .cc-product-gallery,
.cc-single-product .cc-product-info {
    flex: 1;
    min-width: 300px;
}
.cc-gallery-main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #eee;
}
.cc-gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.cc-gallery-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #ccc;
    cursor: pointer;
}
.cc-product-info .entry-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.cc-single-price {
    font-size: 2rem;
    color: #a0522d;
    font-weight: bold;
    margin-bottom: 20px;
}
.cc-product-description {
    margin-bottom: 20px;
    line-height: 1.6;
}
.cc-product-ingredients {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.cc-product-ingredients h3 {
    margin-top: 0;
}
.cc-order-now-button .button {
    background-color: #a0522d;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    display: inline-block;
}
.cc-order-now-button .button:hover {
    background-color: #7a3c1f;
}

/* --- Reviews & Related Sections --- */
.cc-product-reviews,
.cc-related-products {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.cc-related-products h2 {
    text-align: center;
    margin-bottom: 30px;
}