:root {
  --sp-blue: #0057ff;
  --sp-blue-dark: #004ee6;
  --sp-red: #ef2328;
  --sp-green: #1f8f38;
  --sp-yellow: #ffb800;
  --sp-ink: #071738;
  --sp-text: #16233d;
  --sp-muted: #65748b;
  --sp-line: #dfe6f2;
  --sp-soft: #f7f9fc;
  --sp-panel: #ffffff;
  --sp-radius: 6px;
}

.single-product {
  background: #fff;
  color: var(--sp-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.single-product #primary {
  background: #fff;
}

.single-product .site-main > .container {
  width: min(100% - 34px, 1840px);
  max-width: 1840px;
  margin: 0 auto;
  padding: 24px 0 40px;
}

.wpl-single-breadcrumb,
.wpl-single-meta,
.wpl-single-trust,
.single-product .upsells.products,
.single-product .related.products {
  display: none;
}

.wpl-single-product {
  position: relative;
}

.wpl-single-hero {
  display: grid;
  grid-template-columns: minmax(620px, 900px) minmax(390px, 560px) minmax(280px, 350px);
  gap: 36px;
  align-items: start;
}

.wpl-gallery-column {
  min-width: 0;
}

.wpl-single-gallery {
  position: relative;
}

.wpl-gallery-shell {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
}

.wpl-gallery-thumbs {
  display: grid;
  align-content: start;
  gap: 16px;
}

.wpl-gallery-thumb {
  width: 108px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
  background: #f4f6fa;
  border: 1px solid transparent;
  border-radius: var(--sp-radius);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.wpl-gallery-thumb:hover,
.wpl-gallery-thumb.is-active {
  border-color: var(--sp-blue);
  background: #fff;
}

.wpl-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wpl-gallery-thumb--video {
  color: #fff;
  background: #9aa8bc;
  position: relative;
}

.wpl-gallery-thumb--video::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(20, 35, 58, 0.18);
}

.wpl-gallery-thumb--video svg {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: #fff;
  background: rgba(7, 23, 56, 0.72);
  border-radius: 50%;
}

.wpl-gallery-main {
  position: relative;
  height: 672px;
  overflow: hidden;
  background: #f7f8fb;
  border-radius: var(--sp-radius);
}

.wpl-gallery-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 72px 86px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.wpl-gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.wpl-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.wpl-gallery-main:hover .wpl-gallery-slide.is-active img {
  transform: scale(1.06);
}

.wpl-gallery-zoom {
  position: absolute;
  right: 24px;
  top: 18px;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #071738;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 7px 24px rgba(15, 23, 42, 0.08);
  cursor: pointer;
}

.wpl-gallery-zoom svg {
  width: 21px;
  height: 21px;
}

.wpl-single-gallery .onsale {
  position: absolute;
  top: 20px;
  left: 132px;
  z-index: 5;
  min-width: 0;
  min-height: 0;
  padding: 10px 14px;
  color: #fff;
  background: var(--sp-red);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
}

.wpl-gallery-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
}

.wpl-gallery-trust div {
  min-height: 54px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  column-gap: 9px;
  padding: 10px 14px;
  border-right: 1px solid var(--sp-line);
}

.wpl-gallery-trust div:last-child {
  border-right: 0;
}

.wpl-gallery-trust span {
  grid-row: 1 / span 2;
  color: #0b51e8;
}

.wpl-gallery-trust svg {
  width: 18px;
  height: 18px;
}

.wpl-gallery-trust strong {
  color: #071738;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
}

.wpl-gallery-trust small {
  color: #26364f;
  font-size: 12px;
  line-height: 1.1;
}

.wpl-single-summary {
  min-width: 0;
}

.wpl-single-brand {
  margin: 0 0 7px;
  color: #32435d;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.wpl-single-brand span {
  color: var(--sp-blue);
  font-weight: 800;
}

.wpl-single-summary .product_title {
  margin: 0 0 10px;
  color: #071738;
  font-size: 34px;
  font-weight: 850;
  line-height: 1.08;
}

.wpl-single-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  color: #394b66;
  font-size: 13px;
}

.wpl-single-rating-row .star-rating {
  float: none;
  margin: 0;
  color: var(--sp-yellow);
  font-size: 13px;
}

.wpl-single-rating-row a {
  color: #24364f;
  text-decoration: none;
}

.wpl-single-rating-row span {
  padding-left: 12px;
  border-left: 1px solid var(--sp-line);
}

.wpl-single-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 5px;
}

