/*
 * Single Product Page (React-source based)
 * Final unified implementation for current TSX structure
 */

.single-product-container {
  background: #ffffff;
  min-height: 100vh;
  direction: rtl;
  color: #111827;
}

.single-product__hero,
.single-product__tabs-section,
.single-product__meta-section,
.single-product__related {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.single-product__hero {
  padding-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.single-product__gallery-col,
.single-product__info-col {
  min-width: 0;
}

.single-product__gallery-col .product-breadcrumb {
  margin-bottom: 18px;
}

.single-product__tabs-section {
  margin-top: 36px;
}

.single-product__meta-section {
  margin-top: 22px;
}

.single-product__related {
  margin-top: 52px;
  padding-bottom: 64px;
}

/* =====================================================
   PRODUCT GALLERY
===================================================== */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-gallery__main {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fafc;
  aspect-ratio: 1 / 1;
}

.product-gallery__main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-gallery__thumb {
  width: 74px;
  height: 74px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
  padding: 0;
  transition: all 0.2s ease;
}

.product-gallery__thumb:hover {
  border-color: #b54962;
}

.product-gallery__thumb--active {
  border-color: #8a0020;
  box-shadow: 0 0 0 1px #8a0020 inset;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================================================
   BREADCRUMB + PRODUCT INFO
===================================================== */
.product-info {
  text-align: right;
  position: relative;
}

.product-info__toast {
  position: sticky;
  top: 12px;
  z-index: 20;
  background: #06382a;
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 14px;
}

.product-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 14px;
  line-height: 1.5;
}

.product-breadcrumb__link,
.product-breadcrumb__current {
  text-decoration: none;
  color: rgba(15, 23, 42, 0.6);
}

.product-breadcrumb__link:hover {
  color: #8a0020;
}

.product-breadcrumb__sep {
  color: rgba(15, 23, 42, 0.35);
}

.product-info__title {
  margin: 0 0 12px;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: #0f172a;
}

.product-info__rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.product-info__review-count {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  color: rgba(15, 23, 42, 0.58);
  font-size: 14px;
}

.product-info__stars {
  display: flex;
  gap: 3px;
}

.product-info__rating-num {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-weight: 600;
  color: #111827;
  font-size: 15px;
}

.product-info__price-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 0;
}

.product-info__price-row .woocommerce-Price-amount {
  font-family: "PeydaFaNumWeb", sans-serif !important;
}

.product-info__old-price,
.product-info__old-price .woocommerce-Price-amount {
  color: rgba(17, 24, 39, 0.4);
  text-decoration: line-through;
  font-size: 18px;
  font-family: "PeydaFaNumWeb", sans-serif !important;
}

.product-info__price,
.product-info__price .woocommerce-Price-amount {
  font-size: 30px;
  color: #8a0020;
  font-weight: 700;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  text-decoration: none !important;
}

.product-info__price ins,
.product-info__price ins .woocommerce-Price-amount {
  text-decoration: none !important;
}

.product-info__description {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  color: rgba(15, 23, 42, 0.72);
  font-size: 16px;
  line-height: 1.95;
  margin-bottom: 16px;
  text-align: right;
}

/* Preserve all WordPress editor formatting inside short description */
.product-info__description p {
  margin: 0 0 10px;
}

.product-info__description p:last-child {
  margin-bottom: 0;
}

.product-info__description strong,
.product-info__description b {
  font-weight: 700;
}

.product-info__description em,
.product-info__description i {
  font-style: italic;
}

.product-info__description u {
  text-decoration: underline;
}

.product-info__description s,
.product-info__description del {
  text-decoration: line-through;
}

/* Allow inline colors and backgrounds set by the editor */
.product-info__description span[style],
.product-info__description p[style] {
  font-family: inherit;
}

.product-info__description a {
  color: #8a0020;
  text-decoration: underline;
}

.product-info__description ul,
.product-info__description ol {
  padding-right: 20px;
  margin: 0 0 10px;
}

.product-info__description ul {
  list-style: disc;
}

.product-info__description ol {
  list-style: decimal;
}

.product-info__description li {
  margin-bottom: 4px;
}

.product-info__description h1,
.product-info__description h2,
.product-info__description h3,
.product-info__description h4 {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  color: #0f172a;
  margin: 12px 0 6px;
  font-weight: 700;
}

.product-info__description br {
  display: block;
  content: "";
  margin-top: 8px;
}

.product-info__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  border-top: 1px solid #e8edf4;
  border-bottom: 1px solid #e8edf4;
  padding: 12px 0;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.product-info__meta-label,
.product-info__sku {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 14px;
}

.product-info__meta-label {
  color: rgba(15, 23, 42, 0.6);
}

.product-info__sku {
  color: #111827;
  font-weight: 500;
}

.product-info__stock {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 14px;
  font-weight: 600;
}

.product-info__stock--in {
  color: #15803d;
}

.product-info__stock--out {
  color: #b91c1c;
}

.product-info__purchase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.product-info__qty-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.product-info__qty-label {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  color: rgba(15, 23, 42, 0.7);
  font-size: 15px;
}

.product-info__qty {
  display: flex;
  align-items: center;
  border: 1px solid #d1d9e6;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.product-info__qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-info__qty-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-info__qty-input {
  width: 52px;
  height: 38px;
  border: none;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  text-align: center;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 15px;
  color: #0f172a;
}

.product-info__qty-input:focus {
  outline: none;
}

.product-info__add-to-cart {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 12px;
  background: #8a0020;
  color: #ffffff;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-info__add-to-cart:hover:not(:disabled) {
  background: #6d0019;
}

.product-info__add-to-cart--disabled,
.product-info__add-to-cart:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

.product-info__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-info__mobile-sticky {
  display: none;
}

.product-info__action-btn {
  border: 1px solid #d3dce8;
  background: #ffffff;
  border-radius: 10px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #374151;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 14px;
  cursor: pointer;
}

.product-info__action-btn:hover {
  border-color: #8a0020;
  color: #8a0020;
}

.product-info__action-btn--active {
  background: #8a0020;
  border-color: #8a0020;
  color: #ffffff;
}

.product-info__features {
  margin-top: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
}

.product-info__feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #e9eef6;
}

