/* Filling Happiness — WooCommerce premium catalog + product pages */

.woocommerce-page main,
.woocommerce main{
  width:min(1240px,calc(100% - 48px))!important;
  max-width:1240px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-top:54px;
  padding-bottom:82px;
}
.woocommerce .woocommerce-breadcrumb{
  margin:0 0 28px;
  font-family:var(--fh-font-ui);
  font-size:.74rem;
  color:rgba(47,47,44,.6);
}
.woocommerce .woocommerce-breadcrumb a{color:inherit}

/* Shop hero */
.woocommerce-shop .woocommerce-ordering,
.woocommerce-shop .woocommerce-result-count{margin-top:18px}
.fh-store-archive-hero{
  position:relative;
  overflow:hidden;
  margin:0 0 54px;
  padding:48px 42px 52px;
  background:linear-gradient(120deg,var(--fh-ivory) 0%,#f4eee7 100%);
  border:1px solid rgba(191,174,155,.32);
}
.fh-store-archive-hero::after{
  content:"";
  position:absolute;
  width:290px;
  height:390px;
  right:-75px;
  top:-115px;
  border:1px solid rgba(184,150,99,.16);
  border-radius:50% 0 50% 50%;
  transform:rotate(27deg);
}
.fh-store-archive-kicker,
.fh-store-kicker,
.fh-store-card-kicker{
  font-family:var(--fh-font-ui);
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--fh-champagne);
}
.fh-store-archive-kicker{margin:0 0 16px;font-size:.7rem}
.fh-store-archive-hero h1{
  max-width:720px;
  margin:0;
  font-family:var(--fh-font-display);
  font-size:clamp(3.1rem,5.6vw,5.8rem);
  line-height:.92;
  font-weight:400;
  letter-spacing:-.035em;
}
.fh-store-archive-hero h1 em{
  color:#c89ea4;
  font-style:normal;
}
.fh-store-archive-hero>p:not(.fh-store-archive-kicker){
  max-width:680px;
  margin:25px 0 0;
  font-size:1rem;
  line-height:1.75;
  color:rgba(47,47,44,.78);
}
.fh-store-archive-script{
  position:absolute;
  right:80px;
  top:92px;
  color:#c99ea5;
  font-family:var(--fh-font-display);
  font-size:2.2rem;
  font-style:italic;
  line-height:1.05;
  transform:rotate(-7deg);
}

