/** Shopify CDN: Minification failed

Line 39:0 All "@import" rules must come first

**/
/* ============================================
   UV-DTF HEADER STYLES
   Dyenote Theme - Industrial Printer Aesthetic
   ============================================ */

/* === CSS VARIABLES === */
.uv-dtf-header-wrapper {
  --header-bg-dark: #0f0518;
  --header-accent-neon: #7c3aed;
  --header-accent-lilac: #d8b4fe;
  --header-accent-green: #22c55e;
  --header-text-primary: #ffffff;
  --header-text-secondary:rgb(255, 255, 255);
  --header-text-muted: #6b7280;
  --header-border-subtle: rgba(124, 58, 237, 0.15);
  --header-border-medium: rgba(124, 58, 237, 0.3);
  --header-surface: rgba(20, 5, 30, 0.5);
  --header-font-stack: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Printer Machine Colors */
  --metal-gradient: linear-gradient(180deg, #5c5c5c 0%, #2e2e2e 50%, #1a1a1a 100%);
  --metal-border: #666;
  
  /* Announcement Bar */
  --announcement-bg: #7c3aed;
  --announcement-text: #ffffff;
  --announcement-speed: 25s;
  
  /* Position only, no z-index override */
  position: relative;
}

/* === FONT IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ============================================
   ANNOUNCEMENT BAR - Marquee Style
   ============================================ */
.uv-announcement-bar {
  background: linear-gradient(90deg, var(--announcement-bg) 0%, #5b21b6 50%, var(--announcement-bg) 100%);
  background-size: 200% 100%;
  animation: announcementGradient 8s ease infinite;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes announcementGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.uv-announcement-bar__inner {
  display: flex;
  align-items: center;
  height: 36px;
  position: relative;
}

.uv-announcement-bar__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--announcement-text);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 5;
  padding: 0;
}

.uv-announcement-bar__close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.uv-announcement-bar__close svg {
  width: 12px;
  height: 12px;
}

/* Marquee Animation */
.uv-marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
}

.uv-marquee__content {
  display: flex;
  animation: marqueeScroll var(--announcement-speed) linear infinite;
  white-space: nowrap;
}

.uv-marquee:hover .uv-marquee__content {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.uv-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 0 40px;
  color: var(--announcement-text);
  font-family: var(--header-font-stack);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.uv-marquee__separator {
  width: 6px;
  height: 6px;
  background: var(--announcement-text);
  opacity: 0.5;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.uv-marquee__icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

/* Hidden state */
.uv-announcement-bar.is-hidden {
  display: none;
}

/* ============================================
   MAIN HEADER SECTION
   ============================================ */
.uv-header-section {
  background-color: var(--header-bg-dark);
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--header-border-subtle);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  overflow: visible;
  font-family: var(--header-font-stack);
}

/* With announcement bar */
.uv-dtf-header-wrapper.has-announcement .uv-header-section {
  top: 0;
}

.header-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 130px;
  position: relative;
}

/* === CONTENT MASK FOR PRINTER ANIMATION === */
.header-content-mask {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  /* clip-path kaldırıldı - JavaScript ile sadece top-row'a uygulanacak */
  will-change: clip-path;
}

/* Sadece top-row'a clip-path uygula */
.header-content-mask .top-row {
  clip-path: inset(0 100% 0 0);
  will-change: clip-path;
}

/* ============================================
   TOP ROW - Status, Logo, Icons
   ============================================ */
.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 2rem;
}

/* Status Pill */
.status-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid var(--header-border-medium);
  border-radius: 80px;
  background: var(--header-surface);
  color: #bfa1ff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

@keyframes blinkStatus {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--header-accent-green); }
  50% { opacity: 0.3; box-shadow: 0 0 2px var(--header-accent-green); }
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--header-accent-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--header-accent-green);
  animation: blinkStatus 2s infinite ease-in-out;
}

/* Logo Placeholder */
.logo-placeholder {
  width: 140px;
  height: 40px;
  visibility: hidden;
}

/* ============================================
   HEADER ICONS - Search, User, Cart
   ============================================ */
.header-icons {
  display: flex;
  gap: 1.25rem;
  color: var(--header-text-primary);
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

/* Icon Button Base */
.icon-btn {
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 8px;
  color: var(--header-text-primary);
  border-radius: 8px;
  position: relative;
}

.icon-btn:hover {
  color: var(--header-accent-lilac);
  opacity: 1;
  background: rgba(124, 58, 237, 0.1);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

/* ============================================
   SEARCH - Expandable with Predictive
   ============================================ */
.header-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-form {
  display: flex;
  align-items: center;
  position: relative;
}

.header-search-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  color: var(--header-text-primary);
  font-family: var(--header-font-stack);
  font-size: 0.9rem;
  width: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  outline: none;
  padding: 0;
  margin-right: 0;
}

.header-search-wrapper:hover .header-search-input,
.header-search-input:focus,
.header-search-wrapper.is-active .header-search-input {
  width: 200px;
  opacity: 1;
  padding: 8px 12px;
  margin-right: 8px;
  border-bottom-color: var(--header-accent-lilac);
  background: rgba(124, 58, 237, 0.05);
  border-radius: 4px 4px 0 0;
}

/* Predictive Search Results - Positioned relative to header-container */
.header-predictive-search {
  position: absolute;
  top: 80px;
  right: 2rem;
  width: 380px;
  max-height: 70vh;
  background: var(--header-bg-dark);
  border: 1px solid var(--header-border-medium);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 100;
}

.header-predictive-search.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-predictive-search__results {
  padding: 16px;
  max-height: calc(70vh - 50px);
  overflow-y: auto;
}

.header-predictive-search__heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--header-accent-lilac);
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--header-border-subtle);
}

