/* Venofins Fish v4.29.5 — mobile single-product first screen refined to match
   the compact Atakan-like rhythm while keeping Venofins branding/colors. */
@media (max-width: 980px) {
  body.single-product .nusa-site-shell {
    --vf-mobile-shell-gap: 12px;
    --vf-mobile-card-radius: 14px;
    --vf-mobile-bar-height: calc(86px + env(safe-area-inset-bottom));
  }

  body.single-product .nusa-site-shell .nusa-topbar,
  body.single-product .nusa-site-shell .nusa-search-outer,
  body.single-product .nusa-site-shell .nusa-mobile-bottom {
    display: none !important;
  }

  body.single-product .nusa-site-shell > .nusa-header {
    position: relative !important;
    top: auto !important;
    z-index: 40 !important;
    border-bottom: 1px solid #e7ebe5 !important;
    box-shadow: none !important;
  }

  body.single-product .nusa-site-shell .nusa-header-inner {
    width: calc(100% - 26px) !important;
    min-height: 74px !important;
    height: 74px !important;
    grid-template-columns: 42px minmax(0,1fr) 42px !important;
    gap: 10px !important;
  }

  body.single-product .nusa-site-shell .nusa-logo {
    justify-self: center !important;
    max-width: 220px !important;
  }

  body.single-product .nusa-site-shell .nusa-logo img {
    width: min(220px, 100%) !important;
    max-height: 66px !important;
  }

  body.single-product .nusa-site-shell #main :is(.ct-container,.ct-woocommerce-container),
  body.single-product .nusa-site-shell #main > .ct-container {
    width: min(calc(100% - 20px), 100%) !important;
    max-width: none !important;
  }

  body.single-product .nusa-site-shell #main .ct-container[data-vertical-spacing] {
    padding-top: 0 !important;
  }

  body.single-product .nusa-site-shell :is(#main,.site-main) {
    --theme-content-vertical-spacing: 0px !important;
    --theme-content-spacing: 0px !important;
    padding-bottom: calc(var(--vf-mobile-bar-height) + 18px) !important;
  }

  body.single-product .nusa-site-shell :is(.product,.type-product,.product-entry-wrapper,.ct-woo-single-layout) {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Move breadcrumb above gallery and style it like the reference. */
  body.single-product .nusa-site-shell .vf-mobile-breadcrumb-slot {
    display: block !important;
    margin: 0 0 4px !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-breadcrumb-slot :is(.woocommerce-breadcrumb,.ct-breadcrumbs) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 2px !important;
    color: #5f6f67 !important;
    font: 500 13px/1.5 Inter, Arial, sans-serif !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-breadcrumb-slot :is(.woocommerce-breadcrumb,.ct-breadcrumbs) a {
    color: #465851 !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-breadcrumb-slot :is(.woocommerce-breadcrumb,.ct-breadcrumbs) a:hover {
    color: var(--vf-green) !important;
  }

  body.single-product .nusa-site-shell .product-entry-wrapper,
  body.single-product .nusa-site-shell .ct-woo-single-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  body.single-product .nusa-site-shell .product-entry-wrapper > :is(.woocommerce-product-gallery,.ct-product-gallery-container,.ct-woo-gallery,.summary,.entry-summary),
  body.single-product .nusa-site-shell .ct-woo-single-layout > :is(.woocommerce-product-gallery,.ct-product-gallery-container,.ct-woo-gallery,.summary,.entry-summary) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  body.single-product .nusa-site-shell :is(.summary,.entry-summary) > :is(.woocommerce-breadcrumb,.ct-breadcrumbs) {
    display: none !important;
  }

  body.single-product .nusa-site-shell .woocommerce-product-gallery,
  body.single-product .nusa-site-shell .ct-product-gallery-container,
  body.single-product .nusa-site-shell .ct-woo-gallery {
    position: relative !important;
    background: #fff !important;
    border: 1px solid #e5e9e2 !important;
    border-radius: var(--vf-mobile-card-radius) !important;
    padding: 12px !important;
    overflow: hidden !important;
  }

  body.single-product .nusa-site-shell .woocommerce-product-gallery__wrapper,
  body.single-product .nusa-site-shell .woocommerce-product-gallery .flex-viewport {
    border: 0 !important;
    border-radius: 12px !important;
    padding: 0 !important;
    background: #fff !important;
  }

  body.single-product .nusa-site-shell .woocommerce-product-gallery__image,
  body.single-product .nusa-site-shell .woocommerce-product-gallery__image a {
    border-radius: 12px !important;
    background: #fff !important;
  }

  body.single-product .nusa-site-shell .woocommerce-product-gallery__image img,
  body.single-product .nusa-site-shell .woocommerce-product-gallery__wrapper img,
  body.single-product .nusa-site-shell .ct-product-gallery-container img.wp-post-image {
    max-height: min(54vh, 470px) !important;
    object-fit: contain !important;
    background: #fff !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-gallery-badges {
    position: absolute !important;
    inset: 12px 12px auto 12px !important;
    z-index: 7 !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 12px !important;
    pointer-events: none !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-free-shipping,
  body.single-product .nusa-site-shell .vf-mobile-gallery-wishlist {
    pointer-events: auto !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-free-shipping {
    display: none !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 38px !important;
    padding: 0 13px !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #5a8f76, #3b7059) !important;
    color: #fff !important;
    box-shadow: 0 8px 16px rgba(39, 80, 60, .12) !important;
    font: 700 13px/1 Inter, Arial, sans-serif !important;
    white-space: nowrap !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-free-shipping.is-visible {
    display: inline-flex !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-free-shipping svg {
    width: 17px !important;
    height: 17px !important;
    min-width: 17px !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-gallery-wishlist {
    display: inline-grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid #dfe5dd !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #222 !important;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .06) !important;
    padding: 0 !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-gallery-wishlist svg {
    width: 24px !important;
    height: 24px !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-gallery-wishlist.is-active,
  body.single-product .nusa-site-shell .vf-mobile-gallery-wishlist[aria-pressed="true"] {
    color: #d74a66 !important;
  }

  body.single-product .nusa-site-shell .woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 2px 2px !important;
    margin: 10px 0 0 !important;
    scrollbar-width: thin;
  }

  body.single-product .nusa-site-shell .woocommerce-product-gallery .flex-control-thumbs li {
    flex: 0 0 66px !important;
    width: 66px !important;
    padding: 4px !important;
    border: 1px solid #dde3db !important;
    border-radius: 10px !important;
    background: #fff !important;
  }

  body.single-product .nusa-site-shell .woocommerce-product-gallery .flex-control-thumbs img {
    height: 58px !important;
    border-radius: 8px !important;
  }

  body.single-product .nusa-site-shell .woocommerce-product-gallery .flex-direction-nav {
    position: absolute !important;
    inset: 50% 10px auto 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    margin: 0 !important;
    z-index: 6 !important;
  }

  body.single-product .nusa-site-shell .woocommerce-product-gallery .flex-direction-nav li {
    list-style: none !important;
    margin: 0 !important;
  }

  body.single-product .nusa-site-shell .woocommerce-product-gallery .flex-direction-nav a {
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.98) !important;
    border: 1px solid #dfe4de !important;
    color: #33443d !important;
    box-shadow: 0 6px 14px rgba(0,0,0,.08) !important;
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  body.single-product .nusa-site-shell .woocommerce-product-gallery .flex-direction-nav a::before {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  body.single-product .nusa-site-shell :is(.summary,.entry-summary) {
    padding: 0 1px !important;
  }

  body.single-product .nusa-site-shell :is(.entry-summary,.summary) h1.product_title,
  body.single-product .nusa-site-shell :is(.entry-summary,.summary) .product_title {
    margin: 0 0 8px !important;
    font: 800 clamp(24px, 6.8vw, 31px)/1.12 Manrope, Inter, Arial, sans-serif !important;
    letter-spacing: -.55px !important;
    color: #18221e !important;
  }

  body.single-product .nusa-site-shell :is(.entry-summary,.summary) > .price,
  body.single-product .nusa-site-shell :is(.entry-summary,.summary) p.price,
  body.single-product .nusa-site-shell .woocommerce-variation-price .price {
    margin: 0 0 12px !important;
    font: 800 clamp(20px, 6vw, 28px)/1.15 Manrope, Inter, Arial, sans-serif !important;
    color: #101915 !important;
  }

  body.single-product .nusa-site-shell .woocommerce-product-details__short-description {
    margin: 0 0 8px !important;
    font: 400 14px/1.52 Inter, Arial, sans-serif !important;
  }

  body.single-product .nusa-site-shell .vf-single-shipping-hint,
  body.single-product .nusa-site-shell .vf-single-list-actions,
  body.single-product .nusa-site-shell form.cart button.vf-buy-now.button,
  body.single-product .nusa-site-shell form.cart button.vf-buy-now.button.alt {
    display: none !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-purchase-host {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1200 !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    background: rgba(255,255,255,.98) !important;
    backdrop-filter: blur(6px) !important;
    border-top: 1px solid #dde3dc !important;
    box-shadow: 0 -8px 18px rgba(0, 0, 0, .06) !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-purchase-meta {
    display: grid !important;
    gap: 4px !important;
    min-width: 0 !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-purchase-meta small {
    font: 600 11px/1 Inter, Arial, sans-serif !important;
    color: #6d786f !important;
    text-transform: uppercase !important;
    letter-spacing: .03em !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-purchase-price {
    display: block !important;
    color: #121a16 !important;
    font: 800 17px/1.12 Manrope, Inter, Arial, sans-serif !important;
    white-space: nowrap !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-purchase-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-purchase-host .quantity {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    height: 52px !important;
    margin: 0 !important;
    border: 1px solid rgba(59,112,89,.45) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-purchase-host .quantity :is(button,input) {
    height: 52px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-purchase-host .quantity button {
    width: 42px !important;
    min-width: 42px !important;
    background: #fff !important;
    color: #2d4f40 !important;
    font-size: 24px !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-purchase-host .quantity input.qty {
    width: 48px !important;
    min-width: 48px !important;
    text-align: center !important;
    font: 700 20px/1 Inter, Arial, sans-serif !important;
    color: #1b2722 !important;
    padding: 0 !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-purchase-host button.single_add_to_cart_button.button,
  body.single-product .nusa-site-shell .vf-mobile-purchase-host button.single_add_to_cart_button.button.alt {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 146px !important;
    height: 52px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #5f9d79, #3b7059) !important;
    color: #fff !important;
    box-shadow: none !important;
    font: 800 15px/1.1 Manrope, Inter, Arial, sans-serif !important;
    white-space: nowrap !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-purchase-host button.single_add_to_cart_button.button.disabled,
  body.single-product .nusa-site-shell .vf-mobile-purchase-host button.single_add_to_cart_button.button:disabled {
    opacity: .58 !important;
  }

  body.single-product .nusa-site-shell .vf-mobile-purchase-host .stock,
  body.single-product .nusa-site-shell .vf-mobile-purchase-host .added_to_cart,
  body.single-product .nusa-site-shell .vf-mobile-purchase-host .vf-buy-now,
  body.single-product .nusa-site-shell .vf-mobile-purchase-host .vf-mobile-hidden {
    display: none !important;
  }

  body.single-product .nusa-site-shell form.variations_form table.variations {
    margin-bottom: 10px !important;
  }

  body.single-product .nusa-site-shell .nusa-floating-whatsapp {
    bottom: calc(var(--vf-mobile-bar-height) + 16px) !important;
  }


  body.single-product .nusa-site-shell .vf-single-trust-row {
    display: none !important;
  }

  body.single-product .nusa-site-shell form.variations_form,
  body.single-product .nusa-site-shell form.cart:not(.variations_form) {
    margin: 0 0 8px !important;
    padding: 0 !important;
  }

  body.single-product .nusa-site-shell form.variations_form table.variations,
  body.single-product .nusa-site-shell form.variations_form table.variations tbody,
  body.single-product .nusa-site-shell form.variations_form table.variations tr {
    margin-bottom: 0 !important;
  }

  body.single-product .nusa-site-shell .single_variation_wrap,
  body.single-product .nusa-site-shell .woocommerce-variation,
  body.single-product .nusa-site-shell .woocommerce-variation-add-to-cart {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
  }

  body.single-product .nusa-site-shell :is(.single_variation_wrap,.woocommerce-variation-availability,.summary) p.stock {
    margin: 4px 0 8px !important;
  }

  body.single-product .nusa-site-shell .product_meta {
    margin: 8px 0 0 !important;
    padding: 10px 0 0 !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  body.single-product .nusa-site-shell .product_meta > span {
    display: block !important;
    margin: 0 0 8px !important;
  }

  body.single-product .nusa-site-shell :is(.woocommerce-tabs,.ct-woo-tabs,.related.products,.up-sells) {
    margin-top: 14px !important;
  }

  body.single-product .nusa-site-shell .woocommerce-tabs .wc-tabs,
  body.single-product .nusa-site-shell .ct-woo-tabs .wc-tabs {
    margin: 0 !important;
    padding: 0 !important;
  }

  body.single-product .nusa-site-shell .woocommerce-tabs .wc-tabs li,
  body.single-product .nusa-site-shell .ct-woo-tabs .wc-tabs li {
    margin: 0 !important;
  }

  body.single-product .nusa-site-shell .woocommerce-Tabs-panel,
  body.single-product .nusa-site-shell .woocommerce-tabs .panel,
  body.single-product .nusa-site-shell .ct-woo-tabs .panel {
    padding-top: 10px !important;
    margin-top: 0 !important;
  }


  /* v4.29.5: actual Blocksy/Woo page wrappers, not only #main descendants. */
  body.single-product .nusa-site-shell :is(#main, #main-container, .site-main, .ct-main, .ct-container, .ct-container-full, [data-vertical-spacing]) {
    --theme-content-vertical-spacing: 0px !important;
    --theme-content-spacing: 0px !important;
  }
  body.single-product .nusa-site-shell :is(#main, #main-container, .site-main) > :is(.ct-container, .ct-container-full, [data-vertical-spacing]) {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  /* Blocksy's .entry-summary may be a grid with generous implicit row gaps.
     Restore ordinary document flow so empty variation elements cannot reserve rows. */
  body.single-product .nusa-site-shell :is(.product-entry-wrapper, .ct-woo-single-layout) :is(.summary, .entry-summary) {
    display: block !important;
    row-gap: 0 !important;
    column-gap: 0 !important;
    height: auto !important;
    min-height: 0 !important;
  }
  body.single-product .nusa-site-shell :is(.summary, .entry-summary) > :is(.price, .woocommerce-product-details__short-description, form.cart, .vf-single-list-actions, .product_meta) {
    margin-block-start: 0 !important;
  }
  body.single-product .nusa-site-shell form.variations_form :is(.single_variation_wrap, .single_variation, .woocommerce-variation, .woocommerce-variation-add-to-cart, .woocommerce-variation-description, .woocommerce-variation-availability) {
    height: auto !important;
    min-height: 0 !important;
    padding-block: 0 !important;
    margin-block: 0 !important;
    row-gap: 0 !important;
  }
  body.single-product .nusa-site-shell form.variations_form .woocommerce-variation-add-to-cart {
    display: block !important;
  }
  body.single-product .nusa-site-shell .woocommerce-tabs,
  body.single-product .nusa-site-shell .ct-woo-tabs {
    padding-block-start: 0 !important;
    margin-block-start: 8px !important;
  }
  body.single-product .nusa-site-shell :is(.woocommerce-tabs, .ct-woo-tabs) :is(.wc-tabs, .tabs) {
    margin-block: 0 !important;
    padding-block: 0 !important;
  }

}
