:root {
    --ink: #171717;
    --muted: #6f746f;
    --paper: #f7f6f1;
    --accent: #d8ff57;
    --line: #e7e5df;
    --warm: #f2eee6;
}

html { scroll-behavior: smooth; }
body { color: var(--ink); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
.top-strip { background: var(--ink); color: #fff; }
.navbar-brand { letter-spacing: -.04em; font-size: 1.35rem; }
.navbar { min-height: 72px; }
.nav-link { font-weight: 500; }
.btn { border-radius: .65rem; font-weight: 600; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #343434; border-color: #343434; }
.form-control, .form-select { border-radius: .6rem; border-color: #d9d7d0; min-height: 44px; }
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 .2rem rgba(23,23,23,.1); }
.eyebrow { display: inline-block; color: #666b65; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-section { background: linear-gradient(135deg, #faf9f5 0%, #f0eee6 100%); border-bottom: 1px solid var(--line); }
.py-lg-6 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
.hero-panel { background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 1.5rem; box-shadow: 0 24px 70px rgba(31,31,29,.09); }
.hero-icon, .success-check { width: 56px; height: 56px; display: grid; place-items: center; background: var(--accent); color: var(--ink); border-radius: 50%; font-size: 1.4rem; font-weight: 800; }
.feature-line { display: flex; align-items: center; gap: 1rem; }
.feature-line > span { color: #989b95; font-weight: 700; }
.feature-line strong, .feature-line small { display: block; }
.feature-line small { color: var(--muted); margin-top: .15rem; }
.section-heading h2 { letter-spacing: -.03em; }
.category-tile { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: #fff; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.category-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.category-tile span { font-size: 1.25rem; font-weight: 750; }
.category-tile small { color: var(--muted); }
.product-card { border-radius: 1rem; overflow: hidden; transition: transform .22s, box-shadow .22s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(0,0,0,.11) !important; }
.product-image-wrap { position: relative; background: var(--paper); overflow: hidden; aspect-ratio: 1 / 1; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-image { transform: scale(1.035); }
.product-badge { position: absolute; top: .8rem; left: .8rem; }
.price { font-size: 1.06rem; }
.trust-band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-panel, .summary-card, .checkout-panel, .auth-card, .success-card { border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.filter-panel.sticky-lg-top, .summary-card.sticky-lg-top { top: 96px; z-index: 10; }
.empty-state { background: var(--paper); border: 1px dashed #c9c6bc; border-radius: 1rem; }
.detail-image-panel { background: var(--paper); border-radius: 1.25rem; overflow: hidden; aspect-ratio: 1 / 1; }
.detail-image-panel img { height: 100%; object-fit: cover; }
.product-description { color: #4f534f; line-height: 1.75; }
.cart-thumb { width: 66px; height: 66px; border-radius: .6rem; object-fit: cover; background: var(--paper); }
.cart-table > :not(caption) > * > * { padding-block: 1rem; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .45rem 0; }
.auth-card { max-width: 620px; box-shadow: 0 24px 70px rgba(31,31,29,.07); }
.success-card { max-width: 760px; box-shadow: 0 24px 70px rgba(31,31,29,.07); }
.info-box { display: flex; flex-direction: column; gap: .3rem; background: var(--paper); border-radius: .75rem; padding: 1rem; }
.info-box small { color: var(--muted); }
.payment-choice { display: flex; align-items: flex-start; gap: .75rem; border: 1px solid var(--line); border-radius: .75rem; padding: 1rem; }
.payment-choice input { margin-top: .25rem; }
.payment-choice label { flex: 1; cursor: pointer; }
.payment-choice label strong, .payment-choice label span { display: block; }
.payment-choice label span { color: var(--muted); font-size: .9rem; margin-top: .15rem; }
.payment-extra { padding: 0 1rem .25rem 2.5rem; }
.kowri-payment-widget { display: inline-block; }
.kowri-payment-widget .modal { text-align: left; }
.kowri-payment-widget .modal-content { border-radius: 1.15rem; }
.kowri-order-total { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: .8rem; background: var(--paper); }
.kowri-order-total span { color: var(--muted); font-size: .9rem; }
.kowri-order-total strong { font-size: 1.15rem; }
.kowri-processing .spinner-border { width: 3rem; height: 3rem; }
.kowri-processing .progress { height: .7rem; border-radius: 999px; background: #e9ece6; }
.kowri-result-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: #d8ff57; color: #171717; font-size: 1.7rem; font-weight: 800; }
.kowri-result-icon.is-error { background: #f8d7da; color: #842029; }
.account-nav .list-group-item { padding: .85rem 1rem; }
.site-footer { background: var(--ink); color: #fff; }
.site-footer a { color: rgba(255,255,255,.65); text-decoration: none; line-height: 2; }
.site-footer a:hover { color: #fff; }

@media (max-width: 991.98px) {
    .py-lg-6 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
    .navbar-collapse { padding: 1rem 0; }
    .sticky-lg-top { position: static !important; }
}

@media (max-width: 575.98px) {
    .display-4 { font-size: 2.6rem; }
    .cart-table { min-width: 760px; }
    .category-tile { min-height: 120px; padding: 1.1rem; }
}
