/* ========================================
   JAPAN 願望購
   Japanese Lifestyle / Select Shop
   Cream × Light Wood × Sakura Pink
   ======================================== */

:root {
    --black: #faf8f5;
    --black-soft: #ffffff;
    --black-card: #ffffff;

    --gold-dark: #b87978;
    --gold: #e99a9c;
    --gold-light: #b86f70;

    --white: #4b403a;
    --gray: #8f8580;

    --border: rgba(184, 120, 120, 0.20);

    --cream: #faf8f5;
    --cream-deep: #f3e8df;
    --wood: #d8bda3;
    --wood-light: #ead8c6;
    --sakura: #f1c5c7;
    --sakura-light: #fff0ef;
    --brown: #5b4740;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #faf8f5;
    color: var(--white);

    font-family:
        "Noto Sans TC",
        "Microsoft JhengHei",
        Arial,
        sans-serif;

    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

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


/* ---------- 導覽列 ---------- */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: rgba(250, 247, 242, 0.92);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(154, 118, 93, 0.16);

    box-shadow: 0 4px 20px rgba(93, 70, 53, 0.05);

    z-index: 1000;
}


/* ---------- Logo ---------- */

.logo {
    display: flex;
    align-items: center;
    gap: 14px;

    color: var(--brown);

    font-family: Georgia, serif;

    font-size: 20px;

    letter-spacing: 0.12em;
}

.logo-symbol {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--wood);

    color: var(--gold-light);

    background: var(--sakura-light);

    font-size: 16px;

    border-radius: 2px;
}

.logo-subtitle {
    display: block;

    margin-top: 2px;

    font-family: Arial, sans-serif;

    font-size: 8px;

    letter-spacing: 0.3em;

    color: var(--gold);
}


/* ---------- 導覽連結 ---------- */

.nav-links {
    display: flex;
    gap: 32px;

    font-size: 14px;

    color: #75685f;
}

.nav-links a {
    transition: 0.25s ease;
}

.nav-links a:hover {
    color: var(--gold-light);
}


/* ---------- Hero ---------- */

.hero {
    min-height: 100vh;

    padding: 150px 7% 90px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 70px;

    align-items: center;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(232, 197, 197, 0.28),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fbf8f3 0%,
            #f8f1e9 60%,
            #eee1d3 100%
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    right: -300px;
    top: 100px;

    border-radius: 50%;

    border: 1px solid rgba(184, 145, 122, 0.14);

    box-shadow:
        0 0 0 70px rgba(184, 145, 122, 0.035),
        0 0 0 140px rgba(184, 145, 122, 0.02);

    pointer-events: none;
}


/* ---------- Hero 文字 ---------- */

.hero-eyebrow {
    color: var(--gold-light);

    font-size: 11px;

    letter-spacing: 0.35em;

    margin-bottom: 22px;
}

.hero-title {
    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(60px, 8vw, 110px);

    font-weight: 400;

    line-height: 0.9;

    letter-spacing: -0.04em;

    color: var(--brown);
}

.hero-title span {
    display: block;

    margin-top: 25px;

    font-family: "Noto Sans TC", sans-serif;

    font-size: 0.28em;

    letter-spacing: 0.12em;

    color: var(--gold-light);
}

.gold-line {
    width: 55px;

    height: 1px;

    margin: 28px 0;

    background:
        linear-gradient(
            90deg,
            var(--wood),
            var(--gold),
            var(--wood)
        );
}

.hero-description {
    max-width: 570px;

    color: var(--gray);

    font-size: 15px;

    line-height: 2;

    margin-bottom: 32px;
}


/* ---------- 按鈕 ---------- */

.buttons {
    display: flex;

    gap: 14px;

    flex-wrap: wrap;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 145px;

    padding: 13px 25px;

    border: 1px solid var(--wood);

    font-size: 13px;

    letter-spacing: 0.08em;

    transition: all 0.3s ease;

    cursor: pointer;

    border-radius: 2px;
}

