.szpp,
.szpp * {
  box-sizing: border-box;
}

.szpp {
  --szpp-primary: #5b5de8;
  --szpp-accent: #4da51b;
  --szpp-badge: #f6b500;
  --szpp-text: #23252b;
  --szpp-muted: #6c7280;
  --szpp-border: #e5e7eb;
  --szpp-soft: #f7f8fc;
  --szpp-shadow: 0 8px 28px rgba(28, 31, 41, 0.08);
  color: var(--szpp-text);
  font-size: 15px;
  line-height: 1.55;
  background: #fff;
}

.szpp a {
  color: inherit;
  text-decoration: none;
}

.szpp img {
  max-width: 100%;
  height: auto;
}

.szpp button,
.szpp input,
.szpp select,
.szpp textarea {
  font: inherit;
}

.szpp-container {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.szpp-breadcrumb-wrap {
  border-bottom: 1px solid var(--szpp-border);
  background: #fff;
}

.szpp-breadcrumb-wrap .woocommerce-breadcrumb {
  margin: 0;
  padding: 12px 0;
  color: var(--szpp-muted);
  font-size: 13px;
  line-height: 1.4;
}

.szpp-breadcrumb-wrap .woocommerce-breadcrumb a:hover {
  color: var(--szpp-primary);
}

.szpp-breadcrumb-sep {
  display: inline-block;
  margin: 0 7px;
  color: #b1b5bf;
}

.szpp-hero {
  padding: 28px 0 34px;
  background: #fff;
}

.szpp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  gap: 48px;
  align-items: start;
}

.szpp-gallery {
  position: sticky;
  top: 22px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 15px;
  min-width: 0;
}

.szpp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 540px;
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 2px;
}

.szpp-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  min-height: 72px;
  padding: 4px;
  border: 1px solid var(--szpp-border);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.szpp-thumb:hover,
.szpp-thumb.is-active {
  border-color: var(--szpp-primary);
  box-shadow: 0 0 0 1px var(--szpp-primary);
}

.szpp-thumb img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.szpp-main-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  padding: 28px;
  border: 1px solid var(--szpp-border);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.szpp-main-image-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.szpp-main-image {
  width: 100%;
  max-height: 450px;
  object-fit: contain;
  transition: opacity .16s ease, transform .25s ease;
}

.szpp-main-image-wrap:hover .szpp-main-image {
  transform: scale(1.025);
}

.szpp-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--szpp-border);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--szpp-text);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
}

.szpp-sale-badge,
.szpp-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--szpp-badge);
  color: #222;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.szpp-sale-badge {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 93px;
  min-width: 50px;
  min-height: 27px;
  padding: 4px 9px;
  border-radius: 3px;
}

.szpp-summary {
  min-width: 0;
  padding-top: 2px;
}

.szpp-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.szpp-title {
  margin: 0;
  color: var(--szpp-text);
  font-size: clamp(25px, 2.3vw, 35px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.szpp-title-row .stock {
  flex: 0 0 auto;
  margin: 5px 0 0;
  padding: 4px 9px;
  border-radius: 20px;
  background: #edf8eb;
  color: #257317;
  font-size: 12px;
  font-weight: 700;
}

.szpp-title-row .stock.out-of-stock {
  background: #fff0f0;
  color: #b42318;
}

.szpp-rating-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #555b66;
  font-size: 13px;
}

.szpp-rating-link:hover {
  color: var(--szpp-primary);
}

.szpp .star-rating {
  float: none;
  margin: 0;
  color: #f0a000;
  font-size: 14px;
}

.szpp-no-rating > span {
  color: #d7d9de;
  letter-spacing: 1px;
}

.szpp-price {
  margin-top: 18px;
  color: #111827;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.2;
}

.szpp-price del {
  margin-right: 7px;
  color: #9499a3;
  font-size: .62em;
  font-weight: 500;
}

.szpp-price ins {
  color: var(--szpp-accent);
  text-decoration: none;
}

.szpp-saving {
  margin-top: 7px;
  color: #3f4651;
  font-size: 13px;
}

.szpp-saving span {
  display: inline-flex;
  margin-right: 6px;
  padding: 3px 7px;
  border-radius: 4px;
  background: #fff3cf;
  color: #8a5a00;
  font-size: 11px;
  font-weight: 800;
}

.szpp-short-description {
  margin-top: 18px;
  color: #434956;
}

.szpp-short-description p:last-child {
  margin-bottom: 0;
}

.szpp-highlights {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.szpp-highlights li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #404650;
}

.szpp-highlights .dashicons {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--szpp-accent);
  font-size: 18px;
}

