:root {
    --blue: #347395;
    --deep: #082861;
    --green: #70a9c9;
    --teal: #18c8b7;
    --ink: #012b45;
    --muted: #5f6f8a;
    --line: #dfe9f5;
    --soft: #f3f8ff;
    --shadow: 0 5px 16px rgba(18, 52, 96, 0.08);
    --pad: 18px;
    --nav-h: 74px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #eaf0f7;
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    letter-spacing: 0;
}

button, input, select, textarea {
    font: inherit;
}

button {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

button:disabled {
    cursor: not-allowed;
}

img {
    display: block;
    max-width: 100%;
}

svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.app {
    position: relative;
    width: min(100vw, 430px);
    min-height: 100dvh;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(18, 52, 96, 0.08), 0 22px 80px rgba(18, 52, 96, 0.18);
}

main {
    min-height: calc(100dvh - var(--nav-h));
    padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom));
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.logo-btn img {
    width: 130px;
    height: auto;
    object-fit: contain;
}

.logo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.logo-text {
    color: var(--deep);
    font-size: 29px;
    font-weight: 850;
    line-height: 1;
}

.logo-text strong, .logo-text em {
    font: inherit;
}

.logo-text em {
    color: var(--green);
    font-style: normal;
}

/* .logo-btn::after {
  content: "Peptilora";
  color: var(--deep);
  font-size: 29px;
  font-weight: 850;
  line-height: 1;
} */
@supports selector(:has(*)) {
    .logo-btn:has(.logo-text)::after {
        content: none;
    }
}

.desktop-nav {
    display: none;
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-btn {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--deep);
}

.menu-btn svg {
    width: 29px;
    height: 29px;
    stroke-width: 2.4;
}

.wa-pill, .green-btn, .blue-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
    border-radius: 999px;
}

.wa-pill, .green-btn {
    background: linear-gradient(180deg, #2cb66d, #19c968);
}

.blue-btn {
    background: linear-gradient(180deg, #b2d9ed, #347395);
}

.wa-pill svg, .green-btn svg, .blue-btn svg {
    width: 22px;
    height: 22px;
}

body[data-page="home"] .topbar .wa-pill {
    display: none;
}

.home-hero {
    position: relative;
    min-height: 0;
    padding: 26px var(--pad) 24px;
    overflow: hidden;
    background-color: #fff;
    background-image: linear-gradient(90deg, #fff 0 53%, rgba(255, 255, 255, 0.9) 66%, rgba(255, 255, 255, 0.44) 82%, rgba(255, 255, 255, 0.12) 100%), url("/public/uploads/20260426/cab1e45ec018d61b21c8099e53b292bd.jpg");
    background-position: center, right center;
    background-repeat: no-repeat;
    background-size: auto, auto 100%;
}

.home-hero::after {
    content: none;
}

.home-hero > img {
    display: none;
}

.home-copy {
    position: relative;
    z-index: 2;
    width: clamp(204px, 57vw, 246px);
    max-width: none;
}

.home-copy h1 {
    margin: 0;
    color: #1b2435;
    font-size: clamp(31px, 8.2vw, 36px);
    line-height: 1.06;
    font-weight: 850;
}

.home-copy h1 span {
    color: var(--blue);
}

.home-copy h1 em {
    color: var(--green);
    font-style: normal;
}

.home-copy > i {
    display: block;
    width: 58px;
    height: 3px;
    margin: 16px 0 17px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), #8db7ef);
}

.home-copy p {
    margin: 0 0 24px;
    color: #3d4a63;
    font-size: clamp(13px, 3.35vw, 14.5px);
    line-height: 1.38;
}

.hero-actions {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.16fr);
    gap: clamp(7px, 2.1vw, 10px);
    width: calc(100vw - var(--pad) * 2);
    max-width: 394px;
}

.hero-actions button {
    width: 100%;
    min-height: clamp(40px, 10.2vw, 46px);
    padding: 0 clamp(7px, 2.1vw, 11px);
    border-radius: 7px;
    font-size: clamp(11px, 3vw, 13px);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 14px var(--pad);
    background: #fff;
}

.trust-strip span {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 2px 7px;
    padding: 0 7px;
    border-right: 1px solid #cfd8e6;
}

.trust-strip span:first-child {
    padding-left: 0;
}

.trust-strip span:last-child {
    padding-right: 0;
    border-right: 0;
}

.trust-strip svg {
    grid-row: span 2;
    width: 21px;
    height: 21px;
    color: var(--blue);
}

.trust-strip span:nth-child(3) svg, .trust-strip span:nth-child(4) svg {
    color: var(--green);
}

.trust-strip b, .trust-strip small {
    font-size: 11px;
    line-height: 1.05;
}

.trust-strip small {
    color: #35425c;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 0;
    margin: 10px var(--pad) 22px;
    padding: 14px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.benefits article {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 4px 10px;
    padding: 0 10px;
}

.benefits article:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.benefits svg {
    grid-row: span 2;
    width: 29px;
    height: 29px;
    color: var(--blue);
}

.benefits article:nth-child(2) svg, .benefits article:nth-child(4) svg {
    color: var(--green);
}

.benefits b {
    font-size: 12px;
    line-height: 1.25;
}

.benefits small {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.3;
}

.block {
    padding: 0 var(--pad) 24px;
}

.block h2, .quality h2, .secure-banner h2 {
    margin: 0;
    color: var(--deep);
    font-size: 22px;
    line-height: 1.16;
}

.block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--blue);
    font-weight: 800;
}

