/* =========================================================
   KANHA GROCERY - COMPLETE SITE STYLESHEET
   Compatible with Site.master and Default.aspx
   ========================================================= */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: #f5f8f5;
    color: #183328;
    font-family: Arial, Helvetica, sans-serif;
}

img { max-width: 100%; }
a { -webkit-tap-highlight-color: transparent; }

/* =========================================================
   COMMON / LEGACY PAGE ELEMENTS
   ========================================================= */
.container {
    max-width: 1250px;
    margin: 25px auto;
    padding: 0 20px;
    min-height: 70vh;
}

.header {
    min-height: 76px;
    background: #fff;
    border-bottom: 1px solid #e5eee7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px max(5%, calc((100% - 1180px) / 2));
    gap: 20px;
    position: sticky;
    top: 0;
    z-index: 5;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: #173c2a;
    font-size: 20px;
    font-weight: 700;
}

.brand small {
    display: block;
    font-size: 10px;
    color: #7a9182;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 3px;
}

.brandmark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #16834a;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 23px;
}

.header nav { display: flex; align-items: center; gap: 24px; }
.header nav a {
    color: #234b35;
    text-decoration: none;
    font-weight: 600;
}

.cartpill {
    background: #e8f5eb;
    color: #137a40;
    border-radius: 20px;
    padding: 4px 9px;
}