.szpp-cart-box {
  margin-top: 20px;
  padding-top: 19px;
  border-top: 1px solid var(--szpp-border);
}

.szpp-cart-box form.cart {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.szpp-cart-box form.cart .variations {
  width: 100%;
  margin: 0 0 8px;
  border: 0;
}

.szpp-cart-box .variations tr {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.szpp-cart-box .variations th,
.szpp-cart-box .variations td {
  display: block;
  padding: 0;
  border: 0;
  text-align: left;
}

.szpp-cart-box .variations label {
  color: #343943;
  font-size: 13px;
  font-weight: 700;
}

.szpp-cart-box .variations select {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 38px 0 13px;
  border: 1px solid #d6d9df;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: none;
}

.szpp-cart-box .reset_variations {
  display: inline-block;
  margin-top: 4px;
  color: var(--szpp-primary);
  font-size: 12px;
}

.szpp-cart-box .single_variation_wrap {
  width: 100%;
}

.szpp-cart-box .woocommerce-variation-price {
  margin: 0 0 10px;
  color: var(--szpp-accent);
  font-size: 22px;
  font-weight: 800;
}

.szpp-cart-box .woocommerce-variation-add-to-cart {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.szpp .quantity {
  display: inline-flex;
  align-items: stretch;
  min-width: 112px;
  height: 47px;
  margin: 0;
  border: 1px solid #d7d9df;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

.szpp .quantity .button,
.szpp .quantity input[type="button"] {
  min-width: 32px;
  height: 45px;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  color: #3c424d;
  box-shadow: none;
  font-size: 18px;
}

.szpp .quantity input.qty {
  width: 46px;
  height: 45px;
  padding: 0;
  border: 0;
  border-left: 1px solid #eceef2;
  border-right: 1px solid #eceef2;
  background: #fff;
  box-shadow: none;
  text-align: center;
}

.szpp-cart-box .single_add_to_cart_button,
.szpp-buy-now,
.szpp-add-bundle {
  min-height: 47px;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 800 !important;
}

.szpp-cart-box .single_add_to_cart_button {
  flex: 1 1 230px;
  background: var(--szpp-accent) !important;
  color: #fff !important;
}

.szpp-cart-box .single_add_to_cart_button:hover {
  filter: brightness(.94);
}

.szpp-buy-now {
  width: 100%;
  margin-top: 10px !important;
  background: var(--szpp-primary) !important;
  color: #fff !important;
}

.szpp-payment-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--szpp-muted);
  font-size: 12px;
}

.szpp-payment-note .dashicons {
  color: #3f9850;
  font-size: 16px;
}

.szpp-delivery-check {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid var(--szpp-border);
  border-radius: 7px;
  background: var(--szpp-soft);
}

.szpp-delivery-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  font-size: 13px;
}

.szpp-delivery-heading .dashicons {
  color: var(--szpp-primary);
}

.szpp-delivery-form {
  display: flex;
}

.szpp-pincode {
  flex: 1 1 auto;
  height: 42px;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #d7dae1 !important;
  border-right: 0 !important;
  border-radius: 5px 0 0 5px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.szpp-check-delivery {
  flex: 0 0 auto;
  min-width: 86px;
  height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: #292d36;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.szpp-delivery-result {
  min-height: 0;
  margin-top: 7px;
  color: #4a505a;
  font-size: 12px;
}

.szpp-delivery-result.is-error {
  color: #b42318;
}

.szpp-meta {
  display: grid;
  gap: 3px;
  margin-top: 13px;
  color: var(--szpp-muted);
  font-size: 12px;
}

.szpp-information {
  padding: 0 0 34px;
  background: #fff;
}

.szpp-info-accordion {
  border-top: 1px solid var(--szpp-border);
}

.szpp-accordion-item {
  border-bottom: 1px solid var(--szpp-border);
}

.szpp-accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--szpp-text);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.szpp-accordion-button .dashicons {
  color: #868b95;
  transition: transform .2s ease;
}

.szpp-accordion-item.is-open .szpp-accordion-button .dashicons {
  transform: rotate(180deg);
}

.szpp-accordion-panel {
  padding: 0 4px 18px;
  color: #4f5560;
}

.szpp-accordion-panel > *:last-child {
  margin-bottom: 0;
}

.szpp-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #e4e8f4;
  border-radius: 8px;
  background: #f7f9ff;
}

