
/* =================================
   PASAR NGANJUK ONLINE
   MODERN MARKETPLACE DESIGN
================================= */

* {
    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: white;
    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: white;
    text-decoration: none;
}

/* HEADER */

.main-header {
    background: white;
    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;
    flex: 1;
    max-width: 650px;
    height: 50px;
    border: 2px solid #cce6ff;
    border-radius: 30px;
    overflow: hidden;
}

.search-box input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0 20px;
    font-size: 15px;
}

.search-box button {
    width: 75px;
    border: none;
    background: var(--blue);
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.header-actions {
    display: flex;
    gap: 20px;
}

.header-actions a {
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: bold;
}

/* NAVIGATION */

.main-nav {
    margin: 0 1%;
    background: var(--blue);
    display: flex;
    align-items: center;
    border-radius: 12px;
    overflow-x: auto;
}

.main-nav a {
    color: white;
    padding: 17px 23px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: bold;
}

.main-nav a.active {
    background: #2397ee;
}

/* HERO BANNER */

.hero {
    margin: 12px 1%;
    min-height: 275px;
    border-radius: 15px;
    background:
        linear-gradient(90deg, #07559a, #168de1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-content {
    padding: 35px 20px;
}

.hero h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-style: italic;
    margin-bottom: 15px;
}

.hero h3 {
    font-size: clamp(22px, 3vw, 36px);
    color: #ffdf45;
    margin-bottom: 15px;
}

.hero p {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 22px;
}

.hero button {
    padding: 13px 25px;
    border: none;
    border-radius: 25px;
    background: #ffda36;
    color: #064783;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* CONTENT */

.category-section,
.product-section,
.promo-section,
.store-section {
    background: white;
    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, 1fr);
    gap: 12px;
}

.categories div {
    background: #f1f8ff;
    border-radius: 12px;
    padding: 16px 5px;
    text-align: center;
    font-size: 32px;
}

.categories p {
    font-size: 13px;
    font-weight: bold;
    margin-top: 10px;
}

/* MARKETPLACE GRID */

.marketplace-content {
    display: grid;
    grid-template-columns: 2fr 1fr 0.8fr;
    gap: 15px;
    margin: 18px 1%;
    align-items: stretch;
}

.section-title {
    background: var(--blue);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.section-title h2 {
    font-size: 19px;
}

.section-title a {
    color: white;
    text-decoration: none;
    font-size: 12px;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

.product {
    background: white;
    border: 1px solid #e3edf8;
    border-radius: 10px;
    padding: 10px;
    overflow: hidden;
}

.product .photo {
    background: #f1f5fa;
    border-radius: 8px;
    padding: 25px 5px;
    text-align: center;
    font-size: 45px;
    margin-bottom: 12px;
}

.product h3 {
    font-size: 14px;
    margin-bottom: 8px;
}

.product .price {
    color: #e53935;
    font-size: 17px;
    font-weight: bold;
}

/* PROMO */

.promo-banner {
    min-height: 260px;
    height: calc(100% - 50px);
    background: linear-gradient(145deg, #35b7ed, #0571c9);
    color: white;
    text-align: center;
    padding: 40px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.promo-banner h2 {
    font-size: 27px;
}

.promo-banner h3 {
    font-size: 35px;
    color: #ffed32;
    margin: 15px 0;
}

.promo-banner p {
    font-weight: bold;
}

/* POPULAR STORES */

.popular-stores {
    padding: 12px;
}

.popular-stores div {
    padding: 20px 8px;
    border-bottom: 1px solid var(--border);
    font-weight: bold;
    font-size: 14px;
}

/* FOOTER */

footer {
    background: var(--dark-blue);
    color: white;
    padding: 25px;
    text-align: center;
    line-height: 1.8;
}

/* MOBILE NAVIGATION */

.mobile-nav {
    display: none;
}

/* TABLET */

@media (max-width: 1000px) {
    .categories {
        grid-template-columns: repeat(5, 1fr);
    }

    .marketplace-content {
        grid-template-columns: 1fr 1fr;
    }

    .product-section {
        grid-column: 1 / -1;
    }

    .header-actions {
        display: none;
    }
}

/* SMARTPHONE */

@media (max-width: 600px) {

    body {
        padding-bottom: 70px;
    }

    .topbar {
        font-size: 11px;
        justify-content: center;
    }

    .topbar .top-links,
    .topbar div:nth-child(2) {
        display: none;
    }

    .main-header {
        padding: 12px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .logo h1 {
        font-size: 21px;
    }

    .logo small {
        text-align: left;
    }

    .logo-icon {
        font-size: 35px;
    }

    .search-box {
        max-width: 100%;
        height: 44px;
    }

    .search-box button {
        width: 55px;
    }

    .main-nav {
        display: none;
    }

    .hero {
        margin: 10px;
        min-height: 210px;
    }

    .hero-content {
        padding: 25px 12px;
    }

    .hero h2 {
        font-size: 25px;
    }

    .hero h3 {
        font-size: 21px;
    }

    .hero p {
        font-size: 14px;
    }

    .category-section {
        margin: 10px;
        padding: 14px;
    }

    .categories {
        grid-template-columns: repeat(5, 1fr);
        gap: 7px;
    }

    .categories div {
        font-size: 23px;
        padding: 12px 3px;
    }

    .categories p {
        font-size: 10px;
    }

    .marketplace-content {
        grid-template-columns: 1fr;
        margin: 10px;
        gap: 12px;
    }

    .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 {
        padding: 8px;
    }

    .product .photo {
        font-size: 40px;
        padding: 25px 5px;
    }

    .product h3 {
        font-size: 13px;
    }

    .product .price {
        font-size: 15px;
    }

    .promo-banner {
        min-height: 200px;
    }

    .popular-stores div {
        padding: 15px 8px;
    }

    footer {
        font-size: 12px;
    }

    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background: white;
        border-top: 1px solid var(--border);
        justify-content: space-around;
        align-items: center;
        z-index: 999;
        box-shadow: 0 -3px 12px #0000000d;
    }

    
    
.mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: white;
    border-top: 1px solid var(--border);
    justify-content: space-around;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -3px 12px #0000000d;
}

.mobile-nav a {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: #60758b;
    font-size: 19px;
    white-space: nowrap;
}

.mobile-nav a span {
    font-size: 9px;
}

.mobile-nav a.active {
    color: var(--blue);
    font-weight: bold;
}

}


/* FOTO PRODUK MARKETPLACE */

.product {
    padding: 0;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px #07559a20;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f1f5fa;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.product:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 12px;
}

.product-info h3 {
    min-height: 35px;
    line-height: 1.4;
}

.product-info .location {
    font-size: 12px;
    color: #78899b;
    margin-top: 8px;
}

.buy-button {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: #0864ad;
    color: white;
    border: none;
    border-radius: 7px;
    font-weight: bold;
    cursor: pointer;
}

.buy-button:hover {
    background: #064783;
}

@media (max-width: 600px) {
    .product-info {
        padding: 9px;
    }

    .buy-button {
        padding: 9px 5px;
        font-size: 12px;
    }
}


/* RINGKASAN KERANJANG */

#cartSummary {
    position: fixed;
    bottom: 75px;
    right: 20px;
    z-index: 999;
    background: #0759a5;
    color: white;
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 4px 15px #0003;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
}

@media (max-width: 600px) {
    #cartSummary {
        right: 10px;
        bottom: 75px;
        font-size: 12px;
        padding: 11px;
    }
}


/* TOMBOL RINGKASAN KERANJANG */

#cartSummary {
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 1000;
    border: none;
    border-radius: 12px;
    padding: 13px 18px;
    background: #0759a5;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 4px 15px #0003;
    text-align: left;
}

/* LATAR PANEL KERANJANG */

#cartOverlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: #0008;
    justify-content: flex-end;
}

