/* Braids Goddess Core 2.0.36 — COMPLETE MOBILE QA
 * One late mobile ownership layer for the public storefront.
 * Scope: shell, home, shop/category, product, cart/checkout,
 * My Account, support/privacy/tracking, blog and footer.
 */

@media (max-width: 900px){
  html{overflow-x:clip!important}
  body.bgc-enabled{overflow-x:clip!important;max-width:100%!important}
  body.bgc-enabled .bg-main,
  body.bgc-enabled main,
  body.bgc-enabled .site-main,
  body.bgc-enabled .entry-content,
  body.bgc-enabled .woocommerce,
  body.bgc-enabled .elementor,
  body.bgc-enabled .elementor-section,
  body.bgc-enabled .e-con{min-width:0!important;max-width:100%!important}
  body.bgc-enabled img,
  body.bgc-enabled video,
  body.bgc-enabled iframe{max-width:100%!important}
  body.bgc-enabled table{max-width:100%!important}

  /* Header / navigation */
  body.bgc-enabled .bg-header{width:100%!important;z-index:120!important}
  body.bgc-enabled .bg-header__inner{width:min(100% - 22px,1440px)!important;min-height:66px!important;height:auto!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
  body.bgc-enabled .bg-brand{min-width:0!important;max-width:142px!important}
  body.bgc-enabled .custom-logo-link img{max-width:136px!important;max-height:54px!important;width:auto!important;height:auto!important}
  body.bgc-enabled .bg-wordmark strong{font-size:23px!important}
  body.bgc-enabled .bg-wordmark__crown{top:-14px!important;left:27px!important}
  body.bgc-enabled .bg-header__actions{gap:0!important;flex-wrap:nowrap!important}
  body.bgc-enabled .bg-icon-button,
  body.bgc-enabled .bg-menu-toggle{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:9px!important;touch-action:manipulation}
  body.bgc-enabled .bg-icon-button svg,
  body.bgc-enabled .bg-menu-toggle svg{width:21px!important;height:21px!important;max-width:21px!important;max-height:21px!important}
  body.bgc-enabled .bg-nav{inset:66px 0 auto 0!important;max-height:calc(100dvh - 66px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:12px 18px 24px!important}
  body.bgc-enabled.admin-bar .bg-nav{inset:112px 0 auto 0!important;max-height:calc(100dvh - 112px)!important}
  body.bgc-enabled .bg-nav a{min-height:46px!important;display:flex!important;align-items:center!important;padding:12px 4px!important}
  body.bgc-enabled .bg-search-panel form{display:grid!important;grid-template-columns:1fr!important}
  body.bgc-enabled .bg-search-panel input[type=submit]{min-height:46px!important;padding:0 18px!important}

  /* General page rhythm */
  body.bgc-enabled .bg-container,
  body.bgc-enabled .bgc-wrap{width:min(100% - 24px,1440px)!important}
  body.bgc-enabled .bg-content-shell,
  body.bgc-enabled .bg-woocommerce-shell{padding-top:24px!important;padding-bottom:46px!important}
  body.bgc-enabled .bg-entry>h1,
  body.bgc-enabled .bg-404 h1{overflow-wrap:anywhere!important}
  body.bgc-enabled .bg-button,
  body.bgc-enabled .button,
  body.bgc-enabled button.button,
  body.bgc-enabled input.button{min-height:46px!important;touch-action:manipulation}

  /* Home + editorial SEO */
  body.bgc-enabled.bgc-page-home .bgc-home-hero,
  body.bgc-enabled.bgc-page-home .bgc-universes,
  body.bgc-enabled.bgc-page-home .bgc-collection-strip,
  body.bgc-enabled.bgc-page-home .bgc-home-seo-story{max-width:100%!important}
  body.bgc-enabled.bgc-page-home .bgc-home-seo-story{overflow:hidden!important}
  body.bgc-enabled.bgc-page-home .bgc-home-seo-story__copy,
  body.bgc-enabled.bgc-page-home .bgc-home-seo-story__body{min-width:0!important}
  body.bgc-enabled.bgc-page-home .bgc-home-seo-story__copy p,
  body.bgc-enabled.bgc-page-home .bgc-home-seo-story__copy li{overflow-wrap:anywhere!important}

  /* Shop / archives */
  body.bgc-enabled.woocommerce-shop .woocommerce,
  body.bgc-enabled.tax-product_cat .woocommerce,
  body.bgc-enabled.tax-product_tag .woocommerce{width:100%!important;min-width:0!important}
  body.bgc-enabled .woocommerce .woocommerce-result-count{margin:0 0 10px!important;font-size:11px!important;color:#7a685f!important}
  body.bgc-enabled .woocommerce .woocommerce-ordering{width:100%!important;margin:0 0 16px!important}
  body.bgc-enabled .woocommerce .woocommerce-ordering select{width:100%!important;min-height:44px!important;font-size:16px!important;border-radius:11px!important;padding:0 38px 0 12px!important}
  body.bgc-enabled .bgc-shop-layout{grid-template-columns:1fr!important;gap:16px!important}
  body.bgc-enabled .bgc-filter{width:100%!important;max-width:100%!important;position:static!important}
  body.bgc-enabled .bgc-filter__options{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.bgc-enabled .bgc-filter label{min-width:0!important;overflow-wrap:anywhere!important}

  /* Single product */
  body.bgc-enabled.single-product .bgc-v3-page,
  body.bgc-enabled.single-product .bgc-v3-main,
  body.bgc-enabled.single-product div.product{width:100%!important;max-width:100%!important;min-width:0!important}
  body.bgc-enabled.single-product div.product{grid-template-columns:1fr!important;gap:18px!important}
  body.bgc-enabled.single-product .woocommerce-product-gallery,
  body.bgc-enabled.single-product .summary{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;margin:0!important}
  body.bgc-enabled.single-product .product_title{overflow-wrap:anywhere!important}
  body.bgc-enabled.single-product form.cart{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;gap:9px!important;width:100%!important}
  body.bgc-enabled.single-product form.cart .quantity{width:88px!important;margin:0!important}
  body.bgc-enabled.single-product form.cart .qty{width:100%!important;min-height:48px!important;font-size:16px!important}
  body.bgc-enabled.single-product form.cart .single_add_to_cart_button{width:100%!important;min-width:0!important;margin:0!important;min-height:48px!important;white-space:normal!important}
  body.bgc-enabled.single-product .woocommerce-tabs ul.tabs{display:flex!important;gap:7px!important;overflow-x:auto!important;scrollbar-width:none!important;padding-bottom:4px!important}
  body.bgc-enabled.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar{display:none!important}
  body.bgc-enabled.single-product .woocommerce-tabs ul.tabs li{flex:0 0 auto!important;white-space:nowrap!important}
  body.bgc-enabled.single-product .woocommerce-tabs .panel{overflow-wrap:anywhere!important}

  /* Cart */
  body.bgc-enabled.woocommerce-cart .woocommerce-cart-form,
  body.bgc-enabled.woocommerce-cart .cart-collaterals{width:100%!important;float:none!important;max-width:100%!important}
  body.bgc-enabled.woocommerce-cart .woocommerce-cart-form{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  body.bgc-enabled.woocommerce-cart table.shop_table{min-width:0!important;width:100%!important;table-layout:auto!important}
  body.bgc-enabled.woocommerce-cart table.shop_table td,
  body.bgc-enabled.woocommerce-cart table.shop_table th{overflow-wrap:anywhere!important}
  body.bgc-enabled.woocommerce-cart .coupon{width:100%!important}
  body.bgc-enabled.woocommerce-cart .coupon input.input-text{min-height:46px!important;font-size:16px!important}
  body.bgc-enabled.woocommerce-cart .cart_totals{width:100%!important;max-width:100%!important}

  /* Checkout */
  body.bgc-enabled.woocommerce-checkout form.checkout{display:block!important;width:100%!important}
  body.bgc-enabled.woocommerce-checkout #customer_details,
  body.bgc-enabled.woocommerce-checkout #order_review,
  body.bgc-enabled.woocommerce-checkout #order_review_heading{width:100%!important;max-width:100%!important;float:none!important;margin-left:0!important;margin-right:0!important}
  body.bgc-enabled.woocommerce-checkout .col2-set,
  body.bgc-enabled.woocommerce-checkout .col2-set .col-1,
  body.bgc-enabled.woocommerce-checkout .col2-set .col-2{width:100%!important;float:none!important;margin:0!important}
  body.bgc-enabled.woocommerce-checkout .form-row-first,
  body.bgc-enabled.woocommerce-checkout .form-row-last{width:100%!important;float:none!important}
  body.bgc-enabled.woocommerce-checkout input.input-text,
  body.bgc-enabled.woocommerce-checkout select,
  body.bgc-enabled.woocommerce-checkout textarea{font-size:16px!important;max-width:100%!important}
  body.bgc-enabled.woocommerce-checkout #payment{border-radius:14px!important;overflow:hidden!important}

  /* My Account, support, privacy and tracking */
  body.bgc-enabled.woocommerce-account .woocommerce{display:block!important;width:100%!important}
  body.bgc-enabled.woocommerce-account .woocommerce-MyAccount-navigation{display:none!important}
  body.bgc-enabled.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;min-width:0!important}
  body.bgc-enabled.woocommerce-account .bgc-account-mobile-nav{margin:0 0 16px!important}
  body.bgc-enabled.woocommerce-account .bgc-account-mobile-nav__grid a{min-width:0!important}
  body.bgc-enabled.woocommerce-account .bgc-account-mobile-nav__grid a span{overflow-wrap:anywhere!important}
  body.bgc-enabled.woocommerce-account form .form-row-first,
  body.bgc-enabled.woocommerce-account form .form-row-last{width:100%!important;float:none!important}
  body.bgc-enabled.woocommerce-account input,
  body.bgc-enabled.woocommerce-account select,
  body.bgc-enabled.woocommerce-account textarea{max-width:100%!important;font-size:16px!important}
  body.bgc-enabled .bgc-support-shell,
  body.bgc-enabled .bgc-privacy-shell,
  body.bgc-enabled .bgc-track-search,
  body.bgc-enabled .bgc-customer-tracking{width:100%!important;max-width:100%!important;min-width:0!important}
  body.bgc-enabled .bgc-support-grid,
  body.bgc-enabled .bgc-privacy-grid{grid-template-columns:1fr!important}
  body.bgc-enabled .bgc-track-timeline{overflow:hidden!important}
  body.bgc-enabled .bgc-track-step{min-width:0!important}
  body.bgc-enabled .bgc-track-step strong,
  body.bgc-enabled .bgc-track-step small{overflow-wrap:anywhere!important}

  /* Blog */
  body.bgc-enabled .bgc-blog-grid,
  body.bgc-enabled .bgc-blog-archive-grid{grid-template-columns:1fr!important}
  body.bgc-enabled .bgc-blog-card,
  body.bgc-enabled .bgc-blog-article{min-width:0!important;max-width:100%!important}
  body.bgc-enabled .bgc-blog-article h1,
  body.bgc-enabled .bgc-blog-article h2,
  body.bgc-enabled .bgc-blog-article h3{overflow-wrap:anywhere!important}
  body.bgc-enabled .bgc-blog-article pre{max-width:100%!important;overflow-x:auto!important}

  /* Footer */
  body.bgc-enabled .bg-service-strip__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.bgc-enabled .bg-service-strip__grid>div{min-width:0!important;padding:18px 14px!important}
  body.bgc-enabled .bg-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px 18px!important}
  body.bgc-enabled .bg-footer__brand{grid-column:1/-1!important}
  body.bgc-enabled .bg-footer__bottom{align-items:flex-start!important}
}

@media (max-width: 620px){
  body.bgc-enabled .bg-header__inner{width:min(100% - 18px,1440px)!important;min-height:62px!important}
  body.bgc-enabled .bg-brand{max-width:125px!important}
  body.bgc-enabled .custom-logo-link img{max-width:122px!important;max-height:49px!important}
  body.bgc-enabled .bg-icon-button,
  body.bgc-enabled .bg-menu-toggle{width:39px!important;height:39px!important;min-width:39px!important;min-height:39px!important;padding:8px!important}
  body.bgc-enabled .bg-nav{inset:62px 0 auto 0!important;max-height:calc(100dvh - 62px)!important}
  body.bgc-enabled.admin-bar .bg-nav{inset:108px 0 auto 0!important;max-height:calc(100dvh - 108px)!important}
  body.bgc-enabled .bg-container,
  body.bgc-enabled .bgc-wrap{width:min(100% - 18px,1440px)!important}

  body.bgc-enabled.bgc-page-home .bgc-home-hero h1{font-size:44px!important;max-width:100%!important}
  body.bgc-enabled.bgc-page-home .bgc-home-hero__visual{min-height:350px!important;margin-inline:8px!important}
  body.bgc-enabled.bgc-page-home .bgc-home-seo-story{padding:24px 18px!important;border-radius:16px!important}
  body.bgc-enabled.bgc-page-home .bgc-home-seo-story h2{font-size:29px!important;max-width:100%!important}
  body.bgc-enabled.bgc-page-home .bgc-home-seo-story__copy{font-size:13.5px!important;line-height:1.7!important}

  body.bgc-enabled .bgc-filter__options{grid-template-columns:1fr 1fr!important}

  body.bgc-enabled.single-product .product_title{font-size:38px!important;line-height:.96!important}
  body.bgc-enabled.single-product form.cart{grid-template-columns:76px minmax(0,1fr)!important}
  body.bgc-enabled.single-product form.cart .quantity{width:76px!important}
  body.bgc-enabled.single-product .woocommerce-tabs{padding-inline:12px!important}

  body.bgc-enabled.woocommerce-cart .coupon{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.bgc-enabled.woocommerce-cart .coupon .button{width:100%!important}
  body.bgc-enabled.woocommerce-cart table.shop_table_responsive tr td{padding:10px 8px!important}

  body.bgc-enabled.woocommerce-account .bgc-account-mobile-nav__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:8px!important}
  body.bgc-enabled.woocommerce-account .bgc-account-mobile-nav__grid a{min-height:58px!important;padding:9px!important;font-size:8.5px!important;white-space:normal!important}
  body.bgc-enabled.bgc-account-dashboard .bgc-account-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.bgc-enabled.bgc-account-dashboard .bgc-account-cards>a{min-height:106px!important;padding:11px!important}

  body.bgc-enabled .bgc-track-timeline{grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:24px 4px 20px!important}
  body.bgc-enabled .bgc-track-step__dot{width:28px!important;height:28px!important}
  body.bgc-enabled .bgc-track-step strong{font-size:10.5px!important;line-height:1.05!important}
  body.bgc-enabled .bgc-track-step small{font-size:6px!important;line-height:1.15!important}

  body.bgc-enabled .bg-service-strip__grid{grid-template-columns:1fr!important}
  body.bgc-enabled .bg-footer__grid{grid-template-columns:1fr 1fr!important}
  body.bgc-enabled .bg-footer{padding-top:44px!important}
}

@media (max-width: 390px){
  body.bgc-enabled .bg-brand{max-width:112px!important}
  body.bgc-enabled .custom-logo-link img{max-width:110px!important}
  body.bgc-enabled .bg-icon-button,
  body.bgc-enabled .bg-menu-toggle{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
  body.bgc-enabled.bgc-page-home .bgc-home-hero h1{font-size:40px!important}
  body.bgc-enabled .bgc-filter__options{grid-template-columns:1fr!important}
  body.bgc-enabled.single-product .product_title{font-size:34px!important}
  body.bgc-enabled.woocommerce-account .bgc-account-mobile-nav__grid a{font-size:8px!important}
  body.bgc-enabled .bg-footer__grid{grid-template-columns:1fr!important}
}
