/* Codex v3: Modern product detail UI */
:root {
  --s724-ui-bg: #eef2f8;
  --s724-ui-card: #ffffff;
  --s724-ui-border: #d8e0ec;
  --s724-ui-text: #111a2e;
  --s724-ui-muted: #596a86;
  --s724-ui-brand: #2257a8;
  --s724-ui-brand-2: #163f7b;
  --s724-ui-ok: #0b8a5c;
}

body.single-product {
  font-family: 'Open Sans', sans-serif;
  color: var(--s724-ui-text);
  background: var(--s724-ui-bg);
}

body.single-product #s724-topbar {
  display: none;
}

body.single-product #s724-head {
  padding-top: 12px !important;
  padding-bottom: 10px !important;
  background: linear-gradient(90deg, #0f1d3a 0%, #132a4f 100%);
}

body.single-product #s724-head .site-branding .custom-logo {
  max-height: 56px;
  width: auto;
}

body.single-product #s724-menu .navbar-nav .nav-link,
body.single-product #s724-menu .navbar-nav .nav-link:hover,
body.single-product #s724-menu .navbar-nav .nav-link.active {
  color: #eaf1ff;
}

body.single-product #s724-menu .btn-s724-primary {
  background: #2b61b2;
}

body.single-product .s724-woo-wrapper {
  background: radial-gradient(1400px 520px at 15% 0%, #f8fbff 0%, var(--s724-ui-bg) 48%, #f5f7fb 100%);
  padding: 20px 0 56px;
}

body.single-product .woocommerce-breadcrumb {
  margin-bottom: 14px;
  color: #5f6f88;
}

body.single-product .woocommerce-breadcrumb a {
  color: #2a5dac;
}

body.single-product .s724-modern-hero {
  display: grid;
  grid-template-columns: 1.18fr 0.92fr;
  gap: 28px;
  align-items: start;
}

body.single-product .s724-modern-hero__gallery,
body.single-product .s724-modern-hero__summary {
  min-width: 0;
}

body.single-product .s724-modern-buybox {
  background: var(--s724-ui-card);
  border: 1px solid var(--s724-ui-border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 44px rgba(16, 34, 66, 0.1);
  position: sticky;
  top: 16px;
}

body.single-product .s724-modern-statusbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

body.single-product .s724-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cdd8ea;
  border-radius: 999px;
  background: #f4f7fd;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #2f4b74;
}

body.single-product .s724-badge--ok {
  color: #0b7a52;
  border-color: #bce9d4;
  background: #eafcf4;
}

body.single-product .s724-badge--warn {
  color: #a26500;
  border-color: #ffe2ad;
  background: #fff8ea;
}

body.single-product .product_title {
  font-family: 'Lato', sans-serif;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.08;
  margin: 0 0 8px;
  color: #101a2e;
}

body.single-product p.price,
body.single-product span.price {
  font-family: 'Lato', sans-serif;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--s724-ui-brand);
  margin: 0 0 14px;
}

body.single-product .woocommerce-product-details__short-description {
  background: linear-gradient(180deg, #f5f8ff 0%, #f1f5fd 100%);
  border: 1px solid #d7e2f8;
  border-left: 4px solid var(--s724-ui-brand);
  border-radius: 12px;
  padding: 12px 14px;
  color: #344d73;
  white-space: pre-line;
  margin: 0 0 14px;
}

body.single-product form.cart {
  border-top: 1px dashed #d6deeb;
  padding-top: 14px;
  margin-top: 12px;
}

body.single-product .variations {
  margin-bottom: 12px;
}

body.single-product .variations td.label {
  width: 130px;
}

body.single-product .variations label {
  color: #314c74;
  font-weight: 700;
}

body.single-product .variations select {
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid #cad6e8;
  background: #fff;
  padding: 10px 12px;
}

body.single-product .quantity .qty {
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid #cad6e8;
}

body.single-product .single_add_to_cart_button.button.alt {
  min-height: 50px;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .2px;
  background: linear-gradient(180deg, var(--s724-ui-brand) 0%, var(--s724-ui-brand-2) 100%) !important;
  box-shadow: 0 12px 28px rgba(28, 74, 145, 0.32);
  color: #fff !important;
}

body.single-product .single_add_to_cart_button.button.alt:hover {
  transform: translateY(-1px);
}

body.single-product .s724-modern-usp-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.single-product .s724-modern-usp {
  border: 1px solid #d8e2f1;
  border-radius: 10px;
  background: #f8fbff;
  padding: 10px;
}

body.single-product .s724-modern-usp strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #2a4770;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 3px;
}

body.single-product .s724-modern-usp span {
  font-size: 13px;
  color: #314d75;
}

body.single-product .s724-modern-contactrow {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

body.single-product .s724-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
}

body.single-product .s724-contact-btn--call {
  color: #153d78;
  background: #edf3ff;
  border: 1px solid #cfe0fb;
}

body.single-product .s724-contact-btn--wa {
  color: #0d7a50;
  background: #e9fff4;
  border: 1px solid #b5ecd0;
}

body.single-product .woocommerce-product-gallery {
  position: sticky;
  top: 16px;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  border-radius: 18px;
  border: 1px solid var(--s724-ui-border);
  background: #fff;
  padding: 12px;
  box-shadow: 0 16px 44px rgba(15, 32, 63, 0.08);
}

body.single-product .flex-viewport,
body.single-product .woocommerce-product-gallery__image img {
  border-radius: 12px;
}

body.single-product .flex-viewport {
  min-height: 430px;
}

body.single-product .woocommerce-product-gallery__image img {
  width: 100%;
  object-fit: cover;
}

body.single-product .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px !important;
}

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

