/* =========================================
   PASAR NGANJUK ONLINE - STYLE.CSS
   Versi dirapikan: desktop, tablet, dan HP
   Nama class/ID dipertahankan
========================================= */

/* RESET & WARNA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #0864ad;
    --dark-blue: #064783;
    --light-blue: #eaf5ff;
    --white: #ffffff;
    --text: #17385f;
    --border: #dceafa;
    --green: #13a76b;
}

body {
    font-family: Arial, sans-serif;
    background: #f1f7fd;
    color: var(--text);
}

/* =========================================
   TOPBAR
========================================= */
.topbar {
    min-height: 42px;
    background: var(--dark-blue);
    color: #fff;
    padding: 10px 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 13px;
}

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: #fff;
    text-decoration: none;
}

/* =========================================
   HEADER & PENCARIAN
========================================= */
.main-header {
    background: #fff;
    padding: 18px 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 43px;
}

.logo h1 {
    font-size: 25px;
    color: var(--dark-blue);
}

.logo h1 span {
    color: #1689e5;
    font-style: italic;
}

.logo small {
    display: block;
    text-align: right;
    margin-top: 5px;
}

.search-box {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    max-width: 650px;
    height: 50px;
    border: 2px solid #cce6ff;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.search-box:focus-within {
    border-color: #1680dc;
    box-shadow: 0 0 0 4px #1680dc18;
}

.search-box input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 16px;
    border: none;
    outline: none;
    background: transparent;
    color: #26384a;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #9aaabd;
}

.search-box button {
    width: 55px;
    height: 100%;
    flex-shrink: 0;
    border: none;
    background: #0875cc;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background .2s;
}

.search-box button:hover {
    background: #055da6;
}

.header-actions {
    display: flex;
    gap: 20px;
}

.header-actions a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: bold;
}

/* PENCARIAN + URUTAN PRODUK */
.search-urutan-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.search-urutan-wrapper .search-box {
    flex: 1;
    width: auto;
    min-width: 0;
}

.filter-urutan {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    max-width: 1200px;
    margin: 15px auto;
    padding: 0 20px;
}

.filter-urutan label {
    color: #52677d;
    font-size: 14px;
    font-weight: 600;
}

.filter-urutan select {
    padding: 11px 14px;
    border: 1px solid #d5e3f2;
    border-radius: 10px;
    background: #fff;
    color: #1264b0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.filter-urutan select:focus {
    border-color: #1680dc;
    box-shadow: 0 0 0 3px #1680dc20;
}

