.wm-product-layout {
  width: min(100% - 32px, var(--wm-content-width, 1320px));
  margin: var(--wm-space-10) auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.94fr) minmax(0, 1.06fr);
  gap: var(--wm-space-8);
  align-items: start;
}

.eshobe-ecommerce-product-image-left .wm-product-gallery-column { order: 2; }
.eshobe-ecommerce-product-image-left .wm-product-summary-column { order: 1; }

.eshobe-ecommerce-product-gallery-sticky .wm-product-gallery-column {
  position: sticky;
  top: 32px;
}

.wm-product-summary-column {
  display: flex;
  flex-direction: column;
  gap: var(--wm-product-section-gap, var(--wm-space-5));
}

.wm-card,
.wm-product-gallery {
  background: var(--wm-color-surface);
  border: 1px solid rgba(229, 224, 216, 0.95);
  border-radius: var(--wm-radius-lg);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.075);
}

.wm-product-gallery {
  position: relative;
  overflow: hidden;
}

.wm-product-gallery__main {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: #fff;
  overflow: hidden;
}

.wm-product-gallery--has-thumbs .wm-product-gallery__main {
  min-height: 500px;
}

.wm-product-gallery--single .wm-product-gallery__main {
  min-height: 620px;
}

.wm-product-gallery__image,
.wm-product-gallery .woocommerce-product-gallery__image {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wm-product-gallery__image {
  position: relative;
  cursor: zoom-in;
  background-repeat: no-repeat;
}

.wm-product-gallery__image.is-zooming img {
  opacity: 0;
}

.wm-product-gallery .woocommerce-product-gallery__image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.wm-product-gallery__image img,
.wm-product-gallery .woocommerce-product-gallery__image img,
.wm-product-gallery img.wp-post-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 500px;
  margin: 0 auto;
  object-fit: contain;
}

.wm-product-gallery--single .wm-product-gallery__image img {
  max-width: 92%;
  max-height: 560px;
}

.wm-product-gallery .woocommerce-product-gallery__trigger,
.wm-product-gallery__zoom {
  position: absolute;
  z-index: 5;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--wm-color-border);
  color: var(--wm-color-primary);
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.wm-product-gallery__zoom:hover {
  background: var(--wm-color-soft);
}

.wm-product-gallery .woocommerce-product-gallery__trigger {
  text-indent: -9999px;
}

.wm-product-gallery .woocommerce-product-gallery__trigger::before {
  content: '⌕';
  position: static;
  display: block;
  width: auto;
  height: auto;
  border: 0;
  text-indent: 0;
  transform: none;
}

.wm-product-gallery .woocommerce-product-gallery__trigger::after {
  content: none;
}

.wm-product-gallery .flex-control-nav,
.wm-product-gallery__thumbs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex: 0 0 auto;
  width: 100%;
  min-height: 92px;
  padding: 14px 18px;
  background: #f7f5f0;
  border-top: 1px solid #eee7dc;
  overflow-x: auto;
}

.wm-product-gallery--single .flex-control-nav,
.wm-product-gallery--single .wm-product-gallery__thumbs {
  display: none;
}

.wm-product-gallery .flex-control-nav li {
  flex: 0 0 72px;
  width: 72px;
  margin: 0;
  list-style: none;
}

.wm-product-gallery .flex-control-nav img,
.wm-product-gallery__thumb {
  flex: 0 0 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #eadfce;
  padding: 4px;
  overflow: hidden;
  cursor: pointer;
}

.wm-product-gallery__thumb:hover,
.wm-product-gallery__thumb:focus,
.wm-product-gallery__thumb.is-active,
.wm-product-gallery .flex-control-nav img:hover,
.wm-product-gallery .flex-control-nav img.flex-active {
  border-color: var(--wm-color-accent);
  box-shadow: inset 0 0 0 1px var(--wm-color-accent);
}

.wm-product-gallery .flex-control-nav img,
.wm-product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 0;
}

.wm-product-intro {
  display: flex;
  flex-direction: column;
  gap: var(--wm-space-3);
  text-align: right;
}

.wm-product-intro__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--wm-space-3);
}

.wm-product-intro__title {
  margin: 0;
  font-size: clamp(21px, 1.6vw, 26px);
  line-height: 1.65;
  font-weight: 800;
  color: var(--wm-color-primary);
  overflow-wrap: anywhere;
}

.wm-product-intro__wishlist {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid var(--wm-color-border);
  border-radius: 50%;
  background: var(--wm-color-surface);
  color: var(--wm-color-muted);
  cursor: pointer;
  transition: var(--wm-transition);
}

.wm-product-intro__wishlist:hover {
  border-color: var(--wm-color-danger-text);
  color: var(--wm-color-danger-text);
}

