/* PETORA V13 - Premium Catalog & Product Polish
 * Visual/UX layer only. It does not change cart, order or payment form actions.
 */
:root{
  --p13-green:#0c5a43;
  --p13-green-dark:#073b2f;
  --p13-green-soft:#eaf4ef;
  --p13-orange:#ed6a2c;
  --p13-orange-soft:#fff1e9;
  --p13-ink:#12211b;
  --p13-muted:#66756e;
  --p13-line:#dfe9e4;
  --p13-card:#ffffff;
  --p13-shadow:0 18px 44px rgba(7,57,43,.09);
}
body.petora-v13-ready{background:#fff;color:var(--p13-ink)}
body.petora-v13-ready a:focus-visible,
body.petora-v13-ready button:focus-visible,
body.petora-v13-ready input:focus-visible,
body.petora-v13-ready select:focus-visible,
body.petora-v13-ready textarea:focus-visible{
  outline:3px solid rgba(237,106,44,.28)!important;
  outline-offset:2px!important
}

/* Header/search polish */
body.petora-v13-ready .header-desktop-main-div{
  box-shadow:0 9px 34px rgba(7,57,43,.045)
}
body.petora-v13-ready .header-desktop-search1 input{
  min-height:44px!important;border-radius:14px 0 0 14px!important;
  border-color:#d9e5df!important;background:#fbfdfc!important
}
body.petora-v13-ready .header-desktop-search1 button{
  min-width:50px!important;border-radius:0 14px 14px 0!important
}

/* Catalog assurance: added server-side to category/search templates */
.petora-v13-catalog-assurance{
  display:grid;grid-template-columns:1.25fr repeat(3,1fr);
  gap:0;margin:0 0 14px;border:1px solid var(--p13-line);
  border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#f8fcfa,#fff);
  box-shadow:0 10px 28px rgba(7,57,43,.055)
}
.petora-v13-catalog-assurance__lead,
.petora-v13-catalog-assurance__item{
  min-height:74px;display:flex;align-items:center;gap:11px;padding:14px 16px
}
.petora-v13-catalog-assurance__lead{background:linear-gradient(135deg,var(--p13-green-dark),var(--p13-green));color:#fff}
.petora-v13-catalog-assurance__lead i,
.petora-v13-catalog-assurance__item i{
  flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;border-radius:12px
}
.petora-v13-catalog-assurance__lead i{background:rgba(255,255,255,.13);color:#fff;font-size:18px}
.petora-v13-catalog-assurance__lead strong,
.petora-v13-catalog-assurance__item strong{display:block;font-size:11px;font-weight:950;line-height:1.2}
.petora-v13-catalog-assurance__lead small,
.petora-v13-catalog-assurance__item small{display:block;margin-top:3px;font-size:8.5px;line-height:1.35}
.petora-v13-catalog-assurance__lead small{color:rgba(255,255,255,.78)}
.petora-v13-catalog-assurance__item{border-left:1px solid var(--p13-line);color:var(--p13-ink)!important;text-decoration:none!important}
.petora-v13-catalog-assurance__item i{background:var(--p13-green-soft);color:var(--p13-green);font-size:17px}
.petora-v13-catalog-assurance__item small{color:var(--p13-muted)}
.petora-v13-catalog-assurance__item:hover{background:#f3f9f6}
.petora-v13-catalog-assurance__count{font-variant-numeric:tabular-nums}

/* Catalog controls */
body.petora-v13-ready.petora-v13-page-catalog .cat-right-elements-out{
  position:relative
}
body.petora-v13-ready.petora-v13-page-catalog .cat-right-elements{
  border:1px solid var(--p13-line)!important;border-radius:15px!important;
  padding:9px 12px!important;background:rgba(255,255,255,.96)!important;
  box-shadow:0 10px 26px rgba(7,57,43,.05)!important
}
body.petora-v13-ready.petora-v13-page-catalog .nice-select-cat-detail,
body.petora-v13-ready.petora-v13-page-catalog select{
  border-radius:11px!important;border-color:#d6e3dc!important
}
body.petora-v13-ready.petora-v13-scrolled.petora-v13-page-catalog .cat-right-elements{
  box-shadow:0 16px 36px rgba(7,57,43,.09)!important
}

/* Product cards: consistent premium merchandising without touching their handlers */
body.petora-v13-ready .cat-detail-products-box,
body.petora-v13-ready .urunler-module-grid-box{
  border:1px solid #e1e9e5!important;border-radius:18px!important;
  background:#fff!important;overflow:hidden!important;
  box-shadow:0 9px 26px rgba(7,57,43,.055)!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important
}
body.petora-v13-ready .cat-detail-products-box:hover,
body.petora-v13-ready .urunler-module-grid-box:hover{
  transform:translateY(-4px)!important;border-color:#cbded5!important;
  box-shadow:0 20px 42px rgba(7,57,43,.11)!important
}
body.petora-v13-ready .cat-detail-products-box-img,
body.petora-v13-ready .urunler-module-grid-box-img{
  background:linear-gradient(180deg,#fff,#fbfdfc)!important
}
body.petora-v13-ready .cat-detail-products-box img,
body.petora-v13-ready .urunler-module-grid-box img{
  transition:transform .35s ease!important
}
body.petora-v13-ready .cat-detail-products-box:hover img,
body.petora-v13-ready .urunler-module-grid-box:hover img{transform:scale(1.025)}
body.petora-v13-ready .cat-detail-products-box-info,
body.petora-v13-ready .urunler-module-grid-box-info{padding-left:12px!important;padding-right:12px!important}
body.petora-v13-ready .cat-detail-products-box-fiyat,
body.petora-v13-ready .urunler-module-grid-box-fiyat{
  color:var(--p13-green-dark)!important;font-weight:950!important
}
body.petora-v13-ready .cat-detail-products-box .button-blue,
body.petora-v13-ready .cat-detail-products-box .button-green,
body.petora-v13-ready .urunler-module-grid-box .button-blue,
body.petora-v13-ready .urunler-module-grid-box .button-green{
  border-radius:11px!important;font-weight:900!important
}

/* Product detail */
body.petora-v13-ready.petora-v13-page-product .urun-detay-sol-alan,
body.petora-v13-ready.petora-v13-page-product .urun-detay-sag-alan{
  border-radius:22px!important;border-color:var(--p13-line)!important;
  box-shadow:var(--p13-shadow)!important
}
body.petora-v13-ready.petora-v13-page-product .urun-detay-sol-alan{
  background:linear-gradient(180deg,#fff,#fbfdfc)!important
}
body.petora-v13-ready.petora-v13-page-product .urun-detay-sag-alan-baslik{
  color:var(--p13-ink)!important;letter-spacing:-.025em!important;line-height:1.12!important
}
body.petora-v13-ready.petora-v13-page-product #glasscase{
  border-radius:18px!important;overflow:hidden!important
}
body.petora-v13-ready.petora-v13-page-product .gc-thumbs-area{
  border-radius:14px!important
}
body.petora-v13-ready.petora-v13-page-product .urun-detay-sag-alan-urun-islemler-main{
  border-radius:17px!important;background:#f7fbf9!important;
  border:1px solid #dce9e2!important;padding:14px!important
}
body.petora-v13-ready.petora-v13-page-product .urun-detay-sag-alan-urun-islemler-main .button-blue,
body.petora-v13-ready.petora-v13-page-product .urun-detay-sag-alan-urun-islemler-main .button-green{
  min-height:46px!important;border-radius:13px!important;font-weight:950!important
}
.petora-v13-product-note{
  margin-top:12px;border:1px solid var(--p13-line);border-radius:16px;
  background:linear-gradient(135deg,#fffaf6,#f7fcf9);padding:14px 15px
}
.petora-v13-product-note__head{display:flex;align-items:center;gap:10px}
.petora-v13-product-note__icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--p13-orange-soft);color:var(--p13-orange);font-size:19px}
.petora-v13-product-note strong{display:block;color:var(--p13-ink);font-size:11px;font-weight:950}
.petora-v13-product-note small{display:block;margin-top:2px;color:var(--p13-muted);font-size:8.5px;line-height:1.45}
.petora-v13-product-note__links{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.petora-v13-product-note__links a{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border-radius:10px;background:#fff;border:1px solid #e0e9e4;color:var(--p13-green)!important;text-decoration:none!important;font-size:8.5px;font-weight:900}
.petora-v13-product-note__links a:hover{border-color:#bfd5ca;background:#f6fbf8}

/* Home: compact membership / retention layer */
.petora-v13-member{padding:8px 0 34px;background:#fff}
.petora-v13-member__in{
  width:min(1180px,calc(100% - 36px));margin:0 auto;
  display:grid;grid-template-columns:1.25fr .9fr;gap:14px;
  border-radius:24px;overflow:hidden;background:linear-gradient(135deg,#073b2f 0%,#0b5d45 58%,#157056 100%);
  box-shadow:0 22px 52px rgba(7,57,43,.15)
}
.petora-v13-member__copy{padding:28px 30px;color:#fff}
.petora-v13-member__eyebrow{display:inline-flex;align-items:center;gap:7px;margin-bottom:7px;color:#ffd9c8;font-size:9px;font-weight:950;letter-spacing:.13em}
.petora-v13-member__copy h2{margin:0;color:#fff;font-size:clamp(24px,3vw,40px);font-weight:950;letter-spacing:-.04em;line-height:1.04}
.petora-v13-member__copy p{max-width:620px;margin:9px 0 0;color:rgba(255,255,255,.76);font-size:10.5px;line-height:1.65}
.petora-v13-member__actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}
.petora-v13-member__actions a{display:inline-flex;align-items:center;gap:7px;padding:10px 13px;border-radius:11px;font-size:9px;font-weight:950;text-decoration:none!important}
.petora-v13-member__actions a:first-child{background:#fff;color:var(--p13-green-dark)!important}
.petora-v13-member__actions a:last-child{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);color:#fff!important}
.petora-v13-member__facts{display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:1px;background:rgba(255,255,255,.09)}
.petora-v13-member__fact{min-height:106px;padding:18px;display:flex;flex-direction:column;justify-content:center;background:rgba(255,255,255,.065);color:#fff}
.petora-v13-member__fact i{font-size:21px;color:#ffd9c8;margin-bottom:7px}
.petora-v13-member__fact strong{font-size:10px;font-weight:950}
.petora-v13-member__fact small{margin-top:3px;color:rgba(255,255,255,.68);font-size:8px;line-height:1.35}

/* Checkout remains presentation only */
body.petora-v13-ready.petora-v13-page-checkout .cart-left-div,
body.petora-v13-ready.petora-v13-page-checkout .cart-right-div,
body.petora-v13-ready.petora-v13-page-checkout .teslimat-form-area,
body.petora-v13-ready.petora-v13-page-checkout .ccard-payment-page-main>div{
  border-radius:20px!important;border-color:var(--p13-line)!important;
  box-shadow:0 15px 40px rgba(7,57,43,.075)!important
}
body.petora-v13-ready.petora-v13-page-checkout input,
body.petora-v13-ready.petora-v13-page-checkout select,
body.petora-v13-ready.petora-v13-page-checkout textarea{
  border-radius:12px!important;border-color:#d6e3dc!important
}

/* Progressive reveal */
body.petora-v13-ready [data-petora-v13-reveal]{opacity:0;transform:translateY(10px);transition:opacity .45s ease,transform .45s ease}
body.petora-v13-ready [data-petora-v13-reveal].is-visible{opacity:1;transform:none}

@media(min-width:1101px){
  body.petora-v13-ready.petora-v13-page-catalog.petora-v13-scrolled .cat-right-elements{
    position:sticky;top:10px;z-index:12
  }
}
@media(max-width:1100px){
  .petora-v13-catalog-assurance{grid-template-columns:1fr 1fr}
  .petora-v13-catalog-assurance__lead{grid-column:1/-1}
  .petora-v13-catalog-assurance__item:nth-of-type(2){border-left:0}
  .petora-v13-member__in{grid-template-columns:1fr}
  .petora-v13-member__facts{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:767px){
  .petora-v13-catalog-assurance{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:15px;scrollbar-width:none}
  .petora-v13-catalog-assurance::-webkit-scrollbar{display:none}
  .petora-v13-catalog-assurance__lead,.petora-v13-catalog-assurance__item{flex:0 0 78%;min-height:68px;scroll-snap-align:start;border-left:1px solid var(--p13-line)}
  .petora-v13-catalog-assurance__lead{flex-basis:86%;border-left:0}
  body.petora-v13-ready.petora-v13-page-catalog .cat-right-elements{padding:8px!important}
  body.petora-v13-ready.petora-v13-page-product .urun-detay-sol-alan,
  body.petora-v13-ready.petora-v13-page-product .urun-detay-sag-alan{border-radius:17px!important}
  .petora-v13-member{padding:4px 0 22px}.petora-v13-member__in{width:calc(100% - 24px);border-radius:19px}
  .petora-v13-member__copy{padding:22px 19px}.petora-v13-member__copy h2{font-size:29px}
  .petora-v13-member__facts{grid-template-columns:1fr 1fr}
}
@media(max-width:480px){
  .petora-v13-member__actions{display:grid;grid-template-columns:1fr}.petora-v13-member__actions a{justify-content:center}
  .petora-v13-product-note__links{display:grid;grid-template-columns:1fr}.petora-v13-product-note__links a{justify-content:center}
}
@media(prefers-reduced-motion:reduce){
  body.petora-v13-ready [data-petora-v13-reveal]{opacity:1!important;transform:none!important;transition:none!important}
  body.petora-v13-ready .cat-detail-products-box:hover,
  body.petora-v13-ready .urunler-module-grid-box:hover{transform:none!important}
  body.petora-v13-ready .cat-detail-products-box:hover img,
  body.petora-v13-ready .urunler-module-grid-box:hover img{transform:none!important}
}