.search-urutan-wrapper .filter-urutan {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.search-urutan-wrapper .filter-urutan label {
    display: none;
}

.search-urutan-wrapper .filter-urutan select {
    width: 125px;
    max-width: 125px;
    height: 46px;
    padding: 0 8px;
    font-size: 12px;
}

/* =========================================
   NAVIGASI DESKTOP
========================================= */
.main-nav {
    display: flex;
    align-items: center;
    margin: 0 1%;
    background: var(--blue);
    border-radius: 12px;
    overflow-x: auto;
}

.main-nav a {
    padding: 17px 23px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    font-weight: bold;
}

.main-nav a.active {
    background: #2397ee;
}

/* =========================================
   HERO / BANNER UTAMA
========================================= */
.hero {
    min-height: 275px;
    margin: 12px 1%;
    border-radius: 15px;
    background: linear-gradient(90deg, #07559a, #168de1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-content {
    padding: 35px 20px;
}

.hero h2 {
    margin-bottom: 15px;
    font-size: clamp(28px, 4vw, 48px);
    font-style: italic;
}

.hero h3 {
    margin-bottom: 15px;
    color: #ffdf45;
    font-size: clamp(22px, 3vw, 36px);
}

.hero p {
    margin-bottom: 22px;
    font-size: 18px;
    font-weight: bold;
}

.hero button {
    padding: 13px 25px;
    border: none;
    border-radius: 25px;
    background: #ffda36;
    color: #064783;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* =========================================
   KATEGORI
========================================= */
.category-section,
.product-section,
.promo-section,
.store-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    overflow: hidden;
}

.category-section {
    margin: 15px 1%;
    padding: 20px;
}

.category-section > h2 {
    margin-bottom: 18px;
}

.categories {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 12px;
}

.categories div {
    padding: 16px 5px;
    border-radius: 12px;
    background: #f1f8ff;
    text-align: center;
    font-size: 32px;
}

.categories p {
    margin-top: 10px;
    font-size: 13px;
    font-weight: bold;
}

/* =========================================
   AREA MARKETPLACE
========================================= */
.marketplace-content {
    display: grid;
    grid-template-columns: 2fr 1fr .8fr;
    align-items: stretch;
    gap: 15px;
    margin: 18px 1%;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px;
    background: var(--blue);
    color: #fff;
}

.section-title h2 {
    font-size: 19px;
}

.section-title a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

/* KARTU PRODUK BERANDA */
.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

.product {
    padding: 0;
    border: 1px solid #e3edf8;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px #07559a20;
}

.product .photo {
    margin-bottom: 12px;
    padding: 25px 5px;
    border-radius: 8px;
    background: #f1f5fa;
    text-align: center;
    font-size: 45px;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f1f5fa;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.product:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 12px;
}

.product-info h3 {
    min-height: 35px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.product h3 {
    margin-bottom: 8px;
    font-size: 14px;
}

.product .price {
    color: #e53935;
    font-size: 17px;
    font-weight: bold;
}

.product-info .location {
    margin-top: 8px;
    color: #78899b;
    font-size: 12px;
}

.buy-button {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border: none;
    border-radius: 7px;
    background: #0864ad;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.buy-button:hover {
    background: #064783;
}

/* PROMO & TOKO POPULER */
.promo-banner {
    height: calc(100% - 50px);
    min-height: 260px;
    padding: 40px 15px;
    background: linear-gradient(145deg, #35b7ed, #0571c9);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.promo-banner h2 {
    font-size: 27px;
}

.promo-banner h3 {
    margin: 15px 0;
    color: #ffed32;
    font-size: 35px;
}

.promo-banner p {
    font-weight: bold;
}

.popular-stores {
    padding: 12px;
}

.popular-stores div {
    padding: 20px 8px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: bold;
}

/* =========================================
   FOOTER & NAVIGASI HP
========================================= */
footer {
    padding: 25px;
    background: var(--dark-blue);
    color: #fff;
    text-align: center;
    line-height: 1.8;
}

.mobile-nav {
    display: none;
}

.mobile-nav a {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #60758b;
    text-decoration: none;
    font-size: 19px;
    text-align: center;
    white-space: nowrap;
}

.mobile-nav a span {
    font-size: 9px;
}

.mobile-nav a.active {
    color: var(--blue);
    font-weight: bold;
}

/* =========================================
   RINGKASAN & PANEL KERANJANG
========================================= */
#cartSummary {
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 13px 18px;
    border: none;
    border-radius: 12px;
    background: #0759a5;
    color: #fff;
    box-shadow: 0 4px 15px #0003;
    text-align: left;
    cursor: pointer;
}

#cartOverlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    justify-content: flex-end;
    background: #0008;
}

#cartOverlay.show {
    display: flex;
}

.cart-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 430px;
    height: 100%;
    padding: 20px;
    background: #fff;
    overflow-y: auto;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5eaf0;
}

.cart-header button {
    padding: 9px 12px;
    border: none;
    border-radius: 8px;
    background: #edf3f8;
    font-size: 18px;
    cursor: pointer;
}

#cartItems {
    flex: 1;
}

.cart-item {
    padding: 16px 0;
    border-bottom: 1px solid #e5eaf0;
}

.cart-item-info p {
    color: #0759a5;
    font-weight: bold;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-controls button {
    padding: 6px 11px;
    border: 1px solid #dce3eb;
    border-radius: 6px;
    background: #f5f8fb;
    cursor: pointer;
}

.cart-controls .remove-button {
    margin-left: auto;
    color: #d33;
}

.cart-empty {
    padding: 35px 10px;
    color: #78899b;
    text-align: center;
}

.cart-footer {
    padding-top: 15px;
    border-top: 1px solid #e5eaf0;
}

.cart-footer strong {
    display: block;
    margin: 8px 0 15px;
    color: #0759a5;
    font-size: 22px;
}

.checkout-button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 9px;
    background: #0759a5;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

/* =========================================
   CHECKOUT POPUP
========================================= */
#checkoutOverlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #0008;
}

#checkoutOverlay.show {
    display: flex;
}

.checkout-panel {
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    padding: 22px;
    border-radius: 14px;
    background: #fff;
    overflow-y: auto;
}

.checkout-panel label {
    display: block;
    margin: 15px 0 6px;
    font-size: 14px;
    font-weight: 600;
}

.checkout-panel input,
.checkout-panel textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    font: inherit;
}

.checkout-panel textarea {
    min-height: 75px;
    resize: vertical;
}

.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0 15px;
    padding-top: 15px;
    border-top: 1px solid #e5eaf0;
}

.checkout-total strong {
    color: #0759a5;
    font-size: 20px;
}

#checkoutMessage {
    color: #16834a;
    font-size: 13px;
    line-height: 1.5;
}

/* =========================================
   DASHBOARD PENJUAL
========================================= */
body:has(.seller-dashboard) {
    min-height: 100vh;
    background: #f3f7fc;
    color: #183b5d;
}

