.flash{margin-top:18px;padding:14px 16px;border-radius:12px;font-weight:700}.flash.success{background:#e8f8ee;color:#237846}.flash.error{background:#fff0ee;color:#a33}
.admin-shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh;background:#f7f3ef}.admin-side{background:#241a15;color:#fff;padding:24px}.admin-side a{display:block;color:#fff;padding:11px 12px;border-radius:10px;margin:4px 0}.admin-side a:hover{background:rgba(255,255,255,.08)}.admin-main{padding:28px}.admin-card{background:#fff;border:1px solid #eadfd5;border-radius:18px;padding:20px;margin-bottom:18px;box-shadow:0 8px 22px rgba(71,52,39,.06)}.admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.admin-table{width:100%;border-collapse:collapse;background:#fff}.admin-table th,.admin-table td{padding:12px;border-bottom:1px solid #eee;text-align:left}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-card input,.admin-card textarea,.admin-card select,.form-box input,.form-box textarea,.form-box select{width:100%;height:42px;border:1px solid #e6d9ce;border-radius:10px;padding:0 12px;margin-bottom:10px}.admin-card textarea,.form-box textarea{height:110px;padding-top:12px}.btn{display:inline-flex;height:40px;align-items:center;justify-content:center;border:0;border-radius:10px;padding:0 14px;background:#4d3a2f;color:#fff;font-weight:800}.btn.light{background:#f3e8dd;color:#4d3a2f}.btn.danger{background:#b33}.page-wrap{padding:42px 0}.form-box{background:#fff;border:1px solid #eadfd5;border-radius:18px;padding:22px}.product-card .product img{height:230px}.account-layout{display:grid;grid-template-columns:240px 1fr;gap:22px;margin:42px auto}.account-menu{background:#fff;border:1px solid #eadfd5;border-radius:18px;padding:14px}.account-menu a{display:block;padding:11px;border-radius:10px}.account-menu a:hover{background:#f8f2ec}.invoice-logo strong{font-size:28px;color:#4d3a2f}.mini-contract{font-size:11px;color:#6d5e54}.pay-method{border:1px solid #eadfd5;border-radius:12px;padding:12px;margin-bottom:8px;display:flex;gap:10px}.bank-line{background:#fbf7f3;border:1px solid #eadfd5;border-radius:12px;padding:12px;margin-bottom:8px}@media(max-width:900px){.admin-shell,.account-layout{grid-template-columns:1fr}.admin-grid,.form-row{grid-template-columns:1fr}.admin-side{position:relative}.checkout-grid,.cart-layout{grid-template-columns:1fr!important}}


/* INDEX FIX - PHP sürümünde tasarımın bozulmaması için */
.header-v2 .header-inner{grid-template-columns:220px minmax(320px,1fr) auto}
.header-v2 .logo strong{font-size:25px;color:var(--blue)}
.hero-full{height:470px;position:relative;overflow:hidden}
.hero-full img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(31,23,18,.58),rgba(31,23,18,.2),rgba(31,23,18,0));z-index:1}
.hero-text{z-index:2}
.story-card a{display:block}
.product .btn{margin:0 auto 2px;width:calc(100% - 28px)}
.footer-main{grid-template-columns:1.4fr .8fr .8fr .8fr}
.premium-footer a{cursor:pointer}
@media(max-width:900px){
  .header-v2 .header-inner{grid-template-columns:auto 1fr auto}
  .header-actions-v2{display:none}
  .header-search-center{order:4;grid-column:1/4;width:100%}
  .story-cats{grid-template-columns:repeat(2,1fr)}
  .footer-main{grid-template-columns:1fr!important}
}


