:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --cream: #f8f5f0;
    --accent: #c8a96e;
    --accent-dark: #a8893e;
    --gray-light: #f0ede8;
    --gray-mid: #d0ccc6;
    --gray-text: #888580;
    --red: #d94f3d;
    --green: #2a7a4b;
    --border: rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  /* NAVBAR */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 0 5%;
    display: flex; align-items: center; justify-content: space-between;
    height: 76px;
  }
  .nav-logo img { height: 64px; display: block; mix-blend-mode: multiply; }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a { text-decoration: none; color: var(--black); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; }
  .nav-links a:hover { color: var(--accent); }
  .nav-cta {
    background: var(--black); color: var(--white);
    border: none; padding: 10px 22px; border-radius: 100px;
    font-size: 14px; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: background 0.2s;
    letter-spacing: 0.02em;
  }
  .nav-cta:hover { background: var(--accent); }

  /* HERO */
  .hero {
    background: var(--black);
    color: var(--white);
    padding: 100px 5% 80px;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
    min-height: 85vh;
  }
  .hero-badge {
    display: inline-block;
    background: rgba(200,169,110,0.15);
    color: var(--accent);
    border: 1px solid rgba(200,169,110,0.3);
    padding: 6px 14px; border-radius: 100px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; margin-bottom: 24px;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -0.03em; margin-bottom: 20px;
  }
  .hero h1 span { color: var(--accent); }
  .hero p {
    font-size: 18px; color: rgba(255,255,255,0.65);
    line-height: 1.7; margin-bottom: 36px; max-width: 440px;
  }
  .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--accent); color: var(--black);
    border: none; padding: 14px 32px; border-radius: 100px;
    font-size: 15px; font-weight: 700; cursor: pointer;
    text-decoration: none; transition: all 0.2s; display: inline-block;
    letter-spacing: 0.01em;
  }
  .btn-primary:hover { background: #d4b87a; transform: translateY(-1px); }
  .btn-outline {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3); padding: 14px 32px; border-radius: 100px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: all 0.2s; display: inline-block;
  }
  .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }
  .hero-visual {
    position: relative; display: flex; justify-content: center;
  }
  .hero-img-wrap {
    position: relative; width: 420px; height: 480px;
    border-radius: 24px; overflow: hidden;
  }
  .hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
  .hero-pill {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    border-radius: 100px; padding: 12px 24px;
    display: flex; align-items: center; gap: 12px;
    white-space: nowrap; box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  }
  .hero-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
  .hero-pill span { font-size: 13px; font-weight: 600; color: var(--black); }
  .hero-stats {
    display: flex; gap: 2rem; margin-top: 40px;
    padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1);
  }
  .stat-item { text-align: center; }
  .stat-num { font-size: 28px; font-weight: 800; color: var(--accent); display: block; }
  .stat-label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; }

  /* TRUST BAR */
  .trust-bar {
    background: var(--cream); padding: 20px 5%;
    display: flex; justify-content: center; gap: 4rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
  }
  .trust-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; color: #555;
  }
  .trust-icon { font-size: 20px; }

  /* PRODUCTS */
  .products-section { padding: 80px 5%; background: var(--white); }
  .section-header { text-align: center; margin-bottom: 56px; }
  .section-eyebrow {
    display: inline-block; font-size: 11px; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px;
  }
  .section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
    letter-spacing: -0.03em; line-height: 1.15;
  }
  .section-header p {
    font-size: 17px; color: var(--gray-text);
    margin-top: 12px; max-width: 480px; margin-left: auto; margin-right: auto;
  }

  .products-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px; max-width: 1100px; margin: 0 auto;
  }

  .product-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gray-mid);
  }
  .product-carousel {
    position: relative;
    aspect-ratio: 1;
    background: var(--gray-light);
    overflow: hidden;
  }
  .carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 100%;
    scrollbar-width: none;
  }
  .carousel-track::-webkit-scrollbar { display: none; }
  .carousel-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
    pointer-events: none;
  }
  .carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
  }
  .carousel-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.2s;
  }
  .carousel-dots .dot.active { background: rgba(0, 0, 0, 0.85); }
  
  .product-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--black); color: var(--white);
    font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; padding: 5px 12px; border-radius: 100px;
    z-index: 10;
  }
  .product-info { padding: 20px; }
  .product-name { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
  .product-sub { font-size: 13px; color: var(--gray-text); margin-bottom: 16px; }
  .product-footer { display: flex; align-items: center; justify-content: space-between; }
  .product-price { font-size: 22px; font-weight: 800; color: var(--black); }
  .product-price span { font-size: 13px; font-weight: 400; color: var(--gray-text); }
  .btn-add {
    background: var(--black); color: var(--white);
    border: none; padding: 10px 20px; border-radius: 100px;
    font-size: 13px; font-weight: 700; cursor: pointer;
    transition: all 0.2s; letter-spacing: 0.01em;
  }
  .btn-add:hover { background: var(--accent); color: var(--black); }

  /* MODAL - PRODUCT DETAIL */
  .modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
    align-items: center; justify-content: center; padding: 20px;
  }
  .modal-overlay.open { display: flex; }
  .modal {
    background: var(--white); border-radius: 24px;
    width: 100%; max-width: 820px; max-height: 90vh;
    overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr;
    animation: modalIn 0.25s ease;
  }
  @keyframes modalIn { from { opacity:0; transform: scale(0.96) translateY(12px); } to { opacity:1; transform: scale(1) translateY(0); } }
  .modal-images { position: relative; }
  .modal-img-main { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--white); }
  .modal-img-secondary {
    position: absolute; bottom: 12px; right: 12px;
    width: 80px; height: 80px; border-radius: 12px;
    object-fit: cover; border: 3px solid white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    cursor: pointer; transition: transform 0.2s;
  }
  .modal-img-secondary:hover { transform: scale(1.06); }
  .modal-body { padding: 36px 32px; display: flex; flex-direction: column; }
  .modal-close {
    position: sticky; top: 0; align-self: flex-end;
    background: var(--gray-light); border: none;
    width: 36px; height: 36px; border-radius: 50%;
    font-size: 20px; cursor: pointer; line-height: 1;
    color: var(--black); transition: background 0.2s;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .modal-close:hover { background: var(--gray-mid); }
  .modal-badge { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
  .modal h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
  .modal-desc { color: var(--gray-text); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
  .modal-price { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
  .modal-shipping {
    font-size: 13px; color: var(--green); font-weight: 600;
    display: flex; align-items: center; gap: 6px; margin-bottom: 28px;
  }
  .modal-divider { height: 1px; background: var(--border); margin: 20px 0; }
  .modal-features { list-style: none; margin-bottom: 24px; }
  .modal-features li {
    font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 10px; color: #444;
  }
  .modal-features li:last-child { border-bottom: none; }
  .feat-check { color: var(--green); font-weight: 700; font-size: 16px; }
  .btn-order-modal {
    width: 100%; background: var(--black); color: var(--white);
    border: none; padding: 16px; border-radius: 12px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    transition: all 0.2s; letter-spacing: 0.01em;
  }
  .btn-order-modal:hover { background: var(--accent); color: var(--black); }

  /* CHECKOUT FORM */
  .checkout-section {
    padding: 80px 5%; background: var(--cream);
    display: none;
  }
  .checkout-section.open { display: block; }
  .checkout-container {
    max-width: 780px; margin: 0 auto;
    background: var(--white); border-radius: 24px;
    border: 1px solid var(--border);
    overflow: hidden; box-shadow: var(--shadow);
  }
  .checkout-header {
    background: var(--black); padding: 32px 40px;
    color: var(--white);
  }
  .checkout-header h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
  .checkout-header p { color: rgba(255,255,255,0.6); font-size: 14px; }
  .checkout-body { padding: 40px; }
  .order-summary {
    background: var(--cream); border-radius: 12px;
    padding: 20px 24px; margin-bottom: 32px;
    display: flex; align-items: center; gap: 16px;
  }
  .order-summary-img {
    width: 64px; height: 64px; border-radius: 10px;
    object-fit: cover; flex-shrink: 0;
  }
  .order-summary-info { flex: 1; }
  .order-summary-name { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
  .order-summary-meta { font-size: 13px; color: var(--gray-text); }
  .order-summary-price { font-size: 22px; font-weight: 800; }
  .form-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-bottom: 16px;
  }
  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-group.full { grid-column: 1 / -1; }
  .form-group label {
    font-size: 13px; font-weight: 600; color: #444;
    letter-spacing: 0.01em;
  }
  .form-group input, .form-group select, .form-group textarea {
    padding: 12px 14px; border-radius: var(--radius-sm);
    border: 1.5px solid var(--gray-mid);
    font-size: 15px; outline: none; transition: border-color 0.2s;
    background: var(--white); color: var(--black);
    font-family: inherit; width: 100%;
  }
  .form-group input:focus, .form-group select:focus { border-color: var(--accent); }
  .form-group input.error { border-color: var(--red); }
  .form-group .error-msg { font-size: 12px; color: var(--red); display: none; }
  .form-group .error-msg.show { display: block; }
  .cod-notice {
    background: #f0f9f4; border: 1px solid #b8dfc8;
    border-radius: 12px; padding: 16px 20px;
    display: flex; gap: 12px; align-items: flex-start;
    margin: 24px 0;
  }
  .cod-icon { font-size: 22px; flex-shrink: 0; }
  .cod-text h4 { font-size: 14px; font-weight: 700; color: #1a5c35; margin-bottom: 2px; }
  .cod-text p { font-size: 13px; color: #2a7a4b; }
  .btn-submit-order {
    width: 100%; background: var(--black); color: var(--white);
    border: none; padding: 18px; border-radius: 12px;
    font-size: 17px; font-weight: 700; cursor: pointer;
    transition: all 0.2s; letter-spacing: 0.01em;
    margin-top: 8px;
  }
  .btn-submit-order:hover:not(:disabled) { background: var(--accent); color: var(--black); }
  .btn-submit-order:disabled { opacity: 0.6; cursor: not-allowed; }
  .back-to-shop {
    display: flex; align-items: center; gap: 8px;
    background: none; border: none; cursor: pointer;
    font-size: 14px; color: var(--gray-text); font-weight: 600;
    margin-bottom: 28px; padding: 0; transition: color 0.2s;
  }
  .back-to-shop:hover { color: var(--black); }

  /* SUCCESS */
  .success-section {
    display: none; padding: 80px 5%; text-align: center;
    background: var(--cream);
  }
  .success-section.open { display: block; }
  .success-card {
    max-width: 520px; margin: 0 auto;
    background: var(--white); border-radius: 24px;
    padding: 60px 48px; border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .success-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: #f0f9f4; display: flex; align-items: center; justify-content: center;
    font-size: 32px; margin: 0 auto 24px;
  }
  .success-card h2 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
  .success-card p { color: var(--gray-text); font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
  .order-id-badge {
    background: var(--gray-light); border-radius: 8px;
    padding: 10px 20px; font-size: 14px; font-weight: 700;
    display: inline-block; margin: 16px 0;
    letter-spacing: 0.06em; color: var(--black);
  }

  /* ABOUT STRIP */
  .about-strip {
    background: var(--black); color: var(--white);
    padding: 80px 5%; text-align: center;
  }
  .about-strip h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800;
    letter-spacing: -0.03em; margin-bottom: 16px;
  }
  .about-strip h2 span { color: var(--accent); }
  .about-strip p { font-size: 17px; color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto 40px; }

  /* FOOTER */
  footer {
    background: var(--black); color: rgba(255,255,255,0.5);
    padding: 28px 5%; text-align: center; font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  footer strong { color: var(--white); }

  /* RESPONSIVE */
  /* Phone prefix selector */
  .phone-group { display: flex; gap: 0; }
  .phone-prefix {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 12px; border: 1.5px solid var(--gray-mid);
    border-right: none; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    background: var(--gray-light); font-size: 14px; font-weight: 600;
    white-space: nowrap; flex-shrink: 0; cursor: pointer;
    position: relative; user-select: none;
  }
  .phone-prefix:focus-within { border-color: var(--accent); }
  .prefix-select {
    position: absolute; inset: 0; opacity: 0; cursor: pointer;
    width: 100%; border: none; background: transparent;
  }
  .prefix-flag { font-size: 18px; line-height: 1; }
  .prefix-code { font-size: 14px; font-weight: 700; color: var(--black); }
  .prefix-arrow { font-size: 10px; color: var(--gray-text); }
  .phone-number-input {
    flex: 1; padding: 12px 14px; border: 1.5px solid var(--gray-mid);
    border-left: none; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 15px; outline: none; transition: border-color 0.2s;
    background: var(--white); color: var(--black); font-family: inherit;
    min-width: 0;
  }
  .phone-number-input:focus { border-color: var(--accent); }
  .phone-number-input.error { border-color: var(--red); }
  .phone-group.error-border .phone-prefix,
  .phone-group.error-border .phone-number-input { border-color: var(--red); }

  @media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding: 48px 5% 56px; min-height: auto; gap: 2rem; }
    .hero-visual { order: -1; }
    .hero-img-wrap { width: 100%; height: 400px; border-radius: 16px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 16px; margin-bottom: 24px; }
    .hero-stats { gap: 1.2rem; flex-wrap: wrap; }
    .hero-badge { font-size: 11px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    nav .nav-links { display: none; }
    .modal { grid-template-columns: 1fr; max-height: 95vh; }
    .modal-img-main { max-height: none; aspect-ratio: 1; object-fit: contain; background: var(--white); }
    .modal-body { padding: 24px 20px; }
    .modal h2 { font-size: 20px; }
    .modal-price { font-size: 26px; }
    .trust-bar { gap: 1.2rem; padding: 16px 5%; }
    .trust-item { font-size: 12px; }
    .about-strip { padding: 60px 5%; }
    .checkout-container { border-radius: 16px; }
    .checkout-header { padding: 24px 24px; }
    .checkout-body { padding: 24px 20px; }
  }
  @media (max-width: 580px) {
    .hero { padding: 36px 5% 48px; }
    .hero-stats { gap: 1rem; }
    .stat-num { font-size: 22px; }
    .stat-label { font-size: 11px; }
    .hero-btns { flex-direction: column; gap: 10px; }
    .btn-primary, .btn-outline { text-align: center; }
    .products-grid { grid-template-columns: 1fr; gap: 14px; }
    .form-grid { grid-template-columns: 1fr; }
    .modal { border-radius: 16px; margin: 0; max-height: 100vh; border-radius: 16px 16px 0 0; align-self: flex-end; }
    .modal-overlay { align-items: flex-end; padding: 0; }
    .checkout-body { padding: 20px 16px; }
    .trust-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 5%; }
    .trust-item { font-size: 11px; gap: 6px; }
    .cod-notice { padding: 12px 14px; }
    .btn-submit-order { font-size: 15px; padding: 16px; }
    .order-summary { padding: 14px 16px; gap: 12px; }
    .order-summary-price { font-size: 18px; }
    .back-to-shop { margin-bottom: 20px; }
    nav { padding: 0 4%; height: 76px; }
    .nav-logo img { height: 64px; }
    .nav-cta { padding: 8px 16px; font-size: 13px; }
    .success-card { padding: 40px 24px; border-radius: 16px; }
    .hero-pill { display: none; }
  }