/*
  shopfit.ro - reguli pentru telefon si tableta (site unic, responsive).
  Sub 1024px se afiseaza antetul mobil (includes/header_mobile.php) in locul celui de desktop,
  iar continutul curge pe o singura coloana. Peste 1024px site-ul arata ca inainte.
*/

/* ---------- antet mobil: ascuns pe desktop ---------- */
.m-header, .m-drawer, .m-drawer-backdrop { display: none; }

@media (max-width: 1023px) {
  html { -webkit-text-size-adjust: 100%; }
  html.m-no-scroll, html.m-no-scroll body { overflow: hidden !important; }
  body { overflow-x: hidden !important; min-width: 0 !important; }
  img, video, iframe, table { max-width: 100%; }
  img { height: auto; }

  /* antetul si meniul de desktop nu se folosesc pe ecrane inguste */
  .header_1, .header_2, #c_header_nav { display: none !important; }

  .m-header { display: block; background: #fff; }
  .m-bar { display: flex; align-items: center; gap: 2px; background: #222; padding: 4px 8px; position: sticky; top: 0; z-index: 900; }
  .m-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin: 0; background: transparent; border: 0; cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; }
  .m-spacer { flex: 1 1 auto; }
  .m-cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: #fad003; color: #222; font: 600 11px/18px Montserrat, Arial, sans-serif; text-align: center; }
  .m-search { display: flex; background: #222; padding: 0 12px 8px; margin: 0; }
  .m-search input[type=search] { flex: 1 1 auto; min-width: 0; height: 40px; border: 0; border-radius: 8px 0 0 8px; background: #078bf7; color: #111; padding: 0 14px; font: 400 16px/40px Montserrat, Arial, sans-serif; -webkit-appearance: none; appearance: none; outline-offset: -2px; }
  .m-search input[type=search]::placeholder { color: #0b2a47; opacity: 1; }
  .m-search button { flex: 0 0 48px; height: 40px; border: 0; border-radius: 0 8px 8px 0; background: #078bf7; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .m-logo { display: block; text-align: center; padding: 10px 0 6px; background: #fff; }
  .m-logo img { width: 180px; max-width: 60%; height: auto; }

  /* meniul lateral cu categorii */
  .m-drawer-backdrop { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 990; }
  .m-drawer-backdrop.is-open { opacity: 1; visibility: visible; }
  .m-drawer { display: block; position: fixed; top: 0; right: 0; bottom: 0; width: 86%; max-width: 360px; background: #fff; transform: translateX(105%); transition: transform .22s ease-out; z-index: 1000; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; font-family: Montserrat, Arial, sans-serif; }
  .m-drawer.is-open { transform: none; }
  .m-drawer-head { display: flex; align-items: center; justify-content: space-between; background: #8e09f7; color: #fff; padding: 4px 6px 4px 18px; font-weight: 600; font-size: 17px; text-transform: uppercase; position: sticky; top: 0; z-index: 1; }
  .m-cats, .m-subcats, .m-links { list-style: none; margin: 0; padding: 0; }
  .m-cat { border-bottom: 1px solid #eee; margin: 0; }
  .m-cat-row { display: flex; align-items: stretch; }
  .m-cat-row a { flex: 1 1 auto; padding: 13px 8px 13px 18px; color: #333 !important; font-weight: 600; font-size: 16px; text-decoration: none; }
  .m-cat-toggle { flex: 0 0 52px; background: transparent; border: 0; border-left: 1px solid #eee; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
  .m-cat-toggle svg { transition: transform .15s; }
  .m-cat.is-open .m-cat-toggle svg { transform: rotate(90deg); }
  .m-subcats { display: none; background: #f6f6f8; padding: 4px 0; }
  .m-cat.is-open .m-subcats { display: block; }
  .m-subcats li { margin: 0; }
  .m-subcats a { display: block; padding: 10px 18px 10px 32px; color: #444 !important; font-size: 15px; text-decoration: none; }
  .m-links { background: #222; padding: 6px 0 24px; }
  .m-links li { margin: 0; }
  .m-links a { display: block; padding: 12px 18px; color: #fff !important; font-size: 15px; text-decoration: none; }
}

/* ================= continut ================= */
@media (max-width: 1023px) {
  /* containerele late de 80% / latime fixa ocupa toata latimea */
  .body-content-first, .body-content, .body-content-first > div, .first_page_top + div { box-sizing: border-box; }
  .body-content-first > div[style*="width: 80%"], .body-content-first > div[style*="width:80%"],
  .body-content > div[style*="width: 80%"], .body-content > div[style*="width:80%"] { width: 100% !important; min-width: 0 !important; padding-left: 10px; padding-right: 10px; margin-top: 0 !important; min-height: 0 !important; }

  /* ---------- prima pagina ---------- */
  .first_page_top { min-height: 0 !important; background-size: cover; padding: 0 0 14px; }
  .content_0 { width: 100% !important; min-width: 0 !important; min-height: 0 !important; height: calc(100vw * 450 / 1300); margin: 0 !important; overflow: hidden; }
  #jssor_1 { top: 0 !important; margin: 0 !important; box-shadow: none !important; }
  .page_title, h1.page_title { font-size: 21px !important; line-height: 1.25 !important; min-height: 0 !important; margin: 16px 0 12px !important; padding: 0 6px; text-align: center; }
  .body-content-first h2, .body-content h2 { font-size: 20px !important; line-height: 1.25 !important; }

  /* ---------- carduri de produs: 2 pe rand ---------- */
  body .product { width: calc(50% - 12px) !important; height: auto !important; min-height: 0; margin: 6px !important; padding-bottom: 12px; box-sizing: border-box; float: left; }
  body .product .image-div, .product .image_div { height: 150px !important; display: flex; align-items: center; justify-content: center; }
  body .product .p_image { max-width: 82% !important; max-height: 132px !important; margin: 0 auto !important; }
  body .product .p_price { font-size: 17px !important; line-height: 1.3; min-height: 46px; padding: 0 4px; text-align: center; }
  body .product .p_price > span[style*="line-through"] { font-size: 13px !important; }
  body .product .prom_percent_price { font-size: 12px; margin-left: 0; }
  body .product .p_desc { height: 54px !important; overflow: hidden; font-size: 13px !important; line-height: 18px !important; padding: 0 6px; margin: 8px 0 !important; }
  body .product .p_buy { width: 84% !important; max-width: none !important; margin: 4px auto 0 !important; box-sizing: border-box; font-size: 15px !important; padding: 9px 4px !important; height: auto !important; line-height: 1.2 !important; float: none !important; }
  body .product hr { margin: 6px 10% !important; }
  body .product:hover { background: #fff; }

  /* caruselul de produse (slick) */
  #slickProductsBox { min-height: 0 !important; padding: 6px 0 30px; overflow: hidden; }
  body div.responsive div.product { width: calc(50% - 12px) !important; margin: 6px !important; }
  body div.responsive.slick-initialized div.product { width: auto !important; float: none; margin: 6px 8px !important; }
  .slick-prev, .slick-next { z-index: 5; }

  /* ---------- subsol ---------- */
  .footer, #footer, .footer_1, .footer_2 { width: 100% !important; min-width: 0 !important; box-sizing: border-box; }
}
@media (max-width: 359px) {
  body .product { width: calc(100% - 12px) !important; }
}

@media (max-width: 1023px) {
  /* ---------- subsol ---------- */
  #footer { min-width: 0 !important; height: auto !important; margin-top: 30px !important; padding: 10px 0 20px; }
  #footer .extra { width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; }
  #footer .main-width { width: 100% !important; min-width: 0 !important; box-sizing: border-box; padding: 0 16px; margin: 0 !important; }
  #footer .wrapper, #footer .footer_section, #footer .fs_li, #footer .footer-menu, #footer #navSupp, #footer .row { width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; display: block; }
  #footer .column3 { width: 100% !important; float: none !important; padding: 14px 0 6px !important; margin: 0 !important; text-align: left !important; border-bottom: 1px solid rgba(255,255,255,.12); box-sizing: border-box; }
  #footer .column3:last-child { border-bottom: 0; }
  #footer .column3 ul { padding: 0 !important; margin: 0 !important; text-align: left !important; }
  #footer .column3 li { text-align: left !important; float: none !important; }
  #footer .column3 h2 { margin-bottom: 10px !important; text-align: left !important; }
  #footer .column3 li a { display: inline-block; padding: 5px 0; }
  #footer img { max-width: 250px; height: auto; }
  #footer input[type=text], #footer .customInput { width: 100% !important; max-width: 320px; box-sizing: border-box; font-size: 16px !important; height: 40px; }
}

/* ================= pagina de produs ================= */
@media (max-width: 1023px) {
  .indented-content, .indented-content.customB { min-width: 0 !important; width: 100% !important; float: none !important; margin: 0 !important; padding: 0 10px 24px !important; box-sizing: border-box; box-shadow: none !important; border-radius: 0 !important; }
  .main-wrapper, .main-wrapper-with-bg, .body-content, .body-content-first { min-width: 0 !important; width: 100% !important; box-sizing: border-box; }

  /* firimituri (breadcrumb): pe un rand, derulabil orizontal */
  .breadcrumb_wrap { display: block !important; width: 100% !important; overflow-x: auto; white-space: nowrap; padding: 8px 2px !important; margin: 0 !important; -webkit-overflow-scrolling: touch; }
  .breadcrumb_wrap ul.breadcrumb { display: inline !important; width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; }
  .breadcrumb_wrap li, .breadcrumb_wrap a, .breadcrumb_wrap span, .breadcrumb_wrap h1 { display: inline !important; float: none !important; font-size: 13px !important; line-height: 1.6 !important; padding-left: 3px !important; white-space: nowrap; }

  .body-content, .body-content.customBody, .customBody { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; float: none !important; }
  /* ordinea pe telefon: titlu, imagine, pret + buton, detalii */
  .product-info-wrapper { width: 100% !important; display: flex; flex-direction: column; }
  .product-info-wrapper > .product-info { display: contents; }
  .product-info-wrapper > .product-info > .product-name { order: 1; }
  .product-info-wrapper > .product-image { order: 2; }
  .product-info-wrapper > .product-info > div { order: 3; }
  .product-info-wrapper > div:not(.product-info):not(.product-image) { order: 4; }
  .product-image { width: 100% !important; height: auto !important; float: none !important; margin: 0 0 10px !important; box-sizing: border-box; padding: 10px; }
  #previewPane, .product-image-wrapper { width: 100% !important; height: auto !important; min-height: 220px; margin: 0 !important; float: none !important; box-sizing: border-box; text-align: center; padding: 10px 0; }
  #myImg, .product-main-image { max-width: 100% !important; max-height: 320px !important; width: auto !important; height: auto !important; }

  .product-info > *, .product-info > div > form > *, .product-info .pret-tva, .product-info .product-extra-info, .product-info .addCartBtn, .product-info .posta-curier { position: static !important; float: none !important; width: auto !important; max-width: 100% !important; left: auto !important; top: auto !important; bottom: auto !important; right: auto !important; height: auto !important; box-sizing: border-box; }
  .product-info form { display: flex; flex-direction: column; }
  .product-info .product-name { font-size: 19px !important; line-height: 1.3 !important; min-height: 0 !important; margin: 4px 0 12px !important; }
  .product-info .pret-tva { order: -2; margin: 0 0 8px !important; }
  .product-info .pret, .product-info .product-final-price { width: 100% !important; float: none !important; }
  .product-info .product-extra-info { margin: 0 0 6px !important; display: block; }
  .product-info .addCartBtn { width: 100% !important; height: 50px !important; font-size: 18px !important; margin: 4px 0 16px !important; border-radius: 8px; -webkit-appearance: none; appearance: none; }
  .product-info .manufacturer-name { width: 100% !important; margin: 0 0 8px !important; clear: both; }
  .product-info .manufacturer-name p, .product-info .first-p { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; width: 100% !important; margin: 0 0 6px !important; }
  .product-info .manufacturer-name b, .product-info .manufacturer-name a, .product-info .first-p b, .product-info .first-p a { width: auto !important; float: none !important; font-size: 14px !important; }
  .product-info .posta-curier { margin: 10px 0 0 !important; }
  .product-info .posta-curier-text { width: 48% !important; font-size: 14px !important; box-sizing: border-box; }

  #div_desc_id, #div_com_id { width: 100% !important; padding: 16px 12px 24px !important; box-sizing: border-box; margin: 12px 0 0 !important; overflow-wrap: anywhere; }
  #div_desc_id ul, #div_desc_id li, #div_desc_id p, #div_desc_id table { width: auto !important; max-width: 100% !important; }
  #div_desc_id img, #div_desc_id iframe, #div_desc_id video { max-width: 100% !important; height: auto !important; }
  #div_com_id form, #Comentarii { width: 100% !important; }
  #div_com_id input[type=text], #div_com_id input[type=email], #div_com_id textarea, .input_com { width: 100% !important; max-width: 100% !important; float: none !important; box-sizing: border-box; font-size: 16px !important; }
  #div_com_id .fl-right { float: none !important; margin: 12px 0 0 !important; }
  .responsiveReviews { width: 100% !important; }
  .responsiveReviews .review-wrapper { width: auto !important; float: none !important; padding: 0 44px; }
  .responsiveReviews .slick-slide img { margin: 10px auto 0 !important; }
  .responsiveReviews .review-text { width: auto !important; float: none !important; }
}
@media (max-width: 1023px) {
  .product-info-wrapper > .product-info > div { top: 0 !important; min-height: 0 !important; width: 100% !important; position: static !important; }
}
@media (max-width: 1023px) {
  .product-info .posta-curier { display: flow-root; }
  .product-info .posta-curier span, .product-info .posta-curier-text { width: auto !important; max-width: 54% !important; }
  .product-info .posta-curier span[style*="float: right"], .product-info .posta-curier span[style*="float:right"] { max-width: 44% !important; }
  .responsiveReviews .slick-list { width: 100% !important; }
  .responsiveReviews .slick-slide { width: calc(100vw - 40px) !important; box-sizing: border-box; }
}

/* ================= categorie / listare ================= */
@media (max-width: 1023px) {
  .bar-search { height: auto !important; min-height: 0 !important; overflow: hidden; padding: 4px 0 !important; margin: 0 0 8px !important; }
  .bar-search .select-search { width: 50% !important; padding: 4px !important; margin: 0 !important; box-sizing: border-box; float: left; }
  .bar-search select { width: 100% !important; max-width: 100% !important; height: 42px; font-size: 15px !important; box-sizing: border-box; }
  .indented-content > h2, .indented-content > h1 { font-size: 21px !important; line-height: 1.25 !important; margin: 8px 0 12px !important; width: auto !important; }
  .pagination, .pagination-wrapper, .result-pages { float: none !important; width: 100% !important; text-align: center; clear: both; padding: 12px 0; }
  .pagination a, .pagination span, .pagination strong { min-width: 36px; min-height: 36px; line-height: 36px !important; display: inline-block; box-sizing: border-box; }
}
@media (max-width: 1023px) {
  #footer .column3, #footer .column3 ul, #footer .column3 li { height: auto !important; max-height: none !important; overflow: visible !important; }
  #footer .column3 { display: flow-root; }
  #footer .column3 li { line-height: 1.5 !important; margin-top: 0 !important; }
  #footer .column3 li img { display: block; margin: 8px 0 !important; }
  #footer .wrapper { overflow: visible !important; }
}

/* ================= cos / comanda ================= */
@media (max-width: 1023px) {
  .cart-body-content { margin-top: 0 !important; min-height: 0 !important; width: 100% !important; }
  .cart_div { display: block !important; width: 100% !important; min-width: 0 !important; padding: 0 10px 20px !important; margin: 0 !important; box-sizing: border-box; box-shadow: none !important; }
  .cart_div form { width: 100% !important; }
  .cart-products { width: 100% !important; margin: 0 !important; float: none !important; }
  .cart-prod-headers { display: none !important; }
  .cart-prod { width: 100% !important; height: auto !important; min-height: 0 !important; margin: 0 0 10px !important; padding: 10px 44px 10px 10px !important; box-sizing: border-box; float: none !important; display: grid; grid-template-columns: 84px 1fr; column-gap: 12px; row-gap: 4px; align-items: start; }
  .cart-prod > * { float: none !important; width: auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; min-height: 0 !important; height: auto !important; text-align: left !important; grid-column: 2; }
  .cart-prod > *:first-child { grid-column: 1; grid-row: 1 / span 4; }
  .cart-prod > *:first-child img { max-width: 84px !important; max-height: 84px !important; width: auto !important; height: auto !important; }
  .cart-prod .cart-prod-name a { float: none !important; display: block; font-size: 14px !important; line-height: 1.3 !important; }
  .cart-prod .cart-prod-price del, .cart-prod .cart-prod-price span { line-height: 1.3 !important; }
  .cart-prod .cart-prod-quantity { display: flex; align-items: center; gap: 8px; }
  .cart-prod .cart-prod-quantity input.qty-input { width: 56px !important; height: 40px !important; font-size: 16px !important; text-align: center; float: none !important; margin: 0 !important; box-sizing: border-box; }
  .cart-prod .cart-prod-quantity input.update-qty { float: none !important; height: 40px !important; padding: 0 12px !important; margin: 0 !important; font-size: 13px !important; width: auto !important; }
  .cart-prod .cart-prod-delete { position: absolute !important; right: 8px !important; top: 8px !important; grid-column: auto; width: 32px !important; height: 32px !important; }
  .cart-prod .cart-prod-delete a { width: 30px !important; height: 30px !important; display: block; }

  .cart-totals { width: 100% !important; float: none !important; margin: 6px 0 0 !important; padding: 10px !important; box-sizing: border-box; }
  .cart-totals .sub_total, .cart-totals > div { width: 100% !important; display: flow-root; }
  .cart-left { width: 100% !important; margin: 16px 0 !important; float: none !important; display: flex; flex-wrap: wrap; gap: 8px; }
  .cart-left a.customBtn, .cart-left .customBtn { flex: 1 1 150px; text-align: center; box-sizing: border-box; padding: 12px 8px !important; height: auto !important; line-height: 1.2 !important; }

  /* formularul de comanda */
  .cart_div form > div[style*="min-height: 1000px"], .cart_div div[style*="min-height: 1000px"] { min-height: 0 !important; width: 100% !important; }
  .cart_div form p[style*="border-radius"], .cart_div .featured-header { width: 100% !important; float: none !important; margin: 14px 0 0 !important; box-sizing: border-box; font-size: 15px !important; }
  .new-customer-form, .new-customer-form1 { width: 100% !important; float: none !important; margin: 0 0 12px !important; padding: 10px !important; box-sizing: border-box; height: auto !important; }
  .new-customer-form .round-text, .round-text { width: 100% !important; float: none !important; box-sizing: border-box; margin: 0 0 10px !important; padding: 10px !important; }
  .new-customer-form p.subtitle, .new-customer-form1 p.subtitle, .round-text p.subtitle { width: 100% !important; float: none !important; }
  .new-customer-form .half, .round-text .half { width: 100% !important; float: none !important; display: block; margin: 0 0 8px !important; height: auto !important; }
  .new-customer-form .half > label, .new-customer-form .half > span, .new-customer-form .half > .fl-left { float: none !important; display: block; width: auto !important; margin: 0 0 3px !important; }
  .new-customer-form .fl-right, .new-customer-form #city-div-select, .new-customer-form .selectize-control, .new-customer-form select { float: none !important; width: 100% !important; box-sizing: border-box; }
  .new-customer-form input.text-input, .new-customer-form input.reviewer-input, .new-customer-form input[type=text], .new-customer-form input[type=password], .new-customer-form input[type=email], .new-customer-form input[type=tel] { float: none !important; width: 100% !important; height: 42px !important; font-size: 16px !important; box-sizing: border-box; margin: 0 !important; }
  .new-customer-form .selectize-input, .new-customer-form select { min-height: 42px; font-size: 16px !important; box-sizing: border-box; width: 100% !important; }
  .new-customer-form .selectize-input input { font-size: 16px !important; }
  .new-customer-form small { display: block; }
  #reload-payment-methods { width: 100% !important; float: none !important; }
  label.payment-label { width: 100% !important; float: none !important; display: flex !important; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 2px !important; box-sizing: border-box; min-height: 44px; }
  label.payment-label input[type=radio] { width: 22px; height: 22px; flex: 0 0 auto; margin: 0 !important; float: none !important; position: static !important; }
  .terms-conditions { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px; }
  .terms-conditions input[type=checkbox] { width: 22px; height: 22px; flex: 0 0 auto; }
  .order-comments, .order-comments textarea, textarea.comment-textarea { width: 100% !important; float: none !important; box-sizing: border-box; font-size: 16px !important; }
  .order-comments textarea { min-height: 90px; }
  .order-total-text { width: 100% !important; float: none !important; margin: 12px 0 8px !important; display: block; font-size: 18px; }
  #sendOrderBtnCustom, input[name=send_order] { width: 100% !important; height: 52px !important; font-size: 18px !important; line-height: 1.2 !important; margin: 6px 0 0 !important; float: none !important; border-radius: 8px; -webkit-appearance: none; appearance: none; }
}
@media (max-width: 1023px) {
  label.payment-label span { width: auto !important; float: none !important; flex: 1 1 auto; height: auto !important; line-height: 1.3 !important; font-size: 16px !important; }
  label.payment-label input[type=radio] { flex: 0 0 22px; display: inline-block !important; opacity: 1 !important; visibility: visible !important; -webkit-appearance: radio; appearance: auto; }
  .terms-conditions { float: none !important; width: 100% !important; margin: 10px 0 !important; line-height: 1.4 !important; clear: both; }
  .terms-conditions input, .terms-conditions label, .terms-conditions a { float: none !important; margin: 0 !important; padding: 0 !important; font-size: 14px !important; line-height: 1.4 !important; position: static !important; }
  .terms-conditions a { flex: 1 1 100%; padding-left: 28px !important; text-decoration: underline; }
  .new-customer-form .half input[type=checkbox], .new-customer-form input[type=checkbox] { width: 22px; height: 22px; float: none !important; vertical-align: middle; margin: 0 0 0 6px !important; }
  .new-customer-form1.m-340, .m-340 { width: 100% !important; }
}
@media (max-width: 1023px) {
  /* plasa de siguranta: in cos/formular nimic nu poate fi mai lat decat ecranul (multe latimi sunt puse inline in pixeli) */
  .cart_div div, .cart_div form, .cart_div p, .cart_div span, .cart_div label, .cart_div input, .cart_div select, .cart_div textarea, .cart_div table { max-width: 100% !important; box-sizing: border-box; }
  .cart_div form div[style*="width: 500px"], .cart_div form div[style*="width:500px"], .cart_div form > div > div:not([class]) { width: 100% !important; float: none !important; margin-left: 0 !important; margin-right: 0 !important; }
  #reload-payment-methods { margin-left: 0 !important; }
}

/* ================= pagini generale (cont, autentificare, informatii, contact) ================= */
@media (max-width: 1023px) {
  html body { min-width: 0 !important; }
  .body-content.customBody, .body-content { margin-top: 8px !important; }
  .body-content > div, .body-content .indented-content, .login_content, .info_div, .cond_div, .contact_content, .account-form, .text-wrapper, .page-text { width: 100% !important; min-width: 0 !important; max-width: 100% !important; float: none !important; margin-left: 0 !important; margin-right: 0 !important; box-sizing: border-box; }
  .body-content .indented-content, .login_content, .info_div, .cond_div, .contact_content { padding-left: 12px !important; padding-right: 12px !important; margin-top: 8px !important; margin-bottom: 16px !important; }
  .account-form { padding: 16px 12px !important; margin: 12px 0 !important; box-shadow: none !important; }
  .body-content h1, .body-content h2.page-title, .body-content h2 { font-size: 21px !important; line-height: 1.25 !important; min-height: 0 !important; width: auto !important; margin: 10px 0 12px !important; height: auto !important; }
  .body-content p, .body-content li, .body-content td { overflow-wrap: anywhere; }
  .body-content table { width: 100% !important; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .body-content input[type=text], .body-content input[type=password], .body-content input[type=email], .body-content input[type=tel], .body-content textarea, .body-content select, .body-content input.text-input { max-width: 100% !important; box-sizing: border-box; font-size: 16px !important; }
  .account-form input[type=text], .account-form input[type=password], .account-form input[type=email], .account-form input.text-input, .account-form textarea, .account-form select,
  .login_content input[type=text], .login_content input[type=password], .login_content input.text-input { width: 100% !important; height: 42px; margin-left: 0 !important; float: none !important; }
  .account-form textarea { height: auto; min-height: 110px; }
  .account-form .half, .account-form label, .account-form p.subtitle { width: 100% !important; float: none !important; display: block; height: auto !important; }
  .account-form .fl-right, .account-form .fl-left { float: none !important; width: 100% !important; }
  .body-content .customBtn, .body-content input[type=submit].login_1, .body-content a.login_1, .body-content .continue_btn { min-height: 44px; box-sizing: border-box; }

  /* caseta de cautare (lightbox) */
  div.search_lightbox_content { left: 2% !important; width: 96% !important; top: 8px !important; border-radius: 10px !important; }
  div.search_lightbox_content input.search_lightbox_input { font-size: 16px !important; width: calc(100% - 100px) !important; }
  div.search_div_middle { max-height: 70vh; overflow-y: auto; }

  /* notita cookie */
  .cc-window.cc-banner { padding: 10px 12px !important; font-size: 13px !important; line-height: 1.35 !important; }

  /* butonul plutitor de telefon: mai mic, sa nu acopere continutul */
  body [class*="seap"], body .call-float, body .phone-float { max-width: 76vw; }
}
@media (max-width: 1023px) {
  .product-info .posta-curier span, .product-info .posta-curier .posta-curier-text { float: none !important; display: inline-block; width: 46% !important; max-width: 46% !important; vertical-align: top; box-sizing: border-box; margin-bottom: 8px !important; }
  .adultConsentBox { width: 92vw !important; max-width: 92vw !important; left: 4vw !important; right: auto !important; margin-left: 0 !important; transform: none !important; box-sizing: border-box; padding: 16px !important; }
  .adultConsentBox h1 { width: auto !important; font-size: 18px !important; line-height: 1.3 !important; }
  .adultConsentBox button { width: 100% !important; margin: 8px 0 0 !important; float: none !important; position: static !important; min-height: 44px; }

  /* --- corecturi dupa verificarea vizuala pagina cu pagina (2026-11-21) --- */
  /* produs: randurile cu plata/transport/retur nu mai ies din ecran */
  .product-info .posta-curier, .product-info .posta-curier p { width: auto !important; max-width: 100% !important; height: auto !important; box-sizing: border-box; overflow-wrap: anywhere; }
  .product-info .posta-curier p > span { box-sizing: border-box; }
  .product-info .posta-curier span span { display: inline !important; width: auto !important; max-width: 100% !important; float: none !important; }
  /* categorie: lista de producatori trece pe randul urmator */
  .indented-content > .fl-left[style*="flex"] { flex-wrap: wrap; float: none !important; width: 100% !important; gap: 6px; }
  .indented-content > .fl-left[style*="flex"] > a { margin: 0 !important; }
  /* subsol: randurile cu imagini (ANPC, sigla) nu se mai suprapun */
  .customFooLi li { height: auto !important; min-height: 25px; }
  .customFooLi li a { height: auto !important; min-height: 25px; display: inline-block; }
  .customFooLi li img { display: block; max-width: 100%; height: auto; margin: 6px 0 !important; }
  /* recenzii: poza lipsa nu mai lasa text suprapus */
  .review-wrapper img { max-width: 90px; max-height: 90px; font-size: 0; }
}