.seller-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 18px max(5%, calc((100% - 1100px) / 2));
    background: linear-gradient(115deg, #064783, #0878c9);
    color: #fff;
    box-shadow: 0 3px 14px #06478320;
}

.seller-header h2 {
    margin: 0;
    font-size: clamp(18px, 2.5vw, 23px);
    font-weight: 700;
}

.seller-header a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    border: 1px solid #ffffff55;
    border-radius: 9px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: background .2s;
}

.seller-header a:hover {
    background: #ffffff20;
}

.seller-dashboard {
    width: min(100% - 32px, 900px);
    max-width: 900px;
    margin: 32px auto 60px;
    padding: 0;
}

.seller-dashboard > h1 {
    margin-bottom: 8px;
    color: #123d66;
    font-size: clamp(25px, 4vw, 32px);
    line-height: 1.25;
}

.seller-dashboard > p {
    margin-bottom: 24px;
    color: #687f96;
    font-size: 14px;
    line-height: 1.6;
}

.seller-card {
    margin-top: 18px;
    padding: 24px;
    border: 1px solid #e1eaf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 20px #17385f0a;
}

.seller-card h2 {
    margin: 0 0 18px;
    padding-bottom: 13px;
    border-bottom: 1px solid #edf1f6;
    color: #164b79;
    font-size: 19px;
}

.seller-card label {
    display: block;
    margin: 16px 0 7px;
    color: #294b6b;
    font-size: 13px;
    font-weight: 700;
}

.seller-card input {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #d6e1ed;
    border-radius: 9px;
    outline: none;
    background: #fbfdff;
    color: #17385f;
    font: inherit;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.seller-card input:focus {
    border-color: #1689e5;
    background: #fff;
    box-shadow: 0 0 0 3px #1689e51a;
}

.seller-card input[type="file"] {
    min-height: auto;
    padding: 9px;
    background: #f8fbff;
    cursor: pointer;
}

.seller-card input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 8px 11px;
    border: 0;
    border-radius: 7px;
    background: #e7f2fc;
    color: #0759a5;
    font-weight: 700;
    cursor: pointer;
}

.seller-card > button,
.seller-product button {
    min-height: 43px;
    padding: 11px 18px;
    border: 0;
    border-radius: 9px;
    background: #0864ad;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.seller-card > button {
    width: 100%;
    margin-top: 20px;
}

.seller-card > button:hover,
.seller-product button:hover {
    background: #064783;
}

.seller-card > button:active,
.seller-product button:active {
    transform: scale(.98);
}

#pesanToko,
#pesanProduk {
    margin-top: 12px;
    color: #16834a;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

#daftarProdukPenjual {
    display: grid;
    gap: 12px;
}

.seller-product {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 13px;
    border: 1px solid #e7edf4;
    border-radius: 12px;
    background: #fbfdff;
}

.seller-product img {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    border: 1px solid #e7edf4;
    border-radius: 10px;
    background: #f1f5fa;
    object-fit: cover;
}

.seller-product > div {
    flex: 1;
    min-width: 0;
}

.seller-product strong {
    display: block;
    margin-bottom: 6px;
    color: #17385f;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.seller-product p {
    margin-bottom: 10px;
    color: #0864ad;
    font-size: 15px;
    font-weight: 700;
}

.seller-product button {
    min-height: 34px;
    padding: 7px 13px;
    background: #fff0f0;
    color: #c62828;
    font-size: 12px;
}

.seller-product button:hover {
    background: #ffe0e0;
    color: #a71919;
}

#daftarProdukPenjual > p {
    padding: 18px;
    border: 1px dashed #d6e1ed;
    border-radius: 10px;
    color: #71869b;
    text-align: center;
    font-size: 14px;
}

/* =========================================
   HALAMAN DETAIL TOKO
========================================= */
.halaman-toko {
    max-width: 1100px;
    margin: 25px auto;
    padding: 15px;
}

.kartu-profil-toko {
    margin-bottom: 25px;
    padding: 25px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.kartu-profil-toko h1 {
    margin-bottom: 12px;
    color: #1769aa;
}

.kartu-profil-toko p {
    margin: 8px 0;
    color: #555;
}

.produk-toko h2 {
    margin-bottom: 20px;
    color: #222;
}

#daftarProdukToko {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.kartu-produk-toko {
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.kartu-produk-toko img {
    width: 100%;
    height: 170px;
    border-radius: 8px;
    object-fit: cover;
}

.kartu-produk-toko h3 {
    margin: 10px 0;
    font-size: 15px;
}

.harga-produk-toko {
    color: #e53935;
    font-weight: bold;
}

/* BANNER TOKO */
.banner-toko {
    width: 100%;
    height: 230px;
    border-radius: 16px 16px 0 0;
    background: #e8f1fb;
    overflow: hidden;
}

.banner-toko img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-kosong {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #1769aa;
    font-size: 22px;
    font-weight: bold;
}

/* KARTU PROFIL TOKO */
.kartu-profil-toko {
    margin: 0 0 30px;
    padding: 0 25px 25px;
    border-radius: 0 0 16px 16px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .07);
}

