/* Three Card Section Widget — Frontend Styles */

.tcs-section {
  width: 100%;
  background-color: #f9f6f1;
  box-sizing: border-box;
}

.tcs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ── Card ── */
.tcs-card {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e8e2d9;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.tcs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.tcs-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* ── Image ── */
.tcs-card__img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #e8e2d9;
  flex-shrink: 0;
}

.tcs-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.tcs-card:hover .tcs-card__img {
  transform: scale(1.04);
}

/* ── Icon Badge ── */
.tcs-card__icon-badge {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #ffffff;
  border: 1px solid #e8e2d9;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.tcs-card__icon-badge i,
.tcs-card__icon-badge svg {
  font-size: 20px;
  width: 20px;
  height: 20px;
  color: #c07a5a;
  fill: #c07a5a;
}

/* ── Body ── */
.tcs-card__body {
  padding: 32px 20px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tcs-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px 0;
  line-height: 1.3;
  font-family: Georgia, 'Times New Roman', serif;
}

.tcs-card__desc {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.65;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .tcs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tcs-grid {
    grid-template-columns: 1fr;
  }

  .tcs-card__img-wrap {
    height: 180px;
  }
}


/* ═══════════════════════════════════════════════
   Showcase Cards Widget
═══════════════════════════════════════════════ */

.sc-section {
  width: 100%;
  background-color: #f0ece4;
  box-sizing: border-box;
}

.sc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

/* First card wider layout */
.sc-grid--first-wide {
  grid-template-columns: 1.55fr 1fr 1fr 1fr;
}

/* ── Card ── */
.sc-card {
  position: relative;
  display: block;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

/* Background image */
.sc-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.sc-card:hover .sc-card__bg {
  transform: scale(1.06);
}

/* Dark overlay on hover */
.sc-card__hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: inherit;
}

.sc-card:hover .sc-card__hover-overlay {
  opacity: 1;
}

/* Hover button — centered */
.sc-card__btn-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sc-card:hover .sc-card__btn-wrap {
  opacity: 1;
}

.sc-card__btn {
  display: inline-block;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sc-card__btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.04);
}

/* Bottom gradient overlay + text */
.sc-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.60) 0%, transparent 100%);
  z-index: 2;
  border-radius: 0 0 inherit inherit;
}

.sc-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 5px;
  line-height: 1.3;
  font-family: Georgia, 'Times New Roman', serif;
}

.sc-card__tags {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.70);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sc-grid,
  .sc-grid--first-wide {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sc-grid,
  .sc-grid--first-wide {
    grid-template-columns: 1fr;
  }

  .sc-card {
    height: 240px;
  }
}


/* ═══════════════════════════════════════════════
   Process Steps Cards Widget
═══════════════════════════════════════════════ */

.ps-section {
  width: 100%;
  background-color: #ffffff;
  box-sizing: border-box;
}

.ps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Card ── */
.ps-card {
  background-color: #faf8f4;
  border-radius: 16px;
  border: 1px solid #e8e2d9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ps-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}

/* ── Image ── */
.ps-card__img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.ps-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ps-card:hover .ps-card__img {
  transform: scale(1.04);
}

/* ── Body ── */
.ps-card__body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Step Number ── */
.ps-card__number {
  font-size: 36px;
  font-weight: 700;
  color: #c07a5a;
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, 'Times New Roman', serif;
  opacity: 0.55;
}

/* ── Title ── */
.ps-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
  line-height: 1.3;
}

/* ── Description ── */
.ps-card__desc {
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.65;
  margin: 0 0 20px;
}

/* ── Bullet List ── */
.ps-card__bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.ps-card__bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #4a4a5a;
  padding: 10px 0;
  border-bottom: 1px solid #e8e2d9;
  line-height: 1.45;
}

.ps-card__bullet-item:last-child {
  border-bottom: none;
}

.ps-card__bullet-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #c07a5a;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .ps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ps-grid {
    grid-template-columns: 1fr;
  }

  .ps-card__img-wrap {
    height: 180px;
  }

  .ps-card__number {
    font-size: 28px;
  }
}


/* ═══════════════════════════════════════════════
   Product Grid Widget
═══════════════════════════════════════════════ */

.pg-section {
  width: 100%;
  background-color: #f0ece4;
  box-sizing: border-box;
}

.pg-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Featured Grid (top row) ── */
.pg-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Featured Card ── */
.pg-feat-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pg-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

/* Featured image */
.pg-feat-card__img-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #e0dbd3;
  flex-shrink: 0;
}

.pg-feat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pg-feat-card:hover .pg-feat-card__img {
  transform: scale(1.05);
}

/* Badge */
.pg-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  background-color: #c07a5a;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  white-space: nowrap;
  z-index: 2;
}

/* Featured card body */
.pg-feat-card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.pg-feat-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.25;
  font-family: Georgia, 'Times New Roman', serif;
}

.pg-feat-card__desc {
  font-size: 13px;
  color: #6b6b6b;
  line-height: 1.6;
  margin: 0;
}

.pg-feat-card__price {
  font-size: 15px;
  font-weight: 700;
  color: #c07a5a;
  margin: 4px 0 0;
}

/* ── Category Grid (bottom row) ── */
.pg-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── Category Card ── */
.pg-cat-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pg-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.pg-cat-card__img-wrap {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #e0dbd3;
  flex-shrink: 0;
}

.pg-cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pg-cat-card:hover .pg-cat-card__img {
  transform: scale(1.05);
}

.pg-cat-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pg-cat-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.3;
}

.pg-cat-card__sub {
  font-size: 12px;
  color: #c07a5a;
  margin: 0;
  font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pg-featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pg-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pg-featured-grid,
  .pg-cat-grid {
    grid-template-columns: 1fr;
  }

  .pg-feat-card__img-wrap {
    height: 220px;
  }
}
