/* =========================================================
   Bootstrap 5.3 Variable Overrides — maps brand to BS tokens
   ========================================================= */
@font-face {
    font-family: "Metropolis";
    src: url("/fonts/metropolis/Metropolis-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Metropolis";
    src: url("/fonts/metropolis/Metropolis-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Metropolis";
    src: url("/fonts/metropolis/Metropolis-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Metropolis";
    src: url("/fonts/metropolis/Metropolis-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Metropolis";
    src: url("/fonts/metropolis/Metropolis-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap
}

:root {
    --bs-primary: #E46A58;
    --bs-primary-rgb: 228, 106, 88;
    --bs-link-color: #E46A58;
    --bs-link-color-rgb: 228, 106, 88;
    --bs-link-hover-color: #C8533F;
    --bs-link-hover-color-rgb: 200, 83, 63;
    --bs-body-font-family: "Metropolis","Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bs-body-font-size: 1rem;
    --bs-body-line-height: 1.75;
    --bs-body-color: #1A1A1A;
    --bs-border-color: #E8E6E2;
    --bs-border-radius: 4px;
    --bs-font-sans-serif: "Metropolis","Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* =========================================================
   DAYIN Sport — Shared Styles
   Brand Color: #E46A58 (PANTONE 7416 C)
   ========================================================= */
:root {
    --bg: #FFFFFF;
    --bg-soft: #F7F7F5;
    --bg-panel: #FAFAF8;
    --ink: #1A1A1A;
    --ink-2: #333;
    --ink-3: #555;
    --ink-4: #8A8A8A;
    --line: #E8E6E2;
    --accent: #E46A58;
    --accent-dark: #C8533F;
    --accent-soft: rgba(228, 106, 88, .08);
    --radius: 4px;
    --maxw: 1280px;
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: "Metropolis","Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .25s
}

    a:hover {
        color: var(--accent)
    }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 32px
}

section {
    position: relative;
    /*padding: 100px 0*/
}

h1,
h2,
h3,
h4 {
    font-weight: 900;
    letter-spacing: .01em;
    line-height: 1.2;
    color: var(--ink)
}

h1 {
    font-size: clamp(40px, 5.5vw, 68px);
    font-weight: 900
}

h2 {
    font-size: clamp(32px, 4.5vw, 40px);
    font-weight: 900
}

h3 {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700
}

h4 {
    font-size: 16px;
    font-weight: 700
}

.accent {
    color: var(--accent)
}

.en {
    /*font-family: "Oswald", "Metropolis","Noto Sans TC", sans-serif;*/
    font-family: "Metropolis","Noto Sans TC", sans-serif;
    letter-spacing: .04em
}

.display {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: .03em;
    font-weight: 400
}

.eyebrow {
    display: inline-block;
    /*font-family: "Oswald", sans-serif;*/
    font-family: "Metropolis","Noto Sans TC", sans-serif;
    font-size: 13px;
    letter-spacing: .35em;
    font-weight: 600;
    color: var(--accent);
    color: #fff;
    text-transform: uppercase;
    padding-left: 0px;
    position: relative;
    margin-bottom: 22px;
}

    .eyebrow::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 30px;
        height: 2px;
        background: var(--accent);
        display: none;
    }

/* ---------- TOP BAR ---------- */
.topbar {
    background: var(--ink);
    color: #ccc;
    font-size: 12px;
    letter-spacing: .15em;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    position: sticky;
    z-index: 101;
    top: 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.topbar a {
    color: #ccc
}

    .topbar a:hover {
        color: #fff
    }

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

    .lang span {
        color: #666
    }

    .lang a.active {
        color: var(--accent)
    }

/* ---------- NAV ---------- */
.nav {
    position: sticky;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    background: #fff;
    /*border-bottom: 1px solid var(--line);*/
    transition: box-shadow .3s;
}

    .nav.scrolled {
        box-shadow: 0 2px 24px rgba(0, 0, 0, .06)
    }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.nav-logo img {
    height: 44px
}

.nav-links {
    display: flex;
    flex-direction: row;
    gap: 25px;
    list-style: none;
    align-items: center
}

    .nav-links > li {
        position: relative
    }

.nav-lang-mobile {
    display: none
}

.nav-links > li > a {
    font-family: "Metropolis","Noto Sans TC", "Oswald", sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .12em;
    padding: 20px 5px;
    color: var(--ink);
    display: block;
}

    .nav-links > li > a.active,
    .nav-links > li > a:hover {
        color: var(--accent)
    }

.nav-links .has-drop > a::after {
    content: "▾";
    font-size: 10px;
    margin-left: 4px;
    color: var(--ink-4);
}

.drop-toggle {
    display: none
}

.dropdown {
    position: absolute;
    top: 100%;
    left: -24px;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    padding: 16px 0;
    display: none;
    z-index: 200;
}

@media (min-width:961px) {
    .nav-links > li:hover > .dropdown {
        display: block
    }
}

.dropdown li {
    padding: 0;
    list-style: none;
}

.dropdown a {
    display: block;
    padding: 10px 26px;
    font-size: 14px;
    letter-spacing: .05em;
    font-weight: 500;
    color: var(--ink-2)
}

    .dropdown a:hover {
        background: var(--accent-soft);
        color: var(--accent)
    }

.dropdown .grp {
    /*font-family: "Oswald", sans-serif;*/
    font-family: "Metropolis","Noto Sans TC", sans-serif;
    font-size: 11px;
    letter-spacing: .25em;
    font-weight: 600;
    color: var(--accent);
    padding: 0;
    text-transform: uppercase;
    border-top: 1px solid var(--line);
    margin-top: 6px;
}

    .dropdown .grp:first-child {
        border-top: none;
        margin-top: 0
    }

    .dropdown .grp a {
        display: block;
        padding: 10px 15px 10px 26px;
        font-family: "Metropolis", sans-serif;
        font-size: 14px;
        font-weight: 600;
        color: var(--accent);
        text-transform: capitalize;
    }

        .dropdown .grp a:hover {
            background: var(--accent);
            color: #fff;
        }

.nav-cta {
    padding: 11px 22px;
    background: var(--accent);
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .15em;
    font-size: 13px;
    transition: all .3s;
}

    .nav-cta:hover {
        background: var(--accent-dark)
    }

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px
}

    .burger span {
        width: 26px;
        height: 2px;
        background: var(--ink);
        transition: .3s
    }

/* ---------- BUTTONS ---------- */
.btn {
    padding: 16px 34px;
    /*border-radius: var(--radius);*/
    font-family: "Metropolis","Noto Sans TC", "Oswald", sans-serif;
    font-weight: 700;
    letter-spacing: .15em;
    font-size: 13px;
    cursor: pointer;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    text-align: center;
    border-radius: 0;
    outline: 5px solid rgba(228, 106, 88, .35) !important;
}

.btn-error {
   
    padding: 11px 22px;
    background: #ea6852;
    border-radius: 5px;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .15em;
    font-size: 13px;
    transition: all .3s;
    text-align: center;
    outline: none !important;
    border: none;
    box-shadow: none;
    font-family: "Metropolis", "Noto Sans TC";
}

    .btn-error:hover {
        background: #ea6852 !important;
        opacity: .85;
    }

.btn-ghost {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, .4);
    color: #fff
}

    .btn-ghost:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: rgba(255, 255, 255, .04)
    }

.btn-outline {
    padding: 11px 22px;
    background: #ea6852;
    border-radius: 5px;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .15em;
    font-size: 13px;
    transition: all .3s;
    text-align: center;
    outline: none !important;
    border: none;
    box-shadow: none;
    font-family: "Metropolis", "Noto Sans TC";
}
    .btn-outline:hover {
        background: #ea6852;
        border: none;
        opacity: .85;
    }

    /*.btn-outline:hover {
        background: var(--ink);
        color: #fff
    }*/

.btn-outline-accent {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent)
}

    .btn-outline-accent:hover {
        background: var(--accent);
        color: #fff
    }

.btn .arrow {
    transition: transform .3s
}

.btn:hover .arrow {
    transform: translateX(5px)
}

/* ---------- PAGE BANNER (reused across inner pages) ---------- */
.page-banner {
    position: relative;
    color: #fff;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(20, 20, 22, .85), rgba(20, 20, 22, .65)), #1a1a1a;
    /*border-bottom: 4px solid var(--accent);*/
}

    .page-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 75% 50%, rgba(228, 106, 88, .25) 0%, transparent 55%);
    }