.identitas-toko {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.foto-profil-toko,
.foto-profil-kosong {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    margin-top: -65px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #e8f1fb;
    object-fit: cover;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .15);
}

.foto-profil-kosong {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.info-identitas-toko {
    flex: 1;
    min-width: 0;
    padding-top: 15px;
}

.info-identitas-toko h1,
.identitas-toko h1 {
    margin: 0 0 12px;
    color: #1769aa;
    font-size: 25px;
}

.info-identitas-toko p {
    margin: 8px 0;
    color: #555;
    line-height: 1.5;
}

.deskripsi-toko {
    margin-top: 15px !important;
    color: #666 !important;
    line-height: 1.7 !important;
}

/* TOMBOL WHATSAPP TOKO */
.tombol-whatsapp {
    display: inline-block;
    margin-top: 12px;
    padding: 11px 18px;
    border-radius: 8px;
    background: #20b65a;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background .2s, transform .2s;
}

.tombol-whatsapp:hover {
    background: #159447;
    transform: translateY(-2px);
}

/* LABEL KATEGORI PRODUK TOKO */
.kategori-produk-toko {
    display: inline-block;
    margin: 5px 0;
    padding: 5px 10px;
    border-radius: 20px;
    background: #e8f1fb;
    color: #1769aa;
    font-size: 12px;
    font-weight: 600;
}

/* =========================================
   DETAIL PRODUK TOKO
========================================= */
#detailProdukToko {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: rgba(0, 0, 0, .65);
}

.isi-detail-toko {
    position: relative;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    padding: 25px;
    border-radius: 18px;
    background: #fff;
    overflow-y: auto;
}

.isi-detail-toko img {
    width: 100%;
    height: 280px;
    border-radius: 12px;
    object-fit: contain;
}

.isi-detail-toko h2 {
    margin: 18px 0 8px;
}

.isi-detail-toko h3 {
    color: #0878df;
    font-size: 23px;
}

#tutupDetailToko {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: #fff;
    font-size: 22px;
    cursor: pointer;
}

.tombol-detail-toko,
.tombol-keranjang-toko,
#tambahKeranjangDetail {
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background .2s;
}

.tombol-detail-toko {
    background: #eaf3ff;
    color: #0878df;
}

.tombol-keranjang-toko,
#tambahKeranjangDetail {
    background: #0878df;
    color: #fff;
}

.tombol-detail-toko:hover {
    background: #d6e8ff;
}

.tombol-keranjang-toko:hover,
#tambahKeranjangDetail:hover {
    background: #0564bd;
}

#tambahKeranjangDetail {
    margin-top: 20px;
    padding: 14px;
    font-size: 16px;
}

/* =========================================
   HALAMAN KERANJANG BELANJA
   Class .halaman-toko dipertahankan karena
   digunakan juga pada halaman keranjang.
========================================= */
.checkout-keranjang {
    margin-top: 25px;
    padding: 25px;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .04);
}

.checkout-keranjang h2 {
    margin: 0 0 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf0f5;
    color: #1d3557;
}

.checkout-keranjang label {
    display: block;
    margin: 16px 0 8px;
    color: #34445a;
    font-weight: 600;
}

.checkout-keranjang input,
.checkout-keranjang textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #dce3ed;
    border-radius: 9px;
    background: #fff;
    font-size: 14px;
}

.checkout-keranjang textarea {
    min-height: 90px;
    resize: vertical;
}

.checkout-keranjang input:focus,
.checkout-keranjang textarea:focus {
    outline: none;
    border-color: #0875d1;
    box-shadow: 0 0 0 3px rgba(8, 117, 209, .10);
}

.checkout-keranjang button {
    width: 100%;
    margin-top: 15px;
    padding: 15px;
    border: none;
    border-radius: 9px;
    background: #0875d1;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.checkout-keranjang button:hover {
    background: #0561ae;
}

/* ITEM KERANJANG */
.item-keranjang {
    margin-bottom: 14px;
    padding: 22px;
    border: 1px solid #e8edf4;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .04);
}

.item-keranjang h3 {
    margin: 0 0 8px;
    color: #243b53;
    font-size: 18px;
}

.item-keranjang p {
    margin: 7px 0;
    color: #778397;
}