body.single-product .flex-control-thumbs li img {
  width: 100% !important;
  height: 78px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d3deef;
  opacity: .74;
  transition: .2s ease all;
}

body.single-product .flex-control-thumbs li img:hover,
body.single-product .flex-control-thumbs li img.flex-active {
  opacity: 1;
  border-color: var(--s724-ui-brand);
  box-shadow: 0 0 0 2px rgba(34, 87, 168, .2);
}

body.single-product .woocommerce-product-gallery__trigger {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--s724-ui-brand);
  color: #fff;
  right: 14px;
  top: 14px;
}

body.single-product .s724-modern-tabs-wrap {
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--s724-ui-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 34px rgba(16, 34, 66, 0.06);
}

body.single-product .woocommerce-tabs ul.tabs {
  margin: 0 0 14px;
  border-bottom: 1px solid #dce4f3;
}

body.single-product .woocommerce-tabs ul.tabs li {
  border: 0;
  background: transparent;
}

body.single-product .woocommerce-tabs ul.tabs li a {
  font-weight: 800;
  color: #34507a;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
  color: var(--s724-ui-brand);
  border-bottom: 2px solid var(--s724-ui-brand);
}

body.single-product .woocommerce-Tabs-panel {
  color: #2d4466;
  line-height: 1.72;
  max-width: 92ch;
}

body.single-product .woocommerce-Tabs-panel ul {
  padding-left: 18px;
}

body.single-product .woocommerce-Tabs-panel li {
  margin-bottom: 6px;
}

body.single-product .s724-mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 9998;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #d7e1f0;
  border-radius: 12px;
  box-shadow: 0 20px 38px rgba(12, 28, 56, 0.24);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px;
  transform: translateY(18px);
  opacity: 0;
  transition: .25s ease all;
}

body.single-product .s724-mobile-cta.is-visible {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

body.single-product .s724-mobile-cta__price {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--s724-ui-brand);
}

body.single-product .s724-mobile-cta__btn {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, var(--s724-ui-brand) 0%, var(--s724-ui-brand-2) 100%);
}

body.single-product #tkw-whatsapp {
  z-index: 9997 !important;
}

@media (max-width: 1199px) {
  body.single-product .s724-modern-hero {
    grid-template-columns: 1fr;
  }

  body.single-product .woocommerce-product-gallery,
  body.single-product .s724-modern-buybox {
    position: static;
  }
}

@media (max-width: 767px) {
  body.single-product #s724-head {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  body.single-product #s724-head .custom-logo {
    max-height: 44px;
  }

  body.single-product .s724-woo-wrapper {
    padding: 12px 0 88px;
  }

  body.single-product .woocommerce-breadcrumb {
    font-size: 14px;
    margin-bottom: 10px;
  }

  body.single-product .s724-modern-buybox {
    padding: 16px;
  }

  body.single-product .product_title {
    font-size: 30px;
  }

  body.single-product p.price,
  body.single-product span.price {
    font-size: 30px;
  }

  body.single-product .variations td,
  body.single-product .variations tr {
    display: block;
    width: 100%;
  }

  body.single-product .variations td.label {
    width: 100%;
    padding-bottom: 6px;
  }

  body.single-product .s724-modern-usp-grid,
  body.single-product .s724-modern-contactrow {
    grid-template-columns: 1fr;
  }

  body.single-product .flex-viewport {
    min-height: 270px;
  }

  body.single-product .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.single-product .flex-control-thumbs li img {
    height: 64px;
  }

  body.single-product #tkw-whatsapp {
    bottom: 84px !important;
    left: 12px !important;
  }

  body.single-product #tkw-whatsapp .tkw-bubble,
  body.single-product #tkw-whatsapp .tkw-bubble-text {
    display: none !important;
  }
}

/* v3 hotfix: reset Woo default 48% floats inside custom grid */
body.single-product .s724-modern-hero__gallery .images,
body.single-product .s724-modern-hero__gallery .woocommerce-product-gallery,
body.single-product .s724-modern-hero__summary .summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.single-product .s724-modern-hero__summary .summary {
  padding: 0 !important;
}

body.single-product .woocommerce-product-gallery .flex-viewport {
  min-height: 0 !important;
  height: auto !important;
}

body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
}

body.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

@media (max-width: 767px) {
  body.single-product #tkw-whatsapp {
    display: none !important;
  }
}

/* v3 polish */
body.single-product .single_add_to_cart_button.button.alt.disabled,
body.single-product .single_add_to_cart_button.button.alt:disabled {
  background: #c3d1e8 !important;
  color: #f6f8fc !important;
  box-shadow: none;
}

body.single-product .single_add_to_cart_button.button.alt:not(.disabled):not(:disabled) {
  background: linear-gradient(180deg, var(--s724-ui-brand) 0%, var(--s724-ui-brand-2) 100%) !important;
  color: #fff !important;
}

body.single-product #tkw-whatsapp .tkw-bubble-text,
body.single-product #tkw-whatsapp .tkw-tooltip {
  display: none !important;
}

body.single-product #tkw-whatsapp {
  bottom: 24px !important;
}

@media (max-width: 767px) {
  body.single-product #s724-mobilbar,
  body.single-product #s724-mobilbar2,
  body.single-product .s724-mobilbar {
    display: none !important;
  }
}

/* v4 buybox refinement */
body.single-product .s724-modern-buybox {
  padding: 24px;
}

body.single-product .s724-modern-buybox form.cart {
  margin-top: 14px;
}

body.single-product .s724-modern-buybox .quantity {
  width: 100%;
  margin: 0 0 10px !important;
}

body.single-product .s724-modern-buybox form.cart .quantity label {
  display: none !important;
}

