/*
Theme Name: Choco Delight
Theme URI: https://example.com/
Author: Choco Delight
Description: Static WordPress theme for The Choco Delight restaurant brand.
Version: 1.0.0
Text Domain: chocodelight
*/
:root {
      --primary-chocolate: #6B1605;
      --dark-cocoa: #351006;
      --vibrant-orange: #F0440A;
      --warm-cream: #FFF8F1;
      --soft-cream: #F4E4D6;
      --caramel: #E8A16D;
      --white: #FFFFFF;

      --font-heading: Fraunces, Georgia, serif;
      --font-body: Inter, system-ui, sans-serif;
      --text-xs: .75rem;
      --text-sm: .875rem;
      --text-base: 1rem;
      --text-md: 1.125rem;
      --text-lg: 1.25rem;
      --text-xl: 1.5rem;
      --text-2xl: 2rem;
      --text-3xl: 3.25rem;
      --weight-regular: 400;
      --weight-medium: 500;
      --weight-semibold: 600;
      --weight-bold: 700;
      --leading-tight: 1.12;
      --leading-heading: 1.18;
      --leading-base: 1.65;
      --leading-relaxed: 1.75;
      --tracking-heading: -.025em;
      --tracking-ui: .01em;

      --green: var(--primary-chocolate);
      --green2: var(--dark-cocoa);
      --cream: var(--soft-cream);
      --bg: var(--warm-cream);
      --card: var(--white);
      --ink: var(--dark-cocoa);
      --mute: var(--dark-cocoa);
      --gold: var(--caramel);
      --line: #E8A16D66;
      --on-green: var(--warm-cream);
      box-sizing: border-box;
      padding-top: env(safe-area-inset-top, 0px);
      padding-bottom: env(safe-area-inset-bottom, 0px);
      color-scheme: light
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px))
    }

    * {
      box-sizing: border-box
    }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--ink);
      font-family: var(--font-body);
      font-size: var(--text-base);
      font-weight: var(--weight-regular);
      line-height: var(--leading-base);
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility
    }

    h1,
    h2,
    h3 {
      font-family: var(--font-heading);
      font-weight: var(--weight-bold);
      line-height: var(--leading-heading);
      margin: 0 0 .5em;
      letter-spacing: var(--tracking-heading);
      text-wrap: balance
    }

    h1 {
      font-size: clamp(2.5rem, 5vw, var(--text-3xl))
    }

    h2 {
      font-size: clamp(1.75rem, 3vw, var(--text-2xl))
    }

    h3 {
      font-size: var(--text-lg)
    }

    p {
      margin: 0 0 1em
    }

    a {
      color: inherit
    }

    .wrap {
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 24px
    }

    section {
      padding: 88px 0
    }

    .alt {
      background: var(--cream)
    }

    .lead {
      color: var(--mute);
      max-width: 62ch;
      font-size: 1.08rem
    }

    header {
      position: sticky;
      top: env(safe-area-inset-top, 0px);
      z-index: 20;
      background: var(--green);
      color: var(--on-green)
    }

    body::before {
      content: "";
      position: fixed;
      inset: 0 0 auto;
      height: env(safe-area-inset-top, 0px);
      background: var(--green);
      z-index: 10
    }

    nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 68px;
      gap: 16px
    }

    .logo {
      font-family: Fraunces, Georgia, serif;
      font-weight: 700;
      font-size: 1.15rem;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 10px
    }

    .logo picture,
    .logo img {
      display: block
    }

    .logo picture {
      height: 50px
    }

    .logo img {
      width: auto;
      height: 50px;
      object-fit: contain
    }

    nav ul {
      display: flex;
      gap: 22px;
      list-style: none;
      margin: 0;
      padding: 0;
      font-size: .92rem
    }

    nav ul a {
      text-decoration: none;
      opacity: 1
    }

    nav ul a:hover {
      opacity: 1;
      color: var(--gold)
    }

    .btn {
      display: inline-block;
      padding: 14px 26px;
      border-radius: 999px;
      font-weight: 600;
      text-decoration: none;
      border: 1.5px solid var(--primary-chocolate);
      cursor: pointer;
      font: inherit;
      font-weight: 600;
      transition: transform .2s, background .2s
    }

    .btn:hover {
      transform: translateY(-2px)
    }

    .gold {
      background: var(--vibrant-orange);
      color: var(--dark-cocoa);
      border-color: var(--vibrant-orange)
    }

    .gold:hover {
      background: var(--caramel);
      color: var(--dark-cocoa);
      border-color: var(--caramel)
    }

    .ghost {
      background: transparent;
      color: inherit;
      border-color: var(--primary-chocolate)
    }

    .ghost:hover {
      background: #E8A16D29
    }

    #menuBtn {
      display: none;
      background: none;
      border: 1px solid var(--gold);
      color: var(--on-green);
      border-radius: 8px;
      padding: 6px 12px;
      font: inherit
    }

    .hero {
      background: var(--green);
      color: var(--on-green);
      padding: 84px 0 96px;
      overflow: hidden
    }

    .hero .wrap {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 48px;
      align-items: center
    }

    .hero p.sub {
      font-size: 1.12rem;
      opacity: 1;
      max-width: 54ch
    }

    .tag {
      color: var(--gold);
      font-weight: 500;
      margin-bottom: 18px
    }

    .ctas {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin: 28px 0 22px
    }

    .hero small {
      opacity: 1
    }

    .hero .ghost {
      border-color: var(--warm-cream)
    }

    .hero svg {
      width: 100%;
      height: auto;
      border-radius: 18px
    }

    .rise {
      animation: rise .9s ease both
    }

    @keyframes rise {
      from {
        opacity: 0;
        transform: translateY(16px)
      }

      to {
        opacity: 1;
        transform: none
      }
    }

    .grid {
      display: grid;
      gap: 22px
    }

    .g2 {
      grid-template-columns: repeat(2, 1fr)
    }

    .g3 {
      grid-template-columns: repeat(3, 1fr)
    }

    .g4 {
      grid-template-columns: repeat(4, 1fr)
    }

    .card {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 26px
    }

    .card h3 {
      color: var(--green2)
    }

    .card ul,
    .col ul {
      margin: 0;
      padding-left: 1.1em;
      color: var(--mute)
    }

    .card li,
    .col li {
      margin: .3em 0
    }

    .row {
      display: flex;
      gap: 40px;
      align-items: flex-start;
      flex-wrap: wrap
    }

    .row>* {
      flex: 1 1 320px
    }

    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 20px
    }

    .chips span {
      border: 1px solid var(--gold);
      border-radius: 999px;
      padding: 6px 16px;
      font-size: .92rem
    }

    .tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 26px 0 18px
    }

    #items .cat {
      margin-bottom: 36px
    }

    #items .cat h3 {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 12px;
      border-bottom: 2px solid var(--gold);
      padding-bottom: 8px;
      margin-bottom: 6px
    }

    #items .cat h3 small {
      font: 400 .85rem Inter, system-ui, sans-serif;
      color: var(--mute)
    }

    #items .list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
      column-gap: 40px
    }

    #items .item {
      padding: 11px 2px;
      justify-content: flex-start;
      gap: 0
    }

    #items .item .price {
      margin-left: auto
    }

    .dot {
      display: inline-block;
      width: 12px;
      height: 12px;
      border: 1.5px solid;
      border-radius: 2px;
      margin-right: 10px;
      position: relative;
      top: 1px;
      flex: none
    }

    .dot::after {
      content: "";
      position: absolute;
      inset: 2px;
      border-radius: 50%;
      background: currentColor
    }

    .v {
      color: var(--caramel)
    }

    .nv {
      color: var(--primary-chocolate)
    }

    .legend {
      font-size: .88rem;
      color: var(--mute);
      margin: 0 0 22px
    }

    .legend .dot {
      margin: 0 6px 0 14px
    }

    .legend .dot:first-child {
      margin-left: 0
    }

    .tabs button {
      padding: 10px 20px
    }

    .tabs button {
      white-space: nowrap;
      border: 1px solid var(--line);
      background: var(--card);
      color: var(--ink);
      border-radius: 999px;
      padding: 8px 18px;
      font: inherit;
      cursor: pointer
    }

    .tabs button[aria-selected="true"] {
      background: var(--green);
      color: var(--on-green);
      border-color: var(--green)
    }

    .item {
      break-inside: avoid;
      display: flex;
      justify-content: space-between;
      gap: 12px;
      align-items: baseline;
      padding: 16px 4px;
      border-bottom: 1px dashed var(--line)
    }

    .item b {
      font-family: Fraunces, Georgia, serif;
      font-size: 1.08rem
    }

    .item span {
      color: var(--mute);
      font-size: .92rem;
      display: block
    }

    .price {
      color: var(--primary-chocolate);
      font-weight: 600;
      white-space: nowrap
    }

    .note {
      font-size: .88rem;
      color: var(--mute);
      margin-top: 14px
    }

    .steps {
      counter-reset: s;
      list-style: none;
      margin: 30px 0 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px 40px
    }

    .steps li {
      counter-increment: s;
      display: flex;
      gap: 16px;
      padding: 16px 0;
      border-top: 1px solid var(--line)
    }

    .steps li::before {
      content: counter(s);
      flex: none;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--dark-cocoa);
      color: var(--warm-cream);
      display: grid;
      place-items: center;
      font-weight: 600
    }

    .band {
      background: var(--green);
      color: var(--on-green);
      border-radius: 18px;
      padding: 44px;
      margin-top: 36px
    }

    .band .quote {
      font-family: Fraunces, Georgia, serif;
      font-size: 1.3rem;
      line-height: 1.4
    }

    .ba {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 22px;
      margin-top: 34px
    }

    .ba figure {
      margin: 0
    }

    .ba svg {
      width: 100%;
      height: auto;
      border-radius: 14px;
      border: 1px solid var(--line)
    }

    .ba figcaption {
      margin-top: 10px;
      color: var(--mute);
      font-size: .95rem
    }

    form {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 16px;
      padding: 32px;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 18px
    }

    label {
      display: grid;
      gap: 6px;
      font-weight: 500;
      font-size: .92rem
    }

    input,
    select,
    textarea {
      font: inherit;
      padding: 12px 14px;
      border: 1.5px solid var(--primary-chocolate);
      border-radius: 10px;
      background: var(--bg);
      color: var(--ink)
    }

    input::placeholder,
    textarea::placeholder {
      color: var(--mute);
      opacity: 1
    }

    :focus-visible {
      outline: 2px solid var(--gold);
      outline-offset: 2px
    }

    .full {
      grid-column: 1/-1
    }

    #done {
      display: none;
      background: var(--green);
      color: var(--on-green);
      border-radius: 16px;
      padding: 40px;
      text-align: center
    }

    details {
      border-bottom: 1px solid var(--line);
      padding: 16px 0
    }

    summary {
      cursor: pointer;
      font-weight: 600
    }

    details p {
      color: var(--mute);
      margin: 10px 0 0;
      max-width: 70ch
    }

    .share {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 28px
    }

    .share .btn,
    #done .btn {
      border-color: var(--caramel);
      color: var(--ink)
    }

    #done .btn.gold,
    .share .btn.gold {
      color: var(--dark-cocoa);
      border-color: var(--vibrant-orange)
    }

    #done .btn.ghost {
      color: var(--on-green);
      border-color: var(--warm-cream)
    }

    .fab {
      position: fixed;
      right: 16px;
      bottom: calc(16px + env(safe-area-inset-bottom, 0px));
      z-index: 30;
      background: var(--vibrant-orange);
      color: var(--dark-cocoa);
      border: 1px solid var(--dark-cocoa);
      padding: 12px 18px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 600;
      box-shadow: 0 6px 18px #35100640
    }

    @media print {

      header,
      .fab,
      form,
      #done,
      .share,
      body::before {
        display: none !important
      }

      section {
        padding: 28px 0
      }
    }

    .contact dl {
      display: grid;
      grid-template-columns: auto 1fr;
      gap: 10px 22px;
      margin: 0 0 24px
    }

    nav ul {
      align-items: center
    }

    nav ul li.m {
      display: none
    }

    nav ul a.active {
      opacity: 1;
      color: var(--warm-cream);
      box-shadow: 0 2px 0 var(--caramel)
    }

    nav ul a.btn {
      opacity: 1;
      color: var(--dark-cocoa);
      padding: 10px 22px;
      box-shadow: none
    }

    nav ul a.btn:hover {
      color: var(--dark-cocoa)
    }

    #prog {
      position: absolute;
      left: 0;
      bottom: 0;
      height: 3px;
      width: 0;
      background: var(--gold)
    }

    .totop {
      position: fixed;
      left: 16px;
      bottom: calc(16px + env(safe-area-inset-bottom, 0px));
      z-index: 30;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--green);
      color: var(--warm-cream);
      border: 1px solid var(--caramel);
      display: none;
      place-items: center;
      text-decoration: none;
      font-size: 1.2rem
    }

    .totop.show {
      display: grid
    }

    #menuBtn[aria-expanded="true"] {
      background: var(--vibrant-orange);
      color: var(--dark-cocoa);
      border-color: var(--vibrant-orange)
    }

    @media(max-width:1240px) {
      nav ul {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--green);
        flex-direction: column;
        align-items: stretch;
        padding: 18px 24px 24px;
        gap: 14px;
        box-shadow: 0 20px 30px #3510064D
      }

      nav ul.open {
        display: flex
      }

      nav ul li.m {
        display: block
      }

      #menuBtn {
        display: block
      }

      nav ul a.btn {
        display: block;
        text-align: center
      }

      nav ul a.active {
        box-shadow: none
      }
    }

    .contact dt {
      color: var(--mute)
    }

    .contact dd {
      margin: 0
    }

    footer {
      background: var(--green);
      color: var(--on-green);
      padding: 30px 0;
      font-size: .9rem;
      opacity: 1
    }

    @media(max-width:900px) {
      nav ul {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--green);
        flex-direction: column;
        padding: 18px 24px;
        gap: 14px
      }

      nav ul.open {
        display: flex
      }

      #menuBtn {
        display: block
      }

      .hero .wrap,
      .g2,
      .g3,
      .g4,
      .steps,
      .ba,
      form {
        grid-template-columns: 1fr
      }

      section {
        padding: 60px 0
      }

      .band {
        padding: 28px
      }
    }

    @media(prefers-reduced-motion:reduce) {
      html {
        scroll-behavior: auto
      }

      .rise {
        animation: none
      }

      .btn {
        transition: none
      }
    }
  