:root {
    --ink: #211b18;
    --muted: #756b63;
    --cream: #f7f2eb;
    --gold: #b58a4a;
    --line: #e8e0d7;
}

html {
    font-family: "Poppins", "Hind", sans-serif;
}

body {
    background: #fffdfb;
    color: var(--ink);
    font-family: "Poppins", "Hind", sans-serif;
}

button,
input,
select,
textarea {
    font: inherit;
}

:root {
    --ink: #211b18;
    --muted: #756b63;
    --cream: #f7f2eb;
    --gold: #b58a4a;
    --line: #e8e0d7
}

body {
    background: #fffdfb;
    color: var(--ink);
    font-family: "Poppins", "Hind", sans-serif;
}

a {
    color: #5b4326;
    text-decoration: none
}

a:hover {
    color: #9b7136
}

.brand {
    font-weight: 850;
    letter-spacing: .09em;
    font-size: 1.05rem;
    color: #221b16 !important
}

.navbar {
    box-shadow: 0 4px 20px #27190c08
}

.hero {
    background: linear-gradient(115deg, #f2e7d9, #fbf7f1 55%, #ead9c4);
    overflow: hidden;
    min-height: 350px
}

.eyebrow {
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .19em;
    color: var(--gold)
}

.accent {
    color: #8b6330
}

.hero-art {
    min-height: 260px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle, #e5cba9, #d9b98e 50%, #e8d7c1);
    border-radius: 1.5rem
}

.frame-art {
    width: 180px;
    height: 220px;
    background: #fbf5e9;
    border: 12px solid #7b542b;
    box-shadow: 0 18px 30px #4c2d1833;
    display: grid;
    place-content: center;
    text-align: center;
    color: #936c3b;
    font-size: 1.4rem;
    line-height: 1.4;
    outline: 1px solid #d9b77b;
    outline-offset: -18px
}

.frame-art span {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: .12em;
    color: #3d3026
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem
}

.section-heading h2,
.section-heading h1 {
    margin: .25rem 0 0;
    font-weight: 750;
    letter-spacing: -.03em
}

.category-tile {
    display: block;
    padding: 1.3rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    min-height: 140px;
    transition: .2s
}

.category-tile:hover,
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px #24180d0c
}

.tile-symbol {
    font-size: 1.8rem;
    color: var(--gold)
}

.category-tile h5 {
    margin: .6rem 0 .3rem;
    font-weight: 700
}

.category-tile span:last-child {
    font-size: .8rem;
    color: var(--muted)
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    transition: .2s
}

.product-image {
    display: grid;
    place-items: center;
    aspect-ratio: 1/1;
    background: #f6f1ea;
    overflow: hidden
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s
}

.product-card:hover .product-image img {
    transform: scale(1.035)
}

.placeholder-image {
    display: grid;
    place-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    min-height: 180px;
    background: linear-gradient(135deg, #eee1d0, #faf5ee);
    color: #9a7a4d;
    font-weight: 800;
    letter-spacing: .16em
}

.filter-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.25rem
}

.empty-state {
    border: 1px dashed #d7c8b7;
    background: #fbf7f1;
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    color: var(--muted)
}

.detail-main-image {
    background: #f6f1ea;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1/1;
    display: grid;
    place-items: center
}

.detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.thumb-button {
    padding: 0;
    border: 1px solid var(--line);
    border-radius: .5rem;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1;
    background: #f6f1ea
}

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

.price-large {
    font-size: 2rem;
    font-weight: 800
}

.detail-chip {
    display: inline-block;
    border: 1px solid var(--line);
    border-radius: 2rem;
    padding: .35rem .7rem;
    font-size: .85rem;
    background: #fff
}

.quantity-input {
    max-width: 120px
}

.auth-card {
    max-width: 500px;
    margin: 1rem auto 3rem;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: #fff
}

.cart-summary {
    max-width: 400px;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.5rem;
    background: white
}

.cart-thumb {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: .5rem;
    background: var(--cream)
}

.success-panel {
    max-width: 720px;
    margin: 2rem auto;
    padding: 3rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1.5rem;
    background: #fff
}

.success-icon {
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    background: #e7f3e9;
    color: #26713a;
    font-size: 2rem
}

.stat-card {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff
}

.stat-card div {
    color: var(--muted);
    font-size: .9rem
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    margin-top: .3rem
}

.status-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem
}

.status-step {
    font-size: .72rem;
    padding: .4rem .55rem;
    background: #f2eee8;
    color: #786f65;
    border-radius: 2rem
}

.status-step.active {
    background: #211b18;
    color: white
}

.btn-dark {
    background: #211b18;
    border-color: #211b18
}

.btn-dark:hover {
    background: #493b2c;
    border-color: #493b2c
}

footer a {
    color: var(--muted)
}

@media(max-width:767px) {
    .hero {
        padding: 1.5rem !important
    }

    .hero h1 {
        font-size: 2.5rem
    }

    .hero-art {
        min-height: 220px
    }

    .section-heading h2 {
        font-size: 1.5rem
    }

    .auth-card {
        padding: 1.25rem
    }
}


/* Gift Pack */
.gift-pack-card {
    padding: 18px;
    border: 1px solid #e8dfd4;
    border-radius: 14px;
    background: #fffdf9;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.gift-pack-card:has(#giftPack:checked) {
    border-color: #b89a72;
    box-shadow: 0 0 0 2px rgb(184 154 114 / 10%);
}

.gift-pack-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    color: #725431;
    background: #f3eadc;
    border-radius: 12px;
}

.gift-pack-title {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 700;
    color: #25211c;
    cursor: pointer;
}

.gift-pack-description {
    font-size: .875rem;
    line-height: 1.6;
    color: #77716a;
}

.gift-pack-price {
    white-space: nowrap;
    font-size: .95rem;
    font-weight: 700;
    color: #725431;
}

.gift-pack-card .form-check-input {
    cursor: pointer;
}

.gift-pack-card .form-check-input:checked {
    background-color: #725431;
    border-color: #725431;
}

.gift-pack-card .form-check-label {
    font-size: .9rem;
    cursor: pointer;
}

.gift-pack-fee {
    font-size: .875rem;
    color: #77716a;
}

.gift-pack-fee strong {
    color: #25211c;
}