.page-banner-inner {
    position: relative;
    z-index: 2
}

/*.page-banner .eyebrow {
    color: var(--accent)
}*/

.page-banner h1 {
    color: #fff;
    margin-bottom: 20px;
    /*max-width: 900px*/
}

.page-banner p {
    font-size: 17px;
    color: #ddd;
    /*max-width: 700px;*/
    line-height: 1.85
}

@media(max-width:960px) {
    .page-banner p {
        font-size: 16px;
    }
}

.crumbs {
    display: flex;
    gap: 10px;
    font-size: 12px;
    /*letter-spacing: .2em;*/
    color: #888;
    margin-bottom: 24px;
    text-transform: capitalize;
    /*font-family: "Oswald", sans-serif;*/
    font-family: "Metropolis","Noto Sans TC", sans-serif;
    font-weight: 600;
    flex-wrap: wrap;
}

    .crumbs a {
        color: #888
    }

        .crumbs a:hover {
            color: var(--accent)
        }

    .crumbs .sep {
        color: #444
    }

    .crumbs .current {
        color: var(--accent)
    }

/* ---------- CARDS / SHARED ---------- */
.sect-head {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap
}

    .sect-head .left {
        max-width: 720px
    }

    .sect-head .right {
        max-width: 380px;
        color: var(--ink-3);
        font-size: 15px;
        line-height: 1.9
    }

        .sect-head .right a {
            color: var(--accent);
            font-weight: 700;
            /*font-family: "Oswald", sans-serif;*/
            font-family: "Metropolis","Noto Sans TC", sans-serif;
            font-size: 13px;
            letter-spacing: .2em;
            display: inline-block;
            margin-top: 12px
        }

