/* Main Container for Grid & Responsive Layout */
.sarmila-producet {
  width: 100%;
  text-align: center;
  padding: var(--section-padding);
  background-color: var(--even-section-bg);
}
.card-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.sarmila-producet-mixed-heading {
  text-align: center;
  font-family: 'Montserrat', 'Arial', sans-serif;
  /* margin: 20px 0; */
  /* border: 1px solid red; */
}

.sarmila-producet-mixed-heading h2 {
    font-size: var(--heading);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--heading2-color);
}

/* Double line divider container */
.sarmila-producet-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

/* Double lines on both sides */
.sarmila-producet-divider::before,
.sarmila-producet-divider::after {
    content: "";
    flex: 1;
    height: 4px;
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

/* Middle Diamond Symbol */
.sarmila-producet-diamond {
    margin: 0 12px;
    color: var(--primary-color);
    font-size: 20px;
    transform: scaleY(1.2);
}
.sarmila-producet-main-title{
    font-family: 'Playfair Display', serif;
    font-size: var(--sub-heading);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.sarmila-producet-main-title span {
    color: var(--testimonial-star);
}
.sarmila-producet-description{
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.6;
    font-size: var(--sub-paragraph);
    color: var(--text-muted);
}

/* Inner Card Frame */
.card-body {
  width: 320px;
  max-width: 100%;
  height: fit-content;
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 3px solid var(--primary-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card-body:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Image Wrapper */
.image-wrapper {
  position: relative;
  width: 100%;
  height: 190px;
  background-color: #e2e8f0;
  border-bottom: 2px solid var(--primary-color);
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Best Seller Floating Badge */
.best-seller-badge {
  position: absolute;
  bottom: -16px;
  left: 14px;
  background: var(--white);
  border: 2px solid var(--accent-color);
  border-radius: var(--radius-round);
  padding: 3px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  z-index: 5;
}

.badge-icon {
  background-color: var(--accent-color);
  color: var(--white);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.badge-text {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 13px;
}

/* Content Area */
.details-content {
  padding: 24px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  /* flex-grow: 1; */
}

/* Ratings */
.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.stars-group {
  color: var(--accent-color);
  font-size: 13px;
  display: flex;
  gap: 2px;
}

.review-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-color);
}

/* Title Section */
.title {
  font-size: 19px;
  font-weight: 800;
  color: var(--heading2-color);
  line-height: 1.2;
}

.subtitle {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-color);
  margin-top: 2px;
  margin-bottom: 14px;
}

/* Specifications Grid */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 8px;
  column-gap: 4px;
  margin-bottom: 16px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-color);
  text-align: start;
}

.spec-item i {
  font-size: 13px;
  color: var(--primary-color);
  width: 16px;
  text-align: center;
}

/* Price Ribbon Custom Shape */
.price-ribbon {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 6px 18px 6px 16px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  display: inline-block;
  margin-left: -16px;
  margin-bottom: 16px;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  width: 185px;
}

.price-sub {
  font-size: 10px;
  font-weight: 400;
  display: block;
  line-height: 1;
}

.price-main {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

/* Action Buttons */
.buttons-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn {
  flex: 1;
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-view {
  background-color: var(--white);
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-view:hover {
  background-color: var(--section-bg);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.btn-request {
  background-color: var(--btn-bg);
  border: 1.5px solid var(--btn-bg);
  color: var(--white);
}

.btn-request:hover {
  background-color: var(--btn-hover);
  border-color: var(--btn-hover);
}
