/* GBIST - WooCommerce Photo Reviews */

body.single-product .woocommerce-photo-reviews-shortcode{
 --gb-rv-border:#ebe5e9;
 --gb-rv-accent:#611b3f;
 max-width:1040px;
 margin-left:auto;
 margin-right:auto;
}

/* Summary */
body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-and-rating-count{
 padding:10px;
 margin:10px 0 8px;
 border:1px solid var(--gb-rv-border);
 border-radius:10px;
 background:#fff;
 display:grid;
 grid-template-columns:minmax(320px, 370px) minmax(0, 1fr) auto;
 gap:18px;
 align-items:start;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating{
 padding-right:14px;
 border-right:1px solid var(--gb-rv-border);
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating h2{
 display:block;
 white-space:normal;
 font-size:26px;
 font-weight:700;
 line-height:1.12;
 margin:0 0 14px;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-main{
 display:flex;
 align-items:center;
 gap:6px;
 min-width:0;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-left{
 padding:0;
 margin:0;
 background:#fff;
 color:#611b3f;
 border-radius:0;
 text-align:left;
 vertical-align:initial;
 font-size:inherit;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-left-average{
 font-size:52px;
 font-weight:700;
 line-height:.95;
 min-width:82px;
 padding:10px 12px;
 border-radius:8px;
 border:1px solid #eadde5;
 background:#fff;
 color:#611b3f;
 text-align:center;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-right-total{
 color:#4b5563;
 font-size:15px;
 min-width:0;
 overflow-wrap:normal;
 white-space:nowrap;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-stars-count{
 margin-top:2px;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-stars-count .shortcode-wcpr-row{
 margin:0;
 display:grid !important;
 grid-template-columns:minmax(54px, 68px) minmax(120px, 1fr) 34px;
 gap:22px;
 padding:2px 0;
 align-items:center;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-stars-count .shortcode-wcpr-col-number,
body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-stars-count .shortcode-wcpr-col-process,
body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-stars-count .shortcode-wcpr-col-rank-count{
 float:none !important;
 width:auto !important;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-col-process{
 min-width:0;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-col-process .rate-percent-bg{
 height:8px;
 border-radius:999px;
 background:#f1ecef;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-col-process .rate-percent{
 border-radius:999px;
 background:#611b3f;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-col-rank-count{
 color:#4b5563;
 font-size:13px;
 text-align:left;
}

body.single-product .woocommerce-photo-reviews-shortcode .gb-review-toggle{
 border-radius:999px;
 padding:9px 15px;
 font-weight:700;
 letter-spacing:.01em;
 box-shadow:none;
 background:#611b3f !important;
 border-color:#611b3f !important;
 color:#fff !important;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-and-rating-count.gb-has-review-cta .gb-review-toggle--inline{
 align-self:center;
 justify-self:end;
 white-space:nowrap;
 margin:0;
 min-width:170px;
 padding:10px 18px;
 font-size:14px;
 line-height:1.2;
}

/* Filters */
body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-container{
 max-width:1040px;
 margin:0 auto 24px;
 padding:18px 16px;
 border-top:1px solid #eee;
 border-bottom:1px solid #eee;
 display:flex;
 justify-content:center;
 align-items:center;
 gap:14px;
 flex-wrap:wrap;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button,
body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button-wrap{
 border:1px solid #611b3f;
 border-radius:999px;
 background:#fff !important;
 color:#611b3f !important;
 padding:9px 18px !important;
 min-width:145px;
 text-align:center;
 font-weight:700;
 line-height:1.2;
 text-decoration:none !important;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-container .shortcode-wcpr-filter-button:hover,
body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-container .shortcode-wcpr-filter-button:focus,
body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button-wrap:hover,
body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button.shortcode-wcpr-active,
body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button-wrap.shortcode-wcpr-active{
 background:#f4f0f2 !important;
 border-color:#611b3f !important;
 color:#611b3f !important;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button-wrap.shortcode-wcpr-active > .shortcode-wcpr-filter-rating-placeholder,
body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button.shortcode-wcpr-active > *{
 color:#611b3f !important;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button-ul{
 margin-top:8px;
 padding:6px;
 border:1px solid #eadde5;
 border-radius:14px;
 background:#fff !important;
 box-shadow:0 10px 24px rgba(38,18,30,.10);
 overflow:hidden;
 z-index:50;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button-ul .shortcode-wcpr-filter-button{
 width:100%;
 min-width:0;
 justify-content:flex-start;
 border:0;
 border-radius:10px;
 background:#fff !important;
 color:#611b3f !important;
 padding:8px 12px !important;
 text-align:left;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button-ul .shortcode-wcpr-filter-button.shortcode-wcpr-active{
 background:#f4f0f2 !important;
 color:#611b3f !important;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button-ul .shortcode-wcpr-filter-button *{
 color:inherit !important;
}

/* Review list details */
body.single-product .woocommerce-photo-reviews-shortcode .woocommerce-photo-reviews-verified{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 margin-left:7px;
 padding:1px 7px;
 border:1px solid #cfe8d4;
 border-radius:999px;
 background:#f7fcf8;
 color:#2f8f46;
 font-size:.74em;
 font-style:normal;
 font-weight:700;
 line-height:1.25;
 white-space:nowrap;
}

body.single-product .woocommerce-photo-reviews-shortcode .star-rating{
 float:none !important;
 display:inline-block !important;
 position:relative;
 /* NOT: px degil em. Yildiz glifleri em-bazlidir (~1.08em/glif); sabit
    100px satiri kirpip 5/5 puani 4.5 gibi gosteriyordu. 5.4em = her font
    boyutunda tam 5 yildiz (WooCommerce cekirdek degeri). Gorsel boyut
    font-size ile ayarlanir. */
 width:5.4em !important;
 height:1em;
 line-height:1;
 overflow:hidden;
 font-family:"star" !important;
 font-size:1.15em;
 margin:0;
 color:#f5a13b;
 vertical-align:middle;
}

body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-list.shortcode-wcpr-list-layout-2-style .shortcode-review-author-container .star-rating{
 font-size:.85em;
 width:5.4em !important;
}

body.single-product .woocommerce-photo-reviews-shortcode .star-rating::before{
 content:"sssss" !important;
 position:absolute;
 top:0;
 left:0;
 float:left;
 font-family:"star" !important;
 color:#d3ced2;
}

body.single-product .woocommerce-photo-reviews-shortcode .star-rating span{
 position:absolute;
 top:0;
 left:0;
 float:left;
 overflow:hidden;
 padding-top:1.5em;
 font-family:"star" !important;
}

body.single-product .woocommerce-photo-reviews-shortcode .star-rating::before,
body.single-product .woocommerce-photo-reviews-shortcode .star-rating span::before{
 font-family:"star" !important;
}

body.single-product .woocommerce-photo-reviews-shortcode .star-rating span::before{
 content:"SSSSS" !important;
 position:absolute;
 top:0;
 left:0;
 color:#f5a13b;
}

body.single-product .woocommerce-photo-reviews-shortcode .gb-review-product-ref{
 margin-top:10px;
}

body.single-product .woocommerce-photo-reviews-shortcode .gb-review-product-ref a{
 color:#611b3f;
 font-weight:700;
 text-decoration:underline;
 text-underline-offset:3px;
}

body.single-product .woocommerce-photo-reviews-shortcode .wcpr-load-more-reviews-button-container{
 display:flex;
 justify-content:center;
 margin:28px 0 8px;
}

body.single-product .woocommerce-photo-reviews-shortcode .wcpr-load-more-reviews-button{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-width:170px;
 padding:11px 24px;
 border:1px solid #611b3f;
 border-radius:999px;
 background:#f4f0f2;
 color:#611b3f;
 font-size:15px;
 font-weight:700;
 line-height:1;
 text-align:center;
 text-decoration:none;
 box-shadow:none;
 cursor:pointer;
}

body.single-product .woocommerce-photo-reviews-shortcode .wcpr-load-more-reviews-button:hover,
body.single-product .woocommerce-photo-reviews-shortcode .wcpr-load-more-reviews-button:focus{
 background:#611b3f;
 border-color:#611b3f;
 color:#fff;
}

body.single-product .gbist-lazy-wcpr-controls{
 display:flex;
 flex-wrap:wrap;
 gap:12px;
 align-items:center;
 justify-content:center;
 margin:22px 0 0;
}

body.single-product .gbist-lazy-wcpr-controls .wcpr-load-more-reviews-button{
 display:inline-flex !important;
 align-items:center;
 justify-content:center;
 width:auto;
 min-width:170px;
 height:auto;
 min-height:42px;
 line-height:1.2;
 margin:0;
 background:#611b3f !important;
 border:1px solid #611b3f !important;
 color:#fff !important;
 text-shadow:none !important;
}

body.single-product .gbist-lazy-wcpr-controls .gbist-lazy-wcpr-write{
 display:none;
}

body.single-product .gbist-lazy-wcpr-controls .gbist-lazy-wcpr-form{
 flex:0 0 100%;
 width:100%;
}

body.single-product .gbist-lazy-wcpr-form{
 margin:18px 0 0;
}

body.single-product #review_form_wrapper.gbist-lazy-wcpr-form{
 margin-top:18px;
}

body.single-product #review_form_wrapper .woocommerce-photo-reviews-form-product{
 display:none !important;
}

body.single-product .gbist-lazy-wcpr-error{
 border:1px solid #f0c9c9;
 background:#fff6f6;
 color:#8a1f1f;
 padding:12px 14px;
 border-radius:6px;
 text-align:center;
}

body.single-product .gbist-lazy-wcpr-controls button[disabled]{
 cursor:progress;
 opacity:.72;
}

/* Swipebox image lightbox */
#wcpr-swipebox-overlay{
 width:100vw !important;
 height:100vh !important;
 inset:0 !important;
 background:rgba(0,0,0,.62) !important;
}

#wcpr-swipebox-container,
#wcpr-swipebox-slider,
#wcpr-swipebox-slider .slide{
 width:100% !important;
 height:100% !important;
}

#wcpr-swipebox-slider .slide{
 padding:72px 24px !important;
 box-sizing:border-box;
 display:flex !important;
 align-items:center;
 justify-content:center;
}

#wcpr-swipebox-slider .slide img{
 display:block !important;
 max-width:min(72vw, 720px) !important;
 max-height:min(66vh, 680px) !important;
 width:auto !important;
 height:auto !important;
 object-fit:contain !important;
 border-radius:10px;
 background:#fff;
 box-shadow:0 18px 55px rgba(0,0,0,.32);
}

#wcpr-swipebox-close{
 position:fixed !important;
 top:calc(50vh - min(33vh, 340px) - 18px) !important;
 left:calc(50vw + min(36vw, 360px) - 18px) !important;
 right:auto !important;
 width:40px !important;
 height:40px !important;
 display:flex !important;
 align-items:center !important;
 justify-content:center !important;
 border-radius:999px;
 background:#fff !important;
 background-image:none !important;
 box-shadow:0 8px 24px rgba(0,0,0,.28);
 opacity:1 !important;
 z-index:999999 !important;
}

#wcpr-swipebox-close::before{
 content:"";
 width:18px;
 height:18px;
 display:block;
 background-repeat:no-repeat;
 background-position:center;
 background-size:18px 18px;
 background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 6L18 18M18 6L6 18' stroke='%23111111' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Responsive */
@media (max-width:860px){
 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-and-rating-count{
  grid-template-columns:1fr;
  gap:14px;
  padding:12px;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating{
  padding-right:0;
  padding-bottom:12px;
  border-right:0;
  border-bottom:1px solid var(--gb-rv-border);
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating h2{
  font-size:24px;
  text-align:center;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-main{
  justify-content:center;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-left-average{
  font-size:46px;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-stars-count .shortcode-wcpr-row{
  grid-template-columns:minmax(112px, 132px) minmax(0, 1fr) 24px;
  gap:14px;
  padding:2px 0;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-and-rating-count.gb-has-review-cta .gb-review-toggle--inline{
  justify-self:stretch;
  width:100%;
  min-width:0;
  margin-top:6px;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-container{
  justify-content:center;
  gap:8px;
  padding:12px 0;
  margin-bottom:18px;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button,
 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button-wrap{
  min-width:0;
  flex:0 1 auto;
  padding:7px 12px !important;
  font-size:14px;
 }

}

@media (max-width:640px){
 #wcpr-swipebox-slider .slide{
  padding:56px 18px !important;
 }

 #wcpr-swipebox-slider .slide img{
  max-width:calc(100vw - 36px) !important;
  max-height:calc(100vh - 112px) !important;
 }

 #wcpr-swipebox-close{
  top:18px !important;
  left:auto !important;
  right:18px !important;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-review-wrap-content-container{
  display:block !important;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-review-content-image{
  margin-top:12px;
  max-width:100%;
  overflow:hidden;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-reviews-images-container,
 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-reviews-images-wrap-left,
 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-reviews-images-wrap,
 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-reviews-images-wrap a{
  max-width:100%;
 }

 body.single-product .woocommerce-photo-reviews-shortcode img.shortcode-reviews-images{
  width:120px;
  max-width:min(120px, 100%);
  height:120px;
  max-height:120px;
  object-fit:cover;
  border-radius:6px;
 }

}

@media (max-width:480px){
 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-stars-count .shortcode-wcpr-row{
  grid-template-columns:minmax(118px, 136px) minmax(0, 1fr) 22px;
  gap:10px;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-container{
  gap:8px;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button,
 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-filter-button-wrap{
  flex:1 1 100%;
  padding:7px 10px !important;
  font-size:14px;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .wcpr-load-more-reviews-button{
  min-width:150px;
 }
}

@media (max-width:380px){
 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-main{
  gap:8px;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-left-average{
  font-size:38px;
  min-width:68px;
  padding:8px 10px;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-overall-rating-right-total{
  font-size:14px;
 }

 body.single-product .woocommerce-photo-reviews-shortcode .shortcode-wcpr-stars-count .shortcode-wcpr-row{
  grid-template-columns:minmax(108px, 126px) minmax(0, 1fr) 20px;
  gap:8px;
 }
}
