/* Bigamart redesign (12 Nov 2026). Everything is scoped to body.bgr, which only appears when the redesign is on. */
body.bgr{--bgr-blue:#1d4f91;--bgr-blue-d:#163d70;--bgr-navy:#0f2f5c;--bgr-ink:#0f172a;--bgr-muted:#475569;--bgr-line:#e2e8f0;--bgr-soft:#f8fafc;--bgr-sky:#eef4fc;--bgr-gold:#fcd34d;--bgr-green:#166534}

/* trust line */
.bgr-trust{background:var(--bgr-navy);color:#fff;font-size:13px;line-height:1.4}
.bgr-trust__in{max-width:1280px;margin:0 auto;padding:7px 20px;display:flex;flex-wrap:wrap;gap:4px 22px;justify-content:center}
.bgr-trust strong{color:#fff}
@media (max-width:640px){.bgr-trust{font-size:12px}.bgr-trust__in{gap:2px 12px;padding:6px 12px}.bgr-hide-s{display:none}}

/* header search: wide, high contrast */
body.bgr .site-search{flex:1 1 640px!important;width:auto!important;max-width:720px!important;margin-left:28px!important;margin-right:20px!important}
@media (max-width:992px){body.bgr .site-search{margin-left:0!important;margin-right:0!important}}
body.bgr .site-search .widget,body.bgr .site-search .widget_product_search{width:100%!important;max-width:none!important;margin:0!important}
body.bgr .site-search .woocommerce-product-search{width:100%!important;max-width:none!important;display:flex;position:relative;border:2px solid var(--bgr-blue);border-radius:10px;background:#fff;overflow:visible;height:50px}
body.bgr .site-search .search-field{flex:1;min-width:0;height:46px;border:0!important;box-shadow:none!important;background:#fff!important;padding:0 16px!important;font-size:16px!important;color:var(--bgr-ink)!important;border-radius:10px 0 0 10px}
body.bgr .site-search .search-field::placeholder{color:#64748b;opacity:1}
body.bgr .site-search button[type=submit]{display:block!important;position:static!important;width:auto!important;height:46px!important;margin:0!important;padding:0 22px!important;background:var(--bgr-blue)!important;color:#fff!important;font-weight:700;font-size:15px;border:0;border-radius:0 8px 8px 0;text-indent:0!important;opacity:1!important}
body.bgr .site-search button[type=submit]::before,body.bgr .site-search .woocommerce-product-search::before{display:none!important}
body.bgr .site-search button[type=submit]:hover{background:var(--bgr-blue-d)!important}

/* phone: search always visible under the logo row */
@media (max-width:992px){
  body.bgr .main-header{flex-wrap:wrap}
  body.bgr .site-header .site-search{display:block!important;order:20;flex:1 1 100%;max-width:none;width:100%;margin:8px 0 4px;padding:0!important;position:static!important;visibility:visible!important;opacity:1!important;transform:none!important}
  body.bgr .mobile-search-toggle{display:none!important}
  body.bgr .main-header .secondary-navigation{display:none!important}
  body.bgr .site-search .woocommerce-product-search{height:48px}
  body.bgr .site-search .search-field{height:44px}
  body.bgr .site-search button[type=submit]{height:44px!important;padding:0 16px!important}
}

/* departments menu */
body.bgr .bgr-menu{display:flex;flex-wrap:wrap;justify-content:center}
body.bgr .bgr-menu>li>a{font-weight:600}
body.bgr .bgr-menu-xmas>a{color:#fcd34d!important}

/* suggestions dropdown */
.bgr-sg{position:absolute;left:0;right:0;min-width:min(680px,92vw);top:calc(100% + 6px);z-index:9999;background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 18px 40px rgba(15,23,42,.18);overflow:hidden;text-align:left;font-size:14px;color:var(--bgr-ink)}
.bgr-sg[hidden]{display:none}
.bgr-sg__cols{display:grid;grid-template-columns:240px minmax(0,1fr)}
.bgr-sg__terms{border-right:1px solid var(--bgr-line);padding:10px 0}
.bgr-sg__prods{padding:10px 12px}
.bgr-sg__h{padding:4px 16px 6px;font-size:12px;font-weight:700;color:var(--bgr-muted);text-transform:uppercase;letter-spacing:.05em}
.bgr-sg__prods .bgr-sg__h{padding-left:4px}
.bgr-sg a{display:flex;gap:12px;align-items:center;color:var(--bgr-ink);text-decoration:none}
.bgr-sg__term{padding:9px 16px}
.bgr-sg__prod{padding:7px 6px;border-radius:8px}
.bgr-sg__prod img{width:52px;height:52px;object-fit:contain;flex:none;background:#fff}
.bgr-sg__prod span{flex:1;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bgr-sg__prod b{font-weight:800;white-space:nowrap}
.bgr-sg a:hover,.bgr-sg a[aria-selected=true]{background:var(--bgr-sky)}
.bgr-sg__all{font-weight:700;color:var(--bgr-blue)!important;padding:10px 6px 4px}
@media (max-width:760px){.bgr-sg__cols{grid-template-columns:1fr}.bgr-sg__terms{border-right:0;border-bottom:1px solid var(--bgr-line)}}

/* home */
.bgr-home{background:#fff}
.bgr-wrap{max-width:1280px;margin:0 auto;padding:22px 20px 0;color:var(--bgr-ink)}
.bgr-home h1,.bgr-home h2{color:var(--bgr-ink);letter-spacing:-.01em}
.bgr-eyebrow{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--bgr-blue)}
.bgr-eyebrow--gold{color:var(--bgr-gold)}
.bgr-hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:18px}
.bgr-hero__main{background:var(--bgr-sky);border-radius:16px;padding:36px 36px 32px;display:flex;flex-direction:column;gap:14px}
.bgr-hero__main h1{margin:0;font-size:44px;line-height:1.08;font-weight:800}
.bgr-hero__lead{margin:0;font-size:18px;line-height:1.5;color:#334155;max-width:540px}
.bgr-hero__pop{font-size:14px;color:var(--bgr-muted);margin-top:4px}
.bgr-chips{display:flex;flex-wrap:wrap;gap:8px}
.bgr-chip{background:#fff;border:1px solid #c7d6ea;color:var(--bgr-ink)!important;border-radius:999px;padding:8px 14px;font-size:14px;font-weight:500;text-decoration:none!important}
.bgr-chip:hover{border-color:var(--bgr-blue)}
.bgr-hero__xmas{background:var(--bgr-navy);color:#fff;border-radius:16px;padding:30px;display:flex;flex-direction:column;gap:12px}
.bgr-hero__xmas h2{margin:0;color:#fff!important;font-size:30px;line-height:1.15;font-weight:800}
.bgr-hero__xmas p{margin:0;color:#dbe5f3;font-size:16px;line-height:1.5}
.bgr-hero__xmas p strong{color:#fff}
.bgr-xmas-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bgr-xmas-item{background:#fff;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:6px;text-decoration:none!important}
.bgr-xmas-item img{width:100%;aspect-ratio:1;object-fit:contain}
.bgr-xmas-price{color:var(--bgr-ink);font-weight:700;font-size:14px}
.bgr-xmas-price del{display:none}
.bgr-btn-gold{align-self:flex-start;background:var(--bgr-gold);color:var(--bgr-ink)!important;border-radius:10px;padding:12px 20px;font-weight:700;font-size:15px;text-decoration:none!important}
.bgr-sec{margin-top:44px}
.bgr-sec__head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px}
.bgr-sec__head h2{margin:0;font-size:24px;font-weight:800}
.bgr-sec__head a,.bgr-link-strong{font-size:15px;font-weight:600;color:var(--bgr-blue)}
.bgr-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}
.bgr-tile{background:var(--bgr-soft);border:1px solid var(--bgr-line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px;color:var(--bgr-ink)!important;text-decoration:none!important}
.bgr-tile img{width:100%;height:130px;object-fit:contain;mix-blend-mode:multiply}
.bgr-tile span{font-size:16px;font-weight:700}
.bgr-tile:hover{border-color:var(--bgr-blue)}
.bgr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}
.bgr-card{border:1px solid var(--bgr-line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:8px;background:#fff}
.bgr-card__img img{width:100%;aspect-ratio:1;object-fit:contain;display:block}
.bgr-card__title{color:var(--bgr-ink)!important;font-size:14px;line-height:1.4;min-height:39px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-decoration:none!important}
.bgr-card__title:hover{text-decoration:underline!important}
.bgr-card__price{font-size:20px;font-weight:800;color:var(--bgr-ink)}
.bgr-card__price del{font-size:14px;font-weight:400;color:var(--bgr-muted)}
.bgr-card__stock,.bgr-stock{font-size:13px;color:var(--bgr-green)}
.bgr-card__btn{margin-top:auto!important;text-align:center;background:#fff!important;color:var(--bgr-blue)!important;border:1.5px solid var(--bgr-blue)!important;border-radius:9px!important;padding:10px!important;font-weight:700!important;font-size:14px!important;width:100%}
.bgr-card__btn:hover{background:var(--bgr-blue)!important;color:#fff!important}
.bgr-card .added_to_cart{font-size:13px;text-align:center}
.bgr-reviews{background:var(--bgr-soft);border-radius:16px;padding:30px}
.bgr-reviews__head{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:baseline;margin-bottom:16px}
.bgr-reviews__head h2{margin:0;font-size:24px;font-weight:800}
.bgr-reviews__head span{color:#334155}
.bgr-reviews__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-bottom:14px}
.bgr-review{margin:0;background:#fff;border:1px solid var(--bgr-line);border-radius:14px;padding:20px;display:flex;flex-direction:column;gap:8px}
.bgr-stars{color:#00875a;letter-spacing:2px}
.bgr-review__title{font-weight:700}
.bgr-review blockquote{margin:0;padding:0;border:0;font-size:14px;line-height:1.55;color:#334155;font-style:normal}
.bgr-review figcaption{font-size:12px;color:var(--bgr-muted)}
.bgr-why{margin:40px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;padding-bottom:8px}
.bgr-why div{display:flex;flex-direction:column;gap:2px;border-left:3px solid var(--bgr-sky);padding-left:12px}
.bgr-why span{font-size:14px;color:var(--bgr-muted)}
@media (max-width:640px){
  .bgr-wrap{padding:14px 14px 0}
  .bgr-hero{display:flex;flex-direction:column-reverse}
  .bgr-hero__main{padding:22px}
  .bgr-hero__main h1{font-size:30px}
  .bgr-hero__lead{font-size:16px}
  .bgr-hero__xmas{padding:20px}
  .bgr-hero__xmas h2{font-size:24px}
  .bgr-btn-gold{align-self:stretch;text-align:center}
  .bgr-sec{margin-top:30px}
  .bgr-sec__head h2,.bgr-reviews__head h2{font-size:19px}
  .bgr-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .bgr-tile{padding:10px 8px;align-items:center;text-align:center}
  .bgr-tile img{height:72px}
  .bgr-tile span{font-size:13px;line-height:1.25}
  .bgr-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .bgr-card{padding:10px}
  .bgr-card__price{font-size:18px}
  .bgr-card__btn{min-height:44px}
  .bgr-reviews{padding:18px}
  .bgr-reviews__grid .bgr-review:nth-child(n+2){display:none}
}

/* shop, category and search result cards */
body.bgr ul.products li.product .product__categories{display:none}
body.bgr ul.products li.product .woocommerce-loop-product__title a{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}
body.bgr ul.products li.product .woocommerce-card__header{padding-left:0!important;padding-right:0!important}
body.bgr ul.products li.product .woocommerce-loop-product__title{padding:0!important;margin:10px 0 6px!important}
body.bgr ul.products li.product .woocommerce-loop-product__title a{font-size:15px}
body.bgr ul.products li.product .price{padding:0!important;margin:0 0 4px!important;display:block}
body.bgr ul.products li.product .bgr-stock{margin:0 0 6px}
@media (max-width:640px){body.bgr ul.products li.product .woocommerce-loop-product__title a{font-size:14px}body.bgr ul.products li.product .price{font-size:17px}}

/* footer: the new one replaces the theme footer */
body.bgr .site-footer,body.bgr footer.copyright{display:none!important}
.bgr-footer{background:var(--bgr-ink);color:#cbd5e1;font-size:14px;margin-top:48px}
.bgr-footer__in{max-width:1280px;margin:0 auto;padding:40px 20px 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:26px}
.bgr-footer nav{display:flex;flex-direction:column;gap:8px}
.bgr-footer a{color:#cbd5e1!important;text-decoration:none!important}
.bgr-footer a:hover{color:#fff!important;text-decoration:underline!important}
.bgr-footer__h,.bgr-footer__name{color:#fff;font-weight:700}
.bgr-footer__name{font-size:18px;font-weight:800}
.bgr-footer__brand p{margin:8px 0 0;line-height:1.5}
.bgr-footer__base{max-width:1280px;margin:0 auto;padding:16px 20px 26px;border-top:1px solid #1e293b;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;color:#94a3b8;font-size:13px}

.bgr-footer__logo{width:120px;height:auto;display:block}
.bgr-footer__dmca{display:inline-block;margin-top:14px}
.bgr-footer__dmca img{width:120px;height:auto;display:block}
.bgr-footer__pay{max-width:100%;height:auto;width:390px}
.bgr-footer__legal{color:#64748b;font-size:12px}

/* ---------- product page (phase 2): body.bgr-pdp only ---------- */
body.bgr-pdp .bgr-crumbs{font-size:14px;color:#475569;max-width:1280px;margin:10px auto 14px;padding:0 20px;box-sizing:border-box}
body.bgr-pdp .bgr-crumbs a{color:#1d4f91}
body.bgr-pdp .bgr-pdp-brand{display:inline-block;font-size:15px;font-weight:600;color:#1d4f91;margin-bottom:4px}
body.bgr-pdp div.product .product_title{color:#0f172a!important;font-weight:800!important;font-size:30px;line-height:1.25;letter-spacing:-.01em}
body.bgr-pdp div.product .summary p.price,body.bgr-pdp div.product .summary span.price{font-size:32px!important;font-weight:800!important;color:#0f172a!important}
body.bgr-pdp div.product .summary .stock.in-stock{display:inline-block;background:#dcfce7;color:#166534!important;font-weight:700;font-size:14px;border-radius:999px;padding:5px 12px;margin:4px 0 10px}
body.bgr-pdp div.product .summary .stock.in-stock::before{display:none}
body.bgr-pdp .single_add_to_cart_button{text-transform:none!important;font-size:18px!important;font-weight:800!important;border-radius:10px!important;min-height:54px;letter-spacing:0!important}
body.bgr-pdp .bgr-pdp-xmas{display:flex;gap:10px;align-items:center;background:#fffbeb;border:1px solid #fcd34d;border-radius:12px;padding:12px 14px;margin:6px 0 16px;font-size:15px;color:#0f172a}
body.bgr-pdp .bgr-pdp-xmas svg{flex:none}
body.bgr-pdp .bgr-pdp-info{border:1px solid #e2e8f0;border-radius:12px;margin:18px 0}
body.bgr-pdp .bgr-pdp-info__row{display:flex;gap:12px;padding:12px 14px;border-bottom:1px solid #e2e8f0;font-size:15px;line-height:1.45;color:#0f172a}
body.bgr-pdp .bgr-pdp-info__row:last-child{border-bottom:0}
body.bgr-pdp .bgr-pdp-info__row svg{flex:none;margin-top:1px}
body.bgr-pdp .bgr-pdp-info__row span{color:#475569}
body.bgr-pdp .bgr-pdp-features h2{font-size:18px;font-weight:800;margin:18px 0 8px;color:#0f172a}
body.bgr-pdp .bgr-pdp-features__body{font-size:15px;line-height:1.6;color:#1e293b}
body.bgr-pdp .product-widget,body.bgr-pdp .product_meta .sku_wrapper,body.bgr-pdp .product_meta .tagged_as,body.bgr-pdp .bigamart-mobile-buy-bar{display:none!important}
body.bgr-pdp .bgr-pdp-more{max-width:1280px;margin:40px auto 0;padding:0 4px;clear:both}
body.bgr-pdp .bgr-pdp-more .bgr-sec__head h2{margin:0;font-size:22px;font-weight:800;color:#0f172a}
body.bgr-pdp .bgr-pdp-more .bgr-sec__head a{font-size:15px;font-weight:600;color:#1d4f91}
body.bgr-pdp .bgr-pdp-more .bgr-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}
body.bgr-pdp .bgr-pdp-trust{max-width:1280px;margin:32px auto 0;background:#f8fafc;border-radius:16px;padding:20px 24px;display:flex;flex-wrap:wrap;gap:12px 28px;align-items:center;clear:both}
body.bgr-pdp .bgr-pdp-trust__h{font-size:18px;font-weight:800;color:#0f172a}
body.bgr-pdp .bgr-pdp-trust blockquote{margin:0;flex:1 1 360px;font-size:15px;line-height:1.55;color:#334155;border-left:3px solid #e2e8f0;padding-left:18px;font-style:normal}
.bgr-buybar{display:none}
@media (max-width:992px){
  body.bgr-pdp div.product .product_title{font-size:21px}
  body.bgr-pdp div.product .summary p.price{font-size:28px!important}
  body.bgr-pdp .bgr-pdp-more .bgr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bgr-buybar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9990;background:#fff;border-top:1px solid #e2e8f0;box-shadow:0 -6px 18px rgba(15,23,42,.08);padding:10px 16px calc(12px + env(safe-area-inset-bottom));gap:12px;align-items:center}
  .bgr-buybar[hidden]{display:none}
  .bgr-buybar__meta{flex:1;min-width:0}
  .bgr-buybar__t{font-size:12px;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .bgr-buybar__p{font-size:19px;font-weight:800;color:#0f172a}
  .bgr-buybar__p del{display:none}
  .bgr-buybar__b{height:48px;padding:0 20px;border:0;border-radius:10px;background:#1d4f91;color:#fff;font-size:16px;font-weight:800}
  body.bgr-pdp{padding-bottom:76px}
}
body.bgr-pdp .bgr-pdp-trust blockquote::before,body.bgr-pdp .bgr-pdp-trust blockquote::after{content:none!important;display:none!important}
body.bgr-pdp .bgr-pdp-trust blockquote{quotes:none;background:none!important}
body.bgr ul.products li.product .woocommerce-loop-product__title{min-height:0!important;height:auto!important}
body.bgr ul.products li.product .price{line-height:1.3!important;height:auto!important;min-height:0!important}