/* Product cards */
.woocommerce ul.products{
  gap:34px!important;
}
.woocommerce ul.products li.product{
  display:flex;
  flex-direction:column;
  margin:0!important;
  padding:0 0 24px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display:block;
}
.woocommerce ul.products li.product a img{
  width:100%;
  aspect-ratio:4/4.25;
  margin:0 0 22px!important;
  object-fit:cover;
  object-position:center;
  background:var(--fh-warm-sand);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  margin:6px 0 10px!important;
  padding:0!important;
  font-family:var(--fh-font-display)!important;
  font-size:1.85rem!important;
  font-weight:500!important;
  line-height:1.03!important;
}
.fh-store-card-kicker{
  margin:0;
  font-size:.65rem;
}
.fh-store-card-excerpt{
  min-height:92px;
  margin:0 0 14px;
  font-size:.88rem;
  line-height:1.65;
  color:rgba(47,47,44,.78);
}
.woocommerce ul.products li.product .price{
  margin:auto 0 16px!important;
  font-family:var(--fh-font-display)!important;
  font-size:1.45rem!important;
  font-weight:600!important;
}
.woocommerce ul.products li.product .price del{opacity:.5}
.woocommerce ul.products li.product .price ins{
  color:#b16e54;
  text-decoration:none;
}
.woocommerce ul.products li.product .button{
  width:max-content;
  min-width:164px;
  margin:0!important;
  padding:13px 20px!important;
  border:0;
  border-radius:6px!important;
  background:var(--fh-champagne)!important;
  color:#fff!important;
  font-family:var(--fh-font-ui);
  font-size:.72rem!important;
  font-weight:700!important;
}
.woocommerce ul.products li.product:nth-child(2) .button{background:#c89ea4!important}
.woocommerce span.onsale{
  min-width:auto!important;
  min-height:auto!important;
  padding:8px 11px!important;
  border-radius:0!important;
  background:#c89ea4!important;
  font-family:var(--fh-font-ui);
  font-size:.65rem!important;
  line-height:1!important;
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* Shop trust bar */
.fh-store-trust{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  margin-top:56px;
  background:rgba(191,174,155,.28);
  border:1px solid rgba(191,174,155,.28);
}
.fh-store-trust>div{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:26px;
  background:#f3e4df;
}
.fh-store-trust svg{
  width:28px;
  height:28px;
  fill:none;
  stroke:#b47970;
  stroke-width:1.4;
}
.fh-store-trust p{margin:0}
.fh-store-trust strong{
  display:block;
  margin-bottom:4px;
  font-family:var(--fh-font-ui);
  font-size:.78rem;
}
.fh-store-trust small{
  display:block;
  line-height:1.5;
  color:rgba(47,47,44,.7);
}

/* Single product */
.single-product .woocommerce div.product{
  display:grid!important;
  grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr)!important;
  gap:clamp(42px,6vw,76px)!important;
  align-items:start;
}
.single-product .woocommerce div.product .woocommerce-product-gallery{
  width:100%!important;
  float:none!important;
  margin:0!important;
}
.single-product .woocommerce div.product .woocommerce-product-gallery img{
  width:100%;
  aspect-ratio:1/1.05;
  object-fit:cover;
  background:var(--fh-warm-sand);
}
.single-product .woocommerce div.product .summary{
  width:100%!important;
  float:none!important;
  margin:0!important;
  padding:12px 0 0;
}
.fh-store-kicker{
  margin:0 0 12px;
  font-size:.68rem;
}
.single-product .woocommerce div.product .product_title{
  margin:0 0 12px!important;
  font-family:var(--fh-font-display)!important;
  font-size:clamp(3rem,4.8vw,4.8rem)!important;
  line-height:.92!important;
  font-weight:400!important;
  letter-spacing:-.035em;
}
.single-product .woocommerce div.product p.price{
  margin:12px 0 22px!important;
  font-family:var(--fh-font-display)!important;
  font-size:2rem!important;
  color:var(--fh-charcoal)!important;
}
.single-product .woocommerce-product-details__short-description{
  max-width:600px;
  margin:0 0 24px;
  font-size:.96rem;
  line-height:1.7;
  color:rgba(47,47,44,.78);
}
.single-product .woocommerce div.product form.cart{
  display:flex;
  width:100%;
  margin:24px 0 0!important;
}
.single-product .woocommerce div.product form.cart .button{
  flex:1;
  min-height:54px;
  border-radius:6px!important;
  background:var(--fh-champagne)!important;
  font-family:var(--fh-font-ui);
  font-size:.76rem!important;
  letter-spacing:.03em;
}
.single-product .woocommerce div.product .product_meta{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(191,174,155,.36);
  font-size:.74rem;
  color:rgba(47,47,44,.58);
}
.fh-store-highlights{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  margin-top:22px;
  border-top:1px solid rgba(191,174,155,.36);
  border-bottom:1px solid rgba(191,174,155,.36);
}
.fh-store-highlight{
  display:flex;
  gap:11px;
  align-items:center;
  min-height:82px;
  padding:16px 14px;
  border-right:1px solid rgba(191,174,155,.36);
}
.fh-store-highlight:last-child{border-right:0}
.fh-store-highlight-icon svg{
  display:block;
  width:26px;
  height:26px;
  fill:none;
  stroke:#b67d73;
  stroke-width:1.35;
}
.fh-store-highlight strong,
.fh-store-highlight small{display:block}
.fh-store-highlight strong{
  font-family:var(--fh-font-ui);
  font-size:.72rem;
  line-height:1.3;
}
.fh-store-highlight small{
  margin-top:2px;
  font-size:.68rem;
  line-height:1.3;
  color:rgba(47,47,44,.65);
}

/* Custom product tabs */
.fh-store-product-tabs{
  grid-column:1/-1;
  margin-top:12px;
  border:1px solid rgba(191,174,155,.32);
  background:#fcf9f5;
}
.fh-store-tab-nav{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  border-bottom:1px solid rgba(191,174,155,.32);
  background:#f7f0e8;
}
.fh-store-tab-nav button{
  min-height:58px;
  padding:12px 14px;
  border:0;
  border-right:1px solid rgba(191,174,155,.28);
  background:transparent;
  color:rgba(47,47,44,.66);
  font-family:var(--fh-font-ui);
  font-size:.72rem;
  cursor:pointer;
}
.fh-store-tab-nav button:last-child{border-right:0}
.fh-store-tab-nav button.is-active{
  background:#fffaf5;
  color:var(--fh-charcoal);
  font-weight:700;
}
.fh-store-tab-panels{
  padding:34px 34px 38px;
}
.fh-store-tab-panel{
  display:none;
  max-width:980px;
}
.fh-store-tab-panel.is-active{display:block}
.fh-store-tab-panel h2{
  margin:0 0 16px;
  font-family:var(--fh-font-display);
  font-size:2.45rem;
  font-weight:400;
}
.fh-store-tab-panel p,
.fh-store-tab-panel li{
  font-size:.94rem;
  line-height:1.75;
  color:rgba(47,47,44,.77);
}
.fh-store-tab-panel blockquote{
  margin:26px 0 0;
  padding:8px 0 8px 20px;
  border-left:2px solid var(--fh-champagne);
  font-family:var(--fh-font-display);
  font-size:1.55rem;
  font-style:italic;
  line-height:1.3;
}
.fh-store-process{
  counter-reset:fh-store-step;
  margin:24px 0 0;
  padding:0;
  list-style:none;
}
.fh-store-process li{
  counter-increment:fh-store-step;
  display:grid;
  grid-template-columns:44px 160px 1fr;
  gap:12px;
  padding:16px 0;
  border-top:1px solid rgba(191,174,155,.35);
}
.fh-store-process li::before{
  content:"0" counter(fh-store-step);
  color:var(--fh-champagne);
  font-family:var(--fh-font-display);
  font-size:1.2rem;
}
.fh-store-process strong{
  font-family:var(--fh-font-display);
  font-size:1.3rem;
  font-weight:500;
}
.fh-store-checks{
  columns:2;
  column-gap:42px;
  padding-left:20px;
}
.fh-store-checks li{break-inside:avoid;margin-bottom:12px}
.fh-store-disclaimer{
  margin-top:26px!important;
  padding:18px 20px;
  background:var(--fh-warm-sand);
}

/* Related products */
.single-product .related.products,
.single-product .upsells.products{
  grid-column:1/-1;
  margin-top:54px!important;
}
.single-product .related.products>h2,
.single-product .upsells.products>h2{
  text-align:center;
  font-family:var(--fh-font-display);
  font-size:2.35rem;
  font-weight:400;
}

@media(max-width:1000px){
  .fh-store-archive-script{display:none}
  .single-product .woocommerce div.product{
    grid-template-columns:1fr!important;
  }
  .fh-store-product-tabs,
  .single-product .related.products,
  .single-product .upsells.products{grid-column:1}
}
@media(max-width:781px){
  .woocommerce-page main,
  .woocommerce main{
    width:min(100% - 32px,1240px)!important;
    padding-top:34px;
    padding-bottom:60px;
  }
  .fh-store-archive-hero{
    margin-bottom:38px;
    padding:36px 22px 40px;
  }
  .fh-store-archive-hero h1{font-size:clamp(3.2rem,15vw,4.8rem)}
  .woocommerce ul.products{gap:38px!important}
  .fh-store-card-excerpt{min-height:0}
  .fh-store-trust{grid-template-columns:1fr}
  .fh-store-highlights{grid-template-columns:1fr}
  .fh-store-highlight{
    min-height:64px;
    border-right:0;
    border-bottom:1px solid rgba(191,174,155,.36);
  }
  .fh-store-highlight:last-child{border-bottom:0}
  .fh-store-tab-nav{
    display:flex;
    overflow-x:auto;
    white-space:nowrap;
  }
  .fh-store-tab-nav button{
    flex:0 0 auto;
    min-width:150px;
  }
  .fh-store-tab-panels{padding:28px 20px 30px}
  .fh-store-checks{columns:1}
  .fh-store-process li{
    grid-template-columns:34px 1fr;
  }
  .fh-store-process li span{grid-column:2}
}


/* Single product layout refinement v2 */
/* Keep WooCommerce content aligned with the same visual width as header/footer. */
body.single-product main.wp-block-group{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.single-product main.wp-block-group > .wp-block-post-content,
body.single-product main.wp-block-group .wp-block-post-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
body.single-product main.wp-block-group .woocommerce{
  width:min(1180px,calc(100% - 48px))!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.single-product .woocommerce div.product{
  width:100%!important;
  max-width:none!important;
  grid-template-columns:minmax(0,1.12fr) minmax(430px,.88fr)!important;
  gap:64px!important;
}
body.single-product .woocommerce div.product .summary{
  min-width:0;
  padding-top:8px!important;
}
body.single-product .woocommerce div.product .woocommerce-product-gallery{
  min-width:0;
}

/* Give the three product highlights breathing room instead of narrow cells. */
body.single-product .fh-store-highlights{
  gap:10px;
  margin-top:26px;
  padding-top:0;
  border-top:0;
  border-bottom:0;
}
body.single-product .fh-store-highlight{
  min-width:0;
  min-height:96px;
  padding:15px 13px;
  align-items:flex-start;
  border:1px solid rgba(191,174,155,.34)!important;
  background:#fbf7f1;
}
body.single-product .fh-store-highlight-icon{
  flex:0 0 28px;
  margin-top:1px;
}
body.single-product .fh-store-highlight strong{
  font-size:.72rem;
  line-height:1.4;
}
body.single-product .fh-store-highlight small{
  margin-top:4px;
  font-size:.67rem;
  line-height:1.4;
}

/* Custom FH tabs replace WooCommerce's description/review tabs. */
body.single-product .fh-store-product-tabs{
  width:100%;
  margin-top:54px;
}
body.single-product .woocommerce-tabs{
  display:none!important;
}
body.single-product .fh-product-story,
body.single-product .fh-product-more{
  display:none!important;
}

@media(max-width:1100px){
  body.single-product .woocommerce div.product{
    grid-template-columns:minmax(0,1fr) minmax(390px,.9fr)!important;
    gap:42px!important;
  }
}
@media(max-width:920px){
  body.single-product main.wp-block-group .woocommerce{
    width:min(100% - 32px,1180px)!important;
  }
  body.single-product .woocommerce div.product{
    grid-template-columns:1fr!important;
  }
  body.single-product .fh-store-highlights{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:620px){
  body.single-product .fh-store-highlights{
    grid-template-columns:1fr;
  }
  body.single-product .fh-store-highlight{
    min-height:72px;
  }
}


/* Single product centered content width v3 */
/*
 * Product pages should use the same 1180px editorial width as the lower
 * homepage sections, instead of stretching the WordPress main container.
 */
body.single-product main.wp-block-group{
  width:min(1180px,calc(100% - 48px))!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.single-product main.wp-block-group > .wp-block-post-content,
body.single-product main.wp-block-group .wp-block-post-content,
body.single-product main.wp-block-group .woocommerce{
  width:100%!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.single-product .woocommerce div.product{
  width:100%!important;
  max-width:100%!important;
}

@media(max-width:781px){
  body.single-product main.wp-block-group{
    width:min(100% - 32px,1180px)!important;
  }
}


/* WooCommerce block template normalization v4 */
/* Fallback cleanup for WooCommerce's plugin-provided block templates. */
body.woocommerce-shop .wp-block-query-title,
body.woocommerce-shop .wp-block-woocommerce-product-results-count,
body.woocommerce-shop .wp-block-woocommerce-catalog-sorting,
body.woocommerce-shop .woocommerce-products-header,
body.woocommerce-shop .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering{
  display:none!important;
}

/* Exact content width for the custom FH WooCommerce templates. */
.fh-store-single-shell,
.fh-store-archive-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:54px 24px 82px!important;
}
.fh-store-single-inner,
.fh-store-archive-inner{
  width:min(1180px,100%)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.fh-store-single-shell .woocommerce-breadcrumb,
.fh-store-archive-shell .woocommerce-breadcrumb{
  margin-bottom:28px;
}

/* Also constrain Woo's fallback block template if WordPress still has it cached. */
body.single-product .wp-site-blocks > main.wp-block-group{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:24px!important;
  padding-right:24px!important;
}
body.single-product .wp-site-blocks > main.wp-block-group > .wp-block-woocommerce-breadcrumbs,
body.single-product .wp-site-blocks > main.wp-block-group > .wp-block-columns,
body.single-product .wp-site-blocks > main.wp-block-group > .wp-block-shortcode,
body.single-product .wp-site-blocks > main.wp-block-group > .wp-block-woocommerce-product-details,
body.single-product .wp-site-blocks > main.wp-block-group > .wp-block-woocommerce-product-collection{
  width:min(1180px,100%)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Single product: balanced two-column composition. */
.fh-store-single-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:58px!important;
  align-items:start!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
.fh-store-single-top>.wp-block-column{
  width:100%!important;
  min-width:0!important;
  flex-basis:auto!important;
}
.fh-store-single-media .woocommerce-product-gallery,
.fh-store-single-media .wc-block-components-product-image-gallery{
  width:100%!important;
  max-width:100%!important;
}
.fh-store-single-summary{
  padding-top:4px;
}
.fh-store-single-summary>.wp-block-post-title{
  margin:0 0 16px!important;
  font-family:var(--fh-font-display)!important;
  font-size:clamp(3rem,4.4vw,4.4rem)!important;
  line-height:.94!important;
  font-weight:400!important;
  letter-spacing:-.035em;
}
.fh-store-single-summary .wp-block-woocommerce-product-price{
  margin:0 0 20px!important;
}
.fh-store-single-summary .wp-block-post-excerpt{
  margin:0 0 24px!important;
  max-width:560px;
  line-height:1.72;
  color:rgba(47,47,44,.78);
}
.fh-store-single-summary .wp-block-post-excerpt__excerpt{
  margin:0!important;
}
.fh-store-single-summary .wp-block-woocommerce-add-to-cart-form{
  margin-top:20px;
}
.fh-store-single-summary .wp-block-shortcode{
  margin-top:22px;
}

/* More breathing room for the three highlights. */
.fh-store-single-summary .fh-store-highlights{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  margin-top:24px!important;
}
.fh-store-single-summary .fh-store-highlight{
  min-height:104px!important;
  padding:17px 16px!important;
}
.fh-store-single-summary .fh-store-highlight strong{
  font-size:.74rem!important;
  line-height:1.35!important;
}
.fh-store-single-summary .fh-store-highlight small{
  font-size:.69rem!important;
}

/* Our tabs are the only details section on the product page. */
.fh-store-single-inner>.wp-block-shortcode{
  width:100%;
  margin-top:52px;
}
body.single-product .wp-block-woocommerce-product-details{
  display:none!important;
}
.fh-store-product-tabs{
  width:100%!important;
  max-width:100%!important;
}

/* Archive: no duplicate heading/result count/sorting. */
.fh-store-archive-shell .fh-store-archive-hero{
  margin-top:0!important;
}
.fh-store-product-grid{
  width:100%!important;
  max-width:100%!important;
  margin-top:46px!important;
}
.fh-store-product-grid .wc-block-product-template,
.fh-store-related .wc-block-product-template{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:34px!important;
}
.fh-store-product-grid .wc-block-product,
.fh-store-related .wc-block-product{
  display:flex!important;
  flex-direction:column!important;
  margin:0!important;
}
.fh-store-product-grid .wc-block-components-product-image,
.fh-store-related .wc-block-components-product-image{
  margin:0 0 20px!important;
}
.fh-store-product-grid .wc-block-components-product-image img,
.fh-store-related .wc-block-components-product-image img{
  width:100%!important;
  aspect-ratio:4/4.25;
  object-fit:cover;
  background:var(--fh-warm-sand);
}
.fh-store-product-grid .wp-block-post-title,
.fh-store-related .wp-block-post-title{
  margin:0 0 10px!important;
  font-family:var(--fh-font-display)!important;
  font-size:1.75rem!important;
  line-height:1.05!important;
  font-weight:500!important;
}
.fh-store-product-grid .wp-block-post-title a,
.fh-store-related .wp-block-post-title a{
  color:var(--fh-charcoal)!important;
  text-decoration:none!important;
}
.fh-store-product-grid .wp-block-post-excerpt{
  min-height:92px;
  margin:0 0 14px!important;
  color:rgba(47,47,44,.76);
  font-size:.88rem;
  line-height:1.65;
}
.fh-store-product-grid .wp-block-post-excerpt__more-link{
  display:none!important;
}
.fh-store-product-grid .wp-block-woocommerce-product-price,
.fh-store-related .wp-block-woocommerce-product-price{
  margin-top:auto!important;
  margin-bottom:15px!important;
  font-family:var(--fh-font-display)!important;
  font-size:1.35rem!important;
}
.fh-store-product-grid .wp-block-button,
.fh-store-related .wp-block-button{
  margin:0!important;
}
.fh-store-product-grid .wp-block-button__link,
.fh-store-related .wp-block-button__link,
.fh-store-product-grid .wc-block-components-product-button__button,
.fh-store-related .wc-block-components-product-button__button{
  min-width:164px;
  padding:13px 20px!important;
  border:0!important;
  border-radius:6px!important;
  background:var(--fh-champagne)!important;
  color:#fff!important;
  font-family:var(--fh-font-ui)!important;
  font-size:.72rem!important;
  font-weight:700!important;
}
.fh-store-related{
  margin-top:62px!important;
}
.fh-store-related-title{
  margin-bottom:30px!important;
  font-family:var(--fh-font-display)!important;
  font-size:2.45rem!important;
  font-weight:400!important;
}

/* Trust strip generated by the archive template. */
.fh-store-trust{
  margin-top:56px!important;
}
.fh-store-trust .fh-store-trust-item{
  padding:26px!important;
  background:#f3e4df;
}
.fh-store-trust .fh-store-trust-item h3{
  margin:0 0 6px;
  font-family:var(--fh-font-ui);
  font-size:.78rem;
}
.fh-store-trust .fh-store-trust-item p{
  margin:0;
  color:rgba(47,47,44,.7);
  font-size:.78rem;
  line-height:1.55;
}

@media(max-width:920px){
  .fh-store-single-top{
    grid-template-columns:1fr!important;
    gap:36px!important;
  }
  .fh-store-product-grid .wc-block-product-template,
  .fh-store-related .wc-block-product-template{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:620px){
  .fh-store-single-shell,
  .fh-store-archive-shell{
    padding:34px 16px 60px!important;
  }
  body.single-product .wp-site-blocks > main.wp-block-group{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .fh-store-single-summary .fh-store-highlights{
    grid-template-columns:1fr!important;
  }
  .fh-store-product-grid .wc-block-product-template,
  .fh-store-related .wc-block-product-template{
    grid-template-columns:1fr!important;
  }
  .fh-store-product-grid .wp-block-post-excerpt{
    min-height:0;
  }
}


/* Hard centering + archive cleanup v5 */
/* Override older experimental width rules with a simple, deterministic shell. */
body.single-product .wp-site-blocks > main.fh-store-single-shell,
body.woocommerce-shop .wp-site-blocks > main.fh-store-archive-shell{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:54px 24px 82px!important;
  box-sizing:border-box!important;
}
body.single-product .fh-store-single-shell > .fh-store-single-inner,
body.woocommerce-shop .fh-store-archive-shell > .fh-store-archive-inner{
  display:block!important;
  width:100%!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.single-product .fh-store-single-top{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.single-product .fh-store-product-tabs,
body.single-product .fh-store-related,
body.woocommerce-shop .fh-store-archive-hero,
body.woocommerce-shop .fh-store-product-grid,
body.woocommerce-shop .fh-store-trust{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* The custom archive template intentionally has no result count or sorting. */
body.woocommerce-shop .wp-block-query-title,
body.woocommerce-shop .wp-block-woocommerce-product-results-count,
body.woocommerce-shop .wp-block-woocommerce-catalog-sorting,
body.woocommerce-shop .woocommerce-result-count,
body.woocommerce-shop .woocommerce-ordering{
  display:none!important;
}

@media(max-width:781px){
  body.single-product .wp-site-blocks > main.fh-store-single-shell,
  body.woocommerce-shop .wp-site-blocks > main.fh-store-archive-shell{
    padding:36px 16px 60px!important;
  }
}


/* Shared archive/single container + price scale v6 */
/* Single product uses exactly the same outer/inner container mechanics as /sklep/. */
body.single-product main.fh-store-single-shell{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:54px 24px 82px!important;
  box-sizing:border-box!important;
}
body.single-product main.fh-store-single-shell > .fh-store-single-inner{
  display:block!important;
  width:100%!important;
  max-width:1180px!important;
  margin-inline:auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.single-product .fh-store-single-inner > *{
  max-width:100%;
}

/* Prices in the 3-product catalogue should read more clearly. */
body.woocommerce-shop .fh-store-product-grid .wp-block-woocommerce-product-price,
body.woocommerce-shop .fh-store-product-grid .wc-block-components-product-price{
  font-family:var(--fh-font-display)!important;
  font-size:1.65rem!important;
  line-height:1.1!important;
  font-weight:600!important;
}
body.woocommerce-shop .fh-store-product-grid .wc-block-components-product-price__value,
body.woocommerce-shop .fh-store-product-grid .wc-block-components-product-price__regular,
body.woocommerce-shop .fh-store-product-grid .wc-block-components-product-price__sale{
  font-size:inherit!important;
  line-height:inherit!important;
}

/* Slightly stronger main price on individual products as well. */
body.single-product .fh-store-single-summary .wp-block-woocommerce-product-price,
body.single-product .fh-store-single-summary .wc-block-components-product-price{
  font-family:var(--fh-font-display)!important;
  font-size:2.15rem!important;
  line-height:1.05!important;
  font-weight:600!important;
}

@media(max-width:781px){
  body.single-product main.fh-store-single-shell{
    padding:36px 16px 60px!important;
  }
}


/* Fix root constrained-layout interaction on single products v7 */
/*
 * theme.json uses contentSize: 760px. A top-level block without alignfull is
 * therefore clamped by WordPress before our 1180px inner container gets a
 * chance to center. The single-product shell is now explicitly alignfull.
 */
body.single-product .wp-site-blocks > main.fh-store-single-shell.alignfull{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:54px 24px 82px!important;
  box-sizing:border-box!important;
}
body.single-product .wp-site-blocks > main.fh-store-single-shell.alignfull > .fh-store-single-inner{
  width:min(1180px,100%)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}
@media(max-width:781px){
  body.single-product .wp-site-blocks > main.fh-store-single-shell.alignfull{
    padding:36px 16px 60px!important;
  }
}


/* Viewport-centred single product + illustrated trust strip v8 */
/*
 * The single-product template can still sit inside WordPress' global
 * constrained content column. Break out to the viewport first, then center
 * the 1180px product container inside it.
 */
body.single-product main.fh-store-single-shell{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:54px 24px 82px!important;
  box-sizing:border-box!important;
}
body.single-product main.fh-store-single-shell > .fh-store-single-inner{
  width:min(1180px,100%)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding:0!important;
}

/* Illustrated trust strip from the visual concept. */
body.woocommerce-shop .fh-store-trust{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  margin-top:54px!important;
  overflow:hidden;
  border:0!important;
  border-radius:14px;
  background:linear-gradient(90deg,#f5e8e3 0%,#f7ece8 50%,#f5e8e3 100%)!important;
}
body.woocommerce-shop .fh-store-trust > div{
  display:grid!important;
  grid-template-columns:52px 1fr;
  gap:16px!important;
  align-items:center!important;
  min-height:118px;
  padding:24px 28px!important;
  background:transparent!important;
  border-right:1px solid rgba(184,150,99,.13);
}
body.woocommerce-shop .fh-store-trust > div:last-child{
  border-right:0;
}
body.woocommerce-shop .fh-store-trust > div > span{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
}
body.woocommerce-shop .fh-store-trust > div > span svg{
  width:38px!important;
  height:38px!important;
  fill:none!important;
  stroke:#c7857c!important;
  stroke-width:1.35!important;
}
body.woocommerce-shop .fh-store-trust > div p{
  margin:0!important;
}
body.woocommerce-shop .fh-store-trust > div strong{
  display:block;
  margin:0 0 4px;
  color:var(--fh-charcoal);
  font-family:var(--fh-font-ui);
  font-size:.78rem;
  line-height:1.35;
}
body.woocommerce-shop .fh-store-trust > div small{
  display:block;
  color:rgba(47,47,44,.68);
  font-size:.72rem;
  line-height:1.55;
}

@media(max-width:781px){
  body.single-product main.fh-store-single-shell{
    padding:36px 16px 60px!important;
  }
  body.woocommerce-shop .fh-store-trust{
    grid-template-columns:1fr!important;
  }
  body.woocommerce-shop .fh-store-trust > div{
    border-right:0;
    border-bottom:1px solid rgba(184,150,99,.13);
  }
  body.woocommerce-shop .fh-store-trust > div:last-child{
    border-bottom:0;
  }
}


/* Final product centering + horizontal trust items v9 */
/*
 * Final override: keep the product page itself at the same visible width as
 * the /sklep/ content. No viewport breakout and no negative margins.
 */
body.single-product .wp-site-blocks > main.fh-store-single-shell,
body.single-product main.fh-store-single-shell,
body.single-product main.fh-store-single-shell.alignfull{
  display:block!important;
  width:calc(100% - 48px)!important;
  max-width:1180px!important;
  margin:54px auto 82px!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.single-product main.fh-store-single-shell > .fh-store-single-inner{
  display:block!important;
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:0!important;
  box-sizing:border-box!important;
}
body.single-product .fh-store-single-top,
body.single-product .fh-store-product-tabs,
body.single-product .fh-store-related{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* Trust strip: icon and copy always sit next to each other, like in the concept. */
body.woocommerce-shop .fh-store-trust{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  width:100%!important;
  max-width:100%!important;
}
body.woocommerce-shop .fh-store-trust > div{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:18px!important;
  min-width:0!important;
  min-height:104px!important;
  padding:22px 26px!important;
}
body.woocommerce-shop .fh-store-trust > div > span{
  display:grid!important;
  place-items:center!important;
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  margin:0!important;
}
body.woocommerce-shop .fh-store-trust > div > span svg{
  width:34px!important;
  height:34px!important;
}
body.woocommerce-shop .fh-store-trust > div > p{
  display:block!important;
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
}
body.woocommerce-shop .fh-store-trust > div > p strong{
  display:block!important;
  width:auto!important;
  max-width:none!important;
  margin:0 0 5px!important;
  font-size:.78rem!important;
  line-height:1.35!important;
}
body.woocommerce-shop .fh-store-trust > div > p small{
  display:block!important;
  width:auto!important;
  max-width:none!important;
  font-size:.71rem!important;
  line-height:1.5!important;
}

@media(max-width:781px){
  body.single-product .wp-site-blocks > main.fh-store-single-shell,
  body.single-product main.fh-store-single-shell,
  body.single-product main.fh-store-single-shell.alignfull{
    width:calc(100% - 32px)!important;
    margin:36px auto 60px!important;
  }
  body.woocommerce-shop .fh-store-trust{
    grid-template-columns:1fr!important;
  }
}