/* FULL PAGES + FOOTER FIX */
.site-footer-fixed{margin-top:60px!important;background:#241a15!important;color:#d8c7b7!important}
.site-footer-fixed .footer-cta{display:block!important;background:linear-gradient(135deg,#5a4436,#2d221c)!important;padding:42px 0!important}
.site-footer-fixed .footer-cta-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:30px!important}
.site-footer-fixed .footer-cta span{display:block!important;color:#dcc0a0!important;font-weight:800!important;letter-spacing:2px!important;font-size:12px!important;margin-bottom:8px!important}
.site-footer-fixed .footer-cta h2{margin:0!important;color:#fff!important;font-size:30px!important;line-height:1.2!important}
.site-footer-fixed .footer-cta p{color:#d9cabd!important;margin:10px 0 0!important}
.site-footer-fixed .footer-cta a{background:#b98a58!important;color:#fff!important;border-radius:12px!important;padding:14px 20px!important;font-weight:800!important}
.footer-main-fixed{display:grid!important;grid-template-columns:1.25fr .85fr 1fr 1fr 1.15fr!important;gap:34px!important;padding:54px 0 34px!important}
.footer-main-fixed h3{color:#fff!important;margin:0 0 16px!important}
.footer-main-fixed nav{display:flex!important;flex-direction:column!important;gap:11px!important}
.footer-main-fixed nav a{color:#cebfb3!important;font-size:13px!important}
.footer-main-fixed nav a:hover{color:#fff!important}
.footer-main-fixed .footer-brand p,.footer-main-fixed .premium-newsletter p{color:#cdbdaf!important;line-height:1.75!important}
.footer-contact-boxes{display:grid!important;gap:10px!important}
.footer-contact-boxes div{background:rgba(255,255,255,.04)!important;border:1px solid rgba(255,255,255,.06)!important;border-radius:12px!important;padding:12px!important}
.footer-contact-boxes small{display:block!important;color:#bca898!important;font-size:11px!important}
.footer-contact-boxes strong{display:block!important;color:#fff!important}
.footer-payments{border-top:1px solid rgba(255,255,255,.08)!important;border-bottom:1px solid rgba(255,255,255,.08)!important;display:flex!important;gap:18px!important;justify-content:center!important;flex-wrap:wrap!important;padding:18px 0!important;color:#fff!important;font-weight:700!important}
.footer-bottom{background:#1c140f!important;color:#bba99a!important;padding:18px 0!important}
.footer-bottom-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}
.footer-bottom-inner nav{display:flex!important;gap:16px!important;flex-wrap:wrap!important}
.footer-bottom-inner a{color:#bba99a!important}
.category-redesign{display:grid!important;grid-template-columns:360px 1fr!important;gap:26px!important;margin-top:60px!important;margin-bottom:60px!important}
.category-layout{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:18px!important}
.feature-card{position:relative!important;height:240px!important;border-radius:22px!important;overflow:hidden!important;display:block!important}
.feature-card.tall{height:498px!important;grid-row:span 2!important}
.feature-card.wide{height:220px!important}
.feature-card img{width:100%!important;height:100%!important;object-fit:cover!important}
.feature-card:before{content:''!important;position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.48))!important;z-index:1!important}
.feature-content{position:absolute!important;left:20px!important;right:20px!important;bottom:18px!important;z-index:2!important;color:#fff!important}
.feature-content strong{display:block!important;font-size:22px!important;color:#fff!important}
.benefits-minimal{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:18px!important;margin:48px auto 68px!important}
.benefits-minimal article{border:1px solid #ece2da!important;background:#fff!important;border-radius:16px!important;padding:24px 22px!important}
@media(max-width:1100px){.footer-main-fixed{grid-template-columns:1fr 1fr!important}.footer-brand,.footer-side{grid-column:1/-1!important}.category-redesign{grid-template-columns:1fr!important}.category-intro-card{position:relative!important}.benefits-minimal{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:760px){.site-footer-fixed .footer-cta-inner{display:block!important}.site-footer-fixed .footer-cta a{display:inline-flex!important;margin-top:18px!important}.footer-main-fixed{grid-template-columns:1fr!important}.footer-bottom-inner{display:block!important}.category-layout{grid-template-columns:1fr!important}.feature-card,.feature-card.tall,.feature-card.wide{height:230px!important;grid-row:auto!important}.benefits-minimal{grid-template-columns:1fr!important}}


/* V12 logo, slider, story, qty and product detail fixes */
.logo-link{display:flex;align-items:center}
.header-logo.logo-img{width:150px;max-height:64px;object-fit:contain;display:block}
.footer-logo-image.logo-img{width:170px;max-height:90px;object-fit:contain;display:block;filter:brightness(1.15)}
.story-card img{object-fit:contain!important;background:#f8f1e8!important;padding:6px!important}
.hero-full img{object-position:center!important}
.qty-control{display:inline-flex;align-items:center;border:1px solid #e2d4c8;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 20px rgba(71,52,39,.05)}
.qty-control button{width:38px;height:38px;border:0;background:#f4ebe3;color:#4d3a2f;font-weight:900;font-size:18px;cursor:pointer}
.qty-control input{width:58px;height:38px;border:0;text-align:center;font-weight:800;outline:0;background:#fff}
.detail-qty-pro{margin-bottom:16px}
.detail-qty-pro button{width:48px;height:48px}
.detail-qty-pro input{height:48px;width:74px;font-size:16px}
.cart-row-pro{align-items:center}
.coupon-line{display:flex;gap:8px;margin-bottom:16px}
.coupon-line input{height:42px;border:1px solid #eadfd5;border-radius:10px;padding:0 12px;min-width:0;flex:1}
.total-price-card{background:linear-gradient(135deg,#fffaf5,#f3e5d7)!important}
.header-text-card b{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:760px){.header-logo.logo-img{width:118px;max-height:58px}.footer-logo-image.logo-img{width:140px}.coupon-line{display:block}.coupon-line .btn{width:100%;margin-top:8px}.story-card img{height:155px!important}.cart-row-pro{grid-template-columns:72px 1fr!important}.cart-row-pro .btn.danger{grid-column:2;width:max-content}}


/* V13 fixes: real logo, story images, product add button and checkout */
.logo-link{display:flex!important;align-items:center!important;min-width:150px}
.header-logo.logo-img{display:block!important;width:142px!important;max-height:72px!important;object-fit:contain!important}
.footer-logo-image.logo-img{display:block!important;width:178px!important;max-height:100px!important;object-fit:contain!important;filter:none!important}
.story-cats .story-card img{width:100%!important;height:210px!important;object-fit:cover!important;background:#f7efe7!important;padding:0!important;border-radius:22px!important}
.product-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:calc(100% - 28px);margin:0 auto}
.product-actions .btn{width:100%!important;margin:0!important;font-size:11px}
.product-actions .btn.light{background:#f5eee8!important;color:#4d3a2f!important}
.product .btn:not(.light){background:#4d3a2f!important;color:#fff!important}
@media(max-width:760px){
  .header-logo.logo-img{width:118px!important;max-height:58px!important}
  .footer-logo-image.logo-img{width:145px!important}
  .story-cats .story-card img{height:160px!important}
}
@media(max-width:430px){
  .story-cats .story-card{min-width:160px}
  .story-cats .story-card img{height:145px!important}
}


/* V14 logo ölçüsü ve ödeme akışı düzeltmesi */
.header-logo.logo-img{
  height:72px!important;
  max-height:72px!important;
  width:auto!important;
  max-width:220px!important;
  object-fit:contain!important;
}
.logo-link{
  min-width:150px!important;
  height:72px!important;
  display:flex!important;
  align-items:center!important;
}
.footer-logo-image.logo-img{
  height:72px!important;
  max-height:72px!important;
  width:auto!important;
  max-width:220px!important;
  object-fit:contain!important;
}
.order-success-box{
  max-width:720px;
  margin:0 auto;
}
.order-success-box h1{
  color:var(--blue);
}
@media(max-width:760px){
  .header-logo.logo-img{
    height:58px!important;
    max-height:58px!important;
    max-width:170px!important;
  }
  .logo-link{
    height:58px!important;
    min-width:120px!important;
  }
  .footer-logo-image.logo-img{
    height:58px!important;
    max-height:58px!important;
    max-width:170px!important;
  }
}
