:root {
  --product-gold: #dda900;
  --product-ink: #151515;
  --product-muted: #707070;
  --product-line: #e7e7e7;
  --product-soft: #f7f7f5;
}

body.single-product .announcement {
  display: none;
}

body.single-product {
  width: 100%;
  overflow-x: hidden;
}

body.single-product .navbar {
  border-bottom: 1px solid #f2f2f2;
}

.qasra-product-page {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  color: var(--product-ink);
  background: #fff;
}

.qasra-product-hero {
  padding: 30px 40px 74px;
}

.qasra-product-layout {
  display: grid;
  width: min(1440px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 700px) minmax(430px, 1fr);
  align-items: start;
  gap: 44px;
}

.qasra-product-gallery {
  display: grid;
  min-width: 0;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.qasra-product-gallery--single {
  grid-template-columns: minmax(0, 1fr);
}

.qasra-product-thumbs {
  display: flex;
  max-height: 858px;
  padding-right: 2px;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  scrollbar-width: thin;
}

.qasra-product-thumb {
  width: 50px;
  height: 66px;
  padding: 0;
  flex: 0 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
}

.qasra-product-thumb.is-active {
  border-color: var(--product-ink);
}

.qasra-product-thumb:focus-visible,
.qasra-product-stage:focus-visible,
.qasra-buy-now:focus-visible,
.qasra-description button:focus-visible,
.qasra-review-nav button:focus-visible {
  outline: 3px solid #111;
  outline-offset: 3px;
}

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

.qasra-product-stage {
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f3f3f3;
}

.qasra-product-slide {
  position: absolute;
  inset: 0;
  display: none;
  margin: 0;
}

.qasra-product-slide.is-active {
  display: block;
  animation: qasra-product-fade .24s ease;
}

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

@keyframes qasra-product-fade {
  from { opacity: .45; }
  to { opacity: 1; }
}

.qasra-product-summary {
  position: sticky;
  top: 20px;
  min-width: 0;
  padding-top: 1px;
}

.qasra-product-sale {
  display: inline-flex;
  min-height: 29px;
  margin-bottom: 17px;
  padding: 6px 14px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--product-gold);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.qasra-product-summary h1 {
  max-width: 680px;
  margin: 0 0 12px;
  color: #0c0c0c;
  font-size: clamp(25px, 2vw, 31px);
  font-weight: 760;
  letter-spacing: -.8px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.qasra-product-price {
  display: flex;
  margin: 0 0 14px;
  align-items: baseline;
  gap: 7px;
}

.qasra-product-price strong,
.qasra-product-price strong .woocommerce-Price-amount {
  color: var(--product-gold);
  font-size: 27px;
  font-weight: 800;
}

.qasra-product-price del,
.qasra-product-price del .woocommerce-Price-amount {
  color: #70747c;
  font-size: 24px;
  font-weight: 700;
}

.qasra-viewers {
  display: inline-flex;
  min-height: 46px;
  margin-bottom: 12px;
  padding: 0 13px;
  align-items: center;
  gap: 7px;
  border: 1px solid #e7e7e7;
  border-radius: 11px;
  font-size: 14px;
}

.qasra-viewers > span {
  width: 11px;
  height: 11px;
  background: #f11;
  border: 2px solid #ffc5c5;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgb(255 0 0 / 7%);
}

.qasra-sale-strip {
  display: flex;
  min-height: 33px;
  margin-bottom: 42px;
  padding: 4px 12px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(90deg, #f7ebc4, #dba800 42%, #f8e9b6);
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .8px;
  text-shadow: 0 1px 2px rgb(0 0 0 / 65%);
}

.qasra-section-rule {
  display: grid;
  margin-bottom: 26px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  color: #3d3d3d;
  font-size: 18px;
  font-weight: 800;
}

.qasra-section-rule::before,
.qasra-section-rule::after {
  height: 2px;
  content: "";
  background: #aeb0b2;
}

.qasra-bundles {
  margin-bottom: 54px;
}

.qasra-bundle {
  display: grid;
  min-height: 90px;
  margin-bottom: 11px;
  padding: 12px 20px;
  grid-template-columns: 22px auto auto minmax(110px, 1fr);
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 2px solid var(--product-gold);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s ease, box-shadow .2s ease;
}

.qasra-bundle.is-selected {
  background: #eee;
  box-shadow: 0 1px 1px rgb(0 0 0 / 6%);
}

.qasra-bundle input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.qasra-bundle-radio {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid var(--product-gold);
  border-radius: 50%;
}

.qasra-bundle input:checked + .qasra-bundle-radio::after {
  width: 10px;
  height: 10px;
  content: "";
  background: var(--product-gold);
  border-radius: 50%;
}

.qasra-bundle input:focus-visible + .qasra-bundle-radio {
  outline: 3px solid #111;
  outline-offset: 3px;
}

.qasra-bundle > strong {
  min-width: 0;
  color: var(--product-gold);
  font-size: 17px;
  white-space: nowrap;
}

.qasra-bundle > small {
  min-width: 0;
  padding: 6px 10px;
  justify-self: start;
  color: #fff;
  background: var(--product-gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.qasra-bundle-price {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  overflow: hidden;
}

.qasra-bundle-price b,
.qasra-bundle-price b .woocommerce-Price-amount {
  color: var(--product-gold);
  font-size: 21px;
  font-weight: 800;
  white-space: nowrap;
}

.qasra-bundle-price del,
.qasra-bundle-price del .woocommerce-Price-amount {
  color: #222;
  font-size: 13px;
  white-space: nowrap;
}

.qasra-buy-row {
  display: grid;
  margin-bottom: 29px;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 12px;
}

.qasra-quantity,
.qasra-buy-now {
  min-height: 52px;
  color: #fff;
  background: var(--product-gold);
  border: 0;
  border-radius: 999px;
}

.qasra-quantity {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  overflow: hidden;
}

.qasra-quantity button {
  height: 100%;
  padding: 0;
  color: #5e5129;
  background: transparent;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}

.qasra-quantity output {
  color: #5e5129;
  font-size: 16px;
  text-align: center;
}

.qasra-buy-now {
  padding: 0 28px;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition: filter .2s ease, transform .15s ease;
}

.qasra-buy-now:hover { filter: brightness(.94); }
.qasra-buy-now:active { transform: translateY(1px); }
.qasra-buy-now:disabled { cursor: wait; opacity: .68; }

.qasra-cart-status {
  min-height: 18px;
  margin: -18px 0 8px;
  color: #a40000;
  font-size: 13px;
}

.qasra-description {
  margin-bottom: 48px;
  border-top: 1px solid var(--product-line);
  border-bottom: 1px solid var(--product-line);
}

.qasra-description > button {
  display: flex;
  width: 100%;
  min-height: 47px;
  padding: 0;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 0;
  font-size: 14px;
  cursor: pointer;
}

.qasra-description > button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform .2s ease;
}

.qasra-description > button[aria-expanded="true"] svg { transform: rotate(180deg); }

.qasra-description > div {
  max-height: 340px;
  padding: 0 4px 22px;
  overflow: auto;
  color: #494949;
  font-size: 14px;
  line-height: 1.65;
}

.qasra-safe-heading {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.qasra-delivery-box {
  padding: 8px 20px;
  color: #777;
  border: 1px solid #ddd;
  border-radius: 7px;
}

.qasra-delivery-box p {
  display: flex;
  min-height: 52px;
  margin: 0;
  align-items: center;
  gap: 14px;
}

.qasra-delivery-box p + p { border-top: 1px solid #ddd; }

.qasra-delivery-box svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: #606060;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.qasra-delivery-box strong { color: #111; }

.qasra-related,
.qasra-recent {
  width: min(1500px, calc(100% - 80px));
  margin: 0 auto;
  padding: 70px 0 85px;
}

.qasra-related header,
.qasra-recent header,
.qasra-reviews-header {
  margin-bottom: 42px;
  text-align: center;
}

.qasra-related h2,
.qasra-recent h2,
.qasra-reviews h2 {
  margin: 0 0 9px;
  color: #171717;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.qasra-related header p,
.qasra-recent header p,
.qasra-reviews-header > p {
  max-width: 620px;
  margin: 0 auto;
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}

.qasra-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.qasra-related .product-card {
  min-width: 0;
  box-shadow: none;
  border: 0;
  border-radius: 0;
}

.qasra-related .product-card__media { aspect-ratio: 1 / 1; }
.qasra-related .product-card__content { padding: 14px 2px; }
.qasra-related .product-card__content h3 { font-size: 15px; }

.qasra-reviews {
  padding: 68px max(40px, calc((100vw - 1500px) / 2)) 52px;
  overflow: hidden;
  background: var(--product-soft);
}

.qasra-rating-summary {
  display: flex;
  margin-top: 18px;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.qasra-rating-summary > strong {
  font-size: 39px;
  line-height: 1;
}

.qasra-rating-summary > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.qasra-rating-summary b,
.qasra-review-stars {
  color: var(--product-gold);
  letter-spacing: 2px;
}

.qasra-rating-summary small { color: #888; font-size: 11px; }

.qasra-review-track {
  display: flex;
  padding: 8px 2px 18px;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.qasra-review-track::-webkit-scrollbar { display: none; }

.qasra-review-card {
  display: flex;
  min-height: 310px;
  padding: 28px;
  flex: 0 0 calc((100% - 40px) / 3);
  flex-direction: column;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgb(0 0 0 / 6%);
  scroll-snap-align: start;
}

.qasra-review-stars .is-empty { color: #ddd; }

.qasra-review-card blockquote {
  margin: 23px 0 28px;
  color: #4f4f4f;
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
}

.qasra-review-card footer {
  display: grid;
  margin-top: auto;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}

.qasra-review-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--product-gold);
  border-radius: 50%;
  font-weight: 800;
}

.qasra-review-card footer > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.qasra-review-card footer strong { font-size: 13px; }
.qasra-review-card footer small { margin-top: 3px; color: #999; font-size: 10px; line-height: 1.4; }

.qasra-review-card footer em {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #49a267;
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.qasra-review-card footer em svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.qasra-review-nav {
  display: flex;
  margin-top: 13px;
  justify-content: center;
  gap: 10px;
}

.qasra-review-nav button {
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
}

.qasra-review-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.qasra-recent { padding-bottom: 110px; }
.qasra-recent-product { width: min(270px, 100%); }
.qasra-recent-product .product-card { box-shadow: none; }

.qasra-mobile-dock { display: none; }

@media (max-width: 1180px) {
  .qasra-product-layout {
    grid-template-columns: minmax(0, 56%) minmax(390px, 1fr);
    gap: 28px;
  }

  .qasra-product-hero { padding-inline: 24px; }
  .qasra-bundle { padding-inline: 14px; gap: 9px; }
  .qasra-bundle > small { padding-inline: 7px; }
  .qasra-review-card { flex-basis: calc((100% - 20px) / 2); }
}

@media (max-width: 820px) {
  body.single-product { padding-bottom: 62px; }

  .qasra-product-hero {
    padding: 0 0 52px;
  }

  .qasra-product-layout {
    display: block;
    width: 100%;
  }

  .qasra-product-gallery {
    display: block;
  }

  .qasra-product-stage { width: 100%; }

  .qasra-product-thumbs {
    display: none;
  }

  .qasra-product-thumb {
    width: 48px;
    height: 64px;
  }

  .qasra-product-summary {
    position: static;
    padding: 18px 16px 0;
  }

  .qasra-product-sale { margin-bottom: 14px; }
  .qasra-product-summary h1 { font-size: 23px; line-height: 1.12; }
  .qasra-product-price strong,
  .qasra-product-price strong .woocommerce-Price-amount { font-size: 23px; }
  .qasra-product-price del,
  .qasra-product-price del .woocommerce-Price-amount { font-size: 18px; }
  .qasra-sale-strip { margin-bottom: 30px; }
  .qasra-bundles { margin-bottom: 30px; }
  .qasra-related,
  .qasra-recent { width: calc(100% - 28px); padding: 54px 0 60px; }
  .qasra-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .qasra-related .product-card__content h3 { font-size: 13px; }
  .qasra-reviews { padding: 52px 14px 44px; }
  .qasra-review-card { flex-basis: calc(50% - 7px); min-height: 285px; padding: 17px; }
  .qasra-review-track { gap: 14px; }
  .qasra-review-card blockquote { margin: 15px 0 18px; font-size: 12px; line-height: 1.55; }
  .qasra-review-card footer { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
  .qasra-review-avatar { width: 34px; height: 34px; font-size: 11px; }
  .qasra-review-card footer em { grid-column: 1 / -1; }

  .qasra-mobile-dock {
    position: fixed;
    z-index: 100;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height: 62px;
    padding: 5px 22px;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border-top: 1px solid #ddd;
    box-shadow: 0 -4px 18px rgb(0 0 0 / 8%);
  }

  .qasra-mobile-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    color: #222;
    font-size: 10px;
    text-decoration: none;
  }

  .qasra-mobile-dock svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }
}

@media (max-width: 520px) {
  body.single-product .navbar { min-height: 58px; }
  body.single-product .brand { width: 78px; }
  body.single-product .header-actions { gap: 7px; }
  body.single-product .icon-button { width: 28px; height: 28px; }

  .qasra-section-rule { font-size: 14px; gap: 11px; }
  .qasra-bundle {
    width: 100%;
    max-width: 100%;
    min-height: 64px;
    padding: 8px 10px;
    grid-template-columns: 17px 34px 60px minmax(0, 1fr);
    gap: 6px;
  }
  .qasra-bundle-radio { width: 17px; height: 17px; }
  .qasra-bundle input:checked + .qasra-bundle-radio::after { width: 8px; height: 8px; }
  .qasra-bundle > strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; }
  .qasra-bundle > small { padding: 4px 5px; overflow: hidden; font-size: 8px; text-overflow: ellipsis; }
  .qasra-bundle-price b,
  .qasra-bundle-price b .woocommerce-Price-amount { font-size: 13px; }
  .qasra-bundle-price del,
  .qasra-bundle-price del .woocommerce-Price-amount { font-size: 9px; }
  .qasra-buy-row { grid-template-columns: 94px minmax(0, 1fr); gap: 7px; }
  .qasra-quantity,
  .qasra-buy-now { min-height: 44px; }
  .qasra-related h2,
  .qasra-recent h2,
  .qasra-reviews h2 { font-size: 26px; }
  .qasra-related header,
  .qasra-recent header,
  .qasra-reviews-header { margin-bottom: 28px; }
  .qasra-review-card { min-height: 275px; padding: 13px; }
  .qasra-review-card footer strong { font-size: 10px; }
  .qasra-review-card footer small,
  .qasra-review-card footer em { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .qasra-product-slide.is-active { animation: none; }
  .qasra-review-track { scroll-behavior: auto; }
}