body.single-product .s724-modern-buybox .quantity .qty {
  width: 100% !important;
  max-width: none !important;
}

body.single-product .s724-modern-buybox .woocommerce-variation-add-to-cart {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

body.single-product .s724-modern-buybox .reset_variations {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #edf3ff;
  border: 1px solid #c7d8f6;
  color: #18447f;
  font-weight: 700;
  text-decoration: none;
}

body.single-product .s724-modern-buybox .single_add_to_cart_button.button.alt {
  width: 100% !important;
  min-height: 52px;
}

body.single-product .s724-modern-usp-grid {
  margin-top: 16px;
  gap: 12px;
}

body.single-product .s724-modern-contactrow {
  margin-top: 14px;
  grid-template-columns: 1fr;
  gap: 10px;
}

body.single-product .s724-contact-btn {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
  border-radius: 10px;
}

body.single-product .s724-contact-btn--call {
  color: #ffffff;
  background: linear-gradient(180deg, #2d66bd 0%, #1f4d94 100%);
  border: 0;
}

body.single-product .s724-contact-btn--wa {
  color: #ffffff;
  background: linear-gradient(180deg, #13a66d 0%, #0f8358 100%);
  border: 0;
}

@media (max-width: 767px) {
  body.single-product .s724-modern-buybox {
    padding: 14px;
  }

  body.single-product .s724-modern-buybox .single_add_to_cart_button.button.alt {
    min-height: 50px;
  }
}

/* v5 request-based refinements */
body.single-product .s724-modern-usp-grid {
  display: none !important;
}

body.single-product .s724-modern-contactrow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px;
}

body.single-product .s724-modern-buybox .variations,
body.single-product .s724-modern-buybox .variations tbody,
body.single-product .s724-modern-buybox .variations tr,
body.single-product .s724-modern-buybox .variations td {
  display: block !important;
  width: 100% !important;
}

body.single-product .s724-modern-buybox .variations td.label {
  padding: 0 0 6px !important;
}

body.single-product .s724-modern-buybox .variations td.value {
  padding: 0 !important;
}

body.single-product .s724-modern-buybox .variations select {
  width: 100% !important;
  max-width: none !important;
}

body.single-product .s724-modern-buybox .woocommerce-variation-add-to-cart {
  display: grid !important;
  grid-template-columns: 136px minmax(0, 1fr) !important;
  align-items: stretch;
  gap: 10px;
}

body.single-product .s724-modern-buybox .quantity {
  width: 136px !important;
  margin: 0 !important;
}

body.single-product .s724-modern-buybox .s724-qty-control {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: stretch;
  border: 1px solid #cbd7ea;
  border-radius: 10px;
  overflow: hidden;
  height: 52px;
  background: #fff;
}

body.single-product .s724-modern-buybox .s724-qty-btn {
  border: 0;
  background: #eef3ff;
  color: #1d4a8e;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

body.single-product .s724-modern-buybox .s724-qty-btn:hover {
  background: #e0ebff;
}

body.single-product .s724-modern-buybox .s724-qty-control .qty {
  width: 100% !important;
  max-width: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 52px !important;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
}

body.single-product .s724-modern-buybox .single_add_to_cart_button.button.alt {
  width: 100% !important;
  min-height: 52px;
}

@media (max-width: 767px) {
  body.single-product .s724-modern-contactrow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.single-product .s724-modern-buybox .woocommerce-variation-add-to-cart {
    grid-template-columns: 124px minmax(0, 1fr) !important;
  }

  body.single-product .s724-modern-buybox .quantity {
    width: 124px !important;
  }

  body.single-product .s724-contact-btn {
    min-height: 46px;
    font-size: 14px;
  }
}

/* v6 tabs modernization */
body.single-product .s724-modern-tabs-wrap {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

body.single-product .s724-modern-tabs-wrap .wc-tabs {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding: 0;
  margin: 0 0 16px;
  border: 0;
  scrollbar-width: thin;
}

body.single-product .s724-modern-tabs-wrap .wc-tabs li {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  white-space: nowrap;
}

body.single-product .s724-modern-tabs-wrap .wc-tabs li::before,
body.single-product .s724-modern-tabs-wrap .wc-tabs li::after {
  display: none !important;
}

body.single-product .s724-modern-tabs-wrap .wc-tabs li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #d5dfef;
  background: #f5f8ff;
  color: #27466e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2px;
  text-decoration: none;
}

body.single-product .s724-modern-tabs-wrap .wc-tabs li.active a {
  background: linear-gradient(180deg, #2b64ba 0%, #1c4c92 100%);
  border-color: #1f4d94;
  color: #fff;
  box-shadow: 0 8px 18px rgba(34, 87, 168, 0.28);
}

body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel {
  border: 1px solid #dce5f4;
  border-radius: 14px;
  padding: 18px;
  background: #f8fbff;
  color: #2f4669;
  line-height: 1.78;
  max-width: none;
}

body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel h2,
body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel h3 {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  color: #14294c;
  margin: 0 0 10px;
}

body.single-product .s724-modern-tabs-wrap .shop_attributes {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d6e1f2;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

body.single-product .s724-modern-tabs-wrap .shop_attributes th,
body.single-product .s724-modern-tabs-wrap .shop_attributes td {
  padding: 11px 12px;
  border-bottom: 1px solid #e6edf8;
}

body.single-product .s724-modern-tabs-wrap .shop_attributes tr:last-child th,
body.single-product .s724-modern-tabs-wrap .shop_attributes tr:last-child td {
  border-bottom: 0;
}

body.single-product .s724-modern-tabs-wrap .shop_attributes th {
  width: 34%;
  background: #f3f7ff;
  color: #20467b;
  font-weight: 800;
}

body.single-product .s724-modern-tabs-wrap .shop_attributes td {
  background: #fff;
  color: #2f496f;
}

body.single-product .s724-modern-tabs-wrap #reviews {
  margin: 0;
}

body.single-product .s724-modern-tabs-wrap #reviews #comments {
  margin-bottom: 14px;
}

body.single-product .s724-modern-tabs-wrap #reviews .woocommerce-Reviews-title {
  font-family: 'Lato', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #13284a;
  margin: 0 0 12px;
}

body.single-product .s724-modern-tabs-wrap #reviews ol.commentlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.single-product .s724-modern-tabs-wrap #reviews ol.commentlist li {
  background: #fff;
  border: 1px solid #d8e2f1;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

body.single-product .s724-modern-tabs-wrap #review_form_wrapper {
  margin-top: 10px;
}

body.single-product .s724-modern-tabs-wrap #review_form {
  background: #fff;
  border: 1px solid #d8e2f1;
  border-radius: 12px;
  padding: 14px;
}

