/* ============================================================
   ALLMASAJID — SINGLE PRODUCT PAGE (WooCommerce)
   File: /wp-content/themes/almsajid/calligraphy-product.css
   Loaded only on single product pages (see functions.php snippet)
   Prefix for new elements: calligraphy-product-
   ============================================================ */

/* ---------- Scoped box-sizing ---------- */
body.single-product #primary,
body.single-product #primary *,
body.single-product #primary *::before,
body.single-product #primary *::after {
  box-sizing: border-box;
}

/* ---------- Full width layout (hide sidebar on product pages) ---------- */
body.single-product .row > .col-lg-4:has(#tertiary) {
  display: none !important;
}

body.single-product .row > .col-lg-8:has(#primary) {
  float: none !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.single-product #primary {
  padding: 50px 0 80px;
  font-family: 'Poppins', sans-serif;
}

/* Theme title, empty thumbnail, edit link & comments (not needed on products).
   The theme title is hidden only when the new title exists in the right column. */
body.single-product article.product:has(.summary .product_title) > .entry-title,
body.single-product article.product > .entry-thumbnail,
body.single-product article.product > .entry-meta,
body.single-product article.product > footer.entry-meta,
body.single-product #comments {
  display: none !important;
}

body.single-product article.product > .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

/* ---------- Main grid: gallery left, summary right ---------- */
body.single-product .woocommerce div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 60px;
  row-gap: 0;
  align-items: start;
}

body.single-product .woocommerce div.product::before,
body.single-product .woocommerce div.product::after {
  display: none !important;
  content: none !important;
}

body.single-product .woocommerce div.product > * {
  grid-column: 1 / -1;
}

/* ---------- Gallery ---------- */
body.single-product .woocommerce div.product > .woocommerce-product-gallery {
  grid-column: 1;
  position: relative;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px;
  background: #FAF8F2;
  border: 1px solid rgba(11, 30, 64, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(11, 30, 64, 0.08);
  animation: calligraphyProductFadeUp 0.8s ease-out 0.05s both;
}

body.single-product .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}

body.single-product .woocommerce-product-gallery__image {
  border-radius: 16px;
  overflow: hidden;
  background: #FFFFFF;
}

body.single-product .woocommerce-product-gallery__image > a {
  display: block;
  line-height: 0;
}

body.single-product .woocommerce-product-gallery__image img.wp-post-image {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 680px;
  object-fit: contain;
  margin: 0 auto !important;
  border-radius: 0 !important;
}

/* full-screen / zoom trigger button */
body.single-product .woocommerce-product-gallery__trigger {
  position: absolute !important;
  z-index: 9;
  top: 32px !important;
  right: 32px !important;
  left: auto !important;
  width: 46px !important;
  height: 46px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-indent: 0 !important;
  font-size: 0 !important;
  background: #FFFFFF !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 20px rgba(11, 30, 64, 0.18);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

/* hide the theme's emoji and WooCommerce's default drawn icon */
body.single-product .woocommerce-product-gallery__trigger > span,
body.single-product .woocommerce-product-gallery__trigger img,
body.single-product .woocommerce-product-gallery__trigger::after {
  display: none !important;
}

/* our own magnifier icon */
body.single-product .woocommerce-product-gallery__trigger::before {
  content: "" !important;
  display: block !important;
  position: static !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #0B1E40 !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3Cpath d='M11 8v6M8 11h6'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: none !important;
  transition: background-color 0.25s ease;
}

body.single-product .woocommerce-product-gallery__trigger:hover {
  transform: scale(1.08);
  background: #20C076 !important;
}

body.single-product .woocommerce-product-gallery__trigger:hover::before {
  background: #FFFFFF !important;
}

/* thumbnails (when a product has more than one image) */
body.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  display: block;
  width: 100%;
  border-radius: 10px;
  border: 2px solid transparent;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

body.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
body.single-product .woocommerce-product-gallery .flex-control-thumbs img:hover {
  opacity: 1;
  border-color: #20C076;
}

/* ---------- Summary (right column) ---------- */
body.single-product .woocommerce div.product > .summary {
  grid-column: 2;
  position: static !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 0 0;
  animation: calligraphyProductFadeUp 0.8s ease-out 0.2s both;
}

/* category pill (added by functions.php) */
.calligraphy-product-eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 18px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(32, 192, 118, 0.10);
  border: 1px solid rgba(32, 192, 118, 0.35);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #12A66C;
}