.item-keranjang p:nth-of-type(2) {
    color: #0875d1;
    font-size: 18px;
    font-weight: bold;
}

.kontrol-jumlah {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 15px 0;
}

.kontrol-jumlah button {
    width: 35px;
    height: 35px;
    border: 1px solid #dce5ef;
    border-radius: 8px;
    background: #f0f6ff;
    color: #0875d1;
    font-size: 20px;
    cursor: pointer;
}

.kontrol-jumlah span {
    min-width: 20px;
    font-weight: bold;
    text-align: center;
}

.item-keranjang > button {
    padding: 8px 15px;
    border: none;
    border-radius: 7px;
    background: #fff0f0;
    color: #dc3545;
    cursor: pointer;
}

/* TOTAL KERANJANG */
.total-keranjang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 20px 0;
    padding: 22px;
    border: 1px solid #e4edf7;
    border-radius: 13px;
    background: #fff;
}

.total-keranjang h3 {
    margin: 0;
    color: #52647a;
}

.total-keranjang h2 {
    margin: 0;
    color: #0875d1;
    font-size: 24px;
}

/* =========================================
   RESPONSIVE TABLET
========================================= */
@media (max-width: 1000px) {
    .categories {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .marketplace-content {
        grid-template-columns: 1fr 1fr;
    }

    .product-section {
        grid-column: 1 / -1;
    }

    .header-actions {
        display: none;
    }
}

/* =========================================
   RESPONSIVE HP & TABLET KECIL
========================================= */
@media (max-width: 768px) {
    body {
        padding-bottom: 85px;
    }

    .main-nav {
        display: none !important;
    }

    .mobile-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9999;
        display: flex !important;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        height: 70px;
        padding: 4px 2px;
        border-top: 1px solid var(--border);
        background: #fff;
        box-shadow: 0 -3px 12px #00000015;
    }

    .mobile-nav a {
        gap: 5px;
        white-space: normal;
    }

    .mobile-nav a span {
        font-size: 9px;
        line-height: 1.2;
    }

    .mobile-nav a.active {
        color: #0864ad;
    }

    .main-header {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px;
    }

    .main-header .logo {
        width: 100%;
    }

    .main-header .search-urutan-wrapper {
        order: 2;
        width: 100%;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .main-header .search-box {
        flex: 1;
        width: auto;
        min-width: 0;
        max-width: none;
        height: 46px;
    }

    .main-header .search-box input {
        min-width: 0;
        padding: 0 10px;
        font-size: 13px;
    }

    .main-header .search-box button {
        width: 42px;
    }

    .main-header .filter-urutan {
        order: 2;
        width: 118px;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
    }

    .main-header .filter-urutan select {
        width: 100%;
        max-width: 100%;
        height: 46px;
        padding: 0 7px;
        border-radius: 12px;
        background: #f7faff;
        font-size: 12px;
    }

    .main-header .header-actions {
        order: 3;
    }

    .filter-urutan {
        justify-content: flex-start;
        margin: 10px 12px 15px;
        padding: 0;
    }

    .filter-urutan label {
        white-space: nowrap;
    }

    .filter-urutan select {
        flex: 1;
        max-width: none;
        height: 42px;
    }

    .search-urutan-wrapper {
        width: 100%;
        gap: 7px;
    }

    .search-urutan-wrapper .search-box {
        height: 44px;
    }

    .search-urutan-wrapper .filter-urutan {
        width: 115px;
        margin: 0;
        padding: 0;
    }

    .search-urutan-wrapper .filter-urutan select {
        width: 100%;
        max-width: 100%;
        height: 44px;
    }
}

/* =========================================
   RESPONSIVE SMARTPHONE
========================================= */
@media (max-width: 600px) {
    body {
        padding-bottom: 85px;
    }

    /* TOPBAR */
    .topbar {
        justify-content: center;
        font-size: 11px;
    }

    .topbar .top-links,
    .topbar div:nth-child(2) {
        display: none;
    }

    /* HEADER */
    .main-header {
        padding: 12px;
        gap: 12px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .logo h1 {
        font-size: 21px;
    }

    .logo small {
        text-align: left;
    }

    .logo-icon {
        font-size: 35px;
    }

    .main-nav {
        display: none;
    }

    /* HERO */
    .hero {
        min-height: 210px;
        margin: 10px;
    }

    .hero-content {
        padding: 25px 12px;
    }

    .hero h2 {
        font-size: 25px;
    }

    .hero h3 {
        font-size: 21px;
    }

    .hero p {
        font-size: 14px;
    }

    /* KATEGORI */
    .category-section {
        margin: 10px;
        padding: 14px;
    }

    .categories {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 7px;
    }

    .categories div {
        padding: 12px 3px;
        font-size: 23px;
    }

    .categories p {
        font-size: 10px;
    }

    /* MARKETPLACE */
    .marketplace-content {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 10px;
    }

    .product-section {
        grid-column: auto;
    }

    .section-title h2 {
        font-size: 16px;
    }

    .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        padding: 9px;
    }

    .product-info {
        padding: 9px;
    }

    .product-info h3,
    .product h3 {
        font-size: 13px;
    }

    .product .photo {
        padding: 25px 5px;
        font-size: 40px;
    }

    .product .price {
        font-size: 15px;
    }

    .buy-button {
        padding: 9px 5px;
        font-size: 12px;
    }

    .promo-banner {
        min-height: 200px;
    }

    .popular-stores div {
        padding: 15px 8px;
    }

    footer {
        font-size: 12px;
    }

    /* RINGKASAN KERANJANG */
    #cartSummary {
        right: 10px;
        bottom: 78px;
        padding: 10px 13px;
        font-size: 12px;
    }

    .cart-panel {
        max-width: 100%;
    }

    /* DASHBOARD PENJUAL */
    body:has(.seller-dashboard) {
        padding-bottom: 20px;
    }

    .seller-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 15px 16px;
    }

    .seller-header h2 {
        font-size: 17px;
    }

    .seller-header a {
        padding: 8px 9px;
        font-size: 11px;
        white-space: nowrap;
    }

    .seller-dashboard {
        width: calc(100% - 24px);
        margin: 22px auto 35px;
    }

    .seller-dashboard > h1 {
        font-size: 25px;
    }

    .seller-dashboard > p {
        margin-bottom: 18px;
        font-size: 13px;
    }

    .seller-card {
        margin-top: 14px;
        padding: 17px;
        border-radius: 13px;
    }

    .seller-card h2 {
        font-size: 17px;
    }

    .seller-card input {
        min-height: 45px;
        font-size: 16px;
    }

    .seller-product {
        gap: 12px;
        padding: 10px;
    }

    .seller-product img {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .seller-product strong,
    .seller-product p {
        font-size: 14px;
    }

    /* HALAMAN TOKO */
    .halaman-toko {
        margin: 10px auto;
        padding: 12px;
    }

    .kartu-profil-toko {
        padding: 0 15px 20px;
        border-radius: 0 0 12px 12px;
    }

    .banner-toko {
        height: 160px;
        border-radius: 12px 12px 0 0;
    }

    .banner-kosong {
        font-size: 18px;
    }

    .identitas-toko {
        align-items: flex-end;
        gap: 12px;
    }

    .foto-profil-toko,
    .foto-profil-kosong {
        width: 85px;
        height: 85px;
        margin-top: -45px;
        border-width: 4px;
    }

    .info-identitas-toko {
        padding-top: 12px;
    }

    .info-identitas-toko h1,
    .identitas-toko h1 {
        margin-bottom: 8px;
        font-size: 19px;
    }

    .info-identitas-toko p {
        font-size: 13px;
    }

    .deskripsi-toko {
        font-size: 13px;
    }

    .tombol-whatsapp {
        display: block;
        width: 100%;
        padding: 10px 13px;
        font-size: 13px;
        text-align: center;
    }

    #daftarProdukToko {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .kartu-produk-toko img {
        height: 140px;
    }

    /* DETAIL PRODUK */
    .isi-detail-toko {
        padding: 18px;
    }

    .isi-detail-toko img {
        height: 220px;
    }

    /* KERANJANG */
    .checkout-keranjang {
        padding: 16px;
    }

    .item-keranjang {
        padding: 16px;
    }

    .total-keranjang {
        padding: 16px;
        gap: 10px;
    }

    .total-keranjang h2 {
        font-size: 20px;
    }
}