.hero {
    background: linear-gradient(120deg, #0d6539, #249653);
    border-radius: 24px;
    padding: 48px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    overflow: hidden;
}

.hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.08; margin: 0 0 14px; }
.hero p { font-size: 16px; color: #e0f5e7; max-width: 520px; line-height: 1.6; }

.btn {
    display: inline-block;
    background: #f6c84a;
    color: #193b28;
    border: 0;
    border-radius: 10px;
    padding: 12px 19px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}
.btn-green { background: #16834a; color: #fff; }

.sectionhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 32px 0 16px;
}
.sectionhead h2 { margin: 0; font-size: 23px; }
.muted { color: #789083; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category, .product, .panel {
    background: #fff;
    border: 1px solid #e7eee8;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 5px 18px rgba(20, 60, 35, .04);
}
.category { text-align: center; text-decoration: none; color: #234b35; font-weight: 700; }
.category img { width: 100%; height: 110px; object-fit: contain; }
.product img {
    width: 100%; height: 150px; object-fit: contain;
    background: #f7faf7; border-radius: 10px;
}
.product h3 { font-size: 15px; min-height: 36px; }
.price { font-size: 19px; font-weight: 700; color: #147b43; }
.oldprice { text-decoration: line-through; color: #91a198; font-size: 13px; margin-left: 6px; }
.product .btn { width: 100%; margin-top: 10px; }

.formrow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin: 12px 0; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.input, select, textarea {
    width: 100%; padding: 12px; border: 1px solid #dce7de;
    border-radius: 9px; font: inherit; background: #fff;
}
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { padding: 12px; border-bottom: 1px solid #e8eee9; text-align: left; }
.total { font-size: 23px; font-weight: 700; color: #137b42; }
.footer { text-align: center; padding: 26px; color: #819287; border-top: 1px solid #e4ece5; margin-top: 35px; }

/* =========================================================
   TOP OFFER STRIP
   ========================================================= */
.top-offer {
    background: #123d28;
    color: #fff;
    text-align: center;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 600;
}
.top-offer span { color: #c9ed82; margin-left: 12px; }

/* =========================================================
   PREMIUM HEADER
   ========================================================= */
.kg-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 18px rgba(20, 60, 35, .07);
}

.kg-header-main {
    max-width: 1250px;
    margin: auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.kg-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.kg-logo-icon {
    width: 45px; height: 45px; border-radius: 14px;
    background: #16834a; display: grid; place-items: center;
    color: #fff; font-size: 26px; font-weight: 900;
}
.kg-logo-text strong { display: block; font-size: 17px; color: #183b29; letter-spacing: .5px; }
.kg-logo-text strong span { color: #16834a; }
.kg-logo-text small { display: block; font-size: 9px; color: #839589; letter-spacing: 1.5px; margin-top: 4px; }

.kg-location { display: flex; align-items: center; gap: 9px; min-width: 150px; }
.location-icon { font-size: 23px; }
.kg-location small, .kg-account small, .kg-cart small {
    display: block; font-size: 9px; color: #8a998e; font-weight: 700;
}
.kg-location strong, .kg-account strong, .kg-cart strong {
    display: block; color: #1e3f2c; font-size: 12px; margin-top: 4px;
}
.kg-location span { display: block; color: #16834a; font-size: 10px; margin-top: 3px; }

.kg-search {
    height: 48px; display: flex; align-items: center; flex: 1;
    min-width: 150px; background: #f5f8f5; border: 1px solid #e4ece5;
    border-radius: 12px; padding-left: 14px;
}
.kg-search > span { font-size: 25px; color: #16834a; margin-right: 9px; }
.kg-search input[type="text"] {
    flex: 1; min-width: 0; width: 100%; border: 0; outline: 0;
    background: transparent; font-size: 12px; color: #244b34;
}
.kg-search-btn {
    height: 38px; margin-right: 5px; padding: 0 17px; border: 0;
    border-radius: 9px; background: #16834a; color: #fff;
    font-weight: 700; cursor: pointer;
}
.kg-search-btn:hover { background: #106b3b; }

.kg-account, .kg-cart { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.account-icon, .cart-icon { font-size: 25px; }
.kg-cart-count {
    background: #16834a; color: #fff; min-width: 22px; height: 22px;
    border-radius: 20px; display: grid; place-items: center;
    font-size: 11px; font-weight: 800; padding: 0 5px;
}

.kg-navigation { border-top: 1px solid #f0f3f0; }
.kg-nav-inner {
    max-width: 1250px; margin: auto; padding: 0 20px;
    display: flex; gap: 29px; align-items: center; overflow-x: auto;
}
.kg-nav-inner a {
    text-decoration: none; color: #53685a; font-size: 12px;
    font-weight: 700; padding: 15px 0; white-space: nowrap;
}
.kg-nav-inner a:hover, .kg-nav-inner a.active {
    color: #16834a; border-bottom: 3px solid #16834a;
}

.kg-main-content { max-width: 1250px; margin: 25px auto; padding: 0 20px; }

/* =========================================================
   HOMEPAGE PROMO / HERO
   ========================================================= */
.offer-strip {
    background: #153d2a; color: #fff; text-align: center;
    padding: 10px; font-size: 13px; font-weight: 600;
    border-radius: 10px; margin-bottom: 22px;
}
.offer-highlight { color: #c8f36a; margin-left: 8px; }

.kg-hero {
    background: linear-gradient(115deg, #e7f6e9, #f4f9e9);
    border-radius: 25px; min-height: 365px; padding: 45px 6%;
    display: flex; align-items: center; justify-content: space-between;
    overflow: hidden; position: relative;
}
.hero-content { position: relative; z-index: 2; max-width: 570px; }
.hero-tag, .section-kicker { font-size: 11px; letter-spacing: 2px; font-weight: 800; color: #16834a; }
.kg-hero h1 { font-size: clamp(34px, 4.5vw, 55px); line-height: 1.12; color: #163c29; margin: 17px 0; }
.kg-hero h1 span { color: #16834a; }
.kg-hero p { color: #60766a; line-height: 1.8; max-width: 450px; }
.hero-btn {
    display: inline-flex; gap: 25px; align-items: center;
    background: #16834a; color: #fff; padding: 15px 23px;
    border-radius: 12px; text-decoration: none; font-weight: 700;
    margin-top: 12px; box-shadow: 0 8px 20px rgba(22, 131, 74, .19);
}
.hero-btn:hover { background: #106b3b; transform: translateY(-1px); }
.hero-features { display: flex; gap: 17px; flex-wrap: wrap; margin-top: 25px; }
.hero-features span { font-size: 12px; color: #42644e; font-weight: 600; }
.hero-visual { width: 330px; height: 290px; position: relative; flex-shrink: 0; }
.hero-circle { position: absolute; width: 250px; height: 250px; background: #cce9c9; border-radius: 50%; top: 20px; left: 35px; }
.hero-emoji { position: absolute; font-size: 150px; top: 65px; left: 75px; }
.floating-item {
    position: absolute; background: #fff; border-radius: 18px;
    width: 60px; height: 60px; display: grid; place-items: center;
    font-size: 30px; box-shadow: 0 8px 25px rgba(23, 61, 41, .12);
}
.item-one { top: 10px; left: 15px; }
.item-two { right: 5px; top: 50px; }
.item-three { left: 10px; bottom: 30px; }
.item-four { right: 20px; bottom: 20px; }
.delivery-bubble {
    position: absolute; bottom: 0; left: 65px; background: #fff;
    padding: 11px 16px; border-radius: 30px; font-size: 12px;
    font-weight: 700; color: #16834a; box-shadow: 0 5px 20px rgba(23, 61, 41, .08);
}

/* =========================================================
   HOMEPAGE SECTION HEADINGS
   ========================================================= */
.kg-section-heading {
    display: flex; justify-content: space-between; align-items: end;
    margin: 38px 0 20px; gap: 15px;
}
.kg-section-heading h2 { font-size: 25px; margin: 7px 0; color: #183b29; }
.kg-section-heading p { font-size: 13px; color: #819187; margin: 6px 0; }
.view-all { color: #16834a; text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
.view-all:hover { color: #0d6539; text-decoration: underline; }

/* =========================================================
   CATEGORY CARDS
   ========================================================= */
.kg-category-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 13px; }
.kg-category-card {
    text-decoration: none; text-align: center; color: #254a34;
    background: #fff; border: 1px solid #edf1ed; border-radius: 17px;
    padding: 13px 8px; transition: .25s; min-width: 0;
}
.kg-category-card:hover {
    transform: translateY(-5px); border-color: #9bcca7;
    box-shadow: 0 10px 25px rgba(23, 61, 41, .06);
}
.category-image {
    height: 90px; background: #f3f8f2; border-radius: 13px;
    display: grid; place-items: center; margin-bottom: 10px; overflow: hidden;
}
.category-image img { width: 100%; height: 85px; object-fit: contain; }
.kg-category-card span { display: block; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.kg-category-card small { display: block; color: #16834a; font-size: 10px; margin-top: 5px; }

/* =========================================================
   PROMO BANNERS
   ========================================================= */
.kg-promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 35px; }
.promo-card {
    min-height: 175px; border-radius: 19px; padding: 22px;
    display: flex; justify-content: space-between; align-items: center; overflow: hidden;
}
.promo-green { background: #e3f4e5; }
.promo-yellow { background: #fff3d5; }
.promo-blue { background: #e3f0fa; }
.promo-card span { font-size: 10px; letter-spacing: 1.3px; font-weight: 800; color: #64836c; }
.promo-card h3 { font-size: 21px; line-height: 1.2; margin: 9px 0 15px; color: #1c4930; }
.promo-card a { color: #16834a; font-weight: 700; font-size: 12px; text-decoration: none; }
.promo-card a:hover { text-decoration: underline; }
.promo-emoji { font-size: 65px; flex-shrink: 0; }

/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.kg-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kg-product-card {
    background: #fff; border: 1px solid #e9eee9;
    border-radius: 17px; overflow: hidden; transition: .25s; min-width: 0;
}
.kg-product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(24, 59, 41, .07); }
.product-image-box {
    height: 185px; display: grid; place-items: center;
    background: #f7faf6; position: relative; padding: 14px;
}
.product-image-box img { width: 100%; height: 100%; object-fit: contain; }
.product-badge {
    position: absolute; top: 12px; left: 12px;
    background: #e5f5e8; color: #16834a;
    padding: 5px 9px; border-radius: 6px; font-size: 10px; font-weight: 800;
}
.product-details { padding: 14px; }
.product-brand { font-size: 10px; text-transform: uppercase; color: #8b9b8f; letter-spacing: 1px; margin-bottom: 5px; }
.product-name {
    display: block; color: #243e2d; text-decoration: none;
    font-size: 14px; font-weight: 700; line-height: 1.4; min-height: 40px;
}
.product-name:hover { color: #16834a; }
.product-price-row { display: flex; justify-content: space-between; align-items: center; margin: 13px 0; }
.product-price-row strong { font-size: 18px; color: #173d29; }
.product-price-row del { font-size: 11px; color: #98a49b; margin-left: 5px; }
.add-cart-btn {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 10px 13px; border: 1px solid #16834a;
    border-radius: 9px; color: #16834a; text-decoration: none;
    font-weight: 800; font-size: 12px; background: #f3faf4;
}
.add-cart-btn span { font-size: 20px; }
.add-cart-btn:hover { background: #16834a; color: #fff; }

/* =========================================================
   BENEFITS STRIP
   ========================================================= */
.kg-benefits {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    background: #fff; border: 1px solid #e9eee9;
    border-radius: 18px; padding: 23px; margin-top: 40px;
}
.kg-benefits div { display: grid; grid-template-columns: 45px 1fr; align-items: center; min-width: 0; }
.kg-benefits div > span { grid-row: span 2; font-size: 27px; }
.kg-benefits b { font-size: 12px; color: #254a34; }
.kg-benefits small { font-size: 10px; color: #8b9b8f; margin-top: 4px; }

/* =========================================================
   FOOTER
   ========================================================= */
.kg-footer {
    background: #143b29; color: #d5e7d9; margin-top: 50px;
    padding: 45px max(5%, calc((100% - 1210px) / 2)) 0;
}
.kg-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 35px; padding-bottom: 35px; }
.kg-footer h4 { color: #fff; font-size: 14px; margin: 5px 0 17px; }
.kg-footer a { display: block; text-decoration: none; color: #c0d4c4; font-size: 12px; margin: 12px 0; }
.kg-footer a:hover { color: #fff; }
.kg-footer p { color: #c0d4c4; font-size: 12px; line-height: 1.8; }
.kg-footer .kg-logo-text strong { color: #fff; }
.kg-footer .kg-logo-text small { color: #a6c5ae; }
.kg-footer-bottom {
    border-top: 1px solid #345642; padding: 17px 0;
    display: flex; justify-content: space-between; gap: 15px;
    font-size: 11px; color: #a8c1ae;
}

/* =========================================================
   MOBILE BOTTOM NAVIGATION
   ========================================================= */
.kg-mobile-nav { display: none; }

/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */
@media (max-width: 1000px) {
    .kg-header-main { gap: 14px; }
    .kg-location { display: none; }
    .kg-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .kg-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .kg-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 30px 24px; }
    .header { align-items: flex-start; flex-direction: column; }
    .header nav { gap: 16px; flex-wrap: wrap; }
    .formrow { grid-template-columns: 1fr; }
}

/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */
@media (max-width: 650px) {
    body { padding-bottom: 65px; }
    .top-offer { font-size: 10px; padding: 8px; }
    .top-offer span { display: none; }

    .kg-header-main {
        padding: 12px; display: grid;
        grid-template-columns: 1fr auto; gap: 12px;
    }
    .kg-logo-icon { width: 39px; height: 39px; font-size: 22px; }
    .kg-logo-text strong { font-size: 14px; }
    .kg-account { display: none; }
    .kg-cart { grid-column: 2; grid-row: 1; }
    .kg-cart .cart-text { display: none; }
    .kg-search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
    .kg-search input[type="text"] { font-size: 11px; }
    .kg-search-btn { padding: 0 12px; font-size: 11px; }
    .kg-navigation { display: none; }

    .kg-main-content { padding: 0 12px; margin: 15px auto; }
    .kg-hero { padding: 28px 22px; min-height: 300px; }
    .hero-visual { display: none; }
    .kg-hero h1 { font-size: 36px; }
    .kg-section-heading h2 { font-size: 20px; }
    .kg-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .kg-category-card { padding: 8px 4px; }
    .category-image { height: 70px; }
    .category-image img { height: 65px; }
    .kg-category-card span { font-size: 10px; }
    .kg-promo-grid { grid-template-columns: 1fr; gap: 10px; }
    .promo-card { min-height: 135px; }
    .kg-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .product-image-box { height: 135px; }
    .product-details { padding: 10px; }
    .product-name { font-size: 12px; }
    .product-price-row strong { font-size: 16px; }
    .kg-benefits { grid-template-columns: repeat(2, 1fr); padding: 15px; gap: 20px; }
    .offer-strip { font-size: 10px; }
    .view-all { font-size: 11px; }

    .kg-footer { padding: 30px 18px 0; }
    .kg-footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-brand { grid-column: 1 / -1; }
    .kg-footer-bottom { flex-direction: column; text-align: center; line-height: 1.6; }

    .kg-mobile-nav {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0;
        height: 62px; background: #fff; border-top: 1px solid #e8eee8;
        justify-content: space-around; align-items: center; z-index: 999;
        box-shadow: 0 -5px 20px rgba(24, 59, 41, .06);
    }
    .kg-mobile-nav a {
        text-decoration: none; color: #63776a; display: flex;
        flex-direction: column; align-items: center; gap: 3px;
    }
    .kg-mobile-nav a span { font-size: 21px; }
    .kg-mobile-nav a small { font-size: 10px; font-weight: 700; }

    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .product { padding: 10px; }
    .product img { height: 110px; }
    .container { padding: 0 12px; }
    .hero { border-radius: 16px; }
    .table { font-size: 12px; }
    .table th, .table td { padding: 7px; }
}

@media (max-width: 380px) {
    .kg-hero h1 { font-size: 30px; }
    .kg-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kg-section-heading { align-items: flex-start; }
    .kg-benefits { grid-template-columns: 1fr; }
}
.co-wrap {
    max-width: 1200px;
    margin: 0 auto;
    color: #203b2b;
    font-family: Arial,Helvetica,sans-serif;
}

    .co-wrap * {
        box-sizing: border-box;
    }

.co-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 10px 0 25px;
}

.co-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #16834a;
}

.co-top h1 {
    font-size: clamp(26px,3vw,36px);
    margin: 8px 0;
}

.co-top p {
    color: #74877a;
    font-size: 14px;
    margin: 0;
}

.co-back {
    color: #16834a;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}

.co-layout {
    display: grid;
    grid-template-columns: minmax(0,1.7fr) minmax(300px,1fr);
    gap: 24px;
    align-items: start;
}

.co-left {
    display: grid;
    gap: 18px;
}

.co-card {
    background: #fff;
    border: 1px solid #e2ece4;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 32px rgba(25,65,40,.045);
}

.co-card-head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
}

.co-step {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #e4f5e9;
    color: #16834a;
    font-size: 17px;
    font-weight: 800;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.co-card h2 {
    font-size: 19px;
    margin: 0 0 5px;
    color: #1a3c29;
}

.co-card-head p {
    margin: 0;
    color: #8b9c90;
    font-size: 12px;
}

.co-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.co-field {
    min-width: 0;
}

    .co-field.co-wide {
        grid-column: 1/-1;
    }

    .co-field label {
        display: block;
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 8px;
        color: #3b5b45;
    }

    .co-field em {
        color: #d44747;
        font-style: normal;
    }

.co-input {
    display: block;
    width: 100%;
    border: 1px solid #dce9df;
    border-radius: 11px;
    padding: 13px 14px;
    background: #fbfdfb;
    font-size: 14px;
    color: #203b2b;
    outline: 0;
    font-family: inherit;
}

    .co-input:focus {
        border-color: #16834a;
        box-shadow: 0 0 0 3px #16834a18;
        background: #fff;
    }

.co-textarea {
    resize: vertical;
    min-height: 96px;
}

.co-hint {
    font-size: 12px;
    color: #16834a;
    background: #f0faf3;
    border-radius: 9px;
    padding: 12px;
    margin: 18px 0 0;
}

.co-payment {
    border: 2px solid #16834a;
    background: #f5fcf6;
    border-radius: 13px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.co-pay-icon {
    height: 42px;
    width: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #dff2e4;
    color: #16834a;
    font-size: 23px;
    font-weight: bold;
}

.co-payment strong, .co-payment small {
    display: block;
}

.co-payment strong {
    font-size: 14px;
}

.co-payment small {
    font-size: 11px;
    color: #7a9181;
    margin-top: 5px;
}

.co-selected {
    margin-left: auto;
    background: #16834a;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
}

.co-right {
    position: sticky;
    top: 145px;
}

.co-summary h2 {
    margin: 0 0 23px;
    font-size: 20px;
}

.co-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    color: #65796b;
    margin: 15px 0;
}

    .co-summary-row strong {
        color: #263e2c;
    }

.co-grand {
    border-top: 1px dashed #d4e3d7;
    padding-top: 20px;
    margin-top: 22px;
    font-size: 17px;
    font-weight: bold;
    color: #203b2b;
}

    .co-grand strong {
        font-size: 24px;
        color: #16834a;
    }

.co-message {
    color: #c33333;
    font-size: 13px;
    line-height: 1.5;
    margin: 10px 0;
}

.co-submit {
    width: 100%;
    border: 0;
    background: #16834a;
    color: white;
    border-radius: 12px;
    padding: 16px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px #16834a28;
}

    .co-submit:hover {
        background: #116c3b;
    }

    .co-submit:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

.co-secure {
    text-align: center;
    color: #829388;
    font-size: 11px;
}

.co-benefit {
    border-top: 1px solid #eaf0eb;
    margin-top: 20px;
    padding-top: 16px;
    color: #5e8069;
    font-size: 12px;
    line-height: 2.1;
}

@media(max-width:800px) {
    .co-layout {
        grid-template-columns: 1fr;
    }

    .co-right {
        position: static;
    }

    .co-top {
        align-items: flex-start;
    }
}

@media(max-width:520px) {
    .co-top {
        flex-direction: column;
    }

    .co-card {
        padding: 18px;
        border-radius: 15px;
    }

    .co-fields {
        grid-template-columns: 1fr;
    }

    .co-field.co-wide {
        grid-column: auto;
    }

    .co-top h1 {
        font-size: 27px;
    }
}