.calligraphy-product-eyebrow a {
  color: #12A66C !important;
  text-decoration: none !important;
}

body.single-product .summary .product_title {
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.5px;
  color: #0B1E40 !important;
}

body.single-product .summary p.price,
body.single-product .summary span.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 22px !important;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(11, 30, 64, 0.08);
  font-family: 'Poppins', sans-serif !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  color: #12A66C !important;
}

body.single-product .summary .price del {
  font-size: 20px;
  font-weight: 500;
  color: #8A94A6 !important;
  opacity: 1;
}

body.single-product .summary .price ins {
  text-decoration: none;
}

body.single-product .woocommerce-product-details__short-description {
  margin-bottom: 26px;
}

body.single-product .woocommerce-product-details__short-description p {
  margin: 0 0 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #4A5568;
}

/* add to cart form */
body.single-product .summary form.cart {
  display: flex !important;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 16px !important;
}

body.single-product .summary form.cart::before,
body.single-product .summary form.cart::after {
  display: none !important;
}

body.single-product .summary form.cart .quantity {
  float: none !important;
  margin: 0 !important;
}

body.single-product .summary form.cart .quantity input.qty {
  width: 90px !important;
  height: 56px !important;
  padding: 0 10px !important;
  border: 1.5px solid rgba(11, 30, 64, 0.15) !important;
  border-radius: 50px !important;
  background: #FFFFFF !important;
  font-family: 'Poppins', sans-serif;
  font-size: 17px !important;
  font-weight: 600;
  text-align: center;
  color: #0B1E40 !important;
  box-shadow: none !important;
  transition: border-color 0.25s ease;
}

body.single-product .summary form.cart .quantity input.qty:focus {
  border-color: #20C076 !important;
  outline: none;
}

body.single-product .summary .single_add_to_cart_button.button.alt {
  flex: 1 1 auto;
  float: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  margin: 0 !important;
  padding: 0 34px !important;
  border: 0 !important;
  border-radius: 50px !important;
  background: #20C076 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  box-shadow: 0 12px 28px rgba(32, 192, 118, 0.30);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

body.single-product .summary .single_add_to_cart_button.button.alt::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7z'/%3E%3Cpath d='M9 7V5a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7h12l-1 13H7z'/%3E%3Cpath d='M9 7V5a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.single-product .summary .single_add_to_cart_button.button.alt:hover,
body.single-product .summary .single_add_to_cart_button.button.alt:focus-visible {
  background: #12A66C !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(32, 192, 118, 0.38);
}

body.single-product .summary .ppc-button-wrapper {
  margin: 0 0 24px;
}

/* availability info box (added by functions.php) */
.calligraphy-product-info {
  margin: 0 0 24px;
  padding: 20px 22px;
  background: #FAF8F2;
  border: 1px solid rgba(11, 30, 64, 0.08);
  border-left: 4px solid #C9952A;
  border-radius: 14px;
}

.calligraphy-product-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #4A5568;
}

.calligraphy-product-info-item + .calligraphy-product-info-item {
  margin-top: 12px;
}

.calligraphy-product-info-item svg {
  flex: 0 0 20px;
  margin-top: 2px;
  color: #12A66C;
}

/* SKU / category */
body.single-product .summary .product_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(11, 30, 64, 0.08);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #6B7280;
}

body.single-product .summary .product_meta > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: #F4F6F9;
  border-radius: 50px;
}

body.single-product .summary .product_meta .sku,
body.single-product .summary .product_meta a {
  font-weight: 600;
  color: #0B1E40 !important;
  text-decoration: none !important;
}

body.single-product .summary .product_meta a:hover {
  color: #12A66C !important;
}