.wm-product-intro__wishlist-icon {
  width: 18px;
  height: 18px;
  display: block;
  background: currentColor;
  clip-path: path('M9 16.2 2.5 9.9C0.6 8 0.7 4.8 2.8 3.1 4.6 1.6 7.2 1.9 8.7 3.6L9 4l0.3-0.4c1.5-1.7 4.1-2 5.9-0.5 2.1 1.7 2.2 4.9 0.3 6.8L9 16.2Z');
}

.wm-product-intro__wishlist.is-active {
  border-color: var(--wm-color-danger-text);
  background: var(--wm-color-danger-text);
  color: #fff;
}

.wm-product-intro__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.wm-product-intro__rating .star-rating {
  color: var(--wm-color-accent);
  font-size: 15px;
}

.wm-product-intro__rating-count,
.wm-product-intro__rating--empty a {
  color: var(--wm-color-muted);
  text-decoration: none;
}

.wm-product-intro__rating-count:hover,
.wm-product-intro__rating--empty a:hover {
  color: var(--wm-color-accent-dark);
  text-decoration: underline;
}

.wm-product-intro__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wm-space-2);
}

.wm-product-intro__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: var(--wm-radius-pill);
  background: var(--wm-color-soft);
  border: 1px solid var(--wm-color-border);
  font-size: 12px;
}

.wm-product-intro__meta-label {
  color: var(--wm-color-muted);
  font-weight: 500;
}

.wm-product-intro__meta-value {
  color: var(--wm-color-primary);
  font-weight: 750;
}

.wm-product-intro__meta-item--brand .wm-product-intro__meta-value {
  color: var(--wm-color-accent-dark);
}

.wm-product-intro__excerpt {
  background: var(--wm-color-surface);
  border: 1px solid var(--wm-color-border);
  border-right: 3px solid var(--wm-color-accent);
  border-radius: var(--wm-radius-md);
  padding: var(--wm-space-4) var(--wm-space-5);
  color: #4b5563;
  font-size: 14px;
  line-height: 2;
  text-align: right;
}

.wm-product-specs {
  padding: var(--wm-product-card-padding, var(--wm-space-5));
}

.wm-product-specs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wm-product-specs__item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 12px;
  background: var(--wm-color-soft);
  border: 1px solid var(--wm-color-border);
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.8;
}

.wm-product-specs__dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: var(--wm-color-accent);
}

.wm-product-specs__label {
  color: var(--wm-color-muted);
  font-weight: 500;
}

.wm-product-specs__value {
  color: var(--wm-color-primary);
  font-weight: 600;
}

.wm-product-specs__value a {
  color: inherit;
}

.wm-product-purchase {
  position: relative;
  padding: var(--wm-product-card-padding, var(--wm-space-5));
  border-color: rgba(229, 224, 216, 0.95);
  overflow: hidden;
}

.wm-product-purchase::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--wm-color-accent), transparent);
  pointer-events: none;
}

.wm-product-purchase::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--wm-color-accent), rgba(200, 155, 60, 0.16));
  pointer-events: none;
}

.wm-product-purchase__price {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 58px;
  padding: 12px 18px;
  background: #fffaf0;
  border: 1px solid rgba(200, 155, 60, 0.28);
  border-radius: 18px;
  color: var(--wm-color-accent-dark);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
}

.wm-product-purchase__price .amount {
  color: var(--wm-color-accent-dark);
  font-weight: 800;
}

.wm-product-purchase__price-note {
  width: 100%;
  margin: 6px 0 0;
  color: var(--wm-color-muted);
  font-size: 12.5px;
  line-height: 1.7;
  text-align: right;
}

.wm-product-purchase__stock {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  margin-top: var(--wm-space-4);
  border-radius: 16px;
  background: var(--wm-color-success-bg);
  border: 1px solid rgba(2, 122, 72, 0.18);
  color: var(--wm-color-success-text);
}

.wm-product-purchase__stock--out_of_stock {
  background: var(--wm-color-danger-bg);
  border-color: rgba(180, 35, 24, 0.18);
  color: var(--wm-color-danger-text);
}

.wm-product-purchase__stock--backorder {
  background: #fff7ed;
  border-color: rgba(200, 155, 60, 0.28);
  color: var(--wm-color-accent-dark);
}

.wm-product-purchase__stock-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: var(--wm-radius-pill);
  background: rgba(2, 122, 72, 0.08);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.wm-product-purchase__stock--out_of_stock .wm-product-purchase__stock-status {
  background: rgba(180, 35, 24, 0.08);
}

.wm-product-purchase__stock-note {
  color: currentColor;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.8;
}