.szpp-service-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 12px;
  border-right: 1px solid #dde2f0;
}

.szpp-service-card:last-child {
  border-right: 0;
}

.szpp-service-card > .dashicons {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  color: var(--szpp-primary);
  font-size: 31px;
}

.szpp-service-card div {
  min-width: 0;
}

.szpp-service-card strong,
.szpp-service-card small {
  display: block;
}

.szpp-service-card strong {
  color: #303642;
  font-size: 13px;
}

.szpp-service-card small {
  margin-top: 1px;
  color: #737986;
  font-size: 11px;
  line-height: 1.35;
}

.szpp-description {
  padding: 34px 0;
  border-top: 1px solid var(--szpp-border);
  background: #fff;
}

.szpp-copy {
  color: #444b56;
}

.szpp-copy h2,
.szpp-section-heading h2 {
  margin: 0;
  color: #242832;
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.3;
}

.szpp-copy h2 {
  margin-bottom: 17px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--szpp-border);
}

.szpp-copy h3,
.szpp-copy h4 {
  margin-top: 25px;
  color: #292e38;
}

.szpp-copy p,
.szpp-copy li {
  color: #4c535e;
  line-height: 1.75;
}

.szpp-copy table {
  width: 100%;
  border-collapse: collapse;
}

.szpp-copy th,
.szpp-copy td {
  padding: 10px;
  border: 1px solid var(--szpp-border);
}

.szpp-section {
  padding: 38px 0;
  border-top: 1px solid var(--szpp-border);
  background: #fff;
}

.szpp-products-section:nth-of-type(even) {
  background: #fcfcfe;
}

.szpp-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.szpp-section-heading.szpp-centered {
  justify-content: center;
  text-align: center;
}

.szpp-slider-controls {
  display: flex;
  gap: 7px;
}

.szpp-slider-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--szpp-border);
  border-radius: 50%;
  background: #fff;
  color: #363b45;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.szpp-slider-controls button:hover {
  border-color: var(--szpp-primary);
  color: var(--szpp-primary);
}

.szpp-product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 5);
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 2px 8px;
}

.szpp-product-track::-webkit-scrollbar {
  display: none;
}

.szpp-product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  border: 1px solid #e4e6eb;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.szpp-product-card:hover {
  transform: translateY(-2px);
  border-color: #d4d7df;
  box-shadow: var(--szpp-shadow);
}

.szpp-card-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 16px;
  background: #fff;
}

.szpp-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.szpp-card-badge {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 3px;
}

.szpp-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 12px;
  border-top: 1px solid #f0f1f4;
}

.szpp-card-rating {
  min-height: 18px;
  margin-bottom: 5px;
}

.szpp-card-rating .star-rating {
  font-size: 12px;
}

.szpp-card-title {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  color: #303640;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.szpp-card-title:hover {
  color: var(--szpp-primary);
}

.szpp-card-price {
  margin-top: 8px;
  color: #151922;
  font-size: 14px;
  font-weight: 800;
}

.szpp-card-price del {
  color: #9a9ea7;
  font-size: 11px;
  font-weight: 500;
}

.szpp-card-price ins {
  color: var(--szpp-accent);
  text-decoration: none;
}

.szpp-card-body > .button {
  width: 100%;
  min-height: 35px;
  margin: auto 0 0;
  padding: 8px 10px;
  border: 1px solid #2d323b;
  border-radius: 3px;
  background: #fff;
  color: #252a33;
  box-shadow: none;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.szpp-card-body > .button:hover {
  background: #252a33;
  color: #fff;
}

.szpp-fbt-section {
  background: #fcfcfe;
}

.szpp-fbt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 30px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--szpp-border);
  border-radius: 9px;
  background: #fff;
}

