.product-hero-wrapper {
  background: #ffffff;
  border: 1px solid #eef2f6;
  padding: 17px 23px;
  margin-top: 26px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  border-radius: 23px;

  border: 1px solid #e2e8f0;
}

.review-count-product {
  padding: 0px 12px;
  border-left: 1px solid #d1d1d1;
  border-right: 1px solid #d1d1d1;
}

.stock-badge-p {
  background: #d1fae5;
  background: #d1fae5;
  font-weight: 600;
  border-radius: 100px;
  padding: 3px 10px 3px 21px;
  font-size: 13px;
  margin: 0px 16px;
  position: relative;
  color: #136950;
}

.stock-badge-p::before {
  content: "";
  background-color: #10b981;
  height: 8px;
  width: 8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 100px;
  left: 7px;
}

.review-count-product {
  color: #284ffe;
}

.price-area {
  background: #f8fafc;
  padding: 16px 12px;
  border-radius: 13px;
}

.details-page-top-right-content .price-area .main-price {
  font-weight: 900;
}

.details-page-top-right-content .price-area del {
  font-size: 18px;
  margin-left: 4px;
  font-weight: 600;
}

.custom-badge-danger {
  font-size: 14px;
  background: #fff1f2;
  color: #e11d48;
  padding: 2px 7px;
  border: 1px solid #e11d48;
  border-radius: 6px;
  font-weight: bold;
      display: inline-block;
}
.prod-btn-tab {
  border-color: rgb(220, 220, 220);
  border: 1px solid #cbd5e1;
  padding: 10px 18px;
  border-radius: 9px;
}
.product-quantity {
  display: flex;
  float: left;
  margin-right: 10px;
  border: 1px solid #cbd5e1;
  padding: 3px;
  border-radius: 14px;
}
.product-quantity input {
  border: none;
}

#add_to_cart {
  border: none;
  padding: 13px 26px;
  width: 100%;
  color: white;
  border-radius: 11px;
  font-weight: bold;
}

#but_to_cart {
  background: black;
  color: white;
  width: 100%;
  padding: 13px 0px;
  border: none;
  border-radius: 11px;
  font-weight: bold;
}
.p-action-button {
  display: flex;
  width: 100%;
}

.a2a_kit a {
  cursor: pointer;
  transition: none;
  background: #f1f5f9;
  padding: 12px;
  border-radius: 100px;
  color: #64748b !important;
  width: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.a2a_kit {
  display: flex;
  gap: 12px;
}

.p-d-f-area .left {
  font-size: 14px;
}

.wishlist_store.wishlist_text {
  color: black;
}

.delivery-wrapper {
  width: 100%;
  max-width: 550px;
  margin: 16px auto;
}

/* =========================
   FEATURE CARDS
========================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.feature-card {
  min-height: 72px;
  background: #f7f9fc;
  border-radius: 9px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 8px 5px;
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: #3158ff;
  margin-bottom: 5px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  color: #24334d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.feature-subtitle {
  color: #65748b;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 2px;
}

/* =========================
   DELIVERY BOX
========================= */

.delivery-box {
  background: #f8fafc;
  border: 1px solid #e1e7f0;
  border-radius: 12px;
  padding: 15px 16px 14px;
}

/* Header */

.delivery-header {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 13px;
}

.location-icon {
  width: 28px;
  height: 28px;

  flex: 0 0 28px;

  border-radius: 8px;
  background: #eef3ff;

  color: #3158ff;

  display: flex;
  align-items: center;
  justify-content: center;
}

.location-icon svg {
  width: 17px;
  height: 17px;
}

.delivery-heading {
  min-width: 0;
}

.delivery-title {
  color: #1e293b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.delivery-description {
  color: #95a3b8;
  font-size: 11px;
  line-height: 1.4;
  margin-top: 1px;
}

/* =========================
   POSTAL FORM
========================= */

.postal-form {
  height: 38px;
  background: #ffffff;

  border: 1px solid #cbd5e1;
  border-radius: 10px;

  display: flex;
  align-items: center;

  padding: 2px 3px 2px 14px;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.postal-form:focus-within {
  border-color: #3158ff;
  box-shadow: 0 0 0 3px rgba(49, 88, 255, 0.08);
}

.postal-form input {
  flex: 1;
  width: 100%;

  border: none;
  outline: none;

  background: transparent;

  color: #27364d;
  font-family: inherit;
  font-size: 12px;
}

.postal-form input::placeholder {
  color: #a5b1c3;
}

.postal-form button {
  height: 30px;
  min-width: 64px;

  border: none;
  border-radius: 8px;

  background: #3158ff;
  color: #ffffff;

  font-family: inherit;
  font-size: 12px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.1s ease;
}

.postal-form button:hover {
  background: #2449ed;
}

.postal-form button:active {
  transform: scale(0.97);
}

/* =========================
   STATUS
========================= */

.delivery-status {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 12px;

  color: #26364c;
  font-size: 11px;
  font-weight: 600;
}

.check-icon {
  color: #0a9d73;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 480px) {
  .delivery-wrapper {
    margin: 12px auto;
    padding: 0;
  }

  .feature-grid {
    gap: 6px;
  }

  .feature-card {
    min-height: 70px;
    padding: 7px 3px;
  }

  .feature-title {
    font-size: 11px;
  }

  .feature-subtitle {
    font-size: 10px;
  }

  .delivery-box {
    padding: 14px 12px;
  }
  
  #details .inner-container-wrapper {
    padding: 4px 20px !important;
  }
  
      .nav-tabs .nav-item {
        margin-right: 20px !important;
    }
}

@media (max-width: 360px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .feature-card {
    min-height: 58px;
  }

  .feature-icon {
    margin-bottom: 3px;
  }

  .delivery-description {
    font-size: 10px;
  }

  .postal-form {
    padding-left: 10px;
  }

  .postal-form button {
    min-width: 58px;
  }
}

#details .inner-container-wrapper {
  padding: 40px 35px;
  border-radius: 23px;
  border: 1px solid #e2e8f0;
  background: white;
}