body.single-product .s724-modern-tabs-wrap #review_form .comment-reply-title {
  display: block;
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  color: #15305a;
  margin-bottom: 10px;
}

body.single-product .s724-modern-tabs-wrap #review_form .comment-form-rating,
body.single-product .s724-modern-tabs-wrap #review_form .comment-form-comment,
body.single-product .s724-modern-tabs-wrap #review_form .comment-form-author,
body.single-product .s724-modern-tabs-wrap #review_form .comment-form-email,
body.single-product .s724-modern-tabs-wrap #review_form .comment-form-cookies-consent {
  margin-bottom: 10px;
}

body.single-product .s724-modern-tabs-wrap #review_form label {
  display: block;
  margin-bottom: 6px;
  color: #2b4770;
  font-weight: 700;
}

body.single-product .s724-modern-tabs-wrap #review_form textarea,
body.single-product .s724-modern-tabs-wrap #review_form input[type='text'],
body.single-product .s724-modern-tabs-wrap #review_form input[type='email'],
body.single-product .s724-modern-tabs-wrap #review_form select {
  width: 100%;
  border: 1px solid #cfdbee;
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 12px;
  background: #fcfdff;
}

body.single-product .s724-modern-tabs-wrap #review_form textarea {
  min-height: 120px;
}

body.single-product .s724-modern-tabs-wrap #review_form .submit {
  width: 100%;
  border: 0;
  min-height: 48px;
  border-radius: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #2d66bd 0%, #1f4d94 100%);
  box-shadow: 0 10px 24px rgba(34, 87, 168, 0.3);
}

@media (max-width: 767px) {
  body.single-product .s724-modern-tabs-wrap {
    padding: 14px;
  }

  body.single-product .s724-modern-tabs-wrap .wc-tabs li a {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 12px;
  }

  body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel {
    padding: 14px;
  }
}

/* v7 tabs contrast fix */
body.single-product .s724-modern-tabs-wrap .wc-tabs li a {
  background: #eef3ff !important;
  color: #1f3f6d !important;
  border: 1px solid #c9d7ee !important;
}

body.single-product .s724-modern-tabs-wrap .wc-tabs li.active a,
body.single-product .s724-modern-tabs-wrap .wc-tabs li.active a:hover,
body.single-product .s724-modern-tabs-wrap .wc-tabs li.active a:focus {
  background: #1f4d94 !important;
  color: #ffffff !important;
  border-color: #1f4d94 !important;
  box-shadow: 0 8px 18px rgba(31, 77, 148, 0.32) !important;
}

body.single-product .s724-modern-tabs-wrap .wc-tabs li a:hover,
body.single-product .s724-modern-tabs-wrap .wc-tabs li a:focus {
  background: #e4edff !important;
  color: #17365f !important;
}

/* v8 tab layout + spacing overhaul */
body.single-product .s724-modern-tabs-wrap {
  margin-top: 36px !important;
  padding: 26px !important;
  border-radius: 20px !important;
  border: 1px solid #d5dff0 !important;
  background: #ffffff !important;
  box-shadow: 0 14px 36px rgba(18, 40, 76, 0.08) !important;
}

body.single-product .s724-modern-tabs-wrap .wc-tabs {
  display: flex !important;
  align-items: center;
  gap: 12px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.single-product .s724-modern-tabs-wrap .wc-tabs li {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

body.single-product .s724-modern-tabs-wrap .wc-tabs li a {
  width: 100% !important;
  min-height: 50px !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel {
  margin-top: 0 !important;
  border-radius: 14px !important;
  border: 1px solid #dbe5f5 !important;
  background: #f9fbff !important;
  padding: 26px !important;
}

body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel > *:first-child {
  margin-top: 0 !important;
}

body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel > *:last-child {
  margin-bottom: 0 !important;
}

body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel p {
  margin: 0 0 14px !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #2f4669 !important;
}

body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel ul,
body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel ol {
  margin: 0 0 16px !important;
  padding-left: 20px !important;
}

body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel li {
  margin: 0 0 8px !important;
  line-height: 1.7 !important;
}

body.single-product .s724-modern-tabs-wrap .shop_attributes {
  margin-top: 6px !important;
}

body.single-product .s724-modern-tabs-wrap .shop_attributes th,
body.single-product .s724-modern-tabs-wrap .shop_attributes td {
  padding: 14px 14px !important;
  font-size: 14px !important;
}

body.single-product .s724-modern-tabs-wrap #reviews .woocommerce-Reviews-title {
  margin-bottom: 14px !important;
}

body.single-product .s724-modern-tabs-wrap #review_form {
  margin-top: 8px !important;
  padding: 18px !important;
}

body.single-product .s724-modern-tabs-wrap #review_form .comment-notes {
  margin-bottom: 12px !important;
}

