
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --red: #e2574c;
    --red-hover: #c0392b;
    --text: #333;
    --light-gray: #f7f7f7;
    --border: #ddd;
    --white: #fff;
    --accent: #9b59b6;
    --success: #27ae60;
  }

  html { overflow-x: hidden; }

  body {
    font-family: 'Lato', sans-serif;
    color: var(--text);
    background: #000;
    min-height: 100vh;
    overflow-x: hidden;
  }

  header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo { font-family: 'Merriweather', serif; font-size: 1.4rem; color: var(--text); }
  .cart-icon { font-size: 1.5rem; cursor: pointer; position: relative; }
  .cart-count {
    position: absolute; top: -6px; right: -8px;
    background: var(--red); color: #fff;
    border-radius: 50%; width: 18px; height: 18px;
    font-size: 0.65rem; display: flex; align-items: center; justify-content: center;
    font-weight: 700;
  }

  .page { display: none; }
  .page.active { display: block; }

  .product-wrap {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 24px;
    display: flex;
    gap: 48px;
    align-items: flex-start;
  }

  .product-images {
    flex: 0 0 auto;
    width: 380px;
    position: relative;
  }

  .img-box {
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 340px;
    position: relative;
  }

  .img-box .zoom-icon {
    position: absolute; top: 10px; right: 10px;
    background: #fff; border: 1px solid var(--border);
    border-radius: 4px; width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem; color: #888;
  }

  .pill-canvas { display: flex; gap: 24px; align-items: center; justify-content: center; }

  .pill {
    width: 130px; height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 38%, #ffffff 0%, #d8d8d8 60%, #b8b8b8 100%);
    box-shadow: inset -4px -4px 10px rgba(0,0,0,0.2), 2px 4px 12px rgba(0,0,0,0.15);
    display: flex; align-items: center; justify-content: center;
  }

  .pill-text {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #555;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 1px;
  }

  .pill-blank {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 38%, #ffffff 0%, #d8d8d8 60%, #b8b8b8 100%);
    box-shadow: inset -4px -4px 10px rgba(0,0,0,0.2), 2px 4px 12px rgba(0,0,0,0.15);
  }

  .product-info { flex: 1; }
  .product-info h1 { font-family: 'Merriweather', serif; font-size: 1.9rem; margin-bottom: 10px; }
  .price-range { color: var(--red); font-size: 1.05rem; font-weight: 700; margin-bottom: 20px; }

  .variants-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
  .variants-table tr { border: 1px solid var(--border); }
  .variants-table td { padding: 10px 14px; font-size: 0.92rem; }
  .variants-table .qty { color: var(--text); }
  .variants-table .price { color: var(--red); font-weight: 700; }

  .btn-cart {
    background: var(--red); color: #fff;
    border: none; border-radius: 3px;
    padding: 8px 18px; cursor: pointer;
    font-size: 0.85rem; font-weight: 700;
    transition: background 0.2s;
    white-space: nowrap;
  }
  .btn-cart:hover { background: var(--red-hover); }

  .variation-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
  .variation-row label { font-weight: 700; font-size: 0.9rem; }
  .variation-row select {
    border: 1px solid var(--border); border-radius: 3px;
    padding: 7px 12px; font-size: 0.88rem; min-width: 200px;
  }

  .qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
  .qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 3px; overflow: hidden; }
  .qty-btn { background: var(--light-gray); border: none; width: 34px; height: 36px; cursor: pointer; font-size: 1.1rem; }
  .qty-input {
    width: 48px; height: 36px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border);
    text-align: center; font-size: 0.95rem;
  }

  .btn-buy {
    background: var(--accent); color: #fff;
    border: none; border-radius: 3px;
    padding: 9px 28px; cursor: pointer;
    font-size: 0.95rem; font-weight: 700;
    transition: background 0.2s;
  }
  .btn-buy:hover { background: #8e44ad; }

  .product-meta { font-size: 0.85rem; color: #555; line-height: 2; border-top: 1px solid var(--border); padding-top: 14px; }
  .product-meta strong { color: var(--text); }

  .checkout-wrap {
    max-width: 1260px;
    margin: 36px auto 60px;
    padding: 0 24px;
  }

  .order-flow-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .package-card,
  .order-card,
  .reviews-box {
    background: #fff;
    border: 1px solid #dfe4ea;
    border-radius: 18px;
    padding: 34px 38px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  }

  .panel-title {
    font-family: 'Merriweather', serif;
    font-size: 1.9rem;
    margin-bottom: 24px;
    color: #18203a;
    text-align: center;
  }

  .panel-title.package { color: #0b7f6c; }

  .label {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    color: #1d2234;
  }

  .input,
  .select,
  .textarea {
    width: 100%;
    border: 2px solid #e2e6ed;
    border-radius: 16px;
    padding: 13px 16px;
    font-size: 1.05rem;
    font-family: 'Lato', sans-serif;
    outline: none;
    background: #fff;
    margin-bottom: 18px;
  }

  .textarea {
    resize: vertical;
    min-height: 96px;
  }

  .input:focus,
  .select:focus,
  .textarea:focus {
    border-color: #0a8a76;
  }

  .price-box {
    margin-top: 12px;
    background: #d7f1e2;
    border: 2px solid #99ddbb;
    border-radius: 18px;
    padding: 18px 22px;
  }

  .price-top,
  .price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .price-top {
    color: #186a57;
    font-weight: 700;
    margin-bottom: 16px;
  }

  .price-amount {
    font-size: 2.2rem;
    color: #00835f;
    font-weight: 700;
  }

  .price-strip {
    background: #c0e4d2;
    border-radius: 12px;
    padding: 11px 14px;
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
    color: #5a6c77;
    margin-bottom: 16px;
  }

  .save-pill {
    background: #14a56d;
    color: #fff;
    border-radius: 999px;
    padding: 5px 14px;
    font-weight: 700;
  }

  .price-total {
    border-top: 3px solid #1aa97a;
    padding-top: 14px;
    font-weight: 700;
    color: #0f2038;
    font-size: 1.2rem;
  }

  .order-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
  }

  .full-row {
    grid-column: 1 / -1;
  }

  .checkbox-row {
    margin: 8px 0 18px;
    font-size: 0.98rem;
    color: #2f3345;
    line-height: 1.5;
  }

  .submit-cta {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: #09152e;
    color: #fff;
    font-size: 1.75rem;
    letter-spacing: 0.04em;
    font-weight: 700;
    padding: 16px 14px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.2s ease;
  }

  .submit-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(7, 21, 45, 0.25);
  }

  .submit-cta:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
  }

  .trust-row {
    text-align: center;
    color: #118b63;
    margin-top: 14px;
    font-weight: 700;
  }

  .reviews-box {
    margin-top: 6px;
    padding: 30px;
    background: linear-gradient(145deg, #ffffff 0%, #f7fbff 100%);
  }

  .reviews-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 18px;
    gap: 12px;
  }

  .reviews-title {
    font-family: 'Merriweather', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #111b33;
    margin-bottom: 4px;
  }

  .reviews-subtitle {
    color: #5a667f;
    font-size: 0.95rem;
  }

  .reviews-score {
    background: #0a8a76;
    color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding: 8px 14px;
    white-space: nowrap;
  }

  .review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .review-item {
    border: 1px solid #e4ecf3;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(8, 27, 55, 0.06);
  }

  .review-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d8e9e3;
  }

  .review-name {
    color: #1a2440;
    font-weight: 700;
    line-height: 1.2;
  }

  .review-age {
    color: #6e7c96;
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .review-stars {
    color: #f5a524;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
  }

  .review-text {
    color: #34425e;
    line-height: 1.55;
    font-size: 0.95rem;
  }

  .msg { font-size: 0.86rem; margin-top: 6px; }
  .msg.error { color: var(--red); }
  .msg.success { color: var(--success); }

  .success-wrap {
    max-width: 520px;
    margin: 80px auto;
    padding: 0 24px;
    text-align: center;
  }

  .success-icon { font-size: 4rem; margin-bottom: 16px; }
  .success-wrap h2 { font-family: 'Merriweather', serif; font-size: 1.8rem; margin-bottom: 10px; }
  .success-wrap p { color: #666; margin-bottom: 24px; }
  .success-details {
    background: var(--light-gray); border: 1px solid var(--border);
    border-radius: 8px; padding: 20px; text-align: left;
    font-size: 0.9rem; line-height: 2; margin-bottom: 24px;
  }

  .btn-back-shop {
    background: var(--accent); color: #fff;
    border: none; border-radius: 4px;
    padding: 12px 32px; cursor: pointer;
    font-size: 0.95rem; font-weight: 700;
    transition: background 0.2s;
  }

  .btn-back-shop:hover { background: #8e44ad; }

  @media (max-width: 860px) {
    .product-wrap { flex-direction: column; }
    .product-images { width: 100%; }
    .order-flow-grid { grid-template-columns: 1fr; }
    .order-form-grid { grid-template-columns: 1fr; }
    .full-row { grid-column: auto; }
    .panel-title { font-size: 1.6rem; }
    .submit-cta { font-size: 1.35rem; }
    .review-grid { grid-template-columns: 1fr; }
    .reviews-head { flex-direction: column; align-items: flex-start; }
  }

  @media (max-width: 600px) {
    .product-images img {
      width: 100%;
      height: auto;
    }
  }