/* ---------- FOOTER ---------- */
.footer {
    padding: 70px 0 26px;
    background: var(--ink);
    color: #bbb;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-grid-3 {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1.7fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-contact-col {
    padding-left: 44px;
    border-left: 1px solid rgba(255, 255, 255, .12)
}

    .footer-contact-col .fc-email {
        font-size: 14px;
        color: #ccc;
        margin-bottom: 6px
    }

        .footer-contact-col .fc-email a {
            color: #ccc
        }

            .footer-contact-col .fc-email a:hover {
                color: var(--accent)
            }

    .footer-contact-col .fc-note {
        font-size: 13px;
        color: #888;
        margin-bottom: 22px
    }

    .footer-contact-col .fc-divider {
        height: 1px;
        background: rgba(255, 255, 255, .12);
        margin-bottom: 22px
    }

    .footer-contact-col .fc-offices {
        list-style: none;
        padding-left: 0
    }

        .footer-contact-col .fc-offices li {
            font-size: 12px;
            color: #bbb;
            line-height: 1.7;
            margin-bottom: 14px
        }

    .footer-contact-col .fc-region {
        color: var(--accent);
        font-weight: 600;
        margin-right: 4px
    }

.footer-about img {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(1.1)
}

.footer-about p {
    font-size: 13px;
    line-height: 1.85;
    max-width: 320px;
    color: #999
}

.footer-about .sites {
    margin-top: 18px;
    font-size: 12px;
    color: #888
}

    .footer-about .sites b {
        color: var(--accent);
        font-weight: 600
    }

.footer h4 {
    /*font-family: "Oswald", sans-serif;*/
    font-family: "Metropolis","Noto Sans TC", sans-serif;
    font-size: 13px;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: 22px;
    color: #fff;
    font-weight: 700
}