body.single-product .s724-modern-tabs-wrap #review_form textarea,
body.single-product .s724-modern-tabs-wrap #review_form input[type='text'],
body.single-product .s724-modern-tabs-wrap #review_form input[type='email'],
body.single-product .s724-modern-tabs-wrap #review_form select {
  padding: 12px 13px !important;
}

body.single-product .s724-modern-tabs-wrap #review_form .submit {
  margin-top: 6px !important;
}

@media (max-width: 991px) {
  body.single-product .s724-modern-tabs-wrap {
    padding: 18px !important;
  }

  body.single-product .s724-modern-tabs-wrap .wc-tabs {
    overflow-x: auto !important;
    padding-bottom: 2px !important;
  }

  body.single-product .s724-modern-tabs-wrap .wc-tabs li {
    flex: 0 0 auto !important;
    min-width: 170px !important;
  }

  body.single-product .s724-modern-tabs-wrap .wc-tabs li a {
    min-height: 46px !important;
    font-size: 13px !important;
  }

  body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel {
    padding: 18px !important;
  }
}

@media (max-width: 767px) {
  body.single-product .s724-modern-tabs-wrap {
    margin-top: 22px !important;
    padding: 14px !important;
    border-radius: 14px !important;
  }

  body.single-product .s724-modern-tabs-wrap .wc-tabs {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  body.single-product .s724-modern-tabs-wrap .wc-tabs li {
    min-width: 148px !important;
  }

  body.single-product .s724-modern-tabs-wrap .wc-tabs li a {
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
  }

  body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel {
    padding: 14px !important;
  }

  body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel p,
  body.single-product .s724-modern-tabs-wrap .woocommerce-Tabs-panel li {
    font-size: 14px !important;
  }
}

/* v9 cart + checkout modernization */
body.woocommerce-cart,
body.woocommerce-checkout {
  font-family: 'Open Sans', sans-serif;
  color: #13284a;
  background: radial-gradient(1200px 520px at 12% -80px, #f8fbff 0%, #eef2f8 58%, #edf1f7 100%);
}

body.woocommerce-cart #s724-topbar,
body.woocommerce-checkout #s724-topbar {
  display: none;
}

body.woocommerce-cart #s724-head,
body.woocommerce-checkout #s724-head {
  padding-top: 12px !important;
  padding-bottom: 10px !important;
  background: linear-gradient(90deg, #0f1d3a 0%, #132a4f 100%);
}

body.woocommerce-cart .s724-panel,
body.woocommerce-checkout .s724-panel {
  background: transparent !important;
  padding: 16px 0 56px !important;
}

body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
  margin: 0 0 16px;
  font-family: 'Lato', sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
  color: #102347;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  background: #ffffff;
  border: 1px solid #d7e0ef;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(16, 35, 68, 0.08);
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper {
  margin-bottom: 12px;
}

body.woocommerce-cart .woocommerce-info,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-error {
  border: 1px solid #cfdbef;
  border-radius: 12px;
  background: #f4f8ff;
  color: #23446f;
}

body.woocommerce-cart .s724-flow-steps,
body.woocommerce-checkout .s724-flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
}

body.woocommerce-cart .s724-flow-step,
body.woocommerce-checkout .s724-flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid #d6e1f3;
  background: #f5f8ff;
  color: #32537f;
  font-size: 13px;
  font-weight: 800;
}

body.woocommerce-cart .s724-flow-step__dot,
body.woocommerce-checkout .s724-flow-step__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #aac0e6;
  box-shadow: 0 0 0 3px rgba(170, 192, 230, 0.25);
}

