/* Crumbly Fudge Product Page Styles */

.cf-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0px 20px;
}

.cf-product-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 0;
}

.cf-product-left {
  flex: 1 1 45%;
  max-width: 500px;
}

.cf-main-image {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #eee;
}

.cf-product-right {
  flex: 1 1 45%;
}

.cf-title {
  font-family: 'Abril Fatface', serif;
  font-size: 28px;
  color: #4b2f1f;
  margin-bottom: 10px;
}

.cf-price {
  font-size: 22px;
  font-weight: bold;
  color: #4b2f1f;
  margin-bottom: 6px;
}

.cf-stock {
  font-size: 14px;
  color: #3c963d;
  margin-bottom: 20px;
}

.cf-product-right label {
  display: block;
  margin: 15px 0 5px;
  font-weight: 600;
  font-family: 'Work Sans';
  color: #4b2f1f;
}

.cf-product-right input,
.cf-product-right select {
  padding: 10px;
  width: 100%;
  max-width: 400px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Lora';
}

.cf-quantity-add {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.cf-qty {
  width: 60px;
  padding: 10px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.cf-button {
  background-color: #4b2f1f;
  color: #fff3e5;
  padding: 12px 30px;
  border: none;
  font-family: 'Work Sans';
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
}

.cf-shipping-info {
  margin-top: 30px;
  font-size: 14px;
  color: #4b2f1f;
  font-family: 'Lora';
}

.cf-shipping-info .green {
  color: #3c963d;
  margin-right: 5px;
}

.cf-accordion {
  margin-top: 40px;
}

.cf-accordion-item {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

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

.cf-accordion-toggle {
  background: none;
  border: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #4b2f1f;
  padding: 12px 0;
  text-align: left;
  cursor: pointer;
  position: relative;
  width: 100%;
}

.cf-accordion-toggle::before {
  content: "▶";
  position: absolute;
  left: -20px;
  top: 12px;
  transition: transform 0.3s ease;
  color: #b48a60;
}

.cf-accordion-item.open .cf-accordion-toggle::before {
  transform: rotate(90deg);
}

.cf-accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0;
  transition: max-height 0.5s ease, opacity 0.3s ease, padding 0.3s ease;
}

.cf-accordion-item.open .cf-accordion-content {
  max-height: 400px; /* dostosuj do wysokości największej treści */
  opacity: 1;
  padding: 10px 0;
}


#giftCardToggle.cf-bracket-button {
  background: transparent;
  border: 2px solid #cfa862;
  padding: 10px 18px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
  color: #4b2f1f;
  transition: all 0.3s ease;
  margin-top: 10px;
  margin-bottom: 12px;
  display: inline-block;
  width: auto;
}

#giftCardToggle.cf-bracket-button:hover {
  background: linear-gradient(to right, #fff7e5, #fef0d8);
  border-color: #ce9728;
}

#giftCardToggle.cf-bracket-button.active {
  background: linear-gradient(to right, #ce9728, #f2b93a);
  color: #fffaf5;
  border-color: #ce9728;
}

.cf-seal-wrapper {
  margin: 24px 0;
}

.cf-seal-label {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: #4b2f1f;
  margin-bottom: 8px;
}

.cf-seal-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cf-seal-option {
  background: transparent;
  border: 2px solid #cfa862;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  color: #4b2f1f;
  transition: all 0.3s ease;
}

.cf-seal-option:hover {
  background-color: #f8f0e1;
}

.cf-seal-option.active {
  background: linear-gradient(to right, #ce9728, #f2b93a);
  color: #fffaf5;
  border-color: #ce9728;
}

.cf-benefits-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fffaf5;
  border: 1px solid #eee3d5;
  padding: 18px 24px;
  border-radius: 10px;
  margin: 24px 0 32px;
  gap: 18px;
  flex-wrap: wrap;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  color: #4b2f1f;
  flex: 1 1 33%;
  min-width: 240px;
}

.benefit-item img {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  
}


.cf-about-fudge {
  padding: 60px 0;
  background-color: #fffaf5;
}

.cf-about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.cf-about-col {
  flex: 1;
}

.cf-about-image img {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  max-width: 100%;
  height: auto;
}

.cf-about-text h2 {
  font-family: 'Abril Fatface', serif;
  font-size: 32px;
  color: #c28e2f;
  margin-bottom: 16px;
}

.cf-about-text p {
  font-family: 'Lora', serif;
  font-size: 16px;
  line-height: 1.7;
  color: #4b2f1f;
  margin-bottom: 24px;
}

.cf-about-link {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  color: #b48a60;
  text-decoration: none;
  border-bottom: 2px solid #e8d7c2;
  transition: all 0.3s ease;
}

.cf-about-link:hover {
  color: #4b2f1f;
  border-color: #c28e2f;
}



.cf-product-reviews {
  background-color: #fff;
  padding: 60px 20px 80px;
  border-top: 1px solid #eee;
  margin-top: 60px;
}

.cf-reviews-heading {
  font-family: 'Abril Fatface', serif;
  font-size: 30px;
  color: #c28e2f;
  text-align: center;
  margin-bottom: 40px;
}

/* GŁÓWNY BLOK OPINII */
.cf-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px;
  justify-content: center;
  align-items: start;
}

/* POJEDYNCZA OPINIA */
.cf-reviews .glsr-review {
  border: 1px solid #f0e8dc;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  background-color: #fffaf5;
  font-family: 'Lora', serif;
  transition: transform 0.3s ease;
}

.cf-reviews .glsr-review:hover {
  transform: translateY(-4px);
}

/* GWIAZDKI */
.cf-reviews .glsr-stars svg {
  fill: #f2b93a;
  height: 18px;
}

/* DATA */
.cf-reviews .glsr-date {
  font-style: italic;
  font-size: 14px;
  color: #a38a74;
}

/* AUTOR */
.cf-reviews .glsr-author {
  font-weight: 600;
  color: #b48a60;
  margin-top: 12px;
  font-family: 'Work Sans', sans-serif;
}

/* TYTUŁ OPINII */
.cf-reviews .glsr-review h3 {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 6px;
}

/* ŚREDNIA OCENA */
.glsr-summary {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.glsr-summary .glsr-stars svg {
  fill: #f2b93a;
  height: 22px;
  margin-top: 5px;
}
.cf-bracket-button.active {
  background: linear-gradient(to right, #d4a157, #eecf91);
  border: 2px solid #c28e2f;
  color: #fffaf5;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}