317 lines
11 KiB
CSS
317 lines
11 KiB
CSS
:root {
|
|
--bg: #fff8ec;
|
|
--surface: #ffffff;
|
|
--surface-2: #fff1c7;
|
|
--text: #12311f;
|
|
--muted: #607064;
|
|
--border: #f0d29a;
|
|
--primary: #12843b;
|
|
--primary-dark: #0c642c;
|
|
--accent: #f0442e;
|
|
--accent-2: #ffb703;
|
|
--accent-3: #00a7e1;
|
|
--orange: #ff7a00;
|
|
--danger: #dc2626;
|
|
--radius: 14px;
|
|
--shadow: 0 16px 38px rgba(112, 74, 18, .12);
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
html { scroll-behavior: smooth; }
|
|
body {
|
|
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-size: 15px;
|
|
}
|
|
|
|
.site-header {
|
|
background: rgba(255, 250, 239, .96);
|
|
border-top: 5px solid var(--accent-2);
|
|
border-bottom: 1px solid var(--border);
|
|
backdrop-filter: blur(10px);
|
|
box-shadow: 0 8px 24px rgba(18, 49, 31, .06);
|
|
}
|
|
|
|
.brand { font-weight: 900; letter-spacing: -.03em; display: flex; align-items: center; gap: .6rem; }
|
|
.brand-logo {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 12px;
|
|
background: #fff;
|
|
border: 2px solid var(--primary);
|
|
padding: 3px;
|
|
overflow: hidden;
|
|
box-shadow: 0 8px 18px rgba(18, 132, 59, .16);
|
|
}
|
|
.brand-logo img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 8px; }
|
|
.brand-logo.lg { width: 64px; height: 64px; border-color: var(--accent); box-shadow: 0 12px 24px rgba(240, 68, 46, .18); }
|
|
.nav-link { font-weight: 700; color: var(--text); }
|
|
.nav-link:hover { color: var(--primary); }
|
|
|
|
.hero { background: #fff8ec; border-bottom: 1px solid #f7dfae; }
|
|
.eyebrow {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
text-transform: uppercase;
|
|
letter-spacing: .12em;
|
|
font-size: .74rem;
|
|
font-weight: 900;
|
|
color: var(--primary-dark);
|
|
background: #ffe7a3;
|
|
border: 1px solid #ffd166;
|
|
border-radius: 999px;
|
|
padding: 6px 10px;
|
|
}
|
|
.eyebrow::before { content: "•"; color: var(--accent); font-size: 1.2rem; line-height: 0; }
|
|
h1, h2, h3 { letter-spacing: -.04em; }
|
|
.lead { max-width: 680px; }
|
|
|
|
.market-card,
|
|
.surface,
|
|
.product-card,
|
|
.feature,
|
|
.empty-state,
|
|
.confirmation {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.market-card { padding: 20px; border-color: #ffc247; }
|
|
.market-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
|
|
.market-top small { display: block; color: var(--muted); }
|
|
.scan-box {
|
|
border: 2px dashed var(--primary);
|
|
border-radius: 12px;
|
|
min-height: 190px;
|
|
display: grid;
|
|
place-items: center;
|
|
text-align: center;
|
|
background: #fff4c8;
|
|
color: var(--text);
|
|
padding: 18px;
|
|
}
|
|
.scan-box span { display: block; font-weight: 900; color: var(--accent); }
|
|
.scan-box small { display: block; color: var(--muted); max-width: 260px; }
|
|
.scan-box.compact { min-height: 140px; margin-bottom: 20px; }
|
|
.status-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
border-top: 1px solid var(--border);
|
|
padding-top: 14px;
|
|
margin-top: 14px;
|
|
color: var(--muted);
|
|
}
|
|
.status-row strong { color: var(--primary-dark); }
|
|
|
|
.payment-icons {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
.payment-icons.compact { margin-top: 8px; }
|
|
.payment-card-icon {
|
|
min-width: 74px;
|
|
height: 34px;
|
|
border-radius: 9px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 10px;
|
|
font-size: .78rem;
|
|
font-weight: 900;
|
|
letter-spacing: .03em;
|
|
border: 1px solid rgba(18, 49, 31, .14);
|
|
box-shadow: 0 8px 16px rgba(18, 49, 31, .08);
|
|
}
|
|
.payment-card-icon.visa {
|
|
background: linear-gradient(135deg, #1434cb 0%, #1a4cff 100%);
|
|
color: #fff;
|
|
font-style: italic;
|
|
letter-spacing: .1em;
|
|
}
|
|
.payment-card-icon.mastercard {
|
|
position: relative;
|
|
justify-content: flex-end;
|
|
min-width: 112px;
|
|
padding-left: 42px;
|
|
background: #fff;
|
|
color: #231f20;
|
|
}
|
|
.payment-card-icon.mastercard::before,
|
|
.payment-card-icon.mastercard::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 8px;
|
|
width: 19px;
|
|
height: 19px;
|
|
border-radius: 999px;
|
|
}
|
|
.payment-card-icon.mastercard::before { left: 12px; background: rgba(235, 0, 27, .9); }
|
|
.payment-card-icon.mastercard::after { left: 25px; background: rgba(247, 158, 27, .9); mix-blend-mode: multiply; }
|
|
|
|
.section-heading { margin-bottom: 22px; max-width: 760px; }
|
|
.section-heading p { color: var(--muted); margin: 0; }
|
|
.product-card { overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
|
|
.product-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(112, 74, 18, .18); }
|
|
.product-visual {
|
|
height: 152px;
|
|
background: var(--primary);
|
|
color: #fff;
|
|
display: grid;
|
|
place-items: center;
|
|
border-bottom: 6px solid var(--accent-2);
|
|
}
|
|
.product-visual span { font-size: 2.4rem; font-weight: 900; letter-spacing: -.08em; text-shadow: 0 3px rgba(0,0,0,.12); }
|
|
.product-visual.detail { height: 420px; border-radius: var(--radius); box-shadow: var(--shadow); }
|
|
.row.g-3 > [class*="col-"]:nth-child(3n+1) .product-visual { background: var(--primary); }
|
|
.row.g-3 > [class*="col-"]:nth-child(3n+2) .product-visual { background: var(--orange); }
|
|
.row.g-3 > [class*="col-"]:nth-child(3n+3) .product-visual { background: var(--accent-3); }
|
|
.product-body { padding: 18px; }
|
|
.product-body h3 { font-size: 1.16rem; margin: 14px 0 8px; }
|
|
.product-body p { color: var(--muted); min-height: 68px; }
|
|
.badge.subtle { background: #fff0b8; color: #7a4b00; border: 1px solid #ffd166; }
|
|
.stock { font-size: .86rem; color: var(--primary-dark); font-weight: 800; }
|
|
.price { font-weight: 900; font-size: 1.25rem; color: var(--accent); }
|
|
.price.big { font-size: 2rem; }
|
|
.qty { max-width: 84px; }
|
|
|
|
.feature {
|
|
padding: 18px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
min-height: 112px;
|
|
border-top: 6px solid var(--primary);
|
|
}
|
|
.row.g-3 > [class*="col-"]:nth-child(2) .feature { border-top-color: var(--accent); }
|
|
.row.g-3 > [class*="col-"]:nth-child(3) .feature { border-top-color: var(--accent-2); }
|
|
.feature strong { color: var(--text); }
|
|
.feature span { color: var(--muted); }
|
|
.footer { border-top: 1px solid var(--border); padding: 24px 0; color: var(--muted); font-size: .9rem; background: #fff3cf; }
|
|
|
|
.whatsapp-float {
|
|
position: fixed;
|
|
right: 18px;
|
|
bottom: 18px;
|
|
z-index: 20;
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 16px;
|
|
background: #19a354;
|
|
color: #fff;
|
|
display: grid;
|
|
place-items: center;
|
|
text-decoration: none;
|
|
font-weight: 900;
|
|
box-shadow: 0 14px 28px rgba(25, 163, 84, .28);
|
|
}
|
|
.whatsapp-float:hover { background: #0f8a43; color: #fff; transform: translateY(-2px); }
|
|
|
|
.cart-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
|
|
|
|
.checkout-panel {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
padding: 20px;
|
|
border-color: #ffc247;
|
|
}
|
|
.checkout-panel h2 {
|
|
margin: 10px 0 6px;
|
|
font-size: 1.35rem;
|
|
}
|
|
.checkout-panel p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
}
|
|
.checkout-panel-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
min-width: min(100%, 360px);
|
|
}
|
|
.accepted-cards {
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 12px;
|
|
margin-bottom: 18px;
|
|
background: #fffaf0;
|
|
}
|
|
.accepted-cards > span {
|
|
display: block;
|
|
color: var(--muted);
|
|
font-size: .86rem;
|
|
font-weight: 800;
|
|
margin-bottom: 8px;
|
|
}
|
|
.total, .summary-total { font-size: 1.1rem; font-weight: 900; }
|
|
.form-panel, .summary { padding: 20px; }
|
|
.summary h2 { font-size: 1.25rem; }
|
|
.summary-line, .summary-total { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding: 12px 0; }
|
|
.summary-total { border-bottom: 1px solid var(--border); color: var(--accent); }
|
|
.empty-state, .confirmation { padding: 30px; text-align: center; }
|
|
.confirmation { max-width: 760px; margin: auto; }
|
|
.back-link { color: var(--primary-dark); font-weight: 800; text-decoration: none; }
|
|
.checkout-strip { max-width: 420px; }
|
|
.status { font-size: .72rem; border-radius: 999px; padding: 3px 8px; background: #fff0b8; color: #7a4b00; border: 1px solid #ffd166; }
|
|
.status.approved { background: #dcfce7; color: #166534; border-color: #86efac; }
|
|
|
|
.tech-loader { position: fixed; inset: 0; background: #fff8ec; z-index: 9999; display: grid; place-items: center; transition: opacity .28s ease, visibility .28s ease; }
|
|
.tech-loader.is-hidden { opacity: 0; visibility: hidden; }
|
|
.loader-card { width: min(300px, 90vw); background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 22px; text-align: center; box-shadow: var(--shadow); }
|
|
.loader-mark { width: 58px; height: 58px; border-radius: 16px; background: #fff; border: 2px solid var(--accent); display: grid; place-items: center; margin: 0 auto 14px; padding: 4px; box-shadow: 0 10px 20px rgba(240, 68, 46, .14); overflow: hidden; }
|
|
.loader-mark img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 10px; }
|
|
.loader-line { height: 4px; background: #ffe4a8; overflow: hidden; border-radius: 99px; }
|
|
.loader-line:before { content: ""; display: block; width: 40%; height: 100%; background: var(--primary); animation: loadline 1s ease-in-out infinite; }
|
|
.loader-card p { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
|
|
@keyframes loadline { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }
|
|
|
|
.btn { border-radius: 10px; font-weight: 800; }
|
|
.btn-dark {
|
|
--bs-btn-bg: var(--primary);
|
|
--bs-btn-border-color: var(--primary);
|
|
--bs-btn-hover-bg: var(--primary-dark);
|
|
--bs-btn-hover-border-color: var(--primary-dark);
|
|
--bs-btn-active-bg: var(--primary-dark);
|
|
--bs-btn-active-border-color: var(--primary-dark);
|
|
}
|
|
.btn-outline-dark {
|
|
--bs-btn-color: var(--primary-dark);
|
|
--bs-btn-border-color: var(--primary);
|
|
--bs-btn-hover-bg: var(--primary);
|
|
--bs-btn-hover-border-color: var(--primary);
|
|
--bs-btn-hover-color: #fff;
|
|
}
|
|
.btn-outline-secondary {
|
|
--bs-btn-color: #7a4b00;
|
|
--bs-btn-border-color: #ffb703;
|
|
--bs-btn-hover-bg: #ffb703;
|
|
--bs-btn-hover-border-color: #ffb703;
|
|
--bs-btn-hover-color: #12311f;
|
|
}
|
|
.alert-success { background: #dcfce7; border-color: #86efac; color: #14532d; }
|
|
.text-secondary { color: var(--muted) !important; }
|
|
.form-control, .form-select { border-radius: 10px; border-color: var(--border); }
|
|
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(18, 132, 59, .14); }
|
|
|
|
@media (max-width: 767px) {
|
|
.display-5 { font-size: 2.1rem; }
|
|
.product-visual.detail { height: 260px; }
|
|
.cart-actions { align-items: stretch; }
|
|
.cart-actions .btn { width: 100%; }
|
|
.checkout-panel { align-items: stretch; flex-direction: column; }
|
|
.checkout-panel-actions { justify-content: stretch; min-width: 100%; }
|
|
.checkout-panel-actions .btn { width: 100%; }
|
|
.total { width: 100%; }
|
|
}
|