body.woocommerce-cart .s724-flow-step.is-active,
body.woocommerce-checkout .s724-flow-step.is-active {
  border-color: #1f4d94;
  background: linear-gradient(180deg, #2d66bd 0%, #1f4d94 100%);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(31, 77, 148, 0.26);
}

body.woocommerce-cart .s724-flow-step.is-active .s724-flow-step__dot,
body.woocommerce-checkout .s724-flow-step.is-active .s724-flow-step__dot {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

body.woocommerce-cart .s724-flow-step.is-done,
body.woocommerce-checkout .s724-flow-step.is-done {
  border-color: #b7ead3;
  background: #ebfbf2;
  color: #12724f;
}

body.woocommerce-cart .s724-flow-step.is-done .s724-flow-step__dot,
body.woocommerce-checkout .s724-flow-step.is-done .s724-flow-step__dot {
  background: #14a46b;
  box-shadow: 0 0 0 3px rgba(20, 164, 107, 0.22);
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals {
  margin-top: 14px;
}

body.woocommerce-cart .woocommerce-cart-form__contents {
  border: 1px solid #d8e3f2;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

body.woocommerce-cart .shop_table thead th {
  background: #f1f6ff;
  color: #1e3f6a;
  border: 0;
  padding: 14px 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
}

body.woocommerce-cart .shop_table td {
  border-top: 1px solid #e2eaf7;
  padding: 14px 12px;
  vertical-align: middle;
}

body.woocommerce-cart .product-thumbnail img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d5e0f2;
}

body.woocommerce-cart .product-name a {
  color: #153460;
  font-size: 16px;
  font-weight: 700;
}

body.woocommerce-cart .product-remove .remove {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fbe9eb;
  color: #9f2334 !important;
  line-height: 32px;
  border: 1px solid #f2ccd1;
}

body.woocommerce-cart .product-remove .remove:hover {
  background: #f8d8de;
  color: #8f1326 !important;
}

body.woocommerce-cart .quantity .qty,
body.woocommerce-cart .input-text,
body.woocommerce-cart select {
  min-height: 44px;
  border: 1px solid #cfdcec;
  border-radius: 10px;
  padding: 9px 12px;
  background: #ffffff;
}

body.woocommerce-cart .actions {
  background: #f9fbff;
}

body.woocommerce-cart .actions .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.woocommerce-cart .actions .coupon .input-text {
  width: 220px;
}

body.woocommerce-cart .button,
body.woocommerce-checkout .button,
body.woocommerce-cart button.button,
body.woocommerce-checkout button.button {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 800;
}

body.woocommerce-cart .button:not(.checkout-button),
body.woocommerce-checkout .button:not(.alt):not(#place_order) {
  background: #eaf1ff;
  color: #18407b;
}

body.woocommerce-cart .cart-collaterals {
  display: flex;
  justify-content: flex-end;
}

body.woocommerce-cart .cart_totals {
  width: min(430px, 100%);
  background: #ffffff;
  border: 1px solid #d6e0f1;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 14px 28px rgba(18, 42, 80, 0.08);
}

body.woocommerce-cart .cart_totals h2 {
  margin: 0 0 12px;
  font-family: 'Lato', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #122d54;
}

body.woocommerce-cart .cart_totals .shop_table th,
body.woocommerce-cart .cart_totals .shop_table td {
  padding: 12px 10px;
  border-color: #e3ebf8;
}

body.woocommerce-cart .wc-proceed-to-checkout {
  padding-bottom: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  background: linear-gradient(180deg, #2d66bd 0%, #1f4d94 100%);
  color: #ffffff !important;
  box-shadow: 0 12px 26px rgba(34, 87, 168, 0.3);
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  margin-bottom: 14px;
}

body.woocommerce-checkout .checkout_coupon {
  margin: 0 0 16px;
  border: 1px solid #d8e2f2;
  border-radius: 14px;
  padding: 14px;
  background: #f8fbff;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}

body.woocommerce-checkout .col2-set,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  float: none;
  width: 100%;
}

body.woocommerce-checkout .col2-set {
  display: block;
  margin: 0;
}

body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: 100%;
  margin: 0;
}

/* Bootstrap override: Woo uses .col-1/.col-2 class names, force full width in checkout columns */
body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  border: 1px solid #d8e3f2;
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 35, 68, 0.06);
}

body.woocommerce-checkout .woocommerce-billing-fields + .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-shipping-fields + .woocommerce-additional-fields {
  margin-top: 14px;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review_heading {
  margin: 0 0 14px;
  font-family: 'Lato', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #112a4d;
}

body.woocommerce-checkout .form-row {
  display: block !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  padding: 0 !important;
  margin-bottom: 12px;
}

body.woocommerce-checkout .form-row-wide,
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row:not(.form-row-first):not(.form-row-last),
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper .form-row:not(.form-row-first):not(.form-row-last) {
  grid-column: 1 / -1;
}

body.woocommerce-checkout .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

body.woocommerce-checkout .form-row label {
  margin-bottom: 6px;
  color: #2a4a74;
  font-size: 13px;
  font-weight: 700;
}

body.woocommerce-checkout .input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea {
  width: 100% !important;
  min-height: 46px;
  border: 1px solid #cfdcec;
  border-radius: 10px;
  background: #fcfdff;
  padding: 10px 12px;
}

body.woocommerce-checkout textarea {
  min-height: 94px;
}

body.woocommerce-checkout #order_review_heading {
  margin: 0;
  padding: 18px 18px 0;
  border: 1px solid #d8e2f2;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #ffffff;
}

body.woocommerce-checkout #order_review {
  border: 1px solid #d8e2f2;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #ffffff;
  padding: 0 18px 18px;
  box-shadow: 0 12px 26px rgba(16, 35, 68, 0.08);
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  margin: 0;
  border: 1px solid #d8e4f4;
  border-radius: 12px;
  overflow: hidden;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  border-color: #e4ecf8;
  padding: 12px 10px;
}

body.woocommerce-checkout .woocommerce-checkout-payment {
  margin-top: 14px;
  border: 1px solid #d8e3f2;
  border-radius: 12px;
  background: #f8fbff;
  padding: 12px;
}

body.woocommerce-checkout .wc_payment_methods {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

body.woocommerce-checkout .wc_payment_methods > li {
  border: 1px solid #d4e0f1;
  border-radius: 10px;
  padding: 10px;
  background: #ffffff;
}

body.woocommerce-checkout .place-order {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px dashed #cfdbed;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.6;
}

body.woocommerce-cart .return-to-shop .button,
body.woocommerce-checkout .return-to-shop .button {
  min-width: 220px;
}

body.woocommerce-cart .cart-empty,
body.woocommerce-checkout .cart-empty {
  margin: 0 0 12px;
}

@media (max-width: 991px) {
  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.woocommerce-checkout #order_review_heading {
    padding: 16px 16px 0;
  }

  body.woocommerce-checkout #order_review {
    padding: 0 16px 16px;
  }
}

