
/* v78: premium product detail page */
.page-product-v78{
  background:
    radial-gradient(circle at 8% 12%,rgba(201,146,50,.08),transparent 25%),
    radial-gradient(circle at 92% 30%,rgba(201,146,50,.07),transparent 25%),
    linear-gradient(180deg,#fbf4e8 0%,#fffaf3 100%);
}

.page-product-v78 .site-header{
  background:rgba(255,250,242,.92);
}

.page-product-v78 .product-detail-section{
  position:relative;
  padding:36px 0 70px!important;
  overflow:hidden;
}

.page-product-v78 .product-detail-section:before{
  content:"";
  position:absolute;
  left:-170px;
  top:100px;
  width:390px;
  height:390px;
  border-radius:50%;
  border:7px double rgba(185,134,45,.10);
  background:repeating-conic-gradient(rgba(185,134,45,.06) 0 1deg,transparent 1deg 10deg);
  pointer-events:none;
}

.page-product-v78 .product-detail-section > .container:first-child{
  width:min(1480px,calc(100% - 74px))!important;
  max-width:1480px!important;
}

.page-product-v78 .breadcrumbs{
  margin-bottom:20px;
  color:#7b633b;
  font-size:13px;
  font-weight:700;
}

.page-product-v78 .product-detail{
  width:min(1480px,calc(100% - 74px))!important;
  max-width:1480px!important;
  display:grid!important;
  grid-template-columns:1.05fr .95fr!important;
  gap:36px!important;
  align-items:start!important;
}

.product-gallery-card-v78{
  position:sticky!important;
  top:112px;
  border-radius:28px!important;
  padding:20px!important;
  background:linear-gradient(180deg,#fffdf8,#fbf3e7)!important;
  border:1px solid rgba(208,164,86,.46)!important;
  box-shadow:0 28px 80px rgba(72,49,17,.12), inset 0 1px 0 rgba(255,255,255,.86)!important;
  overflow:visible!important;
}

.product-gallery-card-v78:before{
  content:"";
  position:absolute;
  inset:-22px;
  border-radius:36px;
  border:1px solid rgba(201,146,50,.22);
  pointer-events:none;
  opacity:.7;
}

.product-gallery-seal-v78{
  position:absolute;
  z-index:35;
  left:50%;
  top:-18px;
  transform:translateX(-50%);
  width:68px;
  height:68px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:34px;
  font-weight:700;
  color:#a87522;
  background:
    radial-gradient(circle at 50% 30%,#fff8d9,#e5c16a 64%,#b67d22 100%);
  border:2px solid rgba(255,249,219,.84);
  box-shadow:0 12px 32px rgba(103,69,19,.18), inset 0 1px 0 rgba(255,255,255,.7);
}

.product-gallery-card-v78 .zoom-stage-v67{
  border-radius:20px!important;
  background:
    radial-gradient(circle at 50% 42%,rgba(255,255,255,.34),transparent 45%),
    linear-gradient(135deg,#f8f0df,#fffaf2)!important;
  border:1px solid rgba(209,172,105,.34);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.product-gallery-card-v78 .product-main-photo-v67{
  height:620px!important;
  object-fit:contain!important;
  padding:10px;
  border-radius:18px!important;
}

.product-gallery-card-v78 .swipe-gallery-v67{
  display:flex!important;
  justify-content:center;
  gap:18px!important;
  margin-top:22px!important;
  padding:0 48px 8px!important;
  overflow-x:auto;
}

.product-gallery-card-v78 .thumb-v67{
  width:132px!important;
  height:110px!important;
  border-radius:14px!important;
  padding:8px!important;
  background:#fff!important;
  border:1px solid rgba(209,172,105,.38)!important;
  box-shadow:0 10px 28px rgba(68,45,14,.07)!important;
}

.product-gallery-card-v78 .thumb-v67 img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.product-gallery-card-v78 .thumb-v67.active{
  border-color:#b9822a!important;
  box-shadow:0 0 0 3px rgba(201,146,50,.20),0 12px 32px rgba(78,52,15,.12)!important;
}

.product-gallery-card-v78 .gallery-mobile-note-v67{
  display:block!important;
  margin:16px 0 2px;
  text-align:center;
  color:#8b785e;
  font-size:14px;
}

.detail-card-v78{
  position:relative;
  padding:44px 42px 32px!important;
  border-radius:28px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,251,244,.94))!important;
  border:1px solid rgba(208,164,86,.42)!important;
  box-shadow:0 28px 80px rgba(72,49,17,.12), inset 0 1px 0 rgba(255,255,255,.92)!important;
  overflow:hidden;
}

.detail-card-v78:before{
  content:"";
  position:absolute;
  right:-100px;
  top:-110px;
  width:270px;
  height:270px;
  border-radius:50%;
  border:6px double rgba(185,134,45,.10);
  pointer-events:none;
}

.back-link-v78{
  display:inline-flex!important;
  align-items:center;
  gap:8px;
  margin:0 0 18px!important;
  color:#9b661a!important;
  font-size:16px!important;
  font-weight:800!important;
  text-decoration:none!important;
}

.breadcrumbs-v78{
  margin:0 0 26px!important;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  font-size:12px!important;
  color:#877963!important;
}

.breadcrumbs-v78 a{
  color:#746348!important;
  text-decoration:none;
}

.product-category-v78{
  color:#a66f17!important;
  font-size:14px!important;
  letter-spacing:.32em!important;
  font-weight:900!important;
  margin:0 0 14px!important;
}

.detail-card-v78 h1{
  margin:0!important;
  font-family:"Cormorant Garamond","Playfair Display",Georgia,serif!important;
  font-size:clamp(54px,4.6vw,76px)!important;
  line-height:.96!important;
  letter-spacing:-.045em!important;
  font-weight:700!important;
  color:#2b2119!important;
}

.product-title-ornament-v78{
  width:100%;
  height:18px;
  margin:26px 0 26px;
  background:
    radial-gradient(circle at 50% 50%,#c89232 0 3px,transparent 3px),
    linear-gradient(90deg,#d9ae56 0 44%,transparent 44% 56%,#d9ae56 56% 100%);
  opacity:.55;
}

.product-purchase-row-v78{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:24px;
  align-items:center;
  padding:0 0 26px;
  margin:0 0 24px;
  border-bottom:1px solid rgba(208,164,86,.35);
}

.product-purchase-row-v78 .status{
  justify-self:start;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  padding:0 22px!important;
  border-radius:999px!important;
  font-size:14px!important;
  font-weight:900!important;
}

.product-purchase-row-v78 > strong{
  justify-self:center;
  color:#a26912;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:50px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.02em;
}

.product-fav-btn-v78{
  justify-self:end;
  width:56px!important;
  height:56px!important;
  border-radius:50%!important;
  background:#fff8ea!important;
  border:1px solid rgba(208,164,86,.46)!important;
  box-shadow:0 12px 28px rgba(68,45,14,.08)!important;
}

.product-lead-v78{
  margin:0 0 18px;
  color:#2f2922;
  font-size:22px;
  line-height:1.45;
  font-weight:600;
}

.product-description-v78{
  margin:0 0 30px;
}

.product-description-v78 h2,
.product-specs-head-v78 h2{
  margin:0;
  color:#9b661a;
  font-size:14px;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
}

.product-description-v78 p{
  margin:12px 0 0;
  color:#2d3038;
  font-size:17px;
  line-height:1.54;
}

.product-specs-v78{
  margin:30px 0;
}

.product-specs-head-v78{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:center;
  margin-bottom:15px;
}

.product-specs-head-v78:after{
  content:"";
  height:1px;
  background:linear-gradient(90deg,rgba(208,164,86,.6),transparent);
}

.product-specs-head-v78 span{
  color:#c89232;
  font-size:22px;
}

.product-spec-list-v78{
  border-top:1px solid rgba(208,164,86,.30);
}

.product-spec-row-v78{
  display:grid;
  grid-template-columns:34px minmax(135px,.45fr) 1fr;
  gap:14px;
  align-items:start;
  padding:12px 0;
  border-bottom:1px solid rgba(208,164,86,.30);
}

.product-spec-icon-v78{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  color:#c89232;
}

.product-spec-icon-v78 svg{
  width:25px;
  height:25px;
}

.product-spec-icon-v78 svg circle,
.product-spec-icon-v78 svg rect,
.product-spec-icon-v78 svg path,
.product-spec-icon-v78 svg ellipse{
  fill:none;
  stroke:currentColor;
  stroke-width:1.85;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.product-spec-row-v78 strong{
  color:#4a4035;
  font-size:15px;
  line-height:1.35;
  font-weight:700;
}

.product-spec-row-v78 em{
  color:#2e333b;
  font-size:15px;
  line-height:1.35;
  font-style:normal;
}

.contact-box-v78{
  margin:32px 0 0!important;
  padding:24px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#fffdf8,#fff2cd)!important;
  border:1px solid rgba(210,164,82,.55)!important;
  box-shadow:0 16px 42px rgba(86,57,16,.08)!important;
}

.contact-box-head-v78{
  display:grid;
  grid-template-columns:46px 1fr;
  gap:16px;
  align-items:start;
  margin-bottom:18px;
}

.contact-box-head-v78 > span{
  width:46px;
  height:46px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg,#b9822a,#d9ae56);
  font-family:Georgia,serif;
  font-style:italic;
  font-weight:800;
  box-shadow:0 12px 26px rgba(114,74,17,.16);
}

.contact-box-v78 h3{
  margin:0 0 6px!important;
  font-family:"Cormorant Garamond",Georgia,serif;
  font-size:31px!important;
  line-height:1;
  color:#2d251c;
}

.contact-box-v78 p{
  margin:0!important;
  color:#665b4d;
  font-size:16px;
  line-height:1.42;
}

.product-contact-actions-v78{
  display:grid!important;
  grid-template-columns:1fr 1fr 1fr;
  gap:14px!important;
}

.product-contact-actions-v78 .button{
  min-height:56px!important;
  border-radius:12px!important;
  justify-content:center!important;
  box-shadow:none!important;
}

.product-contact-actions-v78 .button:first-child{
  background:linear-gradient(135deg,#b9822a,#d9ae56)!important;
  border-color:#b9822a!important;
  color:#fff!important;
}

.product-trust-v78{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:0;
  margin:24px -18px -8px;
  padding-top:18px;
  border-top:1px solid rgba(208,164,86,.35);
}

.product-trust-v78 span{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding:0 18px;
  border-right:1px solid rgba(208,164,86,.28);
  color:#5f523f;
  font-size:14px;
  line-height:1.22;
}

.product-trust-v78 span:last-child{
  border-right:0;
}

.product-trust-v78 span:before{
  content:"";
  width:28px;
  height:28px;
  flex:0 0 auto;
  border-radius:9px;
  background:linear-gradient(135deg,rgba(201,146,50,.18),rgba(201,146,50,.05));
  border:1px solid rgba(201,146,50,.25);
}

@media(max-width:1180px){
  .page-product-v78 .product-detail{
    width:calc(100% - 42px)!important;
    grid-template-columns:1fr!important;
  }
  .product-gallery-card-v78{
    position:relative!important;
    top:auto!important;
  }
  .detail-card-v78 h1{
    font-size:56px!important;
  }
}

@media(max-width:720px){
  .page-product-v78 .product-detail-section{
    padding:22px 0 40px!important;
  }
  .page-product-v78 .product-detail-section > .container:first-child,
  .page-product-v78 .product-detail{
    width:calc(100% - 22px)!important;
  }
  .product-gallery-card-v78{
    padding:12px!important;
    border-radius:22px!important;
  }
  .product-gallery-card-v78 .product-main-photo-v67{
    height:390px!important;
    padding:4px!important;
  }
  .product-gallery-card-v78 .thumb-v67{
    width:92px!important;
    height:76px!important;
  }
  .product-gallery-seal-v78{
    width:54px;
    height:54px;
    font-size:28px;
    top:-14px;
  }
  .detail-card-v78{
    padding:28px 20px 24px!important;
    border-radius:22px!important;
  }
  .detail-card-v78 h1{
    font-size:42px!important;
  }
  .product-purchase-row-v78{
    grid-template-columns:1fr auto;
    gap:14px;
  }
  .product-purchase-row-v78 > strong{
    grid-column:1/2;
    grid-row:2;
    justify-self:start;
    font-size:42px;
  }
  .product-fav-btn-v78{
    grid-column:2;
    grid-row:1/3;
  }
  .product-lead-v78{
    font-size:19px;
  }
  .product-spec-row-v78{
    grid-template-columns:30px 1fr;
  }
  .product-spec-row-v78 em{
    grid-column:2;
  }
  .product-contact-actions-v78{
    grid-template-columns:1fr!important;
  }
  .product-trust-v78{
    grid-template-columns:1fr;
    margin-left:0;
    margin-right:0;
  }
  .product-trust-v78 span{
    border-right:0;
    border-bottom:1px solid rgba(208,164,86,.22);
  }
  .product-trust-v78 span:last-child{
    border-bottom:0;
  }
}


/* v78.1: uproszczenia po wdrożeniu */
.product-title-ornament-v78{
  width:min(330px,100%)!important;
  height:24px!important;
  display:grid!important;
  grid-template-columns:1fr 46px 1fr!important;
  align-items:center!important;
  gap:10px!important;
  margin:22px 0 28px!important;
  background:none!important;
  opacity:1!important;
}

.product-title-ornament-v78 span{
  height:1px;
  background:linear-gradient(90deg,transparent,#d1a247 22%,#d1a247 78%,transparent);
}

.product-title-ornament-v78 i{
  position:relative;
  width:46px;
  height:18px;
  display:block;
}

.product-title-ornament-v78 i:before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:12px;
  height:12px;
  transform:translate(-50%,-50%) rotate(45deg);
  border:1.5px solid #d1a247;
  background:rgba(255,250,239,.9);
}

.product-title-ornament-v78 i:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:1px;
  background:linear-gradient(90deg,transparent,#d1a247,transparent);
}

.contact-box-head-v78{
  display:block!important;
  margin-bottom:18px!important;
}

.contact-box-head-v78 > span{
  display:none!important;
}

.product-trust-v78 span:before{
  display:none!important;
  content:none!important;
}

.product-trust-v78 span{
  gap:12px!important;
}

.product-trust-v78 i{
  width:34px;
  height:34px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:12px;
  color:#b9822a;
  background:linear-gradient(135deg,rgba(201,146,50,.16),rgba(201,146,50,.055));
  border:1px solid rgba(201,146,50,.26);
}

.product-trust-v78 i svg{
  width:22px;
  height:22px;
  display:block;
}

.product-trust-v78 i svg path,
.product-trust-v78 i svg circle{
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@media(max-width:720px){
  .product-contact-actions-v78{
    display:none!important;
  }

  .contact-box-v78{
    padding:20px!important;
  }

  .contact-box-head-v78{
    margin-bottom:0!important;
  }

  .product-title-ornament-v78{
    width:240px!important;
    margin:18px 0 24px!important;
  }
}


/* v78.2: hard mobile overflow fix dla długich nazw produktów, np. "1050 rocznica..." */
.page-product-v78,
.page-product-v78 *{
  min-width:0!important;
  box-sizing:border-box!important;
}

.page-product-v78{
  max-width:100vw!important;
  overflow-x:hidden!important;
}

.page-product-v78 .product-detail-section,
.page-product-v78 .product-detail-section > .container,
.page-product-v78 .product-detail,
.product-gallery-card-v78,
.detail-card-v78,
.contact-box-v78,
.product-specs-v78,
.product-trust-v78{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
}

.page-product-v78 .product-detail{
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;
}

.detail-card-v78 h1,
.product-lead-v78,
.product-description-v78 p,
.product-spec-row-v78 strong,
.product-spec-row-v78 em,
.contact-box-v78 h3,
.contact-box-v78 p,
.product-trust-v78 b{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  hyphens:auto;
}

.product-gallery-card-v78 .product-main-photo-v67,
.product-gallery-card-v78 img{
  max-width:100%!important;
}

.product-gallery-card-v78 .swipe-gallery-v67{
  max-width:100%!important;
}

@media(max-width:1180px){
  .page-product-v78 .product-detail{
    grid-template-columns:minmax(0,1fr)!important;
  }
}

@media(max-width:720px){
  html:has(.page-product-v78),
  body.page-product-v78{
    max-width:100vw!important;
    overflow-x:hidden!important;
  }

  .page-product-v78 .product-detail-section{
    width:100%!important;
    max-width:100vw!important;
    overflow:hidden!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  .page-product-v78 .product-detail-section > .container:first-child,
  .page-product-v78 .product-detail{
    width:100%!important;
    max-width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:11px!important;
    padding-right:11px!important;
  }

  .product-gallery-card-v78,
  .detail-card-v78{
    width:100%!important;
    max-width:100%!important;
  }

  .detail-card-v78{
    padding-left:18px!important;
    padding-right:18px!important;
  }

  .detail-card-v78 h1{
    max-width:100%!important;
    font-size:clamp(34px,10.5vw,42px)!important;
    line-height:1.02!important;
    letter-spacing:-.035em!important;
  }

  .product-purchase-row-v78{
    width:100%!important;
    max-width:100%!important;
    grid-template-columns:minmax(0,1fr) auto!important;
  }

  .product-purchase-row-v78 > strong{
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  .product-spec-list-v78,
  .product-spec-row-v78{
    width:100%!important;
    max-width:100%!important;
  }

  .product-contact-actions-v78{
    width:100%!important;
    max-width:100%!important;
  }

  .product-trust-v78{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  .product-trust-v78 span{
    width:100%!important;
    max-width:100%!important;
  }

  .product-mobile-actions{
    max-width:100vw!important;
    left:0!important;
    right:0!important;
  }
}
