/* SYFAROBD v1.5.58 — mobile-only rendering optimizations. */
@media (max-width: 780px) {
  /* Below-the-fold homepage product rails can be laid out when they approach the viewport. */
  .home .syf-home-products-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 460px;
  }

  /* Product details/reviews are below the primary purchase area on narrow screens. */
  .single-product .syf-pdp-v9-detail-layout {
    content-visibility: auto;
    contain-intrinsic-size: auto 1100px;
  }
}

/* SYFAROBD v1.5.59 — mobile-only product page rebuild.
   Loaded through the mobile-only stylesheet handle; desktop presentation is untouched. */
@media (max-width: 780px) {
  .single-product .syf-archive-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0 calc(82px + env(safe-area-inset-bottom)) !important;
  }

  .single-product .syf-product-page-v9 {
    width: calc(100% - 16px) !important;
    max-width: 620px !important;
    margin: 10px auto 22px !important;
    color: #263d30 !important;
  }

  .single-product .syf-pdp-v9-breadcrumb {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
    margin: 0 3px 9px !important;
    overflow: hidden !important;
    color: #849188 !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }

  .single-product .syf-pdp-v9-breadcrumb > span,
  .single-product .syf-pdp-v9-breadcrumb a {
    flex: 0 0 auto !important;
  }

  .single-product .syf-pdp-v9-layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 11px !important;
  }

  /* Gallery is the first section, followed by the product's existing information. */
  .single-product .syf-pdp-v9-gallery-card,
  .single-product .syf-pdp-v9-summary-card,
  .single-product .syf-pdp-v9-details-card,
  .single-product .syf-pdp-v9-help-card {
    min-width: 0 !important;
    border: 1px solid #e5ede7 !important;
    border-radius: 17px !important;
    background: #fff !important;
    box-shadow: 0 5px 20px rgba(24, 62, 41, .055) !important;
  }

  .single-product .syf-pdp-v9-gallery-card {
    order: 1 !important;
    padding: 10px !important;
    overflow: hidden !important;
    background: linear-gradient(150deg, #f7faf7 0%, #fff 72%) !important;
  }

  .single-product .syf-pdp-v9-gallery-top {
    min-height: 25px !important;
    margin: 0 1px 8px !important;
  }

  .single-product .syf-pdp-v9-brand {
    color: #728579 !important;
    font-size: 9px !important;
    letter-spacing: .85px !important;
  }

  .single-product .syf-pdp-v9-sale {
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: #fff1d9 !important;
    color: #9b6416 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
  }

  .single-product .syf-pdp-v9-gallery-stage {
    display: block !important;
    min-height: 0 !important;
    padding: 5px !important;
    overflow: hidden !important;
    border: 1px solid #edf2ee !important;
    border-radius: 14px !important;
    background: radial-gradient(circle at 50% 40%, #fff 0%, #fbfdfb 67%, #f2f7f3 100%) !important;
  }

  .single-product .syf-pdp-v9-gallery-stage .woocommerce-product-gallery {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
  }

  .single-product .syf-pdp-v9-gallery-stage .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
  }

  .single-product .syf-pdp-v9-gallery-stage .woocommerce-product-gallery__image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .single-product .syf-pdp-v9-gallery-stage .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    height: clamp(270px, 88vw, 380px) !important;
    max-height: 380px !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .single-product .syf-pdp-v9-gallery-stage .woocommerce-product-gallery__trigger {
    top: 9px !important;
    right: 9px !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid #e5ece7 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: 0 3px 10px rgba(31, 56, 40, .09) !important;
  }

  /* WooCommerce's native image slider thumbnails stay touch-scrollable. */
  .single-product .syf-pdp-v9-gallery-stage .flex-control-thumbs {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 10px 0 1px !important;
    padding: 2px 1px 4px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .single-product .syf-pdp-v9-gallery-stage .flex-control-thumbs::-webkit-scrollbar {
    display: none !important;
  }

  .single-product .syf-pdp-v9-gallery-stage .flex-control-thumbs li {
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 58px !important;
    margin: 0 !important;
    padding: 3px !important;
    overflow: hidden !important;
    border: 1px solid #e3ebe5 !important;
    border-radius: 11px !important;
    background: #fff !important;
  }

  .single-product .syf-pdp-v9-gallery-stage .flex-control-thumbs li img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 7px !important;
    object-fit: contain !important;
    opacity: .68 !important;
  }

  .single-product .syf-pdp-v9-gallery-stage .flex-control-thumbs li img.flex-active {
    opacity: 1 !important;
    box-shadow: inset 0 0 0 2px #176b52 !important;
  }

  /* The caption only repeats that the block is a product gallery. */
  .single-product .syf-pdp-v9-gallery-caption {
    display: none !important;
  }

  .single-product .syf-pdp-v9-summary-card {
    order: 2 !important;
    position: static !important;
    padding: 15px !important;
    border-radius: 17px !important;
    box-shadow: 0 5px 20px rgba(24, 62, 41, .05) !important;
  }

  /* Gallery already carries the store mark; retain only stock on this row. */
  .single-product .syf-pdp-v9-topline {
    justify-content: flex-end !important;
    margin: 0 0 9px !important;
  }

  .single-product .syf-pdp-v9-trust-label {
    display: none !important;
  }

  .single-product .syf-pdp-v9-stock {
    min-height: 27px !important;
    padding: 5px 9px !important;
    font-size: 10px !important;
  }

  .single-product .syf-pdp-v9-categories {
    gap: 6px !important;
    margin: 0 0 9px !important;
  }

  .single-product .syf-pdp-v9-categories a {
    padding: 5px 9px !important;
    border: 1px solid #e5eee7 !important;
    border-radius: 999px !important;
    background: #f6faf7 !important;
    color: #577260 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  .single-product .syf-pdp-v9-title {
    margin: 0 0 9px !important;
    color: #203a2b !important;
    font-size: clamp(21px, 5.6vw, 26px) !important;
    font-weight: 900 !important;
    line-height: 1.34 !important;
    letter-spacing: -.25px !important;
    overflow-wrap: anywhere !important;
  }

  .single-product .syf-pdp-v9-rating-row {
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 0 0 12px !important;
    color: #79877e !important;
    font-size: 10px !important;
  }

  .single-product .syf-pdp-v9-rating-row .star-rating {
    font-size: 12px !important;
  }

  .single-product .syf-pdp-v9-price-panel {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px 10px !important;
    margin: 0 0 12px !important;
    padding: 12px 13px !important;
    border: 1px solid #dcebe0 !important;
    border-radius: 13px !important;
    background: linear-gradient(110deg, #f0f8f2, #fff) !important;
  }

  .single-product .syf-pdp-v9-price-label {
    flex: 1 0 100% !important;
    font-size: 10px !important;
  }

  .single-product .syf-pdp-v9-price .price {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin: 0 !important;
    color: #176b52 !important;
    font-size: clamp(23px, 6vw, 28px) !important;
    line-height: 1.2 !important;
  }

  .single-product .syf-pdp-v9-price .price del {
    color: #9daaa1 !important;
    font-size: 14px !important;
  }

  /* The gallery sale badge already communicates the discount; avoid a second badge. */
  .single-product .syf-pdp-v9-saving {
    display: none !important;
  }

  .single-product .syf-pdp-v9-excerpt {
    margin: 0 0 13px !important;
    color: #5f7166 !important;
    font-size: 13px !important;
    line-height: 1.75 !important;
  }

  .single-product .syf-pdp-v9-purchase {
    padding: 13px !important;
    border: 1px solid #dfeae2 !important;
    border-radius: 15px !important;
    background: #f8fbf8 !important;
  }

  .single-product .syf-pdp-v9-purchase-heading {
    gap: 9px !important;
    margin: 0 0 11px !important;
  }

  .single-product .syf-pdp-v9-cart-icon {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
    border-radius: 11px !important;
  }

  .single-product .syf-pdp-v9-purchase-heading strong {
    color: #294735 !important;
    font-size: 13px !important;
  }

  .single-product .syf-pdp-v9-purchase-heading small {
    color: #78877d !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
  }

  /* Keep the native WooCommerce form and variation handlers; only improve touch layout. */
  .single-product .syf-pdp-v9-cart form.cart {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    margin: 0 !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .variations {
    display: block !important;
    flex: 1 0 100% !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-spacing: 0 !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .variations tbody,
  .single-product .syf-pdp-v9-cart form.cart .variations tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 5px !important;
    width: 100% !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .variations tr {
    margin: 0 0 10px !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .variations th,
  .single-product .syf-pdp-v9-cart form.cart .variations td {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .variations label {
    display: block !important;
    margin: 0 0 4px !important;
    color: #42584a !important;
    font-size: 11px !important;
    font-weight: 800 !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .variations select {
    width: 100% !important;
    min-height: 46px !important;
    padding: 10px 36px 10px 12px !important;
    border: 1px solid #d9e5dc !important;
    border-radius: 11px !important;
    background-color: #fff !important;
    color: #294333 !important;
    font-size: 13px !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .variations .reset_variations {
    display: inline-block !important;
    margin: 5px 0 0 !important;
    font-size: 10px !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .quantity {
    flex: 0 0 84px !important;
    margin: 0 !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .quantity .qty {
    width: 100% !important;
    min-height: 47px !important;
    border: 1px solid #d9e5dc !important;
    border-radius: 11px !important;
    background: #fff !important;
    font-size: 14px !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .single_add_to_cart_button {
    flex: 1 1 170px !important;
    min-width: 0 !important;
    min-height: 47px !important;
    margin: 0 !important;
    padding: 10px 13px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #176b52, #27885e) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    box-shadow: 0 5px 13px rgba(23, 107, 82, .16) !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .single_variation_wrap {
    flex: 1 0 100% !important;
    width: 100% !important;
    margin-top: 1px !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .woocommerce-variation {
    margin: 0 0 8px !important;
    padding: 9px 10px !important;
    border-radius: 10px !important;
    background: #eef7f0 !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .woocommerce-variation-add-to-cart {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
  }

  .single-product .syf-pdp-v9-cart .syf-product-messenger-order,
  .single-product .syf-pdp-v9-cart .syf-product-whatsapp-order {
    flex: 1 1 calc(50% - 5px) !important;
    min-width: 0 !important;
    min-height: 42px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    font-size: 10px !important;
  }

  .single-product .syf-pdp-v9-benefits {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: start !important;
    gap: 8px !important;
    margin: 13px 0 10px !important;
    padding: 12px 0 !important;
    border-top: 1px solid #edf2ee !important;
    border-bottom: 1px solid #edf2ee !important;
  }

  .single-product .syf-pdp-v9-benefits span {
    display: flex !important;
    align-items: flex-start !important;
    gap: 5px !important;
    min-width: 0 !important;
    color: #64766a !important;
    font-size: 9px !important;
    line-height: 1.45 !important;
  }

  .single-product .syf-pdp-v9-benefits i {
    flex: 0 0 15px !important;
    width: 15px !important;
    height: 15px !important;
    font-size: 9px !important;
  }

  /* Categories are already displayed above the title; retain the SKU only here. */
  .single-product .syf-pdp-v9-meta {
    margin: 8px 0 0 !important;
    color: #78877d !important;
    font-size: 10px !important;
  }

  .single-product .syf-pdp-v9-meta .posted_in {
    display: none !important;
  }

  .single-product .syf-pdp-v9-extra-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }

  .single-product .syf-pdp-v9-extra-actions > * {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 39px !important;
    margin: 0 !important;
    padding: 7px 8px !important;
    border: 1px solid #e2ebe4 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #607267 !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }

  .single-product .syf-pdp-v9-detail-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 11px !important;
    margin-top: 12px !important;
  }

  .single-product .syf-pdp-v9-details-card {
    order: 1 !important;
    padding: 15px !important;
    border-radius: 16px !important;
  }

  .single-product .syf-pdp-v9-details-heading {
    margin: 0 0 12px !important;
    padding: 0 0 12px !important;
  }

  .single-product .syf-pdp-v9-details-heading > span {
    font-size: 9px !important;
  }

  .single-product .syf-pdp-v9-details-heading h2 {
    margin: 5px 0 4px !important;
    color: #294735 !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
  }

  .single-product .syf-pdp-v9-details-heading p {
    font-size: 11px !important;
    line-height: 1.6 !important;
  }

  /* These shortcuts duplicate the native WooCommerce tab links immediately below. */
  .single-product .syf-pdp-v9-detail-shortcuts {
    display: none !important;
  }

  .single-product .syf-pdp-v9-details-content,
  .single-product .syf-pdp-v9-details-content .woocommerce-Tabs-panel {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .single-product .syf-pdp-v9-details-content .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: 6px !important;
    margin: 0 0 11px !important;
    padding: 0 0 4px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scrollbar-width: none !important;
  }

  .single-product .syf-pdp-v9-details-content .woocommerce-tabs ul.tabs::-webkit-scrollbar {
    display: none !important;
  }

  .single-product .syf-pdp-v9-details-content .woocommerce-tabs ul.tabs li {
    flex: 0 0 auto !important;
    border: 1px solid #e2ebe4 !important;
    border-radius: 999px !important;
    background: #f7faf7 !important;
  }

  .single-product .syf-pdp-v9-details-content .woocommerce-tabs ul.tabs li a {
    padding: 9px 12px !important;
    color: #5f7466 !important;
    font-size: 10px !important;
  }

  .single-product .syf-pdp-v9-details-content .woocommerce-tabs ul.tabs li.active {
    border-color: #c7dfce !important;
    background: #eaf5ed !important;
  }

  .single-product .syf-pdp-v9-details-content .woocommerce-Tabs-panel {
    padding: 13px !important;
    border: 1px solid #e8efe9 !important;
    border-radius: 12px !important;
    background: #fcfdfc !important;
    color: #586b5e !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
  }

  .single-product .syf-pdp-v9-details-content .related,
  .single-product .syf-pdp-v9-details-content .up-sells {
    margin-top: 20px !important;
  }

  .single-product .syf-pdp-v9-details-content .related > h2,
  .single-product .syf-pdp-v9-details-content .up-sells > h2 {
    margin-bottom: 10px !important;
    color: #294735 !important;
    font-size: 17px !important;
  }

  .single-product .syf-pdp-v9-details-content .related ul.products,
  .single-product .syf-pdp-v9-details-content .up-sells ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .single-product .syf-pdp-v9-help-card {
    order: 2 !important;
    position: static !important;
    padding: 14px !important;
    border-radius: 15px !important;
    background: linear-gradient(145deg, #f4faf5, #fff) !important;
  }

  .single-product .syf-pdp-v9-help-card h2 {
    margin: 10px 0 5px !important;
    font-size: 15px !important;
  }

  .single-product .syf-pdp-v9-help-card p {
    margin-bottom: 10px !important;
    font-size: 11px !important;
  }

  .single-product .syf-pdp-v9-help-card > a {
    min-height: 39px !important;
    font-size: 10px !important;
  }

  /* Sticky bar keeps one clear action; the main price already appears above. */
  .single-product .syf-pdp-v9-mobile-buy {
    position: fixed !important;
    z-index: 999 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 0 !important;
    padding: 9px max(14px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)) !important;
    border-top: 1px solid #e1eae3 !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 -5px 20px rgba(21, 57, 37, .09) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
  }

  .single-product .syf-pdp-v9-mobile-price {
    display: none !important;
  }

  .single-product .syf-pdp-v9-mobile-buy > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 46px !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #176b52, #27885e) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    box-shadow: 0 5px 14px rgba(23, 107, 82, .16) !important;
  }
}

@media (max-width: 420px) {
  .single-product .syf-pdp-v9-gallery-stage .woocommerce-product-gallery__image img {
    height: clamp(250px, 86vw, 345px) !important;
  }

  .single-product .syf-pdp-v9-gallery-stage .flex-control-thumbs li {
    flex-basis: 54px !important;
    width: 54px !important;
    height: 54px !important;
  }

  .single-product .syf-pdp-v9-summary-card {
    padding: 13px !important;
  }

  .single-product .syf-pdp-v9-benefits {
    gap: 5px !important;
  }

  .single-product .syf-pdp-v9-benefits span {
    gap: 4px !important;
    font-size: 8.5px !important;
  }

  .single-product .syf-pdp-v9-cart form.cart .quantity {
    flex-basis: 76px !important;
  }
}

@media (max-width: 360px) {
  .single-product .syf-product-page-v9 {
    width: calc(100% - 12px) !important;
  }

  .single-product .syf-pdp-v9-benefits {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  .single-product .syf-pdp-v9-benefits span {
    align-items: center !important;
    font-size: 10px !important;
  }

  .single-product .syf-pdp-v9-extra-actions {
    grid-template-columns: 1fr !important;
  }
}

/* SYFAROBD v1.5.60 — mobile-only clean order/checkout redesign.
   WooCommerce fields, validation, payment methods, cart calculations and submit handling remain native. */
@media (max-width: 780px) {
  /* Remove the extra article card around the dedicated order shortcode on modern browsers. */
  @supports selector(.syf-page-main:has(.syf-order-v10)) {
    .syf-page-main:has(.syf-order-v10) {
      width: calc(100% - 12px) !important;
      max-width: 640px !important;
      padding: 10px 0 28px !important;
    }
    .syf-content-card:has(.syf-order-v10) {
      width: 100% !important;
      max-width: none !important;
      margin: 0 !important;
      padding: 0 !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
    }
    .syf-entry-content:has(.syf-order-v10) {
      width: 100% !important;
      max-width: none !important;
      margin: 0 !important;
      padding: 0 !important;
    }
  }

  .syf-order-v10 {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: calc(100% - 14px) !important;
    max-width: 610px !important;
    margin: 8px auto 22px !important;
    color: #263c30 !important;
    box-sizing: border-box !important;
  }

  /* Keep one clear page title; remove repeated instructions and promotional extras. */
  .syf-order-v10-hero {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 17px 17px 16px !important;
    border: 1px solid #dcebe1 !important;
    border-radius: 17px !important;
    background: linear-gradient(125deg, #edf7f0 0%, #fff 75%) !important;
    box-shadow: 0 5px 18px rgba(19, 70, 43, .045) !important;
  }
  .syf-order-v10-eyebrow,
  .syf-order-v10-hero p,
  .syf-order-v10-hero-badge,
  .syf-order-v10-steps,
  .syf-order-v10-form-heading,
  .syf-order-v10-help,
  .syf-order-v10-checkout-card #billing_email_field {
    display: none !important;
  }
  .syf-order-v10-hero h1 {
    margin: 0 !important;
    color: #1d3b2b !important;
    font-size: clamp(20px, 5.4vw, 24px) !important;
    font-weight: 950 !important;
    line-height: 1.35 !important;
    letter-spacing: -.25px !important;
    overflow-wrap: anywhere !important;
  }

  .syf-order-v10-form-section {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .syf-order-v10-checkout-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    background: transparent !important;
  }
  .syf-order-v10-checkout-card .woocommerce-checkout {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* Customer details: one field per row, generous touch targets, no horizontal overflow. */
  .syf-order-v10-checkout-card #customer_details {
    order: 1 !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 17px 15px 6px !important;
    border: 1px solid #e1ebe4 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 5px 18px rgba(20, 60, 39, .045) !important;
    box-sizing: border-box !important;
  }
  .syf-order-v10-checkout-card .woocommerce-billing-fields {
    margin: 0 !important;
  }
  .syf-order-v10-checkout-card .woocommerce-billing-fields > h3 {
    margin: 0 0 13px !important;
    padding: 0 0 11px !important;
    border-bottom: 1px solid #edf2ee !important;
    color: #244332 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.4 !important;
  }
  .syf-order-v10-checkout-card .woocommerce-billing-fields__field-wrapper,
  .syf-order-v10-checkout-card .woocommerce-shipping-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 11px !important;
    width: 100% !important;
    min-width: 0 !important;
    align-items: start !important;
  }
  .syf-order-v10-checkout-card .woocommerce-billing-fields__field-wrapper .form-row,
  .syf-order-v10-checkout-card .woocommerce-shipping-fields__field-wrapper .form-row {
    margin: 0 !important;
  }
  .syf-order-v10-checkout-card .woocommerce-billing-fields__field-wrapper .form-row,
  .syf-order-v10-checkout-card .woocommerce-shipping-fields__field-wrapper .form-row,
  .syf-order-v10-checkout-card .form-row {
    float: none !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .syf-order-v10-checkout-card .form-row label {
    display: block !important;
    margin: 0 0 6px !important;
    color: #334b3c !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1.4 !important;
  }
  .syf-order-v10-checkout-card .form-row .required {
    color: #d34b45 !important;
    text-decoration: none !important;
  }
  .syf-order-v10-checkout-card .form-row .optional {
    color: #89958d !important;
    font-size: 10px !important;
    font-weight: 500 !important;
  }
  .syf-order-v10-checkout-card input.input-text,
  .syf-order-v10-checkout-card input[type="text"],
  .syf-order-v10-checkout-card input[type="tel"],
  .syf-order-v10-checkout-card input[type="email"],
  .syf-order-v10-checkout-card select,
  .syf-order-v10-checkout-card textarea {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 49px !important;
    margin: 0 !important;
    padding: 11px 12px !important;
    border: 1px solid #dce8df !important;
    border-radius: 11px !important;
    outline: 0 !important;
    background: #fbfdfb !important;
    color: #263c30 !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    appearance: auto !important;
  }
  .syf-order-v10-checkout-card textarea {
    min-height: 88px !important;
    resize: vertical !important;
  }
  .syf-order-v10-checkout-card .form-row .input-text::placeholder {
    color: #a0aaa3 !important;
    opacity: 1 !important;
  }
  .syf-order-v10-checkout-card .form-row .input-text:focus,
  .syf-order-v10-checkout-card .form-row select:focus,
  .syf-order-v10-checkout-card .form-row textarea:focus {
    border-color: #25815f !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(23, 107, 82, .09) !important;
  }
  .syf-order-v10-checkout-card .form-row.woocommerce-invalid .input-text,
  .syf-order-v10-checkout-card .form-row.woocommerce-invalid select {
    border-color: #d65b55 !important;
    background: #fffafa !important;
  }
  .syf-order-v10-checkout-card .woocommerce-validated .input-text {
    border-color: #b8d9c4 !important;
  }
  .syf-order-v10-checkout-card .select2-container {
    width: 100% !important;
    max-width: 100% !important;
  }
  .syf-order-v10-checkout-card .select2-container .select2-selection--single {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 49px !important;
    border: 1px solid #dce8df !important;
    border-radius: 11px !important;
    background: #fbfdfb !important;
  }
  .syf-order-v10-checkout-card .select2-container .select2-selection__rendered {
    padding-left: 12px !important;
    color: #263c30 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  .syf-order-v10-checkout-card .select2-container .select2-selection__arrow {
    top: 0 !important;
    height: 47px !important;
    right: 7px !important;
  }

  /* Order review: readable product/variation/quantity summary without a sideways-scrolling table. */
  .syf-order-v10-checkout-card #order_review_heading {
    order: 2 !important;
    width: 100% !important;
    margin: 15px 0 9px !important;
    padding: 0 2px !important;
    border: 0 !important;
    color: #244332 !important;
    font-size: 16px !important;
    font-weight: 950 !important;
    line-height: 1.4 !important;
  }
  .syf-order-v10-checkout-card #order_review {
    order: 3 !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 13px 12px 14px !important;
    border: 1px solid #e1ebe4 !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 5px 18px rgba(20, 60, 39, .045) !important;
    box-sizing: border-box !important;
  }
  .syf-order-v10-checkout-card #order_review table.shop_table {
    display: table !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
    table-layout: fixed !important;
    border: 1px solid #e5ede7 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 11px !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
  .syf-order-v10-checkout-card #order_review table.shop_table th,
  .syf-order-v10-checkout-card #order_review table.shop_table td {
    padding: 10px 8px !important;
    border-color: #edf2ee !important;
    color: #405448 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    vertical-align: top !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  .syf-order-v10-checkout-card #order_review table.shop_table th.product-name,
  .syf-order-v10-checkout-card #order_review table.shop_table td.product-name {
    width: 70% !important;
    text-align: left !important;
  }
  .syf-order-v10-checkout-card #order_review table.shop_table th.product-total,
  .syf-order-v10-checkout-card #order_review table.shop_table td.product-total {
    width: 30% !important;
    text-align: right !important;
  }
  .syf-order-v10-checkout-card #order_review .product-name {
    color: #2c4937 !important;
    font-weight: 750 !important;
  }
  .syf-order-v10-checkout-card #order_review .product-name .product-quantity {
    color: #728178 !important;
    font-weight: 700 !important;
  }
  .syf-order-v10-checkout-card #order_review dl.variation {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2px !important;
    margin: 5px 0 0 !important;
    color: #7b8980 !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
  }
  .syf-order-v10-checkout-card #order_review dl.variation dt,
  .syf-order-v10-checkout-card #order_review dl.variation dd {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .syf-order-v10-checkout-card #order_review .syf-checkout-qty-control {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 5px !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 7px 0 1px !important;
    padding: 3px !important;
    border: 1px solid #e2ebe4 !important;
    border-radius: 10px !important;
    background: #f8fbf8 !important;
  }
  .syf-order-v10-checkout-card #order_review .syf-checkout-qty-control .syf-qty-step {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 31px !important;
    width: 31px !important;
    height: 31px !important;
    min-height: 31px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #eaf5ed !important;
    color: #176b52 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
  }
  .syf-order-v10-checkout-card #order_review .syf-checkout-qty-control input {
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    min-height: 31px !important;
    padding: 2px !important;
    border: 0 !important;
    background: transparent !important;
    color: #294b37 !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    appearance: textfield !important;
  }
  .syf-order-v10-checkout-card #order_review .syf-checkout-qty-control input::-webkit-inner-spin-button,
  .syf-order-v10-checkout-card #order_review .syf-checkout-qty-control input::-webkit-outer-spin-button {
    margin: 0 !important;
    appearance: none !important;
  }
  .syf-order-v10-checkout-card #order_review tfoot th,
  .syf-order-v10-checkout-card #order_review tfoot td {
    font-weight: 800 !important;
  }
  .syf-order-v10-checkout-card #order_review tr.order-total th,
  .syf-order-v10-checkout-card #order_review tr.order-total td {
    background: #eff8f2 !important;
    color: #176b52 !important;
    font-size: 12px !important;
    font-weight: 950 !important;
  }

  /* Payment choice and confirmation button are clear, touch-friendly and stay in the native checkout flow. */
  .syf-order-v10-checkout-card #payment {
    margin: 12px 0 0 !important;
    padding: 12px !important;
    border: 1px solid #e1ebe4 !important;
    border-radius: 13px !important;
    background: #f7faf7 !important;
  }
  .syf-order-v10-checkout-card #payment .wc_payment_methods {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  .syf-order-v10-checkout-card #payment .wc_payment_method {
    margin: 0 0 8px !important;
    padding: 11px !important;
    border: 1px solid #dfeae2 !important;
    border-radius: 10px !important;
    background: #fff !important;
  }
  .syf-order-v10-checkout-card #payment .wc_payment_method:last-child {
    margin-bottom: 0 !important;
  }
  .syf-order-v10-checkout-card #payment .wc_payment_method label {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 25px !important;
    color: #294a36 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }
  .syf-order-v10-checkout-card #payment .wc_payment_method input[type="radio"] {
    flex: 0 0 19px !important;
    width: 19px !important;
    height: 19px !important;
    margin: 0 !important;
    accent-color: #176b52 !important;
  }
  .syf-order-v10-checkout-card #payment .payment_box {
    margin: 8px 0 0 !important;
    padding: 9px 10px !important;
    border-radius: 9px !important;
    background: #edf6f0 !important;
    color: #52675a !important;
    font-size: 11px !important;
    line-height: 1.6 !important;
  }
  .syf-order-v10-checkout-card #payment .payment_box::before {
    display: none !important;
  }
  .syf-order-v10-checkout-card #payment .place-order {
    margin: 12px 0 0 !important;
    padding: 0 !important;
  }
  .syf-order-v10-checkout-card #place_order {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(130deg, #176b52 0%, #25865d 100%) !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    box-shadow: 0 7px 17px rgba(23, 107, 82, .17) !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .syf-order-v10-checkout-card #place_order:disabled {
    opacity: .65 !important;
    cursor: wait !important;
  }
  .syf-order-v10-checkout-card .woocommerce-terms-and-conditions-wrapper,
  .syf-order-v10-checkout-card .woocommerce-privacy-policy-text {
    color: #78877e !important;
    font-size: 10px !important;
    line-height: 1.55 !important;
  }
  .syf-order-v10-checkout-card .woocommerce-NoticeGroup-checkout,
  .syf-order-v10-checkout-card .woocommerce-error,
  .syf-order-v10-checkout-card .woocommerce-message,
  .syf-order-v10-checkout-card .woocommerce-info {
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 12px 13px 12px 37px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
  }
  .syf-order-v10-checkout-card .blockUI.blockOverlay {
    border-radius: 14px !important;
  }
}

