@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --paper: #f8f8f1;
  --paper-deep: #f0f2e9;
  --ink: #103f38;
  --ink-dark: #0b3832;
  --muted: #667b75;
  --line: #d5e0d9;
  --mint: #e6eee8;
  --gold: #c8903e;
  --white: #fff;
  --shadow: 0 22px 55px rgba(24, 57, 49, .08);
  font-family: "DM Sans", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  height: 82px;
  padding: 0 clamp(22px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(16, 63, 56, .12);
  background: rgba(248, 248, 241, .94);
}
.brand { display: flex; align-items: center; width: 180px; overflow: hidden; }
.brand img { display: block; width: 100%; height: auto; }
.main-nav { display: flex; gap: clamp(20px, 4vw, 54px); color: #49635c; font-size: 13px; font-weight: 600; }
.main-nav a:hover, .text-link:hover { color: #b47e32; }
.header-cta { border: 1px solid var(--line); padding: 12px 17px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.header-cta span { margin-left: 8px; color: var(--gold); }

.hero {
  min-height: 552px;
  padding: 72px clamp(22px, 8vw, 120px) 68px;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 43%);
  align-items: center;
  gap: 36px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(218, 230, 219, .65) 0 11%, transparent 11.2%),
    linear-gradient(113deg, #fbfbf6 0%, #f5f7ef 100%);
}
.hero-copy { position: relative; z-index: 1; max-width: 640px; }
.eyebrow { margin: 0 0 17px; color: #607970; font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--gold); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, Arial, sans-serif; }
.hero h1 { margin: 0 0 18px; max-width: 680px; font-size: clamp(47px, 6.5vw, 82px); line-height: .99; letter-spacing: -.065em; font-weight: 800; }
.hero h1 em { color: #748c7e; font-style: normal; }
.hero-lede { max-width: 430px; margin-bottom: 27px; color: #5c716b; font-size: 17px; line-height: 1.7; }
.button { border: 0; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 13px; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #0a302b; }
.hero-note { margin: 16px 0 0; color: #7c8c84; font-size: 11px; }
.hero-art { min-height: 360px; position: relative; display: grid; place-items: center; }
.hero-orbit { position: absolute; border: 1px solid rgba(16, 63, 56, .13); border-radius: 50%; }
.orbit-one { width: min(31vw, 360px); aspect-ratio: 1; background: rgba(231, 238, 230, .55); }
.orbit-two { width: min(23vw, 270px); aspect-ratio: 1; }
.hero-monogram { display: grid; place-items: center; width: 142px; height: 142px; border-radius: 38px; background: var(--ink); color: white; font: 800 91px/1 Manrope, sans-serif; box-shadow: 0 22px 50px rgba(17, 65, 56, .18); transform: rotate(-7deg); }
.hero-caption { position: absolute; right: 3%; bottom: 6%; padding: 15px 18px; border-radius: 14px; background: #fff; color: #607970; font-size: 10px; line-height: 1.55; letter-spacing: .12em; font-weight: 700; box-shadow: var(--shadow); }
.hero-spark { position: absolute; color: var(--gold); font-size: 29px; }
.spark-one { top: 15%; right: 15%; }
.spark-two { bottom: 19%; left: 10%; font-size: 18px; }

.section { padding: 88px clamp(22px, 8vw, 120px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { margin: 0; font-size: clamp(29px, 4vw, 46px); letter-spacing: -.055em; line-height: 1.08; }
.section-aside { margin: 0 0 4px; max-width: 310px; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: right; }
.collection-section { background: #fff; }
.catalog-status { margin: -12px 0 20px; padding: 12px 15px; border-radius: 12px; background: #fff1ed; color: #9e4b35; font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.product-image-wrap { position: relative; aspect-ratio: 1.13; overflow: hidden; background: #f1f3ee; }
.product-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.product-card:hover .product-image { transform: scale(1.035); }
.product-thumbnails { display: flex; gap: 7px; padding: 10px 14px 0; overflow-x: auto; }
.product-thumb { width: 43px; height: 43px; flex: none; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; padding: 0; background: #fff; cursor: pointer; }
.product-thumb:hover { border-color: #8ca99b; }
.product-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-image-fallback { height: 100%; display: grid; place-items: center; color: #a4b2a7; font: 700 52px Manrope, sans-serif; }
.product-body { padding: 20px; }
.product-category { margin: 0 0 8px; color: #72877e; font-size: 10px; letter-spacing: .13em; font-weight: 700; text-transform: uppercase; }
.product-title { margin: 0 0 8px; font-size: 18px; letter-spacing: -.03em; }
.product-description { margin: 0 0 17px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-price { font: 800 25px Manrope, sans-serif; letter-spacing: -.05em; }
.product-order { min-height: 40px; padding: 0 16px; font-size: 11px; }
.empty-catalog { max-width: 660px; margin: 0 auto; padding: 48px 28px 52px; text-align: center; border: 1px solid var(--line); border-radius: 24px; background: #f8f9f5; }
.empty-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 22px; border-radius: 17px; background: var(--ink); color: #fff; font: 700 33px Manrope, sans-serif; }
.empty-catalog .eyebrow { margin-bottom: 9px; font-size: 10px; }
.empty-catalog h3 { margin-bottom: 9px; font-size: 23px; }
.empty-catalog > p:not(.eyebrow) { max-width: 430px; margin: 0 auto 18px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.text-link { color: var(--ink); font-size: 12px; font-weight: 700; }
.text-link span { color: var(--gold); }

.order-section { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; margin: 0 0 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps li { min-height: 120px; padding: 21px 20px 20px 0; display: flex; flex-direction: column; gap: 12px; color: #526b63; font-size: 12px; line-height: 1.55; }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.step-number { color: var(--gold); font: 700 11px Manrope, sans-serif; letter-spacing: .1em; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .75fr); align-items: start; gap: 23px; }
.order-card, .payment-card { padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(26, 67, 56, .045); }
.card-topline { display: flex; align-items: start; justify-content: space-between; margin-bottom: 24px; }
.card-topline .eyebrow { margin-bottom: 8px; }
.card-topline h3, .payment-card h3 { margin: 0; font-size: 23px; letter-spacing: -.045em; }
.whatsapp-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e6f1e9; color: #167747; font-size: 13px; font-weight: 800; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 7px; color: #355a50; font-size: 11px; font-weight: 700; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 45px; padding: 0 13px; border: 1px solid #d7e0da; border-radius: 11px; background: #fcfdf9; color: #183d36; outline: none; font-size: 13px; font-weight: 400; }
.field textarea { min-height: 95px; padding-top: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #82a395; box-shadow: 0 0 0 3px rgba(130, 163, 149, .14); }
.total-box { display: flex; flex-direction: column; justify-content: center; padding: 10px 13px; border-radius: 12px; background: #edf3ed; }
.total-box span { color: #647971; font-size: 10px; font-weight: 600; }
.total-box strong { margin: 2px 0; font: 800 22px Manrope, sans-serif; }
.total-box small { color: #72837d; font-size: 9px; line-height: 1.4; }
.prepaid-note { margin: 21px 0 16px; padding: 13px 15px; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; background: #fff8ed; color: #69583e; font-size: 11px; line-height: 1.65; }
.prepaid-note strong { color: #44351f; }
.button-full { width: 100%; }
.payment-card { background: #f6f8f2; }
.payment-card .eyebrow { margin-bottom: 11px; }
.payment-card h3 { margin-bottom: 8px; }
.payment-intro { margin-bottom: 18px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.qr-frame { display: grid; place-items: center; padding: 14px; border: 1px solid #e2e8e1; border-radius: 15px; background: #fff; }
.qr-frame img { display: block; width: min(100%, 220px); height: auto; }
.qr-hint { margin: 9px 0 17px; color: #6c8177; font-size: 10px; text-align: center; }
.payment-details { margin: 0; }
.payment-details > div { padding: 11px 0; border-top: 1px solid #dce5dd; }
.payment-details dt { margin-bottom: 4px; color: #71847c; font-size: 10px; }
.payment-details dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #173f37; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.copy-button { flex: none; border: 1px solid #cbd8d0; border-radius: 999px; background: #fff; padding: 6px 11px; color: var(--ink); font-size: 10px; font-weight: 700; cursor: pointer; }
.copy-button:hover { border-color: #8ca99b; background: #f0f5ef; }
.payment-reminder { margin: 15px 0 0; color: #647971; font-size: 10px; line-height: 1.6; }
.copy-message { min-height: 15px; margin: 8px 0 0; color: #247443; font-size: 10px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px clamp(22px, 6vw, 88px); border-top: 1px solid var(--line); color: #71847b; font-size: 10px; letter-spacing: .05em; }
.footer-brand { width: 130px; }
.site-footer p { margin: 0; font-weight: 700; letter-spacing: .12em; }
.footer-social { color: var(--muted); text-decoration: none; letter-spacing: 0; }
.footer-social:hover { color: var(--ink); }
.site-footer > span { letter-spacing: 0; }

/* Product manager */
.manage-hero { padding: 54px clamp(22px, 7vw, 100px) 36px; background: linear-gradient(110deg, #f7f8f1, #edf3eb); }
.manage-hero h1 { margin: 0; max-width: 740px; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.06em; }
.manage-hero p:last-child { max-width: 560px; margin: 13px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.manage-main { padding-top: 28px; }
.manager-panel { max-width: 960px; margin: 0 auto; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.manager-login { max-width: 440px; margin: 22px auto; }
.manager-login h2 { margin-bottom: 8px; font-size: 27px; }
.manager-login > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.manager-login .field { margin: 18px 0; }
.manager-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.manager-toolbar h2 { font-size: 28px; }
.manager-toolbar p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.quiet-button { border: 1px solid var(--line); border-radius: 999px; background: white; padding: 10px 15px; color: var(--ink); font-size: 11px; font-weight: 700; cursor: pointer; }
.manager-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); gap: 23px; margin-top: 22px; }
.manager-form { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcf8; }
.manager-form h3, .manager-catalog h3 { margin-bottom: 14px; font-size: 19px; letter-spacing: -.03em; }
.import-row { display: flex; gap: 8px; margin-bottom: 11px; }
.import-row input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #d7e0da; border-radius: 10px; background: white; font-size: 12px; }
.import-row .button { flex: none; min-height: 44px; padding: 0 14px; font-size: 11px; }
.helper-text { margin: 0 0 15px; color: #71847c; font-size: 10px; line-height: 1.6; }
.manager-fields { display: grid; gap: 13px; }
.manager-fields .field input, .manager-fields .field textarea { background: #fff; }
.manager-catalog { padding: 20px; border: 1px solid var(--line); border-radius: 16px; }
.manager-list { display: grid; gap: 10px; }
.manager-product { display: flex; gap: 11px; align-items: center; padding: 10px; border: 1px solid #e4ebe5; border-radius: 12px; }
.manager-thumb { width: 56px; height: 56px; flex: none; overflow: hidden; border-radius: 9px; background: #eef2eb; display: grid; place-items: center; color: #82968b; font: 700 20px Manrope, sans-serif; }
.manager-thumb img { width: 100%; height: 100%; object-fit: cover; }
.manager-product-info { flex: 1; min-width: 0; }
.manager-product-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.manager-product-info span { display: block; margin-top: 4px; color: #657b72; font-size: 10px; }
.manager-actions { display: flex; flex: none; gap: 5px; }
.manager-actions button { border: 1px solid #d5e0d9; border-radius: 999px; padding: 6px 9px; background: #fff; color: var(--ink); font-size: 9px; font-weight: 700; cursor: pointer; }
.manager-actions .remove-button { color: #9d4438; }
.manager-empty { padding: 18px; border-radius: 12px; background: #f4f7f2; color: #71847c; font-size: 12px; line-height: 1.6; text-align: center; }
.manager-status { min-height: 17px; margin: 8px 0 0; color: #61766c; font-size: 11px; line-height: 1.5; }
.manager-status.is-error { color: #a33f32; }
.manager-status.is-success { color: #287549; }
.manager-save { margin-top: 14px; }
.manage-back { display: inline-block; margin-top: 15px; color: #587169; font-size: 11px; font-weight: 700; }
.manage-back:hover { color: var(--gold); }

@media (max-width: 800px) {
  .site-header { height: 70px; padding-inline: 20px; }
  .brand { width: 148px; }
  .main-nav { gap: 16px; font-size: 11px; }
  .header-cta { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr .65fr; padding: 58px 28px 56px; }
  .hero-art { min-height: 280px; }
  .hero-monogram { width: 110px; height: 110px; border-radius: 29px; font-size: 70px; }
  .section { padding: 67px 28px; }
  .order-layout { grid-template-columns: 1fr; }
  .payment-card { max-width: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .steps li:nth-child(4) { border-top: 1px solid var(--line); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .manager-layout { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .site-header { padding-inline: 16px; }
  .brand { width: 126px; }
  .main-nav { gap: 12px; font-size: 10px; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding: 49px 21px 28px; }
  .hero h1 { font-size: clamp(44px, 13vw, 63px); }
  .hero-lede { max-width: 330px; font-size: 15px; }
  .hero-art { min-height: 235px; }
  .orbit-one { width: 220px; }
  .orbit-two { width: 175px; }
  .hero-monogram { width: 91px; height: 91px; border-radius: 26px; font-size: 59px; }
  .hero-caption { right: 5%; bottom: 2%; font-size: 8px; }
  .section { padding: 55px 20px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 25px; }
  .section-aside { max-width: 100%; text-align: left; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image-wrap { aspect-ratio: 1.25; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { min-height: 125px; padding-right: 12px; font-size: 11px; }
  .steps li + li { padding-left: 12px; }
  .steps li:nth-child(3) { padding-left: 0; }
  .order-card, .payment-card { padding: 20px 16px; }
  .form-grid { gap: 12px; }
  .field { font-size: 10px; }
  .field input, .field select { min-height: 43px; font-size: 12px; }
  .manager-panel { padding: 16px; }
  .manager-form, .manager-catalog { padding: 14px; }
  .import-row { flex-direction: column; }
  .manager-toolbar { align-items: start; }
  .manager-actions { flex-direction: column; }
  .site-footer { flex-wrap: wrap; }
  .footer-brand { width: 112px; }
  .site-footer p { order: 3; flex-basis: 100%; }
}
