/* =========================================================
   CENTO PRODUCTS PAC-STYLE BROWSER
   Drop in as: cento-products-shortcodes-extracted.css
   Accent: #cc0000
   ========================================================= */

:root{
  --cento-red:#cc0000;
  --cento-red-soft:#fff2f2;
  --cento-ink:#182033;
  --cento-muted:#526174;
  --cento-line:#d8e2ef;
  --cento-line-strong:#b9cbe1;
  --cento-panel:#ffffff;
  --cento-panel-soft:#f7fafc;
  --cento-shadow:0 18px 45px rgba(24,32,51,.08);
  --cento-shadow-hover:0 22px 52px rgba(24,32,51,.14);
}

/* State helpers */
.cento-products-browser .cento-card.is-hidden,
.cento-products-browser .cento-no-results,
.cento-products-browser .cento-browser__empty{
  display:none;
}

.cento-products-browser .cento-no-results.is-shown,
.cento-products-browser .cento-browser__empty.is-shown{
  display:block;
}

/* Main wrapper */
.cento-products-browser{
  width:100%;
  max-width:1560px;
  margin:0 auto;
  padding:0 0 70px;
  color:var(--cento-ink);
}

/* Breadcrumb inside browser */
.cento-products-browser .cento-browser__breadcrumb{
  margin:0 0 22px;
  padding:0 0 14px;
  border-bottom:1px solid var(--cento-line);
  color:var(--cento-ink);
  font-size:15px;
  line-height:1.4;
  font-weight:600;
}

.cento-products-browser .cento-browser__breadcrumb a{
  color:var(--cento-ink);
  text-decoration:none;
  font-weight:800;
}

.cento-products-browser .cento-browser__breadcrumb a:hover{
  color:var(--cento-red);
}

.cento-products-browser .cento-browser__breadcrumb span{
  color:var(--cento-muted);
}


.cento-products-browser *{
  box-sizing:border-box;
}

/* Optional heading */
.cento-products-browser .cento-browser__heading{
  margin:0 0 30px;
}

.cento-products-browser .cento-browser__eyebrow{
  display:block;
  margin:0 0 8px;
  color: #464646;
  font-size:13px;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
}

.cento-products-browser .cento-browser__title{
  margin:0;
  color:var(--cento-ink);
  font-size:56px;
  line-height:.95;
  font-weight:900;
}

/* PAC-style toolbar container */
.cento-products-browser .cento-browser__toolbar-wrap{
  position:relative;
  z-index:20;
  margin:0 0 20px;
  padding:18px;
  border:1px solid var(--cento-line);
  border-radius:20px;
  background:var(--cento-panel);
  box-shadow:var(--cento-shadow);
}

.cento-products-browser .cento-browser__toolbar{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  margin:0;
}

.cento-products-browser .cento-categories,
.cento-products-browser .cento-filter{
  position:relative;
  flex:0 0 auto;
}

/* Toolbar buttons + search */
.cento-products-browser .cento-browser__btn,
.cento-products-browser .cento-browser__searchinput,
.cento-products-browser .cento-browser__searchbtn{
  height:56px !important;
  min-height:56px !important;
  border:1px solid var(--cento-line-strong) !important;
  border-radius:14px !important;
  background:#fff !important;
  color:var(--cento-ink) !important;
  box-shadow:none !important;
  outline:none !important;
  font-size:16px !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  appearance:none;
  -webkit-appearance:none;
}

.cento-products-browser .cento-browser__btn,
.cento-products-browser .cento-browser__searchbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:118px;
  padding:0 22px !important;
  cursor:pointer;
  white-space:nowrap;
  transition:background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.cento-products-browser .cento-browser__btn:hover,
.cento-products-browser .cento-browser__btn:focus,
.cento-products-browser .cento-browser__btn.is-active,
.cento-products-browser .cento-browser__searchbtn:hover,
.cento-products-browser .cento-browser__searchbtn:focus{
  background:var(--cento-red-soft) !important;
  color:var(--cento-red) !important;
  border-color:var(--cento-red) !important;
}

.cento-products-browser .cento-browser__search{
  display:flex;
  align-items:center;
  gap:12px;
  flex:1 1 auto;
  min-width:0;
}

.cento-products-browser .cento-browser__searchinput{
  width:100%;
  min-width:0;
  padding:0 22px !important;
  font-weight:500 !important;
  text-align:left !important;
}

.cento-products-browser .cento-browser__searchinput::placeholder{
  color:#7b8797 !important;
  opacity:1;
}

.cento-products-browser .cento-browser__searchinput:hover,
.cento-products-browser .cento-browser__searchinput:focus,
.cento-products-browser .cento-browser__searchinput:active{
  background:#fff !important;
  color:var(--cento-ink) !important;
  border-color:var(--cento-red) !important;
  box-shadow:none !important;
  outline:none !important;
}

.cento-products-browser .cento-browser__btnicon,
.cento-products-browser .cento-browser__caret{
  display:none;
}

/* Dropdown panels */
.cento-products-browser .cento-categories__panel,
.cento-products-browser .cento-filter__panel{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  z-index:100;
  border:1px solid var(--cento-line);
  border-radius:16px;
  background:#fff;
  box-shadow:0 20px 48px rgba(24,32,51,.16);
}

.cento-products-browser .cento-categories__panel{
  display:none !important;
  width:280px;
  max-height:70vh;
  overflow:auto;
  padding:10px;
  grid-template-columns:1fr;
  gap:4px;
}

.cento-products-browser .cento-categories__panel.is-open{
  display:grid !important;
}

.cento-products-browser .cento-categories__item{
  width:100%;
  min-height:44px;
  padding:0 14px;
  border:0;
  border-radius:10px;
  background:#fff;
  color:var(--cento-ink);
  text-align:left;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  transition:background .16s ease, color .16s ease;
}