@media (max-width: 767px) {
  body.woocommerce-cart #s724-head,
  body.woocommerce-checkout #s724-head {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  body.woocommerce-cart #s724-mobilbar,
  body.woocommerce-cart #s724-mobilbar2,
  body.woocommerce-cart .s724-mobilbar,
  body.woocommerce-checkout #s724-mobilbar,
  body.woocommerce-checkout #s724-mobilbar2,
  body.woocommerce-checkout .s724-mobilbar {
    display: none !important;
  }

  body.woocommerce-cart .s724-panel,
  body.woocommerce-checkout .s724-panel {
    padding: 10px 0 28px !important;
  }

  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce {
    border-radius: 16px;
    padding: 14px;
  }

  body.woocommerce-cart .entry-title,
  body.woocommerce-checkout .entry-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  body.woocommerce-cart .s724-flow-steps,
  body.woocommerce-checkout .s724-flow-steps {
    gap: 8px;
    margin-bottom: 12px;
  }

  body.woocommerce-cart .s724-flow-step,
  body.woocommerce-checkout .s724-flow-step {
    min-height: 42px;
    font-size: 12px;
    padding: 0 6px;
  }

  body.woocommerce-cart .shop_table_responsive thead {
    display: none;
  }

  body.woocommerce-cart .shop_table_responsive tr.cart_item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px 12px;
    border-bottom: 1px solid #e2eaf7;
    padding: 12px;
    background: #ffffff;
  }

  body.woocommerce-cart .shop_table_responsive tr.cart_item td {
    border: 0;
    padding: 0;
  }

  body.woocommerce-cart .shop_table_responsive tr.cart_item td.product-remove {
    grid-column: 2;
    justify-self: end;
  }

  body.woocommerce-cart .shop_table_responsive tr.cart_item td.product-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 5;
  }

  body.woocommerce-cart .shop_table_responsive tr.cart_item td.product-name,
  body.woocommerce-cart .shop_table_responsive tr.cart_item td.product-price,
  body.woocommerce-cart .shop_table_responsive tr.cart_item td.product-quantity,
  body.woocommerce-cart .shop_table_responsive tr.cart_item td.product-subtotal {
    grid-column: 2;
  }

  body.woocommerce-cart .product-thumbnail img {
    width: 72px;
    height: 72px;
  }

  body.woocommerce-cart .actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px !important;
  }

  body.woocommerce-cart .actions .coupon {
    width: 100%;
  }

  body.woocommerce-cart .actions .coupon .input-text,
  body.woocommerce-cart .actions .coupon .button,
  body.woocommerce-cart .actions > .button {
    width: 100%;
  }

  body.woocommerce-cart .cart_totals {
    padding: 14px;
    border-radius: 14px;
  }

  body.woocommerce-cart .cart_totals h2 {
    font-size: 21px;
  }

  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout .woocommerce-additional-fields {
    padding: 14px;
    border-radius: 14px;
  }

  body.woocommerce-checkout .woocommerce-billing-fields h3,
  body.woocommerce-checkout .woocommerce-shipping-fields h3,
  body.woocommerce-checkout .woocommerce-additional-fields h3,
  body.woocommerce-checkout #order_review_heading {
    font-size: 22px;
  }

  body.woocommerce-checkout .form-row-first,
  body.woocommerce-checkout .form-row-last {
    grid-column: 1 / -1;
  }

  body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
  body.woocommerce-checkout #place_order,
  body.woocommerce-checkout .checkout_coupon .button {
    width: 100%;
  }
}

/* v10 stripe-like full-width redesign for cart + checkout */
body.woocommerce-cart .s724-panel > .container,
body.woocommerce-checkout .s724-panel > .container {
  width: 100%;
  max-width: none !important;
  padding-left: 28px;
  padding-right: 28px;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  width: 100%;
  border-radius: 18px;
  border: 1px solid #e2e8f3;
  background: #f8fafd;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(15, 35, 69, 0.06);
}

body.woocommerce-cart .woocommerce-cart-form__contents,
body.woocommerce-checkout .woocommerce-checkout-review-order-table,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout .woocommerce-checkout-payment,
body.woocommerce-cart .cart_totals {
  border-color: #dfe6f2 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 6px 16px rgba(20, 45, 88, 0.05) !important;
}

body.woocommerce-cart .shop_table thead th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  background: #f3f6fb !important;
  color: #1b365f !important;
  border-bottom: 1px solid #e4eaf5 !important;
}

body.woocommerce-cart .shop_table td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table th {
  border-color: #e9eef7 !important;
}

body.woocommerce-cart .product-name a,
body.woocommerce-checkout .product-name {
  color: #0f2d57 !important;
  font-weight: 700;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-checkout #place_order {
  background: #0a2540 !important;
  color: #ffffff !important;
  border: 1px solid #0a2540 !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 22px rgba(10, 37, 64, 0.25) !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-checkout #place_order:hover {
  background: #133a63 !important;
  border-color: #133a63 !important;
}

body.woocommerce-cart .button:not(.checkout-button),
body.woocommerce-checkout .button:not(.alt):not(#place_order) {
  background: #eef3fb !important;
  color: #133b65 !important;
  border: 1px solid #d5e0f0 !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout {
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 20px;
}

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  position: sticky;
  top: 14px;
}

body.woocommerce-checkout .input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea,
body.woocommerce-cart .quantity .qty,
body.woocommerce-cart .input-text {
  border: 1px solid #cad7ea !important;
  border-radius: 10px !important;
  background: #ffffff !important;
}

body.woocommerce-checkout .input-text:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-cart .quantity .qty:focus,
body.woocommerce-cart .input-text:focus {
  border-color: #635bff !important;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.16) !important;
  outline: 0 !important;
}

body.woocommerce-checkout .form-row label,
body.woocommerce-cart .shop_table thead th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  letter-spacing: .02em;
}

@media (max-width: 1200px) {
  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    position: static;
  }
}

@media (max-width: 767px) {
  body.woocommerce-cart .s724-panel > .container,
  body.woocommerce-checkout .s724-panel > .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout .woocommerce {
    padding: 12px;
    border-radius: 14px;
  }
}

/* v11 stripe-inspired checkout/cart refinement */
body.woocommerce-cart,
body.woocommerce-checkout {
  background: #f6f9fc;
  color: #0a2540;
}