.btn-primary {
    background:
        linear-gradient(
            120deg,
            #b89478,
            #c9a78d
        );

    color: #fffaf5;

    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 35px rgba(130, 94, 70, 0.16);
}

.btn-outline {
    color: var(--gold-light);

    background: rgba(255, 253, 249, 0.55);
}

.btn-outline:hover {
    background: var(--sakura-light);

    transform: translateY(-2px);
}


/* ---------- Hero 右側 ---------- */

.hero-visual {
    min-height: 500px;

    position: relative;

    display: flex;

    align-items: flex-end;

    padding: 35px;

    border: 1px solid var(--border);

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(241, 197, 199, 0.32),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #fffaf6,
            #ead8c6
        );

    overflow: hidden;

    box-shadow:
        0 18px 45px rgba(100, 76, 57, 0.08);
}

.hero-visual::before {
    content: "JAPAN";

    position: absolute;

    top: 70px;
    right: -40px;

    font-family: Georgia, serif;

    font-size: 120px;

    color: rgba(117, 85, 67, 0.06);

    transform: rotate(90deg);

    letter-spacing: 0.08em;
}

.hero-visual-content {
    position: relative;

    width: 100%;

    padding-top: 20px;

    border-top: 1px solid var(--border);
}

.hero-visual-label {
    color: var(--gold-light);

    font-size: 10px;

    letter-spacing: 0.25em;

    margin-bottom: 10px;
}

.hero-visual-title {
    font-family: Georgia, serif;

    font-size: 34px;

    color: var(--brown);

    margin-bottom: 8px;
}

.hero-visual-text {
    color: var(--gray);

    font-size: 13px;

    max-width: 480px;
}


/* ---------- 區塊 ---------- */

.section {
    padding: 100px 7%;

    border-top: 1px solid rgba(120, 94, 75, 0.10);

    background: rgba(250, 247, 242, 0.62);
}

.section-label {
    color: var(--gold-light);

    font-size: 10px;

    letter-spacing: 0.3em;

    margin-bottom: 10px;
}

.section-title {
    font-family: Georgia, serif;

    font-size: clamp(34px, 5vw, 55px);

    font-weight: 400;

    color: var(--brown);
}

.section-description {
    max-width: 500px;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.9;
}


/* ---------- 商品 ---------- */

.products {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;

    margin-top: 45px;
}

.product-card {
    background: rgba(255, 253, 249, 0.88);

    border: 1px solid rgba(154, 118, 93, 0.18);

    transition: 0.3s ease;

    box-shadow:
        0 8px 25px rgba(100, 76, 57, 0.04);
}

.product-card:hover {
    transform: translateY(-6px);

    border-color: rgba(184, 137, 120, 0.45);

    box-shadow:
        0 15px 40px rgba(100, 76, 57, 0.10);
}

.product-image {
    aspect-ratio: 1 / 1.05;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle,
            rgba(232, 197, 197, 0.28),
            transparent 45%
        ),
        #f1e8dd;

    color: var(--gold);

    font-family: Georgia, serif;

    font-size: 42px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--gold-light);

    font-size: 9px;

    letter-spacing: 0.2em;
}

.product-name {
    margin-top: 7px;

    font-size: 15px;

    color: var(--brown);
}

.product-description {
    margin-top: 5px;

    color: var(--gray);

    font-size: 12px;
}


/* ---------- 願望購 ---------- */

.wish-section {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 70px;

    align-items: center;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(232, 197, 197, 0.18),
            transparent 30%
        );
}

.wish-text {
    color: var(--gray);

    line-height: 2;

    font-size: 14px;
}

.wish-box {
    padding: 35px;

    background: rgba(255, 253, 249, 0.92);

    border: 1px solid var(--border);

    box-shadow:
        0 15px 40px rgba(100, 76, 57, 0.07);
}