.footer-contact-col h4 {
    /*font-family: inherit;*/
    font-family: "Metropolis","Noto Sans TC", sans-serif;
    font-size: 19px;
    letter-spacing: normal;
    text-transform: none;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px
}

.footer ul {
    list-style: none;
    padding-left: 5px;
}

    .footer ul li {
        margin-bottom: 10px
    }

    .footer ul a {
        color: #999;
        font-size: 13px
    }

        .footer ul a:hover {
            color: var(--accent)
        }

.footer-bottom {
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    color: #777;
    font-size: 12px;
    letter-spacing: .1em
}

    .footer-bottom .links {
        display: flex;
        gap: 22px
    }

        .footer-bottom .links a:hover {
            color: var(--accent)
        }

/* ---------- FORM ---------- */
.form-row {
}

.form-group {
    margin-bottom: 1rem;
    margin-top: 0;
}

    .form-group label {
        display: block;
        font-size: 14px;
        letter-spacing: .1em;
        color: var(--ink-2);
        margin-bottom: 8px;
        font-weight: 700
    }

        .form-group label .req {
            color: var(--accent);
            margin-left: 3px
        }

    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        background: var(--bg-soft);
        border: 1px solid var(--line);
        padding: 12px 14px;
        color: var(--ink);
        /*font-family: inherit;*/
        font-family: "Metropolis","Noto Sans TC", sans-serif;
        font-size: 14px;
        transition: border-color .25s;
        font-weight: 500;
    }

        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--accent);
            background: #fff
        }

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

/* ---------- REVEAL ---------- */
.split-text.reveal {
    background: #ffffff33;
    padding: 10px 15px;
}

    .split-text.reveal h2,
    .split-text.reveal h4 {
        color: #fff;
    }

    .split-text.reveal p,
    .split-text.reveal p.pt {
        color: #eee;
    }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all .85s cubic-bezier(.22, .61, .36, 1);
}

    .reveal.in {
        opacity: 1;
        transform: translateY(0);
        padding: 0 15px;
        padding: 0;
    }

    .reveal.d1 {
        transition-delay: .1s
    }

    .reveal.d2 {
        transition-delay: .2s
    }

    .reveal.d3 {
        transition-delay: .3s
    }

    .reveal.d4 {
        transition-delay: .4s
    }

/* ---------- RESPONSIVE ---------- */
@media (max-width:960px) {
    /*section {
            padding: 70px 0
        }*/

    .topbar {
        display: none
    }

    .nav {
        top: 0;
        padding: 14px 0;
    }

    .nav-logo img {
        height: 32px
    }

    .dropdown a {
        font-size: 12.5px;
        padding: 8px 26px
    }

    .dropdown .grp a {
        font-size: 12px;
        padding: 12px 6px 5px
    }

    .page-banner {
        padding: 80px 0 50px
    }

    .sect-head {
        flex-direction: column;
        align-items: flex-start
    }

    .footer-grid-3 {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px
    }

    .footer-contact-col {
        grid-column: 1 / -1;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .12);
        padding-top: 30px
    }

    .nav-links {
        position: fixed;
        top: 61px;
        right: 0;
        width: 82%;
        max-width: 340px;
        height: calc(100vh - 61px);
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 28px;
        gap: 6px;
        transform: translateX(100%);
        transition: transform .35s ease;
        border-left: 1px solid var(--line);
        overflow-y: auto;
    }

        .nav-links.open {
            transform: translateX(0)
        }

        .nav-links > li {
            width: 100%
        }

            .nav-links > li > a {
                padding: 14px 5px;
                width: 100%;
                border-bottom: 1px solid var(--line)
            }

                .nav-links > li > a.nav-cta {
                    border-top: 1px solid var(--line);
                }

        .nav-links .has-drop > a::after {
            content: none
        }

    .nav-lang-mobile {
        display: block;
        width: 100%;
        padding-bottom: 16px;
        margin-bottom: 6px;
        border-bottom: 1px solid var(--line);
    }

        .nav-lang-mobile .lang {
            gap: 10px;
            font-size: 13px;
            letter-spacing: .1em;
            color: var(--ink-3);
        }

            .nav-lang-mobile .lang a.active {
                color: var(--accent);
                font-weight: 700;
            }

    .has-drop {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

        .has-drop > .nav-link {
            flex: 1;
            /*border-bottom: none !important;*/
        }

    .dropdown {
        position: static;
        border: none;
        box-shadow: none;
        padding: 0 0 10px 18px;
        width: 124%;
        display: none;
        border-bottom: 1px solid var(--line);
    }

    .has-drop.open .dropdown {
        display: block
    }

    .drop-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 65px;
        height: 65px;
        border: none;
        background: transparent;
        cursor: pointer;
        flex: none;
        border-bottom: 1px solid var(--line);
    }

        .drop-toggle::after {
            content: "▾";
            font-size: 13px;
            color: var(--ink-4);
            transition: transform .25s;
        }

    .has-drop.open .drop-toggle::after {
        transform: rotate(180deg)
    }

    .nav-right {
        gap: 8px;
    }

    .burger {
        display: flex
    }

        .burger.open span:nth-child(1) {
            transform: translateY(7px) rotate(45deg)
        }

        .burger.open span:nth-child(2) {
            opacity: 0
        }

        .burger.open span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg)
        }

    .footer-bottom {
        flex-direction: column;
        text-align: center
    }
}

