/* Header & navbar styles - SosyalEvin */
:root {
  --se-main: #e30b51;
  --se-main-soft: #e30b5115;
  --se-white: #ffffff;
  --se-bg: #f1f2f6;
  --se-text: #2d3436;
  --se-soft: #636e72;
  --se-border: #e0e0e8;
}

@font-face {
  font-family: 'eg';
  src: url('/fonts/eg.eot');
  src: url('/fonts/eg.eot?#iefix') format('embedded-opentype'),
       url('/fonts/eg.woff') format('woff'),
       url('/fonts/eg.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
.se-navbar i[class^="eg-"] {
  font-family: 'eg' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.1em;
  color: var(--se-main);
  display: inline-block;
}
.se-navbar i[class^="eg-"]:before { display: inline-block; }
.se-navbar .eg-apps-2-fill:before { content: "\e957"; }
.se-navbar .eg-stack-line:before { content: "\f28d"; }
.se-navbar .eg-vip-crown-2-line:before { content: "\f3c8"; }
.se-navbar .eg-tools-fill:before { content: "\f33e"; }
.se-navbar .eg-megaphone-line:before { content: "\ef81"; }
.se-navbar .eg-pages-line:before { content: "\f042"; }
.se-navbar .eg-pantone-fill:before { content: "\f049"; }
.se-navbar .eg-chat-1-line:before { content: "\eaa8"; }
.se-navbar .eg-chat-smile-3-line:before { content: "\eacc"; }

.se-drawer-nav i[class^="eg-"] {
  font-family: 'eg' !important;
  font-style: normal;
  font-weight: normal;
  font-size: 1.25em;
  color: var(--se-main);
  -webkit-font-smoothing: antialiased;
  display: inline-block;
}
.se-drawer-nav i[class^="eg-"]:before { display: inline-block; }
.se-drawer-nav .eg-apps-2-fill:before { content: "\e957"; }
.se-drawer-nav .eg-stack-line:before { content: "\f28d"; }
.se-drawer-nav .eg-vip-crown-2-line:before { content: "\f3c8"; }
.se-drawer-nav .eg-tools-fill:before { content: "\f33e"; }
.se-drawer-nav .eg-megaphone-line:before { content: "\ef81"; }
.se-drawer-nav .eg-pages-line:before { content: "\f042"; }
.se-drawer-nav .eg-pantone-fill:before { content: "\f049"; }
.se-drawer-nav .eg-chat-1-line:before { content: "\eaa8"; }
.se-drawer-nav .eg-chat-smile-3-line:before { content: "\eacc"; }
.se-drawer-nav a i[class^="eg-"] { flex-shrink: 0; width: 1.25em; text-align: center; }

.se-notice { background: var(--se-main); position: relative; overflow: hidden; }
.se-notice .se-notice-inner { max-width: 1350px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 10px; height: 46px; }
.se-notice .se-notice-text { color: #fff; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-notice .se-notice-btn { background: rgba(255,255,255,0.18); color: #fff; font-weight: 500; border-radius: 4px; padding: 4px 16px; border: 1px solid #ffffff30; font-size: 15px; white-space: nowrap; margin-left: auto; display: flex; align-items: center; gap: 5px; transition: background 0.2s; text-decoration: none; }
.se-notice .se-notice-btn:hover { background: rgba(255,255,255,0.28); color: #fff; }

.se-headbar-inner { max-width: 1350px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; height: 38px; gap: 0; }
.se-headbar .hb-item { font-weight: 500; color: var(--se-soft); height: 38px; display: flex; align-items: center; border-right: 1px solid #8380b11f; padding: 0 20px; transition: opacity 0.2s; text-decoration: none; white-space: nowrap; }
.se-headbar .hb-item:hover { opacity: 0.75; }
.se-headbar .hb-item.socials { padding: 0 16px 0 0; gap: 10px; border-right: 1px solid #8380b11f; }
.se-headbar .hb-item.socials a { color: var(--se-soft); display: flex; align-items: center; font-size: 17px; text-decoration: none; transition: color 0.2s; }
.se-headbar .hb-item.socials a:hover { color: var(--se-main); }
.se-headbar .hb-item.mail { margin-right: auto; border-right: 0; padding-left: 16px; }
.se-headbar .hb-item.colorful { font-weight: 700; background: linear-gradient(to right, #934fd9, #d84455, #e58139); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; border-right: 0; padding-right: 0; }
@media (max-width: 900px) { .se-headbar .hb-item.mail { display: none; } .se-headbar .hb-item.socials { display: none; } }
@media (max-width: 600px) { .se-headbar { display: none; } .se-notice .se-notice-text { font-size: 15px; } }

.se-header { background: #fff; height: 90px; display: flex; align-items: center; box-shadow: 0 1px 0 var(--se-border); }
.se-header-inner { max-width: 1350px; margin: 0 auto; padding: 0 20px; width: 100%; display: flex; align-items: center; gap: 28px; }
.se-logo img { height: 48px; width: auto; display: block; }
.se-search { flex: 1; max-width: 480px; position: relative; margin: 0 auto; }
.se-search input { width: 100%; height: 50px; border-radius: 30px; padding: 20px 25px; color: var(--se-text); background: var(--se-bg); outline: none; transition: border-color 0.2s, background 0.2s; box-sizing: border-box; }
.se-search input::placeholder { color: #7e81a08e; }
.se-search .se-search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #7e81a08e; font-size: 18px; pointer-events: none; }
.se-search-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border: 1.5px solid var(--se-border); border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); z-index: 300; overflow: hidden; }
.se-search-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; cursor: pointer; text-decoration: none; transition: background 0.15s; border-bottom: 1px solid #f1f1f5; }
.se-search-item:last-child { border-bottom: none; }
.se-search-item:hover { background: var(--se-bg); }
.se-search-item-info { flex: 1; min-width: 0; }
.se-search-item-name { font-size: 13px; font-weight: 500; color: var(--se-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-search-item-cat { font-size: 11px; color: var(--se-soft); margin-top: 1px; }
.se-search-item-price { font-size: 13px; font-weight: 700; color: var(--se-main); white-space: nowrap; flex-shrink: 0; }
.se-search-empty, .se-search-loading { padding: 14px 16px; font-size: 13px; color: var(--se-soft); text-align: center; }

.se-actions { display: flex; align-items: center; gap: 12px; }
.se-action-btn { background: none; border: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #5f6376; font-size: 24px; transition: background 0.2s, color 0.2s; text-decoration: none; position: relative; }
.se-action-btn:hover { background: var(--se-bg); color: var(--se-main); }
.se-action-btn .se-badge { position: absolute; top: 6px; right: 6px; background: var(--se-main); color: #fff; font-size: 10px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; }
.se-login-btn { background: var(--se-main); color: #fff; border: none; border-radius: 30px; padding: 0 22px; height: 48px; font-size: 16px; font-weight: 600; cursor: pointer; transition: opacity 0.2s; white-space: nowrap; text-decoration: none; display: flex; align-items: center; gap: 7px; }
.se-login-btn:hover { opacity: 0.88; color: #fff; }
.se-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; background: none; border: none; cursor: pointer; padding: 4px; border-radius: 8px; }
.se-burger .line { width: 100%; height: 2px; background: var(--se-text); border-radius: 2px; transition: 0.2s; }
.se-burger:hover .line { background: var(--se-main); }
@media (max-width: 960px) { .se-search { display: none; } }
@media (max-width: 768px) {
  .se-header-inner { padding-left: 24px; padding-right: 24px; justify-content: space-between; }
  .se-header-inner .se-logo { margin: 0; }
  .se-header-inner .se-actions { margin-left: 0; }
  .se-burger { display: flex; margin-right: 0; }
  .se-login-btn { display: none; }
  .se-action-btn.se-cart { display: none; }
}

.se-navbar { background: #fff; border-top: 1px solid var(--se-bg); }
.se-navbar-inner { max-width: 1350px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; }
.se-navbar ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 0; }
.se-navbar ul li { position: relative; height: 52px; display: flex; align-items: center; }
.se-navbar ul li:first-child a { padding-left: 0; }
.se-navbar ul li:last-child a { border-right: none; }
.se-navbar ul li a { color: var(--se-text); padding: 10px 24px; display: flex; align-items: center; gap: 6px; font-size: 17px; font-weight: 500; text-decoration: none; border-right: 1px solid var(--se-bg); transition: color 0.2s; white-space: nowrap; position: relative; }
.se-navbar ul li a::before { content: ""; position: absolute; bottom: 0; left: 50%; height: 2px; width: 0; border-radius: 10px; background: var(--se-main); opacity: 0; transition: 0.2s; }
.se-navbar ul li a:hover::before { width: 26px; left: calc(50% - 13px); opacity: 1; bottom: 3px; }
.se-navbar ul li a:hover { color: var(--se-main); }
@media (max-width: 768px) { .se-navbar { display: none; } }

.se-mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 200; }
.se-mobile-overlay.open { display: block; }
.se-mobile-drawer { position: fixed; top: 0; left: -320px; width: 300px; height: 100%; background: #fff; z-index: 201; transition: left 0.3s ease; display: flex; flex-direction: column; overflow-y: auto; }
.se-mobile-drawer.open { left: 0; }
.se-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--se-border); }
.se-drawer-head img { height: 36px; width: auto; }
.se-drawer-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--se-soft); width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.se-drawer-close:hover { background: var(--se-bg); color: var(--se-text); }
.se-drawer-nav { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; }
.se-drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; color: var(--se-text); font-size: 15px; font-weight: 500; text-decoration: none; transition: background 0.15s, color 0.15s; }
.se-drawer-nav a:hover { background: var(--se-bg); color: var(--se-main); }
.se-drawer-footer { padding: 16px 20px; border-top: 1px solid var(--se-border); }
.se-drawer-footer a { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--se-main); color: #fff; font-size: 15px; font-weight: 600; border-radius: 10px; padding: 13px 20px; text-decoration: none; transition: opacity 0.2s; }
.se-drawer-footer a:hover { opacity: 0.88; }