.cento-products-browser .cento-categories__item:hover,
.cento-products-browser .cento-categories__item.is-active{
  background:var(--cento-red-soft) !important;
  color:var(--cento-red) !important;
}

.cento-products-browser .cento-filter__panel{
  display:none;
  width:285px;
  padding:18px;
}

.cento-products-browser .cento-filter__row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 0;
  color:var(--cento-ink);
  font-size:15px;
  font-weight:800;
  line-height:1.25;
}

.cento-products-browser .cento-filter__row input{
  width:15px;
  height:15px;
  accent-color:var(--cento-red);
}

.cento-products-browser .cento-filter__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:16px;
}

.cento-products-browser .cento-filter__submit,
.cento-products-browser .cento-filter__clear{
  min-height:48px;
  padding:0 14px;
  border:1px solid var(--cento-line-strong);
  border-radius:12px;
  background:var(--cento-red-soft);
  color:var(--cento-red);
  cursor:pointer;
  font-size:15px;
  font-weight:900;
  box-shadow:none;
}

.cento-products-browser .cento-filter__submit:hover,
.cento-products-browser .cento-filter__clear:hover{
  background:var(--cento-red);
  color:#fff;
  border-color:var(--cento-red);
}

/* PAC-style product grid container */
.cento-products-browser .cento-browser__grid-wrap{
  position:relative;
  z-index:1;
  padding:24px;
  border:1px solid var(--cento-line);
  border-radius:20px;
  background:var(--cento-panel);
  box-shadow:var(--cento-shadow);
}

.cento-products-browser .cento-gallery,
.cento-products-browser .cento-gallery.columns-3,
.cento-products-browser .cento-gallery.columns-4,
.cento-products-browser .cento-gallery.columns-5,
.cento-products-browser .cento-gallery.columns-6{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr)) !important;
  gap:16px !important;
  align-items:stretch;
  margin:0;
}

/* Product cards */
.cento-products-browser .cento-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:0;
  height:100%;
  padding:20px 16px 18px;
  border:1px solid var(--cento-line);
  border-radius:16px;
  background:#fff;
  color:var(--cento-ink);
  text-decoration:none !important;
  box-shadow:none;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cento-products-browser .cento-card:hover{
  transform:translateY(-4px);
  border-color:rgba(204,0,0,.38);
  box-shadow:var(--cento-shadow-hover);
}

.cento-products-browser .cento-card__media{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:1 / 1;
  overflow:hidden;
  border-radius:14px;
  background:#fff;
}

.cento-products-browser .cento-card__img{
  display:block;
  width:auto;
  height:auto;
  max-width:92%;
  max-height:92%;
  object-fit:contain;
  object-position:center;
  transition:transform .18s ease;
}

.cento-products-browser .cento-card:hover .cento-card__img{
  transform:scale(1.035);
}

.cento-products-browser .cento-card__title{
  display:block;
  width:100%;
  margin-top:16px;
  color:var(--cento-ink);
  font-size:16px;
  font-weight:900;
  line-height:1.25;
  text-align:center;
}

.cento-products-browser .cento-card__size{
  display:block;
  margin-top:8px;
  color:#2f3a4c;
  font-size:16px;
  font-weight:800;
  line-height:1.2;
  text-align:center;
}

/* Empty state and pagination */
.cento-products-browser .cento-browser__empty{
  padding:28px 0 4px;
  color:var(--cento-muted);
  font-size:17px;
  font-weight:800;
  text-align:center;
}

.cento-products-browser .cento-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  margin-top:34px;
}

.cento-products-browser .cento-pagination__btn{
  min-width:130px;
  min-height:48px;
  padding:0 22px;
  border:1px solid var(--cento-red) !important;
  border-radius:14px !important;
  background:#fff !important;
  color:var(--cento-red) !important;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
  box-shadow:none !important;
}

.cento-products-browser .cento-pagination__btn:hover{
  background:var(--cento-red) !important;
  color:#fff !important;
  border-color:var(--cento-red) !important;
}

.cento-products-browser .cento-pagination__btn:disabled{
  opacity:.35 !important;
  cursor:not-allowed;
}

.cento-products-browser .cento-pagination__info{
  color:var(--cento-muted);
  font-size:15px;
  font-weight:900;
}

/* Responsive */
@media (max-width:1500px){
  .cento-products-browser .cento-gallery,
  .cento-products-browser .cento-gallery.columns-3,
  .cento-products-browser .cento-gallery.columns-4,
  .cento-products-browser .cento-gallery.columns-5,
  .cento-products-browser .cento-gallery.columns-6{
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  }
}