/* "added to cart" notice */
body.single-product .woocommerce-notices-wrapper .woocommerce-message {
  margin: 0 0 30px !important;
  padding: 18px 24px 18px 54px !important;
  border: 1px solid rgba(32, 192, 118, 0.35) !important;
  border-left: 4px solid #20C076 !important;
  border-radius: 14px;
  background: rgba(32, 192, 118, 0.07) !important;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #0B1E40 !important;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message::before {
  color: #20C076 !important;
  top: 18px !important;
  left: 22px !important;
}

body.single-product .woocommerce-notices-wrapper .woocommerce-message .button {
  float: right;
  padding: 8px 18px !important;
  border-radius: 50px !important;
  background: #0B1E40 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
}

/* ---------- Tabs (Description / Additional information) ---------- */
body.single-product .woocommerce div.product .woocommerce-tabs {
  margin: 60px 0 0 !important;
  padding: 0 40px 40px;
  background: #FFFFFF;
  border: 1px solid rgba(11, 30, 64, 0.08);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(11, 30, 64, 0.06);
  animation: calligraphyProductFadeUp 0.8s ease-out 0.35s both;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0 30px;
  margin: 0 0 28px !important;
  padding: 0 !important;
  overflow: visible !important;
  list-style: none !important;
  border-bottom: 1px solid rgba(11, 30, 64, 0.10);
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs::after,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a {
  position: relative;
  display: block;
  padding: 24px 0 18px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #8A94A6 !important;
  text-decoration: none !important;
  transition: color 0.25s ease;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #20C076;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: #0B1E40 !important;
}

body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
  transform: scaleX(1);
}

body.single-product .woocommerce div.product .woocommerce-tabs .panel {
  margin: 0 !important;
  padding: 0 !important;
}

/* duplicate heading inside the panel (tab already says it) */
body.single-product .woocommerce div.product .woocommerce-tabs .panel > h2:first-child {
  display: none;
}

body.single-product .woocommerce div.product .woocommerce-tabs .panel p {
  margin: 0 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: #4A5568;
}

body.single-product .woocommerce table.shop_attributes {
  width: 100%;
  margin: 0;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 14px;
  font-family: 'Poppins', sans-serif;
}

body.single-product .woocommerce table.shop_attributes th,
body.single-product .woocommerce table.shop_attributes td {
  padding: 14px 20px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(11, 30, 64, 0.07) !important;
  background: transparent !important;
  font-size: 15px;
  font-style: normal !important;
  text-align: left;
}

body.single-product .woocommerce table.shop_attributes th {
  width: 220px;
  font-weight: 600;
  color: #0B1E40;
  background: #FAF8F2 !important;
}

body.single-product .woocommerce table.shop_attributes td {
  color: #4A5568;
}

body.single-product .woocommerce table.shop_attributes td p {
  margin: 0 !important;
  padding: 0 !important;
}

/* ---------- Related products ---------- */
body.single-product .woocommerce div.product .related.products {
  margin: 70px 0 0 !important;
  animation: calligraphyProductFadeUp 0.8s ease-out 0.45s both;
}

body.single-product .related.products > h2 {
  position: relative;
  margin: 0 0 32px !important;
  padding-top: 20px;
  font-family: 'Poppins', sans-serif !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #0B1E40 !important;
  text-align: center;
}

body.single-product .related.products > h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 56px;
  height: 3px;
  margin-left: -28px;
  border-radius: 3px;
  background: #C9952A;
}

body.single-product .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after {
  display: none !important;
  content: none !important;
}