body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
  color: #0a2540;
  font-weight: 800;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.woocommerce-cart .s724-flow-steps,
body.woocommerce-checkout .s724-flow-steps {
  background: #ffffff;
  border: 1px solid #e6ebf1;
  border-radius: 12px;
  padding: 6px;
}

body.woocommerce-cart .s724-flow-step,
body.woocommerce-checkout .s724-flow-step {
  min-height: 40px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: #425466;
  font-weight: 700;
}

body.woocommerce-cart .s724-flow-step.is-active,
body.woocommerce-checkout .s724-flow-step.is-active {
  background: #eef2ff;
  border-color: #d8ddff;
  color: #1b2b52;
  box-shadow: none;
}

body.woocommerce-cart .s724-flow-step.is-done,
body.woocommerce-checkout .s724-flow-step.is-done {
  background: #f1faf5;
  border-color: #d6f1e2;
  color: #1f7a4f;
}

body.woocommerce-cart .s724-flow-step__dot,
body.woocommerce-checkout .s724-flow-step__dot {
  width: 8px;
  height: 8px;
  box-shadow: none;
}

body.woocommerce-cart .s724-flow-step.is-active .s724-flow-step__dot,
body.woocommerce-checkout .s724-flow-step.is-active .s724-flow-step__dot {
  background: #635bff;
}

body.woocommerce-cart .woocommerce-info,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-message {
  background: #ffffff;
  border: 1px solid #e4ebf5;
  border-radius: 12px;
  color: #425466;
}

body.woocommerce-cart .woocommerce-cart-form__contents {
  background: #ffffff !important;
  border: 1px solid #e6ebf1 !important;
  border-radius: 14px !important;
}

body.woocommerce-cart .shop_table thead th {
  background: #f6f9fc !important;
  color: #425466 !important;
  border-bottom: 1px solid #e6ebf1 !important;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}

body.woocommerce-cart .shop_table td {
  border-top: 1px solid #eef2f7 !important;
}

body.woocommerce-cart .product-name a {
  color: #0a2540 !important;
}

body.woocommerce-cart .cart-collaterals {
  display: flex;
  justify-content: flex-end;
}

body.woocommerce-cart .cart_totals {
  width: min(460px, 100%);
  background: #ffffff !important;
  border: 1px solid #e6ebf1 !important;
  border-radius: 14px !important;
}

body.woocommerce-cart .cart_totals h2 {
  color: #0a2540;
  font-size: 34px;
  font-weight: 700;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
body.woocommerce-checkout form.checkout_coupon {
  background: #ffffff;
  border: 1px solid #e6ebf1 !important;
  border-radius: 12px;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 20px;
  align-items: start;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout .col2-set {
  grid-column: 1;
  background: #ffffff;
  border: 1px solid #e6ebf1;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 1px 2px rgba(50, 50, 93, 0.06);
}

body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review {
  grid-column: 2;
}

body.woocommerce-checkout #order_review_heading {
  display: none !important;
}

body.woocommerce-checkout #order_review {
  grid-row: 1;
  align-self: start;
  padding: 16px;
  border: 1px solid #e6ebf1 !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  position: sticky;
  top: 14px;
}

body.woocommerce-checkout #order_review::before {
  content: "Siparisiniz";
  display: block;
  margin: 0 0 12px;
  color: #0a2540;
  font-family: 'Lato', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  background: #ffffff !important;
  border: 1px solid #e6ebf1 !important;
  border-radius: 10px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  border-color: #edf2f7 !important;
  color: #0a2540;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3 {
  color: #0a2540;
  font-size: 24px;
  margin-bottom: 14px;
}

body.woocommerce-checkout .form-row label {
  color: #425466;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
}

body.woocommerce-checkout .input-text,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea,
body.woocommerce-cart .input-text,
body.woocommerce-cart .qty {
  min-height: 44px;
  border: 1px solid #d7dee8 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #0a2540;
  box-shadow: none !important;
}

body.woocommerce-checkout .input-text:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-cart .input-text:focus,
body.woocommerce-cart .qty:focus {
  border-color: #635bff !important;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.16) !important;
  outline: none !important;
}

body.woocommerce-checkout .woocommerce-checkout-payment {
  background: #ffffff !important;
  border: 1px solid #e6ebf1 !important;
  border-radius: 10px !important;
  padding: 12px !important;
}

body.woocommerce-checkout .wc_payment_methods > li {
  border: 1px solid #dce3ee !important;
  border-radius: 10px !important;
  background: #ffffff !important;
}

body.woocommerce-checkout .wc_payment_methods input[type="radio"] {
  accent-color: #635bff;
}

body.woocommerce-checkout .place-order {
  border-top: 1px solid #eef2f7 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-checkout #place_order {
  min-height: 46px;
  background: #635bff !important;
  border: 1px solid #635bff !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 16px rgba(99, 91, 255, 0.28) !important;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
body.woocommerce-checkout #place_order:hover {
  background: #564fe4 !important;
  border-color: #564fe4 !important;
}

@media (max-width: 1199px) {
  body.woocommerce-checkout form.checkout.woocommerce-checkout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout form.checkout.woocommerce-checkout #order_review {
    grid-column: 1;
  }

  body.woocommerce-checkout #order_review {
    grid-row: auto;
    position: static;
  }
}

@media (max-width: 767px) {
  body.woocommerce-checkout form.checkout.woocommerce-checkout .col2-set {
    padding: 14px;
    border-radius: 12px;
  }

  body.woocommerce-checkout #order_review {
    padding: 14px;
    border-radius: 12px !important;
  }

  body.woocommerce-checkout #order_review::before {
    font-size: 34px;
    margin-bottom: 10px;
  }
}