/* =================================
   KATEGORI PILIHAN
================================= */

.category-section {
    padding: 30px 20px;
}

.category-section h2 {
    color: #183b63;
    font-size: 23px;
    margin-bottom: 25px;
}

.categories {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 15px;
}

.category-item {
    background: #ffffff;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    padding: 18px 8px;
    text-align: center;
    cursor: pointer;
    transition: 0.25s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    border-color: #0878d1;
    box-shadow: 0 7px 18px rgba(8, 120, 209, 0.12);
}

.category-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 12px;
    background: #eaf4ff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 31px;
}

.category-item p {
    margin: 0;
    color: #334b65;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

/* =================================
   TOMBOL SEMUA PRODUK
================================= */

.btn-semua-produk {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 28px auto 5px;
    padding: 14px 30px;
    min-width: 220px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #0878d1, #0755a5);
    color: white;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(8, 120, 209, 0.22);
    transition: 0.25s ease;
}

.btn-semua-produk:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(8, 120, 209, 0.3);
}

.btn-semua-produk span:last-child {
    font-size: 21px;
}

/* =================================
   RESPONSIVE KATEGORI
================================= */

@media (max-width: 900px) {
    .categories {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 500px) {
    .category-section {
        padding: 20px 12px;
    }

    .categories {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 9px;
    }

    .category-item {
        padding: 13px 4px;
    }

    .category-icon {
        width: 48px;
        height: 48px;
        font-size: 25px;
        border-radius: 14px;
    }

    .category-item p {
        font-size: 11px;
    }

    .btn-semua-produk {
        width: 100%;
        max-width: 280px;
    }
}




/* =================================
   KATEGORI PRODUK
================================= */

#kategoriProduk {
    width: 100%;
    padding: 14px 15px;
    margin-top: 8px;
    margin-bottom: 18px;
    border: 1px solid #d8e3ef;
    border-radius: 10px;
    background: #f8fbff;
    color: #334b65;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: 0.2s ease;
}