#cartOverlay.show {
    display: flex;
}

.cart-panel {
    width: 100%;
    max-width: 430px;
    height: 100%;
    background: white;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5eaf0;
    padding-bottom: 15px;
}

.cart-header button {
    border: none;
    background: #edf3f8;
    border-radius: 8px;
    padding: 9px 12px;
    cursor: pointer;
    font-size: 18px;
}

#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 {
    border: 1px solid #dce3eb;
    background: #f5f8fb;
    border-radius: 6px;
    padding: 6px 11px;
    cursor: pointer;
}

.cart-controls .remove-button {
    color: #d33;
    margin-left: auto;
}

.cart-empty {
    text-align: center;
    color: #78899b;
    padding: 35px 10px;
}

.cart-footer {
    border-top: 1px solid #e5eaf0;
    padding-top: 15px;
}

.cart-footer strong {
    display: block;
    font-size: 22px;
    color: #0759a5;
    margin: 8px 0 15px;
}

.checkout-button {
    width: 100%;
    border: none;
    border-radius: 9px;
    padding: 14px;
    background: #0759a5;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

@media (max-width: 600px) {
    #cartSummary {
        right: 10px;
        bottom: 78px;
        padding: 10px 13px;
        font-size: 12px;
    }

    .cart-panel {
        max-width: 100%;
    }
}