/* ---------- 表單 ---------- */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #75685f;

    font-size: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 13px;

    background: #fffdf9;

    border: 1px solid rgba(117, 94, 76, 0.20);

    color: var(--white);

    outline: none;

    border-radius: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(232, 197, 197, 0.18);
}

.form-group textarea {
    min-height: 110px;

    resize: vertical;
}


/* ---------- 日本行程 ---------- */

.journey {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 18px;

    margin-top: 45px;
}

.journey-main,
.journey-side {
    background: rgba(255, 253, 249, 0.90);

    border: 1px solid rgba(154, 118, 93, 0.18);

    padding: 35px;
}

.journey-main {
    min-height: 320px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(232, 197, 197, 0.22),
            transparent 30%
        ),
        #f3e8dc;
}

.route {
    margin: 10px 0 18px;

    font-family: Georgia, serif;

    font-size: 38px;

    color: var(--brown);
}

.journey-side div {
    padding: 17px 0;

    border-bottom: 1px solid rgba(120, 94, 75, 0.10);

    color: #75685f;

    font-size: 13px;
}

.journey-side div:last-child {
    border-bottom: none;
}

.journey-side strong {
    color: var(--gold-light);

    margin-right: 10px;
}


/* ---------- Footer ---------- */

.footer {
    padding: 45px 7%;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid var(--border);

    background: #eee3d7;

    color: #81756b;

    font-size: 11px;
}


/* ---------- 通用日系卡片／狀態 ---------- */

.card,
.stat-card,
.wish-item,
.empty-state {
    background: rgba(255, 253, 249, 0.90);
    color: var(--white);
}

input::placeholder,
textarea::placeholder {
    color: #aaa098;
}

select {
    background: #fffdf9;
    color: var(--white);
    border-color: rgba(117, 94, 76, 0.20);
}


/* ---------- 手機版 ---------- */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;

        padding-top: 130px;
    }

    .hero-visual {
        min-height: 350px;
    }

    .products {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .wish-section {
        grid-template-columns: 1fr;
    }

    .journey {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 560px) {

    .hero {
        padding-left: 6%;
        padding-right: 6%;
    }

    .section {
        padding: 75px 6%;
    }

    .products {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 65px;
    }

    .footer {
        flex-direction: column;
    }
}


.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 40px;
}


/* ========================================
   FINAL WHITE / SAKURA OVERRIDES
   ======================================== */

html,
body {
    background: #faf8f5 !important;
    color: #4b403a !important;
}

.navbar {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom-color: rgba(184, 120, 120, 0.16) !important;
}

.section {
    background: #fffdfb !important;
}

.product-card,
.wish-box,
.journey-main,
.journey-side,
.stat-card,
.wish-item,
.empty-state,
.card {
    background: #ffffff !important;
    color: #4b403a !important;
    border-color: rgba(184, 120, 120, 0.18) !important;
}

.product-image {
    background:
        radial-gradient(
            circle,
            rgba(241, 197, 199, 0.30),
            transparent 48%
        ),
        #f7eee7 !important;
}

.form-group input,
.form-group textarea,
select {
    background: #ffffff !important;
    color: #4b403a !important;
    border-color: rgba(120, 96, 82, 0.20) !important;
}

.btn-primary {
    background: #e99a9c !important;
    border-color: #e99a9c !important;
    color: #ffffff !important;
}

.btn-outline {
    background: #ffffff !important;
    border-color: #e5a3a4 !important;
    color: #b86f70 !important;
}

.footer {
    background: #f7eee7 !important;
    color: #81746c !important;
    border-top-color: rgba(184, 120, 120, 0.18) !important;
}

.section-title,
.hero-title,
.product-name,
.journey-main .route,
.hero-visual-title {
    color: #5b4740 !important;
}

.section-label,
.hero-eyebrow,
.product-category,
.hero-visual-label {
    color: #c27678 !important;
}