.product-info__feature-row:last-child {
  border-bottom: 0;
}

.product-info__feature-key,
.product-info__feature-val {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 14px;
}

.product-info__feature-key {
  color: rgba(15, 23, 42, 0.6);
}

.product-info__feature-val {
  color: #0f172a;
  font-weight: 500;
}

/* =====================================================
   PRODUCT COLORS
===================================================== */
.product-colors {
  margin-top: 14px;
}

.product-colors__title {
  margin: 0 0 10px;
  text-align: right;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

.product-colors__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-colors__item {
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #ffffff;
  padding: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-colors__item:hover:not(.product-colors__item--disabled) {
  border-color: #b54962;
}

.product-colors__item--active {
  border-color: #8a0020 !important;
  box-shadow: 0 0 0 1px #8a0020 inset;
}

.product-colors__item--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.product-colors__swatch {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}

.product-colors__swatch-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-colors__name {
  display: block;
  margin-top: 6px;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 12px;
  color: #475569;
}

/* =====================================================
   TABS + REVIEWS
===================================================== */
.product-tabs {
  border-top: 1px solid #e2e8f0;
  padding-top: 22px;
}

.product-tabs__header {
  display: flex;
  justify-content: flex-start;
  direction: rtl;
  gap: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.product-tabs__tab {
  border: none;
  background: transparent;
  padding: 0 4px 12px;
  color: rgba(15, 23, 42, 0.62);
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.product-tabs__tab--active {
  color: #8a0020;
}

.product-tabs__tab--active::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -1px;
  height: 2px;
  background: #8a0020;
}

.product-tabs__content {
  padding-top: 16px;
}

.product-tabs__description {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  color: rgba(15, 23, 42, 0.75);
  font-size: 16px;
  line-height: 2;
}

.product-tabs__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-tabs__spec-row {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-tabs__spec-key,
.product-tabs__spec-val {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 15px;
}

.product-tabs__spec-key {
  color: rgba(15, 23, 42, 0.65);
}

.product-tabs__spec-val {
  color: #111827;
  font-weight: 500;
}

.product-tabs__empty {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  color: rgba(15, 23, 42, 0.65);
}

.reviews-section__success,
.reviews-section__error {
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 14px;
}

.reviews-section__success {
  background: #dcfce7;
  color: #166534;
}

.reviews-section__error {
  background: #fee2e2;
  color: #991b1b;
}

.reviews-section__list {
  display: grid;
  gap: 12px;
}

.review-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 14px;
}

.review-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.review-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: left;
  flex-shrink: 0;
}

.review-card__stars {
  display: flex;
  gap: 2px;
}

.review-card__date {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  color: rgba(15, 23, 42, 0.5);
  font-size: 12px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  flex: 1;
  flex-direction: row-reverse;
}

.review-card__author-info {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.review-card__author-name {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.review-card__author-badge {
  display: inline-flex;
  align-self: flex-end;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 12px;
  color: #8a0020;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card__comment {
  margin: 0;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(15, 23, 42, 0.75);
}

.reviews-section__empty {
  font-family: "PeydaFaNumWeb", sans-serif !important;
  color: rgba(15, 23, 42, 0.65);
}

.reviews-section__add {
  margin-top: 16px;
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
}

.reviews-section__cta {
  text-align: center;
}

.reviews-section__cta p {
  margin: 0 0 8px;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  color: #111827;
}

.reviews-section__open-btn,
.reviews-section__submit-btn {
  border: none;
  background: #8a0020;
  color: #ffffff;
  border-radius: 10px;
  height: 42px;
  padding: 0 20px;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 15px;
  cursor: pointer;
}

.reviews-section__open-btn:hover,
.reviews-section__submit-btn:hover:not(:disabled) {
  background: #6d0019;
}

.reviews-section__submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.reviews-section__form-wrapper {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 14px;
}

.reviews-section__form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.reviews-section__form-header h3 {
  margin: 0;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 18px;
  color: #111827;
}

.reviews-section__close-btn {
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
}

.reviews-section__form {
  display: grid;
  gap: 12px;
}

.reviews-section__field label {
  display: block;
  margin-bottom: 6px;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 14px;
  color: #111827;
}

.reviews-section__star-picker {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
}

.reviews-section__star-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.reviews-section__input,
.reviews-section__textarea {
  width: 100%;
  border: 1px solid #d1d9e6;
  border-radius: 10px;
  background: #ffffff;
  color: #111827;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 15px;
  padding: 10px 12px;
}

.reviews-section__input:focus,
.reviews-section__textarea:focus {
  outline: none;
  border-color: #8a0020;
}

.reviews-section__textarea {
  resize: vertical;
  min-height: 130px;
}

.reviews-section__form-actions {
  display: flex;
  gap: 10px;
}

.reviews-section__cancel-btn {
  flex: 1;
  border: 1px solid #d1d9e6;
  background: #ffffff;
  border-radius: 10px;
  height: 42px;
  color: #374151;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 15px;
  cursor: pointer;
}

.reviews-section__submit-btn {
  flex: 1;
}

/* =====================================================
   META + RELATED
===================================================== */
.product-details__meta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-details__meta-item {
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.product-details__meta-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.product-details__meta-values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-details__meta-tag {
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #ffffff;
  color: #64748b;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 12px;
  padding: 4px 10px;
  text-decoration: none;
  display: inline-block;
}

.product-details__meta-tag--link:hover {
  border-color: #8a0020;
  color: #8a0020;
  background: #fff5f7;
}

.related-products {
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
}

.related-products__header {
  display: flex;
  justify-content: flex-start;
  direction: rtl;
  margin-bottom: 16px;
}

.related-products__title {
  margin: 0;
  width: 100%;
  text-align: right;
  color: #0f172a;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 24px;
  font-weight: 700;
}

.related-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* =====================================================
   SHARE DRAWER
===================================================== */
.share-drawer__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
}

.share-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  background: #ffffff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.share-drawer--open {
  transform: translateY(0);
}

.share-drawer__handle {
  width: 56px;
  height: 6px;
  border-radius: 999px;
  background: #d1d5db;
  margin: 10px auto 0;
}

.share-drawer__content {
  padding: 18px 18px 24px;
}

.share-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.share-drawer__header h3 {
  margin: 0;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 20px;
  color: #111827;
}

.share-drawer__close {
  border: none;
  background: #f3f4f6;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.share-drawer__product-title {
  margin: 0 0 12px;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  color: rgba(15, 23, 42, 0.65);
  font-size: 14px;
  text-align: right;
}

.share-drawer__socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.share-drawer__social-btn {
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 13px;
  font-weight: 600;
}

.share-drawer__copy-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
}

.share-drawer__copy-btn {
  border: 1px solid #d1d9e6;
  background: #ffffff;
  color: #374151;
  border-radius: 10px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "PeydaFaNumWeb", sans-serif !important;
  font-size: 14px;
  cursor: pointer;
}

.share-drawer__url {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  height: 40px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  color: #6b7280;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1200px) {
  .single-product__hero,
  .single-product__tabs-section,
  .single-product__meta-section,
  .single-product__related {
    padding: 0 16px;
  }
}

@media (max-width: 1024px) {
  .single-product__hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 20px;
  }

  .single-product-container {
    padding-bottom: calc(230px + env(safe-area-inset-bottom));
  }

  .product-info__title {
    font-size: 24px;
  }

  .product-tabs__specs,
  .product-details__meta-row {
    grid-template-columns: 1fr;
  }

  .related-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-info__purchase-row,
  .product-info > .product-info__add-to-cart,
  .product-info > .product-info__actions {
    display: none;
  }

  .product-info__mobile-sticky {
    display: grid;
    gap: 10px;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .product-info__mobile-sticky-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    z-index: 1;
  }

  .product-info__mobile-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .product-info__mobile-qty-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .product-info__mobile-sticky .product-info__add-to-cart {
    height: 46px;
    font-size: 16px;
    border-radius: 10px;
  }

  .product-info__mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-info__mobile-actions .product-info__action-btn {
    height: 40px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .single-product__hero,
  .single-product__tabs-section,
  .single-product__meta-section,
  .single-product__related {
    padding: 0 12px;
  }

  .product-info__title {
    font-size: 22px;
  }

  .product-info__price,
  .product-info__price .woocommerce-Price-amount {
    font-size: 24px;
  }

  .product-info__actions {
    grid-template-columns: 1fr;
  }

  .product-info__purchase-row,
  .review-card__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-info__qty-row,
  .product-info__price-row,
  .review-card__meta,
  .review-card__author {
    width: 100%;
  }

  .review-card__meta {
    align-items: flex-start;
  }

  .product-tabs__tab {
    font-size: 15px;
  }

  .related-products__grid {
    grid-template-columns: 1fr;
  }

  .product-info__mobile-sticky {
    left: 8px;
    right: 8px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    padding: 8px;
    gap: 8px;
  }

  .product-info__mobile-sticky-top {
    align-items: flex-start;
    flex-direction: column;
    z-index: 1;
  }

  .product-info__mobile-qty-row,
  .product-info__mobile-price-row {
    width: 100%;
  }

  .product-info__mobile-actions .product-info__action-btn {
    font-size: 12px;
    gap: 6px;
  }
}
