/* Sontema Commerce
 * Verilen Sontema.php tasarımının görsel dili, mevcut dinamik mağaza bileşenlerine uyarlanmıştır.
 * Tüm temel renkler admin panelindeki tema renk değişkenlerinden beslenir.
 */
.theme-sontema.storefront-pro{
  --st-primary:var(--green);
  --st-primary-2:var(--green-2);
  --st-accent:var(--orange);
  --st-surface:var(--white);
  --st-text:var(--ink);
  --st-muted:var(--muted);
  --st-line:var(--line);
  --st-soft:color-mix(in srgb,var(--green) 7%,var(--white));
  --st-accent-soft:color-mix(in srgb,var(--orange) 12%,var(--white));
  --st-shadow:0 14px 38px color-mix(in srgb,var(--green) 12%,transparent);
  background:color-mix(in srgb,var(--line) 22%,#fff);
  color:var(--st-text);
  font-family:"DM Sans","Segoe UI",sans-serif;
}
.theme-sontema.storefront-pro button,
.theme-sontema.storefront-pro input,
.theme-sontema.storefront-pro select,
.theme-sontema.storefront-pro textarea{font:inherit}
.theme-sontema.storefront-pro .site-container{width:min(var(--site-container),calc(100% - 32px))}

/* Üst kampanya ve yardımcı bağlantılar */
.theme-sontema .site-announcement{background:var(--st-accent)!important;color:#fff!important;font-weight:800;letter-spacing:.015em}
.theme-sontema .site-announcement a{color:inherit}
.theme-sontema .et-utility-bar{border:0;background:color-mix(in srgb,var(--st-primary) 76%,#07180f);color:#eaf4ed}
.theme-sontema .et-utility-bar__left span,
.theme-sontema .et-utility-bar__right a,
.theme-sontema .et-utility-bar__right>span{color:#eaf4ed}
.theme-sontema .et-utility-bar i{color:color-mix(in srgb,var(--st-accent) 80%,#fff)}
.theme-sontema .et-utility-bar__right a:hover{color:#fff}

/* Dinamik header */
.theme-sontema .et-sticky-header{background:var(--st-surface);box-shadow:0 10px 30px rgba(17,32,22,.08)}
.theme-sontema .et-main-header{border-bottom:1px solid var(--st-line);background:rgba(255,255,255,.97)}
.theme-sontema .et-main-header__inner{min-height:94px;gap:28px}
.theme-sontema .et-brand{min-width:210px}
.theme-sontema .et-brand__fallback{border:1px solid color-mix(in srgb,var(--st-primary) 18%,transparent);background:var(--st-soft);color:var(--st-primary);box-shadow:none}
.theme-sontema .et-brand__copy strong{color:var(--st-primary);font-family:"Fraunces",Georgia,serif;font-size:1.55rem;letter-spacing:-.035em}
.theme-sontema .et-brand__copy small{color:var(--st-accent);font-size:.67rem;font-weight:800;letter-spacing:.15em}
.theme-sontema .et-search{max-width:650px;border:2px solid var(--st-primary);border-radius:13px;background:#fff;box-shadow:0 7px 18px rgba(20,63,43,.07)}
.theme-sontema .et-search:focus-within{border-color:var(--st-accent);box-shadow:0 0 0 4px var(--st-accent-soft)}
.theme-sontema .et-search-simple__field i{color:var(--st-primary)}
.theme-sontema .et-search-simple__button{border-radius:9px;background:var(--st-primary);color:#fff;font-weight:800}
.theme-sontema .et-search-simple__button:hover{background:var(--st-accent)}
.theme-sontema .et-action-icon,
.theme-sontema .et-cart-action__icon{background:var(--st-soft);color:var(--st-primary)}
.theme-sontema .et-account-action:hover,
.theme-sontema .et-icon-action:hover{background:var(--st-soft);color:var(--st-primary)}
.theme-sontema .et-action-copy small,
.theme-sontema .et-cart-action__copy small{color:var(--st-muted)}
.theme-sontema .et-action-copy strong,
.theme-sontema .et-cart-action__copy strong{color:var(--st-text)}
.theme-sontema .et-cart-action{border-color:var(--st-primary);background:var(--st-primary);color:#fff}
.theme-sontema .et-cart-action .et-cart-action__icon{background:rgba(255,255,255,.14);color:#fff}
.theme-sontema .et-cart-action .et-cart-action__copy small,
.theme-sontema .et-cart-action .et-cart-action__copy strong{color:#fff}
.theme-sontema .et-cart-action:hover{border-color:var(--st-accent);background:var(--st-accent)}
.theme-sontema .et-cart-count{background:var(--st-accent);color:#fff}

/* Kategori menüsü */
.theme-sontema .et-category-nav{border-bottom:1px solid var(--st-line);background:#fff}
.theme-sontema .et-all-categories{align-self:stretch;border-radius:0;background:var(--st-primary);color:#fff;font-weight:800}
.theme-sontema .et-all-categories:hover{background:color-mix(in srgb,var(--st-primary) 88%,#000)}
.theme-sontema .et-category-nav__links a{position:relative;border:0;border-radius:0;color:var(--st-text);font-size:.88rem;font-weight:700}
.theme-sontema .et-category-nav__links a:after{position:absolute;right:14px;bottom:0;left:14px;height:3px;border-radius:3px 3px 0 0;background:var(--st-accent);content:"";opacity:0;transform:scaleX(.5);transition:.2s ease}
.theme-sontema .et-category-nav__links a:hover,
.theme-sontema .et-category-nav__links a.active{background:transparent;color:var(--st-primary)}
.theme-sontema .et-category-nav__links a:hover:after,
.theme-sontema .et-category-nav__links a.active:after{opacity:1;transform:scaleX(1)}
.theme-sontema .et-campaign-link{color:#c9362d!important;font-weight:900!important}
.theme-sontema .et-campaign-link i{color:var(--st-accent)}

/* Alışveriş avantajları */
.theme-sontema .et-benefits{border-bottom:1px solid var(--st-line);background:var(--st-soft)}
.theme-sontema .et-benefit{border-color:color-mix(in srgb,var(--st-primary) 13%,transparent)}
.theme-sontema .et-benefit>span{background:#fff;color:var(--st-primary);box-shadow:0 6px 16px rgba(23,63,43,.08)}
.theme-sontema .et-benefit strong{color:var(--st-primary)}
.theme-sontema .et-benefit small{color:var(--st-muted)}

/* Ana sayfa vitrin modülleri */
.theme-sontema .home-module{margin-block:30px}
.theme-sontema .home-module__head span{color:var(--st-accent);font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.theme-sontema .home-module__head h2,
.theme-sontema .catalog-toolbar h2{color:var(--st-primary);font-family:"Fraunces",Georgia,serif;letter-spacing:-.035em}
.theme-sontema .home-module__head a{border-color:var(--st-line);background:#fff;color:var(--st-primary)}
.theme-sontema .home-module__head a:hover{border-color:var(--st-primary);background:var(--st-primary);color:#fff}
.theme-sontema .home-slider,
.theme-sontema .home-banner,
.theme-sontema .home-story,
.theme-sontema .home-html,
.theme-sontema .site-card{border-color:var(--st-line);border-radius:var(--theme-radius);background:#fff;box-shadow:var(--st-shadow)}
.theme-sontema .catalog-features{border:1px solid var(--st-line);border-radius:var(--theme-radius);background:#fff;box-shadow:var(--st-shadow)}
.theme-sontema .catalog-features>div{border-color:var(--st-line)}
.theme-sontema .catalog-features span{background:var(--st-soft)}
.theme-sontema .catalog-features b{color:var(--st-primary)}

/* Ürün vitrini */
.theme-sontema .catalog-section{padding-top:30px;padding-bottom:56px}
.theme-sontema .catalog-toolbar{margin-bottom:20px}
.theme-sontema .catalog-toolbar p{color:var(--st-muted)}
.theme-sontema .catalog-columns a{border-color:var(--st-line);background:#fff;color:var(--st-primary)}
.theme-sontema .catalog-columns a.active,
.theme-sontema .catalog-columns a:hover{border-color:var(--st-primary);background:var(--st-primary);color:#fff}
.theme-sontema .catalog-product,
.theme-sontema .home-product-card{overflow:hidden;border:1px solid var(--st-line);border-radius:15px;background:#fff;box-shadow:0 8px 25px rgba(23,63,43,.07);transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}
.theme-sontema .catalog-product:hover,
.theme-sontema .home-product-card:hover{border-color:color-mix(in srgb,var(--st-accent) 55%,var(--st-line));box-shadow:0 18px 42px rgba(23,63,43,.14);transform:translateY(-5px)}
.theme-sontema .catalog-product__media,
.theme-sontema .home-product-card__image{background:linear-gradient(180deg,#fff 0%,color-mix(in srgb,var(--st-soft) 55%,#fff) 100%)}
.theme-sontema .catalog-product__image{padding:22px}
.theme-sontema .catalog-product__image img,
.theme-sontema .home-product-card__image img{object-fit:contain;transition:transform .3s ease}
.theme-sontema .catalog-product:hover .catalog-product__image img,
.theme-sontema .home-product-card:hover .home-product-card__image img{transform:scale(1.045)}
.theme-sontema .catalog-product__body,
.theme-sontema .home-product-card__body{border-top:1px solid var(--st-line);background:#fff}
.theme-sontema .catalog-product__category{color:var(--st-accent);font-weight:800}
.theme-sontema .catalog-product h3 a{color:var(--st-text)}
.theme-sontema .catalog-product h3 a:hover{color:var(--st-primary)}
.theme-sontema .catalog-stock-chip{background:var(--st-soft);color:var(--st-primary)}
.theme-sontema .catalog-stock-chip.is-low{background:#fff5e8;color:#ad5b0c}
.theme-sontema .catalog-stock-chip.is-out{background:#fff0f0;color:#be3030}
.theme-sontema .catalog-rating span{color:var(--st-accent)}
.theme-sontema .catalog-price strong{color:var(--st-primary);font-size:1.32rem}
.theme-sontema .catalog-price del{color:var(--st-muted)}
.theme-sontema .catalog-discount{background:#d93636;color:#fff}
.theme-sontema .catalog-badge{background:var(--st-primary);color:#fff}
.theme-sontema .product-list-tools button{border-color:var(--st-line);background:#fff;color:var(--st-primary)}
.theme-sontema .product-list-tools button:hover,
.theme-sontema .product-list-tools button.active{border-color:var(--st-accent);background:var(--st-accent);color:#fff}
.theme-sontema .catalog-quantity{border-color:var(--st-line);background:#fff}
.theme-sontema .catalog-quantity button{color:var(--st-primary)}
.theme-sontema .catalog-add{border-color:var(--st-primary);background:var(--st-primary);color:#fff;font-weight:800}
.theme-sontema .catalog-add:hover{border-color:var(--st-accent);background:var(--st-accent)}
.theme-sontema .catalog-note{border-color:var(--st-line);background:#fbfcfb}
.theme-sontema .catalog-note:focus{border-color:var(--st-primary);box-shadow:0 0 0 3px var(--st-soft)}

/* Filtreler */
.theme-sontema .catalog-filter-panel{border-color:var(--st-line);background:#fff;box-shadow:var(--st-shadow)}
.theme-sontema .catalog-filter-panel h3{color:var(--st-primary)}
.theme-sontema .catalog-filter-panel button,
.theme-sontema .catalog-filter-panel .site-button{background:var(--st-primary);color:#fff}

/* Dinamik footer */
.theme-sontema .et-footer-wrap{background:transparent}
.theme-sontema .et-footer-cta__inner{border:0;background:linear-gradient(115deg,var(--st-primary),color-mix(in srgb,var(--st-primary) 72%,#06150d));box-shadow:0 20px 45px rgba(12,44,29,.2)}
.theme-sontema .et-footer-cta__copy span{color:color-mix(in srgb,var(--st-accent) 70%,#fff)}
.theme-sontema .et-footer-cta__copy h2,
.theme-sontema .et-footer-cta__copy p{color:#fff}
.theme-sontema .et-footer-cta__actions a:first-child{background:var(--st-accent);color:#fff}
.theme-sontema .et-footer-cta__actions a:last-child{border-color:rgba(255,255,255,.28);color:#fff}
.theme-sontema .et-footer-benefits{border-color:var(--st-line);background:#fff}
.theme-sontema .et-footer-benefit>span{background:var(--st-soft);color:var(--st-primary)}
.theme-sontema .et-footer-benefit strong{color:var(--st-primary)}
.theme-sontema .et-footer{background:color-mix(in srgb,var(--st-primary) 84%,#07160e);color:#dce9df}
.theme-sontema .et-footer-logo__mark{background:rgba(255,255,255,.1);color:var(--st-accent)}
.theme-sontema .et-footer-logo__copy strong,
.theme-sontema .et-footer-column h3,
.theme-sontema .et-footer-contact h3{color:#fff}
.theme-sontema .et-footer-logo__copy small{color:color-mix(in srgb,var(--st-accent) 72%,#fff)}
.theme-sontema .et-footer-column a,
.theme-sontema .et-footer-brand__description{color:#c7d8cc}
.theme-sontema .et-footer-column a:hover{color:#fff;transform:translateX(3px)}
.theme-sontema .et-footer-socials a,
.theme-sontema .et-footer-contact__item>span{background:rgba(255,255,255,.09);color:var(--st-accent)}
.theme-sontema .et-footer-contact__button{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff}
.theme-sontema .et-footer-bottom{border-color:rgba(255,255,255,.12)}
.theme-sontema .et-mobile-nav-premium__cart-icon{background:var(--st-primary)}
.theme-sontema .et-mobile-nav-premium a.is-active,
.theme-sontema .et-mobile-nav-premium button:hover{color:var(--st-primary)}

/* Mobil kategori çekmecesi */
.theme-sontema .et-category-drawer{background:#fff}
.theme-sontema .et-category-drawer__brand{background:var(--st-soft)}
.theme-sontema .et-category-drawer__account{background:var(--st-primary);color:#fff}
.theme-sontema .et-category-drawer__account a{background:var(--st-accent);color:#fff}
.theme-sontema .et-category-drawer__links a:hover{background:var(--st-soft);color:var(--st-primary)}

@media(max-width:1100px){
  .theme-sontema .et-main-header__inner{gap:14px}
  .theme-sontema .et-brand{min-width:175px}
  .theme-sontema .et-brand__copy strong{font-size:1.25rem}
  .theme-sontema .et-account-action{display:none}
}
@media(max-width:760px){
  .theme-sontema.storefront-pro .site-container{width:min(var(--site-container),calc(100% - 22px))}
  .theme-sontema .et-main-header__inner{min-height:72px}
  .theme-sontema .et-brand{min-width:0}
  .theme-sontema .et-brand__copy small{display:none}
  .theme-sontema .et-search{border-width:1.5px;border-radius:10px}
  .theme-sontema .catalog-product__image{padding:12px}
  .theme-sontema .catalog-product__body{padding:13px}
  .theme-sontema .catalog-product:hover{transform:none}
  .theme-sontema .et-footer-cta__inner{border-radius:18px}
}

@supports not (color:color-mix(in srgb,#000 10%,#fff)){
  .theme-sontema.storefront-pro{--st-soft:#edf5ef;--st-accent-soft:#fff1df}
}