@media (max-width:560px) {
    .container {
        padding: 0 15px
    }

    .footer-grid-3 {
        grid-template-columns: 1fr
    }

    .footer-contact-col {
        grid-column: auto
    }
}

.hero {
    background: url(./images/index/01.webp) no-repeat center center/ cover scroll;
}

.showcase-strip {
    background: url(./images/index/02.webp) no-repeat center center/ cover scroll;
}

.split {
    background: url(./images/index/04.把你的品牌，交給一個真懂飛鏢的工廠。.webp) no-repeat center center/ cover scroll;
}

.esg-teaser .container {
    margin-top: -150px;
    background: #fff;
    padding-top: 100px;
}

.esg-card {
    padding: 0;
}

    .esg-card .esg-text-item {
        padding: 20px;
    }

.final-cta {
    background: url(./images/index/08.準備打造屬於你的.webp) no-repeat center center/ cover scroll;
}

/* =========================================================
   Bootstrap 5.3 Component Overrides
   (loads after Bootstrap CSS so these rules always win)
   ========================================================= */

/* --- Navbar reset --- */
.nav.navbar {
    /*padding: 14px 0*/
}

.navbar-brand {
    padding: 0;
    margin: 0
}

.navbar-nav .nav-link {
    padding: 30px 5px
}

@media(max-width:960px) {
    .navbar-nav .nav-link {
        padding: 20px 5px
    }
}
/* --- Accordion (Bootstrap structure, DAYIN visual) --- */
.accordion-item {
    border: 1px solid var(--line) !important;
    border-radius: 0 !important;
    margin-bottom: 12px;
    transition: all .3s;
    background: #fff;
}

    .accordion-item:has(.accordion-button:not(.collapsed)) {
        border-color: var(--accent) !important;
    }

.accordion-button {
    font-family: "Metropolis","Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--ink) !important;
    background-color: #fff !important;
    box-shadow: none !important;
    padding: 26px 28px;
    border-radius: 0 !important;
}

        .accordion-button:focus {
            box-shadow: none !important;
            outline: none;
        }

        .accordion-button::after {
            background-image: none !important;
            content: "+";
            font-size: 24px;
            color: var(--accent);
            width: auto;
            height: auto;
            font-weight: 300;
            flex-shrink: 0;
        }

        .accordion-button:not(.collapsed)::after {
            background-image: none !important;
            transform: rotate(45deg);
        }

    .accordion-body {
        padding: 0 28px 26px;
        color: var(--ink-3);
        font-size: 14px;
        line-height: 1.95;
    }

    /* FAQ mini (contact page) tighter padding */
    .faq-mini .accordion-button {
        font-size: 15px;
        padding: 24px 26px
    }

    .faq-mini .accordion-body {
        padding: 0 26px 22px
    }

    .faq-mini .accordion-item {
        margin-bottom: 12px
    }

    /* --- Form Controls --- */