.featured {
    display: grid;
    grid-template-columns: repeat(4, 154px);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.featured::-webkit-scrollbar, .chips::-webkit-scrollbar {
    display: none;
}

.feature-card {
    display: flex;
    flex-direction: column;
    min-height: 352px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    scroll-snap-align: start;
}

.feature-card img {
    width: 100%;
    height: 142px;
    object-fit: contain;
    object-position: center bottom;
    margin-bottom: 12px;
    padding: 4px 12px 0;
}

.feature-card h3 {
    min-height: 38px;
    margin: 0 0 4px;
    color: var(--blue);
    font-size: 16px;
    line-height: 1.18;
}

.feature-card:nth-child(even) h3 {
    color: var(--green);
}

.feature-card p {
    height: 34px;
    margin: 0 0 7px;
    color: #4e5c73;
    font-size: 11px;
    line-height: 1.25;
}

.mini-badge {
    display: inline-flex;
    min-height: 21px;
    align-items: center;
    padding: 0 8px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    background: #eaf4ff;
    border-radius: 999px;
}

.feature-card strong {
    display: block;
    margin: auto 0 10px;
    font-size: 16px;
}

.feature-card strong small {
    color: var(--muted);
    font-weight: 500;
}

.feature-card button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 36px;
    flex: 0 0 auto;
    gap: 6px;
    color: #202b3e;
    font-weight: 650;
    border: 1px solid #8b99aa;
    border-radius: 7px;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 11px;
    padding: 14px 0 0;
}

.dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d7dde6;
}

.dots button.active {
    background: var(--blue);
}

.quality {
    margin: 0 var(--pad) 24px;
    padding: 14px;
    border: 1px solid #d8e9ff;
    border-radius: 12px;
    background: #fff;
}

.quality-copy {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 8px 14px;
    align-items: center;
}

.quality-copy > span {
    grid-row: span 3;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: var(--blue);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.quality-copy p {
    margin: 0;
    color: #45546d;
    font-size: 13px;
    line-height: 1.35;
}

.quality table {
    width: 100%;
    margin-top: 14px;
    border-collapse: collapse;
    font-size: 11px;
}

.quality th, .quality td {
    padding: 6px;
    text-align: left;
    border-bottom: 1px solid #edf1f6;
}

.quality td:last-child {
    color: var(--green);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 118px);
    gap: 12px;
    overflow-x: auto;
    margin-top: 16px;
    scrollbar-width: none;
}