/* HALAMAN CHECKOUT */

#checkoutOverlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: #0008;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
}

#checkoutOverlay.show {
    display: flex;
}

.checkout-panel {
    background: white;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 22px;
    border-radius: 14px;
    box-sizing: border-box;
}

.checkout-panel label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.checkout-panel input,
.checkout-panel textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    box-sizing: border-box;
    font: inherit;
}

.checkout-panel textarea {
    min-height: 75px;
    resize: vertical;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    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 */

.seller-header {
    background: #0759a5;
    color: white;
    padding: 18px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.seller-header a {
    color: white;
    text-decoration: none;
}

.seller-dashboard {
    max-width: 850px;
    margin: 30px auto;
    padding: 0 18px 40px;
}

.seller-card {
    background: white;
    border: 1px solid #e3eaf1;
    border-radius: 12px;
    padding: 22px;
    margin-top: 20px;
    box-shadow: 0 3px 12px #00000008;
}

.seller-card label {
    display: block;
    margin-top: 15px;
    margin-bottom: 6px;
    font-weight: bold;
}

.seller-card input {
    width: 100%;
    padding: 12px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    box-sizing: border-box;
}

.seller-card button {
    margin-top: 15px;
    padding: 11px 16px;
    background: #0759a5;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.seller-product {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e5eaf0;
}

.seller-product img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 9px;
}

.seller-product p {
    color: #0759a5;
    font-weight: bold;
}

@media (max-width: 600px) {
    .seller-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .seller-dashboard {
        margin-top: 20px;
    }

    .seller-card {
        padding: 16px;
    }
}

/* =========================================
   DASHBOARD PENJUAL - PENYEMPURNAAN TAMPILAN
   Khusus penjual.html, tidak mengubah beranda
========================================= */

body:has(.seller-dashboard) {
    background: #f3f7fc;
    color: #183b5d;
    min-height: 100vh;
}

.seller-header {
    padding: 18px max(5%, calc((100% - 1100px) / 2));
    background: linear-gradient(115deg, #064783, #0878c9);
    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;
    font-size: 13px;
    transition: background 0.2s ease;
}

.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: #ffffff;
    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 0.2s, box-shadow 0.2s, background 0.2s;
}

.seller-card input:focus {
    border-color: #1689e5;
    background: #ffffff;
    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: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.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(0.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;
}

@media (max-width: 600px) {
    body:has(.seller-dashboard) {
        padding-bottom: 20px;
    }

    .seller-header {
        padding: 15px 16px;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .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 {
        font-size: 14px;
    }

    .seller-product p {
        font-size: 14px;
    }
}


/* =================================
   HALAMAN DETAIL TOKO
================================= */

.halaman-toko {
    max-width: 1100px;
    margin: 25px auto;
    padding: 15px;
}

.kartu-profil-toko {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.kartu-profil-toko h1 {
    color: #1769aa;
    margin-bottom: 12px;
}

.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 {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.kartu-produk-toko img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
}

.kartu-produk-toko h3 {
    font-size: 15px;
    margin: 10px 0;
}

.harga-produk-toko {
    color: #e53935;
    font-weight: bold;
}

@media (max-width: 600px) {
    .halaman-toko {
        margin: 10px auto;
        padding: 10px;
    }

    #daftarProdukToko {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .kartu-produk-toko img {
        height: 140px;
    }
}

/* BANNER TOKO */
.banner-toko {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 14px;
    background: #e8f1fb;
}

.banner-toko img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-kosong {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1769aa;
    font-size: 24px;
    font-weight: 700;
}

/* IDENTITAS TOKO */
.identitas-toko {
    display: flex;
    align-items: center;
    gap: 20px;
}

.foto-profil-toko,
.foto-profil-kosong {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    flex-shrink: 0;
    background: #e8f1fb;
}

.foto-profil-kosong {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}

/* TAMPILAN HP */
@media (max-width: 600px) {
    .banner-toko {
        height: 150px;
    }

    .identitas-toko {
        align-items: flex-start;
        gap: 12px;
    }

    .foto-profil-toko,
    .foto-profil-kosong {
        width: 76px;
        height: 76px;
        border-width: 3px;
    }

    .banner-kosong {
        font-size: 18px;
    }

    .kartu-profil-toko {
        padding: 16px;
    }
}

/* TOMBOL WHATSAPP TOKO */
.tombol-whatsapp {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 22px;
    background: #25D366;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.2s;
}

.tombol-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    .tombol-whatsapp {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}

/* LABEL KATEGORI PRODUK */
.kategori-produk-toko {
    display: inline-block;
    background: #e8f1fb;
    color: #1769aa;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin: 5px 0;
}

/* HEADER TOKO PROFESIONAL */
.banner-toko {
    height: 230px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.banner-toko img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kartu-profil-toko {
    background: #ffffff;
    padding: 20px 24px;
    margin-top: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    margin-bottom: 30px;
}

.identitas-toko {
    display: flex;
    align-items: flex-end;
    gap: 18px;
}

.foto-profil-toko,
.foto-profil-kosong {
    width: 120px;
    height: 120px;
    margin-top: -75px;
    position: relative;
    z-index: 2;
    border: 5px solid white;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.identitas-toko h1 {
    color: #1769aa;
    margin-bottom: 8px;
}

/* TAMPILAN MOBILE */
@media (max-width: 600px) {
    .banner-toko {
        height: 160px;
    }

    .kartu-profil-toko {
        padding: 15px;
    }

    .identitas-toko {
        gap: 12px;
    }

    .foto-profil-toko,
    .foto-profil-kosong {
        width: 85px;
        height: 85px;
        margin-top: -52px;
        border-width: 4px;
    }

    .identitas-toko h1 {
        font-size: 19px;
    }
}



/* =================================
   PROFIL TOKO - DESAIN PROFESIONAL
================================= */

.banner-toko {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #e8f1fb;
}

.banner-toko img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-kosong {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1769aa;
    font-size: 22px;
    font-weight: bold;
}

.kartu-profil-toko {
    background: #fff;
    padding: 0 25px 25px;
    margin: 0 0 30px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.identitas-toko {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.foto-profil-toko,
.foto-profil-kosong {
    width: 120px;
    height: 120px;
    margin-top: -65px;
    position: relative;
    flex-shrink: 0;
    border: 5px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: #e8f1fb;
    box-shadow: 0 3px 12px rgba(0, 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 {
    color: #1769aa;
    font-size: 25px;
    margin: 0 0 12px;
}

.info-identitas-toko p {
    color: #555;
    margin: 8px 0;
    line-height: 1.5;
}

.deskripsi-toko {
    margin-top: 15px !important;
    color: #666 !important;
    line-height: 1.7 !important;
}

.tombol-whatsapp {
    display: inline-block;
    margin-top: 12px;
    padding: 11px 18px;
    background: #20b65a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.tombol-whatsapp:hover {
    background: #159447;
}

/* TAMPILAN HP */
@media (max-width: 600px) {
    .banner-toko {
        height: 160px;
        border-radius: 12px 12px 0 0;
    }

    .kartu-profil-toko {
        padding: 0 15px 20px;
        border-radius: 0 0 12px 12px;
    }

    .identitas-toko {
        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 {
        font-size: 19px;
    }

    .info-identitas-toko p {
        font-size: 13px;
    }

    .tombol-whatsapp {
        font-size: 13px;
        padding: 10px 13px;
    }
}
 
/* =================================
   PROFIL TOKO - DESAIN PROFESIONAL
================================= */

.banner-toko {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #e8f1fb;
}

.banner-toko img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-kosong {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1769aa;
    font-size: 22px;
    font-weight: bold;
}

.kartu-profil-toko {
    background: #fff;
    padding: 0 25px 25px;
    margin: 0 0 30px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.identitas-toko {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.foto-profil-toko,
.foto-profil-kosong {
    width: 120px;
    height: 120px;
    margin-top: -65px;
    position: relative;
    flex-shrink: 0;
    border: 5px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: #e8f1fb;
    box-shadow: 0 3px 12px rgba(0, 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 {
    color: #1769aa;
    font-size: 25px;
    margin: 0 0 12px;
}

.info-identitas-toko p {
    color: #555;
    margin: 8px 0;
    line-height: 1.5;
}

.deskripsi-toko {
    margin-top: 15px !important;
    color: #666 !important;
    line-height: 1.7 !important;
}

.tombol-whatsapp {
    display: inline-block;
    margin-top: 12px;
    padding: 11px 18px;
    background: #20b65a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.tombol-whatsapp:hover {
    background: #159447;
}

/* TAMPILAN HP */
@media (max-width: 600px) {
    .banner-toko {
        height: 160px;
        border-radius: 12px 12px 0 0;
    }

    .kartu-profil-toko {
        padding: 0 15px 20px;
        border-radius: 0 0 12px 12px;
    }

    .identitas-toko {
        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 {
        font-size: 19px;
    }

    .info-identitas-toko p {
        font-size: 13px;
    }

    .tombol-whatsapp {
        font-size: 13px;
        padding: 10px 13px;
    }
}



/* =================================
   PROFIL TOKO - DESAIN PROFESIONAL
================================= */

.banner-toko {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #e8f1fb;
}

.banner-toko img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-kosong {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1769aa;
    font-size: 22px;
    font-weight: bold;
}

.kartu-profil-toko {
    background: #fff;
    padding: 0 25px 25px;
    margin: 0 0 30px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.identitas-toko {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.foto-profil-toko,
.foto-profil-kosong {
    width: 120px;
    height: 120px;
    margin-top: -65px;
    position: relative;
    flex-shrink: 0;
    border: 5px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: #e8f1fb;
    box-shadow: 0 3px 12px rgba(0, 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 {
    color: #1769aa;
    font-size: 25px;
    margin: 0 0 12px;
}

.info-identitas-toko p {
    color: #555;
    margin: 8px 0;
    line-height: 1.5;
}

.deskripsi-toko {
    margin-top: 15px !important;
    color: #666 !important;
    line-height: 1.7 !important;
}

.tombol-whatsapp {
    display: inline-block;
    margin-top: 12px;
    padding: 11px 18px;
    background: #20b65a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

.tombol-whatsapp:hover {
    background: #159447;
}

/* TAMPILAN HP */
@media (max-width: 600px) {
    .banner-toko {
        height: 160px;
        border-radius: 12px 12px 0 0;
    }

    .kartu-profil-toko {
        padding: 0 15px 20px;
        border-radius: 0 0 12px 12px;
    }

    .identitas-toko {
        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 {
        font-size: 19px;
    }

    .info-identitas-toko p {
        font-size: 13px;
    }

    .tombol-whatsapp {
        font-size: 13px;
        padding: 10px 13px;
    }
}

/* DETAIL PRODUK TOKO */
#detailProdukToko {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.isi-detail-toko {
    background: white;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
    border-radius: 18px;
    position: relative;
}

.isi-detail-toko img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    border-radius: 12px;
}

.isi-detail-toko h2 {
    margin: 18px 0 8px;
}

.isi-detail-toko h3 {
    color: #0878df;
    font-size: 23px;
}

#tutupDetailToko {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: white;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

/* TOMBOL PRODUK TOKO */
.tombol-detail-toko,
.tombol-keranjang-toko,
#tambahKeranjangDetail {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    transition: 0.2s;
}

.tombol-detail-toko {
    background: #eaf3ff;
    color: #0878df;
}

.tombol-keranjang-toko,
#tambahKeranjangDetail {
    background: #0878df;
    color: white;
}

.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
================================= */

.checkout-keranjang {
    background: #ffffff;
    padding: 24px;
    margin-top: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.checkout-keranjang h2 {
    margin-bottom: 20px;
    color: #222;
}

.checkout-keranjang label {
    display: block;
    margin: 14px 0 7px;
    font-weight: 600;
}

.checkout-keranjang input,
.checkout-keranjang textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.checkout-keranjang textarea {
    min-height: 85px;
    resize: vertical;
}

.checkout-keranjang input:focus,
.checkout-keranjang textarea:focus {
    outline: none;
    border-color: #1976d2;
}

.checkout-keranjang button {
    width: 100%;
    padding: 14px;
    margin-top: 18px;
    border: none;
    border-radius: 8px;
    background: #1976d2;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.checkout-keranjang button:hover {
    background: #125ca5;
}

/* ITEM KERANJANG */

.item-keranjang {
    background: #ffffff;
    padding: 18px;
    margin-bottom: 12px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.total-keranjang {
    background: #f1f7ff;
    padding: 18px;
    margin-top: 15px;
    border-radius: 10px;
    color: #1565c0;
}

@media (max-width: 600px) {
    .checkout-keranjang {
        padding: 16px;
    }

    .halaman-toko {
        padding: 12px;
    }
}



/* ===================================
   DESAIN KERANJANG PASAR NGANJUK
=================================== */

.halaman-toko {
    max-width: 1050px;
    margin: 30px auto;
    padding: 20px;
    background: #f5f7fb;
    border-radius: 14px;
}

.halaman-toko > h2 {
    color: #1d3557;
    font-size: 25px;
    margin-bottom: 22px;
}

/* KARTU PRODUK */

.item-keranjang {
    background: white;
    padding: 22px;
    margin-bottom: 14px;
    border: 1px solid #e8edf4;
    border-radius: 13px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
}

.item-keranjang h3 {
    color: #243b53;
    font-size: 18px;
    margin: 0 0 8px;
}

.item-keranjang p {
    color: #778397;
    margin: 7px 0;
}

.item-keranjang p:nth-of-type(2) {
    color: #0875d1;
    font-size: 18px;
    font-weight: bold;
}

/* TOMBOL JUMLAH */

.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 {
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.item-keranjang > button {
    border: none;
    background: #fff0f0;
    color: #dc3545;
    padding: 8px 15px;
    border-radius: 7px;
    cursor: pointer;
}

/* TOTAL BELANJA */

.total-keranjang {
    background: white;
    padding: 22px;
    margin: 20px 0;
    border-radius: 13px;
    border: 1px solid #e4edf7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-keranjang h3 {
    color: #52647a;
    margin: 0;
}

.total-keranjang h2 {
    color: #0875d1;
    margin: 0;
    font-size: 24px;
}

/* FORM CHECKOUT */

.checkout-keranjang {
    background: white;
    padding: 25px;
    margin-top: 25px;
    border-radius: 14px;
    border: 1px solid #e8edf4;
    box-shadow: 0 3px 15px rgba(0,0,0,0.04);
}

.checkout-keranjang h2 {
    color: #1d3557;
    margin: 0 0 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf0f5;
}

.checkout-keranjang label {
    display: block;
    margin: 16px 0 8px;
    color: #34445a;
    font-weight: 600;
}

.checkout-keranjang input,
.checkout-keranjang textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px;
    border: 1px solid #dce3ed;
    border-radius: 9px;
    font-size: 14px;
    background: #fff;
}

.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,0.10);
}

.checkout-keranjang button {
    width: 100%;
    padding: 15px;
    margin-top: 15px;
    background: #0875d1;
    color: white;
    border: none;
    border-radius: 9px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.checkout-keranjang button:hover {
    background: #0561ae;
}

/* TAMPILAN HP */

@media (max-width: 600px) {
    .halaman-toko {
        margin: 12px auto;
        padding: 12px;
    }

    .halaman-toko > h2 {
        font-size: 21px;
    }

    .item-keranjang,
    .checkout-keranjang {
        padding: 16px;
    }

    .total-keranjang {
        padding: 16px;
        gap: 10px;
    }

    .total-keranjang h2 {
        font-size: 20px;
    }
}



/* =================================
   PERBAIKAN NAVIGASI HP
================================= */

@media (max-width: 768px) {

    body {
        padding-bottom: 85px;
    }

    .main-nav {
        display: none !important;
    }

    .mobile-nav {
        display: flex !important;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 70px;
        padding: 4px 2px;
        background: #ffffff;
        border-top: 1px solid #dceafa;
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        box-shadow: 0 -3px 12px #00000015;
    }

    .mobile-nav a {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        color: #60758b;
        text-decoration: none;
        font-size: 19px;
        white-space: normal;
        text-align: center;
    }

    .mobile-nav a span {
        font-size: 9px;
        line-height: 1.2;
    }

    .mobile-nav a.active {
        color: #0864ad;
        font-weight: bold;
    }
}

/* =================================
   PENCARIAN DAN URUTAN PRODUK
================================= */

.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 {
    font-size: 14px;
    font-weight: 600;
    color: #52677d;
}

.filter-urutan select {
    padding: 11px 38px 11px 14px;
    border: 1px solid #d5e3f2;
    border-radius: 10px;
    background: #ffffff;
    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;
}

@media (max-width: 768px) {
    .filter-urutan {
        justify-content: space-between;
        margin: 10px auto;
        padding: 0 12px;
    }

    .filter-urutan select {
        flex: 1;
        max-width: 220px;
    }
}

/* =================================
   DESAIN KOLOM PENCARIAN
================================= */

.search-box {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 600px;
    height: 48px;
    background: #ffffff;
    border: 2px solid #dceafa;
    border-radius: 14px;
    overflow: hidden;
    transition: 0.2s ease;
}

.search-box:focus-within {
    border-color: #1680dc;
    box-shadow: 0 0 0 4px #1680dc18;
}

.search-box input {
    flex: 1;
    width: 100%;
    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: 52px;
    height: 100%;
    border: none;
    background: #0875cc;
    color: #ffffff;
    font-size: 19px;
    cursor: pointer;
    transition: 0.2s;
}

.search-box button:hover {
    background: #055da6;
}


/* =================================
   PERBAIKAN PENCARIAN DI HP
================================= */

@media (max-width: 768px) {

    .main-header {
        flex-wrap: wrap;
        padding: 12px;
        gap: 12px;
    }

    .main-header .logo {
        width: 100%;
    }

   .main-header .search-box {
    display: flex;
    flex: 1;
    width: auto;
    max-width: none;
    min-width: 0;
    height: 44px;
    order: 2;
}

    .main-header .header-actions {
        order: 3;
    }

    .main-header .search-box input {
        min-width: 0;
        font-size: 14px;
    }
}



/* URUTAN PRODUK KHUSUS HP */
@media (max-width: 768px) {
    .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;
    }
}

/* PENCARIAN DAN URUTAN BERDAMPINGAN */
.search-urutan-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.search-urutan-wrapper .search-box {
    flex: 1;
    min-width: 0;
    width: auto;
}

.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: 44px;
    padding: 0 7px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .search-urutan-wrapper {
        width: 100%;
        gap: 7px;
    }

    .search-urutan-wrapper .search-box {
        height: 44px;
    }

    .search-urutan-wrapper .filter-urutan select {
        width: 115px;
        max-width: 115px;
    }
}

/* DESAIN MODERN PENCARIAN DAN URUTAN HP */
@media (max-width: 768px) {

    .search-urutan-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .search-urutan-wrapper .search-box {
        flex: 1;
        min-width: 0;
        height: 46px;
        border: 1px solid #dce8f5;
        border-radius: 12px;
        background: #f7faff;
        box-shadow: 0 2px 6px #00000008;
    }

    .search-urutan-wrapper .search-box input {
        padding: 0 10px;
        font-size: 13px;
    }

    .search-urutan-wrapper .search-box button {
        width: 42px;
        border-radius: 0 10px 10px 0;
        background: #0875cc;
    }

    .search-urutan-wrapper .filter-urutan {
        width: 118px;
        flex-shrink: 0;
    }

    .search-urutan-wrapper .filter-urutan select {
        width: 100%;
        max-width: 100%;
        height: 46px;
        padding: 0 7px;
        border: 1px solid #dce8f5;
        border-radius: 12px;
        background: #f7faff;
        color: #1264b0;
        font-size: 12px;
        font-weight: 600;
    }
}

@media (max-width: 768px) {
    .search-urutan-wrapper {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .search-urutan-wrapper .search-box {
        order: 1;
    }

    .search-urutan-wrapper .filter-urutan {
        order: 2;
    }
}