.wpl-single-price-row .price {
  display: flex;
  align-items: baseline;
  gap: 13px;
  margin: 0;
  color: var(--sp-red);
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.wpl-single-price-row .price ins {
  color: var(--sp-red);
  text-decoration: none;
}

.wpl-single-price-row .price del {
  color: #8c96a8;
  font-size: 19px;
  font-weight: 700;
}

.wpl-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 13px;
  color: #fff;
  background: var(--sp-red);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}

.wpl-tax-note {
  margin: 0 0 14px;
  color: #56657b;
  font-size: 12px;
}

.wpl-single-summary .woocommerce-product-details__short-description {
  margin: 0;
  color: #11213c;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.wpl-single-divider {
  height: 1px;
  margin: 22px 0 18px;
  background: var(--sp-line);
}

.wpl-single-purchase-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 14px;
}

.wpl-single-purchase-form form.cart {
  display: contents;
  margin: 0;
}

.wpl-single-purchase-form table.variations,
.wpl-single-purchase-form table.variations tbody,
.wpl-single-purchase-form table.variations tr,
.wpl-single-purchase-form table.variations td {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.wpl-single-purchase-form table.variations {
  grid-column: 1 / -1;
}

.wpl-single-purchase-form table.variations tr {
  margin-bottom: 15px;
}

.wpl-single-purchase-form table.variations .label {
  display: none;
}

.wpl-single-purchase-form .variation-selected {
  margin: 0 0 8px;
  color: var(--sp-red);
  font-size: 13px;
  font-weight: 800;
}

.wpl-single-purchase-form .variation-selected .selected-value {
  color: #071738;
  font-weight: 700;
}

.wpl-single-purchase-form .variation-radio-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.wpl-single-purchase-form .tooltip-container {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.wpl-single-purchase-form .tooltip-container input,
.wpl-single-purchase-form select.hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.wpl-single-purchase-form .tooltip-content {
  display: none;
}

.wpl-single-purchase-form .swatch {
  min-width: 56px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  color: #071738;
  background: #fff;
  border: 1px solid #cfd8e6;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
}

.wpl-single-purchase-form input[type="radio"]:checked + .tooltip-content + .swatch {
  color: #fff;
  background: var(--sp-blue);
  border-color: var(--sp-blue);
}

.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="color" i] .swatch,
.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="colour" i] .swatch {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  color: transparent;
  font-size: 0;
}

.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="color" i] .tooltip-container:nth-child(1) .swatch,
.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="colour" i] .tooltip-container:nth-child(1) .swatch {
  background: #1f5fa8;
}

.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="color" i] .tooltip-container:nth-child(2) .swatch,
.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="colour" i] .tooltip-container:nth-child(2) .swatch {
  background: #ffffff;
}

.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="color" i] .tooltip-container:nth-child(3) .swatch,
.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="colour" i] .tooltip-container:nth-child(3) .swatch {
  background: #030303;
}

.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="color" i] .tooltip-container:nth-child(4) .swatch,
.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="colour" i] .tooltip-container:nth-child(4) .swatch {
  background: #c8c8c8;
}

.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="color" i] .tooltip-container:nth-child(5) .swatch,
.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="colour" i] .tooltip-container:nth-child(5) .swatch {
  background: #4c651f;
}

.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="color" i] input[type="radio"]:checked + .tooltip-content + .swatch,
.wpl-single-purchase-form .variation-radio-buttons[data-attribute_name*="colour" i] input[type="radio"]:checked + .tooltip-content + .swatch {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sp-blue);
}