.steps article {
    position: relative;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 6px;
}

.steps b {
    position: absolute;
    top: 0;
    left: 14px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: #fff;
    font-size: 12px;
    background: var(--blue);
    border-radius: 999px;
}

.steps span {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
}

.steps svg {
    width: 31px;
    height: 31px;
}

.steps strong {
    color: var(--deep);
    font-size: 13px;
    line-height: 1.15;
}

.steps small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.25;
}

.secure-banner {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    margin: 0 var(--pad) 18px;
    padding: 16px;
    border: 1px solid #dbe8c8;
    border-radius: 10px;
    background: #fbfff3;
}

.secure-banner > svg {
    width: 54px;
    height: 54px;
    padding: 10px;
    color: #fff;
    background: #29ce31;
    border-radius: 999px;
}

.secure-banner p {
    margin: 7px 0 0;
    color: #5f6876;
    font-size: 13px;
    line-height: 1.35;
}

.secure-banner .green-btn {
    grid-column: 1 / -1;
    min-height: 50px;
    border-radius: 7px;
}

.sub-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 162px;
    padding: 24px var(--pad) 14px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0 55%, rgba(255, 255, 255, 0.72) 74%, rgba(255, 255, 255, 0.06)), url("/public/uploads/20260426/cab1e45ec018d61b21c8099e53b292bd.jpg") right center / auto 100% no-repeat, #fff;
}

.sub-hero::after {
    display: none;
}

.sub-hero h1 {
    margin: 0;
    color: var(--deep);
    font-size: 38px;
    line-height: 1.08;
}

.sub-hero p {
    margin: 12px 0 0;
    color: #394a68;
    font-size: 15px;
    line-height: 1.45;
}

.sub-hero img {
    display: none;
}

.catalog-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 12px var(--pad);
}

.catalog-trust span, .chips button, .badges span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--blue);
    font-weight: 760;
    background: #fff;
    border: 1px solid #dce9fb;
    border-radius: 9px;
}

.catalog-trust span {
    min-height: 32px;
    font-size: 12px;
}

.tools {
    display: grid;
    grid-template-columns: 1fr 128px;
    gap: 10px;
    padding: 0 var(--pad) 12px;
}

.tools label {
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid #dce6f2;
    border-radius: 9px;
}

.tools input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--ink);
    font-size: 12px;
}

.tools button {
    color: #5f6877;
    border: 1px solid #dce6f2;
    border-radius: 9px;
    font-size: 12px;
}

.tools b {
    color: #1a253a;
}

.chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 var(--pad) 11px;
    scrollbar-width: none;
}

.chips button {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 11px;
    font-size: 11px;
    white-space: nowrap;
}