.szpp-fbt-products {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.szpp-fbt-product {
  position: relative;
  display: grid;
  flex: 0 0 150px;
  grid-template-rows: 105px auto auto;
  gap: 6px;
  align-items: start;
  min-width: 0;
  cursor: pointer;
}

.szpp-fbt-product input {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 4px;
}

.szpp-fbt-product img {
  width: 105px;
  height: 105px;
  margin-inline: auto;
  object-fit: contain;
}

.szpp-fbt-product span {
  display: -webkit-box;
  overflow: hidden;
  color: #363c47;
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.szpp-fbt-product strong {
  color: #161a21;
  font-size: 13px;
}

.szpp-plus {
  flex: 0 0 auto;
  color: #868b95;
  font-size: 25px;
  font-weight: 300;
}

.szpp-fbt-summary {
  padding-left: 25px;
  border-left: 1px solid var(--szpp-border);
}

.szpp-fbt-summary > span,
.szpp-fbt-summary > strong {
  display: block;
}

.szpp-fbt-summary > span {
  color: var(--szpp-muted);
  font-size: 13px;
}

.szpp-fbt-total {
  margin: 4px 0 13px;
  color: #171b22;
  font-size: 25px;
}

.szpp-add-bundle {
  width: 100%;
  background: var(--szpp-accent) !important;
  color: #fff !important;
  font-size: 12px;
}

.szpp-bundle-message {
  margin-top: 8px;
  color: #3c7141;
  font-size: 12px;
}

.szpp-bundle-message.is-error {
  color: #b42318;
}

.szpp-trust-section {
  background: #fff;
}

.szpp-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.szpp-trust-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 155px;
  padding: 22px;
  border: 1px solid var(--szpp-border);
  border-radius: 9px;
  background: #fff;
  text-align: center;
  box-shadow: 0 6px 22px rgba(20, 25, 38, .05);
}

.szpp-trust-card > strong {
  color: #242a34;
  font-size: 18px;
}

.szpp-trust-stars {
  margin-top: 7px;
  color: #f0a000;
  letter-spacing: 2px;
}

.szpp-trust-card b {
  margin-top: 5px;
  color: #242932;
  font-size: 19px;
}

.szpp-trust-card small {
  margin-top: 4px;
  color: var(--szpp-muted);
}

.szpp-review-summary {
  display: grid;
  grid-template-columns: 220px minmax(0, 500px);
  gap: 36px;
  align-items: center;
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid var(--szpp-border);
  border-radius: 8px;
  background: #fff;
}

.szpp-score {
  text-align: center;
}

.szpp-score > strong {
  display: block;
  color: #20252e;
  font-size: 48px;
  line-height: 1;
}

.szpp-score .star-rating {
  margin: 9px auto 6px;
  font-size: 18px;
}

.szpp-score span {
  color: var(--szpp-muted);
  font-size: 12px;
}

.szpp-rating-bars {
  display: grid;
  gap: 7px;
}

.szpp-rating-bar {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 28px;
  gap: 9px;
  align-items: center;
  color: #5e6470;
  font-size: 12px;
}

.szpp-rating-bar i {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 10px;
  background: #eceef2;
}

.szpp-rating-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f0a000;
}

.szpp-rating-bar em {
  font-style: normal;
  text-align: right;
}

.szpp-native-reviews #reviews,
.szpp-native-reviews .woocommerce-Reviews {
  margin: 0;
}

.szpp-native-reviews .woocommerce-Reviews-title {
  display: none;
}

.szpp-native-reviews .commentlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.szpp-native-reviews .commentlist > li {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--szpp-border);
}

.szpp-native-reviews .comment_container {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
}

.szpp-native-reviews .avatar {
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 50%;
}