.reset_variations {
  display: inline-block;
  margin-top: 8px;
  color: var(--sp-blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.wpl-single-purchase-form .quantity {
  grid-column: 1 / -1;
  width: 112px;
  height: 37px;
  display: inline-grid;
  grid-template-columns: 36px 40px 36px;
  margin: 3px 0 18px;
  border: 1px solid #cfd8e6;
  border-radius: 4px;
  overflow: hidden;
}

.wpl-single-purchase-form .quantity .qty {
  width: 40px;
  height: 35px;
  padding: 0;
  border: 0;
  border-right: 1px solid #dfe6f2;
  border-left: 1px solid #dfe6f2;
  color: #071738;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.quantity-decrement,
.quantity-increment {
  width: 36px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #4b5870;
  background: #fff;
  border: 0;
  cursor: pointer;
}

.quantity-decrement svg,
.quantity-increment svg {
  width: 13px;
  height: 13px;
}

.single_add_to_cart_button,
.wpl-buy-now,
.wpl-add-bundle {
  height: 56px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: #fff;
  background: var(--sp-blue);
  border: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.single_add_to_cart_button::before {
  content: "";
  width: 17px;
  height: 17px;
  margin-right: 8px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM6.2 6l.4 2H20l-1.8 7H8L6 4H3V2h4.6l.4 2H21v2H6.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM6.2 6l.4 2H20l-1.8 7H8L6 4H3V2h4.6l.4 2H21v2H6.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.single_add_to_cart_button:hover,
.wpl-buy-now:hover,
.wpl-add-bundle:hover {
  color: #fff;
  background: var(--sp-blue-dark);
  transform: translateY(-1px);
}

.wpl-buy-now {
  width: 100%;
  margin: 0;
  background: #171717;
}

.wpl-buy-now::before {
  content: "";
  width: 15px;
  height: 15px;
  margin-right: 8px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m13 2-8 12h6l-1 8 9-13h-6l0-7Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m13 2-8 12h6l-1 8 9-13h-6l0-7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wpl-buy-now:hover {
  background: #000;
}

.wpl-single-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin: 18px 0 18px;
}

.wpl-single-action {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: #1e2c45;
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.wpl-single-action svg {
  width: 16px;
  height: 16px;
}

.wpl-single-action:hover,
.wpl-single-action.is-active {
  color: var(--sp-blue);
}

.wpl-delivery-card {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 18px;
  background: #f8fafc;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
}

.wpl-delivery-card strong {
  color: var(--sp-green);
  font-size: 15px;
  font-weight: 900;
}

.wpl-delivery-card em {
  margin-left: 7px;
  color: var(--sp-green);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.wpl-delivery-card span,
.wpl-delivery-card small {
  display: block;
}

.wpl-delivery-card div > span {
  margin-top: 8px;
  color: #071738;
  font-size: 13px;
  font-weight: 800;
}

.wpl-delivery-card small {
  margin-top: 6px;
  color: #465770;
  font-size: 12px;
}

.wpl-delivery-icon {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf4ff;
}

.wpl-delivery-icon svg {
  width: 58px;
  height: 58px;
}

.wpl-buy-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 26px;
}

.wpl-buy-card {
  background: #fff;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-radius);
}

.wpl-benefits-card {
  padding: 0 20px;
}

.wpl-buy-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 13px 0;
  border-bottom: 1px solid #ecf0f7;
}

.wpl-buy-benefit:last-child {
  border-bottom: 0;
}

.wpl-buy-benefit > span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  color: var(--sp-blue);
}

.wpl-buy-benefit svg {
  width: 24px;
  height: 24px;
}

.wpl-buy-benefit strong,
.wpl-buy-benefit small {
  display: block;
}

.wpl-buy-benefit strong {
  color: #071738;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.wpl-buy-benefit small {
  margin-top: 4px;
  color: #34445d;
  font-size: 12px;
  line-height: 1.25;
}

.wpl-bundle-box {
  padding: 20px;
}

.wpl-bundle-box h3 {
  margin: 0 0 18px;
  color: #071738;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
}

.wpl-bundle-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
  align-items: center;
  margin-bottom: 20px;
}

.wpl-bundle-products div {
  position: relative;
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.wpl-bundle-products div:not(:last-child)::after {
  content: "+";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: #071738;
  font-size: 18px;
  font-weight: 800;
}

.wpl-bundle-products img {
  max-width: 100%;
  width: 82px;
  height: 92px;
  object-fit: contain;
}

.wpl-bundle-box p {
  margin: 0 0 14px;
  color: #25354f;
  font-size: 13px;
  font-weight: 700;
}

.wpl-bundle-box strong {
  color: var(--sp-blue);
  font-weight: 900;
}

.wpl-add-bundle {
  width: 100%;
  height: 48px;
  min-height: 48px;
}

.wpl-single-bottom {
  margin-top: 48px;
}

.woocommerce div.product .woocommerce-tabs {
  background: #fff;
  border-top: 1px solid var(--sp-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  content: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 42px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: #172640;
  background: transparent;
  border: 0;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--sp-blue);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--sp-blue);
}

.woocommerce div.product .woocommerce-tabs .panel {
  margin: 0;
  padding: 18px 0 0;
  color: #536176;
  font-size: 13px;
  line-height: 1.7;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
  display: none;
}

.woocommerce div.product .woocommerce-tabs .panel p {
  margin: 0 0 12px;
}

.woocommerce div.product .woocommerce-tabs .panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 42px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.woocommerce div.product .woocommerce-tabs .panel li {
  position: relative;
  padding-left: 22px;
  color: #1d2d46;
  font-size: 13px;
}

.woocommerce div.product .woocommerce-tabs .panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 13px;
  height: 13px;
  background: #45556f;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m9 16.2-3.5-3.5L4 14.2l5 5L20.5 7.7 19 6.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m9 16.2-3.5-3.5L4 14.2l5 5L20.5 7.7 19 6.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wpl-single-mobile-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--sp-line);
  box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.12);
}

.wpl-single-mobile-bar strong {
  color: var(--sp-red);
  font-size: 18px;
  font-weight: 900;
}

.wpl-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 23, 56, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.wpl-lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.wpl-lightbox-overlay img {
  max-width: min(92vw, 920px);
  max-height: 86vh;
  object-fit: contain;
  background: #fff;
  border-radius: var(--sp-radius);
}

.wpl-lightbox-overlay button {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.wpl-shop-toast,
.wpl-shop-modal,
.wpl-shop-modal__overlay,
.wpl-shop-modal__dialog,
.wpl-shop-modal__close,
.wpl-compare-panel,
.wpl-compare-table-wrap,
.wpl-compare-table {
  box-sizing: border-box;
}

.wpl-shop-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.wpl-shop-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.wpl-shop-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
}

.wpl-shop-modal__dialog {
  position: relative;
  width: min(100%, 1180px);
  max-height: min(86vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 8px;
}

.wpl-shop-modal__close {
  position: sticky;
  top: 14px;
  left: calc(100% - 58px);
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 14px -54px auto;
  color: #334155;
  background: #fff;
  border: 1px solid var(--sp-line);
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
}

.wpl-compare-panel {
  padding: 34px;
}

.wpl-compare-table-wrap {
  overflow-x: auto;
}

.wpl-compare-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  border: 1px solid var(--sp-line);
  overflow: hidden;
}

.wpl-compare-table th,
.wpl-compare-table td {
  padding: 18px;
  border: 1px solid var(--sp-line);
  text-align: left;
}

.wpl-compare-table th {
  background: #f8fafc;
}

.wpl-shop-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  max-width: 340px;
  padding: 13px 18px;
  color: #fff;
  background: #111827;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.wpl-shop-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.wpl-modal-open {
  overflow: hidden;
}