.gold-line {
    background: linear-gradient(
        90deg,
        #e8c4ad,
        #e99a9c,
        #e8c4ad
    ) !important;
}


/* ========================================
   FINAL CLEAN WHITE THEME
   白色主體／木質只做圖片與小面積點綴
   ======================================== */

html,
body {
    background: #ffffff !important;
    color: #4b403a !important;
}

/* 導覽列 */
.navbar {
    background: rgba(255, 255, 255, 0.97) !important;
}

/* 首頁 Hero：左側乾淨白，右側才保留淡木質圖片感 */
.hero {
    background: #fffdfb !important;
}

.hero-visual {
    background:
        radial-gradient(
            circle at 70% 35%,
            rgba(241, 197, 199, 0.32),
            transparent 34%
        ),
        #f8eee7 !important;
}

/* 所有主要 section 不再使用咖啡色底 */
.section,
.wish-section {
    background: #ffffff !important;
}

/* 商品卡 */
.product-card {
    background: #ffffff !important;
}

.product-image {
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(241, 197, 199, 0.25),
            transparent 48%
        ),
        #f8f3ee !important;
}

/* 願望購表單 */
.wish-box {
    background: #ffffff !important;
}

/* 日本行程 */
.journey-main,
.journey-side {
    background: #ffffff !important;
}

.journey-main {
    background:
        linear-gradient(
            135deg,
            #fffaf7 0%,
            #ffffff 72%
        ) !important;
}

/* Footer 不再是棕色 */
.footer {
    background: #fff7f5 !important;
}

/* 表單 */
.form-group input,
.form-group textarea,
select {
    background: #ffffff !important;
}

/* 任何舊版卡片背景統一成白色 */
.card,
.stat-card,
.wish-item,
.empty-state {
    background: #ffffff !important;
}

/* 按鈕保留最左邊方案的櫻花粉 */
.btn-primary {
    background: #e99a9c !important;
    border-color: #e99a9c !important;
}

.btn-outline {
    background: #ffffff !important;
    border-color: #e5a3a4 !important;
    color: #b86f70 !important;
}


/* ========================================
   WHITE VERSION - REMOVE LARGE BROWN AREAS
   ======================================== */

.hero-visual {
    background: #ffffff !important;
    border: 1px solid rgba(216, 189, 163, 0.55) !important;
    box-shadow: 0 18px 45px rgba(90, 70, 55, 0.06) !important;
}

.hero-visual::before {
    color: rgba(184, 111, 112, 0.045) !important;
}

.product-image {
    background: #fffafa !important;
}

.journey-main {
    background: #ffffff !important;
}

.footer {
    background: #fffafa !important;
}

.logo-symbol {
    background: #fff0ef !important;
    border-color: #e8c4ad !important;
}

/* 所有主要容器保持真正白色 */
.hero,
.section,
.wish-section,
.product-card,
.wish-box,
.journey-side {
    background-color: #ffffff !important;
}


/* =========================================================
   JAPAN 願望購 — FINAL JAPANESE WHITE THEME
   白色主體 / 淡櫻花粉 / 淺木質
   注意：只改視覺，不改任何 JS / 訂單功能。
   ========================================================= */

:root {
    --black: #ffffff !important;
    --black-soft: #fffaf8 !important;
    --black-card: #ffffff !important;
    --white: #4b403a !important;
    --gray: #8d827b !important;
    --brown: #5b4740 !important;

    --gold-dark: #b86f70 !important;
    --gold: #e39a9d !important;
    --gold-light: #c27678 !important;

    --cream: #ffffff !important;
    --cream-deep: #fff5f2 !important;
    --wood: #d9bea5 !important;
    --wood-light: #ead8c6 !important;
    --sakura: #f1c5c7 !important;
    --sakura-light: #fff0ef !important;

    --border: rgba(184, 120, 120, 0.18) !important;
}

/* ===== 全站根背景 ===== */