/* Review areas  */
/* =========================================================
   CUSTOMER REVIEWS
========================================================= */

.custom-review-section {
  width: 100%;
  background: #ffffff;
  border: 1px solid #dfe5ed;
  border-radius: 14px;
  padding: 28px 27px;
  color: #172033;
  box-shadow: 0 1px 2px rgba(20, 35, 60, 0.03);
}

/* =========================================================
   HEADER
========================================================= */

.custom-review-heading {
  margin: 0 0 20px;
  padding: 0;

  color: #141c2e;

  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

/* =========================================================
   RATING SUMMARY
========================================================= */

.custom-rating-summary {
  display: grid;
  grid-template-columns: 275px 1px minmax(0, 1fr);
  align-items: center;

  min-height: 125px;
}

/* =========================================================
   OVERALL RATING
========================================================= */

.overall-rating {
  text-align: center;
  padding: 0 25px 0 5px;
}

.average-rating {
  color: #10182a;

  font-size: 42px;
  font-weight: 700;
  line-height: 1;

  letter-spacing: -1px;
}

.overall-stars {
  margin-top: 8px;

  color: #ffb21a;

  font-size: 17px;
  line-height: 1;
}

.overall-stars i {
  margin: 0 1px;
}

.rating-count {
  margin-top: 7px;

  color: #6c7c95;

  font-size: 10px;
  line-height: 1.4;
}

/* =========================================================
   WRITE REVIEW BUTTON
========================================================= */

.review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 99px;
  height: 29px;

  margin-top: 12px;
  padding: 0 13px;

  border: 1px solid #ccd6e5;
  border-radius: 8px;

  background: #ffffff;

  color: #27344a;

  font-size: 10px;
  font-weight: 600;
  line-height: 1;

  text-decoration: none;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.review-button:hover {
  background: #f5f7fb;
  border-color: #b8c5d8;
  color: #172033;
  text-decoration: none;
}

/* =========================================================
   VERTICAL DIVIDER
========================================================= */

.rating-divider {
  width: 1px;
  height: 125px;

  background: #e1e7ef;
}

/* =========================================================
   RATING BREAKDOWN
========================================================= */

.rating-breakdown {
  width: 100%;
  padding-left: 27px;
  padding-right: 2px;
}

.rating-row {
  display: grid;

  grid-template-columns: 40px minmax(100px, 1fr) 30px;

  align-items: center;

  column-gap: 10px;

  margin-bottom: 8px;
}

.rating-row:last-child {
  margin-bottom: 0;
}

.rating-label {
  color: #53647d;

  font-size: 10px;
  font-weight: 500;

  white-space: nowrap;
}

.rating-progress {
  position: relative;

  width: 100%;
  height: 8px;

  overflow: hidden;

  background: #edf1f6;

  border-radius: 20px;
}

.rating-progress-bar {
  height: 100%;

  min-width: 0;

  background: #3158ff;

  border-radius: 20px;

  transition: width 0.4s ease;
}

.rating-percentage {
  color: #27344a;

  font-size: 10px;
  font-weight: 500;

  text-align: right;
}

/* =========================================================
   REVIEWS DIVIDER
========================================================= */

.custom-reviews-list {
  margin-top: 26px;

  border-top: 1px solid #edf0f4;
}

/* =========================================================
   SINGLE REVIEW
========================================================= */

.custom-single-review {
  padding: 34px 0 0;
}

.custom-review-content {
  display: flex;
  align-items: flex-start;

  gap: 11px;
}

/* =========================================================
   AVATAR
========================================================= */

.custom-review-avatar {
  flex: 0 0 30px;

  width: 30px;
  height: 30px;

  overflow: hidden;

  background: #e8edf5;

  border-radius: 50%;
}

.custom-review-avatar img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* =========================================================
   REVIEW BODY
========================================================= */

.custom-review-body {
  min-width: 0;
  flex: 1;
}

/* =========================================================
   REVIEW TOP
========================================================= */

.custom-review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 15px;
}

