:root {
    --bg-site: #F4F1EA; 
    --bg-card: #FDFBFA; 
    --navy: #1A1E26;    
    --gold: #B68D40;    
    --text-muted: #7A7A7A;
    --border: #D1CEC5;
    --input-bg: #F8F6F1;
    --bg-thumbnail: #F9F7F2; 
  }

  *, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; padding: 0; 
    font-family: 'Instrument Sans', sans-serif;
  }
  
  html { scroll-behavior: smooth; }

  body {
    background-color: var(--bg-site);
    color: var(--navy);
    padding: 40px 16px 120px;
    display: flex; flex-direction: column; align-items: center; position: relative;
    -webkit-font-smoothing: antialiased;
  }
  
  body::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.04; pointer-events: none; z-index: 9999;
    background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
  }

  .header { text-align: center; margin-bottom: 50px; width: 100%; max-width: 480px; }
  .logo-img { width: 100%; max-width: 160px; height: auto; display: block; margin: 0 auto 15px; }
  .header p { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 26px; color: var(--gold); letter-spacing: 0.75px; }

  .card {
    background: var(--bg-card); width: 100%; max-width: 480px; padding: 35px 25px; border-radius: 4px;
    margin-bottom: 30px; border: 1px solid var(--border); position: relative;
    box-shadow: 8px 8px 0px rgba(182, 141, 64, 0.05);
  }

  .card::after {
    content: ""; position: absolute; top: 6px; left: 6px; right: 6px; bottom: 6px;
    border: 1px solid var(--border); pointer-events: none; opacity: 0.4;
  }

  .section-title {
    font-family: 'Instrument Serif', serif; font-size: 32px; margin-bottom: 30px;
    border-bottom: 2px double var(--border); padding-bottom: 15px; text-align: center;
  }

  .hero-item { 
    display: flex; 
    flex-direction: row; 
    gap: 25px; 
    align-items: flex-start; 
    margin-bottom: 35px; 
    cursor: pointer; 
    text-align: left;
  }
  .hero-photo { 
    width: calc(50% - 12.5px); 
    aspect-ratio: 1/1; 
    flex-shrink: 0; 
    border-radius: 2px; 
    object-fit: cover; 
    border: 1px solid var(--border); 
    background: var(--bg-thumbnail);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  }
  .hero-info { flex: 1; padding-top: 5px; }

  .menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
  .grid-item .menu-photo { 
    width: 100%; aspect-ratio: 1/1; border-radius: 2px; object-fit: cover; 
    border: 1px solid var(--border); margin-bottom: 15px; background: var(--bg-thumbnail);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  }
  .menu-name { font-family: 'Instrument Serif', serif; font-size: 24px; line-height: 1.1; }
  .menu-desc { font-size: 13px; color: var(--text-muted); font-style: italic; margin-top: 8px; line-height: 1.6; }

  .pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
  .pkg-btn { border: 1px solid var(--border); background: var(--input-bg); padding: 25px 10px; cursor: pointer; transition: 0.4s; color: var(--navy); text-align: center; }
  .pkg-btn.active { background: var(--navy); color: #FFF; border-color: var(--navy); }
  .pkg-btn b { display: block; font-size: 20px; font-family: 'Instrument Serif', serif; margin-bottom: 6px; }
  .pkg-btn span { font-size: 13px; font-weight: 500; }

  #selection-section { display: none; animation: fadeIn 0.8s ease forwards; }
  .slot-indicator {
    background: var(--input-bg); padding: 15px; border-radius: 4px; text-align: center; 
    font-size: 15px; font-weight: 600; margin-bottom: 25px; border: 1px dashed var(--gold); color: var(--gold);
  }
  
  .item-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid #F0EFEA; gap: 15px; }
  .item-thumb { width: 60px; height: 60px; border-radius: 4px; object-fit: cover; border: 1px solid var(--border); background: var(--bg-thumbnail); }
  .qty-control { display: flex; align-items: center; gap: 15px; }
  .qty-btn { width: 35px; height: 35px; border: 1.5px solid var(--navy); background: transparent; cursor: pointer; font-size: 20px; font-family: 'Instrument Serif', serif; }
  .qty-btn:disabled { opacity: 0.2; cursor: not-allowed; border-color: var(--border); }
  .qty-val { font-family: 'Instrument Serif', serif; font-size: 26px; width: 25px; text-align: center; }

  .input-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 12px; display: block; color: var(--gold); }
  .input-field { 
    width: 100%; padding: 18px; border: 1px solid var(--border); outline: none; background: var(--input-bg); 
    font-size: 16px; margin-bottom: 25px; border-radius: 0;
  }
  textarea.input-field { resize: none; height: 110px; line-height: 1.5; }
  
  .total-amount { font-family: 'Instrument Serif', serif; font-size: 32px; color: var(--navy); }
  
  .btn-primary { width: 100%; max-width: 480px; background: var(--navy); color: #fff; border: none; padding: 26px; letter-spacing: 5px; text-transform: uppercase; cursor: pointer; transition: 0.5s; font-weight: 600; font-size: 15px; }
  .btn-primary:disabled { background: #D1CEC5; color: #999; opacity: 0.7; cursor: not-allowed; }

  .floating-wa, .floating-ig { 
    position: fixed; right: 20px; background: var(--navy); color: white; width: 60px; height: 60px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 999; 
    border: 1px solid var(--gold); text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
  .floating-wa { bottom: 30px; }
  .floating-ig { bottom: 100px; }
  .floating-wa svg, .floating-ig svg { width: 28px; height: 28px; fill: white; }
  
  @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