.wm-product-purchase__cart {
  margin-top: var(--wm-space-5);
}

.wm-product-purchase__cart .stock,
.wm-product-purchase__cart form.cart > .stock,
.wm-product-purchase__cart .woocommerce-variation-availability,
.wm-product-purchase__cart .woocommerce-variation-price {
  display: none !important;
}

.wm-product-purchase__cart .cart {
  display: flex;
  gap: var(--wm-space-3);
  align-items: center;
}

.wm-product-purchase__cart .variations_form.cart {
  display: block;
}

.wm-product-purchase__cart table.variations {
  width: 100%;
  margin-bottom: var(--wm-space-4);
}

.wm-product-purchase__cart table.variations th,
.wm-product-purchase__cart table.variations td {
  display: block;
  padding: 0 0 8px;
  text-align: right;
}

.wm-product-purchase__cart select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--wm-color-border);
  border-radius: 14px;
  background: #fff;
  padding: 0 12px;
}

.wm-product-purchase__cart .quantity input.qty {
  width: 72px;
  min-height: 48px;
  border: 1px solid var(--wm-color-border);
  border-radius: 14px;
  text-align: center;
}

.wm-product-purchase .single_add_to_cart_button,
.wm-product-purchase button.single_add_to_cart_button,
.wm-product-purchase__cart .button {
  width: 100%;
  flex: 1;
  min-height: 56px;
  border: none !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #111827, #243044) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.18);
  transition: var(--wm-transition);
}

.wm-product-purchase .single_add_to_cart_button:hover,
.wm-product-purchase .single_add_to_cart_button:focus,
.wm-product-purchase button.single_add_to_cart_button:hover,
.wm-product-purchase button.single_add_to_cart_button:focus,
.wm-product-purchase__cart .button:hover,
.wm-product-purchase__cart .button:focus {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0b1220, #111827) !important;
  color: #fff !important;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.24);
}

.wm-product-purchase__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: var(--wm-space-5);
}

.wm-product-purchase__meta--single {
  grid-template-columns: 1fr;
}

.wm-product-purchase__meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 14px;
  background: var(--wm-color-soft);
  border: 1px solid var(--wm-color-border);
}

.wm-product-purchase__meta-label {
  color: var(--wm-color-muted);
  font-size: 12px;
  font-weight: 600;
}

.wm-product-purchase__meta-value {
  color: var(--wm-color-primary);
  font-size: 13px;
  font-weight: 700;
}

.wm-product-purchase__trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: var(--wm-space-4);
  padding: 8px 12px;
  border-radius: 14px;
  background: var(--wm-color-soft);
  border: 1px solid var(--wm-color-border);
  color: var(--wm-color-muted);
  font-size: 12px;
  font-weight: 650;
}

.wm-product-purchase__trust span::before {
  content: '•';
  color: var(--wm-color-accent);
  margin-left: 8px;
}

.wm-product-gallery .woocommerce-product-gallery__trigger::before {
  content: "\2315";
}

.wm-product-purchase__trust span::before {
  content: "\2022";
}

.wm-product-tabs {
  max-width: var(--wm-content-width, 1200px);
  margin: 64px auto 0;
  padding: 0 20px;
  direction: rtl;
}

.wm-product-tabs__nav {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  margin: 0 0 16px;
  background: #f7f5f0;
  border: 1px solid var(--wm-color-border);
  border-radius: var(--wm-radius-pill);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
}

.wm-product-tabs__button {
  min-height: 42px;
  padding: 8px 22px;
  border: none;
  border-radius: var(--wm-radius-pill);
  background: transparent;
  color: var(--wm-color-muted);
  font-family: var(--wm-font-primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--wm-transition);
}

.wm-product-tabs__button.is-active {
  background: var(--wm-color-surface);
  color: var(--wm-color-primary);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.07);
}

.wm-product-tabs__button:hover {
  color: var(--wm-color-primary);
}

.wm-product-tabs__panels {
  position: relative;
  background: var(--wm-color-surface);
  border: 1px solid var(--wm-color-border);
  border-radius: 30px;
  padding: 36px 42px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.wm-product-tabs__panels::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--wm-color-accent), transparent);
}

.wm-product-tabs__panels::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, rgba(200, 155, 60, 0.85), rgba(200, 155, 60, 0.1));
}

.wm-product-tabs__panel {
  position: relative;
  z-index: 1;
  color: var(--wm-color-text);
  font-size: 15px;
  line-height: 2.15;
}

.wm-product-tabs__panel h2,
.wm-product-tabs__panel h3,
.wm-product-tabs__panel h4 {
  position: relative;
  width: fit-content;
  color: var(--wm-color-primary);
  font-weight: 800;
  line-height: 1.6;
  margin: 34px 0 16px;
}