.chips .active {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

.product-list {
    display: grid;
    gap: 6px;
    padding: 0 var(--pad) 16px;
}

.product-card {
    position: relative;
    display: grid;
    grid-template-columns: 70px 1fr 102px 20px;
    gap: 8px;
    align-items: center;
    min-height: 103px;
    padding: 7px 10px 7px 6px;
    border: 1px solid #e1eaf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(30, 69, 122, 0.05);
}

.product-card > img {
    width: 68px;
    height: 89px;
    object-fit: contain;
    object-position: center bottom;
}

.product-card h2, .cart-product h2 {
    margin: 0 0 6px;
    color: var(--blue);
    font-size: 16px;
    line-height: 1.1;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.badges span {
    min-height: 20px;
    padding: 0 6px;
    font-size: 10px;
    background: #eff7ff;
    border-radius: 6px;
}

.badges .coa {
    color: var(--green);
    background: #e9faef;
    border-color: #b7ebca;
}

.product-card p {
    margin: 0;
    color: #354864;
    font-size: 12px;
    line-height: 1.32;
}

.product-price {
    display: grid;
    justify-items: end;
    gap: 5px;
}

.product-price strong {
    color: var(--deep);
    font-size: 17px;
}

.product-price small {
    color: #6a7588;
    font-size: 10px;
}

.product-price button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 34px;
    gap: 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    background: var(--blue);
    border-radius: 8px;
}

.favorite {
    align-self: start;
    color: #b4bfce;
}

.favorite.active {
    color: #ef3f4a;
}

.favorite.active svg {
    fill: currentColor;
}

.cart-panel, .summary, .message-panel, .wa-steps {
    margin: 0 var(--pad) 14px;
    border: 1px solid #e2eaf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(18, 52, 96, 0.06);
}

.cart-panel {
    overflow: hidden;
}

.cart-head {
    display: none;
}

.cart-row {
    display: grid;
    grid-template-columns: 1fr 26px;
    grid-template-areas: "product remove" "price price" "qty total";
    gap: 12px;
    align-items: center;
    padding: 15px 13px;
    border-bottom: 1px solid #e5edf6;
}

.cart-row:last-child {
    border-bottom: 0;
}

.cart-product {
    grid-area: product;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-width: 0;
}

.cart-product img {
    width: 70px;
    height: 108px;
    object-fit: contain;
    object-position: center bottom;
}

.cart-product p {
    margin: 0;
    color: #40506a;
    font-size: 13px;
    line-height: 1.32;
}

.line-price {
    grid-area: price;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    color: var(--deep);
    background: #f7fbff;
    border: 1px solid #e0eaf7;
    border-radius: 10px;
}

.line-price b, .line-total {
    color: var(--deep);
    font-size: 19px;
}

.line-price small {
    color: #68758a;
    font-size: 12px;
}

.qty {
    grid-area: qty;
    display: grid;
    grid-template-columns: 38px 1fr 38px;
    align-items: center;
    width: 145px;
    min-height: 45px;
    color: var(--deep);
    border: 1px solid #dce7f4;
    border-radius: 9px;
}

.qty button {
    display: grid;
    height: 100%;
    place-items: center;
    color: var(--deep);
}

.qty span {
    text-align: center;
    font-size: 19px;
}

.line-total {
    grid-area: total;
    justify-self: end;
    text-align: right;
}

.line-total::before {
    content: "Total";
    display: block;
    margin-bottom: 2px;
    color: #68758a;
    font-size: 12px;
    font-weight: 650;
}

.remove {
    grid-area: remove;
    align-self: start;
    justify-self: end;
    color: #8290a6;
}

.empty-cart {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 34px 18px;
    text-align: center;
}

.empty-cart b {
    color: var(--deep);
    font-size: 20px;
}

.empty-cart span {
    color: var(--muted);
    font-size: 14px;
}

.empty-cart button {
    min-height: 42px;
    padding: 0 18px;
    color: #fff;
    font-weight: 800;
    background: var(--blue);
    border-radius: 8px;
}

.checkout {
    display: grid;
    gap: 12px;
    margin: 0 var(--pad) 14px;
}

.form-panel, .totals {
    padding: 15px;
    border: 1px solid #e2eaf5;
    border-radius: 12px;
    background: #fff;
}

.form-panel {
    display: grid;
    gap: 14px;
}

.form-panel label {
    display: grid;
    gap: 8px;
    color: var(--deep);
    font-size: 15px;
    font-weight: 700;
}

.form-panel select, .form-panel input, .form-panel textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dce7f3;
    border-radius: 9px;
    color: var(--ink);
    outline: 0;
    background: #fff;
}

.form-panel select, .form-panel input {
    padding: 0 12px;
}

.form-panel label > div {
    display: grid;
    grid-template-columns: 1fr 68px;
    gap: 8px;
}

.form-panel label > div button {
    color: var(--deep);
    border: 1px solid #dce7f3;
    border-radius: 9px;
}

.form-panel textarea {
    height: 78px;
    resize: none;
    padding: 12px;
}