.szpp-native-reviews .comment-text {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.szpp-native-reviews .comment-reply-title {
  color: #252a33;
  font-size: 20px;
  font-weight: 700;
}

.szpp-native-reviews .comment-form input[type="text"],
.szpp-native-reviews .comment-form input[type="email"],
.szpp-native-reviews .comment-form textarea,
.szpp-native-reviews .comment-form select {
  border: 1px solid #d8dbe2;
  border-radius: 5px;
  box-shadow: none;
}

.szpp-native-reviews .form-submit .submit {
  border-radius: 4px;
  background: var(--szpp-primary);
}

@media (max-width: 1024px) {
  .szpp-hero-grid {
    gap: 28px;
    grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  }

  .szpp-gallery {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .szpp-thumb {
    width: 58px;
    min-height: 58px;
  }

  .szpp-thumb img {
    width: 50px;
    height: 50px;
  }

  .szpp-sale-badge {
    left: 75px;
  }

  .szpp-main-image-wrap {
    min-height: 380px;
    padding: 18px;
  }

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

  .szpp-service-card:nth-child(2) {
    border-right: 0;
  }

  .szpp-service-card:nth-child(-n+2) {
    border-bottom: 1px solid #dde2f0;
  }

  .szpp-product-track {
    grid-auto-columns: calc((100% - 45px) / 4);
  }
}

@media (max-width: 767px) {
  .szpp-container {
    width: min(100% - 24px, 1240px);
  }

  .szpp-breadcrumb-wrap .woocommerce-breadcrumb {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .szpp-hero {
    padding: 16px 0 24px;
  }

  .szpp-hero-grid {
    display: block;
  }

  .szpp-gallery {
    position: relative;
    top: auto;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .szpp-thumbs {
    display: flex;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    padding: 2px 1px 5px;
  }

  .szpp-thumb {
    flex: 0 0 58px;
    width: 58px;
  }

  .szpp-main-image-wrap {
    min-height: 345px;
    padding: 18px;
  }

  .szpp-sale-badge {
    top: 10px;
    left: 10px;
  }

  .szpp-summary {
    margin-top: 21px;
  }

  .szpp-title-row {
    display: block;
  }

  .szpp-title-row .stock {
    display: inline-flex;
    margin-top: 8px;
  }

  .szpp-title {
    font-size: 24px;
  }

  .szpp-price {
    font-size: 25px;
  }

  .szpp-cart-box form.cart,
  .szpp-cart-box .woocommerce-variation-add-to-cart {
    display: grid;
    grid-template-columns: 108px minmax(0,1fr);
  }

  .szpp-cart-box form.cart .variations,
  .szpp-cart-box .single_variation_wrap,
  .szpp-cart-box .woocommerce-variation-description {
    grid-column: 1 / -1;
  }

  .szpp-cart-box .variations tr {
    grid-template-columns: 88px minmax(0,1fr);
  }

  .szpp-buy-now {
    position: static;
  }

  .szpp-service-grid {
    grid-template-columns: 1fr 1fr;
    padding: 10px;
  }

  .szpp-service-card {
    align-items: flex-start;
    padding: 10px 8px;
  }

  .szpp-service-card > .dashicons {
    width: 25px;
    height: 25px;
    font-size: 25px;
  }

  .szpp-section,
  .szpp-description {
    padding: 28px 0;
  }

  .szpp-product-track {
    grid-auto-columns: calc((100% - 12px) / 2.15);
    gap: 12px;
  }

  .szpp-section-heading {
    margin-bottom: 14px;
  }

  .szpp-section-heading h2,
  .szpp-copy h2 {
    font-size: 21px;
  }

  .szpp-fbt {
    display: block;
    padding: 16px;
  }

  .szpp-fbt-products {
    padding-bottom: 15px;
  }

  .szpp-fbt-product {
    flex-basis: 132px;
  }

  .szpp-fbt-summary {
    margin-top: 16px;
    padding: 16px 0 0;
    border-top: 1px solid var(--szpp-border);
    border-left: 0;
  }

  .szpp-trust-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .szpp-trust-card {
    min-height: 0;
    padding: 17px;
  }

  .szpp-review-summary {
    display: block;
    padding: 18px;
  }

  .szpp-rating-bars {
    margin-top: 18px;
  }

  .szpp-native-reviews .comment_container {
    grid-template-columns: 38px minmax(0,1fr);
  }

  .szpp-native-reviews .avatar {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 420px) {
  .szpp-main-image-wrap {
    min-height: 310px;
  }

  .szpp-service-grid {
    grid-template-columns: 1fr;
  }

  .szpp-service-card,
  .szpp-service-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #dde2f0;
  }

  .szpp-service-card:last-child {
    border-bottom: 0;
  }

  .szpp-product-track {
    grid-auto-columns: 73%;
  }
}

/* Variation choices rendered as compact pills while the native select remains accessible. */
.szpp-cart-box .variations select.szpp-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.szpp-option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.szpp-option-pill {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid #d5d9e0;
  border-radius: 4px;
  background: #fff;
  color: #343a45;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.szpp-option-pill:hover,
.szpp-option-pill.is-active {
  border-color: var(--szpp-primary);
  background: #f3f3ff;
  color: var(--szpp-primary);
  box-shadow: 0 0 0 1px var(--szpp-primary);
}

.szpp-option-pill:disabled {
  opacity: .38;
  cursor: not-allowed;
  text-decoration: line-through;
}