#kategoriProduk:focus {
    border-color: #0878d1;
    background: white;
    box-shadow: 0 0 0 3px rgba(8, 120, 209, 0.10);
}

/* =================================
   DESKRIPSI PRODUK
================================= */

#deskripsiProduk {
    width: 100%;
    min-height: 130px;
    padding: 15px;
    margin-top: 8px;
    margin-bottom: 18px;
    border: 1px solid #d8e3ef;
    border-radius: 10px;
    background: #f8fbff;
    color: #334b65;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    resize: vertical;
    outline: none;
    transition: 0.2s ease;
}

#deskripsiProduk:focus {
    border-color: #0878d1;
    background: white;
    box-shadow: 0 0 0 3px rgba(8, 120, 209, 0.10);
}

#deskripsiProduk::placeholder {
    color: #9aa9b8;
}


/* =================================
   TAMPILAN PROFIL DETAIL TOKO
================================= */

.banner-toko {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #0878d1, #0755a5);
    position: relative;
}

.banner-toko img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-kosong {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.banner-kosong span {
    font-size: 45px;
    margin-bottom: 8px;
}

.banner-kosong h2 {
    margin: 5px 0;
}

.banner-kosong p {
    margin: 5px 0;
    opacity: 0.9;
}

.kartu-profil-toko {
    background: white;
    padding: 25px;
    margin: -35px 20px 30px;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.09);
}

.identitas-toko {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.foto-profil-toko,
.foto-profil-kosong {
    width: 125px;
    height: 125px;
    min-width: 125px;
    border-radius: 16px;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.foto-profil-kosong {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf4ff;
    font-size: 50px;
}

.info-identitas-toko {
    flex: 1;
    min-width: 0;
}

.label-toko {
    display: inline-block;
    color: #0878d1;
    background: #eaf4ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.info-identitas-toko h1 {
    color: #17324d;
    font-size: 27px;
    margin: 10px 0;
}

.pemilik-toko,
.lokasi-toko {
    color: #555;
    margin: 8px 0;
    font-size: 14px;
}

.deskripsi-toko {
    color: #555;
    line-height: 1.7;
    margin: 15px 0;
    font-size: 14px;
}

.tombol-whatsapp {
    display: inline-block;
    background: #16a34a;
    color: white;
    text-decoration: none;
    padding: 11px 18px;
    border-radius: 9px;
    font-weight: bold;
    margin-top: 5px;
    transition: 0.2s;
}

.tombol-whatsapp:hover {
    background: #12813c;
    transform: translateY(-2px);
}

/* RESPONSIVE PROFIL TOKO */

@media (max-width: 600px) {
    .banner-toko {
        height: 170px;
        border-radius: 12px;
    }

    .kartu-profil-toko {
        margin: -25px 10px 25px;
        padding: 18px;
    }

    .identitas-toko {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .foto-profil-toko,
    .foto-profil-kosong {
        width: 105px;
        height: 105px;
        min-width: 105px;
    }

    .info-identitas-toko h1 {
        font-size: 22px;
    }
}

/* =================================
   DAFTAR PRODUK DETAIL TOKO
================================= */

.produk-toko {
    margin-top: 30px;
}

.produk-toko > h2 {
    color: #17324d;
    font-size: 23px;
    margin-bottom: 18px;
}

#daftarProdukToko {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.kartu-produk-toko {
    background: white;
    border: 1px solid #e8edf3;
    border-radius: 13px;
    overflow: hidden;
    padding: 12px;
    transition: 0.2s;
}

.kartu-produk-toko:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}

.kartu-produk-toko img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 9px;
    background: #f1f5f9;
}

.kartu-produk-toko h3 {
    color: #243b53;
    font-size: 16px;
    margin: 12px 0 7px;
}