.form-panel small {
    justify-self: end;
    color: #96a2b4;
    font-size: 12px;
}

.totals {
    display: grid;
    gap: 13px;
}

.totals p {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    color: var(--deep);
}

.totals em {
    color: #61708a;
    font-style: normal;
}

.totals hr {
    width: 100%;
    border: 0;
    border-top: 1px solid var(--line);
}

.discount-row {
    display: none !important;
    color: var(--green) !important;
}

.discount-row.show {
    display: flex !important;
}

.grand b {
    font-size: 26px;
}

.checkout-btn {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    column-gap: 12px;
    width: calc(100% - var(--pad) * 2);
    min-height: 76px;
    margin: 0 var(--pad) 18px;
    color: #fff;
    border-radius: 10px;
    background: linear-gradient(180deg, #10b75b, #08a24d);
}

.checkout-btn svg {
    grid-row: span 2;
    width: 39px;
    height: 39px;
}

.checkout-btn span {
    font-size: 22px;
    font-weight: 850;
}

.checkout-btn small {
    justify-self: start;
    font-size: 13px;
}

.checkout-btn:disabled {
    opacity: 0.58;
}

.pay-note {
    display: grid;
    grid-template-columns: 48px 1fr 46px;
    align-items: center;
    gap: 11px;
    margin: 0 var(--pad) 16px;
    padding: 15px;
    color: #0b8a45;
    border: 1px solid #bce7cc;
    border-radius: 10px;
    background: #effbf3;
}

.pay-note > svg {
    width: 44px;
    height: 44px;
}

.pay-note b {
    display: block;
    font-size: 17px;
}

.pay-note span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
}

.whatsapp-hero h1 {
    display: flex;
    align-items: center;
    gap: 7px;
}

.whatsapp-hero h1 svg {
    width: 34px;
    height: 34px;
    color: var(--green);
}

.contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0 var(--pad) 14px;
    padding: 14px 7px;
    border: 1px solid #d7e6f7;
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--shadow);
}

.contact article {
    display: grid;
    justify-items: center;
    gap: 5px;
    text-align: center;
    padding: 0 6px;
    border-right: 1px solid #d5dfeb;
}

.contact article:last-child {
    border-right: 0;
}

.contact span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--deep);
    border: 2px solid var(--deep);
    border-radius: 999px;
}

.contact b {
    color: var(--deep);
    font-size: 12px;
}

.contact small {
    color: #263650;
    font-size: 10px;
    line-height: 1.25;
}

.summary, .message-panel, .wa-steps {
    padding: 14px;
}

.summary-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 11px;
}

.summary h2, .message-panel h2, .wa-steps h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--deep);
    font-size: 18px;
}

.summary-head span {
    color: #5c6c86;
    font-size: 13px;
}

.summary table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid #dce8f5;
    border-radius: 9px;
    font-size: 11px;
}

.summary th, .summary td {
    padding: 9px 5px;
    text-align: center;
    border-bottom: 1px solid #e7eef7;
}

.summary th {
    color: var(--deep);
    background: #f3f8ff;
}

.summary td:first-child, .summary th:first-child {
    text-align: left;
}

.summary tfoot td {
    border-bottom: 0;
    font-size: 13px;
}

.summary tfoot td:last-child {
    color: var(--blue);
    font-size: 18px;
    font-weight: 850;
}

.message-bubble {
    position: relative;
    margin: 14px auto 18px;
    padding: 14px 16px 18px;
    color: #17233a;
    border: 1px solid #a9e3be;
    border-radius: 10px;
    background: #edfdf0;
    font-size: 14px;
    line-height: 1.45;
}

.message-bubble p {
    margin: 0 0 8px;
}

.message-bubble ul {
    margin: 0 0 8px;
    padding-left: 19px;
}

.message-bubble time {
    display: block;
    color: #4a8578;
    text-align: right;
}

.quick {
    padding: 13px;
    border: 1px solid #e3ebf5;
    border-radius: 10px;
}