.custom-review-user-name {
  color: #27344a;

  font-size: 12px;
  font-weight: 700;

  line-height: 1.4;
}

.verified-buyer {
  display: inline-block;

  margin-left: 5px;

  color: #0b9a72;

  font-size: 9px;
  font-weight: 500;
}

.custom-review-meta {
  margin-top: 3px;

  color: #98a7ba;

  font-size: 9px;
  line-height: 1.4;
}

.custom-review-meta span {
  margin: 0 3px;
  color: #c2cbd7;
}

.custom-review-date {
  flex-shrink: 0;

  color: #8796aa;

  font-size: 9px;
  font-weight: 500;

  white-space: nowrap;
}

/* =========================================================
   REVIEW STARS
========================================================= */

.custom-review-stars {
  display: flex;
  align-items: center;

  gap: 1px;

  margin-top: 9px;

  color: #ffad0a;

  font-size: 11px;
}

.custom-review-stars i {
  font-style: normal;
}

.custom-review-stars i.filled {
  color: #ffad0a;
}

/* =========================================================
   REVIEW TEXT
========================================================= */

.custom-review-text {
  max-width: 95%;

  margin-top: 5px;

  color: #53647d;

  font-size: 10px;
  font-weight: 400;

  line-height: 1.55;
}

/* =========================================================
   NO REVIEWS
========================================================= */

.custom-no-review {
  margin-top: 25px;
  padding: 30px;

  border: 1px solid #e5eaf0;
  border-radius: 8px;

  color: #69788e;

  font-size: 13px;

  text-align: center;
}

/* =========================================================
   PAGINATION
========================================================= */

.custom-review-pagination {
  padding-top: 30px;

  text-align: center;
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 767px) {
  .custom-review-section {
    padding: 22px 18px;
    border-radius: 12px;
  }

  .custom-rating-summary {
    grid-template-columns: 210px 1px minmax(0, 1fr);
  }

  .overall-rating {
    padding-right: 18px;
  }

  .rating-breakdown {
    padding-left: 18px;
  }

  .average-rating {
    font-size: 36px;
  }

  .rating-row {
    grid-template-columns: 38px minmax(70px, 1fr) 25px;
    column-gap: 7px;
  }

  .stock-badge-p {
    margin: 12px 0px;
  }
  .atc-buy-qty-wrapper {
    flex-wrap: wrap;
  }
}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 575px) {
  .custom-review-section {
    padding: 20px 15px;
  }

  .custom-review-heading {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .custom-rating-summary {
    display: grid;
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .overall-rating {
    padding: 0;
  }

  .rating-divider {
    width: 100%;
    height: 1px;
  }

  .rating-breakdown {
    padding: 0;
  }

  .rating-row {
    grid-template-columns: 42px minmax(0, 1fr) 25px;

    margin-bottom: 9px;
  }

  .custom-reviews-list {
    margin-top: 25px;
  }

  .custom-single-review {
    padding-top: 25px;
  }

  .custom-review-content {
    gap: 9px;
  }

  .custom-review-top {
    display: block;
  }

  .custom-review-date {
    margin-top: 5px;
  }

  .custom-review-text {
    max-width: 100%;
  }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {
  .custom-review-section {
    padding: 18px 12px;
  }

  .average-rating {
    font-size: 34px;
  }

  .custom-review-user-name {
    font-size: 11px;
  }

  .verified-buyer {
    font-size: 8px;
  }

  .custom-review-text {
    font-size: 10px;
  }
}
