/* MAT-EĞİTİM storefront: navigation and footer. Existing product styles stay scoped to their views. */
:root {
    --storefront-ink: #231d45;
    --storefront-green: #5eb130;
    --storefront-green-dark: #3b7c1d;
    --storefront-muted: #72717c;
    --storefront-line: #e9e9e2;
    --storefront-paper: #fbfbf8;
}
.storefront-body { background: var(--storefront-paper); color: var(--storefront-ink); -webkit-font-smoothing: antialiased; }
.storefront-shell-width { width: min(1280px, calc(100% - 80px)); margin: 0 auto; }
.storefront-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.storefront-skip-link { position: fixed; z-index: 10000; top: 8px; left: 8px; padding: 12px 20px; border-radius: 8px; background: var(--storefront-ink); color: #fff; transform: translateY(-150%); }
.storefront-skip-link:focus { transform: translateY(0); }
.storefront-header a:focus-visible, .storefront-header button:focus-visible, .storefront-header summary:focus-visible,
.storefront-mobile-bottom a:focus-visible, .storefront-footer a:focus-visible { outline: 3px solid var(--storefront-green); outline-offset: 4px; }
.storefront-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--storefront-line); }
.storefront-topbar { background: #f2f5ee; color: #626759; font-size: 11px; letter-spacing: .015em; }
.storefront-topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 32px; gap: 24px; }
.storefront-topbar p { display: flex; align-items: center; gap: 8px; margin: 0; }
.storefront-brand-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--storefront-green); }
.storefront-topbar-links { display: flex; gap: 24px; align-items: center; }
.storefront-topbar-links i { margin-right: 5px; font-size: 9px; }
.storefront-topbar a:hover { color: var(--storefront-ink); }
.storefront-header-inner { display: flex; align-items: center; gap: 24px; min-height: 86px; }
.storefront-logo { display: flex; flex: 0 0 180px; align-items: center; width: 180px; }
.storefront-logo img { display: block; width: 100%; height: 59px; object-fit: contain; object-position: left center; }
.storefront-wordmark { font-size: 23px; font-weight: 850; letter-spacing: -.8px; white-space: nowrap; }
.storefront-wordmark span, .storefront-footer-wordmark span { color: var(--storefront-green); }
.storefront-wordmark small { display: block; font-size: 8px; letter-spacing: 2px; margin-top: 3px; text-align: center; }
.storefront-header-search, .storefront-mobile-search { display: flex; align-items: center; border: 1px solid var(--storefront-line); border-radius: 8px; background: #f8f8f5; height: 42px; }
.storefront-header-search { flex: 1 1 200px; min-width: 155px; max-width: 250px; }
.storefront-header-search:focus-within, .storefront-mobile-search:focus-within { border-color: var(--storefront-green-dark); outline: 2px solid #5eb13024; outline-offset: 2px; }
.storefront-header-search input, .storefront-mobile-search input { background: none; color: var(--storefront-ink); padding: 10px 0 10px 13px; font-size: 11px; border: 0; outline: 0; min-width: 0; width: 100%; }
.storefront-header-search input::placeholder, .storefront-mobile-search input::placeholder { color: #71736c; opacity: 1; }
.storefront-header-search button, .storefront-mobile-search button { flex: 0 0 40px; width: 40px; height: 40px; color: #7c8275; font-size: 13px; border-radius: 7px; }
.storefront-header-search button:hover, .storefront-mobile-search button:hover { color: var(--storefront-green-dark); background: #edf4e8; }
.storefront-desktop-nav { display: flex; align-items: center; gap: 21px; margin-left: auto; font-size: 12px; font-weight: 600; white-space: nowrap; }
.storefront-desktop-nav > a, .storefront-lessons > summary { padding: 13px 0; }
.storefront-desktop-nav > a:hover, .storefront-desktop-nav > a[aria-current], .storefront-lessons > summary:hover { color: var(--storefront-green-dark); }
.storefront-desktop-nav .storefront-nav-books { color: var(--storefront-green-dark); font-weight: 750; }
.storefront-lessons { position: relative; color: #6b6878; }
.storefront-lessons summary { cursor: pointer; display: flex; gap: 7px; align-items: center; list-style: none; }
.storefront-lessons summary::-webkit-details-marker { display: none; }
.storefront-lessons summary i { font-size: 8px; transition: transform .15s; }
.storefront-lessons[open] summary i { transform: rotate(180deg); }
.storefront-header-actions { display: flex; align-items: center; gap: 17px; }
.storefront-account { position: relative; }
.storefront-account-button { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 11px; font-weight: 600; }
.storefront-account-button i { font-size: 16px; }
.storefront-account-button:hover { color: var(--storefront-green-dark); }
.storefront-cart { position: relative; width: 39px; height: 39px; border: 1px solid var(--storefront-line); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.storefront-cart:hover { border-color: var(--storefront-green); background: #f4f8ef; }
.storefront-cart-badge { position: absolute; top: -5px; right: -5px; display: flex; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 20px; background: var(--storefront-green); color: #172c0d; justify-content: center; align-items: center; text-align: center; font-size: 10px; line-height: 17px; font-weight: 700; }
.storefront-dropdown { position: absolute; right: 0; top: calc(100% + 18px); z-index: 60; min-width: 205px; background: #fff; border: 1px solid var(--storefront-line); box-shadow: 0 14px 36px #231d4514; border-radius: 12px; padding: 6px; font-size: 13px; color: var(--storefront-ink); }
.storefront-dropdown a, .storefront-dropdown button { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 7px; width: 100%; text-align: left; }
.storefront-dropdown a:hover, .storefront-dropdown button:hover { background: #f2f6ef; }
.storefront-dropdown a i { width: 16px; color: #828575; }
.storefront-account-name { display: block; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 10px 12px 12px; font-weight: 700; border-bottom: 1px solid var(--storefront-line); }
.storefront-lessons-dropdown { top: calc(100% + 4px); }
.storefront-logout { color: #ac3d39; }
.storefront-mobile-toggle, .storefront-mobile-menu, .storefront-mobile-bottom { display: none; }
.storefront-footer { margin-top: 80px; padding-top: 64px; background: var(--storefront-ink); color: #c7c5d2; font-size: 12px; line-height: 1.8; }
.storefront-footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1.05fr 1.1fr; gap: 56px; padding-bottom: 50px; }
.storefront-footer h2 { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.5; margin: 0 0 20px; }
.storefront-footer p { margin: 0; }
.storefront-footer ul { padding: 0; margin: 0; list-style: none; }
.storefront-footer li + li { margin-top: 9px; }
.storefront-footer a:hover { color: #b4e094; }
.storefront-footer-wordmark { color: #fff; font-weight: 800; font-size: 23px; letter-spacing: -.8px; line-height: 1.2; }
.storefront-footer .storefront-footer-tagline { margin: 7px 0 18px; font-size: 8px; font-weight: 700; letter-spacing: 2.3px; color: #b4e094; }
.storefront-footer-about > p:not(.storefront-footer-tagline) { max-width: 245px; }
.storefront-socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.storefront-socials a { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; border: 1px solid #ffffff26; border-radius: 50%; font-size: 13px; }
.storefront-socials a:hover { background: #ffffff0c; border-color: #b4e094; }
.storefront-footer-contact > a { display: block; }
.storefront-footer-contact .storefront-footer-phone { margin-top: 14px; margin-bottom: 3px; font-size: 20px; font-weight: 650; color: #fff; line-height: 1.4; letter-spacing: -.25px; }
.storefront-footer-contact .storefront-footer-address { margin-top: 16px; font-size: 11px; color: #b2afc0; }
.storefront-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid #ffffff1f; padding: 22px 0; font-size: 10px; color: #b2afc0; }
.storefront-footer-bottom nav { display: flex; gap: 24px; }
.storefront-whatsapp { width: 44px; height: 44px; z-index: 45; }
.storefront-whatsapp svg { width: 24px; height: 24px; }
@media (min-width: 1100px) and (max-width: 1240px) {
    .storefront-shell-width { width: calc(100% - 56px); }
    .storefront-header-inner { gap: 18px; }
    .storefront-logo { flex-basis: 165px; width: 165px; }
    .storefront-desktop-nav { gap: 16px; font-size: 11px; }
    .storefront-header-actions { gap: 13px; }
    .storefront-account-button span { display: none; }
}
@media (max-width: 1099px) {
    .storefront-shell-width { width: calc(100% - 48px); }
    .storefront-topbar { font-size: 10px; }
    .storefront-topbar-inner { min-height: 29px; }
    .storefront-topbar-links { gap: 16px; }
    .storefront-header-inner { min-height: 77px; gap: 28px; }
    .storefront-logo { width: 174px; flex-basis: 174px; }
    .storefront-logo img { height: 53px; }
    .storefront-header-search { max-width: none; }
    .storefront-desktop-nav, .storefront-account { display: none; }
    .storefront-header-actions { gap: 17px; margin-left: auto; }
    .storefront-mobile-toggle { display: flex; width: 38px; height: 40px; align-items: center; justify-content: center; font-size: 18px; }
    .storefront-mobile-menu { display: block; border-top: 1px solid var(--storefront-line); padding: 20px 24px; max-height: calc(100dvh - 170px); overflow-y: auto; overscroll-behavior: contain; background: #fff; }
    .storefront-mobile-menu.hidden { display: none; }
    .storefront-mobile-search { margin-bottom: 14px; }
    .storefront-mobile-search input { font-size: 13px; }
    .storefront-mobile-menu nav > a { display: flex; justify-content: space-between; align-items: center; font-size: 14px; padding: 13px 10px; border-radius: 6px; }
    .storefront-mobile-menu nav > a:first-child { font-weight: 700; color: var(--storefront-green-dark); }
    .storefront-mobile-menu nav > a:hover { background: #f2f6ef; }
    .storefront-mobile-account { border-top: 1px solid var(--storefront-line); padding-top: 12px; margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; }
    .storefront-mobile-account a, .storefront-mobile-account button { display: block; padding: 10px; }
    .storefront-mobile-bottom { display: flex; position: fixed; bottom: 0; left: 0; right: 0; padding-bottom: env(safe-area-inset-bottom, 0); z-index: 50; background: #fff; border-top: 1px solid var(--storefront-line); box-shadow: 0 -3px 18px #231d4505; }
    .storefront-mobile-bottom > a { flex: 1; display: flex; min-height: 65px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; font-size: 10px; font-weight: 600; color: #726e80; }
    .storefront-mobile-bottom > a:hover, .storefront-mobile-bottom > a[aria-current] { color: var(--storefront-green-dark); background: #f7faf3; }
    .storefront-mobile-bottom i { font-size: 18px; }
    .storefront-bottom-cart-icon { position: relative; }
    .storefront-bottom-cart-icon .storefront-cart-badge { right: -13px; top: -8px; font-size: 9px; }
    .storefront-footer { padding-bottom: calc(65px + env(safe-area-inset-bottom, 0)); }
    .storefront-footer-grid { gap: 36px; grid-template-columns: 1.2fr 1fr; }
    .storefront-whatsapp { bottom: calc(83px + env(safe-area-inset-bottom, 0)); left: 18px; }
}
@media (max-width: 600px) {
    .storefront-shell-width { width: calc(100% - 36px); }
    .storefront-topbar-inner { justify-content: center; min-height: 27px; }
    .storefront-topbar-links { display: none; }
    .storefront-topbar { font-size: 9px; }
    .storefront-header-inner { min-height: 68px; gap: 16px; }
    .storefront-logo { width: 154px; flex-basis: 154px; }
    .storefront-logo img { height: 48px; }
    .storefront-header-search { display: none; }
    .storefront-header-actions { gap: 10px; }
    .storefront-cart { width: 36px; height: 36px; font-size: 14px; }
    .storefront-mobile-toggle { width: 33px; }
    .storefront-mobile-menu { padding: 16px 18px; }
    .storefront-footer { margin-top: 48px; padding-top: 40px; }
    .storefront-footer-grid { gap: 32px 22px; grid-template-columns: 1fr 1fr; padding-bottom: 32px; }
    .storefront-footer-about, .storefront-footer-contact { grid-column: 1 / -1; }
    .storefront-footer-about > p:not(.storefront-footer-tagline) { max-width: 340px; }
    .storefront-footer h2 { font-size: 12px; margin-bottom: 14px; }
    .storefront-footer { font-size: 11px; }
    .storefront-footer-bottom { display: block; font-size: 9px; padding: 20px 0; }
    .storefront-footer-bottom nav { gap: 18px; flex-wrap: wrap; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .storefront-lessons summary i { transition: none; }
    .storefront-skip-link { scroll-behavior: auto; }
}
