/* Duygu Çiçek Evi — Deniz Media Group */
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { font-feature-settings: "kern"; }
[x-cloak] { display: none !important; }

.dmg-badge {
  position: absolute; top: -8px; right: -9px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: #E2302B; color: #fff; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; border: 2px solid #fff; line-height: 1;
}
.dmg-badge.hidden { display: none; }
.dmg-fav.is-fav { color: #E2302B; }
.dmg-fav.is-fav svg { fill: currentColor; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Yatay kaydırıcılar */
.dmg-scroll { display: grid; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.dmg-scroll::-webkit-scrollbar { display: none; }
.dmg-scroll > * { scroll-snap-align: start; }
.dmg-row { grid-auto-columns: calc((100% - 16px) / 2); }
@media (min-width: 640px) { .dmg-row { grid-auto-columns: calc((100% - 32px) / 3); } }
@media (min-width: 1024px) { .dmg-row { grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; } }
.dmg-cats { grid-auto-columns: 132px; gap: 12px; }
@media (min-width: 1024px) { .dmg-cats { grid-auto-columns: calc((100% - 7 * 18px) / 8); gap: 18px; } }

/* Hero */
.dmg-hero { position: relative; overflow: hidden; border-radius: 4px; }
.dmg-hero-track { display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.dmg-hero-slide { min-width: 100%; position: relative; }
.dmg-dot { width: 15px; height: 15px; border-radius: 999px; border: 2px solid #E2302B; background: rgba(255,255,255,.6); }
.dmg-dot.is-active { background: #E2302B; }

/* Kategori kutuları */
.dmg-cat { transition: box-shadow .2s, border-color .2s, transform .2s; border: 1px solid transparent; }
.dmg-cat:hover, .dmg-cat.is-active { border-color: #F2A7A4; box-shadow: 0 8px 24px -14px rgba(226,48,43,.6); transform: translateY(-2px); }
.dmg-cat:hover .dmg-cat-name, .dmg-cat.is-active .dmg-cat-name { color: #E2302B; }

/* Banner */
.dmg-banner { position: relative; overflow: hidden; border-radius: 6px; min-height: 230px; isolation: isolate; }
.dmg-banner .dmg-blob { position: absolute; right: -4%; top: 6%; bottom: 6%; width: 54%; border-radius: 46% 54% 40% 60% / 55% 40% 60% 45%; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.dmg-banner .dmg-blob img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.dmg-banner:hover .dmg-blob img { transform: scale(1.05); }
.dmg-banner .dmg-deco { position: absolute; border-radius: 999px; z-index: -1; }

/* Ürün galerisi */
.dmg-thumb.is-active { outline: 2px solid #E2302B; outline-offset: 2px; }

/* Tarih seçici kutuları */
.dmg-date { transition: background .15s, color .15s, box-shadow .15s; }
.dmg-date input { position: absolute; opacity: 0; pointer-events: none; }
.dmg-date.is-active, .dmg-date:has(input:checked) { background: #7A8A9E; color: #fff; }
.dmg-date.is-disabled { opacity: .45; cursor: not-allowed; }

.dmg-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232E3B4E' stroke-width='2.5'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 32px; }

.dmg-input { width: 100%; border: 1px solid #D9DEE5; border-radius: 8px; padding: 11px 14px; font-size: 16px; background-color: #fff; transition: border-color .15s, box-shadow .15s; }
.dmg-input:focus { outline: none; border-color: #E2302B; box-shadow: 0 0 0 3px rgba(226,48,43,.12); }
.dmg-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: #2E3B4E; }
.dmg-err { color: #C42420; font-size: 14px; margin-top: 4px; }

.dmg-pay { border: 2px solid #E5E7EB; border-radius: 12px; transition: border-color .15s, background .15s; cursor: pointer; }
.dmg-pay:has(input:checked) { border-color: #E2302B; background: #FFF7F6; }

/* Toast */
.dmg-toast { background: #1F2A37; color: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); font-weight: 600; max-width: 92vw; }
.dmg-toast.ok { background: #1E7E45; }
.dmg-toast.err { background: #C42420; }

.dmg-suggest a:hover, .dmg-suggest a.is-active { background: #FDECEC; }

/* İçerik metinleri (sayfa / blog) */
.dmg-prose { line-height: 1.75; color: #45556A; font-size: 17px; }
.dmg-prose p { margin: 0 0 1em; }
.dmg-prose h2, .dmg-prose h3 { color: #2E3B4E; font-weight: 700; margin: 1.4em 0 .5em; font-size: 1.3em; }
.dmg-prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.dmg-prose a { color: #E2302B; text-decoration: underline; }
.dmg-prose img { max-width: 100%; height: auto; border-radius: 8px; }

#iyzipay-checkout-form { min-height: 420px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
