/* PTS Marketim: marketpro'da karşılığı olmayan küçük parçalar. Renkler şablonun değişkenlerinden gelir. */
[hidden] { display: none !important; }

.sf-branch-bar { background: var(--main-color-50, #e7f9ef); border-bottom: 1px solid #e6e6e6; font-size: 14px; color: #121535; }
.sf-branch-bar .container { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.sf-branch-bar b { font-weight: 600; }
.sf-branch-bar .sf-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #299e60; margin-right: 6px; vertical-align: middle; }
.sf-branch-bar .sf-dot.off { background: #fa6400; }
.sf-branch-bar button { color: var(--main-color, #299e60); font-weight: 600; text-decoration: underline; }

.sf-modal { position: fixed; inset: 0; z-index: 10050; background: rgba(18, 21, 53, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.sf-modal__box { position: relative; background: #fff; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; }
.sf-modal__close { position: absolute; top: 16px; right: 16px; }
.sf-modal select.common-input { appearance: auto; }

.sf-alert { border-radius: 8px; padding: 12px 16px; font-size: 14px; line-height: 1.5; }
.sf-alert.ok { background: var(--main-color-50, #e7f9ef); color: var(--main-color-800, #1e7a49); }
.sf-alert.no { background: #fdecec; color: #c62828; }
.sf-alert.warn { background: #fff0e5; color: #a64300; }

.sf-toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); background: #121535; color: #fff; padding: 12px 22px; border-radius: 50rem; font-size: 14px; z-index: 10060; opacity: 0; pointer-events: none; transition: all .25s; max-width: calc(100vw - 32px); }
.sf-toast.on { opacity: 1; transform: translate(-50%, 0); }

.product-card__thumb img { max-height: 180px; object-fit: contain; }
.list-grid-wrapper .product-card__thumb img { height: 180px; width: 100%; }
.new-arrival__slider .product-card__thumb img, .recommended .product-card__thumb img { height: 160px; width: 100%; }
.product-card__stepper { display: flex; align-items: center; justify-content: space-between; border-radius: 50rem; background: var(--main-color, #299e60); color: #fff; padding: 4px; }
.product-card__stepper button { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.product-card__stepper button:hover { background: rgba(255, 255, 255, .18); }
.product-card__stepper span { font-weight: 600; }
.product-card .sf-oos { position: absolute; top: 52px; right: 8px; background: #121535; color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 4px; z-index: 2; }
.product-card.is-oos .product-card__thumb img { opacity: .45; }

.product-details__thumb img { max-height: 420px; object-fit: contain; }
.product-details__images-slider img { max-height: 100px; object-fit: contain; }

.sf-feature-thumb img { width: 72%; height: 72%; object-fit: contain; }

.sf-option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #e6e6e6; border-radius: 8px; padding: 14px 16px; cursor: pointer; margin-bottom: 12px; transition: border-color .2s; }
.sf-option:hover, .sf-option.on { border-color: var(--main-color, #299e60); }
.sf-option.on { background: var(--main-color-50, #e7f9ef); }
.sf-option.dis { opacity: .5; cursor: not-allowed; }
.sf-option input { margin-top: 4px; accent-color: var(--main-color, #299e60); }
.sf-option small { display: block; color: #666; margin-top: 2px; }
.sf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.sf-chip { border: 1px solid #e6e6e6; border-radius: 50rem; padding: 8px 16px; font-size: 14px; background: #fff; }
.sf-chip.on { background: var(--main-color, #299e60); border-color: var(--main-color, #299e60); color: #fff; }
.sf-chip:disabled { opacity: .45; cursor: not-allowed; }
.sf-chip small { display: block; font-size: 11px; opacity: .8; }

.sf-status { display: inline-block; padding: 4px 12px; border-radius: 50rem; font-size: 12px; font-weight: 600; color: #fff; }
.sf-empty { text-align: center; padding: 48px 16px; color: #666; }
.sf-empty i { font-size: 48px; color: var(--main-color, #299e60); display: block; margin-bottom: 12px; }

.payment-item__content { display: none; }
.payment-item.on .payment-item__content { display: block; }

/* Favori (kalp) düğmesi: ürün kartının sağ üst köşesi */
.product-card .sf-fav { position: absolute; top: 8px; right: 8px; z-index: 3; transition: color .2s, transform .2s; }
.product-card .sf-fav:hover { transform: scale(1.08); }
[data-fav] .ph-fill.ph-heart { color: inherit; }
.sf-fav .ph-fill.ph-heart { color: var(--main-color, #299e60); }

/* Panelden gelen içerik (sayfa gövdesi, SSS cevabı, kampanya açıklaması) */
.sf-prose h2 { font-size: 22px; margin: 32px 0 16px; }
.sf-prose h3 { font-size: 18px; margin: 24px 0 12px; }
.sf-prose h2:first-child, .sf-prose h3:first-child { margin-top: 0; }
.sf-prose p { margin-bottom: 16px; }
.sf-prose ul, .sf-prose ol { margin: 0 0 16px 20px; }
.sf-prose ul { list-style: disc; }
.sf-prose ol { list-style: decimal; }
.sf-prose li { margin-bottom: 6px; }
.sf-prose a { color: var(--main-color, #299e60); text-decoration: underline; }
.sf-prose table { width: 100%; margin-bottom: 16px; border-collapse: collapse; }
.sf-prose td, .sf-prose th { border: 1px solid #e6e6e6; padding: 8px 12px; }

/* SSS: şablonda akordeon yok; yerel details/summary */
.sf-faq summary { list-style: none; }
.sf-faq summary::-webkit-details-marker { display: none; }
.sf-faq[open] { border-color: var(--main-color, #299e60); }
.sf-faq[open] summary i { transform: rotate(45deg); }
.sf-faq summary i { transition: transform .2s; }

.sf-campaign-img img { width: 100%; max-height: 360px; object-fit: cover; }
.cart-table td .product-card__stepper { min-width: 140px; }
/* Sipariş durum adımları: dar ekranda da 4 sütun yan yana */
.sf-steps { display: flex; gap: 8px; }
.sf-steps > div { flex: 1 1 0; min-width: 0; }
@media (max-width: 575px) { .sf-steps h6 { font-size: 13px; } .sf-steps .w-48 { width: 40px; height: 40px; font-size: 20px; } }

/* Mağaza teması (head.html → PTS_THEME): şablonda .bg-color-one sabit yeşil yazılı; özel ana renk seçildiğinde yalnız rengi değişkene bağlanır */
:root[data-sf-theme] .bg-color-one { background-color: var(--bg-color-one) !important; }

/* İletişim formu bal küpü (botlar doldurur, insanlar görmez) */
.sf-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
