/* Ostatnia warstwa integracji z WooCommerce. */
.nav a.is-current{color:var(--rose-dark);font-weight:500}.nav a.is-current:after{left:0;right:0}
.hm-breadcrumbs{padding:24px 0 10px;color:#9a8575;font-size:8.5px}.hm-breadcrumbs .woocommerce-breadcrumb{margin:0}
.hm-product-page .woocommerce-notices-wrapper{width:min(1180px,calc(100% - 56px));margin:0 auto}.hm-product-page>.woocommerce-error,.hm-product-page>.woocommerce-info,.hm-product-page>.woocommerce-message{width:min(1180px,calc(100% - 56px));margin:12px auto}
.product-gallery__thumbs button.is-selected{border-color:var(--rose-dark);box-shadow:0 0 0 1px var(--rose-dark);opacity:1}
.product-lightbox__stage{display:grid;min-width:0;height:100%;place-items:center}.product-lightbox__stage img{width:100%;height:100%;max-height:calc(100vh - 84px);object-fit:contain}
.product-swatches button.is-selected{border-color:var(--rose-dark);box-shadow:inset 0 0 0 3px #fff,0 0 0 2px rgba(157,98,91,.18)}
.product-color-row>div:first-child strong,.product-color-row>div:first-child small{display:block}.product-color-row>div:first-child strong{font-size:9px;font-weight:500}.hm-color-select{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.product-summary__starting-price .price{margin:0;color:var(--rose-dark);font-family:'Playfair Display',serif;font-size:28px;font-weight:400;white-space:nowrap}.product-summary__starting-price del{font-size:.7em;opacity:.55}.product-summary__starting-price ins{text-decoration:none}
.product-summary form.cart{margin:0}.product-summary form.cart:after{content:'';display:block;clear:both}.product-summary form.cart .quantity{float:none;display:inline-flex;margin:0 10px 0 0}.product-summary form.cart .qty{width:68px;min-height:46px;border:1px solid var(--line);background:#fff}.product-summary form.cart .single_add_to_cart_button{display:inline-flex!important;align-items:center;justify-content:center;min-height:46px;padding:0 26px;border:1px solid var(--rose);border-radius:0;background:var(--rose);color:#fff;text-transform:uppercase;letter-spacing:.08em;font-size:9px;font-weight:500}.product-summary form.cart .single_add_to_cart_button:hover{background:var(--rose-dark)}.product-summary form.cart .single_add_to_cart_button.disabled{opacity:.45}
.product-summary form.variations_form{padding:0}.product-summary table.variations{margin:0 0 18px;border:1px solid var(--line);background:#fff}.product-summary table.variations th,.product-summary table.variations td{display:block;width:100%;padding:10px 14px}.product-summary table.variations th{padding-bottom:0;color:var(--gold);text-transform:uppercase;letter-spacing:.06em;font-size:8px;text-align:left}.product-summary table.variations label{font-weight:500}.product-summary table.variations select{width:100%;min-height:42px;padding:0 12px;border:1px solid var(--line);background:#fff;font-size:10px}.product-summary .reset_variations{display:inline-block;margin-top:5px;color:var(--rose-dark);font-size:8px}.product-summary .single_variation_wrap{padding:17px 18px;border:1px solid var(--line);background:#fbf6ef}.product-summary .woocommerce-variation-price{margin-bottom:10px}.product-summary .woocommerce-variation-price .price{color:var(--rose-dark);font-family:'Playfair Display',serif;font-size:24px}.product-summary .stock{font-size:9px}.product-summary .stock.in-stock{color:#758366}
.hm-product-page[data-product-mode="ready"] .product-status{background:#b78954}.hm-product-page[data-product-mode="ready"] .product-colors{display:none}.hm-product-page[data-product-mode="advanced"] .hm-color-config legend span,.hm-product-page[data-product-mode="configurable"] .hm-color-config legend span{font-size:0}.hm-product-page[data-product-mode="advanced"] .hm-color-config legend span:after{content:'3';font-size:8px}.hm-product-page[data-product-mode="configurable"] .hm-color-config legend span:after{content:'1';font-size:8px}
.product-story-section__image{grid-column:2;grid-row:1}.product-story-section__image img{width:100%;height:100%;min-height:440px;object-fit:cover}.product-assurances article{display:flex;min-height:96px;flex-direction:column;align-items:center;justify-content:center;padding:18px;border-right:1px solid var(--line);text-align:center}.product-assurances article:last-child{border-right:0}.product-assurances strong{font-size:8px;text-transform:uppercase;letter-spacing:.08em;font-weight:500}.product-assurances span{margin-top:4px;color:var(--muted);font-size:7px;line-height:1.45}
.product-information .title{margin-bottom:30px}.product-information__grid{grid-template-columns:repeat(2,1fr)}
.product-fixed{margin:0 0 18px;padding:0;border:0}.product-fixed legend{display:flex;align-items:center;gap:9px;width:100%;margin-bottom:12px;font-size:10px;font-weight:500;letter-spacing:.055em}.product-fixed legend span{display:inline-grid;place-items:center;width:25px;height:25px;border:1px solid var(--gold);border-radius:50%;color:var(--gold);font-size:8px}.product-fixed__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid var(--line);background:#fff}.product-fixed__grid>div{min-height:66px;padding:12px 15px;border-right:1px solid var(--line)}.product-fixed__grid>div:last-child{border-right:0}.product-fixed__grid small,.product-fixed__grid strong{display:block}.product-fixed__grid small{color:var(--gold);font-size:7.5px;font-weight:500}.product-fixed__grid strong{margin-top:4px;font-family:Montserrat,sans-serif;font-size:11.5px;font-weight:400;line-height:1.42}

@media(max-width:760px){
  .hm-breadcrumbs{padding:14px 0 8px}.hm-product-page>.woocommerce-error,.hm-product-page>.woocommerce-info,.hm-product-page>.woocommerce-message{width:calc(100% - 30px)}.product-summary__starting-price .price{font-size:23px}.product-summary form.cart .single_add_to_cart_button{padding-inline:17px}.product-summary form.cart .qty{width:58px}.product-summary .single_variation_wrap{padding:14px}.product-story-section__image{order:1}.product-story-section__image img{min-height:0;aspect-ratio:1/1}.product-assurances article{align-items:flex-start;min-height:83px;text-align:left}.product-fixed__grid{grid-template-columns:1fr}.product-fixed__grid>div{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:18px;padding:11px 13px;border-right:0;border-bottom:1px solid var(--line)}.product-fixed__grid>div:last-child{border-bottom:0}.product-fixed__grid strong{margin:0;font-size:10.5px;text-align:right}.product-information__grid{grid-template-columns:1fr}.product-gallery__stage,.product-lightbox__stage{touch-action:pan-y pinch-zoom;overscroll-behavior-x:contain}.product-lightbox__stage img{max-height:calc(100vh - 124px)}
}

/* Karta produktu v2.1 — wizualny konfigurator połączony z wariantami Woo. */
.hm-product-page{overflow-x:clip}
.hm-variable-controls,.hm-variable-purchase{display:none}
.hm-config-enhanced .hm-variable-controls{display:block}
.hm-config-enhanced .hm-variable-purchase{display:grid}
.hm-config-enhanced table.variations{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.hm-config-enhanced .reset_variations{display:none!important}
.hm-config-enhanced .hm-variation-wrap{grid-column:1/-1;padding:0!important;border:0!important;background:transparent!important}
.hm-config-enhanced .woocommerce-variation{min-height:0}
.hm-config-enhanced .woocommerce-variation-price,.hm-config-enhanced .woocommerce-variation-description{display:none!important}
.hm-config-enhanced .woocommerce-variation-add-to-cart{display:grid;grid-template-columns:1fr;width:100%}
.product-purchase__button-slot{grid-column:1/-1;min-width:0}
.product-purchase .quantity{display:none!important}
.product-summary .product-purchase .single_add_to_cart_button{grid-column:1/-1;width:100%;min-height:46px;margin:0!important;border:0!important;background:var(--rose)!important;color:#fff!important}
.product-summary .product-purchase .single_add_to_cart_button:hover{background:var(--rose-dark)!important}
.product-purchase>strong .price,.product-purchase>strong .woocommerce-Price-amount{color:inherit;font:inherit}
.product-purchase>strong .price{margin:0}
.mobile-purchase .price,.mobile-purchase .woocommerce-Price-amount{color:inherit;font:inherit}
.hm-simple-purchase{margin-top:0}
.hm-simple-purchase>input{display:none}

.hm-product-page .product-assurances article{min-height:78px;flex-direction:row;align-items:center;justify-content:center;gap:13px;padding:12px 22px;text-align:left}
.hm-product-page .product-assurances article img{flex:0 0 43px;width:43px;height:43px;object-fit:contain}
.hm-product-page .product-assurances article div{min-width:0}
.hm-product-page .product-assurances article b{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.08em;font-weight:500}
.hm-product-page .product-assurances article span{display:block;margin-top:3px;font-size:7px;line-height:1.45}

.woocommerce .hm-product-page a.button,.woocommerce .hm-product-page button.button{border-radius:0;background:var(--rose);color:#fff;font-family:Montserrat,sans-serif;font-size:9px;font-weight:500;letter-spacing:.08em}
.woocommerce .hm-product-page a.button:hover,.woocommerce .hm-product-page button.button:hover{background:var(--rose-dark);color:#fff}
.woocommerce ul.products li.product.hm-product-card{display:block!important}

@media(max-width:1000px){
  .hm-product-page .product-main__grid{grid-template-columns:1fr;gap:30px}
  .hm-product-page .product-gallery{position:static;top:auto}
  .hm-product-page .product-gallery,.hm-product-page .product-summary{width:min(100%,720px);margin-inline:auto}
}

@media(max-width:760px){
  .hm-product-page .product-summary h1{font-size:35px}
  .hm-product-page .product-choice legend,.hm-product-page .product-colors legend{font-size:10px}
  .hm-product-page .product-choice b{font-size:9px}
  .hm-product-page .product-choice small{font-size:7.5px}
  .hm-product-page .product-fixed__grid strong{font-size:10px}
  .hm-product-page .product-assurances article{min-height:82px;flex-direction:row;align-items:center;justify-content:flex-start;padding:12px 10px;text-align:left}
  .hm-product-page .product-assurances article img{flex-basis:36px;width:36px;height:36px}
  .hm-product-page .product-assurances article b{font-size:7px}
  .hm-product-page .product-assurances article span{font-size:6.5px}
  .woocommerce ul.products li.product.hm-product-card{display:block!important}
}

/* Karta produktu v2.2 — detale wizualne na bazie działającego konfiguratora. */

/* Komunikat WooCommerce jest bezpośrednim dzieckiem .hm-product-page. */
.woocommerce .hm-product-page > .woocommerce-message{
  position:relative!important;
  display:flex!important;
  min-height:66px!important;
  align-items:center!important;
  gap:18px!important;
  width:min(1180px,calc(100% - 56px))!important;
  margin:14px auto 26px!important;
  padding:13px 16px 13px 52px!important;
  border:1px solid #e2cdb5!important;
  border-left:3px solid var(--rose)!important;
  border-radius:0!important;
  background:#fbf6ef!important;
  color:var(--ink)!important;
  box-shadow:0 12px 28px rgba(75,48,29,.055)!important;
  font-size:10.5px!important;
  line-height:1.55!important
}
.woocommerce .hm-product-page > .woocommerce-message:before{
  position:absolute!important;
  top:50%!important;
  left:17px!important;
  display:grid!important;
  width:22px!important;
  height:22px!important;
  place-items:center!important;
  transform:translateY(-50%)!important;
  border:1px solid var(--rose)!important;
  border-radius:50%!important;
  color:var(--rose-dark)!important;
  content:'✓'!important;
  font-size:11px!important
}
.woocommerce .hm-product-page > .woocommerce-message .button{
  flex:0 0 auto!important;
  min-height:40px!important;
  margin:0 0 0 auto!important;
  padding:0 19px!important;
  border:1px solid var(--rose)!important;
  border-radius:0!important;
  background:var(--rose)!important;
  color:#fff!important;
  text-transform:uppercase!important;
  letter-spacing:.08em!important;
  font-size:8px!important;
  font-weight:500!important
}
.woocommerce .hm-product-page > .woocommerce-message .button:hover{
  border-color:var(--rose-dark)!important;
  background:var(--rose-dark)!important;
  color:#fff!important
}

/* Ozdobne badge na karcie produktu i w katalogu. */
.hm-product-page .product-gallery__stage > .product-status,
.woocommerce ul.products li.product.hm-product-card .hm-product-card__status{
  position:absolute;
  z-index:4;
  top:16px;
  left:16px;
  display:inline-flex;
  min-height:34px;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 17px;
  border:1px solid #c9955c;
  border-radius:0;
  background:rgba(255,253,249,.96);
  color:#9d672f;
  box-shadow:inset 0 0 0 3px rgba(201,149,92,.08),0 7px 16px rgba(75,48,29,.08);
  clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,8px 100%,0 50%);
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:7px;
  font-weight:500;
  line-height:1;
  white-space:nowrap
}
.hm-product-page .product-gallery__stage > .product-status:before,
.hm-product-page .product-gallery__stage > .product-status:after,
.woocommerce ul.products li.product.hm-product-card .hm-product-card__status:before,
.woocommerce ul.products li.product.hm-product-card .hm-product-card__status:after{
  content:'•';
  color:#c9955c;
  font-size:8px
}

/* Dokładnie pięć równych miniaturek pod głównym zdjęciem. */
.hm-product-page .product-gallery__thumbs{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  width:100%!important;
  gap:8px!important;
  margin-top:9px!important;
  padding:0!important;
  overflow:visible!important
}
.hm-product-page .product-gallery__thumbs > button{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  aspect-ratio:1/1!important;
  overflow:hidden!important;
  padding:0!important;
  border:1px solid var(--line)!important;
  border-radius:0!important;
  background:#edf1f1!important;
  opacity:.78!important
}
.hm-product-page .product-gallery__thumbs > button:nth-child(n+6){display:none!important}
.hm-product-page .product-gallery__thumbs > button > img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important
}
.hm-product-page .product-gallery__thumbs > button:hover,
.hm-product-page .product-gallery__thumbs > button:focus-visible{
  border-color:var(--gold)!important;
  opacity:1!important
}
.hm-product-page .product-gallery__thumbs > button.is-selected{
  border-color:var(--rose-dark)!important;
  box-shadow:inset 0 0 0 2px #fff,0 0 0 1px var(--rose-dark)!important;
  opacity:1!important
}

/* Przycisk kontaktowy — bez zmiany wspólnej klasy .button. */
.hm-product-page .product-details__grid > div:first-child > a.button{
  display:inline-flex!important;
  min-width:188px!important;
  min-height:46px!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 24px!important;
  border:1px solid var(--rose)!important;
  border-radius:0!important;
  background:var(--rose)!important;
  color:#fff!important;
  box-shadow:none!important;
  text-transform:uppercase!important;
  letter-spacing:.09em!important;
  font-size:8.5px!important;
  font-weight:500!important;
  line-height:1!important
}
.hm-product-page .product-details__grid > div:first-child > a.button:hover{
  border-color:var(--rose-dark)!important;
  background:var(--rose-dark)!important;
  color:#fff!important
}

@media(max-width:760px){
  .woocommerce .hm-product-page > .woocommerce-message{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:calc(100% - 30px)!important;
    padding:13px 13px 13px 44px!important;
    font-size:10px!important
  }
  .woocommerce .hm-product-page > .woocommerce-message:before{left:12px!important}
  .woocommerce .hm-product-page > .woocommerce-message .button{
    width:100%!important;
    margin:3px 0 0!important
  }
  .hm-product-page .product-gallery__stage > .product-status,
  .woocommerce ul.products li.product.hm-product-card .hm-product-card__status{
    top:11px;
    left:11px;
    min-height:30px;
    padding:0 12px;
    font-size:6.5px
  }
  .hm-product-page .product-gallery__thumbs{gap:6px!important}
  .hm-product-page .product-details__grid > div:first-child > a.button{width:100%!important}
}