.quick > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.quick button {
    min-height: 39px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    border: 1px solid #cfe1fb;
    border-radius: 999px;
}

.open-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 58px;
    margin-top: 14px;
    color: #fff;
    font-size: 22px;
    font-weight: 850;
    border-radius: 10px;
    background: linear-gradient(180deg, #0fb65a, #08a24d);
}

.message-panel > p {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 12px 0 0;
    color: #467a7a;
    font-size: 12px;
    text-align: center;
}

.wa-steps > div {
    display: grid;
    grid-template-columns: 1fr 16px 1fr 16px 1fr;
    gap: 6px;
    align-items: center;
    margin-top: 14px;
}

.wa-steps article {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 5px;
}

.wa-steps b {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--deep);
    border: 2px solid var(--deep);
    border-radius: 999px;
}

.wa-steps strong {
    color: var(--deep);
    font-size: 12px;
}

.wa-steps span {
    color: #344765;
    font-size: 10px;
    line-height: 1.2;
}

.wa-steps i {
    width: 14px;
    height: 14px;
    border-top: 3px solid #aab9ca;
    border-right: 3px solid #aab9ca;
    transform: rotate(45deg);
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(100vw, 430px);
    height: calc(var(--nav-h) + env(safe-area-inset-bottom));
    padding: 6px 10px env(safe-area-inset-bottom);
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #dbe5f1;
    backdrop-filter: blur(16px);
}

.bottom-nav button {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    min-width: 0;
    color: #6e7b8e;
    font-size: 12px;
}

.bottom-nav svg {
    width: 27px;
    height: 27px;
}

.bottom-nav .active {
    color: var(--blue);
}

.cart-count {
    position: absolute;
    top: 6px;
    right: calc(50% - 23px);
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 850;
    background: #ff3c3c;
    border-radius: 999px;
}