@media (max-width: 380px) {
  .syf-order-v10 { width: calc(100% - 10px) !important; gap: 10px !important; }
  .syf-order-v10-hero { padding: 15px 13px !important; }
  .syf-order-v10-checkout-card #customer_details { padding: 14px 12px 4px !important; }
  .syf-order-v10-checkout-card #order_review { padding: 10px 9px 12px !important; }
  .syf-order-v10-checkout-card #order_review table.shop_table th,
  .syf-order-v10-checkout-card #order_review table.shop_table td { padding: 8px 6px !important; font-size: 10px !important; }
  .syf-order-v10-checkout-card #order_review table.shop_table th.product-name,
  .syf-order-v10-checkout-card #order_review table.shop_table td.product-name { width: 68% !important; }
  .syf-order-v10-checkout-card #order_review table.shop_table th.product-total,
  .syf-order-v10-checkout-card #order_review table.shop_table td.product-total { width: 32% !important; }
}

@media (prefers-reduced-motion: reduce) {
  .syf-order-v10-checkout-card #place_order { transition: none !important; }
}


/* v1.5.61 — mobile homepage quick-order feedback and loading state. */
@media (max-width: 780px) {
  .syf-card-primary-action .syf-buy-now.is-syf-loading {
    opacity: .78 !important;
    pointer-events: none !important;
  }
  .syf-card-primary-action .syf-mobile-quick-order-feedback {
    margin: 5px 2px 0 !important;
    color: #a33b2e !important;
    font-size: 10px !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
    text-align: center !important;
  }
}