.kategori-produk-toko {
    display: inline-block;
    background: #eaf4ff;
    color: #0878d1;
    font-size: 11px;
    padding: 5px 9px;
    border-radius: 20px;
    margin: 0 0 8px;
}

.harga-produk-toko {
    color: #0878d1;
    font-size: 18px;
    font-weight: bold;
    margin: 8px 0;
}

.kartu-produk-toko > p:not(.kategori-produk-toko):not(.harga-produk-toko) {
    color: #777;
    font-size: 13px;
    line-height: 1.5;
    min-height: 38px;
}

.tombol-detail-toko,
.tombol-keranjang-toko {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 7px;
    transition: 0.2s;
}

.tombol-detail-toko {
    background: #eaf4ff;
    color: #0878d1;
}

.tombol-detail-toko:hover {
    background: #d6eaff;
}

.tombol-keranjang-toko {
    background: #0878d1;
    color: white;
}

.tombol-keranjang-toko:hover {
    background: #0755a5;
}

@media (max-width: 600px) {
    #daftarProdukToko {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .kartu-produk-toko {
        padding: 9px;
    }

    .kartu-produk-toko img {
        height: 135px;
    }

    .kartu-produk-toko h3 {
        font-size: 14px;
    }

    .harga-produk-toko {
        font-size: 16px;
    }
}

/* =================================
   PENCARIAN DAN FILTER PRODUK TOKO
================================= */

#cariProdukToko,
#filterKategoriToko,
#urutkanProdukToko {
    height: 45px;
    padding: 0 13px;
    border: 1px solid #dce4ed;
    border-radius: 9px;
    background: white;
    color: #334155;
    font-size: 14px;
    outline: none;
    margin: 5px 5px 10px 0;
}

#cariProdukToko {
    width: 100%;
    display: block;
    margin-bottom: 12px;
}

#cariProdukToko:focus,
#filterKategoriToko:focus,
#urutkanProdukToko:focus {
    border-color: #0878d1;
    box-shadow: 0 0 0 3px rgba(8, 120, 209, 0.10);
}

#filterKategoriToko,
#urutkanProdukToko {
    width: calc(50% - 8px);
}

@media (max-width: 600px) {
    #filterKategoriToko,
    #urutkanProdukToko {
        width: 100%;
        margin-right: 0;
    }
}


/* =================================
   HEADER HALAMAN DETAIL TOKO
================================= */

.header-toko {
    background: linear-gradient(120deg, #0878d1, #0755a5);
    color: white;
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.header-toko h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.navigasi-toko {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navigasi-toko a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9px;
    transition: 0.2s;
}

.navigasi-toko a:hover {
    background: rgba(255, 255, 255, 0.15);
}

#tombolBukaKeranjangToko {
    background: white;
    color: #0755a5;
    border: none;
    border-radius: 9px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

#tombolBukaKeranjangToko:hover {
    background: #eaf4ff;
    transform: translateY(-2px);
}

#jumlahKeranjangToko {
    background: #ef4444;
    color: white;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

@media (max-width: 600px) {
    .header-toko {
        padding: 13px 12px;
        flex-wrap: wrap;
    }

    .header-toko h2 {
        font-size: 17px;
    }

    .navigasi-toko {
        gap: 7px;
    }

    .navigasi-toko a,
    #tombolBukaKeranjangToko {
        padding: 9px 11px;
        font-size: 12px;
    }
}

.header-toko h2 {
    color: #ffffff !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}


/* =================================
   LOGO PASAR NGANJUK ONLINE
================================= */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0878d1, #0755a5);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(7, 85, 165, 0.25);
}

.logo-icon svg {
    width: 43px;
    height: 43px;
}

.logo-text h1 {
    margin: 0;
    color: #17324d;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
}

.logo-text h1 span {
    color: #0878d1;
}

.logo-text small {
    display: block;
    color: #64748b;
    font-size: 11px;
    margin-top: 3px;
    letter-spacing: 0.3px;
}

@media (max-width: 600px) {
    .logo {
        gap: 8px;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        border-radius: 11px;
    }

    .logo-icon svg {
        width: 34px;
        height: 34px;
    }

    .logo-text h1 {
        font-size: 16px;
    }

    .logo-text small {
        font-size: 9px;
    }
}


/* =================================
   BANNER UTAMA PASAR NGANJUK ONLINE
================================= */

.hero {
    width: 100%;
    min-height: 0;
    height: auto;
    padding: 0;
    margin: 10px 0 15px;
    background: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.hero img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
}

@media (max-width: 600px) {
    .hero {
        margin: 8px 0 12px;
        border-radius: 9px;
    }

    .hero img {
        border-radius: 9px;
    }
}