.header-predictive-search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  color: var(--header-text-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-predictive-search__item:hover {
  background: rgba(124, 58, 237, 0.15);
}

.header-predictive-search__item-image {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.header-predictive-search__item-info {
  flex: 1;
  min-width: 0;
}

.header-predictive-search__item-title {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-predictive-search__item-price {
  font-size: 13px;
  color: var(--header-accent-lilac);
  margin: 0;
}

.header-predictive-search__no-results {
  padding: 24px;
  text-align: center;
  color: var(--header-text-muted);
  font-size: 14px;
}

.header-predictive-search__view-all {
  display: block;
  padding: 14px;
  text-align: center;
  color: var(--header-accent-lilac);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--header-border-subtle);
  transition: all 0.2s ease;
}

.header-predictive-search__view-all:hover {
  background: rgba(124, 58, 237, 0.1);
  color: var(--header-text-primary);
}

/* Loading Spinner */
.header-search-loading {
  display: none;
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.header-search-loading.is-loading {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--header-border-medium);
  border-top-color: var(--header-accent-neon);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Predictive Search Section Styling */
.predictive-search-section {
  margin-bottom: 16px;
}

.predictive-search-section:last-child {
  margin-bottom: 0;
}

/* ============================================
   CART WITH BADGE
   ============================================ */
.cart-icon-wrapper {
  position: relative;
}

.cart-count-bubble {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--header-accent-neon);
  color: var(--header-text-primary);
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
  animation: cartPulse 2s ease-in-out infinite;
}

@keyframes cartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.cart-count-bubble:empty {
  display: none;
}

/* ============================================
   BOTTOM NAVIGATION - Slanted Expanding Bar
   ============================================ */
.bottom-nav {
  flex: 1;
  display: flex;
  width: 100%;
  align-items: flex-end;
  padding-bottom: 0;
  overflow: visible;
  position: relative;
  z-index: 50;
}

.nav-list {
  display: flex;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  height: 50px;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--header-border-subtle);
  overflow: visible;
}

.nav-item {
  flex: 1;
  position: relative;
  transform: skewX(-20deg);
  border-right: 1px solid var(--header-border-subtle);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: flex 0.4s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease;
  cursor: pointer;
  overflow: visible;
}

.nav-item:first-child {
  margin-left: -20px;
  padding-left: 20px;
  border-left: none;
}

.nav-item:last-child {
  margin-right: -20px;
  padding-right: 20px;
  border-right: none;
  overflow: visible;
}

.nav-link {
  transform: skewX(20deg);
  color: var(--header-text-secondary);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.3s ease, transform 0.3s ease;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 14px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Dropdown Arrow */
.nav-link .dropdown-arrow {
  width: 10px;
  height: 10px;
  opacity: 0.6;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-item:hover .nav-link .dropdown-arrow,
.nav-item.has-dropdown:hover .nav-link .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Nav Item Hover Effect */
.nav-item:hover {
  flex: 2.5;
  background: linear-gradient(120deg, #5b21b6 0%, #7c3aed 40%, #8b5cf6 60%, #7c3aed 100%);
  background-size: 200% 100%;
  animation: gradientMove 3s infinite linear;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(124, 58, 237, 0.4);
  z-index: 5;
  border-right-color: transparent;
}

@keyframes gradientMove {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.nav-item:hover .nav-link {
  color: var(--header-text-primary);
  font-weight: 700;
  transform: skewX(20deg) scale(1.05);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.nav-list:hover .nav-item:not(:hover) {
  opacity: 0.6;
}

/* ============================================
   DROPDOWN MENU - Multi-level Support
   ============================================ */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: skewX(20deg) translateX(-50%);
  min-width: 240px;
  background: var(--header-bg-dark);
  border: 1px solid var(--header-border-medium);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 100;
  padding: 8px 0;
  margin-top: 0;
  pointer-events: none;
}

.nav-item:hover > .nav-dropdown,
.nav-item.has-dropdown:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Son menü için sağa yasla */
.nav-item:last-child .nav-dropdown {
  left: auto;
  right: -20px;
  transform: skewX(20deg);
}

.nav-dropdown__item {
  list-style: none;
  position: relative;
}

.nav-dropdown__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: var(--header-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  /* Yazıyı düz göster - parent skew'i dengele */
  transform: skewX(0deg);
}

.nav-dropdown__link:hover {
  color: var(--header-text-primary);
  background: rgba(124, 58, 237, 0.15);
  padding-left: 24px;
}

.nav-dropdown__link .submenu-arrow {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.nav-dropdown__link:hover .submenu-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* Sub-dropdown (3rd level) */
.nav-subdropdown {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 220px;
  background: var(--header-bg-dark);
  border: 1px solid var(--header-border-medium);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 8px 0;
  margin-left: 4px;
}

.nav-dropdown__item:hover > .nav-subdropdown {
  opacity: 1;
  visibility: visible;
}

/* Mega Menu Support */
.nav-dropdown--mega {
  left: 0;
  right: 0;
  transform: skewX(20deg);
  width: calc(100vw - 4rem);
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px;
}

.nav-dropdown--mega .mega-column {
  padding: 0;
}

.nav-dropdown--mega .mega-column__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--header-accent-lilac);
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--header-border-subtle);
}

.nav-dropdown--mega .mega-column__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-dropdown--mega .mega-column__link {
  display: block;
  padding: 8px 0;
  color: var(--header-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.nav-dropdown--mega .mega-column__link:hover {
  color: var(--header-text-primary);
  padding-left: 8px;
}

/* ============================================
   PRINTER HEAD ASSEMBLY
   ============================================ */
.printer-head-assembly {
  position: absolute;
  left: 0;
  top: 40px;
  transform: translate(0, -50%);
  width: 160px;
  height: 80px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

.printer-logo-wrapper {
  position: relative;
  z-index: 202;
  width: 150px;
  height: auto;
  display: block;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}

.printer-logo-wrapper.interactive {
  cursor: pointer;
  pointer-events: auto;
}

.printer-logo-wrapper.interactive:hover {
  transform: scale(1.15) rotate(-2deg);
  filter: drop-shadow(0 0 20px var(--header-accent-neon));
}

.printer-logo-wrapper svg path {
  fill: var(--header-text-primary);
}

.printer-chassis {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--metal-gradient);
  border-radius: 6px;
  border: 1px solid var(--metal-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 20px rgba(0, 0, 0, 0.5);
  transition: opacity 0.5s ease;
}

.printer-chassis::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  height: 10px;
  background: repeating-linear-gradient(90deg, transparent, transparent 5px, #111 5px, #111 7px);
  opacity: 0.5;
}

.printer-connector {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 12px;
  background: #333;
  border-radius: 4px 4px 0 0;
  border: 1px solid #555;
  transition: opacity 0.5s ease;
}

.uv-light-bar {
  position: absolute;
  bottom: -2px;
  left: 10px;
  right: 10px;
  height: 6px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--header-accent-neon), 0 0 20px var(--header-accent-neon), 0 0 40px var(--header-accent-neon);
  animation: pulseUV 0.1s infinite alternate;
  transition: opacity 0.5s ease;
  z-index: 201;
}

@keyframes pulseUV {
  from { opacity: 0.8; box-shadow: 0 0 10px var(--header-accent-neon); }
  to { opacity: 1; box-shadow: 0 0 25px var(--header-accent-neon), 0 0 50px var(--header-accent-neon); }
}

/* ============================================
   RESPONSIVE - Tablet (will be enhanced for mobile later)
   ============================================ */
@media (max-width: 1024px) {
  .header-container {
    height: 110px;
  }
  
  .top-row {
    padding: 0 1.5rem;
    height: 70px;
  }
  
  .status-pill {
    font-size: 0.75rem;
    padding: 6px 14px;
  }
  
  .nav-list {
    height: 40px;
  }
  
  .nav-link {
    font-size: 0.75rem;
    padding: 10px 6px;
  }
  
  .nav-item:hover {
    flex: 2;
  }
  
  .header-search-wrapper:hover .header-search-input,
  .header-search-input:focus,
  .header-search-wrapper.is-active .header-search-input {
    width: 160px;
  }
  
  .header-predictive-search {
    width: 320px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* No JS Fallback */
.no-js .header-content-mask {
  clip-path: none;
}

.no-js .printer-head-assembly {
  display: none;
}

.no-js .printer-logo-wrapper {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translate(-50%, -50%);
}

/* ============================================
   SCROLLBAR STYLING FOR PREDICTIVE SEARCH
   ============================================ */
.header-predictive-search::-webkit-scrollbar {
  width: 6px;
}

.header-predictive-search::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.header-predictive-search::-webkit-scrollbar-thumb {
  background: var(--header-accent-neon);
  border-radius: 3px;
}

.header-predictive-search::-webkit-scrollbar-thumb:hover {
  background: var(--header-accent-lilac);
}

/* ============================================
   Z-INDEX - MINIMAL APPROACH
   Let theme handle global stacking, only manage header internals
   ============================================ */

/* DO NOT override #header-group or global elements */
/* Theme's popup-group uses z-index: 99 or --layer-sidebar (19) */

/* Only manage internal header stacking */
.nav-dropdown {
  z-index: 100;
}

.header-predictive-search.is-active {
  z-index: 100;
}

/* Remove any isolation that might create new stacking contexts */
.uv-header-section,
.header-container,
.top-row,
.header-icons,
.header-search-wrapper,
.uv-dtf-header-wrapper {
  isolation: auto !important;
  transform: none !important;
}