html,
body {
    background: #ffffff !important;
    background-image: none !important;
    color: #4b403a !important;
}

/* ===== 導覽 ===== */

.navbar {
    background: rgba(255, 255, 255, 0.96) !important;
    background-image: none !important;
    color: #4b403a !important;
    border-bottom: 1px solid rgba(184, 120, 120, 0.16) !important;
    box-shadow: 0 4px 20px rgba(80, 60, 45, 0.05) !important;
}

.logo {
    color: #5b4740 !important;
}

.logo-symbol {
    background: #fff0ef !important;
    color: #b86f70 !important;
    border-color: #e8c4ad !important;
}

.logo-subtitle {
    color: #c27678 !important;
}

.nav-links {
    color: #75685f !important;
}

.nav-links a:hover {
    color: #c27678 !important;
}

/* ===== 所有主要頁面區塊 ===== */

.hero,
.section,
.wish-section {
    background: #ffffff !important;
    background-image: none !important;
    color: #4b403a !important;
}

.hero {
    position: relative;
}

.hero::before {
    border-color: rgba(216, 189, 164, 0.12) !important;
    box-shadow:
        0 0 0 70px rgba(216, 189, 164, 0.025),
        0 0 0 140px rgba(216, 189, 164, 0.012) !important;
}

.hero-eyebrow,
.section-label,
.product-category,
.hero-visual-label {
    color: #c27678 !important;
}

.hero-title,
.section-title,
.product-name,
.hero-visual-title,
.route {
    color: #5b4740 !important;
}

.hero-title span {
    color: #b86f70 !important;
}

.hero-description,
.section-description,
.product-description,
.wish-text,
.hero-visual-text {
    color: #8d827b !important;
}

/* ===== Hero 右側：白色，不再使用咖啡色大底 ===== */

.hero-visual {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid rgba(216, 189, 164, 0.40) !important;
    box-shadow: 0 18px 45px rgba(90, 70, 55, 0.06) !important;
}

.hero-visual::before {
    color: rgba(184, 111, 112, 0.045) !important;
}

.hero-visual-content {
    border-top-color: rgba(184, 120, 120, 0.18) !important;
}

/* ===== 按鈕 ===== */

.btn {
    border-color: #e5b5b5 !important;
}

.btn-primary {
    background: #e39a9d !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: #e39a9d !important;
}

.btn-primary:hover {
    background: #d98f93 !important;
    box-shadow: 0 10px 35px rgba(217, 143, 147, 0.18) !important;
}

.btn-outline {
    background: #ffffff !important;
    color: #b86f70 !important;
    border-color: #e5b5b5 !important;
}

.btn-outline:hover {
    background: #fff0ef !important;
}

/* ===== 商品 ===== */

.products {
    background: transparent !important;
}

.product-card {
    background: #ffffff !important;
    background-image: none !important;
    color: #4b403a !important;
    border: 1px solid rgba(184, 120, 120, 0.18) !important;
    box-shadow: 0 8px 25px rgba(100, 76, 57, 0.045) !important;
}

.product-card:hover {
    border-color: rgba(227, 154, 157, 0.45) !important;
    box-shadow: 0 15px 40px rgba(100, 76, 57, 0.09) !important;
}

.product-image {
    background: #fffafa !important;
    background-image: none !important;
    color: #c27678 !important;
}

.product-image img {
    background: #fffafa !important;
}

.product-info {
    background: #ffffff !important;
}

/* ===== 願望購 ===== */

.wish-section {
    background: #ffffff !important;
    background-image: none !important;
}

.wish-box {
    background: #ffffff !important;
    background-image: none !important;
    color: #4b403a !important;
    border-color: rgba(184, 120, 120, 0.18) !important;
    box-shadow: 0 15px 40px rgba(100, 76, 57, 0.055) !important;
}

.form-group label {
    color: #75685f !important;
}

