body {
    font-family: Arial, sans-serif;
    background: #f7f7f7;
    margin: 0;
}

.container {
    padding: 12px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    position:relative;
}

img {
    width: 100%;
    border-radius: 8px;
}

h1, h2, h3 {
    margin: 5px 0;
}

.btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 8px;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-danger {
    background: red;
    color: white;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #ddd;
    padding: 8px 0;
}

.bottom-nav a {
    text-align: center;
    font-size: 12px;
    text-decoration: none;
    color: #333;
}

.card {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.card img {
    height: 180px;
    object-fit: cover;
}


.container {
    max-width: 500px;
    margin: auto;
}

.card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.header {
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    background: white;
    border-bottom: 1px solid #eee;
}

.card {
    transition: 0.2s;
}

.card:active {
    transform: scale(0.98);
}

.btn {
    font-size: 14px;
}

.price {
    font-size: 18px;
    font-weight: bold;
}

.location {
    color: #777;
    font-size: 13px;
}


.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    padding: 12px;
    border-bottom: 1px solid #eee;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-btn {
    font-size: 18px;
    text-decoration: none;
}

.container {
    padding-top: 60px; /* prevent overlap */
}

.skeleton {
    background: #eee;
    height: 180px;
    border-radius: 10px;
    margin-bottom: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
}


.input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
}


.img-slot {
    width: 100%;
    height: 120px;
    background: #f2f2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.img-slot span {
    font-size: 30px;
    color: #999;
}

.img-slot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}



.img-slot {
    width: 100%;
    height: 120px;
    background: #f2f2f2;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.img-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.plus {
    position: absolute;
    font-size: 28px;
    color: #999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cover-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: gold;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 12px;
    display: none;
}
#loadingMore {
    display: none !important;
} 
#loadMoreBox {
    display: none !important;
}


nav svg {
    width: 25px !important;
    height: 25px !important;
}


nav {
    display:flex;
    justify-content:center;
    gap:8px;
    margin:25px 0;
}

nav a, nav span {
    padding:6px 10px;
    border-radius:6px;
    background:#f1f1f1;
    text-decoration:none;
}

nav .active {
    background:#007bff;
    color:white;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px; /* 👈 spacing between items */
    flex-wrap: wrap; /* mobile friendly */
}

.pagination li {
    list-style: none;
}

.pagination a,
.pagination span {
    padding: 6px 12px;
    border-radius: 8px;
    background: #f1f1f1;
    text-decoration: none;
    font-size: 14px;
}

.pagination .active span {
    background: #007bff;
    color: white;
}


.pagination li:first-child {
    margin-right: 10px;
}

.pagination li:last-child {
    margin-left: 10px;
}


.description {
    white-space: pre-line;
    line-height: 1.6;
}