.wm-product-tabs__panel h2:first-child,
.wm-product-tabs__panel h3:first-child,
.wm-product-tabs__panel h4:first-child {
  margin-top: 0;
}

.wm-product-tabs__panel h2::after,
.wm-product-tabs__panel h3::after,
.wm-product-tabs__panel h4::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 8px;
  border-radius: var(--wm-radius-pill);
  background: var(--wm-color-accent);
}

.wm-product-tabs__panel p {
  margin: 0 0 20px;
  color: #243044;
}

.wm-product-tabs__panel ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.wm-product-tabs__panel ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 24px;
  padding-right: 24px;
}

.wm-product-tabs__panel li {
  position: relative;
  padding: 10px 26px 10px 12px;
  background: #f9f8f5;
  border: 1px solid #eee7dc;
  border-radius: 14px;
  color: var(--wm-color-text);
}

.wm-product-tabs__panel ul li::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wm-color-accent);
  transform: translateY(-50%);
}

.wm-product-tabs__panel a {
  color: var(--wm-color-accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.wm-product-tabs__panel a:hover {
  text-decoration: underline;
}

.wm-product-tabs__panel table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--wm-color-border);
  border-radius: 18px;
}

.wm-product-tabs__panel th,
.wm-product-tabs__panel td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--wm-color-border);
  text-align: right;
}

.wm-product-tabs__panel tr:last-child th,
.wm-product-tabs__panel tr:last-child td {
  border-bottom: 0;
}

.wm-product-tabs__reviews #reviews,
.wm-product-tabs__reviews .woocommerce-Reviews {
  margin: 0;
}

.wm-product-tabs__reviews .commentlist {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.wm-product-tabs__reviews .comment_container {
  padding: 18px;
  margin-bottom: 14px;
  background: #f9f8f5;
  border: 1px solid #eee7dc;
  border-radius: 18px;
}

.wm-product-tabs__reviews #comments,
.wm-product-tabs__reviews #review_form_wrapper {
  max-width: 100%;
}

.wm-product-tabs__reviews #review_form_wrapper {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--wm-color-border);
}

.wm-product-tabs__reviews input,
.wm-product-tabs__reviews textarea {
  width: 100%;
  border: 1px solid var(--wm-color-border);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: var(--wm-font-primary);
}

.wm-product-tabs__reviews .form-submit input,
.wm-product-tabs__reviews button,
.wm-product-tabs__reviews .button {
  width: auto;
  min-height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 14px;
  background: #111827;
  color: #fff;
  font-weight: 800;
}

.wm-related-products {
  max-width: var(--wm-content-width, 1200px);
  margin: 72px auto 0;
  padding: 0 20px;
  direction: rtl;
}

.wm-related-products__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.wm-related-products__title {
  margin: 0;
  color: var(--wm-color-primary);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
}

.wm-related-products__nav,
.wm-related-products__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wm-related-products__arrow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wm-color-border);
  border-radius: var(--wm-radius-pill);
  background: #fff;
  color: var(--wm-color-primary);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
  cursor: pointer;
  transition: var(--wm-transition);
}

.wm-related-products__arrow:hover,
.wm-related-products__arrow:focus {
  border-color: rgba(200, 155, 60, 0.48);
  color: var(--wm-color-accent-dark);
  box-shadow: 0 10px 24px rgba(200, 155, 60, 0.1);
}

.wm-related-products__arrow:disabled {
  opacity: 0.38;
  cursor: default;
  box-shadow: none;
}

.wm-related-products__arrow span {
  font-size: 28px;
  line-height: 1;
}

.wm-related-products__viewport,
.wm-related-products__carousel {
  position: relative;
  overflow: hidden;
}

.wm-related-products__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(230px, 23vw, 270px);
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 0 10px;
}

.wm-related-products__track::-webkit-scrollbar {
  display: none;
}

.wm-related-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-snap-align: start;
  padding: 14px;
  background: var(--wm-color-surface);
  border: 1px solid var(--wm-color-border);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.045);
}

.wm-related-card__media {
  position: relative;
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  margin-bottom: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--wm-color-border);
  border-radius: 20px;
}

.wm-related-card__image {
  max-width: 84%;
  max-height: 200px;
  object-fit: contain;
  display: block;
  transition: opacity 280ms ease, transform 280ms ease;
}

.wm-related-card__image-hover {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
  .wm-related-card--has-hover-image .wm-related-card__media:hover .wm-related-card__image-main {
    opacity: 0;
  }

  .wm-related-card--has-hover-image .wm-related-card__media:hover .wm-related-card__image-hover {
    opacity: 1;
    transform: scale(1.02);
  }
}

