/*
Theme Name: Cekonay Cuisine
Description: Thème WordPress autonome à rendu progressif pour cuisine.cekonay.com.
Version: 2.3.0
Text Domain: cekonay-cuisine
*/

:root { color-scheme: light; }
html, body { margin: 0; min-height: 100%; }
.cekonay-shell, .cekonay-shell * { box-sizing: border-box; }
.cekonay-shell {
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: #1d1d1f;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.cekonay-promo {
  min-height: 44px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 8px;
  color: #6e6e73;
  background: #f5f5f7;
  border-bottom: 1px solid #e6e6ea;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
.cekonay-promo strong { color: #1d1d1f; }
.cekonay-promo a { color: #0066cc; text-decoration: none; }

.cekonay-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(0,0,0,.08);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.cekonay-header-inner {
  max-width: 1024px;
  height: 48px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cekonay-logo {
  flex: none;
  color: #1d1d1f;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.03em;
  text-decoration: none;
}
.cekonay-logo span { color: #f26a1b; }

@keyframes cekonay-mega-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}

.cekonay-mobile-menu { display: none; }
.cekonay-mobile-menu > summary {
  list-style: none;
  width: 38px;
  height: 44px;
  display: grid;
  align-content: center;
  gap: 5px;
  cursor: pointer;
}
.cekonay-mobile-menu > summary::-webkit-details-marker,
.cekonay-mobile-section > summary::-webkit-details-marker,
.cekonay-mega > summary::-webkit-details-marker { display: none; }
.cekonay-mobile-menu > summary span { width: 20px; height: 1.5px; background: #1d1d1f; border-radius: 2px; }
.cekonay-mobile-panel { display: none; }

.cekonay-nav { flex: 1; display: flex; justify-content: center; gap: 2px; }
.cekonay-nav > a,
.cekonay-mega > summary {
  display: block;
  list-style: none;
  padding: 6px 11px;
  border-radius: 8px;
  color: #1d1d1f;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.cekonay-nav > a:hover,
.cekonay-mega > summary:hover,
.cekonay-mega[open] > summary { background: rgba(0,0,0,.04); }
.cekonay-mega { position: static; }
.cekonay-mega-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  color: #1d1d1f;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 24px 50px rgba(0,0,0,.08);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  animation: cekonay-mega-in .28s cubic-bezier(.32,.72,0,1);
}
.cekonay-mega[open] > .cekonay-mega-panel { display: block; }
.cekonay-mega-inner {
  max-width: 1024px;
  min-height: 230px;
  margin: 0 auto;
  padding: 40px 22px 48px;
  display: flex;
  align-items: flex-start;
  gap: 64px;
  flex-wrap: wrap;
}
.cekonay-mega-inner section { min-width: 180px; }
.cekonay-mega-inner section > strong { display: block; margin-bottom: 14px; color: #6e6e73; font-size: 12px; }
.cekonay-mega-primary,
.cekonay-mega-secondary { display: flex; flex-direction: column; align-items: flex-start; }
.cekonay-mega-primary { gap: 11px; }
.cekonay-mega-secondary { gap: 9px; }
.cekonay-mega-primary a {
  color: #1d1d1f;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none;
}
.cekonay-mega-secondary a,
.cekonay-mega-secondary span { color: #424245; font-size: 13px; text-decoration: none; }
.cekonay-mega-primary a:hover,
.cekonay-mega-secondary a:hover { color: #0066cc; }
.cekonay-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  width: 100%;
  border: 0;
  background: rgba(0,0,0,.18);
}
.cekonay-menu-backdrop.is-active { display: block; }
.cekonay-nav a:focus-visible,
.cekonay-mega summary:focus-visible,
.cekonay-mobile-menu summary:focus-visible,
.cekonay-mobile-panel button:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
.cekonay-quote {
  padding: 8px 16px;
  border-radius: 980px;
  color: #fff;
  background: #0071e3;
  font-size: 13px;
  text-decoration: none;
}

.cekonay-native-page { min-height: 65vh; }
.cekonay-native-page button { cursor: pointer; }
.cekonay-native-page a[href*="/guides/"] { display: block; color: inherit; text-decoration: none; }
.cekonay-mobile-only { display: none !important; }
.cekonay-interactive-host { min-height: 0; }
.cekonay-interactive-host:not(.is-active) { height: 0; overflow: hidden; }
.cekonay-progressive-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 48px);
  height: calc(100dvh - 48px);
  min-height: 640px;
  border: 0;
  background: #fff;
}
.cekonay-native-fallback { min-height: 60vh; padding: 80px 22px; text-align: center; }

.cekonay-footer {
  padding: 44px 22px 24px;
  color: #6e6e73;
  background: #f5f5f7;
  border-top: 1px solid #e6e6ea;
  font-size: 12px;
}
.cekonay-footer-grid {
  max-width: 1024px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
}
.cekonay-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.cekonay-footer strong { margin-bottom: 7px; color: #1d1d1f; }
.cekonay-footer a { color: #6e6e73; text-decoration: none; }
.cekonay-footer a:hover { color: #0066cc; }
.cekonay-footer-bottom { max-width: 1024px; margin: 0 auto; padding-top: 18px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid #d2d2d7; line-height: 1.6; }

@media (max-width: 1000px) {
  .cekonay-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 833px) {
  .cekonay-promo { min-height: 38px; padding-block: 5px; }
  .cekonay-header { background: rgba(255,255,255,.98); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .cekonay-header-inner { padding-inline: 16px; }
  .cekonay-mobile-menu { display: block; position: static; }
  .cekonay-nav { display: none; }
  .cekonay-logo { flex: 1; }
  .cekonay-quote { padding: 8px 15px; }
  .cekonay-mobile-menu[open] > .cekonay-mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    color: #1d1d1f;
    background: #fff;
    animation: cekonay-mega-in .2s ease;
  }
  .cekonay-mobile-panel-head {
    height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: none;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .cekonay-mobile-panel-head .cekonay-logo { flex: none; }
  .cekonay-mobile-panel-head button {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    color: #1d1d1f;
    background: none;
    font: 300 30px/1 -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
  }
  .cekonay-mobile-panel-body { flex: 1; overflow-y: auto; padding: 8px 0 40px; }
  .cekonay-mobile-section > summary,
  .cekonay-mobile-direct {
    width: 100%;
    min-height: 65px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f2;
    color: #1d1d1f;
    background: none;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -.02em;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }
  .cekonay-mobile-section > summary span { color: #86868b; font-size: 18px; font-weight: 400; transition: transform .2s; }
  .cekonay-mobile-section[open] > summary span { transform: rotate(45deg); }
  .cekonay-mobile-section > div { padding: 6px 22px 18px; display: flex; flex-direction: column; gap: 4px; background: #f5f5f7; }
  .cekonay-mobile-section > div a { padding: 9px 0; color: #1d1d1f; font-size: 16px; text-decoration: none; }
  .cekonay-mobile-panel-cta { padding: 26px 22px 0; }
  .cekonay-mobile-panel-cta a { display: block; padding: 14px; border-radius: 980px; color: #fff; background: #0071e3; font-size: 16px; font-weight: 500; text-align: center; text-decoration: none; }
  .cekonay-menu-backdrop { display: none !important; }
  body.cekonay-menu-lock { overflow: hidden; }
  .cekonay-mobile-only { display: block !important; }
  .cekonay-progressive-frame { min-height: 720px; }
  .cekonay-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