@media (max-width:1250px){
  .cento-products-browser .cento-gallery,
  .cento-products-browser .cento-gallery.columns-3,
  .cento-products-browser .cento-gallery.columns-4,
  .cento-products-browser .cento-gallery.columns-5,
  .cento-products-browser .cento-gallery.columns-6{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}

@media (max-width:1024px){
  .cento-products-browser .cento-browser__toolbar{
    display:grid;
    grid-template-columns:auto auto minmax(0,1fr);
  }

  .cento-products-browser .cento-browser__searchbtn{
    display:none !important;
  }

  .cento-products-browser .cento-gallery,
  .cento-products-browser .cento-gallery.columns-3,
  .cento-products-browser .cento-gallery.columns-4,
  .cento-products-browser .cento-gallery.columns-5,
  .cento-products-browser .cento-gallery.columns-6{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

@media (max-width:760px){
  .cento-products-browser{
    padding-bottom:50px;
  }

  .cento-products-browser .cento-browser__title{
    font-size:42px;
  }

  .cento-products-browser .cento-browser__toolbar-wrap,
  .cento-products-browser .cento-browser__grid-wrap{
    padding:14px;
    border-radius:18px;
  }

  .cento-products-browser .cento-browser__toolbar{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .cento-products-browser .cento-browser__search{
    grid-column:1 / -1;
  }

  .cento-products-browser .cento-browser__btn{
    width:100%;
    min-width:0;
  }

  .cento-products-browser .cento-categories__panel,
  .cento-products-browser .cento-filter__panel{
    width:min(92vw,360px);
  }

  .cento-products-browser .cento-gallery,
  .cento-products-browser .cento-gallery.columns-3,
  .cento-products-browser .cento-gallery.columns-4,
  .cento-products-browser .cento-gallery.columns-5,
  .cento-products-browser .cento-gallery.columns-6{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }

  .cento-products-browser .cento-card{
    padding:14px 12px 16px;
  }

  .cento-products-browser .cento-card__title,
  .cento-products-browser .cento-card__size{
    font-size:14px;
  }
}

@media (max-width:520px){
  .cento-products-browser .cento-gallery,
  .cento-products-browser .cento-gallery.columns-3,
  .cento-products-browser .cento-gallery.columns-4,
  .cento-products-browser .cento-gallery.columns-5,
  .cento-products-browser .cento-gallery.columns-6{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .cento-products-browser .cento-pagination{
    flex-direction:column;
  }
}


/* =========================================================
   FINAL PAC STYLE PRODUCT HEADER + TITLE SYNC
   Matches recipes browser header
   ========================================================= */

.cento-products-browser{
  max-width:1500px !important;
  margin:0 auto !important;
}

.cento-products-browser .cento-browser__heading{
  margin:0 0 20px !important;
  padding:28px 34px 30px !important;
  background:#fff !important;
  border:1px solid #d9e1ec !important;
  border-radius:22px !important;
  box-shadow:0 16px 40px rgba(16,24,40,.06) !important;
}

.cento-products-browser .cento-browser__eyebrow{
  display:block !important;
  margin:0 0 8px !important;
  color:#81898C !important;
  font-size:14px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.22em !important;
  text-transform:uppercase !important;
}

.cento-products-browser .cento-browser__title{
  margin:0 !important;
  color:#292929 !important;
  font-size:64px !important;
  line-height:.95 !important;
  font-weight:900 !important;
}

.cento-products-browser .cento-browser__toolbar-wrap{
  margin:0 0 20px !important;
  padding:18px !important;
  background:#fff !important;
  border:1px solid #d9e1ec !important;
  border-radius:22px !important;
  box-shadow:0 16px 40px rgba(16,24,40,.06) !important;
}

.cento-products-browser .cento-browser__grid-wrap{
  padding:20px !important;
  background:#fff !important;
  border:1px solid #d9e1ec !important;
  border-radius:22px !important;
  box-shadow:0 16px 40px rgba(16,24,40,.06) !important;
}

.cento-products-browser .cento-browser__toolbar{
  margin:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
}

.cento-products-browser .cento-browser__btn,
.cento-products-browser .cento-browser__searchbtn{
  background:#fff !important;
  color:#182235 !important;
  border-color:#c9d8ea !important;
}

.cento-products-browser .cento-browser__btn:hover,
.cento-products-browser .cento-browser__btn:focus,
.cento-products-browser .cento-browser__btn.is-active,
.cento-products-browser .cento-browser__searchbtn:hover,
.cento-products-browser .cento-browser__searchbtn:focus{
  background:#f8e7e7 !important;
  color:#cc0000 !important;
  border-color:#cc0000 !important;
}

.cento-products-browser .cento-browser__searchinput{
  border-color:#c9d8ea !important;
}

.cento-products-browser .cento-browser__searchinput:hover,
.cento-products-browser .cento-browser__searchinput:focus{
  border-color:#cc0000 !important;
}

.cento-products-browser .cento-categories__panel,
.cento-products-browser .cento-filter__panel{
  border-color:#d9e1ec !important;
  border-radius:16px !important;
  box-shadow:0 18px 40px rgba(16,24,40,.16) !important;
}

.cento-products-browser .cento-categories__item{
  border:0 !important;
  border-radius:10px !important;
  background:#fff !important;
  color:#263548 !important;
  text-align:left !important;
  justify-content:flex-start !important;
}

.cento-products-browser .cento-categories__item:hover,
.cento-products-browser .cento-categories__item.is-active{
  background:#f8e7e7 !important;
  color:#cc0000 !important;
}

.cento-products-browser .cento-filter__submit,
.cento-products-browser .cento-filter__clear{
  background:#fff !important;
  color:#182235 !important;
  border-color:#c9d8ea !important;
  border-radius:12px !important;
}

.cento-products-browser .cento-filter__submit:hover,
.cento-products-browser .cento-filter__clear:hover{
  background:#f8e7e7 !important;
  color:#cc0000 !important;
  border-color:#cc0000 !important;
}

.cento-products-browser .cento-gallery,
.cento-products-browser .cento-gallery.columns-3,
.cento-products-browser .cento-gallery.columns-4,
.cento-products-browser .cento-gallery.columns-5,
.cento-products-browser .cento-gallery.columns-6{
  margin-top:0 !important;
}

.cento-products-browser .cento-card{
  border-color:#d9e1ec !important;
  border-radius:16px !important;
  box-shadow:none !important;
}

.cento-products-browser .cento-card:hover{
  border-color:rgba(204,0,0,.36) !important;
  box-shadow:0 16px 34px rgba(16,24,40,.12) !important;
}

@media(max-width:760px){
  .cento-products-browser .cento-browser__heading{
    padding:22px 22px 24px !important;
  }

  .cento-products-browser .cento-browser__title{
    font-size:46px !important;
  }

  .cento-products-browser .cento-browser__toolbar-wrap,
  .cento-products-browser .cento-browser__grid-wrap{
    padding:14px !important;
  }
}


/* =========================================================
   FINAL PRODUCT HEADER: toolbar inside title container
   Breadcrumb card + unified title/filter container
   ========================================================= */

.cento-products-browser .cento-browser__breadcrumb{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  width:100% !important;
  margin:0 0 22px !important;
  padding:16px 22px !important;
  border:1px solid #d9e1ec !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 12px 30px rgba(16,24,40,.05) !important;
  color:#5f6b7d !important;
  font-size:15px !important;
  line-height:1.4 !important;
  font-weight:800 !important;
}

.cento-products-browser .cento-browser__breadcrumb a{
  color:#182235 !important;
  text-decoration:none !important;
  font-weight:900 !important;
}

.cento-products-browser .cento-browser__breadcrumb a:hover{
  color:#cc0000 !important;
}

.cento-products-browser .cento-browser__breadcrumb span{
  color:#5f6b7d !important;
  font-weight:800 !important;
}

.cento-products-browser .cento-browser__heading{
  margin:0 0 22px !important;
  padding:28px 34px 22px !important;
  background:#fff !important;
  border:1px solid #d9e1ec !important;
  border-radius:22px !important;
  box-shadow:0 16px 40px rgba(16,24,40,.06) !important;
  overflow:visible !important;
}

.cento-products-browser .cento-browser__title-block{
  margin:0 !important;
  padding:0 0 28px !important;
  border-bottom:1px solid #d9e1ec !important;
}

.cento-products-browser .cento-browser__toolbar-wrap{
  margin:24px 0 0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

.cento-products-browser .cento-browser__toolbar{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

.cento-products-browser .cento-browser__btn,
.cento-products-browser .cento-browser__searchinput,
.cento-products-browser .cento-browser__searchbtn{
  height:58px !important;
  min-height:58px !important;
  border-radius:14px !important;
}

.cento-products-browser .cento-browser__searchbtn{
  min-width:132px !important;
}

.cento-products-browser .cento-browser__grid-wrap{
  margin-top:0 !important;
}

@media(max-width:1024px){
  .cento-products-browser .cento-browser__toolbar{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
  }

  .cento-products-browser .cento-browser__search{
    grid-column:1 / -1 !important;
  }
}

@media(max-width:760px){
  .cento-products-browser .cento-browser__breadcrumb{
    padding:14px 16px !important;
    border-radius:16px !important;
    font-size:14px !important;
  }

  .cento-products-browser .cento-browser__heading{
    padding:22px 22px 18px !important;
    border-radius:18px !important;
  }

  .cento-products-browser .cento-browser__title-block{
    padding-bottom:22px !important;
  }

  .cento-products-browser .cento-browser__toolbar-wrap{
    margin-top:18px !important;
  }

  .cento-products-browser .cento-browser__toolbar{
    grid-template-columns:1fr !important;
  }

  .cento-products-browser .cento-browser__search{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .cento-products-browser .cento-browser__searchbtn{
    display:inline-flex !important;
    width:100% !important;
  }
}

/* =========================================================
   FINAL FIX: Products toolbar always stays on one horizontal line
   ========================================================= */
.cento-products-browser .cento-browser__toolbar{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  flex-wrap:nowrap !important;
  gap:14px !important;
  width:100% !important;
  min-width:0 !important;
}

.cento-products-browser .cento-categories,
.cento-products-browser .cento-filter{
  flex:0 0 auto !important;
  width:auto !important;
  min-width:0 !important;
}

.cento-products-browser .cento-browser__btn{
  flex:0 0 auto !important;
  width:auto !important;
  min-width:144px !important;
  white-space:nowrap !important;
}

.cento-products-browser .cento-browser__search{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  flex-wrap:nowrap !important;
  gap:14px !important;
  flex:1 1 auto !important;
  width:auto !important;
  min-width:0 !important;
  grid-column:auto !important;
}

.cento-products-browser .cento-browser__searchinput{
  flex:1 1 auto !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
}

.cento-products-browser .cento-browser__searchbtn{
  display:inline-flex !important;
  flex:0 0 auto !important;
  width:auto !important;
  min-width:144px !important;
  white-space:nowrap !important;
}

/* Override earlier tablet rules that were forcing a two-row grid */
@media(max-width:1024px){
  .cento-products-browser .cento-browser__toolbar{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    grid-template-columns:none !important;
  }

  .cento-products-browser .cento-browser__search{
    display:flex !important;
    flex-direction:row !important;
    grid-column:auto !important;
  }

  .cento-products-browser .cento-browser__searchbtn{
    display:inline-flex !important;
  }
}

/* On very small phones, allow wrapping so it does not overflow */
@media(max-width:640px){
  .cento-products-browser .cento-browser__toolbar{
    flex-wrap:wrap !important;
  }

  .cento-products-browser .cento-categories,
  .cento-products-browser .cento-filter{
    flex:1 1 calc(50% - 7px) !important;
  }

  .cento-products-browser .cento-browser__btn{
    width:100% !important;
    min-width:0 !important;
  }

  .cento-products-browser .cento-browser__search{
    flex:1 1 100% !important;
    width:100% !important;
  }
}

/* =========================================================
   FINAL OVERRIDE: single-line desktop product toolbar
   This makes Categories, Filter, Search input, and Search button
   four columns inside the same row.
   ========================================================= */
@media (min-width: 761px){
  .cento-products-browser .cento-browser__toolbar-wrap{
    display:block !important;
    width:100% !important;
    margin:24px 0 0 !important;
    padding:0 !important;
  }

  .cento-products-browser .cento-browser__toolbar{
    display:grid !important;
    grid-template-columns:144px 144px minmax(260px, 1fr) 144px !important;
    align-items:center !important;
    gap:14px !important;
    width:100% !important;
    min-width:0 !important;
  }

  .cento-products-browser .cento-categories,
  .cento-products-browser .cento-filter{
    position:relative !important;
    width:100% !important;
    min-width:0 !important;
  }

  .cento-products-browser .cento-browser__search{
    display:contents !important;
  }

  .cento-products-browser .cento-browser__btn,
  .cento-products-browser .cento-browser__searchinput,
  .cento-products-browser .cento-browser__searchbtn{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:58px !important;
    min-height:58px !important;
    margin:0 !important;
  }

  .cento-products-browser .cento-browser__searchinput{
    grid-column:3 !important;
  }

  .cento-products-browser .cento-browser__searchbtn{
    grid-column:4 !important;
  }
}

@media (max-width:760px){
  .cento-products-browser .cento-browser__toolbar{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
  }

  .cento-products-browser .cento-browser__search{
    display:grid !important;
    grid-column:1 / -1 !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .cento-products-browser .cento-browser__searchinput,
  .cento-products-browser .cento-browser__searchbtn{
    width:100% !important;
    min-width:0 !important;
  }
}

/* =========================================================
   BRAND BROWSER HEADER, HERO, BREADCRUMB, AND FILTER ROW
   Matches the recipes/articles browser style
   ========================================================= */

.cento-products-browser{
  max-width:1500px !important;
  margin:0 auto !important;
}

.cento-products-browser .cento-browser__breadcrumb{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  width:100% !important;
  margin:0 0 18px !important;
  padding:16px 20px !important;
  border:1px solid #d9e1ec !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 12px 30px rgba(16,24,40,.05) !important;
  color:#607086 !important;
  font-size:15px !important;
  font-weight:800 !important;
  line-height:1.3 !important;
}

.cento-products-browser .cento-browser__breadcrumb a{
  color:#182235 !important;
  text-decoration:none !important;
  font-weight:900 !important;
}

.cento-products-browser .cento-browser__breadcrumb a:hover{
  color:#cc0000 !important;
}

.cento-products-browser .cento-breadcrumb-sep{
  color:#607086 !important;
  font-weight:900 !important;
}



.cento-products-browser .cento-browser__heading{
  margin:0 0 22px !important;
  padding:28px 34px 26px !important;
  background:#fff !important;
  border:1px solid #d9e1ec !important;
  border-radius:22px !important;
  box-shadow:0 16px 40px rgba(16,24,40,.06) !important;
}


.cento-products-browser .cento-browser__title-block{
  margin:0 0 26px !important;
  padding:0 0 28px !important;
  border-bottom:1px solid #d9e1ec !important;
}

.cento-products-browser .cento-browser__eyebrow{
  display:block !important;
  margin:0 0 8px !important;
  color:#81898C !important;
  font-size:14px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.22em !important;
  text-transform:uppercase !important;
}

.cento-products-browser .cento-browser__title{
  margin:0 !important;
  color:#182235 !important;
  font-size:64px !important;
  line-height:.95 !important;
  font-weight:900 !important;
}

.cento-products-browser .cento-browser__toolbar-wrap{
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.cento-products-browser .cento-browser__toolbar{
  display:grid !important;
  grid-template-columns:minmax(260px, 1fr) 210px 210px 260px !important;
  align-items:center !important;
  gap:14px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

.cento-products-browser .cento-browser__search,
.cento-products-browser .cento-categories,
.cento-products-browser .cento-filter,
.cento-products-browser .cento-brand-select-wrap{
  min-width:0 !important;
  width:100% !important;
}

.cento-products-browser .cento-browser__search{
  display:block !important;
}

.cento-products-browser .cento-browser__btn,
.cento-products-browser .cento-browser__searchinput,
.cento-products-browser .cento-browser__brandselect{
  width:100% !important;
  height:58px !important;
  min-height:58px !important;
  margin:0 !important;
  border:1px solid #c9d8ea !important;
  border-radius:14px !important;
  background:#fff !important;
  color:#182235 !important;
  box-shadow:none !important;
  outline:none !important;
  font-size:16px !important;
  line-height:1.2 !important;
  font-family:inherit !important;
  box-sizing:border-box !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}

.cento-products-browser .cento-browser__searchinput{
  display:block !important;
  padding:0 22px !important;
  font-weight:500 !important;
  text-align:left !important;
}

.cento-products-browser .cento-browser__searchinput::placeholder{
  color:#7b8797 !important;
  opacity:1 !important;
}

.cento-products-browser .cento-browser__btn{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  padding:0 44px 0 18px !important;
  min-width:0 !important;
  font-weight:900 !important;
  cursor:pointer !important;
  position:relative !important;
  white-space:nowrap !important;
}

.cento-products-browser .cento-browser__btn::after{
  content:"" !important;
  position:absolute !important;
  right:18px !important;
  top:50% !important;
  width:0 !important;
  height:0 !important;
  margin-top:-2px !important;
  border-left:6px solid transparent !important;
  border-right:6px solid transparent !important;
  border-top:7px solid #182235 !important;
}

.cento-products-browser .cento-browser__brandselect{
  padding:0 44px 0 18px !important;
  font-weight:900 !important;
  cursor:pointer !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #182235 50%),
    linear-gradient(135deg, #182235 50%, transparent 50%) !important;
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50% !important;
  background-size:6px 6px, 6px 6px !important;
  background-repeat:no-repeat !important;
}

.cento-products-browser .cento-browser__searchinput:hover,
.cento-products-browser .cento-browser__searchinput:focus,
.cento-products-browser .cento-browser__btn:hover,
.cento-products-browser .cento-browser__btn:focus,
.cento-products-browser .cento-browser__btn.is-active,
.cento-products-browser .cento-browser__brandselect:hover,
.cento-products-browser .cento-browser__brandselect:focus{
  background:#eef6ff !important;
  border-color:#cc0000 !important;
  color:#182235 !important;
  box-shadow:0 0 0 3px rgba(204,0,0,.08) !important;
}

.cento-products-browser .cento-browser__searchinput:hover,
.cento-products-browser .cento-browser__searchinput:focus{
  background:#fff !important;
}

.cento-products-browser .cento-browser__searchbtn{
  display:none !important;
}

.cento-products-browser .cento-categories__panel,
.cento-products-browser .cento-filter__panel{
  top:calc(100% + 10px) !important;
  border-color:#d9e1ec !important;
  border-radius:16px !important;
  box-shadow:0 18px 40px rgba(16,24,40,.16) !important;
}

.cento-products-browser .cento-browser__grid-wrap{
  padding:20px !important;
  background:#fff !important;
  border:1px solid #d9e1ec !important;
  border-radius:22px !important;
  box-shadow:0 16px 40px rgba(16,24,40,.06) !important;
}

@media(max-width:1180px){
  .cento-products-browser .cento-browser__toolbar{
    grid-template-columns:1fr 1fr !important;
  }

  .cento-products-browser .cento-browser__search{
    grid-column:1 / -1 !important;
  }
}

@media(max-width:760px){
  .cento-products-browser .cento-browser__breadcrumb{
    flex-wrap:wrap !important;
    padding:14px 16px !important;
    border-radius:16px !important;
  }

  .cento-products-browser .cento-browser__heading{
    padding:22px !important;
    border-radius:18px !important;
  }

  .cento-products-browser .cento-browser__title-block{
    margin-bottom:22px !important;
    padding-bottom:22px !important;
  }

  .cento-products-browser .cento-browser__title{
    font-size:46px !important;
  }

  .cento-products-browser .cento-browser__toolbar{
    grid-template-columns:1fr !important;
  }

  .cento-products-browser .cento-browser__search{
    grid-column:auto !important;
  }
}

/* =========================================================
   FINAL: breadcrumb lives inside the title/header block
   ========================================================= */
.cento-products-browser .cento-browser__title-block .cento-browser__breadcrumb{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  width:auto !important;
  margin:0 0 18px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#607086 !important;
  font-size:15px !important;
  font-weight:800 !important;
  line-height:1.3 !important;
}

.cento-products-browser .cento-browser__title-block .cento-browser__breadcrumb a{
  color:#182235 !important;
  text-decoration:none !important;
  font-weight:900 !important;
}

.cento-products-browser .cento-browser__title-block .cento-browser__breadcrumb a:hover{
  color:#cc0000 !important;
}

.cento-products-browser .cento-browser__title-block .cento-browser__breadcrumb span:not(.cento-breadcrumb-sep){
  color:#607086 !important;
  font-weight:800 !important;
}

.cento-products-browser .cento-browser__title-block .cento-breadcrumb-sep{
  color:#607086 !important;
  font-weight:900 !important;
}

@media(max-width:760px){
  .cento-products-browser .cento-browser__title-block .cento-browser__breadcrumb{
    margin:0 0 14px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    font-size:14px !important;
  }
}


/* FINAL: keep brand dropdown arrow locked in place on hover/focus */
.cento-products-browser .cento-browser__brandselect,
.cento-products-browser .cento-browser__brandselect:hover,
.cento-products-browser .cento-browser__brandselect:focus,
.cento-products-browser .cento-browser__brandselect:active{
  background-color:#fff !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #182235 50%),
    linear-gradient(135deg, #182235 50%, transparent 50%) !important;
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50% !important;
  background-size:6px 6px, 6px 6px !important;
  background-repeat:no-repeat !important;
}

.cento-products-browser .cento-browser__brandselect:hover,
.cento-products-browser .cento-browser__brandselect:focus,
.cento-products-browser .cento-browser__brandselect:active{
  background-color:#eef6ff !important;
}

/* =========================================================
   CLEAN PRODUCT DETAIL PAGE + RELATED CONTENT
   Shortcode: [cento_product_detail_page]
   ========================================================= */
.cento-product-detail-page,
.cento-product-detail-page *{
  box-sizing:border-box;
}

.cento-product-detail-page{
  width:100%;
  max-width:1500px;
  margin:0 auto 72px;
  color:var(--cento-ink, #182033);
}

.cento-product-detail-card,
.cento-product-related-card{
  background:#fff;
  border:1px solid #d9e1ec;
  border-radius:22px;
  box-shadow:0 16px 40px rgba(16,24,40,.06);
  overflow:hidden;
}

.cento-product-detail-card{
  padding:34px;
  margin-bottom:22px;
}

.cento-product-related-card{
  padding:34px;
}

.cento-product-detail__breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  width:100%;
  margin:0 0 28px;
  padding:0 0 18px;
  border-bottom:1px solid #d9e1ec;
  color:#607086;
  font-size:15px;
  line-height:1.35;
  font-weight:800;
}

.cento-product-detail__breadcrumb a{
  color:#182235;
  text-decoration:none !important;
  font-weight:900;
}

.cento-product-detail__breadcrumb a:hover{
  color:#cc0000;
}

.cento-product-detail__breadcrumb strong{
  color:#607086;
  font-weight:800;
}

.cento-product-detail-main{
  display:grid;
  grid-template-columns:minmax(320px, .9fr) minmax(0, 1.1fr);
  gap:44px;
  align-items:center;
}

.cento-product-detail-media{
  min-width:0;
  display:flex;
  justify-content:center;
  align-items:center;
}

.cento-product-detail-page .cento-product-image-switcher{
  width:100%;
  max-width:600px;
}

.cento-product-detail-page .cento-product-image-switcher__main{
  max-width:none;
  min-height:420px;
  border:1px solid #d9e1ec;
  border-radius:20px;
  background:#fff;
  padding:28px;
}

.cento-product-detail-page .cento-product-image-switcher__image{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.cento-product-detail-eyebrow{
  margin:0 0 10px;
  color:#81898C;
  font-size:14px;
  line-height:1;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
}

.cento-product-detail-title{
  margin:0;
  color:#182235;
  font-size:clamp(42px, 5vw, 78px);
  line-height:.95;
  font-weight:900;
  letter-spacing:-.04em;
}

.cento-product-detail-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:20px 0 0;
  color:#607086;
  font-size:16px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.cento-product-detail-description{
  max-width:720px;
  margin:24px 0 0;
  color:#4b5563;
  font-size:18px;
  line-height:1.6;
  font-weight:600;
}

.cento-product-detail-badges{
  margin:26px 0 0;
}

.cento-product-detail-page .cento-badges-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}

.cento-product-detail-page .cento-badge-icon{
  width:54px;
  height:54px;
  object-fit:contain;
}

.cento-product-detail-actions{
  margin:30px 0 0;
}

.cento-product-detail-page .cento-product-actions{
  justify-content:flex-start;
  gap:14px;
}

.cento-product-detail-page .cento-product-action-btn{
  min-width:190px;
  height:58px;
  border-radius:14px !important;
  background:#cc0000 !important;
  color:#fff !important;
  font-size:18px;
  font-weight:900;
  box-shadow:0 10px 24px rgba(204,0,0,.18) !important;
}

.cento-product-detail-page .cento-product-action-btn:hover,
.cento-product-detail-page .cento-product-action-btn:focus{
  background:#182235 !important;
  color:#fff !important;
}

/* Related bundle should never collapse/squish when recipe is missing */
.cento-product-related-card .cento-related-bundle{
  display:grid;
  grid-template-columns:minmax(260px, .9fr) minmax(0, 1.8fr);
  gap:34px;
  align-items:start;
}

.cento-product-related-card .cento-related-bundle.has-products-only,
.cento-product-related-card .cento-related-bundle.has-recipe-only{
  grid-template-columns:1fr;
}

.cento-product-related-card .cento-related__title,
.cento-related .cento-related__title{
  margin:0 0 18px;
  color:#4b4134;
  font-size:clamp(32px, 3.2vw, 48px);
  line-height:1;
  font-weight:900;
  letter-spacing:-.03em;
}

.cento-product-related-card .cento-related__grid,
.cento-related .cento-related__grid{
  display:grid;
  gap:14px;
}

.cento-product-related-card .cento-related__grid--products,
.cento-related-products .cento-related__grid--products{
  grid-template-columns:repeat(3, minmax(180px, 1fr));
}

.cento-product-related-card .has-products-only .cento-related__grid--products,
.cento-related-products .cento-related__grid--products{
  max-width:900px;
}

.cento-product-related-card .cento-related__grid--recipes,
.cento-related-recipes .cento-related__grid--recipes{
  grid-template-columns:1fr;
}

.cento-product-related-card .cento-related-card,
.cento-related .cento-related-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  min-width:0;
  height:100%;
  padding:20px 16px 18px;
  border:1px solid #d9e1ec;
  border-radius:16px;
  background:#fff;
  color:#111827;
  text-decoration:none !important;
  box-shadow:0 10px 24px rgba(16,24,40,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cento-product-related-card .cento-related-card:hover,
.cento-related .cento-related-card:hover{
  transform:translateY(-4px);
  border-color:rgba(204,0,0,.36);
  box-shadow:0 16px 34px rgba(16,24,40,.12);
}

.cento-product-related-card .cento-related-card__media,
.cento-related .cento-related-card__media{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:1 / 1;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
}

.cento-product-related-card .cento-related-card--recipe .cento-related-card__media,
.cento-related .cento-related-card--recipe .cento-related-card__media{
  aspect-ratio:4 / 3;
  background:#f6f8fb;
}

.cento-product-related-card .cento-related-card__media img,
.cento-related .cento-related-card__media img{
  display:block;
  max-width:92%;
  max-height:92%;
  width:auto;
  height:auto;
  object-fit:contain;
}

.cento-product-related-card .cento-related-card--recipe .cento-related-card__media img,
.cento-related .cento-related-card--recipe .cento-related-card__media img{
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
}

.cento-product-related-card .cento-related-card__title,
.cento-related .cento-related-card__title{
  display:block;
  width:100%;
  margin-top:16px;
  color:#111827;
  font-size:16px;
  line-height:1.25;
  font-weight:900;
  text-align:center;
}

/* Standalone related products shortcode, outside the new wrapper */
.cento-related-products:not(.cento-product-related-card .cento-related-products){
  width:100%;
}

.cento-related-products:not(.cento-product-related-card .cento-related-products) .cento-related__grid--products{
  display:grid;
  grid-template-columns:repeat(3, minmax(180px, 260px));
  gap:14px;
  justify-content:start;
}

@media(max-width:1024px){
  .cento-product-detail-main{
    grid-template-columns:1fr;
    gap:30px;
  }

  .cento-product-detail-info{
    text-align:left;
  }

  .cento-product-related-card .cento-related-bundle{
    grid-template-columns:1fr;
  }

  .cento-product-related-card .cento-related__grid--products,
  .cento-related-products .cento-related__grid--products{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media(max-width:760px){
  .cento-product-detail-page{
    margin-bottom:48px;
  }

  .cento-product-detail-card,
  .cento-product-related-card{
    padding:22px;
    border-radius:18px;
  }

  .cento-product-detail__breadcrumb{
    margin-bottom:22px;
    padding-bottom:14px;
    font-size:14px;
  }

  .cento-product-detail-title{
    font-size:42px;
  }

  .cento-product-detail-page .cento-product-image-switcher__main{
    min-height:300px;
    padding:18px;
  }

  .cento-product-detail-page .cento-product-actions{
    justify-content:stretch;
  }

  .cento-product-detail-page .cento-product-action-btn{
    width:100%;
    min-width:0;
  }

  .cento-product-related-card .cento-related__grid--products,
  .cento-related-products .cento-related__grid--products,
  .cento-related-products:not(.cento-product-related-card .cento-related-products) .cento-related__grid--products{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .cento-product-related-card .cento-related-card,
  .cento-related .cento-related-card{
    padding:14px 12px 16px;
  }

  .cento-product-related-card .cento-related-card__title,
  .cento-related .cento-related-card__title{
    font-size:14px;
  }
}

/* =========================================================
   PRODUCT DETAIL V2: smaller title, image on right, no button glow
   ========================================================= */
.cento-product-detail-page .cento-product-detail-main{
  grid-template-columns:minmax(0, 1.05fr) minmax(320px, .95fr) !important;
  gap:52px !important;
  align-items:center !important;
}

.cento-product-detail-page .cento-product-detail-info{
  order:1 !important;
  min-width:0 !important;
}

.cento-product-detail-page .cento-product-detail-media{
  order:2 !important;
  min-width:0 !important;
}

.cento-product-detail-page h1.cento-product-detail-title,
.cento-product-detail-page .cento-product-detail-title{
  color:#182235 !important;
  font-family:inherit !important;
  font-size:clamp(42px, 4vw, 62px) !important;
  line-height:.98 !important;
  font-weight:900 !important;
  letter-spacing:-.035em !important;
  max-width:760px !important;
}

.cento-product-detail-page .cento-product-detail-eyebrow{
  font-family:inherit !important;
}

.cento-product-detail-page .cento-product-detail-description{
  font-size:18px !important;
  line-height:1.55 !important;
  max-width:760px !important;
}

.cento-product-detail-page .cento-product-image-switcher{
  max-width:620px !important;
}

.cento-product-detail-page .cento-product-image-switcher__main{
  min-height:440px !important;
  box-shadow:none !important;
}

.cento-product-detail-page .cento-product-actions{
  justify-content:flex-start !important;
  gap:14px !important;
}

.cento-product-detail-page .cento-product-action-btn,
.cento-product-detail-page .cento-product-action-btn:hover,
.cento-product-detail-page .cento-product-action-btn:focus,
.cento-product-detail-page .cento-product-action-btn:active{
  box-shadow:none !important;
  transform:none !important;
}

.cento-product-detail-page .cento-product-action-btn{
  background:#cc0000 !important;
  color:#fff !important;
}

.cento-product-detail-page .cento-product-action-btn:hover,
.cento-product-detail-page .cento-product-action-btn:focus{
  background:#182235 !important;
  color:#fff !important;
}

/* Make related products fill the card cleanly when no related recipe exists. */
.cento-product-related-card .cento-related-bundle.has-products-only .cento-related-products,
.cento-product-related-card .cento-related-bundle.has-products-only .cento-related__grid--products{
  width:100% !important;
  max-width:none !important;
}

.cento-product-related-card .cento-related-bundle.has-products-only .cento-related__grid--products,
.cento-related-products:not(.cento-product-related-card .cento-related-products) .cento-related__grid--products{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(180px, 260px)) !important;
  gap:18px !important;
  justify-content:start !important;
}

.cento-product-related-card .cento-related-card,
.cento-related .cento-related-card{
  min-width:0 !important;
  width:100% !important;
}

@media(max-width:1024px){
  .cento-product-detail-page .cento-product-detail-main{
    grid-template-columns:1fr !important;
    gap:30px !important;
  }

  .cento-product-detail-page .cento-product-detail-media{
    order:1 !important;
  }

  .cento-product-detail-page .cento-product-detail-info{
    order:2 !important;
  }

  .cento-product-detail-page h1.cento-product-detail-title,
  .cento-product-detail-page .cento-product-detail-title{
    font-size:clamp(38px, 7vw, 54px) !important;
  }
}

@media(max-width:760px){
  .cento-product-detail-page .cento-product-image-switcher__main{
    min-height:300px !important;
  }

  .cento-product-detail-page .cento-product-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  .cento-product-detail-page .cento-product-action-btn{
    width:100% !important;
  }

  .cento-product-related-card .cento-related-bundle.has-products-only .cento-related__grid--products,
  .cento-related-products:not(.cento-product-related-card .cento-related-products) .cento-related__grid--products{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

/* =========================================================
   MOBILE FULL-WIDTH CONTAINER FIX
   Pushes the products browser almost edge-to-edge on phones
   ========================================================= */
@media(max-width:760px){

  .cento-products-browser{
    width:calc(100vw - 20px) !important;
    max-width:calc(100vw - 20px) !important;
    margin-left:calc(50% - 50vw + 10px) !important;
    margin-right:calc(50% - 50vw + 10px) !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  .cento-products-browser .cento-browser__breadcrumb,
  .cento-products-browser .cento-browser__heading,
  .cento-products-browser .cento-browser__grid-wrap,
  .cento-product-detail-page,
  .cento-product-detail-card,
  .cento-product-related-card{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  .cento-products-browser .cento-browser__heading,
  .cento-products-browser .cento-browser__grid-wrap,
  .cento-product-detail-card,
  .cento-product-related-card{
    padding:14px !important;
  }

  .cento-product-detail-page,
  .cento-product-detail-card,
  .cento-product-detail-main,
  .cento-product-detail-media,
  .cento-product-detail-page .cento-product-image-switcher,
  .cento-product-detail-page .cento-product-image-switcher__main{
    min-width:0 !important;
    max-width:100% !important;
    overflow:hidden !important;
  }

  .cento-product-detail-page .cento-product-image-switcher{
    display:block !important;
    width:100% !important;
  }

  .cento-product-detail-page .cento-product-image-switcher__main{
    padding:24px !important;
    min-height:0 !important;
    aspect-ratio:auto !important;
    overflow:visible !important;
  }

  .cento-product-detail-page .cento-product-image-switcher__image,
  .cento-product-detail-page [data-cento-product-main]{
    display:block !important;
    width:auto !important;
    height:auto !important;
    max-width:78% !important;
    max-height:none !important;
    margin:0 auto !important;
    object-fit:contain !important;
  }

  .cento-product-detail-page .cento-product-image-switcher__thumbs{
    max-width:100% !important;
    overflow-x:auto !important;
  }

  .cento-product-detail-page{
    width:calc(100vw - 20px) !important;
    max-width:calc(100vw - 20px) !important;
    margin-left:calc(50% - 50vw + 10px) !important;
    margin-right:calc(50% - 50vw + 10px) !important;
  }

  .cento-product-detail-card,
  .cento-product-related-card{
    padding:14px !important;
    border-radius:18px !important;
  }

  .cento-product-detail-page .cento-product-image-switcher__main{
    padding:14px !important;
  }

}