.wm-related-card__title {
  order: 2;
  min-height: 54px;
  margin: 0 0 2px;
  color: var(--wm-color-primary);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.75;
}

.wm-related-card__title a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.wm-related-card__title a:hover {
  color: var(--wm-color-accent-dark);
}

.wm-related-card__price {
  position: relative;
  order: 3;
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  margin: 0 0 4px;
  overflow: hidden;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--wm-color-accent-dark);
  font-size: 15px;
  font-weight: 850;
  text-align: left;
  direction: ltr;
}

.wm-related-card__price::before {
  display: none !important;
  content: none;
}

.wm-related-card__price .price,
.wm-related-card__price .amount,
.wm-related-card__price bdi {
  position: relative;
  z-index: 1;
  color: inherit;
  font-weight: inherit;
  direction: rtl;
}

.wm-related-card__actions {
  order: 4;
  display: flex;
  align-items: center;
  justify-content: stretch;
  margin-top: 0;
}

.wm-related-card__button-wrap {
  width: 100%;
}

.wm-related-card__button,
.wm-related-card__actions .button {
  width: 100%;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--wm-color-border, #e5e0d8) !important;
  border-radius: 14px !important;
  background: transparent !important;
  color: var(--wm-color-primary, #111827) !important;
  font-family: var(--wm-font-primary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  box-shadow: none !important;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.wm-related-card__button:hover,
.wm-related-card__button:focus,
.wm-related-card__actions .button:hover,
.wm-related-card__actions .button:focus {
  background: rgba(200, 155, 60, 0.07) !important;
  border-color: rgba(200, 155, 60, 0.45) !important;
  color: var(--wm-color-accent-dark, #9f7425) !important;
  box-shadow: none !important;
}

.wm-product-specs__fade,
.wm-product-specs__toggle,
.wm-product-specs__toggle-wrap,
.wm-product-description__fade,
.wm-product-description__toggle-wrap,
.wm-mobile-bottom-bar {
  display: none;
}

@media (max-width: 1024px) {
  .wm-product-layout {
    gap: 32px;
  }

  .wm-product-gallery {
    position: relative;
    top: auto;
  }

  .wm-product-gallery__main {
    min-height: 460px;
  }

  .wm-product-intro__title {
    font-size: 23px;
  }

  .wm-product-tabs {
    margin-top: 40px;
  }

  .wm-related-products {
    margin-top: 48px;
  }

  .wm-related-products__track {
    grid-auto-columns: minmax(220px, 33.333%);
  }
}

@media (max-width: 960px) {
  .wm-product-layout {
    grid-template-columns: 1fr;
  }

  .eshobe-ecommerce-product-gallery-sticky .wm-product-gallery-column,
  .wm-product-gallery-column {
    position: static;
    order: 1;
  }

  .wm-product-summary-column {
    order: 2;
  }
}

@media (max-width: 767px) {
  body.single-product {
    padding-bottom: calc(116px + env(safe-area-inset-bottom, 0px));
  }

  .wm-product-layout {
    width: min(100% - 24px, var(--wm-content-width, 1320px));
    margin-block: var(--wm-space-6);
    display: flex;
    flex-direction: column;
    gap: var(--wm-space-5);
  }

  .eshobe-ecommerce-product-gallery-sticky .wm-product-gallery-column,
  .wm-product-gallery-column {
    order: 2;
  }

  .wm-product-summary-column,
  .wm-product-intro {
    display: contents;
  }

  .wm-product-intro__title {
    order: 1;
  }

  .wm-product-intro__meta {
    order: 3;
  }

  .wm-product-specs {
    order: 3;
  }

  .wm-product-intro__excerpt {
    order: 4;
  }

  .wm-product-purchase {
    order: 7;
  }

  .wm-product-gallery {
    border-radius: var(--wm-radius-md);
    min-height: auto !important;
  }

  .wm-product-gallery__main {
    min-height: 320px !important;
    height: auto !important;
    max-height: 430px;
    padding: 18px 16px 12px;
  }

  .wm-product-gallery__image,
  .wm-product-gallery .woocommerce-product-gallery__image,
  .wm-product-gallery .woocommerce-product-gallery__image a {
    min-height: 300px;
  }

  .wm-product-gallery__image img,
  .wm-product-gallery .woocommerce-product-gallery__image img,
  .wm-product-gallery img.wp-post-image {
    max-width: 82%;
    max-height: 300px;
  }

  .wm-product-gallery__thumbs {
    min-height: 78px;
    padding: 12px 12px 10px;
  }

  .wm-product-gallery__thumb {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  .wm-product-gallery,
  .wm-product-intro,
  .wm-product-specs,
  .wm-product-purchase {
    width: 100%;
    max-width: 100%;
  }

  /*
   * Price/stock/cart are already shown in .wm-mobile-bottom-bar; only the
   * SKU/guarantee meta + trust badges are unique to this block on mobile.
   */
  .wm-product-purchase__price,
  .wm-product-purchase__price-note,
  .wm-product-purchase__stock,
  .wm-product-purchase__cart {
    display: none;
  }

  .wm-product-purchase {
    padding: var(--wm-space-4);
  }

  .wm-product-tabs {
    margin-top: 36px;
    padding: 0 16px;
  }

  .wm-product-tabs__nav {
    display: flex;
    width: 100%;
    border-radius: 18px;
  }

  .wm-product-tabs__button {
    flex: 1;
    justify-content: center;
    min-height: 42px;
    padding: 8px 12px;
  }

  .wm-product-tabs__panels {
    border-radius: 22px;
    padding: 24px 18px;
  }

  .wm-product-tabs__panel {
    font-size: 14px;
    line-height: 2.05;
  }

  .wm-product-tabs__panel ul {
    gap: 8px;
  }

  .wm-product-description {
    position: relative;
  }

  .wm-product-description--collapsed .wm-product-description__content {
    position: relative;
    max-height: 320px;
    overflow: hidden;
  }

  .wm-product-description--collapsed .wm-product-description__fade {
    position: absolute;
    right: 0;
    bottom: 66px;
    left: 0;
    height: 88px;
    display: block;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.94),
      rgba(255, 255, 255, 1)
    );
  }

  .wm-product-description__toggle-wrap {
    margin-top: 16px;
    display: flex;
    justify-content: center;
  }

  .wm-product-description__toggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--wm-color-border);
    border-radius: 14px;
    background: #fff;
    color: var(--wm-color-accent-dark);
    font-family: var(--wm-font-primary);
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
  }

  .wm-product-description--collapsed .wm-product-description__toggle--more,
  .wm-product-description--expanded .wm-product-description__toggle--less {
    display: inline-flex;
  }

  .wm-product-description--collapsed .wm-product-description__toggle--less,
  .wm-product-description--expanded .wm-product-description__toggle--more,
  .wm-product-description--expanded .wm-product-description__fade {
    display: none;
  }

  .wm-related-products {
    margin-top: 48px;
    padding: 0 16px;
  }

  .wm-related-products__header {
    align-items: center;
  }

  .wm-related-products__title {
    font-size: 20px;
  }

  .wm-related-products__arrow {
    width: 38px;
    height: 38px;
  }

  .wm-related-products__track {
    grid-auto-columns: minmax(250px, 82vw);
    gap: 14px;
    padding-bottom: 10px;
  }

  .wm-related-card {
    padding: 13px;
    border-radius: 22px;
  }

  .wm-related-card__title {
    order: 1;
    min-height: auto;
    margin-bottom: 12px;
    font-size: 14px;
  }

  .wm-related-card__title a {
    -webkit-line-clamp: 3;
  }

  .wm-related-card__media {
    order: 2;
    margin-bottom: 13px;
  }

  .wm-related-card__price {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .wm-related-card__actions {
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .wm-related-card__button-wrap {
    width: 100%;
  }

  .wm-related-card__button,
  .wm-related-card__actions .button {
    width: 100%;
  }

  .wm-product-purchase__price {
    min-height: 52px;
    font-size: 21px;
  }

  .wm-product-specs__grid,
  .wm-product-purchase__meta {
    grid-template-columns: 1fr;
  }

  .wm-product-specs {
    position: relative;
    overflow: hidden;
  }

  .wm-product-specs--mobile-collapsed .wm-product-specs__item:nth-child(n+4) {
    display: none;
  }

  .wm-product-specs--mobile-collapsed .wm-product-specs__fade {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 66px;
    height: 88px;
    display: block;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.94),
      rgba(255, 255, 255, 1)
    );
  }

  .wm-product-specs__toggle-wrap {
    margin-top: 14px;
    padding-top: 10px;
    display: flex;
    justify-content: center;
  }

  .wm-product-specs__toggle {
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--wm-color-border);
    border-radius: 14px;
    background: #fff;
    color: var(--wm-color-accent-dark);
    font-family: var(--wm-font-primary);
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
  }

  .wm-product-specs--mobile-collapsed .wm-product-specs__toggle--more,
  .wm-product-specs--mobile-expanded .wm-product-specs__toggle--less {
    display: inline-flex;
  }

  .wm-product-specs--mobile-collapsed .wm-product-specs__toggle--less,
  .wm-product-specs--mobile-expanded .wm-product-specs__toggle--more,
  .wm-product-specs--mobile-expanded .wm-product-specs__fade {
    display: none;
  }

  /*
   * Sits flush on top of .wm-mobile-nav (no gap, no own bottom border/
   * radius) so the purchase bar and the bottom nav read as one continuous
   * panel rather than two stacked floating boxes.
   */
  .wm-mobile-bottom-bar {
    position: fixed;
    right: 0;
    bottom: var(--wm-mobile-nav-height, 82px);
    left: 0;
    z-index: 1000;
    display: block;
    padding: 7px 16px 10px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(229, 224, 216, 0.95);
    border-bottom: 0;
    border-radius: var(--wm-radius-lg) var(--wm-radius-lg) 0 0;
    box-shadow: 0 -8px 24px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(12px);
    direction: rtl;
  }

  .wm-mobile-bottom-bar__handle {
    width: 100%;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 2px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--wm-color-muted);
  }

  .wm-mobile-bottom-bar__chevron {
    width: 10px;
    height: 10px;
    display: block;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(45deg);
    transition: var(--wm-transition);
  }

  .wm-mobile-bottom-bar--expanded .wm-mobile-bottom-bar__chevron {
    transform: rotate(225deg);
  }

  .wm-mobile-bottom-bar__summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .wm-mobile-bottom-bar__price {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-width: 0;
    color: var(--wm-color-primary);
    font-size: 18px;
    font-weight: 850;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
  }

  .wm-mobile-bottom-bar__price .price,
  .wm-mobile-bottom-bar__price .amount,
  .wm-mobile-bottom-bar__price bdi {
    color: inherit;
    font-weight: inherit;
  }

  .wm-mobile-bottom-bar__stock {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    width: fit-content;
    padding: 5px 12px;
    border: 1px solid rgba(2, 122, 72, 0.14);
    border-radius: var(--wm-radius-pill);
    background: #ecfdf3;
    color: #027a48;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.4;
    white-space: nowrap;
  }

  .wm-mobile-bottom-bar__stock--out_of_stock {
    background: rgba(185, 28, 28, 0.1);
    border-color: rgba(185, 28, 28, 0.16);
    color: #991b1b;
  }

  .wm-mobile-bottom-bar__stock--backorder {
    background: rgba(200, 155, 60, 0.16);
    border-color: rgba(200, 155, 60, 0.24);
    color: var(--wm-color-accent-dark);
  }

  .wm-mobile-bottom-bar__cta {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-top: 0;
  }

  /*
   * form.cart is also the variations_form for variable products, so its
   * direct children include table.variations (swatches) and
   * .single_variation_wrap — not just quantity+button like on simple
   * products. Flexing .cart itself used to force the swatches table and
   * the price/button block into one horizontal row instead of stacking.
   * Keep .cart a plain block and flex only the actual button-row wrapper
   * (.woocommerce-variation-add-to-cart for variable products); simple
   * products have no such wrapper, but their lone visible child (the
   * button — quantity is hidden below) already renders full-width as a
   * block, so they need no flex container at all.
   */
  .wm-mobile-bottom-bar__cta .cart {
    display: block;
    width: 100%;
    margin: 0;
  }

  .wm-mobile-bottom-bar__cta .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-top: var(--wm-space-2);
  }

  /*
   * Plain quantity input is hidden by default (simple products show qty=1
   * implicitly in this bar). Variable products' quantity is re-parented by
   * JS into .wm-variation-stock-box's +/- stepper — that nested copy needs
   * to stay visible, so it's re-shown with higher specificity below.
   */
  .wm-mobile-bottom-bar__cta .quantity {
    display: none;
  }

  .wm-mobile-bottom-bar__cta .wm-variation-stock-box .quantity {
    display: block !important;
  }

  .wm-mobile-bottom-bar__cta .stock,
  .wm-mobile-bottom-bar__cta form.cart > .stock,
  .wm-mobile-bottom-bar__cta .woocommerce-variation-availability,
  .wm-mobile-bottom-bar__cta .woocommerce-variation-price,
  .wm-mobile-bottom-bar form.cart > .stock,
  .wm-mobile-bottom-bar .woocommerce-variation-availability,
  .wm-mobile-bottom-bar .woocommerce-variation-price,
  .wm-mobile-bottom-bar .stock:not(.wm-mobile-bottom-bar__stock):not(.product-stock-badge) {
    display: none !important;
  }

  .wm-mobile-bottom-bar__cta .single_add_to_cart_button,
  .wm-mobile-bottom-bar__cta .button {
    width: 100%;
    min-height: 52px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #111827, #243044) !important;
    color: #fff !important;
    font-family: var(--wm-font-primary);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.4;
    text-decoration: none !important;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
  }

  .wm-mobile-bottom-bar--collapsed .wm-mobile-bottom-bar__cta table.variations,
  .wm-mobile-bottom-bar--collapsed .wm-mobile-bottom-bar__cta .woocommerce-variation,
  .wm-mobile-bottom-bar--collapsed .wm-mobile-bottom-bar__cta .reset_variations {
    display: none !important;
  }

  /*
   * table.variations has no width constraint by default, so a row with many
   * swatches (e.g. 16 label options) grows the table cell to fit them all on
   * one line instead of letting .wm-variation-swatches' own overflow-x:auto
   * kick in — the excess swatches end up rendered off-screen and unreachable.
   * table-layout: fixed forces the cell (and everything inside it) to the
   * bar's actual width, so the swatch row's horizontal scroll works as intended.
   */
  .wm-mobile-bottom-bar table.variations {
    width: 100%;
    table-layout: fixed;
  }

  /*
   * Default table.variations renders th.label beside td.value, which
   * wraps a multi-word attribute name (e.g. "Annie Eye Pencil Wooden")
   * into a vertical stack of single words next to the swatches. Stacking
   * the row instead puts the (smaller) label above the swatches.
   */
  .wm-mobile-bottom-bar table.variations tr {
    display: block;
  }

  .wm-mobile-bottom-bar table.variations th.label {
    display: block;
    width: auto;
    padding: 0 0 4px;
    color: var(--wm-color-muted);
    font-size: 11px;
    font-weight: 700;
    text-align: right;
  }

  .wm-mobile-bottom-bar table.variations td.value {
    display: block;
    width: auto;
    min-width: 0;
  }

  .wm-mobile-bottom-bar .wm-variation-attribute {
    min-width: 0;
    margin-bottom: 8px;
  }

  .wm-mobile-bottom-bar .wm-variation-attribute__selected {
    font-size: 11px;
    font-weight: 700;
    min-height: unset;
    margin-bottom: 6px;
    color: var(--wm-color-muted);
  }

  .wm-mobile-bottom-bar .wm-variation-swatch--color,
  .wm-mobile-bottom-bar .wm-variation-swatch--image {
    width: 26px;
    height: 26px;
  }

  .wm-mobile-bottom-bar .wm-variation-swatch--label {
    height: 28px;
    min-width: 28px;
    padding: 0 8px;
  }

  .wm-mobile-bottom-bar .wm-variation-swatch__label {
    font-size: 11px;
  }

  .wm-mobile-bottom-bar .wm-variation-swatches {
    gap: 6px;
  }

  .wm-mobile-bottom-bar .reset_variations {
    display: none !important;
  }

  .wm-mobile-bottom-bar__content {
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
    border-top: 0 solid transparent;
    opacity: 0;
    transition: max-height 260ms ease, opacity 220ms ease, margin-top 220ms ease, padding-top 220ms ease, border-color 220ms ease;
  }

  .wm-mobile-bottom-bar--expanded .wm-mobile-bottom-bar__content {
    max-height: 260px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--wm-color-border);
    opacity: 1;
  }

  .wm-mobile-bottom-bar__meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wm-mobile-bottom-bar__meta-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 9px;
    border: 1px solid var(--wm-color-border);
    border-radius: 14px;
    background: #f9f8f5;
    font-size: 12px;
  }

  .wm-mobile-bottom-bar__meta-label {
    color: var(--wm-color-muted);
    font-weight: 700;
  }

  .wm-mobile-bottom-bar__meta-value {
    color: var(--wm-color-primary);
    font-weight: 850;
  }

  .wm-mobile-bottom-bar__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
  }

  .wm-mobile-bottom-bar__trust span {
    flex: 1 1 auto;
    min-width: fit-content;
    padding: 6px 8px;
    border-radius: var(--wm-radius-pill);
    background: rgba(200, 155, 60, 0.12);
    color: var(--wm-color-accent-dark);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
  }

  .wm-product-purchase__stock {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .wm-product-purchase__cart .cart {
    flex-direction: column;
  }

  .wm-product-purchase__cart .quantity,
  .wm-product-purchase__cart .single_add_to_cart_button {
    width: 100%;
  }
}

.wm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(17, 24, 39, 0.86);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.wm-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.wm-lightbox-open {
  overflow: hidden;
}

.wm-lightbox__stage {
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.94);
  transition: transform 0.22s ease;
}

.wm-lightbox.is-open .wm-lightbox__stage {
  transform: scale(1);
}

.wm-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--wm-radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.wm-lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 0;
  color: var(--wm-color-primary);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}
