/* ================================================
   Header — Sticky bar with logo + nav, yellow search strip
   ================================================ */

.gc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--gc-surface);
  border-bottom: 1px solid var(--gc-border);
}

.gc-header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.gc-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.gc-brand .custom-logo {
  max-height: 36px;
  max-width: 150px;
  height: auto;
  width: auto;
}

.gc-brand-text {
  font-size: 26px;
  font-weight: var(--font-extrabold);
  letter-spacing: -0.3px;
  color: var(--gc-text);
  line-height: 1.2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.gc-brand-scissor {
  width: 22px;
  height: 22px;
  stroke: var(--gc-text, #1a1a1a);
  flex-shrink: 0;
  margin-right: 4px;
  transition: transform 0.3s ease;
}

.gc-brand-text:hover .gc-brand-scissor {
  animation: snip 0.5s ease;
}

@keyframes snip {
  0%   { transform: rotate(0deg); }
  30%  { transform: rotate(-15deg); }
  60%  { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

.gc-brand-cut {
  border-left: 2px dashed var(--gc-text, #1a1a1a);
  border-top: 2px dashed var(--gc-text, #1a1a1a);
  border-bottom: 2px dashed var(--gc-text, #1a1a1a);
  padding: 2px 0 2px 5px;
  border-radius: 3px 0 0 3px;
}

/* --- Navigation inline with logo (desktop) --- */
.gc-nav-bar {
  display: none;
}

.gc-nav-bar.is-open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--gc-surface);
  border-top: 1px solid var(--gc-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.gc-nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gc-nav-menu li {
  margin: 0;
  display: flex;
  width: 100%;
  border-bottom: 1px solid var(--gc-border);
}

.gc-nav-menu li:last-child {
  border-bottom: none;
}

.gc-nav-menu a {
  color: var(--gc-text);
  font-weight: var(--font-medium);
  font-size: 14px;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: background 0.2s ease;
  white-space: nowrap;
  width: 100%;
  text-decoration: none;
  border-bottom: none;
}

.gc-nav-menu a:hover {
  background: rgba(26, 26, 26, 0.06);
}

.gc-nav-menu .current-menu-item > a,
.gc-nav-menu .current_page_item > a {
  font-weight: var(--font-bold);
}

/* --- Mobile menu toggle --- */
.gc-mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  padding: var(--space-4);
  cursor: pointer;
  z-index: 100;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.gc-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 22px;
  position: relative;
}

.gc-hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--gc-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
  left: 0;
}

.gc-hamburger span:nth-child(1) { top: 0; }
.gc-hamburger span:nth-child(2) { top: 9px; }
.gc-hamburger span:nth-child(3) { top: 18px; }

.gc-mobile-menu-toggle[aria-expanded="true"] .gc-hamburger span:nth-child(1) {
  top: 9px; transform: rotate(45deg);
}
.gc-mobile-menu-toggle[aria-expanded="true"] .gc-hamburger span:nth-child(2) {
  opacity: 0;
}
.gc-mobile-menu-toggle[aria-expanded="true"] .gc-hamburger span:nth-child(3) {
  top: 9px; transform: rotate(-45deg);
}

/* ================================================
   Yellow Search Strip (below header)
   ================================================ */

.gc-search-strip {
  background: var(--gc-primary);
  padding: 14px 0 12px;
}

.gc-search-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

/* Shop pills (round logo circles) */
.gc-shop-pills {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.gc-shop-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.gc-shop-pill-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gc-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.gc-shop-pill:hover .gc-shop-pill-icon {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.gc-shop-pill-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 0;
}

.gc-search-bar {
  flex: 1;
  max-width: 500px;
  display: flex;
  align-items: center;
  position: relative;
}

.gc-search-bar-input {
  width: 100%;
  height: 48px;
  border: none;
  background: var(--gc-surface);
  border-radius: 8px;
  padding: 0 52px 0 18px;
  font-size: 15px;
  font-family: inherit;
  color: var(--gc-text);
  outline: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.gc-search-bar-input::placeholder {
  color: var(--gc-muted);
}

.gc-search-bar-input:focus {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

.gc-search-bar-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: none;
  background: var(--gc-text);
  color: var(--gc-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.gc-search-bar-btn:hover {
  background: #333;
}

.gc-search-bar-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.gc-search-bar-btn svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* --- Mobile: hide shop pills, full-width search --- */
@media (max-width: 640px) {
  .gc-shop-pills {
    display: none;
  }

  .gc-search-strip-inner {
    gap: 0;
  }

  .gc-search-bar {
    max-width: 100%;
  }
}

/* --- ≥481px --- */
@media (min-width: 481px) {
  .gc-header-top-inner {
    padding: 14px 0;
  }

  .gc-brand .custom-logo {
    max-height: 44px;
    max-width: 180px;
  }
}

/* --- ≥769px --- */
@media (min-width: 769px) {
  .gc-brand .custom-logo {
    max-height: 44px;
    max-width: 180px;
  }
}

/* --- ≥1025px — desktop: nav inline with logo --- */
@media (min-width: 1025px) {
  .gc-header-top-inner {
    padding: 14px 0;
    gap: 16px;
    flex-wrap: nowrap;
  }

  .gc-brand .custom-logo {
    max-height: 52px;
    max-width: 220px;
  }

  .gc-brand-text {
    font-size: 26px;
  }

  /* Hide mobile toggle */
  .gc-mobile-menu-toggle {
    display: none;
  }

  /* Show nav inline */
  .gc-nav-bar {
    display: flex;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
  }

  .gc-nav-menu {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .gc-nav-menu li {
    width: auto;
    border-bottom: none;
  }

  .gc-nav-menu a {
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: var(--font-medium);
    width: auto;
    transition: background 0.2s;
  }

  .gc-nav-menu a:hover {
    background: rgba(26, 26, 26, 0.08);
  }

  .gc-nav-menu .current-menu-item > a,
  .gc-nav-menu .current_page_item > a {
    background: none;
    font-weight: var(--font-bold);
    border: none;
  }

  .gc-search-strip-inner {
    max-width: 800px;
  }
}
