body.single-product.woocommerce div.product { text-align: center; }
body.single-product.woocommerce div.product .summary {
  width: 100% !important;
  max-width: 960px;
  margin: 0 auto 30px !important;
  text-align: center;
}
body.single-product.woocommerce div.product .product_meta { display: none; }
body.single-product.woocommerce div.product .summary .price,
body.single-product.woocommerce div.product .summary .woocommerce-product-details__short-description { text-align: center; }
body.single-product.woocommerce div.product form.cart { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; }
body.single-product.woocommerce div.product form.cart .quantity { float: none; margin: 0; }
body.single-product.woocommerce div.product form.cart .quantity input { min-height:44px; border:1px solid #7481ad; border-radius:10px; background:#eef0fc; color:#171d3e; font:inherit; text-align:center; }
body.single-product.woocommerce div.product form.variations_form { display: block; }
body.single-product.woocommerce div.product .woocommerce-variation-add-to-cart { display:flex; justify-content:center; align-items:center; gap:12px; flex-wrap:wrap; }
body.single-product.woocommerce div.product table.variations { margin-inline:auto; }
body.single-product.woocommerce div.product .single_add_to_cart_button {
  float: none;
  min-height:44px;
  border-radius:999px !important;
  border:1px solid #171d3e !important;
  padding:13px 25px !important;
  background:linear-gradient(135deg,#353478,#171d3e) !important;
  color:#fff !important;
  box-shadow:0 5px 12px #171d3e24 !important;
  font-size:11px !important;
  letter-spacing:.09em !important;
  transition:transform .18s ease,box-shadow .18s ease;
}
body.single-product.woocommerce div.product .single_add_to_cart_button:hover { transform:translateY(-2px); background:#171d3e !important; box-shadow:0 8px 16px #171d3e30 !important; }
body.single-product.woocommerce div.product .single_add_to_cart_button:focus-visible { outline:2px solid #171d3e; outline-offset:4px; }
body.single-product.woocommerce div.product .woocommerce-tabs { clear:both; width:100%; margin:30px auto; text-align:center; }
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; padding:0; }
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li,
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background:#eef0fc; border:1px solid #8995c0; border-radius:8px 8px 0 0; margin:0; padding:0 18px; }
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li a { color:#353478; }
body.single-product.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color:#171d3e; }
body.single-product.woocommerce div.product .woocommerce-tabs .panel { width:100%; max-width:960px; margin-inline:auto; padding:24px; background:transparent; border-radius:0; text-align:center; }
body.single-product.woocommerce div.product .woocommerce-tabs .panel :is(h2,h3,p,dt,dd,th,td) { text-align:center; }
body.single-product.woocommerce div.product .woocommerce-tabs .panel :is(ul,ol) { list-style-position:inside; }
body.single-product.woocommerce .vyberx-product-warning,
body.single-product.woocommerce .vyberx-product-disclaimer { background:#eef0fc; border:1px solid #8995c0; border-radius:10px; text-align:center; }
body.single-product.woocommerce .vyberx-product-warning h3 { color:#353478; }
body.single-product.woocommerce .vyberx-product-warning p { color:#38456a; }
body.single-product.woocommerce .vyberx-product-information dl > div { display:flex; justify-content:center; flex-wrap:wrap; }
body.single-product.woocommerce .related { clear:both; width:100%; margin:36px auto 0; text-align:center; }
body.single-product.woocommerce .related > h2 { text-align:center; }

/* Same image, typography and button rules as the shop cards. */
body.single-product .related ul.products {
  max-width: 960px;
  margin: 34px auto 0;
  gap: 26px;
  align-items: stretch;
}

body.single-product .related ul.products li.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

body.single-product .related ul.products li.product:hover {
  border-color: transparent;
  box-shadow: none;
}

body.single-product .related ul.products li.product .woocommerce-LoopProduct-link {
  width: 100%;
}

body.single-product .related ul.products li.product a img {
  margin-bottom: 16px;
  border-radius: 14px;
}

body.single-product .related ul.products li.product .woocommerce-loop-product__title {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.3;
  padding-inline: 8px;
}

body.single-product .related ul.products li.product .price {
  margin: 8px 0 18px;
  color: #171d3e;
  font-size: .95rem;
}

body.single-product .related ul.products li.product .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 44px;
  border-radius: 999px !important;
  border: 1px solid #171d3e !important;
  padding: 13px 25px !important;
  background: linear-gradient(135deg, #353478, #171d3e) !important;
  box-shadow: 0 5px 12px #171d3e24 !important;
  font-size: 11px !important;
  letter-spacing: .09em !important;
  transition: transform .18s ease, box-shadow .18s ease;
}

body.single-product .related ul.products li.product .button:hover {
  transform: translateY(-2px);
  background: #171d3e !important;
  box-shadow: 0 8px 16px #171d3e30 !important;
}

body.single-product .related ul.products li.product .button:focus-visible {
  outline: 2px solid #171d3e;
  outline-offset: 4px;
}


body.single-product .related ul.products { display:flex; flex-wrap:wrap; justify-content:center; }
body.single-product .related ul.products li.product { flex:0 0 calc((100% - 52px) / 3); }
@media(max-width:820px) {
  body.single-product .related ul.products { max-width:340px; gap:28px; }
  body.single-product .related ul.products li.product { flex-basis:100%; }
  body.single-product.woocommerce div.product .woocommerce-tabs .panel { padding:20px 16px; }
}
@media(prefers-reduced-motion:reduce) {
  body.single-product.woocommerce div.product .single_add_to_cart_button,
  body.single-product .related ul.products li.product .button { transition:none; }
}

body.single-product.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel--description {
  padding-top: 0;
}
body.single-product.woocommerce #tab-description > .vyberx-product-information:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
body.single-product.woocommerce #tab-description .vyberx-product-description:first-child {
  margin-top: 0;
}