.form-group .form-control,
.form-group .form-select {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 12px 14px;
    color: var(--ink);
    /*font-family: inherit;*/
    font-family: "Metropolis","Noto Sans TC", sans-serif;
    font-size: 14px;
    /*border-radius: 0;*/
    transition: border-color .25s;
    font-weight: 500;
    width: 100%;
}

        .form-group .form-control:focus,
        .form-group .form-select:focus {
            border-color: var(--accent);
            background: #fff;
            box-shadow: none;
            outline: none;
        }

        .form-group .form-control::placeholder {
            color: var(--ink-4)
        }

    .form-label {
        display: block;
        font-size: 12px;
        letter-spacing: .1em;
        color: var(--ink-2);
        margin-bottom: 8px;
        font-weight: 700;
    }
    /* dark form overrides (contact inquiry) */
    .inq-form .form-group .form-control,
    .inq-form .form-group .form-select {
        background: rgba(255,255,255,.06);
        border-color: rgba(255,255,255,.15);
        color: #fff;
    }

        .inq-form .form-group .form-control::placeholder {
            color: #888
        }

        .inq-form .form-group .form-control:focus,
        .inq-form .form-group .form-select:focus {
            background: rgba(255,255,255,.12);
            border-color: var(--accent);
        }

    .inq-form .form-label {
        color: #ddd
    }

    /* Bootstrap collapse fallback — ensures .collapse works even if Bootstrap CSS is blocked */
    .collapse:not(.show) {
        display: none;
    }

    .collapsing {
        height: 0;
        overflow: hidden;
        transition: height .35s ease;
    }

    /* ---------- INQUIRY CART (nav) ---------- */
    .nav-right {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .nav-cart {
        position: relative;
    }

    /* ---------- NAV SEARCH ---------- */
    .nav-search {
        position: relative;
    }

    .search-panel {
        position: absolute;
        top: calc(100% + 30px);
        right: 0;
        width: 280px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 12px 40px rgba(0,0,0,.12);
        z-index: 300;
        display: none;
        padding: 10px;
    }

        .search-panel.open {
            display: block;
        }

        .search-panel form {
            display: flex;
            align-items: center;
            gap: 8px;
        }

    /* Mobile: same viewport-anchored fix as .cart-panel so it never overflows off-screen */
    @media (max-width: 960px) {
        .search-panel {
            position: fixed;
            top: 86px;
            left: 0;
            right: 0;
            width: auto;
        }
    }

    .search-input {
        flex: 1;
        border: 1px solid var(--line);
        padding: 10px 12px;
        font-size: 14px;
        color: var(--ink);
        outline: none;
    }

        .search-input:focus {
            border-color: var(--accent);
        }

    .search-submit {
        background: var(--accent);
        color: #fff;
        border: none;
        width: 38px;
        height: 38px;
        flex: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background .2s;
    }

        .search-submit:hover {
            background: var(--accent-dark);
        }

    .cart-btn {
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px 8px;
        color: var(--ink);
        display: flex;
        align-items: center;
        transition: color .2s;
    }

        .cart-btn:hover {
            color: var(--accent);
        }

    /* icon + count badge — matches .icon-nav-link pattern */
    .icon-nav-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        font-size: 16px;
    }

        .icon-nav-link .num {
            position: absolute;
            top: -6px;
            right: -8px;
            background: var(--accent);
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            line-height: 1;
            min-width: 17px;
            height: 17px;
            border-radius: 999px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 4px;
            /*font-family: 'Oswald', sans-serif;*/
            font-family: "Metropolis","Noto Sans TC", sans-serif;
            letter-spacing: 0;
        }

    .cart-panel {
        position: absolute;
        top: calc(100% + 30px);
        right: 0;
        width: 320px;
        background: #fff;
        border: 1px solid var(--line);
        box-shadow: 0 12px 40px rgba(0,0,0,.12);
        z-index: 300;
        display: none;
    }

        .cart-panel.open {
            display: block;
        }

    .cart-panel-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid var(--line);
    }

