:root{
  --brand:#801D2F;
  --underline:#FA9819;
  --container:1200px;
  --navH:90px;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:"Poppins", sans-serif;
  padding-top:var(--navH);
}

/* =========================
   PRODUCT PAGE
========================= */
.prd-page{
  padding:40px 0 50px;
}

.prd-topbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}

.prd-title h1{
  margin:0;
  font-size:30px;
  font-weight:700;
  color:#111;
}

.prd-filter-btn{
  border:1px solid rgba(0,0,0,.15);
  background:#fff;
  color:#111;
  border-radius:12px;
  padding:10px 14px;
  display:flex;
  align-items:center;
  gap:8px;
}

.prd-filter-btn:hover{
  border-color:rgba(0,0,0,.25);
}

/* =========================
   FILTER
========================= */
.prd-filter-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:14px;
  box-shadow:0 14px 40px rgba(0,0,0,.06);
}

.prd-filter-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
}

.prd-clear{
  font-size:13px;
  text-decoration:none;
  color:var(--brand);
  font-weight:600;
}

.prd-clear:hover{
  text-decoration:underline;
}

.prd-filter-label{
  font-weight:700;
  color:#111;
  margin:8px 0 10px;
}

.prd-cat-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.prd-cat-link{
  display:block;
  text-decoration:none;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  color:#111;
  background:#fff;
  font-weight:600;
  transition:.2s ease;
}

.prd-cat-link:hover{
  border-color:rgba(128,29,47,.45);
  transform:translateY(-1px);
}

.prd-cat-link.active{
  background:rgba(128,29,47,.08);
  border-color:rgba(128,29,47,.35);
  color:var(--brand);
}

/* =========================
   RESULTS BAR
========================= */
.prd-results-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  background:#fff;
  margin-bottom:16px;
}

.prd-count{
  font-weight:700;
  color:#111;
}

.prd-chip{
  margin-left:10px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(128,29,47,.08);
  color:var(--brand);
  font-weight:700;
  font-size:12px;
}

.prd-sort-select{
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
}

/* =========================
   PRODUCT CARD
========================= */
.p-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  transition:.3s ease;
  height:100%;
  display:flex;
  flex-direction:column;
}

.p-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 42px rgba(0,0,0,.10);
}

.p-img{
  display:block;
  background:#f7f7f7;
  overflow:hidden;
}

.p-img img{
  width:100%;
  height:180px;   /* reduced from 210 */
  object-fit:cover;
  display:block;
  transition:.35s ease;
}

.p-card:hover .p-img img{
  transform:scale(1.05);
}

.p-body{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;        /* reduced gap */
  flex:1;
}

.p-title{
  text-decoration:none;
  color:#111;
  font-weight:700;
  font-size:14px;
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:auto;   /* remove fixed big height */
}

.p-title:hover{
  color:var(--brand);
}

.p-price{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  margin-top:2px;
}

.p-now{
  font-size:16px;
  font-weight:800;
  color:#111;
}

.p-old{
  font-size:13px;
  color:#888;
  text-decoration:line-through;
  font-weight:600;
}

.p-off{
  font-size:12px;
  font-weight:700;
  color:var(--brand);
}

.p-actions{
  margin-top:auto;
  display:flex;
  gap:8px;
  justify-content:flex-end;
}

.p-icon{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(128,29,47,.22);
  background:#fff;
  color:var(--brand);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.25s ease;
}

.p-icon:hover{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
  transform:translateY(-2px);
}

/* =========================
   EMPTY
========================= */
.prd-empty{
  padding:40px 18px;
  text-align:center;
  border:1px dashed rgba(0,0,0,.18);
  border-radius:16px;
  color:rgba(0,0,0,.7);
  background:#fff;
}

/* =========================
   OFFCANVAS
========================= */
.offcanvas{
  z-index:99999;
}

.offcanvas-body{
  padding:16px;
}

/* =========================
   PAGINATION
========================= */
.prd-pagination .pagination{
  gap:10px;
}

.prd-pagination .page-link{
  border-radius:12px;
  padding:10px 14px;
  border:1px solid rgba(128,29,47,.25);
  color:var(--brand);
  background:#fff;
  font-weight:800;
  box-shadow:0 10px 28px rgba(0,0,0,.05);
  transition:.2s ease;
}

.prd-pagination .page-link:hover{
  background:rgba(128,29,47,.08);
  border-color:rgba(128,29,47,.45);
  transform:translateY(-2px);
}

.prd-pagination .page-item.active .page-link{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
  box-shadow:0 14px 34px rgba(128,29,47,.35);
}

