* {
    box-sizing: border-box
}

:root {
    --cream: #efd08c;
    --pink: #b12d60;
    --text: #171717
}

html,
body {
    margin: 0;
    padding: 0;
    /* background: #f2f2f2; */
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text)
}

body {
    min-height: 100vh
}

button,
input {
    font: inherit
}

button {
    border: 0;
    background: none;
    cursor: pointer
}

.app {
    width: 100%;
    max-width: 702px;
    min-height: 100vh;
    margin: auto;
    background: #fff;
    position: relative;
    padding-bottom: 88px;
    overflow: hidden
}

.top {
    background: var(--cream);
    padding: 25px 35px 18px
}

.delivery-row {
    height: 136px;
    display: flex;
    align-items: flex-start;
    gap: 10px
}

.brand {
    width: 48px;
    height: 52px;
    margin-top: 37px;
    overflow: hidden;
    border-radius: 4px;
    flex: none
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.delivery {
    padding-top: 34px;
    flex: 1;
    min-width: 145px
}

.delivery-label {
    font-size: 25px;
    font-weight: 700;
    color: #a942a3;
    line-height: 1.1;
    margin-bottom: 7px
}

.location {
    font-size: 26px;
    font-weight: 700;
    white-space: nowrap
}

.chevron {
    font-size: 30px;
    margin-left: 6px;
    font-weight: 400
}

.coin {
    height: 56px;
    min-width: 84px;
    margin-top: 32px;
    border: 1.5px solid #b57a24;
    border-radius: 30px;
    background: #f6e6b7;
    box-shadow: inset 0 0 0 5px #fff1c8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 23px
}

.coin span {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #f1c23e;
    display: grid;
    place-items: center;
    color: #a87513;
    border: 1px solid #d7a52e;
    font-weight: bold
}

.icon-btn {
    font-size: 48px;
    line-height: 1;
    margin-top: 31px;
    width: 57px;
    font-weight: 300
}

.cart-icon {
    font-size: 38px
}

.search-row {
    display: flex;
    gap: 25px;
    align-items: center
}

.search-box {
    height: 40px;
    background: #fff;
    border: 1px solid #999;
    border-radius: 25px;
    display: flex;
    align-items: center;
    padding: 0 15px 5px 20px;
    flex: 1;
    box-shadow: 0 1px 2px #aaa
}

.search-box input {
    border: 0;
    outline: 0;
    width: 100%;
    font-size: 26px;
    color: #333;
    background: transparent
}

.search-box input::placeholder {
    color: #686868
}

.search-box span {
    font-size: 30px;
    line-height: 1
}

.store-btn {
    height: 40px;
    min-width: 130px;
    background: #fffaf0;
    border-radius: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15
}

.store-icon {
    font-size: 30px;
    font-weight: 400
}

.metal-tabs {
    height: 50px;
    background: #fff;
    border-radius: 24px;
    margin-top: 0px;
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border:1px solid #666
}

.metal-tabs button {
    font-size: 16px;
    font-weight: 700;
    color: #666;
    border-radius: 19px
}

.metal-tabs button.active {
    background: var(--pink);
    color: #fff;
    box-shadow: inset 0 0 0 1px #B8860B
}

main {
    background: #fff
}
.deal_img{
    /* max-height: 100px; */
    width: 100%;
    margin: 20px 0;
}
.addtoButton{
    background: linear-gradient(135deg, var(--kg-gold), var(--kg-gold-light));
    color: #000;
    font-size: 14px;
    /* font-size: 1.25vw; */
    --border-offset: 0;
    width: 100%;
    padding: 5px;
    border-radius: 5px;
}

/* .categories {
    padding: 34px 28px 29px
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 31px;
    row-gap: 27px
}

.category {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0
}

.category img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 30px;
    object-fit: cover;
    display: block;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .08)
}

.category span {
    font-size: 22px;
    margin-top: 12px;
    white-space: nowrap
}

.hero {
    border-top: 10px solid #f6f6f6;
    padding: 30px 14px 20px
}

.hero-card {
    position: relative;
    border-radius: 17px;
    overflow: hidden;
    background: #e8d0a9
}

.hero-card img {
    width: 100%;
    display: block
}

.hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    text-align: center;
    color: #7d3b09;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .2)
}

.hero-overlay h1 {
    font-family: Georgia, serif;
    font-size: 45px;
    margin: 0 0 8px;
    font-weight: 500
}

.hero-overlay p {
    font-size: 23px;
    margin: 0
}

.metal-content[hidden] {
    display: none !important
}

.metal-content.active {
    display: block
}

.diamond-hero {
    border-top: 10px solid #f6f6f6;
    padding: 30px 14px 20px
}

.diamond-hero-card {
    min-height: 245px;
    border-radius: 17px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px;
    background: linear-gradient(135deg, #f8f8f8 0%, #e9edf1 48%, #fff 100%);
    border: 1px solid #e1e1e1
}

.diamond-hero-copy h1 {
    font-family: Georgia, serif;
    font-size: 42px;
    margin: 0 0 10px;
    font-weight: 500;
    color: #4c4c52
}

.diamond-hero-copy p {
    font-size: 22px;
    margin: 0;
    color: #68686d
}

.diamond-sparkle {
    position: absolute;
    left: 10%;
    top: 18%;
    font-size: 58px;
    color: #a8a8b0
}

.diamond-sparkle.small {
    left: auto;
    top: auto;
    right: 12%;
    bottom: 16%;
    font-size: 40px
} */

.toast {
    position: fixed;
    left: 50%;
    bottom: 105px;
    transform: translateX(-50%) translateY(15px);
    background: #222;
    color: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    opacity: 0;
    pointer-events: none;
    transition: .25s;
    z-index: 10
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 702px;
    height: 91px;
    background: #fff;
    border-top: 1px solid #ddd;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    z-index: 9
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 17px
}

.nav-icon {
    font-size: 39px;
    line-height: 1;
    font-weight: 300
}

.nav-item b {
    font-size: 18px
}

.nav-item.active {
    background: #ffe4fa
}

.home-icon {
    font-size: 44px
}

.gift {
    font-size: 35px
}

.crown {
    font-size: 45px
}

@media(max-width:520px) {
    .app {
        max-width: 480px
    }

    .top {
        padding: 15px 14px 17px
    }

    .delivery-row {
        height: 132px;
        gap: 5px
    }

    .brand {
        width: 46px;
        height: 50px;
        margin-top: 31px
    }

    .delivery {
        padding-top: 27px
    }

    .delivery-label {
        font-size: 21px
    }

    .location {
        font-size: 23px
    }

    .coin {
        min-width: 76px;
        height: 55px;
        margin-top: 26px
    }

    .icon-btn {
        font-size: 45px;
        width: 48px;
        margin-top: 25px
    }

    .cart-icon {
        font-size: 34px
    }

    .search-row {
        gap: 10px;
        padding: 5px 10px;
    }

    .search-box {
        height: 37px;
        padding-left: 15px;
        border-radius: 25px
    }

    .search-box input {
        font-size: 18px
    }

    .store-btn {
        min-width: 120px;
        height: 50px;
        font-size: 15px;
        gap: 8px
    }

    .metal-tabs {
        height: 50px;
        margin-top: 0px
    }

    .metal-tabs button {
        font-size: 16px
    }

    /* .categories {
        padding: 34px 29px 29px
    }

    .category-grid {
        column-gap: 30px;
        row-gap: 27px
    }

    .category img {
        border-radius: 28px
    }

    .category span {
        font-size: 19px
    }

    .hero {
        padding: 27px 14px 20px
    }

    .hero-overlay h1 {
        font-size: 39px
    }

    .hero-overlay p {
        font-size: 18px
    }

    .bottom-nav {
        height: 88px
    } */
}

@media(max-width:380px) {
    .delivery-label {
        font-size: 18px
    }

    .location {
        font-size: 19px
    }

    .coin {
        min-width: 66px
    }

    .icon-btn {
        width: 42px
    }

    .category-grid {
        column-gap: 17px
    }

    .category span {
        font-size: 16px
    }

    .metal-tabs button {
        font-size: 16px
    }

    .store-btn {
        min-width: 110px;
        font-size: 16px
    }
}
/* =========================================================
   SEARCH SUGGESTIONS
   ========================================================= */

.search-box {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-height: 430px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,.16);
    z-index: 99999;
    display: none;
    padding: 6px 0;
}

.search-result {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    cursor: pointer;
    background: #fff;
    transition: background .15s ease;
}

.search-result:hover {
    background: #faf1f4;
}

.search-result-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7e7eb;
    color: #5B1927;
    font-size: 17px;
}

.search-product-image {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #f5f5f5;
}

.search-result-info {
    min-width: 0;
    flex: 1;
    text-align: left;
}

.search-result-name {
    color: #222;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-type {
    color: #888;
    font-size: 11px;
    margin-top: 3px;
}

.search-result-price {
    color: #5B1927;
    font-size: 13px;
    font-weight: 700;
    margin-top: 3px;
}

.search-arrow {
    color: #999;
    font-size: 15px;
    margin-left: auto;
}

.search-no-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 70px;
    color: #777;
    font-size: 13px;
}

.search-no-result i {
    color: #5B1927;
}

@media (max-width: 480px) {
    .search-suggestions {
        width: 100%;
        max-height: 390px;
    }

    .search-result {
        padding: 9px 10px;
    }

    .search-result-name {
        font-size: 13px;
    }
}

/* Search suggestions: text-only results */
.search-suggestions .search-result-icon,
.search-suggestions .search-product-image,
.search-suggestions .search-result-price { display:none !important; }