.cart-count[data-count="0"], .desktop-nav .cart-count[data-count="0"] {
    display: none;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom));
    z-index: 80;
    min-width: 220px;
    max-width: min(360px, calc(100vw - 36px));
    padding: 13px 18px;
    color: #fff;
    text-align: center;
    font-weight: 800;
    background: rgba(8, 40, 97, 0.94);
    border-radius: 999px;
    box-shadow: 0 14px 35px rgba(8, 40, 97, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 14px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (max-width: 380px) {
    :root {
        --pad: 14px;
    }

    .logo-btn img {
        width: 120px;
        height: auto;
    }

    .logo-text {
        font-size: 26px;
    }

    .logo-btn::after {
        font-size: 26px;
    }

    .wa-pill {
        padding: 0 11px;
        font-size: 13px;
    }

    .home-hero {
        padding-top: 24px;
        background-position: center, right center;
        background-size: auto, auto 100%;
    }

    .home-copy {
        width: clamp(184px, 55vw, 204px);
    }

    .home-copy h1 {
        font-size: clamp(29px, 8.3vw, 31px);
    }

    .home-copy p {
        font-size: 12.5px;
    }

    .hero-actions button {
        padding: 0 7px;
        font-size: 11px;
    }

    .product-card {
        grid-template-columns: 61px 153px 70px 14px;
    }

    .product-card > img {
        width: 60px;
    }

    .cart-product {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 10px;
    }

    .cart-product img {
        width: 61px;
        height: 96px;
    }

    .qty {
        width: 128px;
    }
}

@media (max-width: 360px) {
    .logo-btn {
        gap: 6px;
    }

    .logo-btn img {
        width: 125px;
        height: auto;
    }

    .logo-text, .logo-btn::after {
        font-size: 23px;
    }

    .home-hero {
        padding-top: 22px;
        background-position: center, right center;
        background-size: auto, auto 100%;
    }

    .home-copy {
        width: 178px;
    }

    .hero-actions {
        gap: 7px;
    }

    .hero-actions button {
        min-height: 39px;
        font-size: 10.5px;
    }

    .bottom-nav button {
        font-size: 11px;
    }

    .bottom-nav svg {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 340px) {
    :root {
        --pad: 12px;
    }

    .home-hero {
        background-position: center, right -18px center;
        background-size: auto, auto 98%;
    }

    .home-copy h1 {
        font-size: 28px;
    }

    .home-copy p {
        font-size: 12px;
    }

    .hero-actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    }
}

@media (min-width: 700px) {
    .app {
        margin: 24px 0;
        border-radius: 22px;
    }
}

@media (min-width: 900px) {
    :root {
        --pad: 28px;
        --nav-h: 0px;
    }

    body {
        display: block;
        background: #f4f8fd;
    }

    .app {
        width: 100%;
        min-height: 100dvh;
        margin: 0;
        overflow: visible;
        border-radius: 0;
        box-shadow: none;
    }

    main {
        padding-bottom: 56px;
    }

    .topbar {
        height: 86px;
        padding: 0 max(42px, calc((100vw - 1180px) / 2));
        background: rgba(255, 255, 255, 0.93);
    }

    .logo-btn img {
        width: 120px;
        height: auto;
    }

    .logo-text {
        font-size: 34px;
    }

    .logo-btn::after {
        font-size: 34px;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
        margin-right: 18px;
    }

    .desktop-nav button {
        position: relative;
        min-height: 42px;
        padding: 0 17px;
        color: #52617a;
        font-weight: 750;
        border-radius: 999px;
    }

    .desktop-nav button.active {
        color: #fff;
        background: var(--blue);
    }

    .desktop-nav .cart-count {
        position: static;
        display: inline-grid;
        margin-left: 6px;
        transform: translateY(-1px);
    }

    .menu-btn {
        display: none;
    }

    body[data-page="home"] .topbar .wa-pill, .topbar .wa-pill {
        display: inline-flex;
        min-width: 150px;
        min-height: 46px;
    }

    .bottom-nav {
        display: none;
    }

    .toast {
        bottom: 36px;
    }

    .home-hero {
        width: min(1180px, calc(100vw - 84px));
        min-height: 560px;
        margin: 34px auto 28px;
        padding: 86px 68px;
        background: #fff;
        border: 1px solid #dce8f5;
        border-radius: 28px;
        box-shadow: 0 28px 80px rgba(18, 52, 96, 0.13);
    }

    .home-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 36%, rgba(255, 255, 255, 0.72) 52%, rgba(255, 255, 255, 0.06) 78%);
        pointer-events: none;
    }

    .home-hero::after {
        content: none;
    }

    .home-hero > img {
        position: absolute;
        display: block;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .home-copy {
        z-index: 2;
        width: 510px;
        max-width: none;
    }

    .home-copy h1 {
        font-size: 66px;
    }

    .home-copy > i {
        width: 88px;
        height: 4px;
        margin: 25px 0 25px;
    }

    .home-copy p {
        max-width: 460px;
        margin-bottom: 34px;
        font-size: 23px;
    }

    .hero-actions button {
        width: auto;
        min-height: 58px;
        padding: 0 26px;
        font-size: 17px;
    }

    .hero-actions {
        display: flex;
        width: auto;
        max-width: none;
        gap: 10px;
    }

    .trust-strip {
        width: min(1080px, calc(100vw - 120px));
        margin: 0 auto 34px;
        padding: 0;
    }

    .trust-strip span {
        grid-template-columns: 38px 1fr;
        min-height: 58px;
        padding: 0 26px;
    }

    .trust-strip svg {
        width: 32px;
        height: 32px;
    }

    .trust-strip b, .trust-strip small {
        font-size: 16px;
    }

    .benefits {
        width: min(1180px, calc(100vw - 84px));
        grid-template-columns: repeat(4, 1fr);
        margin: 0 auto 42px;
        padding: 24px 18px;
        border-radius: 16px;
    }

    .benefits article {
        grid-template-columns: 46px 1fr;
        padding: 0 18px;
        border-right: 1px solid var(--line);
    }

    .benefits article:last-child {
        border-right: 0;
    }

    .benefits svg {
        width: 42px;
        height: 42px;
    }

    .benefits b {
        font-size: 16px;
    }

    .benefits small {
        font-size: 13px;
    }

    .block, .quality, .secure-banner, .catalog-trust, .tools, .chips, .product-list, .checkout, .cart-panel, .summary, .message-panel, .wa-steps, .contact {
        width: min(1180px, calc(100vw - 84px));
        margin-left: auto;
        margin-right: auto;
    }

    .block {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 44px;
    }

    .block h2, .quality h2, .secure-banner h2 {
        font-size: 30px;
    }

    .featured {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
        overflow: visible;
    }

    .dots {
        display: none;
    }

    .feature-card {
        min-height: 430px;
        padding: 18px;
        border-radius: 14px;
    }

    .feature-card img {
        width: 100%;
        height: 176px;
        padding: 0 30px;
    }

    .feature-card h3 {
        min-height: 52px;
        font-size: 20px;
    }

    .feature-card p {
        height: 44px;
        font-size: 14px;
    }

    .quality {
        display: grid;
        grid-template-columns: 0.9fr 1.2fr;
        gap: 22px;
        padding: 22px;
    }

    .steps {
        grid-template-columns: repeat(4, 1fr);
        overflow: visible;
    }

    .secure-banner {
        grid-template-columns: 74px 1fr 300px;
        align-items: center;
        padding: 24px 28px;
    }

    .secure-banner .green-btn {
        grid-column: auto;
        min-height: 58px;
    }

    .sub-hero {
        width: min(1180px, calc(100vw - 84px));
        min-height: 310px;
        margin: 34px auto 24px;
        padding: 56px 64px;
        grid-template-columns: 1fr;
        background-size: cover;
        background-position: center;
        border: 1px solid #dce8f5;
        border-radius: 24px;
        box-shadow: 0 20px 60px rgba(18, 52, 96, 0.1);
    }

    .sub-hero h1 {
        font-size: 58px;
    }

    .sub-hero p {
        max-width: 560px;
        font-size: 22px;
    }

    .sub-hero img {
        display: none;
    }

    .catalog-trust {
        padding-left: 0;
        padding-right: 0;
    }

    .catalog-trust span {
        min-height: 48px;
        font-size: 16px;
    }

    .tools {
        grid-template-columns: 1fr 220px;
        padding-left: 0;
        padding-right: 0;
    }

    .tools label, .tools button {
        min-height: 50px;
        font-size: 16px;
    }

    .chips {
        padding-left: 0;
        padding-right: 0;
    }

    .chips button {
        min-height: 38px;
        padding: 0 18px;
        font-size: 14px;
    }

    .product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        padding-left: 0;
        padding-right: 0;
    }

    .product-card {
        min-height: 166px;
        grid-template-columns: 92px minmax(0, 1fr) 126px 22px;
        padding: 16px;
    }

    .product-card > img {
        width: 86px;
        height: 124px;
    }

    .product-card h2, .cart-product h2 {
        font-size: 22px;
    }

    .product-card p {
        font-size: 14px;
    }

    .cart-panel {
        max-width: 900px;
    }

    .cart-row {
        grid-template-columns: 1fr 28px;
        padding: 20px;
    }

    .cart-product {
        grid-template-columns: 98px minmax(0, 1fr);
    }

    .cart-product img {
        width: 92px;
        height: 132px;
    }

    .checkout {
        max-width: 900px;
        grid-template-columns: 1fr 340px;
    }

    .checkout-btn, .pay-note {
        width: min(900px, calc(100vw - 84px));
        margin-left: auto;
        margin-right: auto;
    }

    .contact {
        grid-template-columns: repeat(3, 1fr);
        padding: 22px;
    }

    .summary, .message-panel, .wa-steps {
        max-width: 960px;
    }
}