body.single-product .related.products ul.products li.product {
  position: relative;
  display: flex !important;
  flex-direction: column;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  text-align: left;
  background: #FFFFFF;
  border: 1px solid rgba(11, 30, 64, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(11, 30, 64, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

body.single-product .related.products ul.products li.product:hover {
  transform: translateY(-6px);
  border-color: rgba(32, 192, 118, 0.35);
  box-shadow: 0 22px 44px rgba(11, 30, 64, 0.13);
}

body.single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-decoration: none !important;
}

/* image zoom stays inside the card */
body.single-product .related.products ul.products li.product a img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: scale(1);
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.single-product .related.products ul.products li.product:hover a img {
  transform: scale(1.08);
}

body.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
  position: relative;
  z-index: 2;
  margin: 0 !important;
  padding: 18px 20px 6px !important;
  background: #FFFFFF;
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #0B1E40 !important;
  transition: color 0.25s ease;
}

body.single-product .related.products ul.products li.product:hover .woocommerce-loop-product__title {
  color: #12A66C !important;
}

body.single-product .related.products ul.products li.product .price {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 !important;
  padding: 0 20px 4px;
  background: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #12A66C !important;
}

body.single-product .related.products ul.products li.product .button {
  position: relative;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  margin: 14px 20px 20px !important;
  padding: 12px 18px !important;
  border: 2px solid #20C076 !important;
  border-radius: 50px !important;
  background: transparent !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #12A66C !important;
  text-decoration: none !important;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.single-product .related.products ul.products li.product:hover .button {
  background: #20C076 !important;
  color: #FFFFFF !important;
}

body.single-product .related.products ul.products li.product .added_to_cart {
  display: block;
  margin: -10px 20px 18px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: #0B1E40 !important;
}

/* ---------- Previous / next product link ---------- */
body.single-product .post-navigation {
  margin: 50px 0 0;
}

body.single-product .post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

body.single-product .post-navigation .nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1.5px solid rgba(11, 30, 64, 0.12);
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #0B1E40 !important;
  text-decoration: none !important;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

body.single-product .post-navigation .nav-links a:hover {
  border-color: #20C076;
  color: #12A66C !important;
  transform: translateX(-3px);
}

/* ---------- Animation ---------- */
@keyframes calligraphyProductFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  body.single-product .woocommerce div.product { column-gap: 40px; }
  body.single-product .summary .product_title { font-size: 36px !important; }
  body.single-product .related.products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  body.single-product #primary { padding: 30px 0 60px; }
  body.single-product .woocommerce div.product { grid-template-columns: minmax(0, 1fr); }
  body.single-product .woocommerce div.product > .woocommerce-product-gallery,
  body.single-product .woocommerce div.product > .summary { grid-column: 1; }
  body.single-product .woocommerce div.product > .summary {
    padding-top: 34px;
  }
  body.single-product .woocommerce div.product .woocommerce-tabs { margin-top: 44px !important; padding: 0 26px 30px; }
  body.single-product .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 575px) {
  body.single-product .woocommerce div.product > .woocommerce-product-gallery { padding: 10px; border-radius: 18px; }
  body.single-product .woocommerce-product-gallery__trigger { top: 20px !important; right: 20px !important; }
  body.single-product .summary .product_title { font-size: 30px !important; }
  body.single-product .summary p.price { font-size: 27px !important; }
  body.single-product .summary form.cart { flex-wrap: wrap; }
  body.single-product .summary .single_add_to_cart_button.button.alt { flex-basis: calc(100% - 102px); padding: 0 20px !important; }
  body.single-product .woocommerce div.product .woocommerce-tabs { padding: 0 18px 24px; border-radius: 18px; }
  body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs { gap: 0 20px; }
  body.single-product .woocommerce table.shop_attributes th { width: 40%; }
  body.single-product .related.products > h2 { font-size: 27px !important; }
  body.single-product .related.products ul.products li.product .woocommerce-loop-product__title { padding: 14px 14px 4px !important; font-size: 14px !important; }
  body.single-product .related.products ul.products li.product .price { padding: 0 14px 2px; font-size: 15px !important; }
  body.single-product .related.products ul.products li.product .button { margin: 12px 14px 14px !important; padding: 10px 12px !important; font-size: 13px !important; }
}

@media (max-width: 380px) {
  body.single-product .related.products ul.products { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product .woocommerce div.product > .woocommerce-product-gallery,
  body.single-product .woocommerce div.product > .summary,
  body.single-product .woocommerce div.product .woocommerce-tabs,
  body.single-product .woocommerce div.product .related.products {
    animation: none;
  }
  body.single-product .related.products ul.products li.product,
  body.single-product .related.products ul.products li.product a img {
    transition: none;
  }
}

.woocommerce-Tabs-panel ul {margin-left: 30px;}
body.single-product .summary.entry-summary .product_meta {display:none;}