.cp-title {
    /*font-family: 'Oswald', sans-serif;*/
    font-family: "Metropolis","Noto Sans TC", sans-serif;
    font-size: 13px;
    /*letter-spacing: .15em;*/
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 600;
}

    .cp-count {
        font-size: 12px;
        color: var(--ink-4);
    }

    .cart-empty {
        padding: 32px 20px;
        text-align: center;
        font-size: 13px;
        color: var(--ink-4);
    }

    .cart-list {
        list-style: none;
        padding: 8px 0;
        margin: 0;
        max-height: 280px;
        overflow-y: auto;
    }

    .cp-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 20px;
        border-bottom: 1px solid var(--line);
    }

        .cp-item:last-child {
            border-bottom: none;
        }

        .cp-item img {
            width: 52px;
            height: 52px;
            object-fit: contain;
            background: var(--bg-soft);
            padding: 4px;
            flex-shrink: 0;
        }

    .cp-name {
        flex: 1;
        font-size: 13px;
        font-weight: 500;
        color: var(--ink);
        line-height: 1.4;
        text-decoration: none;
    }

        .cp-name:hover {
            color: var(--accent);
        }

    .cp-remove {
        background: none;
        border: none;
        cursor: pointer;
        color: var(--ink-4);
        font-size: 13px;
        padding: 4px;
        line-height: 1;
        flex-shrink: 0;
        transition: color .2s;
    }

        .cp-remove:hover {
            color: var(--accent);
        }

    .cart-panel-foot {
        padding: 16px 20px;
        border-top: 1px solid var(--line);
    }

.cart-checkout {
    /* width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-family: "Metropolis","Noto Sans TC", sans-serif;
    font-size: 13px;
    letter-spacing: .15em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity .2s;*/
    width: 100%;
    display: block;
    padding: 11px 22px;
    background: #ea6852;
    border-radius: 5px;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .15em;
    font-size: 13px;
    transition: all .3s;
    text-align: center;
    outline: none;
    border: none;
    font-family: "Metropolis", "Noto Sans TC";
    border-bottom: 2px solid #fff;
}

    .cart-checkout :hover {
        background: #e04830;
        border-bottom: 2px solid #e04830;
    }

    /* Mobile: cart icon stays visible, panel goes full-width and anchors to the viewport
       (not to .nav-cart's own position) so it never overflows off-screen */
    @media (max-width: 960px) {
        .cart-panel {
            position: fixed;
            top: 60px;
            left: 0;
            right: 0;
            width: auto;
        }
    }

    /* ── Cart toast notification ── */
.cart-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    padding: 14px 22px;
    border-radius: 3px;
    font-size: 13px;
    font-family: "Metropolis", 'Noto Sans TC', sans-serif;
    font-weight: 500;
    letter-spacing: .04em;
    color: #fff;
    box-shadow: 0 6px 24px rgba(0,0,0,.18);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s;
    pointer-events: none;
}

        .cart-toast.in {
            opacity: 1;
            transform: translateY(0);
        }

        .cart-toast.ok {
            background: #2b8a3e;
        }

        .cart-toast.warn {
            background: #c92a2a;
        }
/*.swal-button {
    background: #ea6852!important;
    transition: all 0.2s ease-in-out;
}*/
.swal-button {
    display: inline-block;
    padding: 11px 22px;
    background: #ea6852 !important;
    border-radius: 5px;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .15em;
    font-size: 13px;
    transition: all .3s;
    text-align: center;
    outline: none;
    border: none;
    outline: none;
    font-family: "Metropolis", "Noto Sans TC";
    border-bottom: 2px solid #fff;
}

    .swal-button:hover {
        background: #e04830;
        border-bottom: 2px solid #e04830;
    }