.prd-pagination .page-item.disabled .page-link{
  opacity:.45;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.prd-pagination .page-link:focus{
  box-shadow:0 0 0 .25rem rgba(128,29,47,.20);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:991.98px){
  .prd-page{
    padding:30px 0 40px;
  }
}

@media (max-width:575.98px){
  .prd-page{
    padding:20px 0 35px;
  }

  .prd-title h1{
    font-size:24px;
  }

  .prd-results-bar{
    flex-direction:column;
    align-items:flex-start;
  }

  .p-img img{
    height:150px;
  }

  .p-body{
    padding:10px;
    gap:6px;
  }

  .p-title{
    font-size:13px;
  }

  .p-now{
    font-size:15px;
  }

  .p-old,
  .p-off{
    font-size:11px;
  }

  .p-icon{
    width:32px;
    height:32px;
    border-radius:9px;
  }

  .prd-pagination .page-link{
    padding:9px 12px;
    border-radius:10px;
    font-size:14px;
  }
}










/* ===== Product Grid Item ===== */
.prd-item{
  display: flex;
}

/* ===== Product Card ===== */
.p-card{
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  transition: .3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.p-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
}

/* ===== Image Wrap ===== */
.p-img-wrap{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7f7f7;
  overflow: hidden;
}

.p-img-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.p-card:hover .p-img-wrap img{
  transform: scale(1.05);
}

/* ===== Stock Badge ===== */
.p-stock-badge{
  position: absolute;
  top: 12px;
  left: 12px;
  background: #801D2F;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 20px;
  z-index: 2;
}

/* ===== Body ===== */
.p-body{
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* ===== Title ===== */
.p-title{
  text-decoration: none;
  color: #111;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
}

.p-title:hover{
  color: #801D2F;
}

/* ===== Price ===== */
.p-price{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.p-now{
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.p-old{
  font-size: 16px;
  color: #8d8d8d;
  text-decoration: line-through;
  font-weight: 600;
}

.p-off{
  font-size: 15px;
  color: #801D2F;
  font-weight: 700;
}

/* ===== Actions ===== */
.p-actions{
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.p-icon{
  width: 40px;
  height: 40px;
  border: 1px solid rgba(128,29,47,.20);
  border-radius: 10px;
  background: #fff;
  color: #801D2F;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .25s ease;
  cursor: pointer;
}

.p-icon:hover{
  background: #801D2F;
  color: #fff;
  border-color: #801D2F;
  transform: translateY(-2px);
}

.p-icon-disabled{
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

/* remove extra gap from form */
.p-actions form{
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px){
  .p-title{
    font-size: 17px;
    min-height: 46px;
  }

  .p-now{
    font-size: 17px;
  }

  .p-old,
  .p-off{
    font-size: 14px;
  }
}

@media (max-width: 575.98px){
  .p-body{
    padding: 12px;
    gap: 8px;
  }

  .p-title{
    font-size: 15px;
    min-height: 42px;
  }

  .p-now{
    font-size: 16px;
  }

  .p-old,
  .p-off{
    font-size: 13px;
  }

  .p-icon{
    width: 36px;
    height: 36px;
  }

  .p-stock-badge{
    font-size: 11px;
    padding: 5px 8px;
  }
}














.k-promo-banner{
  width:100%;
  background:#fff;
  margin:0;
  padding:0;
}

.k-promo-fluid{
  width:100%;
  min-height: 260px;
  padding: 56px 6vw;            /* ✅ fluid spacing */
  overflow:hidden;

  background-size: cover;
  background-position: center right;
  background-repeat:no-repeat;

  position:relative;
}

/* soft white overlay (left stronger) */
.k-promo-fluid::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg,
    rgba(255,255,255,.92) 0%,
    rgba(255,255,255,.78) 40%,
    rgba(255,255,255,.25) 72%,
    rgba(255,255,255,0) 100%
  );
}

.k-promo-content{
  position:relative;
  z-index:2;
  max-width: 520px;
}

.k-promo-content h3{
  margin:0 0 10px;
  font-family:"Coralith","Poppins",serif;
  font-size: 38px;
  line-height:1.05;
  font-weight:700;
  color:#801D2F;
}

.k-promo-content p{
  margin:0 0 16px;
  font-size: 13px;
  color: rgba(0,0,0,.55);
}

.k-promo-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 10px;
  background:#FA9819;
  color:#2b0a12;
  text-decoration:none;
  font-weight:700;
  font-size: 12px;
  letter-spacing:.8px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.k-promo-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
}
.k-promo-btn span{ font-size:16px; margin-top:-1px; }

/* ✅ Responsive */
@media (max-width: 768px){
  .k-promo-fluid{
    padding: 34px 18px;
    min-height: 220px;
    background-position: right center;
  }

  .k-promo-fluid::before{
    background: linear-gradient(90deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.88) 58%,
      rgba(255,255,255,.55) 100%
    );
  }

  .k-promo-content{ max-width: 340px; }
  .k-promo-content h3{ font-size: 28px; }
}
@media (max-width: 420px){
  .k-promo-content{ max-width: 290px; }
  .k-promo-content h3{ font-size: 24px; }
}