@media (max-width: 1500px) {
  .wpl-single-hero {
    grid-template-columns: minmax(520px, 1.35fr) minmax(360px, 0.85fr);
  }

  .wpl-buy-sidebar {
    grid-column: 1 / -1;
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .wpl-benefits-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .wpl-buy-benefit:nth-child(2n) {
    border-left: 1px solid #ecf0f7;
    padding-left: 20px;
  }
}

@media (max-width: 1050px) {
  .single-product .site-main > .container {
    width: min(100% - 28px, 1840px);
  }

  .wpl-single-hero {
    grid-template-columns: 1fr;
  }

  .wpl-gallery-main {
    height: auto;
    aspect-ratio: 1.1 / 1;
  }

  .wpl-buy-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .single-product .site-main > .container {
    width: min(100% - 22px, 1840px);
    padding-bottom: 92px;
  }

  .wpl-gallery-shell {
    grid-template-columns: 1fr;
  }

  .wpl-gallery-thumbs {
    order: 2;
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .wpl-gallery-thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
  }

  .wpl-gallery-main {
    aspect-ratio: 1 / 1;
  }

  .wpl-gallery-slide {
    padding: 42px;
  }

  .wpl-single-gallery .onsale {
    left: 14px;
  }

  .wpl-gallery-trust,
  .wpl-benefits-card {
    grid-template-columns: 1fr 1fr;
  }

  .wpl-gallery-trust div:nth-child(2n),
  .wpl-buy-benefit:nth-child(2n) {
    border-right: 0;
    border-left: 0;
  }

  .wpl-single-summary .product_title {
    font-size: 27px;
  }

  .wpl-single-price-row .price {
    font-size: 31px;
  }

  .wpl-single-purchase-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .single_add_to_cart_button,
  .wpl-buy-now {
    width: 100%;
  }

  .wpl-single-mobile-bar {
    display: flex;
  }
}

@media (max-width: 520px) {
  .wpl-gallery-trust,
  .wpl-benefits-card,
  .wpl-bundle-products {
    grid-template-columns: 1fr;
  }

  .wpl-gallery-trust div {
    border-right: 0;
    border-bottom: 1px solid var(--sp-line);
  }

  .wpl-gallery-trust div:last-child {
    border-bottom: 0;
  }

  .wpl-buy-benefit:nth-child(2n) {
    padding-left: 0;
  }

  .wpl-bundle-products div:not(:last-child)::after {
    right: 50%;
    top: auto;
    bottom: -19px;
    transform: translateX(50%);
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs {
    overflow-x: auto;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto;
    margin-right: 26px;
  }
}