.form-group input,
.form-group textarea,
select {
    background: #ffffff !important;
    background-image: none !important;
    color: #4b403a !important;
    border-color: rgba(117, 94, 76, 0.20) !important;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e39a9d !important;
    box-shadow: 0 0 0 3px rgba(232, 197, 197, 0.18) !important;
}

input::placeholder,
textarea::placeholder {
    color: #aaa098 !important;
}

/* ===== 日本行程 ===== */

.journey,
.journey-main,
.journey-side {
    background: #ffffff !important;
    background-image: none !important;
}

.journey-main,
.journey-side {
    border-color: rgba(184, 120, 120, 0.18) !important;
}

.journey-main {
    min-height: 320px;
}

.journey-side div {
    color: #75685f !important;
    border-bottom-color: rgba(120, 94, 75, 0.10) !important;
}

.journey-side strong {
    color: #c27678 !important;
}

/* ===== 通用卡片 / 訂單 / 狀態 ===== */

.card,
.stat-card,
.wish-item,
.empty-state {
    background: #ffffff !important;
    background-image: none !important;
    color: #4b403a !important;
    border-color: rgba(184, 120, 120, 0.18) !important;
}

/* ===== Footer ===== */

.footer {
    background: #fff8f7 !important;
    background-image: none !important;
    color: #81746c !important;
    border-top-color: rgba(184, 120, 120, 0.18) !important;
}

/* ===== 任何常見深色表單/區塊全部拉回白色 ===== */

input,
textarea,
select,
option {
    background-color: #ffffff !important;
    color: #4b403a !important;
}

option {
    background: #ffffff !important;
}

/* ===== 重要：如果其他頁面有 inline / 舊 class 的大面積背景，
   這些核心容器仍以白色為最高優先級 ===== */

main,
main > section,
.page,
.container {
    background-color: #ffffff !important;
}

/* 但粉色服務區若有使用原本的服務樣式，保留淡粉而非咖啡色 */
.service,
.service-section,
.service-card {
    background-color: #fff7f6 !important;
}

/* ===== 手機版也保持白色 ===== */

@media (max-width: 900px) {
    html,
    body,
    .navbar,
    .hero,
    .section,
    .wish-section,
    .journey,
    .journey-main,
    .journey-side {
        background-color: #ffffff !important;
        background-image: none !important;
    }
}

/* ---------- Category Menu ---------- */

.jp-category-menu{
    position:relative;
    margin-left:22px;
}

.jp-category-btn{
    display:flex;
    align-items:center;
    gap:7px;
    border:0;
    background:transparent;
    color:#756a64;
    font-size:12px;
    cursor:pointer;
    padding:10px 0;
}

.jp-category-btn span{
    font-size:9px;
    transition:.2s;
}

.jp-category-menu:hover .jp-category-btn span{
    transform:rotate(180deg);
}

.jp-category-dropdown{
    position:absolute;
    top:100%;
    left:-12px;
    min-width:190px;
    padding:10px 0;
    background:rgba(255,255,255,.98);
    border:1px solid #f0dfdc;
    border-radius:14px;
    box-shadow:0 15px 35px rgba(82,62,48,.12);
    opacity:0;
    visibility:hidden;
    transform:translateY(8px);
    transition:.2s;
    z-index:1100;
}

.jp-category-menu:hover .jp-category-dropdown{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.jp-category-dropdown a{
    display:block;
    padding:10px 16px;
    color:#756a64;
    font-size:12px;
    text-decoration:none;
    white-space:nowrap;
}

.jp-category-dropdown a:hover{
    background:#fff4f3;
    color:#c8787c;
}

@media (max-width:900px){
    .jp-category-menu{
        position:relative;
        margin-left:auto;
        margin-right:14px;
    }

    .jp-category-btn{
        padding:10px 4px;
    }

    .jp-category-dropdown{
        left:auto;
        right:0;
        min-width:175px;
    }
}