/* Mobil Store: mobile presentation only. Existing storefront components remain authoritative. */
@media (max-width: 767px) {
  body { --ms-ink:#14251d; --ms-green:#17663c; --ms-line:#e3e9e5; font-family:"Bai Jamjuree","Segoe UI",sans-serif; padding-bottom:calc(76px + env(safe-area-inset-bottom,0px)); }
  input,select,textarea,button { font-family:inherit; }
  :where(a,button,input,select,textarea):focus-visible { outline:2px solid #26834e; outline-offset:3px; }
  .header-mobile { background:#fff; color:var(--ms-ink); box-shadow:0 1px 0 var(--ms-line); padding-inline:12px; }
  .header-mobile .toggle-megamenu,.header-mobile .search-mobile { display:inline-flex; min-width:44px; min-height:44px; align-items:center; justify-content:center; }
  .header-mobile .toggle-megamenu { margin-right:0; border:0; padding:0; background:transparent; }
  .header-mobile .menu-mobile { min-width:88px; }
  .header-mobile #_mobile_logo { padding-inline:8px; }
  .header-mobile #_mobile_logo .logo { width:126px; height:44px; object-fit:contain; }
  .ms-mobile-discovery { display:block; background:#fff; color:var(--ms-ink); padding:12px 16px 14px; border-bottom:1px solid var(--ms-line); }
  .ms-mobile-search { display:flex; gap:8px; align-items:center; margin:0; padding:4px; border:1px solid #d4dfd7; border-radius:12px; background:#f4f7f5; }
  .ms-mobile-search input[type=search] { flex:1; min-width:0; width:100%; height:44px; padding:0 10px; border:0; background:transparent; color:var(--ms-ink); font-size:16px; }
  .ms-mobile-search button { flex:none; min-width:44px; min-height:44px; padding:0 12px; border:0; border-radius:9px; background:var(--ms-green); color:#fff; font-size:13px; }
  .ms-mobile-categories { display:flex; gap:8px; overflow-x:auto; padding:12px 0 2px; scrollbar-width:thin; }
  .ms-mobile-categories a { flex:none; display:inline-flex; align-items:center; min-height:44px; padding:0 14px; border:1px solid var(--ms-line); border-radius:24px; font-size:13px; font-weight:600; color:var(--ms-ink); background:#fff; white-space:nowrap; }
  #rbb-mobile-navigation { padding-bottom:env(safe-area-inset-bottom,0px); background:#fff; border-top:1px solid var(--ms-line); box-shadow:0 -4px 18px #102c1510; }
  #rbb-mobile-navigation .rbb-mobile-nav-item { min-height:62px; position:relative; padding:8px 4px; background:transparent; font-family:inherit; color:var(--ms-ink)!important; font-size:11px; }
  #rbb-mobile-navigation .rbb-mobile-nav-link { display:flex; align-items:center; justify-content:center; min-height:28px; color:var(--ms-green)!important; }
  #rbb-mobile-navigation .rbb-mobile-nav-link::after { content:""; position:absolute; inset:0; }
  #rbb-mobile-navigation .rbb-mobile-nav-item > span { line-height:18px; }
  #rbb-mobile-navigation .rbb-mobile-nav-item i { color:var(--ms-green)!important; }
  .home .elementor-element-1f11ef7f .info-wap { transform:none!important; position:relative; padding:26px 20px; }
  .home .elementor-element-1f11ef7f .title { font-size:25px!important; line-height:1.22!important; letter-spacing:-.4px; max-width:290px; margin:10px 0 18px; }
  .home .elementor-element-1f11ef7f .sub-title { font-size:13px!important; }
  .home .elementor-element-1f11ef7f .item-content { min-height:350px; }
  .home .policy-icon2 { margin-block:20px!important; }
  .home .policy-icon2 .elementor-image-box-wrapper { display:flex; align-items:center; gap:14px; text-align:left; padding:12px 0; }
  .home .policy-icon2 .elementor-image-box-img { flex:0 0 46px; width:46px!important; margin:0!important; }
  .home .policy-icon2 .elementor-image-box-title { font-size:13px; line-height:1.4; }
  .home .policy-icon2 .elementor-image-box-description { font-size:13px; line-height:1.5; }
  .home .elementor-heading-title,.home .rbb-elementor-slider .title,.home .rbb-elementor-slider .sub-title { font-family:inherit!important; }
  .rbb-shop-archive { padding-top:28px; padding-bottom:36px; }
  .rbb-shop-toolbar { gap:10px; flex-wrap:wrap; margin-bottom:18px; }
  .rbb-shop-toolbar .woocommerce-result-count { margin:0; }
  .rbb-sortby { min-width:0; margin-left:auto; }
  .rbb-sortby-trigger { min-height:44px; border-radius:10px; }
  .rbb-sortby-content { max-width:calc(100vw - 32px); }
  .rbb-product-item { padding-inline:5px; }
  .rbb-product-item .product_info,.item-product .product_info { margin-top:12px; padding:10px 10px 14px; color:var(--ms-ink); }
  .rbb-product-item .product_name,.item-product .product_name { color:var(--ms-ink); font-size:14px; line-height:1.45; margin-bottom:8px; }
  .rbb-product-item .product_price,.item-product .product_price { color:var(--ms-ink); font-size:17px; line-height:1.5; }
  .rbb-product-item .product_price del,.item-product .product_price del { font-size:12px; opacity:.65; }
  .rbb-product-item .thumbnail-container img,.item-product .thumbnail-container img { aspect-ratio:1; object-fit:contain; }
  .rbb-product-item .product-popup,.item-product .product-popup { display:block!important; position:static!important; opacity:1!important; visibility:visible!important; transform:none!important; padding:0!important; height:auto!important; background:transparent; }
  .rbb-product-item .product-popup > .product-title,.rbb-product-item .product-popup > .product_ratting,.rbb-product-item .product-popup > .product_price,
  .item-product .product-popup > .product-title,.item-product .product-popup > .product_ratting,.item-product .product-popup > .product_price { display:none; }
  .rbb-product-item .product_button,.item-product .product_button { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 0; }
  .rbb-product-item .product_button .button,.item-product .product_button .button { display:flex; flex:1; justify-content:center; align-items:center; width:auto; min-width:0; min-height:44px; padding:10px 12px; border-radius:10px; background:var(--ms-green); color:#fff; font-size:12px; line-height:1.4; }
  .single-product .product-summary { margin-top:22px; }
  .single-product .product-summary .single-sticky { position:static; }
  .single-product .product_title { font-size:25px; line-height:1.25; letter-spacing:-.4px; }
  .single-product .summary .price { font-size:25px; line-height:1.4; margin-block:14px; }
  .single-product .woocommerce-product-details__short-description { font-size:15px; line-height:1.65; }
  .single-product form.cart .single_add_to_cart_button { min-height:50px; border-radius:12px; padding:12px 20px; }
  .single-product form.cart select { max-width:100%; min-height:48px; font-size:16px; }
  .single-product .quantity input { min-height:46px; font-size:16px; }
  .single-product .woocommerce-tabs { margin-top:28px; }
  .single-product .woocommerce-tabs .tabs { display:flex; overflow-x:auto; gap:12px; }
  .single-product .woocommerce-tabs .tabs li { flex:none; }
  .single-product .woocommerce-tabs .tabs a { display:block; padding-block:14px; }
  .rbb-mobile-cart .rbb-cart-layout { display:block; }
  .rbb-cart-actions,.rbb-cart-summary-actions { display:flex; flex-direction:column; gap:12px; margin-top:16px; }
  .rbb-cart-actions .rbb-cart__coupon { display:flex; flex-direction:column; gap:8px; width:100%; height:auto; }
  .rbb-cart-actions .button,.rbb-cart-actions input,.rbb-cart__btn-update { width:100%; min-height:48px; height:auto; border-radius:10px; font-size:16px; }
  .rbb-mobile-cart .checkout-button { min-height:50px; border-radius:12px; }
  .rbb-checkout-template .rbb-checkout-outer,.rbb-checkout-template .rbb-checkout-layout { grid-template-columns:minmax(0,1fr); gap:18px; margin-top:22px; }
  .rbb-checkout-main,.rbb-checkout-sidebar { grid-column:1 / -1; min-width:0; width:100%; }
  .rbb-checkout-sidebar { margin-top:8px; }
  .woocommerce-checkout .form-row { float:none; width:100%; margin-bottom:14px; }
  .woocommerce-checkout .form-row label { font-size:14px; line-height:1.5; margin-bottom:6px; }
  .woocommerce-checkout .input-text,.woocommerce-checkout select,.woocommerce-checkout .select2-selection--single { min-height:48px; font-size:16px; border-radius:8px; }
  .woocommerce-checkout #place_order { width:100%; min-height:52px; border-radius:12px; font-size:16px; }
  .woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size:13px; line-height:1.6; }
}
@media (min-width:768px) { .ms-mobile-discovery { display:none; } }
@media (max-width:767px) and (prefers-reduced-motion:reduce) {
  .ms-mobile-discovery *,#rbb-mobile-navigation *,.rbb-product-item *,.item-product * { transition:none!important; animation:none!important; }
}

@media (max-width:767px) {
  body, body :where(h1,h2,h3,h4,h5,h6,p,button,input,select,textarea,.product_name,.product_price,.ms-mobile-discovery,.rbb-mobile-navigation,.elementor-image-box-content,.rbb-elementor-slider,.elementor-widget-rbb_banner) { font-family:"Bai Jamjuree","Segoe UI",sans-serif!important; }
  .ms-mobile-search .screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  .header-mobile .toggle-megamenu::before,.header-mobile .toggle-megamenu::after { width:18px; left:13px; bottom:auto; }
  .header-mobile .toggle-megamenu::before { top:16px; box-shadow:0 6px 0 currentColor; }
  .header-mobile .toggle-megamenu::after { top:28px; }
  .home .elementor-element-1f11ef7f .info-wap { top:0!important; padding:24px 10px; }
  .home .elementor-element-1f11ef7f .title { font-family:"Bai Jamjuree","Segoe UI",sans-serif!important; }
  .home .elementor-element-1f11ef7f .item-content { height:420px!important; background-position:center bottom!important; background-size:auto 250px!important; background-repeat:no-repeat!important; background-color:#191c21; }
  .rbb-product-popup > .product_info-bottom { display:none; }
  #rbb-page-title { padding-block:26px; }
  #rbb-page-title h1 { font-size:23px; line-height:1.3; color:var(--ms-ink); }
  #rbb-mobile-navigation .rbb-mobile-nav-link { font-family:"Bai Jamjuree","Segoe UI",sans-serif!important; }
}


@media (max-width:767px) {
  .header-mobile .toggle-megamenu { background:linear-gradient(currentColor,currentColor) center 16px/18px 2px no-repeat,linear-gradient(currentColor,currentColor) center 22px/18px 2px no-repeat,linear-gradient(currentColor,currentColor) center 28px/18px 2px no-repeat!important; }
  .header-mobile .toggle-megamenu::before,.header-mobile .toggle-megamenu::after { content:none!important; }
  .header-mobile .toggle-megamenu i { display:none; }
  .rbb-mobile-cart .rbb-cart__table { margin-top:20px; padding:16px; }
  .rbb-mobile-cart .rbb-cart__table .product-name { text-align:left; }
  .ms-mobile-categories { scrollbar-width:none; }
  .ms-mobile-categories::-webkit-scrollbar { display:none; }
}

