/* Company Profile, Light Editorial Specs, Ghazal Grid & 100g Jars Scaling */

.sku-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #7c6231;
  background: #f0e6cc;
  border: 1px solid #d6c397;
  padding: 2px 7px;
  border-radius: 4px;
  margin-inline-end: 6px;
}

.barcode-badge {
  background: #f2ece0;
  color: #463a24;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  border: 1px solid #d8cebc;
  display: inline-block;
}

/* Light editorial accordion inside .detail-specs (matches theme paper/cream palette) */
.product-light-accordion {
  margin-top: 16px;
  border-top: 1px solid #ded5c6;
  border-bottom: 1px solid #ded5c6;
}
.product-light-accordion summary {
  font-size: 13px;
  font-weight: 600;
  color: #4c3e26;
  padding: 13px 0;
  cursor: pointer;
}
.light-nutrition-grid {
  display: grid;
  gap: 10px;
  padding-bottom: 14px;
}
.light-nutrition-item {
  background: #f5f1e6;
  border: 1px solid #e2dac9;
  border-radius: 6px;
  padding: 10px 12px;
}
.light-nutrition-item h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: #6b5328;
}
.light-nutrition-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: #362e20;
}

/* Company Section on Homepage */
.company-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #12120e 0%, #1c1c17 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #f5f0e6;
}
.company-hero {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}
.company-copy .eyebrow {
  color: #dfb743;
}
.company-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  color: #fff;
  margin: 0.5rem 0 0.8rem;
  line-height: 1.3;
}
.company-subtitle {
  font-size: 1.12rem;
  color: #dfb743;
  margin-bottom: 1.35rem;
  font-weight: 500;
}
.company-lead {
  font-size: 1.05rem;
  color: #e6e5df;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.company-copy p {
  color: #cbc8bc;
  line-height: 1.75;
}

.company-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: #dfb743;
}
.stat-num {
  display: block;
  font-size: 2.3rem;
  font-weight: 800;
  color: #dfb743;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.92rem;
  color: #d6d3c9;
  margin: 0;
  line-height: 1.45;
}

.company-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.feature-card {
  background: #171713;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.15);
  color: #dfb743;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1.22rem;
  color: #fff;
  margin: 0 0 0.75rem;
}
.feature-card p {
  color: #c2bfb4;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .company-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .company-features-grid {
    grid-template-columns: 1fr;
  }
}

/* Preserve Ghazal Grid Layout (3, 4, 3) & 100g Jars Visual Scale */
@media (min-width: 901px) {
  .range-grid {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
  .range-product {
    grid-column: span 3;
  }
  .range-product[data-id="ghazal-kaak-eleid"],
  .range-product[data-id="ghazal-maamoul-eleid"],
  .range-product[data-id="ghazal-kaak-olive-oil"] {
    grid-column: span 4 !important;
  }
  .range-product[data-id="ghazal-date-original-blue"],
  .range-product[data-id="ghazal-date-original-red"],
  .range-product[data-id="ghazal-date-anise"],
  .range-product[data-id="ghazal-date-cardamom"] {
    grid-column: span 3 !important;
  }
  .range-product[data-id="ghazal-apple-pie"],
  .range-product[data-id="ghazal-graibeh"],
  .range-product[data-id="ghazal-strawberry-pie"] {
    grid-column: span 4 !important;
  }
}

.range-product[data-id="classic-100g"] .range-image img,
.range-product[data-id="gold-100g"] .range-image img {
  transform: scale(0.85);
  transform-origin: center bottom;
}
body[data-product="classic-100g"] #detail-product-image,
body[data-product="gold-100g"] #detail-product-image {
  transform: scale(0.86);
  transform-origin: center bottom;
}
