/* Braids Goddess 2.0.18 — final mobile commerce lock.
   Loaded after every other public skin so these rules cannot be overridden by legacy locks. */

@media (max-width: 620px){
  /* FULL-BLEED COLLECTION HERO */
  body.bgc-enabled.post-type-archive-product .bg-woocommerce-shell,
  body.bgc-enabled.tax-product_cat .bg-woocommerce-shell{
    width:100%!important;
    max-width:none!important;
    padding:8px 0 48px!important;
    margin:0!important;
  }
  body.bgc-enabled .bgc-collection-hero{
    width:100vw!important;
    max-width:none!important;
    margin:0 0 18px!important;
    margin-left:calc(50% - 50vw)!important;
    border-radius:0!important;
    min-height:0!important;
    background:linear-gradient(105deg,#fbf3eb 0%,#f1dbc7 100%)!important;
    overflow:hidden!important;
  }
  body.bgc-enabled .bgc-collection-hero>div:first-child{
    padding:30px 18px 24px!important;
  }
  body.bgc-enabled .bgc-collection-hero .bgc-kicker{
    margin-bottom:9px!important;
    font-size:8px!important;
    letter-spacing:.08em!important;
  }
  body.bgc-enabled .bgc-collection-hero h1{
    margin:0 0 12px!important;
    font-size:43px!important;
    line-height:.92!important;
    letter-spacing:-.025em!important;
  }
  body.bgc-enabled .bgc-collection-hero__desc{
    max-width:100%!important;
    font-size:11px!important;
    line-height:1.5!important;
  }
  body.bgc-enabled .bgc-inline-features{
    display:flex!important;
    gap:15px!important;
    margin-top:18px!important;
    overflow:auto!important;
    padding-bottom:2px!important;
  }
  body.bgc-enabled .bgc-inline-features span{
    flex:0 0 auto!important;
    font-size:8px!important;
  }
  body.bgc-enabled .bgc-inline-features svg{
    width:17px!important;
    height:17px!important;
  }

  /* MOBILE SHOP BODY SPACING */
  body.bgc-enabled .bgc-shop-layout{
    width:calc(100% - 24px)!important;
    margin-inline:auto!important;
    gap:18px!important;
  }
  body.bgc-enabled .bgc-filter details{
    border-radius:13px!important;
  }
  body.bgc-enabled .bgc-filter details>summary{
    min-height:50px!important;
    padding:0 16px!important;
    font-size:10px!important;
  }
  body.bgc-enabled .bgc-shop-main__intro h2{
    font-size:32px!important;
    line-height:.96!important;
  }
  body.bgc-enabled .bgc-shop-main__intro p{
    max-width:100%!important;
    font-size:10.5px!important;
    line-height:1.45!important;
  }
  body.bgc-enabled .bgc-shop-main>.woocommerce-result-count{
    font-size:9px!important;
    margin:10px 0 8px!important;
  }
  body.bgc-enabled .bgc-shop-main>.woocommerce-ordering select{
    min-height:46px!important;
    border-radius:11px!important;
    font-size:9px!important;
  }

  /* TRUE CARD REDESIGN — archive cards */
  body.bgc-enabled .woocommerce ul.products{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    margin:0!important;
    padding:0!important;
  }
  body.bgc-enabled .woocommerce ul.products li.product.bgc-loop-card{
    display:flex!important;
    flex-direction:column!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #eadfd6!important;
    border-radius:16px!important;
    overflow:hidden!important;
    background:#fffdf9!important;
    box-shadow:0 7px 22px rgba(62,33,20,.055)!important;
  }
  body.bgc-enabled .woocommerce ul.products li.product.bgc-loop-card .bgc-loop-card__media{
    position:relative!important;
    aspect-ratio:4/5!important;
    overflow:hidden!important;
    background:#eee2d7!important;
  }
  body.bgc-enabled .woocommerce ul.products li.product.bgc-loop-card .bgc-loop-card__image,
  body.bgc-enabled .woocommerce ul.products li.product.bgc-loop-card .bgc-loop-card__image img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
  }
  body.bgc-enabled .woocommerce ul.products li.product.bgc-loop-card .bgc-loop-card__image img{
    object-fit:cover!important;
    object-position:center top!important;
  }
  body.bgc-enabled .bgc-loop-card__badge{
    top:9px!important;
    left:9px!important;
    min-height:22px!important;
    padding:0 8px!important;
    border-radius:7px!important;
    background:#b96f47!important;
    font-size:6.5px!important;
  }
  body.bgc-enabled .bgc-loop-card__heart{
    top:9px!important;
    right:9px!important;
    width:33px!important;
    height:33px!important;
    border-radius:50%!important;
    background:rgba(255,253,249,.96)!important;
    border:1px solid rgba(74,37,22,.14)!important;
    box-shadow:0 4px 14px rgba(54,29,18,.06)!important;
  }
  body.bgc-enabled .bgc-loop-card__body{
    display:flex!important;
    flex:1!important;
    flex-direction:column!important;
    padding:12px 11px 11px!important;
    background:#fffdf9!important;
  }
  body.bgc-enabled .bgc-loop-card__category{
    display:block!important;
    margin:0 0 6px!important;
    color:#a96745!important;
    font:700 6.8px/1.1 var(--bg-sans,Manrope,sans-serif)!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
  }
  body.bgc-enabled .woocommerce ul.products li.product.bgc-loop-card .bgc-loop-card__title h2{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    min-height:39px!important;
    margin:0!important;
    padding:0!important;
    color:#2b1810!important;
    font:600 16.5px/1.08 var(--bg-serif,"Cormorant Garamond",serif)!important;
    letter-spacing:-.012em!important;
  }
  body.bgc-enabled .woocommerce ul.products li.product.bgc-loop-card .bgc-loop-card__footer{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:end!important;
    gap:7px!important;
    margin-top:auto!important;
    padding-top:10px!important;
  }
  body.bgc-enabled .woocommerce ul.products li.product.bgc-loop-card .bgc-loop-card__price{
    margin:0!important;
    color:#31190f!important;
    font:700 11px/1.15 var(--bg-sans,Manrope,sans-serif)!important;
    white-space:normal!important;
  }
  body.bgc-enabled .woocommerce ul.products li.product.bgc-loop-card .bgc-loop-card__price del{
    display:block!important;
    margin:0 0 3px!important;
    color:#a49489!important;
    opacity:.8!important;
    font-size:8.5px!important;
    font-weight:500!important;
  }
  body.bgc-enabled .woocommerce ul.products li.product.bgc-loop-card .bgc-loop-card__price ins{
    color:#a25f3e!important;
    text-decoration:none!important;
  }
  body.bgc-enabled .woocommerce ul.products li.product.bgc-loop-card .bgc-loop-card__action{
    margin:0!important;
    padding:0!important;
  }
  body.bgc-enabled .woocommerce ul.products li.product.bgc-loop-card .bgc-loop-card__action .button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:68px!important;
    height:34px!important;
    min-height:34px!important;
    margin:0!important;
    padding:0 9px!important;
    border:1px solid #e2c9b4!important;
    border-radius:999px!important;
    background:#f3e5d8!important;
    color:#492416!important;
    box-shadow:none!important;
    font:700 6.5px/1 var(--bg-sans,Manrope,sans-serif)!important;
    letter-spacing:.045em!important;
    text-transform:uppercase!important;
  }

  /* HOME cards — same grammar */
  body.bgc-enabled .bgc-product-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
  body.bgc-enabled .bgc-product-card{
    border:1px solid #eadfd6!important;
    border-radius:16px!important;
    background:#fffdf9!important;
    box-shadow:0 7px 22px rgba(62,33,20,.055)!important;
    overflow:hidden!important;
  }
  body.bgc-enabled .bgc-product-card__media{
    aspect-ratio:4/5!important;
  }
  body.bgc-enabled .bgc-product-card__body{
    padding:12px 11px 11px!important;
  }
  body.bgc-enabled .bgc-product-card__category{
    display:block!important;
    margin-bottom:6px!important;
    font-size:6.8px!important;
  }
  body.bgc-enabled .bgc-product-card__title h3,
  body.bgc-enabled .bgc-product-card h3{
    min-height:39px!important;
    font-size:16.5px!important;
    line-height:1.08!important;
  }
  body.bgc-enabled .bgc-product-card__bottom{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:end!important;
    gap:7px!important;
    padding-top:10px!important;
  }
  body.bgc-enabled .bgc-product-card .price{
    font-size:11px!important;
    line-height:1.15!important;
  }
  body.bgc-enabled .bgc-product-card .price del{
    display:block!important;
    font-size:8.5px!important;
    margin-bottom:3px!important;
  }
  body.bgc-enabled .bgc-product-card .bgc-mini-add{
    width:auto!important;
    min-width:68px!important;
    height:34px!important;
    min-height:34px!important;
    padding:0 9px!important;
    border:1px solid #e2c9b4!important;
    border-radius:999px!important;
    background:#f3e5d8!important;
    color:#492416!important;
    font-size:6.5px!important;
  }
}
